]> sourceware.org Git - glibc.git/blame - ChangeLog
Revert wrong commit.
[glibc.git] / ChangeLog
CommitLineData
eb5ad6b9
AZ
12013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4 "longjmp_target" static probes.
5 (__longjmp): Rename to __longjmp_symbol.
6 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8 on which longjmp to generate.
9 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11 probe.
12 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19 __longjmp_symbol based on which __longjmp to generate.
20 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21 probe.
22 (setjmp): Rename to setjmp_symbol.
23 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24 (_setjmp): Rename to _setjmp_symbol.
25 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28 which setjmp to generate.
29 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30 "longjmp_target" static probes.
31
d136c6dc
SP
322013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33
9298ecba
SP
34 * benchtests/README: Add note about output arguments.
35 * benchtests/bench-sincos.c: Remove file.
36 * benchtests/sincos-inputs: New file.
37 * scripts/bench.pl: Identify output arguments and define
38 static variables for them.
39
232983e9
SP
40 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41
d136c6dc
SP
42 [BZ #15941]
43 * Makefile (INSTALL): Add install-plain.texi as the primary
44 dependency.
45 * manual/install-plain.texi: New file.
46 * manual/install.texi: Include node directive only for
47 non-plaintext output.
48
699ff837
JM
492013-12-04 Joseph Myers <joseph@codesourcery.com>
50
ab07cea8
JM
51 * stdlib/longlong.h: Update from GCC.
52
699ff837
JM
53 [BZ #6807]
54 [BZ #15901]
55 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
56 * math/w_j0f.c (y0f): Likewise.
57 * math/w_j0l.c (__y0l): Likewise.
58 * math/w_j1.c (y1): Likewise.
59 * math/w_j1f.c (y1f): Likewise.
60 * math/w_j1l.c (__y1l): Likewise
61 * math/w_jn.c (yn): Likewise.
62 * math/w_jnf.c (ynf): Likewise.
63 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
64 Bessel function pole errors in _POSIX_ mode. Use NAN as return
65 value for Bessel function domain errors outside _SVID_ mode.
66 Adjust sign of return value for yn (negative integer, 0).
67 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
68 by zero in return for negative x and set sign appropriately for
69 negative n.
70 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
71 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
72 * math/libm-test.inc (y0_test_data): Add more tests and adjust
73 expectations in error cases.
74 (y1_test_data): Likewise.
75 (yn_test_data): Likewise.
76 * sysdeps/i386/fpu/libm-test-ulps: Update.
77 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78
5b118558
UW
792013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
80
81 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
82 "64" to "64-v1". Add "64-v2".
83 (abi-64-options): Rename to ...
84 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
85 (abi-64-condition): Rename to ...
86 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
87 (abi-64-ld-soname): Rename to ...
88 (abi-64-v1-ld-soname): ... this.
89 (abi-64-v2-options): Define.
90 (abi-64-v2-condition): Likewise.
91 (abi-64-v2-ld-soname): Likewise.
92 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
93 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
94 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
96 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
97
61cd8fe4
UW
982013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
99 Alan Modra <amodra@gmail.com>
100
101 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
102 New versions for use with the ELFv2 ABI.
103 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
104 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
105 declaration.
106 (struct La_ppc64v2_retval): Likewise.
107 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
108 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
109 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
110 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
111 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
112 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
113 Do not save or restore CR.
114 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
115 (_dl_profile_resolve): Do no save or restore CR. Support extended
116 return values for ELFv2 ABI. Fix location of FPR return registers.
117 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
118 updated values for _CALL_ELF == 2.
119 (La_regs, La_retval, int_retval): Likewise.
120
8b8a692c
UW
1212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
122
123 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
124 (FRAME_MIN_SIZE_PARM): Likewise.
125 (FRAME_BACKCHAIN): Likewise.
126 (FRAME_CR_SAVE): Likewise.
127 (FRAME_LR_SAVE): Likewise.
128 (FRAME_TOC_SAVE): Likewise.
129 (FRAME_PARM_SAVE): Likewise.
130 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
131 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
132 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
133 (call_mcount_parm_offset): New macro.
134 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
135 (PROF): Use symbolic stack frame offsets.
136 (TAIL_CALL_SYSCALL_ERROR): Likewise.
137 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
138 Redefine in terms of FRAME_MIN_SIZE.
139 (_dl_runtime_resolve): Use symbolic stack frame offsets.
140 (_dl_profile_resolve): Likewise. Update comment.
141 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
142 symbols stack frame offsets.
143 (__sigsetjmp): Likewise.
144 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
145 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
146 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
147 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
148
149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
150 (FRAME_BACKCHAIN): Remove.
151 (FRAME_CR_SAVE): Likewise.
152 (FRAME_LR_SAVE): Likewise.
153 (FRAME_COMPILER_DW): Likewise.
154 (FRAME_LINKER_DW): Likewise.
155 (FRAME_TOC_SAVE): Likewise.
156 (FRAME_PARM_SAVE): Likewise.
157 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
158 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
159 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
161 (CHECK_SP): Use symbolic stack frame offsets.
162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
163 zone" instead of caller's parameter save area for temp storage.
164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
165 Likewise. Also, use symbolic stack frame offsets.
166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
167 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
168 our own stack frame instead of the caller's.
169 (__socket): Use symbolic stack frame offsets.
170
122b66de
UW
1712013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
172 Alan Modra <amodra@gmail.com>
173
174 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
175 Define.
176 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
177 PPC64_LOCAL_ENTRY_OFFSET): Define.
178 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
179 New function.
180 (elf_machine_fixup_plt): Call it.
181 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
182 reloc arguments.
183 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
184 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
185 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
186 r2 before calling target.
187
696caf1d
UW
1882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
189 Alan Modra <amodra@gmail.com>
190
191 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
192 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
193 versions of macros to support ELFv2 ABI.
194 (LOCALENTRY): New macro.
195 (ENTRY, EALIGN): Use it.
196 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
197 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
198 fall through into ENTRY entry point.
199 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
200 Only define if _CALL_ELF != 2.
201
202 (elf_machine_matches_host): Verify ABI version matches.
203 (RTLD_START): Use LOCALENTRY.
204 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
205 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
206 (PLT_ENTRY_WORDS): New macro.
207 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
208 (elf_machine_runtime_setup): Support ELFv2 ABI.
209 (elf_machine_fixup_plt): Likewise.
210 (elf_machine_plt_conflict): Likewise.
211 (resolve_ifunc): Likewise.
212 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
213 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
214 Likewise.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
216 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
218 (makecontext): Support ELFv2 ABI.
219 * elf/elf.h (EF_PPC64_ABI): Define.
220
d31beafa
UW
2212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
222
223 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
224 New assembler macro.
225 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
226 [ASSEMBLER] (ENTRY): ... but instead here ...
227 [ASSEMBLER] (EALIGN): ... and here.
228 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
229 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
230 [!ASSEMBLER] (ENTRY_2): Use it.
231 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
232 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
233 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
234 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
235 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
237 Use PPC64_LOAD_FUNCPTR.
238
b525166b
UW
2392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
240
241 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
242
7ec07d9a
AM
2432013-12-04 Alan Modra <amodra@gmail.com>
244
245 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
246 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
247 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
248 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
249
250 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
251 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
252 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
253 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
254 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
255 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
256
5162e7dd
UW
2572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
258
259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
260 (__makecontext): Fix incorrect CFI when backtracing out of
261 context created via makecontext.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
263 (__setcontext): Fix incorrect CFI during switch to new context.
264 (__novec_setcontext): Likewise.
265
19e3372b
OB
2662013-12-04 Ondřej Bílka <neleai@seznam.cz>
267
268 [BZ #4772]
269 * time/strptime_l.c (__strptime_internal): Allow modifiers
270 in strptime.
271 * time/tst-strptime.c (day_tests): Add testcase.
272
273
ecaf142d
SP
2742013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
275
276 * scripts/bench.pl: Skip over blank lines.
277
fbf964ae
PE
2782013-12-04 Paul Eggert <eggert@cs.ucla.edu>
279
280 [BZ #926]
281 * manual/time.texi (Calendar Time): Clarify what timezone functions
282 use.
283
fa60a674
AZ
2842013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
285
286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
287
d674f0ef
OB
2882013-12-04 Ondřej Bílka <neleai@seznam.cz>
289
290 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
291 implementation.
292 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
293 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
294 * debug/memset_chk.c (__memset_chk): Likewise.
295 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
296 * debug/strncpy_chk.c: Likewise.
297
17dea188
JM
2982013-12-03 Joseph Myers <joseph@codesourcery.com>
299
749008ff
JM
300 [BZ #15268]
301 [BZ #15425]
302 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
303 (__ieee754_exp): For possibly underflowing results, check size of
304 result and force underflow exception if required.
305 * math/auto-libm-test-in: Add more tests of exp.
306 * math/auto-libm-test-out: Regenerated.
307 * sysdeps/i386/fpu/libm-test-ulps: Update.
308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
309
17dea188
JM
310 [BZ #16283]
311 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
312 * math/w_exp2f.c (__exp2f): Likewise.
313 * math/w_exp2l.c (__exp2l): Likewise.
314 * math/auto-libm-test-in: Do not allow missing errno on exp2
315 underflow.
316 * math/auto-libm-test-out: Regenerated.
317
b20de2c3
OB
3182013-12-03 Ondřej Bílka <neleai@seznam.cz>
319
320 [BZ #16274]
321 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
322 handle filename validation.
323 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
324 (do_open): Delete.
325
d8e2dbe3
JM
3262013-12-03 Joseph Myers <joseph@codesourcery.com>
327
34e16df5
JM
328 [BZ #6786]
329 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
330 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
331 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
332 <float.h>.
333 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
334 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
335 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
336 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
337 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
338 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
339 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
340 * math/auto-libm-test-in: Don't allow missing errno from erfc.
341 Add more erfc tests.
342 * math/auto-libm-test-out: Regenerated.
343 * sysdeps/i386/fpu/libm-test-ulps: Update.
344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
345
d8e2dbe3
JM
346 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
347 exp2, expm1, j0 and j1.
348 * math/auto-libm-test-out: Regenerated.
349 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
350 (erfc_test_data): Likewise.
351 (exp_test_data): Likewise.
352 (exp_tonearest_test_data): Likewise.
353 (exp_towardzero_test_data): Likewise.
354 (exp_downward_test_data): Likewise.
355 (exp_upward_test_data): Likewise.
356 (exp10_test_data): Likewise.
357 (exp2_test_data): Likewise.
358 (expm1_test_data): Likewise.
359 (j0_test_data): Likewise.
360 (j1_test_data): Likewise.
361 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
362 (input_flag_type): Add flag_xfail_rounding.
363 (input_flags): Add xfail-rounding.
364 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
365 (output_for_one_input_case): Handle flag_xfail_rounding.
366 * sysdeps/i386/fpu/libm-test-ulps: Update.
367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
368
18d14251
AJ
3692013-12-03 Aurelien Jarno <aurelien@aurel32.net>
370
3d2e6075 371 [BZ #16289]
18d14251
AJ
372 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
373 division by 0.
374
520d437b
SP
3752013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
376
377 [BZ #16195]
378 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
379 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
380 (STAP_PROBE0): New macro.
381 (STAP_PROBE1): Likewise.
382 (STAP_PROBE2): Likewise.
383 (STAP_PROBE3): Likewise.
384 (STAP_PROBE4): Likewise.
385
416e0145
OB
3862013-12-02 Ondřej Bílka <neleai@seznam.cz>
387
388 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
389
9d17796a
SE
3902013-12-02 Steve Ellcey <sellcey@mips.com>
391
392 * benchtests/Makefile (bench): Add sqrt.
393 (LDLIBS-bench-sqrt): New.
394 * benchtests/sqrt-input: New.
395
f524d6a8
PS
3962013-12-02 Pavel Simerda <psimerda@redhat.com>
397
639a0ef8
PS
398 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
399 (GAIH_EAI): Likewise.
400 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
401 (gaih_inet): Likewise.
402 (getaddrinfo): Don't use GAIH_EAI.
403
f524d6a8
PS
404 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
405 (struct gaih): Remove definition.
406
df3aedaf
SP
4072013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
408
409 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
410 Use HERRNOP directly.
411
1ab19dec
AZ
4122013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
413
b42ad38d 414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 415
176b0c79
JM
4162013-11-30 Joseph Myers <joseph@codesourcery.com>
417
418 * math/gen-auto-libm-tests.c (test_functions): Add more
419 single-argument functions.
420 (special_fill_pi_2): New function.
421 (special_fill_minus_pi_2): Likewise.
422 (special_fill_pi_6): Likewise.
423 (special_fill_minus_pi_6): Likewise.
424 (special_fill_pi_3): Likewise.
425 (special_fill_2pi_3): Likewise.
426 (special_fill_e): Likewise.
427 (special_fill_1_e): Likewise.
428 (special_fill_e_minus_1): Likewise.
429 (special_real_inputs): Add more special inputs.
430 (output_for_one_input_case): Do not require ERANGE on underflow to
431 zero if round-to-nearest result does not underflow to zero, unless
432 exact results required.
433 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
434 atan, atanh, cbrt, cos and cosh.
435 * math/auto-libm-test-out: Regenerated.
436 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
437 (acos_tonearest_test_data): Likewise.
438 (acos_towardzero_test_data): Likewise.
439 (acos_downward_test_data): Likewise.
440 (acos_upward_test_data): Likewise.
441 (acosh_test_data): Likewise.
442 (asin_test_data): Likewise.
443 (asin_tonearest_test_data): Likewise.
444 (asin_towardzero_test_data): Likewise.
445 (asin_upward_test_data): Likewise.
446 (asinh_test_data): Likewise.
447 (atan_test_data): Likewise.
448 (atanh_test_data): Likewise.
449 (cbrt_test_data): Likewise.
450 (cos_test_data): Likewise.
451 (cos_tonearest_test_data): Likewise.
452 (cos_towardzero_test_data): Likewise.
453 (cos_downward_test_data): Likewise.
454 (cos_upward_test_data): Likewise.
455 (cosh_test_data): Likewise.
456 (cosh_tonearest_test_data): Likewise.
457 (cosh_towardzero_test_data): Likewise.
458 (cosh_downward_test_data): Likewise.
459 (cosh_upward_test_data): Likewise.
460 * sysdeps/i386/fpu/libm-test-ulps: Update.
461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
462
ffb536d0
JM
4632013-11-29 Joseph Myers <joseph@codesourcery.com>
464
2a77a467
JM
465 [BZ #6787]
466 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
467 * math/w_exp10f.c (__exp10f): Likewise.
468 * math/w_exp10l.c (__exp10l): Likewise.
469 * math/libm-test.inc (exp10_test_data): Add more tests and expect
470 errno settings in existing tests.
471
ea3bc4e8
JM
472 [BZ #14032]
473 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
474 precision control set to double precision.
475 * sysdeps/i386/fpu/w_sqrt.c: New file.
476 * math/auto-libm-test-in: Add more tests.
477 * math/auto-libm-test-out: Update.
478
0712c9d8
JM
479 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
480 (sqrt_test_tonearest): New function.
481 (sqrt_towardzero_test_data): New variable.
482 (sqrt_test_towardzero): New function.
483 (sqrt_downward_test_data): New variable.
484 (sqrt_test_downward): New function.
485 (sqrt_upward_test_data): New variable.
486 (sqrt_test_upward): New function.
487 (main): Call the new functions.
488
ffb536d0
JM
489 * math/gen-auto-libm-tests.c: New file.
490 * math/auto-libm-test-in: Likewise.
491 * math/auto-libm-test-out: New generated file.
492 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
493 variables.
494 (%beautify): Add generated representations of zero.
495 (top level): Set $auto_input and call parse_auto_input.
496 (beautify): Remove trailing "f" from hex float constants.
497 (parse_args): Handle XFAIL_TEST.
498 (convert_condition): New function.
499 (or_value): Likewise.
500 (or_cond_value): Likewise.
501 (generate_testfile): Handle AUTO_TESTS_* lines.
502 (parse_auto_input): New function.
503 * math/libm-test.inc (XFAIL_TEST): New macro.
504 (ERRNO_UNCHANGED): Update value.
505 (ERRNO_EDOM): Likewise.
506 (ERRNO_ERANGE): Likewise.
507 (IGNORE_RESULT): Likewise.
508 (TEST_COND_flt_32): New macro.
509 (TEST_COND_dbl_64): Likewise.
510 (TEST_COND_ldbl_96_intel): Likewise.
511 (TEST_COND_ldbl_96_m68k): Likewise.
512 (TEST_COND_ldbl_128): Likewise.
513 (TEST_COND_ldbl_128ibm): Likewise.
514 (TEST_COND_long32): Likewise.
515 (TEST_COND_long64): Likewise.
516 (TEST_COND_before_rounding): Likewise.
517 (TEST_COND_after_rounding): Likewise.
518 (enable_test): Handle XFAIL_TEST flag.
519 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
520 with finite results.
521 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
522 auto-libm-test-out.
523
acd98a8e
AK
5242013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
525 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
526
527 [BZ #16214]
528 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
529 __tls_get_addr_internal instead of __tls_get_offset in order to
530 avoid GOT pointer dependency. Make rtld export
531 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
532 __tls_get_addr since we are a __tls_get_offset platform.
533 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
534 GOT pointer being set up before.
535 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
536
3c1c46a6
JM
5372013-11-28 Joseph Myers <joseph@codesourcery.com>
538
7475aef5
JM
539 * manual/math.texi (Errors in Math Functions): Document accuracy
540 goals.
541
8bca7cd8
JM
542 [BZ #15004]
543 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
544 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
545 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
546 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
547 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
548 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
549 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
550 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
551 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
552 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
553 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
554 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
555 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
556 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
557 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
558 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
559
91a1f3fe
JM
560 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
561 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
562 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
563 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
564 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
565 Likewise.
566 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
567 Likewise.
568 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
569 Likewise.
570 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
571 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
572 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
573 atomic-feupdateenv and flt-rounds.
574 * sysdeps/powerpc/nofpu/Versions (libc): Add
575 __atomic_feholdexcept, __atomic_feclearexcept,
576 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
577 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
578 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
579 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
580 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
581 here.
582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
583 Update.
584
c5df7609
JM
585 * manual/arith.texi (FP Exceptions): Document that exceptions may
586 not be raised when matherr is used.
587 (Math Error Reporting): Document overflow in directed rounding
588 modes. Document that errno may not be set when finite values are
589 returned on overflow. Document intent to set errno on underflow
590 only for underflow to zero.
591
3c1c46a6
JM
592 [BZ #16271]
593 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
594 round-to-nearest then adjust result for other rounding modes.
595 * include/fenv.h (fegetround): Use libm_hidden_proto.
596 * math/fegetround.c (fegetround): Use libm_hidden_def.
597 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
598 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
599 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
600 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
601 Likewise.
602 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
603 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
604 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
605 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
606
5a4c6d53
SP
6072013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
608
609 [BZ #16077]
610 * nss/Versions (libnss_files): Add
611 _nss_files_gethostbyname3_r.
612 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
613 New function.
614 (HOST_DB_LOOKUP): Remove macro.
615 (_nss_files_gethostbyname_r): Implement function without the
616 HOST_DB_LOOKUP macro.
617 (_nss_files_gethostbyname2_r): Likewise.
618
897b98ba
OB
6192013-11-28 Ondřej Bílka <neleai@seznam.cz>
620
621 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
622
6f476861
UB
6232013-11-26 Uros Bizjak <ubizjak@gmail.com>
624
625 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
626 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
627 warning.
628
bd12ab55
AZ
6292013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
630
631 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
632 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
633 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
634 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
635 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
636 __fe_nomask_env_priv and attribute_hidden.
637 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
638 (libc_feupdateenv_test_ppc): Likewise.
639 (libc_feresetround_ppc): Likewise.
640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
641 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
642 compat_symbol macro.
643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
644 (__fe_nomask_env): Likewise.
645 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
646
52bb6543
OB
6472013-11-26 Ondřej Bílka <neleai@seznam.cz>
648
649 * string/Makefile: Remove ifunc tests.
650 * string/test-string.h: Define TEST_IFUNC.
651 * string/test-bcopy-ifunc.c: Remove.
652 * string/test-bzero-ifunc.c: Likewise.
653 * string/test-memccpy-ifunc.c: Likewise.
654 * string/test-memchr-ifunc.c: Likewise.
655 * string/test-memcmp-ifunc.c: Likewise.
656 * string/test-memcpy-ifunc.c: Likewise.
657 * string/test-memmem-ifunc.c: Likewise.
658 * string/test-memmove-ifunc.c: Likewise.
659 * string/test-mempcpy-ifunc.c: Likewise.
660 * string/test-memrchr-ifunc.c: Likewise.
661 * string/test-memset-ifunc.c: Likewise.
662 * string/test-rawmemchr-ifunc.c: Likewise.
663 * string/test-stpcpy-ifunc.c: Likewise.
664 * string/test-stpncpy-ifunc.c: Likewise.
665 * string/test-strcasecmp-ifunc.c: Likewise.
666 * string/test-strcasestr-ifunc.c: Likewise.
667 * string/test-strcat-ifunc.c: Likewise.
668 * string/test-strchr-ifunc.c: Likewise.
669 * string/test-strchrnul-ifunc.c: Likewise.
670 * string/test-strcmp-ifunc.c: Likewise.
671 * string/test-strcpy-ifunc.c: Likewise.
672 * string/test-strcspn-ifunc.c: Likewise.
673 * string/test-strlen-ifunc.c: Likewise.
674 * string/test-strncasecmp-ifunc.c: Likewise.
675 * string/test-strncat-ifunc.c: Likewise.
676 * string/test-strncmp-ifunc.c: Likewise.
677 * string/test-strncpy-ifunc.c: Likewise.
678 * string/test-strnlen-ifunc.c: Likewise.
679 * string/test-strpbrk-ifunc.c: Likewise.
680 * string/test-strrchr-ifunc.c: Likewise.
681 * string/test-strspn-ifunc.c: Likewise.
682 * string/test-strstr-ifunc.c: Likewise.
683
ab260039 6842013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
685
686 * benchtests/Makefile: Remove ifunc tests.
687 * benchtests/bench-string.h: Define TEST_IFUNC.
688 * benchtests/bench-bcopy-ifunc.c: Remove.
689 * benchtests/bench-bzero-ifunc.c: Likewise.
690 * benchtests/bench-memccpy-ifunc.c: Likewise.
691 * benchtests/bench-memchr-ifunc.c: Likewise.
692 * benchtests/bench-memcmp-ifunc.c: Likewise.
693 * benchtests/bench-memcpy-ifunc.c: Likewise.
694 * benchtests/bench-memmem-ifunc.c: Likewise.
695 * benchtests/bench-memmove-ifunc.c: Likewise.
696 * benchtests/bench-mempcpy-ifunc.c: Likewise.
697 * benchtests/bench-memrchr-ifunc.c: Likewise.
698 * benchtests/bench-memset-ifunc.c: Likewise.
699 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
700 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
701 * benchtests/bench-stpcpy-ifunc.c: Likewise.
702 * benchtests/bench-stpncpy-ifunc.c: Likewise.
703 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
704 * benchtests/bench-strcasestr-ifunc.c: Likewise.
705 * benchtests/bench-strcat-ifunc.c: Likewise.
706 * benchtests/bench-strchr-ifunc.c: Likewise.
707 * benchtests/bench-strchrnul-ifunc.c: Likewise.
708 * benchtests/bench-strcmp-ifunc.c: Likewise.
709 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
710 * benchtests/bench-strcpy-ifunc.c: Likewise.
711 * benchtests/bench-strcspn-ifunc.c: Likewise.
712 * benchtests/bench-strlen-ifunc.c: Likewise.
713 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
714 * benchtests/bench-strncat-ifunc.c: Likewise.
715 * benchtests/bench-strncmp-ifunc.c: Likewise.
716 * benchtests/bench-strncpy-ifunc.c: Likewise.
717 * benchtests/bench-strnlen-ifunc.c: Likewise.
718 * benchtests/bench-strpbrk-ifunc.c: Likewise.
719 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 720 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
721 * benchtests/bench-strspn-ifunc.c: Likewise.
722 * benchtests/bench-strstr-ifunc.c: Likewise.
723
7242013-11-26 Ondřej Bílka <neleai@seznam.cz>
725
ab260039
OB
726 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
727
d1d9eaf4 7282013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 729
d1d9eaf4
OB
730 * resolv/netdb.h: Use __glibc_reserved instead __unused.
731 * rt/aio.h: Likewise.
732 * sysdeps/gnu/bits/utmp.h: Likewise.
733 * sysdeps/gnu/bits/utmpx.h: Likewise.
734 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
735 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
736 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
737 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
738 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
739 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
740 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
741 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
742 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
743 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
744 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
745 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
746 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
748 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
749 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
750 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
751 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
752 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
753 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
754 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
755 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
756 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
757 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
758 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
760 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
761 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
762 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
763 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
764 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
765 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
766 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
767 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
768 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
769 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
770 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
771 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
772 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
773 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
774 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
775 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
776
a7624ed9
CD
7772013-11-25 Carlos O'Donell <carlos@redhat.com>
778
779 [BZ #16245]
780 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
781 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
782
63cfe52b
JM
7832013-11-25 Joseph Myers <joseph@codesourcery.com>
784
785 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
786 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
787 Likewise.
788
41e8926a
AZ
7892013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
790
791 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
792 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
793 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
794 (__fesetround): Remove define.
795 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
796 rounding and exceptions handling.
797 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
798 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
799 (__fe_nomask_env): Likewise.
800 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
801 __fegetround instead of fegetround.
802 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
803 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
804
6851bd4d
RM
8052013-11-21 Roland McGrath <roland@hack.frob.com>
806
070906ff
RM
807 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
808 it's there.
809
6851bd4d
RM
810 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
811
84ae135d
MI
8122013-11-21 Meador Inge <meadori@codesourcery.com>
813
814 [BZ #11157]
815 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
816 (encrypt_r): Likewise.
817 * malloc/obstack.h (obstack_free): Likewise.
818 * posix/unistd.h (encrypt): Likewise.
819
daf75146
GM
8202013-11-21 Guy Martin <gmsoft@tuxicoman.be>
821
822 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
823 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
824 DL_CALL_DT_FINI() that call the functions directly.
825 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
826 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
827 * elf/dl-fini.c: Likewise.
828
10ad46bc
OB
8292013-11-20 Ondřej Bílka <neleai@seznam.cz>
830
831 * malloc/hooks.c (memalign_check): Add alignment rounding.
832 * malloc/malloc.c (_mid_memalign): New function.
833 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
834 Implement by calling _mid_memalign.
835 * manual/probes.texi (Memory Allocation Probes): Remove
836 memory_valloc_retry and memory_pvalloc_retry.
837
f3fd2628
SP
8382013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
839
4712799f
SP
840 * locale/programs/locarchive.c (open_archive): Add const
841 qualifier to ARCHIVEFNAME and copy default fname to
842 DEFAULT_FNAME.
843
0417b20f
SP
844 [BZ #15601]
845 * libio/tst-widetext.input: Rename Oriya to Odia.
846 * locale/iso-639.def: Likewise.
847
f3fd2628
SP
848 * manual/probes.texi (Mathematical Function Probes): Add
849 documentation for sin, cos, asin and acos probes.
850 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
851 (__sin32): Add slowasin probe.
852 (__cos32): Add slowacos probe.
853 (__mpsin): Add slowsin probe.
854 (__mpcos): Add slowcos probe.
855
73c1ce4f
JM
8562013-11-19 Joseph Myers <joseph@codesourcery.com>
857
858 [BZ #15483]
859 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
860 thread-local __sim_exceptions_thread and global
861 __sim_exceptions_global.
862 (__sim_disabled_exceptions): Change to thread-local
863 __sim_disabled_exceptions_thread and global
864 __sim_disabled_exceptions_global.
865 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
866 and global __sim_round_mode_global.
867 (__simulate_exceptions): Use thread-local floating-point state and
868 set global state from it as needed.
869 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
870 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
871 __sim_round_mode_thread.
872 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
873 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
874 and global __sim_exceptions_global.
875 (__sim_disabled_exceptions): Change to thread-local
876 __sim_disabled_exceptions_thread and global
877 __sim_disabled_exceptions_global.
878 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
879 and global __sim_round_mode_global.
880 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
881 (SIM_SET_GLOBAL): Likewise.
882 * sysdeps/powerpc/soft-fp/sfp-machine.h
883 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
884 __sim_round_mode_thread.
885 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
886 __sim_disabled_exceptions_thread.
887 (__sim_exceptions): Change to __sim_exceptions_thread.
888 (__sim_disabled_exceptions): Change to
889 __sim_disabled_exceptions_thread.
890 (__sim_round_mode): Change to __sim_round_mode_thread.
891 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
892 thread-local floating-point state and set global state from it as
893 needed.
894 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
895 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
896 (__sim_disabled_exceptions): Remove extern declaration.
897 (feenableexcept): Use thread-local floating-point state and set
898 global state from it as needed.
899 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
900 extern declaration.
901 (__sim_disabled_exceptions): Likewise.
902 (__sim_round_mode): Likewise.
903 (__fegetenv): Use thread-local floating-point state.
904 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
905 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
906 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
907 floating-point state and set global state from it as needed.
908 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
909 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
910 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
911 Likewise.
912 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
913 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
914 Likewise.
915 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
916 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
917 Use __sim_round_mode_thread.
918 * math/test-fenv-tls.c: New file.
919 * math/Makefile (tests): Add test-fenv-tls.
920 ($(objpfx)test-fenv-tls): Depend on
921 $(common-objpfx)nptl/libpthread.so.
922
b5449b12
AS
9232013-11-19 Andreas Schwab <schwab@suse.de>
924
925 * locale/programs/locale.c (show_info): Decode wordarray elements.
926 * locale/categories.def (LC_MONETARY): Add element for
927 _NL_MONETARY_CRNCYSTR.
928 * locale/C-monetary.c (conversion_rate): New variable.
929 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
930 element.
931
e186536b
CM
9322013-11-18 Chris Metcalf <cmetcalf@tilera.com>
933
934 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
935 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
936
5c349950
PP
9372013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
938
939 * elf/Makefile (tst-auxv): New test.
940 * elf/tst-auxv.c: New
941 * elf/rtld.c (dl_main): Adjust AT_EXECFN
942
699df45b
JM
9432013-11-18 Joseph Myers <joseph@codesourcery.com>
944
945 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
946 (hidden_proto): Caller changed.
947 (hidden_tls_proto): New macro.
948 (libc_hidden_tls_proto): Likewise.
949 (rtld_hidden_tls_proto): Likewise.
950 (libm_hidden_tls_proto): Likewise.
951 (libresolv_hidden_tls_proto): Likewise.
952 (librt_hidden_tls_proto): Likewise.
953 (libdl_hidden_tls_proto): Likewise.
954 (libnss_files_hidden_tls_proto): Likewise.
955 (libnsl_hidden_tls_proto): Likewise.
956 (libnss_nisplus_hidden_tls_proto): Likewise.
957 (libutil_hidden_tls_proto): Likewise.
958
b7589107
OB
9592013-11-18 Ondřej Bílka <neleai@seznam.cz>
960
961 [BZ #10253]
962 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
963 (decompose_rpath): Defer expansion to fillin_rpath.
964 (_dl_init_paths): Pass linkmap to fillin_rpath.
965
250c23bd
RS
9662013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
967
968 * benchtests/Makefile: Add strsep.
969 * benchtests/bench-strsep.c: New file: strsep benchtest.
970 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
971
a7931fcf
AS
9722013-11-18 Andreas Schwab <schwab@suse.de>
973
974 * locale/programs/locale.c (show_info) [case byte]: Check for
975 '\377' instead of '\177'.
976 * locale/C-monetary.c (not_available): Always use "\377".
977 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
978 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
979 detect unavailable sign_posn locale elements.
980 * locale/localeconv.c (__localeconv): For grouping and
981 mon_grouping handle "\177" and "\377" like no grouping.
982 (INT_ELEM): New macro. Use it to set all numeric members.
983 * locale/programs/ld-monetary.c (monetary_read)
984 <tok_mon_grouping>: Normalize single -1 to the empty string.
985 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
986 Likewise.
987
728dab0e
OB
9882013-11-07 Ondřej Bílka <neleai@seznam.cz>
989
990 [BZ #16055]
991 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
992 when we match (nil).
993 * stdio-common/tst-sscanf.c (struct test): Add testcase.
994
66294491
JM
9952013-11-16 Joseph Myers <joseph@codesourcery.com>
996
ce665817
JM
997 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
998 (NO_TEST_INLINE): Update value.
999 (ERRNO_UNCHANGED): Likewise.
1000 (ERRNO_EDOM): Likewise.
1001 (ERRNO_ERANGE): Likewise.
1002 (IGNORE_RESULT): Likewise.
1003 (check_float_internal): Check signs of NaN results if
1004 TEST_NAN_SIGN used.
1005 (check_complex): Pass TEST_NAN_SIGN flag through to second
1006 check_float_internal call.
1007 (copysign_test_data): Add tests with quiet NaNs as second
1008 argument. Use TEST_NAN_SIGN.
1009 (fabs_test_data): Add test of negative quiet NaN argument. Use
1010 TEST_NAN_SIGN.
1011 (signbit_test_data): Add tests of quiet NaN argument.
1012 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1013
ee1466a9
JM
1014 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1015 $ignore_result.
1016 (parse_args): Handle function results specified as IGNORE.
1017 * math/libm-test.inc (IGNORE_RESULT): New macro.
1018 (check_float_internal): Do not check numerical result if flag
1019 IGNORE_RESULT set.
1020 (check_complex): Pass through IGNORE_RESULT to second
1021 check_float_internal call.
1022 (check_int): Do not check numerical result if flag IGNORE_RESULT
1023 set.
1024 (check_long): Likewise.
1025 (check_bool): Likewise.
1026 (check_longlong): Likewise.
1027 (lrint_test_data): Add tests of infinite and NaN arguments.
1028 (lrint_tonearest_test_data): Likewise.
1029 (lrint_towardzero_test_data): Likewise.
1030 (lrint_downward_test_data): Likewise.
1031 (lrint_upward_test_data): Likewise.
1032 (llrint_test_data): Likewise.
1033 (llrint_tonearest_test_data): Likewise.
1034 (llrint_towardzero_test_data): Likewise.
1035 (llrint_downward_test_data): Likewise.
1036 (llrint_upward_test_data): Likewise.
1037 (lround_test_data): Likewise.
1038 (llround_test_data): Likewise.
1039
14407b7e
JM
1040 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1041 (ERRNO_UNCHANGED): Update value.
1042 (ERRNO_EDOM): Likewise.
1043 (ERRNO_ERANGE): Likewise.
1044 (NO_TEST_INLINE_FLOAT): New macro.
1045 (NO_TEST_INLINE_DOUBLE): Likewise.
1046 (enable_test): New function.
1047 (RUN_TEST_f_f): Check enable_test before running test.
1048 (RUN_TEST_2_f): Likewise.
1049 (RUN_TEST_fff_f): Likewise.
1050 (RUN_TEST_c_f): Likewise.
1051 (RUN_TEST_f_f1): Likewise.
1052 (RUN_TEST_fF_f1): Likewise.
1053 (RUN_TEST_fI_f1): Likewise.
1054 (RUN_TEST_ffI_f1): Likewise.
1055 (RUN_TEST_c_c): Likewise.
1056 (RUN_TEST_cc_c): Likewise.
1057 (RUN_TEST_f_i): Likewise.
1058 (RUN_TEST_f_i_tg): Likewise.
1059 (RUN_TEST_ff_i_tg): Likewise.
1060 (RUN_TEST_f_b): Likewise.
1061 (RUN_TEST_f_b_tg): Likewise.
1062 (RUN_TEST_f_l): Likewise.
1063 (RUN_TEST_f_L): Likewise.
1064 (RUN_TEST_fFF_11): Likewise.
1065 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1066 conditionals.
1067 (cosh_test_data): Likewise.
1068 (exp_test_data): Likewise.
1069 (expm1_test_data): Likewise.
1070 (hypot_test_data): Likewise.
1071 (pow_test_data): Likewise.
1072 (sinh_test_data): Likewise.
1073 (tanh_test_data): Likewise.
1074 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1075 flags argument.
1076
ca07f197
JM
1077 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1078 tests with quiet NaN input and output.
1079 (acosh_test_data): Likewise.
1080 (asin_test_data): Likewise.
1081 (asinh_test_data): Likewise.
1082 (atan_test_data): Likewise.
1083 (atanh_test_data): Likewise.
1084 (atan2_test_data): Likewise.
1085 (cbrt_test_data): Likewise.
1086 (cos_test_data): Likewise.
1087 (cosh_test_data): Likewise.
1088 (erf_test_data): Likewise.
1089 (erfc_test_data): Likewise.
1090 (exp_test_data): Likewise.
1091 (exp10_test_data): Likewise.
1092 (exp2_test_data): Likewise.
1093 (expm1_test_data): Likewise.
1094 (hypot_test_data): Likewise.
1095 (j0_test_data): Likewise.
1096 (j1_test_data): Likewise.
1097 (jn_test_data): Likewise.
1098 (lgamma_test_data): Likewise.
1099 (log_test_data): Likewise.
1100 (log10_test_data): Likewise.
1101 (log1p_test_data): Likewise.
1102 (log2_test_data): Likewise.
1103 (pow_test_data): Likewise.
1104 (scalb_test_data): Likewise.
1105 (sin_test_data): Likewise.
1106 (sincos_test_data): Likewise.
1107 (sinh_test_data): Likewise.
1108 (tan_test_data): Likewise.
1109 (tanh_test_data): Likewise.
1110 (tgamma_test_data): Likewise.
1111 (y0_test_data): Likewise.
1112 (y1_test_data): Likewise.
1113 (yn_test_data): Likewise.
1114
66294491
JM
1115 [BZ #16167]
1116 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1117 argument being NaN and avoid computations with second argument in
1118 that case.
1119 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1120 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1121 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1122
1820b143
CL
11232013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1124
1125 * locale/iso-639.def: Add Chitwani Tharu (the).
1126
714bd261
AS
11272013-11-14 Andreas Schwab <schwab@suse.de>
1128
1129 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1130 word instead of empty string.
1131
7ab44563
AZ
11322013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1133
1134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1135 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1137 (__fe_nomask_env): Likewise.
1138
e8470ea2
SE
11392013-11-13 Steve Ellcey <sellcey@mips.com>
1140
1141 * benchtests/bench-timing.h: Include time.h.
1142
17c1d9f0
L
11432013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1144
1145 [BZ #15997]
1146 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1147 to 3.4.0 for x32.
1148 * sysdeps/unix/sysv/linux/configure: Regenerated.
1149
9310c284
JM
11502013-11-13 Joseph Myers <joseph@codesourcery.com>
1151
1152 [BZ #16151]
1153 * stdlib/strtod_l.c (round_and_return): Do not consider
1154 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1155 exponent one less than half the least subnormal exponent.
1156 * stdlib/test-strtod-round-data: Add more tests.
1157 * stdlib/tst-strtod-round.c (tests): Regenerated.
1158
7a2ad8cf
AZ
11592013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1160
1161 [BZ #14143]
1162 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1163 (__fe_mask_env): Likewise.
1164 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1165 libm_hidden_proto and add function prototype.
1166 (__fe_mask_env): Add function prototype.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1168 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1170 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1172 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1173
50727aa7
MS
11742013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1175
b2f386c1 1176 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1177 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1178
a615be46
MS
11792013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1180
1181 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1182 of htab_find_slot().
1183
7ddace62
DM
11842013-11-11 David S. Miller <davem@davemloft.net>
1185
1186 [BZ #16150]
1187 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1188 symbol in the non-vis3 case in static builds.
1189 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1190 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1191 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1192 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1193
9182aa67
JK
11942013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1195
1196 [BZ #387]
1197 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1198 it is empty.
1199
450a2e2d
AZ
12002013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1201
b2f386c1
SP
1202 * benchtests/Makefile: Add bench-strtod.
1203 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1204
8ec3f656
AS
12052013-11-11 Andreas Schwab <schwab@suse.de>
1206
1207 [BZ #16153]
1208 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1209 terminating NUL in key length.
1210
76a9b998
AZ
12112013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1212
1213 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1214 Add artificial ODP entry for vDSO symbol for PPC64.
1215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1216 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1217
e4368156
OB
12182013-11-07 Ondřej Bílka <neleai@seznam.cz>
1219
1220 [BZ #15374]
1221 * nss/getent.c (services_keys): Recognize services starting with digit.
1222
8d6bb57c
DM
12232013-11-06 David S. Miller <davem@davemloft.net>
1224
1225 [BZ #15985]
1226 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1227 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1228
e256c421
WN
12292013-11-06 Will Newton <will.newton@linaro.org>
1230
1231 * manual/memory.texi (Malloc Examples): Remove register
1232 keyword from examples.
1233
f6e12daa 12342013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1235
f6e12daa 1236 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1237
9d880655
AS
12382013-11-04 Joseph Myers <joseph@codesourcery.com>
1239
1240 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1241 depending on [__GCC_IEC_559 > 0].
1242 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1243 depending on [__GCC_IEC_559_COMPLEX > 0].
1244
ae129d3c
CL
12452013-11-03 Chris Leonard <cjl@sugarlabs.org>
1246
1247 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1248 to iso-639.def.
1249
4a15c2a4 12502013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1251
1252 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1253
8b35e35d
OB
12542013-11-01 Ondřej Bílka <neleai@seznam.cz>
1255
1256 [BZ #16112]
1257 * malloc/malloc (malloc_info): Do not handle first bin as
1258 special case.
1259
1d70fd6c
CL
12602013-11-01 Chris Leonard <cjl@sugarlabs.org>
1261
1262 * locale/iso-639.def: Add Central Nahuatl (nhn).
1263
8c5c2600
BH
12642013-11-01 Bruno Haible <bruno@clisp.org>
1265
1266 [BZ #7003]
1267 * manual/math.texi (BSD Random): Specify range upper bound as
1268 in POSIX.
1269
da5579c2
CL
12702013-10-31 Chris Leonard <cjl@sugarlabs.org>
1271
1272 * locale/iso-639.def: Add Meadow Mari (mhr).
1273
5d30d853
OB
12742013-10-31 Ondřej Bílka <neleai@seznam.cz>
1275
1276 [BZ #14752], [BZ #15763]
1277 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1278 Validate name.
1279 * rt/tst_shm.c: Add test for escaping directory.
1280
a4966c61
AS
12812013-10-31 Andreas Schwab <schwab@suse.de>
1282
8a43e768 1283 [BZ #15917]
a4966c61
AS
1284 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1285 followed by 'x' as part of digit sequence.
1286 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1287
28d708c4
MAP
12882013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1289
1290 [BZ #16037]
1291 * configure.ac: allow GNU Make 4.0 and greater.
1292 * configure: Regenerated.
1293
a56ee40b
WN
12942013-10-30 Will Newton <will.newton@linaro.org>
1295
1296 [BZ #16038]
1297 * malloc/hooks.c (memalign_check): Limit alignment to the
1298 maximum representable power of two.
1299 * malloc/malloc.c (__libc_memalign): Likewise.
1300 * malloc/tst-memalign.c (do_test): Add test for very
1301 large alignment values.
1302 * malloc/tst-posix_memalign.c (do_test): Likewise.
1303
c6e4925d
OB
13042013-10-30 Ondřej Bílka <neleai@seznam.cz>
1305
1306 [BZ #11087]
1307 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1308 (munmap_chunk): Likewise.
1309 (mremap_chunk): Likewise.
1310
13112013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1312
8a43e768 1313 [BZ #15799]
bbea82f7
OB
1314 * stdlib/div.c (div): Remove obsolete code.
1315 * stdlib/ldiv.c (ldiv): Likewise.
1316 * stdlib/lldiv.c (lldiv): Likewise.
1317
977f4b31
SP
13182013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1319
1320 [BZ #16071]
1321 * nss/nss_files/files-XXX.c (get_contents_ret): New
1322 enumerator.
1323 (get_contents): New function.
1324 (internal_getent): Use it. Expand size of LINEBUFLEN.
1325
cb8a6dbd
MF
13262013-10-30 Mike Frysinger <vapier@gentoo.org>
1327
1328 * configure.in: Moved to ...
1329 * configure.ac: ... here. Change reference to configure.in
1330 to configure.ac.
1331 * sysdeps/arm/preconfigure.ac: ... here.
1332 configure.in to configure.ac.
1333 * sysdeps/gnu/configure.in: Moved to ...
1334 * sysdeps/gnu/configure.ac: ... here.
1335 * sysdeps/i386/configure.in: Moved to ...
1336 * sysdeps/i386/configure.ac: ... here.
1337 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1338 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1339 * sysdeps/mach/configure.in: Moved to ...
1340 * sysdeps/mach/configure.ac: ... here.
1341 * sysdeps/mach/hurd/configure.in: Moved to ...
1342 * sysdeps/mach/hurd/configure.ac: ... here.
1343 * sysdeps/powerpc/configure.in: Moved to ...
1344 * sysdeps/powerpc/configure.ac: ... here.
1345 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1346 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1347 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1348 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1349 * sysdeps/s390/s390-32/configure.in: Moved to ...
1350 * sysdeps/s390/s390-32/configure.ac: ... here.
1351 * sysdeps/s390/s390-64/configure.in: Moved to ...
1352 * sysdeps/s390/s390-64/configure.ac: ... here.
1353 * sysdeps/sh/configure.in: Moved to ...
1354 * sysdeps/sh/configure.ac: ... here.
1355 * sysdeps/sparc/configure.in: Moved to ...
1356 * sysdeps/sparc/configure.ac: ... here.
1357 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1358 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1359 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1360 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1361 * sysdeps/x86_64/configure.in: Moved to ...
1362 * sysdeps/x86_64/configure.ac: ... here.
1363 * sysdeps/x86_64/preconfigure.in: Moved to ...
1364 * sysdeps/x86_64/preconfigure.ac: ... here.
1365 * aclocal.m4: Change reference to configure.in to configure.ac.
1366 * config.h.in: Likewise.
1367 * manual/install.texi: Likewise.
1368 * manual/maint.texi: Likewise.
1369 * Makefile: Likewise.
1370 * malloc/Makefile: Likewise.
1371 * nscd/Makefile: Likewise.
1372 * Makeconfig: Change reference to configure.in and
1373 preconfigure.in to configure.ac and preconfigure.ac
1374 respectively.
1375 * INSTALL: Regenerated.
1376 * configure: Likewise.
1377 * sysdeps/gnu/configure: Likewise.
1378 * sysdeps/i386/configure: Likewise.
1379 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1380 * sysdeps/mach/configure: Likewise.
1381 * sysdeps/mach/hurd/configure: Likewise.
1382 * sysdeps/powerpc/configure: Likewise.
1383 * sysdeps/powerpc/powerpc32/configure: Likewise.
1384 * sysdeps/powerpc/powerpc64/configure: Likewise.
1385 * sysdeps/s390/s390-32/configure: Likewise.
1386 * sysdeps/s390/s390-64/configure: Likewise.
1387 * sysdeps/sh/configure: Likewise.
1388 * sysdeps/sparc/configure: Likewise.
1389 * sysdeps/unix/sysv/linux/configure: Likewise.
1390 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1391 * sysdeps/x86_64/configure: Likewise.
1392 * sysdeps/x86_64/preconfigure: Likewise.
1393
36a4953a
AS
13942013-10-29 Andreas Schwab <schwab@suse.de>
1395
1396 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1397
c79a1204
SP
13982013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1399
dfa1b402
SP
1400 * benchtests/pow-inputs: Add new inputs.
1401
54f73d9c
SP
1402 * benchtests/exp-inputs: Add new inputs.
1403
c79a1204
SP
1404 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1405 conditional check for return value.
1406 (__cos32): Likewise.
1407
67beb545 14082013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1409
1410 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1411 to provide a boost for large inputs with word alignment.
1412 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1413 implementation based on optimized PPC64 strcpy.
1414 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1415 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1416 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1417 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1418
151659f6
OB
14192013-10-25 Ondřej Bílka <neleai@seznam.cz>
1420
482a077e 1421 [BZ #2801]
151659f6
OB
1422 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1423
10b0f26b
OB
14242013-10-25 Ondřej Bílka <neleai@seznam.cz>
1425
1426 [BZ #14876]
1427 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1428 * time/tst-strptime.c (day_tests): Add testcase.
1429
ca42d35e
OB
14302013-10-25 Ondřej Bílka <neleai@seznam.cz>
1431
482a077e 1432 [BZ #14029]
ca42d35e
OB
1433 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1434
52e6d801
FB
14352013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1436
1437 [BZ #16074]
1438 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1439 MAP_FAILED on error.
1440
7cbcdb36
SP
14412013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1442
1443 [BZ #16072]
1444 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1445 heap for large requests.
1446
894f3f10
AM
14472013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1448
1449 [BZ #9954]
1450 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1451 result if the result has no associated interface.
1452 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1453 interface for all 127.X.Y.Z addresses.
1454
b85545a6
CL
14552013-10-24 Chris Leonard <cjl@sugarlabs.org>
1456
1457 * locale/iso-639.def: Add Ligurian (lij)
1458
d1f23d46
OB
14592013-10-21 Ondřej Bílka <neleai@seznam.cz>
1460
1461 [BZ #15825]
1462 * sunrpc/rpc_main.c: Document rpcgen -5.
1463
4db5b08f
MS
14642013-10-19 Michael Stahl <mstahl@redhat.com>
1465
1466 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1467
a471e96a
OB
14682013-10-19 Ondřej Bílka <neleai@seznam.cz>
1469
d1f23d46 1470 [BZ #10278]
a471e96a
OB
1471 * posix/glob.c: Match only directories when trailing slash is present.
1472 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1473 (main): Add testcase.
1474
45c30c61
OB
14752013-10-19 Ondřej Bílka <neleai@seznam.cz>
1476
1477 [BZ #15670]
1478 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1479
484c12fb
CD
14802013-10-18 Carlos O'Donell <carlos@redhat.com>
1481
3d7dc513
CD
1482 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1483 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1484 AUTH_DES and cindex for FIPS 140-2.
1485 (DES Encryption): Add cindex FIPS 46-3.
1486
484c12fb
CD
1487 * locale/locarchive.h (struct locarhandle): Add fname.
1488 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1489 if an optional argument was specified to --list-archive,
1490 otherwise NULL.
1491 * locale/programs/locarchive.c (show_archive_content): Take new
1492 argument fname and pass it via ah.fname to open_archive.
1493 * locale/programs/localedef.h: Update decl.
1494 (open_archive): If AH->fname is non-null, open that file
1495 rather than the default file name, and don't ignore ENOENT.
1496 (create_archive): Set AH.fname to NULL.
1497 (delete_locales_from_archive): Likewise.
1498 (add_locales_to_archive): Likewise.
1499 * locale/programs/locfile.c (write_all_categories): Likewise.
1500
3c8325fb
JM
15012013-10-18 Joseph Myers <joseph@codesourcery.com>
1502 Aldy Hernandez <aldyh@redhat.com>
1503
1504 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1505 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1506 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1507 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1508 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1509 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1510 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1511 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1512 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1513 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1514 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1515 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1516 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1517 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1518 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1519 Likewise.
1520 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1521 Likewise.
1522 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1523 Likewise.
1524 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1525 Likewise.
1526 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1527 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1528 Likewise.
1529 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1530 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1531 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1532 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1533 Likewise.
1534 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1535 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1536 * sysdeps/powerpc/preconfigure: Likewise.
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1538 Likewise.
1539 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1540 Replace contents of file by #include of <fenv_libc.h>.
1541 * sysdeps/powerpc/soft-fp/sfp-machine.h
1542 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1543 and <sys/prctl.h>.
1544 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1545 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1546 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1547 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1549 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1551 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1552 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1553 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1554 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1555 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1557 Allow copysignl PLT reference to be missing.
1558
5abe0682
RS
15592013-10-18 Richard Sandiford <richard@codesourcery.com>
1560 Joseph Myers <joseph@codesourcery.com
1561
1562 [BZ #15948]
1563 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1564 single character.
1565 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1566
c7738d08
SP
15672013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1568
1569 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1570 * elf/tst-tls1.c: Likewise.
1571 * elf/tst-tls10.h: Likewise.
1572 * elf/tst-tls14.c: Likewise.
1573 * elf/tst-tls2.c: Likewise.
1574 * elf/tst-tls3.c: Likewise.
1575 * elf/tst-tls4.c: Likewise.
1576 * elf/tst-tls5.c: Likewise.
1577 * elf/tst-tls6.c: Likewise.
1578 * elf/tst-tls7.c: Likewise.
1579 * elf/tst-tls8.c: Likewise.
1580 * elf/tst-tls9.c: Likewise.
1581 * elf/tst-tlsmod1.c: Likewise.
1582 * elf/tst-tlsmod13.c: Likewise.
1583 * elf/tst-tlsmod13a.c: Likewise.
1584 * elf/tst-tlsmod14a.c: Likewise.
1585 * elf/tst-tlsmod16a.c: Likewise.
1586 * elf/tst-tlsmod16b.c: Likewise.
1587 * elf/tst-tlsmod2.c: Likewise.
1588 * elf/tst-tlsmod3.c: Likewise.
1589 * elf/tst-tlsmod4.c: Likewise.
1590 * elf/tst-tlsmod5.c: Likewise.
1591 * elf/tst-tlsmod6.c: Likewise.
1592
0bfcf2c7
OB
15932013-10-18 Ondřej Bílka <neleai@seznam.cz>
1594
1595 [BZ #12486]
1596 * malloc/malloc.c: remove checks for statistics.
1597
264aad1e
OB
15982013-10-17 Ondřej Bílka <neleai@seznam.cz>
1599
1600 [BZ #15277]
1601 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1602 * inet/tst-network.c: Add testcase.
1603
b957ced8
AS
16042013-10-17 Andreas Schwab <schwab@suse.de>
1605
1606 [BZ #15218]
1607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1608 to determine canonical name.
1609
c5d5d574
OB
16102013-10-17 Ondřej Bílka <neleai@seznam.cz>
1611
1612 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1613 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1614 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1615 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1617 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1618 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1619 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1620 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1621 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1622 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1623 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1624 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1625 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1626 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1627 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1628 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1629 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1630 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1631 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1632 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1633 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1635 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1636 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1637 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1638 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1639 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1640 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1641 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1642 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1643 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1644 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1645 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1646 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1647 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1648 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1649 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1650 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1651 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1652 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1653 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1654 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1655 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1656 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1657 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1658 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1659 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1660 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1661 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1662 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1663 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1664 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1665 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1666 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1667 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1669 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1670
e5c2c2d0
JM
16712013-10-17 Joseph Myers <joseph@codesourcery.com>
1672
1673 [BZ #16041]
1674 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1675 make result into a quiet NaN.
1676
51ca9e29
JM
16772013-10-16 Joseph Myers <joseph@codesourcery.com>
1678
1679 * soft-fp/adddf3.c: Fix horizontal whitespace.
1680 * soft-fp/addsf3.c: Likewise.
1681 * soft-fp/addtf3.c: Likewise.
1682 * soft-fp/divdf3.c: Likewise.
1683 * soft-fp/divsf3.c: Likewise.
1684 * soft-fp/divtf3.c: Likewise.
1685 * soft-fp/double.h: Likewise.
1686 * soft-fp/eqdf2.c: Likewise.
1687 * soft-fp/eqsf2.c: Likewise.
1688 * soft-fp/eqtf2.c: Likewise.
1689 * soft-fp/extenddftf2.c: Likewise.
1690 * soft-fp/extended.h: Likewise.
1691 * soft-fp/extendsfdf2.c: Likewise.
1692 * soft-fp/extendsftf2.c: Likewise.
1693 * soft-fp/extendxftf2.c: Likewise.
1694 * soft-fp/fixdfdi.c: Likewise.
1695 * soft-fp/fixdfsi.c: Likewise.
1696 * soft-fp/fixdfti.c: Likewise.
1697 * soft-fp/fixsfdi.c: Likewise.
1698 * soft-fp/fixsfsi.c: Likewise.
1699 * soft-fp/fixsfti.c: Likewise.
1700 * soft-fp/fixtfdi.c: Likewise.
1701 * soft-fp/fixtfsi.c: Likewise.
1702 * soft-fp/fixtfti.c: Likewise.
1703 * soft-fp/fixunsdfdi.c: Likewise.
1704 * soft-fp/fixunsdfsi.c: Likewise.
1705 * soft-fp/fixunsdfti.c: Likewise.
1706 * soft-fp/fixunssfdi.c: Likewise.
1707 * soft-fp/fixunssfsi.c: Likewise.
1708 * soft-fp/fixunssfti.c: Likewise.
1709 * soft-fp/fixunstfdi.c: Likewise.
1710 * soft-fp/fixunstfsi.c: Likewise.
1711 * soft-fp/fixunstfti.c: Likewise.
1712 * soft-fp/floatdidf.c: Likewise.
1713 * soft-fp/floatdisf.c: Likewise.
1714 * soft-fp/floatditf.c: Likewise.
1715 * soft-fp/floatsidf.c: Likewise.
1716 * soft-fp/floatsisf.c: Likewise.
1717 * soft-fp/floatsitf.c: Likewise.
1718 * soft-fp/floattidf.c: Likewise.
1719 * soft-fp/floattisf.c: Likewise.
1720 * soft-fp/floattitf.c: Likewise.
1721 * soft-fp/floatundidf.c: Likewise.
1722 * soft-fp/floatundisf.c: Likewise.
1723 * soft-fp/floatunditf.c: Likewise.
1724 * soft-fp/floatunsidf.c: Likewise.
1725 * soft-fp/floatunsisf.c: Likewise.
1726 * soft-fp/floatunsitf.c: Likewise.
1727 * soft-fp/floatuntidf.c: Likewise.
1728 * soft-fp/floatuntisf.c: Likewise.
1729 * soft-fp/floatuntitf.c: Likewise.
1730 * soft-fp/fmadf4.c: Likewise.
1731 * soft-fp/fmasf4.c: Likewise.
1732 * soft-fp/fmatf4.c: Likewise.
1733 * soft-fp/gedf2.c: Likewise.
1734 * soft-fp/gesf2.c: Likewise.
1735 * soft-fp/getf2.c: Likewise.
1736 * soft-fp/ledf2.c: Likewise.
1737 * soft-fp/lesf2.c: Likewise.
1738 * soft-fp/letf2.c: Likewise.
1739 * soft-fp/muldf3.c: Likewise.
1740 * soft-fp/mulsf3.c: Likewise.
1741 * soft-fp/multf3.c: Likewise.
1742 * soft-fp/negdf2.c: Likewise.
1743 * soft-fp/negsf2.c: Likewise.
1744 * soft-fp/negtf2.c: Likewise.
1745 * soft-fp/op-1.h: Likewise.
1746 * soft-fp/op-2.h: Likewise.
1747 * soft-fp/op-4.h: Likewise.
1748 * soft-fp/op-8.h: Likewise.
1749 * soft-fp/op-common.h: Likewise.
1750 * soft-fp/quad.h: Likewise.
1751 * soft-fp/single.h: Likewise.
1752 * soft-fp/soft-fp.h: Likewise.
1753 * soft-fp/sqrtdf2.c: Likewise.
1754 * soft-fp/sqrtsf2.c: Likewise.
1755 * soft-fp/sqrttf2.c: Likewise.
1756 * soft-fp/subdf3.c: Likewise.
1757 * soft-fp/subsf3.c: Likewise.
1758 * soft-fp/subtf3.c: Likewise.
1759 * soft-fp/truncdfsf2.c: Likewise.
1760 * soft-fp/trunctfdf2.c: Likewise.
1761 * soft-fp/trunctfsf2.c: Likewise.
1762 * soft-fp/trunctfxf2.c: Likewise.
1763 * soft-fp/unorddf2.c: Likewise.
1764 * soft-fp/unordsf2.c: Likewise.
1765 * soft-fp/unordtf2.c: Likewise.
1766
9ebb0332
JM
17672013-10-15 Joseph Myers <joseph@codesourcery.com>
1768
1769 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1770 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1771
4b1a6d8b
OB
17722013-10-15 Ondřej Bílka <neleai@seznam.cz>
1773
1774 * elf/dl-libc.c: Clear initfini list after freeing.
1775
1e145589
JM
17762013-10-14 Joseph Myers <joseph@codesourcery.com>
1777
1778 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1779 * soft-fp/addsf3.c: Likewise.
1780 * soft-fp/addtf3.c: Likewise.
1781 * soft-fp/divdf3.c: Likewise.
1782 * soft-fp/divsf3.c: Likewise.
1783 * soft-fp/divtf3.c: Likewise.
1784 * soft-fp/double.h: Likewise.
1785 * soft-fp/eqdf2.c: Likewise.
1786 * soft-fp/eqsf2.c: Likewise.
1787 * soft-fp/eqtf2.c: Likewise.
1788 * soft-fp/extenddftf2.c: Likewise.
1789 * soft-fp/extended.h: Likewise.
1790 * soft-fp/extendsfdf2.c: Likewise.
1791 * soft-fp/extendsftf2.c: Likewise.
1792 * soft-fp/extendxftf2.c: Likewise.
1793 * soft-fp/fixdfdi.c: Likewise.
1794 * soft-fp/fixdfsi.c: Likewise.
1795 * soft-fp/fixdfti.c: Likewise.
1796 * soft-fp/fixsfdi.c: Likewise.
1797 * soft-fp/fixsfsi.c: Likewise.
1798 * soft-fp/fixsfti.c: Likewise.
1799 * soft-fp/fixtfdi.c: Likewise.
1800 * soft-fp/fixtfsi.c: Likewise.
1801 * soft-fp/fixtfti.c: Likewise.
1802 * soft-fp/fixunsdfdi.c: Likewise.
1803 * soft-fp/fixunsdfsi.c: Likewise.
1804 * soft-fp/fixunsdfti.c: Likewise.
1805 * soft-fp/fixunssfdi.c: Likewise.
1806 * soft-fp/fixunssfsi.c: Likewise.
1807 * soft-fp/fixunssfti.c: Likewise.
1808 * soft-fp/fixunstfdi.c: Likewise.
1809 * soft-fp/fixunstfsi.c: Likewise.
1810 * soft-fp/fixunstfti.c: Likewise.
1811 * soft-fp/floatdidf.c: Likewise.
1812 * soft-fp/floatdisf.c: Likewise.
1813 * soft-fp/floatditf.c: Likewise.
1814 * soft-fp/floatsidf.c: Likewise.
1815 * soft-fp/floatsisf.c: Likewise.
1816 * soft-fp/floatsitf.c: Likewise.
1817 * soft-fp/floattidf.c: Likewise.
1818 * soft-fp/floattisf.c: Likewise.
1819 * soft-fp/floattitf.c: Likewise.
1820 * soft-fp/floatundidf.c: Likewise.
1821 * soft-fp/floatundisf.c: Likewise.
1822 * soft-fp/floatunsidf.c: Likewise.
1823 * soft-fp/floatunsisf.c: Likewise.
1824 * soft-fp/floatuntidf.c: Likewise.
1825 * soft-fp/floatuntisf.c: Likewise.
1826 * soft-fp/floatuntitf.c: Likewise.
1827 * soft-fp/fmadf4.c: Likewise.
1828 * soft-fp/fmasf4.c: Likewise.
1829 * soft-fp/fmatf4.c: Likewise.
1830 * soft-fp/gedf2.c: Likewise.
1831 * soft-fp/gesf2.c: Likewise.
1832 * soft-fp/getf2.c: Likewise.
1833 * soft-fp/ledf2.c: Likewise.
1834 * soft-fp/lesf2.c: Likewise.
1835 * soft-fp/letf2.c: Likewise.
1836 * soft-fp/muldf3.c: Likewise.
1837 * soft-fp/mulsf3.c: Likewise.
1838 * soft-fp/multf3.c: Likewise.
1839 * soft-fp/negdf2.c: Likewise.
1840 * soft-fp/negsf2.c: Likewise.
1841 * soft-fp/negtf2.c: Likewise.
1842 * soft-fp/op-1.h: Likewise.
1843 * soft-fp/op-2.h: Likewise.
1844 * soft-fp/op-4.h: Likewise.
1845 * soft-fp/op-8.h: Likewise.
1846 * soft-fp/op-common.h: Likewise.
1847 * soft-fp/quad.h: Likewise.
1848 * soft-fp/single.h: Likewise.
1849 * soft-fp/soft-fp.h: Likewise.
1850 * soft-fp/sqrtdf2.c: Likewise.
1851 * soft-fp/sqrtsf2.c: Likewise.
1852 * soft-fp/sqrttf2.c: Likewise.
1853 * soft-fp/subdf3.c: Likewise.
1854 * soft-fp/subsf3.c: Likewise.
1855 * soft-fp/subtf3.c: Likewise.
1856 * soft-fp/truncdfsf2.c: Likewise.
1857 * soft-fp/trunctfdf2.c: Likewise.
1858 * soft-fp/trunctfsf2.c: Likewise.
1859 * soft-fp/trunctfxf2.c: Likewise.
1860 * soft-fp/unorddf2.c: Likewise.
1861 * soft-fp/unordsf2.c: Likewise.
1862 * soft-fp/unordtf2.c: Likewise.
1863
17c48a60
OB
18642013-10-14 Ondřej Bílka <neleai@seznam.cz>
1865
1866 [BZ #15672]
1867 * misc/error.c (error_tail): Fix possible buffer overflow.
1868
cabba934
OB
18692013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1870
1871 [BZ #13028]
1872 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1873 address.
1874
94bf958a
PM
18752013-10-14 P. J. McDermott <pj@pehjota.net>
1876
1877 [BZ #832]
1878 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1879 testing pipefail option.
1880
71b4dea7
JM
18812013-10-12 Joseph Myers <joseph@codesourcery.com>
1882
1883 * soft-fp/double.h: Indent preprocessor directives inside #if.
1884 * soft-fp/extended.h: Likewise.
1885 * soft-fp/op-2.h: Likewise.
1886 * soft-fp/op-4.h: Likewise.
1887 * soft-fp/op-common.h: Likewise.
1888 * soft-fp/quad.h: Likewise.
1889 * soft-fp/single.h: Likewise.
1890 * soft-fp/soft-fp.h: Likewise.
1891
55602758
YC
18922013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1893
1894 * iconv/iconv_prog.c: Fix typos.
1895 * stdio-common/psiginfo-data.h: Likewise.
1896
9cd83302
RT
18972013-10-12 Reuben Thomas <rrt@sc3d.org>
1898
1899 [BZ #15764]
1900 * locale/setlocale.c: Fix typo.
1901
99fd9f47
JM
19022013-10-12 Joseph Myers <joseph@codesourcery.com>
1903
b7ea74f0
JM
1904 [BZ #16036]
1905 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1906 signaling NaN arguments.
1907 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1908 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1909
8a509447
JM
1910 [BZ #14910]
1911 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1912 unordered operands.
1913 * soft-fp/gesf2.c (__gesf2): Likewise.
1914 * soft-fp/getf2.c (__getf2): Likewise.
1915 * soft-fp/ledf2.c (__ledf2): Likewise.
1916 * soft-fp/lesf2.c (__lesf2): Likewise.
1917 * soft-fp/letf2.c (__letf2): Likewise.
1918
98998e9f
JM
1919 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1920 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1921 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1922 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1923 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1924 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1925 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1926 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1927 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1928 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1929 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1930 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1931 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1932 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1933 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1934 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1935 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1936 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1937 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1938 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1939 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1940 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1941 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1942 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1943 * soft-fp/floattidf.c (__floattidf): Likewise.
1944 * soft-fp/floattisf.c (__floattisf): Likewise.
1945 * soft-fp/floattitf.c (__floattitf): Likewise.
1946 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1947 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1948 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1949 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1950 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1951 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1952 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1953 * soft-fp/gesf2.c (__gesf2): Likewise.
1954 * soft-fp/getf2.c (__getf2): Likewise.
1955 * soft-fp/ledf2.c (__ledf2): Likewise.
1956 * soft-fp/lesf2.c (__lesf2): Likewise.
1957 * soft-fp/letf2.c (__letf2): Likewise.
1958
8edc4a11
JM
1959 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1960 Undefine and redefine.
1961 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1962 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1963 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1964 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1965 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1966 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1967 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1968 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1969 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1970 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1971 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1972 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1973 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1974 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1975 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1976
8399acaf
JM
1977 [BZ #16032]
1978 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1979 without decrementing exponent if mantissa >= that for the
1980 denominator, not >.
1981 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1982 denominator, not >. Decrement exponent in < case instead of
1983 incrementing in >= case.
1984 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1985 without decrementing exponent if mantissa >= that for the
1986 denominator, not >.
1987
99fd9f47
JM
1988 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1989 computing saturated result for unsigned overflow.
1990
10e1cf6b
SP
19912013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1992 Jeff Law <law@redhat.com>
1993
1994 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1995 (atan2Mp): Add systemtap probe marker.
1996 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1997 (__ieee754_log): Add systemtap probe marker.
1998 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1999 (atanMp): Add systemtap probe marker.
2000 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2001 (tanMp): Add systemtap probe marker.
2002 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2003 (__slowexp): Add systemtap probe marker.
2004 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2005 (__slowpow): Add systemtap probe marker.
2006 * manual/probes.texi: Document probes.
2007
3d110c7c
EB
20082013-10-11 Eric Biggers <ebiggers3@gmail.com>
2009
2010 [BZ #15362]
2011 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2012 written.
2013 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2014 written.
2015 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2016 written to buffer but not flushed.
2017 * libio/iofwrite_u.c: Likewise.
2018 * libio/iopadn.c: Return bytes returned even if EOF was
2019 encountered.
2020 * libio/iowpadn.c: Likewise.
2021 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2022 if _IO_padn does not write the whole buffer.
2023 [!COMPILE_WPRINTF] (PAD): Likewise.
2024
75b4202a
DM
20252013-10-10 David S. Miller <davem@davemloft.net>
2026
2027 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2028 directory block.
2029
6c6352e6
JM
20302013-10-10 Joseph Myers <joseph@codesourcery.com>
2031
33b853c3
JM
2032 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2033 instead of FSF address.
2034 * soft-fp/fixdfti.c: Likewise.
2035 * soft-fp/fixsfti.c: Likewise.
2036 * soft-fp/fixtfti.c: Likewise.
2037 * soft-fp/fixunsdfti.c: Likewise.
2038 * soft-fp/fixunssfti.c: Likewise.
2039 * soft-fp/fixunstfti.c: Likewise.
2040 * soft-fp/floattidf.c: Likewise.
2041 * soft-fp/floattisf.c: Likewise.
2042 * soft-fp/floattitf.c: Likewise.
2043 * soft-fp/floatuntidf.c: Likewise.
2044 * soft-fp/floatuntisf.c: Likewise.
2045 * soft-fp/floatuntitf.c: Likewise.
2046 * soft-fp/trunctfxf2.c: Likewise.
2047
6c6352e6
JM
2048 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2049 * soft-fp/fixdfti.c: Likewise.
2050 * soft-fp/fixsfti.c: Likewise.
2051 * soft-fp/fixtfti.c: Likewise.
2052 * soft-fp/fixunsdfti.c: Likewise.
2053 * soft-fp/fixunssfti.c: Likewise.
2054 * soft-fp/fixunstfti.c: Likewise.
2055 * soft-fp/floattidf.c: Likewise.
2056 * soft-fp/floattisf.c: Likewise.
2057 * soft-fp/floattitf.c: Likewise.
2058 * soft-fp/floatuntidf.c: Likewise.
2059 * soft-fp/floatuntisf.c: Likewise.
2060 * soft-fp/floatuntitf.c: Likewise.
2061 * soft-fp/trunctfxf2.c: Likewise.
2062
3bf78b71
DM
20632013-10-10 David S. Miller <davem@davemloft.net>
2064
2065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2066
6f10289e
JM
20672013-10-10 Joseph Myers <joseph@codsourcery.com>
2068
bd878fc0
JM
2069 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2070 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2071 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2072 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2073 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2074 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2075 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2076
6f10289e
JM
2077 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2078 for NaNs before doing comparisons on argument.
2079 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2080 Likewise.
2081
321e2684
WN
20822013-10-10 Will Newton <will.newton@linaro.org>
2083
2084 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2085 passed to _int_memalign does not overflow.
2086
40fefba1
TR
20872013-10-10 Torvald Riegel <triegel@redhat.com>
2088
2089 * scripts/bench.pl: Add include-sources directive.
2090 * benchtests/README: Update documentation.
2091
2ae21ed2
JM
20922013-10-10 Joseph Myers <joseph@codesourcery.com>
2093
dcc2dd3f
JM
2094 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2095 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2096 instead of FP_INIT_ROUNDMODE.
2097 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2098 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2099
2ae21ed2
JM
2100 [BZ #16034]
2101 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2102 copy class of input value.
2103 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2104 not handle exceptions.
2105 * soft-fp/negsf2.c (__negsf2): Likewise.
2106 * soft-fp/negtf2.c (__negtf2): Likewise.
2107 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2108
cb8f9562
JM
21092013-10-09 Joseph Myers <joseph@codesourcery.com>
2110
2111 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2112 semicolon. From Linux kernel.
2113
5b60c59d
AB
21142013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2115
2116 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2117
b86835ca
YC
21182013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2119
2120 [BZ #156]
2121 * manual/socket.texi: Added statement about buffer
2122 for gethostbyname2_r.
2123
e7044ea7
OB
21242013-10-08 Ondřej Bílka <neleai@seznam.cz>
2125
2126 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2127 Use .p2align directive instead, throughout.
2128 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2129 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2130 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2131 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2132 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2133 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2134 * sysdeps/x86_64/strchr.S: Likewise.
2135 * sysdeps/x86_64/strrchr.S: Likewise.
2136
09544cbc
SP
21372013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2138
88576635
SP
2139 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2140
e7b2d1dd
SP
2141 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2142
09544cbc
SP
2143 * sysdeps/generic/math_private.h (__mpsin1): Remove
2144 declaration.
2145 (__mpcos1): Likewise.
2146 (__mpsin): New argument __range_reduce.
2147 (__mpcos): Likewise.
2148 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2149 (slow): Use __mpsin and __mpcos.
2150 (slow1): Likewise.
2151 (slow2): Likewise.
2152 (sloww): Likewise.
2153 (sloww1): Likewise.
2154 (sloww2): Likewise.
2155 (bsloww): Likewise.
2156 (bsloww1): Likewise.
2157 (bsloww2): Likewise.
2158 (cslow2): Likewise.
2159 (csloww): Likewise.
2160 (csloww1): Likewise.
2161 (csloww2): Likewise.
2162 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2163 range_reduce. Merge in __mpsin1.
2164 (__mpcos): Likewise.
2165 (__mpsin1): Remove.
2166 (__mpcos1): Likewise.
2167
7602d070
JM
21682013-10-07 Joseph Myers <joseph@codesourcery.com>
2169
2170 * locale/loadlocale.c (_nl_intern_locale_data): Use
2171 LOCFILE_ALIGNED_P.
2172 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2173 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2174 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2175 obstack data is appropriately aligned.
2176 (obstack_int32_grow_fast): Likewise.
2177 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2178 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2179 (add_locale_uint32_array): Likewise.
2180
a357259b
SP
21812013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2182
2183 * benchtests/Makefile: Remove ARGLIST and RET variables.
2184 ($(objpfx)bench-%.c): Pass only function name to the script.
2185 * benchtests/README: Update documentation.
2186 * benchtests/acos-inputs: Add new directives.
2187 * benchtests/acosh-inputs: Likewise.
2188 * benchtests/asin-inputs: Likewise.
2189 * benchtests/asinh-inputs: Likewise.
2190 * benchtests/atan-inputs: Likewise.
2191 * benchtests/atanh-inputs: Likewise.
2192 * benchtests/cos-inputs: Likewise.
2193 * benchtests/cosh-inputs: Likewise.
2194 * benchtests/exp-inputs: Likewise.
2195 * benchtests/log-inputs: Likewise.
2196 * benchtests/pow-inputs: Likewise.
2197 * benchtests/rint-inputs: Likewise.
2198 * benchtests/sin-inputs: Likewise.
2199 * benchtests/sinh-inputs: Likewise.
2200 * benchtests/tan-inputs: Likewise.
2201 * benchtests/tanh-inputs: Likewise.
2202 * scripts/bench.pl: Add support for new directives.
2203
9ec1b13d
AM
22042013-10-07 Alan Modra <amodra@gmail.com>
2205
2206 * README: Fix careless merge.
2207
8b7d57cd
AM
22082013-10-05 Alan Modra <amodra@gmail.com>
2209
2210 * NEWS: Mention powerpc64le support and bugs fixed.
2211 * README: Both big-endian and little-endian powerpc64 supported.
2212
7b7bab13
ST
22132013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2214
2215 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2216 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2217 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2218 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2219
d39baad1
RA
22202013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2221
2222 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2223 match prototype.
2224
cd78f7e7
JM
22252013-10-04 Joseph Myers <joseph@codesourcery.com>
2226
29d73d86
JM
2227 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2228 Move -mhard-float appending from
2229 ports/sysdeps/powerpc/powerpc32/Makefile.
2230 [$(with-fp) = yes] (ASFLAGS): Likewise.
2231 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2232 * sysdeps/powerpc/nofpu: Move directory from
2233 ports/sysdeps/powerpc/nofpu.
2234 * sysdeps/powerpc/soft-fp: Move directory from
2235 ports/sysdeps/powerpc/soft-fp.
2236 * sysdeps/powerpc/powerpc32/405: Move directory from
2237 ports/sysdeps/powerpc/powerpc32/405.
2238 * sysdeps/powerpc/powerpc32/440: Move directory from
2239 ports/sysdeps/powerpc/powerpc32/440.
2240 * sysdeps/powerpc/powerpc32/464: Move directory from
2241 ports/sysdeps/powerpc/powerpc32/464.
2242 * sysdeps/powerpc/powerpc32/476: Move directory from
2243 ports/sysdeps/powerpc/powerpc32/476.
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2245 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2247 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2249 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2251 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2253 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2254 * README: Update for powerpc-*-linux-gnu software floating point
2255 support in libc.
2256
e246b347
JM
2257 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2258 case to powerpc/powerpc32*.
2259 * sysdeps/unix/sysv/linux/configure: Regenerated.
2260
89c2003e
JM
2261 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2262 (_FPU_MASK_OM): Define as 0x04.
2263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2265 0x00c10080.
2266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2267 0x0000003c.
2268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2269
cd78f7e7
JM
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2271 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2272 getcontext_e500.
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2274 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2275 setcontext_e500.
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2277 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2278 and setcontext_e500.
2279
c755294d
CL
22802013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2281
2282 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2283
e16d221c
SP
22842013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2285
2286 * manual/threads.texi (Default Thread Attributes): Fix typo.
2287
215c7d43
WN
22882013-10-04 Will Newton <will.newton@linaro.org>
2289
2290 * malloc/Makefile: Add tst-memalign.
2291 * malloc/tst-memalign.c: New file.
2292
27d0461b
WN
2293 * malloc/tst-posix_memalign.c: Add comments.
2294 (do_test): Add comments and call free on all potentially
2295 allocated pointers. Add space after cast.
2296
1bc92709
WN
2297 * malloc/tst-pvalloc.c: Add comments.
2298 (do_test): Add comments and call free on all potentially
2299 allocated pointers. Remove duplicate check for NULL pointer.
2300 Add space after cast.
2301
66a9be9d
WN
2302 * malloc/tst-valloc.c: Add comments.
2303 (do_test): Add comments and call free on all potentially
2304 allocated pointers. Remove duplicate check for NULL pointer.
2305 Add space after cast.
2306
4cb81307
AM
23072013-10-04 Alan Modra <amodra@gmail.com>
2308
2309 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2310 Use stdint types in rather than __attribute__((mode())).
2311 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2312
f8e3e9f3
AM
23132013-10-04 Alan Modra <amodra@gmail.com>
2314
2315 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2316 Correct handling of unaligned relocs for little-endian.
2317 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2318
8f9ebb08
AM
23192013-10-04 Alan Modra <amodra@gmail.com>
2320
2321 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2322 * configure: Regenerate.
2323 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2324 * shlib-versions: Likewise.
2325
0edf96c2
AM
23262013-10-04 Alan Modra <amodra@gmail.com>
2327
2328 * string/tester.c (test_memrchr): Increment reported test cycle.
2329
e0f7a380
AM
23302013-10-04 Alan Modra <amodra@gmail.com>
2331
2332 * string/test-memcpy.c (do_one_test): When reporting errors, print
2333 string address and don't overrun end of string.
2334
466b0393
AM
23352013-10-04 Alan Modra <amodra@gmail.com>
2336
2337 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2338 insrdi. Make better use of reg selection to speed exit slightly.
2339 Schedule entry path a little better. Remove useless "are we done"
2340 checks on entry to main loop. Handle wrapping around zero address.
2341 Correct main loop count. Handle single left-over word from main
2342 loop inline rather than by using loop_small. Remove extra word
2343 case in loop_small caused by wrong loop count. Add little-endian
2344 support.
2345 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2346 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2347 cache hint.
2348 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2349 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2350 support. Avoid rlwimi.
2351 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2352
3be87c77
AM
23532013-10-04 Alan Modra <amodra@gmail.com>
2354
2355 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2356 insrdi. Formatting.
3be87c77
AM
2357 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2358 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2359 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2360 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2361 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2362 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2363
759cfef3
AM
23642013-10-04 Alan Modra <amodra@gmail.com>
2365
2366 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2367 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2368 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2369 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2370 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2371 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2372 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2373 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2374 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2375 use of regs. Use power7 mtocrf. Tidy function tails.
2376
fe6e95d7
AM
23772013-10-04 Alan Modra <amodra@gmail.com>
2378
2379 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2380 Formatting. Consistently use rXXX register defines or rN defines.
2381 Use early exit labels that avoid restoring unused non-volatile regs.
2382 Make cr field use more consistent with rWORDn compares. Rename
2383 regs used as shift registers for unaligned loop, using rN defines
2384 for short lifetime/multiple use regs.
2385 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2386 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2387 addi 1,1,64 to pop stack frame. Simplify return value code.
2388 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2389
664318c3
AM
23902013-10-04 Alan Modra <amodra@gmail.com>
2391
2392 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2393 support. Correct typos, formatting. Optimize tail. Use insrdi
2394 rather than rlwimi.
2395 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2396 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2397 little-endian support. Correct typos.
2398 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2399 rather than rlwimi.
2400 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2401 in loop and entry code to keep "and." results.
2402 (strchr): Add little-endian support. Comment. Move cntlzd
2403 earlier in tail.
2404 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2405
43b84013
AM
24062013-10-04 Alan Modra <amodra@gmail.com>
2407
2408 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2409 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2410 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2411 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2412
8a7413f9
AM
24132013-10-04 Alan Modra <amodra@gmail.com>
2414
2415 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2416 (rTMP): Define as r11.
2417 (strcmp): Add little-endian support. Optimise tail.
2418 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2419 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2420 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2421 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2422 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2424 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2425
33ee81de
AM
24262013-10-04 Alan Modra <amodra@gmail.com>
2427
2428 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2429 little-endian support. Remove unnecessary "are we done" tests.
2430 Handle "s" wrapping around zero and extremely large "size".
2431 Correct main loop count. Handle single left-over word from main
2432 loop inline rather than by using small_loop. Correct comments.
2433 Delete "zero" tail, use "end_max" instead.
2434 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2435
db9b4570
AM
24362013-10-04 Alan Modra <amodra@gmail.com>
2437
2438 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2439 support. Don't branch over align.
2440 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2441 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2442 support. Rearrange tmp reg use to suit. Comment.
2443 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2444
f7c399cf
AM
24452013-10-04 Alan Modra <amodra@gmail.com>
2446
2447 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2448
0b2c2ace
AM
24492013-10-04 Alan Modra <amodra@gmail.com>
2450
2451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2452 conditional form of branch and link when obtaining pc.
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2454
02f04a6c
AM
24552013-10-04 Alan Modra <amodra@gmail.com>
2456
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2458 HIWORD/LOWORD.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2461
9b874b2f
AM
24622013-10-04 Alan Modra <amodra@gmail.com>
2463
2464 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2465 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2466 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2467 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2468 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2469 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2470 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2471 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2472 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2473 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2474
be1e5d31
AB
24752013-10-04 Anton Blanchard <anton@au1.ibm.com>
2476 Alistair Popple <alistair@ozlabs.au.ibm.com>
2477 Alan Modra <amodra@gmail.com>
2478
2479 [BZ #15723]
2480 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2481 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2482 _dl_hwcap access for little-endian.
2483 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2484 destroy vmx regs when saving unaligned.
2485 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2486 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2487 destroy vmx regs when saving unaligned.
2488
fef13a78
AM
24892013-10-04 Alan Modra <amodra@gmail.com>
2490
2491 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2492 Don't use a union to pack hi/low value.
2493
76a66d51
AB
24942013-10-04 Anton Blanchard <anton@au1.ibm.com>
2495
2496 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2497 for little-endian.
2498 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2500 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2501 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2502 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2503
6a31fe7f
AM
25042013-10-04 Alan Modra <amodra@gmail.com>
2505
2506 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2507 constants to usual value for .cst8 section, and remove redundant
2508 high address load.
2509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2510 constant for 0x1p52. Load little-endian words of double from
2511 correct stack offsets.
2512
7b88401f
AM
25132013-10-04 Alan Modra <amodra@gmail.com>
2514
2515 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2516 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2517 words of double from correct stack offsets.
2518 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2519 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2520 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2521 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2523 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2524 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2525 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2526 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2527 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2528 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2529 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2530 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2531 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2532 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2533 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2534 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2535
9c008155
AM
25362013-10-04 Alan Modra <amodra@gmail.com>
2537
2538 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2539 64-bit int/double union.
2540 (_FPU_SETCW): Likewise.
2541 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2542 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2543
da13146d
AM
25442013-10-04 Alan Modra <amodra@gmail.com>
2545
2546 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2547 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2548
603e8410
AM
25492013-10-04 Alan Modra <amodra@gmail.com>
2550
2551 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2552 use vector int constants.
2553 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2554
4a28b3ca
AB
25552013-10-04 Anton Blanchard <anton@au1.ibm.com>
2556
2557 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2558 array with long long.
2559 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2560 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2561 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2562 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2563 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2564 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2565 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2566 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2567 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2568 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2569 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2570 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2571 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2572
2ca85d2b
AB
25732013-10-04 Anton Blanchard <anton@au1.ibm.com>
2574
2575 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2576 (__signbit): Likewise. Correct for little-endian.
2577 (__signbitl): Call __signbit.
2578 (lrint): Correct for little-endian.
2579 (lrintf): Call lrint.
2580
62a728ae
AM
25812013-10-04 Alan Modra <amodra@gmail.com>
2582
2583 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2584 union 32-bit int array member with 64-bit int array.
2585 (t515, tm256): Double rather than long double.
2586 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2587
32c301df
AM
25882013-10-04 Alan Modra <amodra@gmail.com>
2589
2590 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2591 Delete.
2592 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2593 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2594 version of math_ldbl.h.
2595
650ef4bd
AM
25962013-10-04 Alan Modra <amodra@gmail.com>
2597
2598 [BZ #15734], [BZ #15735]
2599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2600 all uses of ieee875 long double macros and unions. Simplify test
2601 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2602 ldbl_extract_mantissa value for ix,iy exponents. Properly
2603 normalize after ldbl_extract_mantissa, and don't add hidden bit
2604 already handled. Don't treat low word of ieee854 mantissa like
2605 low word of IBM long double and mask off bit when testing for
2606 zero.
2607 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2608 all uses of ieee875 long double macros and unions. Simplify tests
2609 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2610 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2611 two1022, instead use their values. Recognise that tests for large
2612 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2613 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2614 Rewrite all uses of ieee875 long double macros and unions. Simplify
2615 test for 0.0L and nan. Correct negation.
2616 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2617 ieee875 long double macros and unions. Correct output for large
2618 magnitude x. Correct absolute value calculation.
2619 (__erfcl): Likewise.
2620 * math/libm-test.inc: Add tests for errors discovered in IBM long
2621 double versions of fmodl, remainderl, erfl and erfcl.
2622
765714ca
AM
26232013-10-04 Alan Modra <amodra@gmail.com>
2624
2625 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2626 all uses of ieee854 long double macros and unions. Simplify tests
2627 for long doubles that are fully specified by the high double.
2628 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2629 Likewise.
2630 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2631 Remove dead code too.
2632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2633 (__ieee754_ynl): Likewise.
2634 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2635 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2636 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2637 Remove dead code too.
2638 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2639 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2640 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2641 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2642 Simplify.
2643 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2644 Simplify.
2645 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2646 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2648 Comment on variable precision.
2649 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2650 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2651 Likewise.
2652 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2653 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2654 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2655 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2656 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2657
4ebd120c
AM
26582013-10-04 Alan Modra <amodra@gmail.com>
2659
2660 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2661 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2662 all uses of ieee854 long double macros and unions.
2663 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2664 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2665 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2666 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2667 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2668 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2669 Likewise.
2670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2671 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2672 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2673 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2674 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2675 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2676 Simplify sign and nan test too.
2677 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2678 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2679 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2680 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2681 Likewise.
2682 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2683 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2684 Likewise.
2685 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2686 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2687 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2688 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2689 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2691
1b6adf88
AM
26922013-10-04 Alan Modra <amodra@gmail.com>
2693
2694 * stdio-common/printf_size.c (__printf_size): Don't use
2695 union ieee854_long_double in fpnum union.
2696 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2697 signbit macro to retrieve sign from long double.
2698 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2699 retrieve sign from long double.
2700 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2701 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2702 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2703 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2704 * math/test-misc.c (main): Don't use union ieee854_long_double.
2705
4cf69995
AM
27062013-10-04 Alan Modra <amodra@gmail.com>
2707
2708 [BZ #15680]
2709 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2710 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2711 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2712 calculation. Remove unnecessary test for denormal exponent.
2713 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2714 Correct handling of denormals. Avoid undefined shift behaviour.
2715 Correct normalisation of low mantissa when low double is denormal.
2716 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2717 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2718 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2719 Correct normalisation of low mantissa. Test for overflow of high
2720 mantissa and normalise.
2721 (ldbl_nearbyint): Use more readable constant for two52.
2722 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2723 (__mpn_construct_long_double): Fix test for overflow of high
2724 mantissa and correct normalisation. Avoid undefined shift.
2725
9605ca6c
AM
27262013-10-04 Alan Modra <amodra@gmail.com>
2727
2728 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2729 (union ibm_extended_long_double): Define as an array of ieee754_double.
2730 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2731 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2732 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2733 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2735 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2736 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2737 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2738 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2739 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2740 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2741
975569d0
JM
27422013-10-03 Joseph Myers <joseph@codesourcery.com>
2743
d3d23756
JM
2744 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2745 page size instead of calling getpagesize.
2746
975569d0
JM
2747 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2748 (LOCFILE_ALIGN_MASK): Likewise.
2749 (LOCFILE_ALIGN_UP): Likewise.
2750 (LOCFILE_ALIGNED_P): Likewise.
2751 * locale/programs/ld-collate.c (collate_output): Use the new
2752 macros instead of __alignof__ (int32_t).
2753 * locale/weight.h (findidx): Likewise.
2754
b1fe1f2b
OB
27552013-10-03 Ondřej Bílka <neleai@seznam.cz>
2756
2757 [BZ #431]
2758 * manual/string.texi: Fix strncat and wcsncat.
2759
5f855e35
BM
27602013-10-03 Brooks Moses <bmoses@google.com>
2761
2762 [BZ #15915]
2763 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2764 * Makerules: ...here, and adjust associated comments.
2765
3cef6009
WN
27662013-10-02 Will Newton <will.newton@linaro.org>
2767
2768 * malloc/Makefile: Add tst-pvalloc.
2769 * malloc/tst-pvalloc.c: New file.
2770
7815420b
WN
27712013-10-02 Will Newton <will.newton@linaro.org>
2772
2773 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2774 improve test coverage.
2775
4868b204
WN
27762013-10-02 Will Newton <will.newton@linaro.org>
2777
2778 * malloc/Makefile: Add tst-posix_memalign.
2779 * malloc/tst-posix_memalign.c: New file.
2780
29c793b3
EB
27812013-10-01 Eric Blake <eblake@redhat.com>
2782
2783 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2784 Use __THROWNL rather than __THROW on static functions.
2785
fd967522
PM
27862013-09-30 Petr Machata <pmachata@redhat.com>
2787
2788 * elf/elf.h (R_AARCH64_ABS16): New macro.
2789 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2790 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2791 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2792 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2793 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2794 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2795 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2796 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2797 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2798 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2799 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2800 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2801 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2802 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2803 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2804 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2805 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2806 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2807 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2808 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2809 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2810 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2811 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2812 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2813 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2814 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2815 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2816 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2817 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2818 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2819 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2820 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2821 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2822 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2823 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2824 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2825 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2826 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2827 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2828 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2829 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2830 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2831 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2832 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2833 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2834 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2835 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2836 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2837 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2838 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2839 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2840 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2841 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2842 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2843 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2844 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2845 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2846 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2847 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2848 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2849 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2850 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2851 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2852 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2853 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2854 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2855 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2856 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2857 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2858 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2859 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2860 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2861 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2862 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2863 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2864 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2865 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2866 (R_AARCH64_TLSDESC_LDR): Likewise.
2867 (R_AARCH64_TLSDESC_ADD): Likewise.
2868 (R_AARCH64_TLSDESC_CALL): Likewise.
2869
b2179107
AS
28702013-09-30 Andreas Schwab <schwab@suse.de>
2871
2872 [BZ #15048]
2873 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2874 the nss database lookup.
2875 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2877
47f28d0a
MF
28782013-09-28 Mike Frysinger <vapier@gentoo.org>
2879
2880 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2881
28822013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2883
2884 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2885 ${Bash-specific parameter/pattern/string} parameter expansion.
2886 * sysdeps/unix/make-syscalls.sh: Likewise.
2887
f4518a17
KK
28882013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2889
2890 * sysdeps/sh/stackguard-macros.h: New file.
2891
dc1a95c7
OB
28922013-09-26 Ondřej Bílka <neleai@seznam.cz>
2893
2894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2895 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2896 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2897 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2898 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2899 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2900
5ebbff8f
AZ
29012013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2902
2903 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2904 Fix thread ID register.
2905
4fd2cf9f
JM
29062013-09-25 Joseph Myers <joseph@codesourcery.com>
2907
2908 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2909 [POSIX || UNIX98]: Require rather than permitting all symbols from
2910 <time.h>.
2911 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2912 element of struct sched_param.
2913 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2914 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2915 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2916 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2917 constant.
2918
12c22bc4
OL
29192013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2920
2921 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2922 argument calculation.
2923
a03d8ea7
JM
29242013-09-24 Joseph Myers <joseph@codesourcery.com>
2925
2926 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2927 Expect macro.
2928 [POSIX] (pthread_attr_t): Do not require type.
2929 [POSIX] (pthread_cond_t): Likewise.
2930 [POSIX] (pthread_condattr_t): Likewise.
2931 [POSIX] (pthread_key_t): Likewise.
2932 [POSIX] (pthread_mutex_t): Likewise.
2933 [POSIX] (pthread_mutexattr_t): Likewise.
2934 [POSIX] (pthread_once_t): Likewise.
2935 [POSIX] (pthread_t): Likewise.
2936 [POSIX-based standards] (pthread_atfork): Expect function.
2937
6055173a
JM
29382013-09-24 Joseph Myers <joseph@codesourcery.com>
2939 Richard Sandiford <richard@codesourcery.com>
2940
2941 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2942 (swap_endianness_p): New extern variable.
2943 (set_big_endian): New inline function.
2944 (maybe_swap_uint32): Likewise.
2945 (maybe_swap_uint32_array): Likewise.
2946 (maybe_swap_uint32_obstack): Likewise.
2947 * locale/programs/locfile.c: Include <stdbool.h>.
2948 (swap_endianness_p): New variable.
2949 (add_locale_uint32): Call maybe_swap_uint32.
2950 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2951 (write_locale_data): Call maybe_swap_uint32_array.
2952 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2953 maybe_swap_uint32.
2954 (obstack_int32_grow_fast): Likewise.
2955 (output_weightwc): Call maybe_swap_uint32_obstack.
2956 (collate_output): Likewise.
2957 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2958 (OPT_LITTLE_ENDIAN): Likewise.
2959 (options): Add --little-endian and --big-endian options.
2960 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2961 * locale/programs/locarchive.c: Include "locfile.h".
2962 (GET): New macro.
2963 (SET): Likewise.
2964 (INC): Likewise.
2965 (create_archive): Use the new macros to access fields of
2966 structures directly mapped from or written to locale archives.
2967 (oldlocrecentcmp): Likewise.
2968 (enlarge_archive): Likewise.
2969 (insert_name): Likewise.
2970 (add_alias): Likewise.
2971 (add_locale): Likewise.
2972 (delete_locales_from_archive): Likewise.
2973 (show_archive_content): Likewise.
2974 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2975 locale data.
2976
39bf0bb4
RM
29772013-09-24 Roland McGrath <roland@hack.frob.com>
2978
2979 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2980 http://www.gnu.org/doc/freemanuals.texi.
2981 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2982
f02eed10
WN
29832013-09-24 Will Newton <will.newton@linaro.org>
2984
2985 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2986 macro.
2987
a3a6c312
JM
29882013-09-23 Joseph Myers <joseph@codesourcery.com>
2989
2990 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2991 unsigned char.
2992
107375ac
MR
29932013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2994
2995 * manual/threads.texi (POSIX Threads): Fix a typo.
2996
141f3a77
SP
29972013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2998
303e567a
SP
2999 [BZ #14547]
3000 * string/tst-strcoll-overflow.c: New test case.
3001 * string/Makefile (xtests): Add tst-strcoll-overflow.
3002 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3003 cache if string sizes may cause integer overflow.
3004
141f3a77
SP
3005 [BZ #14547]
3006 * string/strcoll_l.c (coll_seq): New members rule, idx,
3007 save_idx and back_us.
3008 (get_next_seq_nocache): New function.
3009 (do_compare_nocache): New function.
3010 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3011 when malloc fails.
3012
c61b4d41
CD
30132013-09-23 Carlos O'Donell <carlos@redhat.com>
3014
0b1f8e35
CD
3015 [BZ #15754]
3016 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3017 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3018 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3019
c61b4d41
CD
3020 [BZ #15754]
3021 * elf/Makefile (tests): Add tst-ptrguard1.
3022 (tests-static): Add tst-ptrguard1-static.
3023 (tst-ptrguard1-ARGS): Define.
3024 (tst-ptrguard1-static-ARGS): Define.
3025 * elf/tst-ptrguard1.c: New file.
3026 * elf/tst-ptrguard1-static.c: New file.
3027 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3028 * sysdeps/i386/stackguard-macros.h: Likewise.
3029 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3030 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3031 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3032 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3033 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3034 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3035
30362013-09-23 Hector Marco <hecmargi@upv.es>
3037 Ismael Ripoll <iripoll@disca.upv.es>
3038 Carlos O'Donell <carlos@redhat.com>
3039
3040 [BZ #15754]
3041 * sysdeps/generic/stackguard-macros.h: Define
3042 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3043 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3044 Define __pointer_chk_guard_local.
3045 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3046 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3047
f5f4e7b4
VV
30482013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3049
3050 [BZ #15859]
3051 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3052
5bb43a43
AS
30532013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3054
3055 * include/string.h (__ffs): Declare as hidden.
3056 * string/ffs.c (__ffs): Define as hidden.
3057 * sysdeps/i386/ffs.c (__ffs): Likewise.
3058 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3059 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3060 * sysdeps/s390/ffs.c (__ffs): Likewise.
3061 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3062
3ea5be54
AO
30632013-09-20 Alexandre Oliva <aoliva@redhat.com>
3064
ffb89e53
AO
3065 * NEWS: Mention malloc probes.
3066
322dea08
AO
3067 * malloc/arena.c (new_heap): New memory_heap_new probe.
3068 (grow_heap): New memory_heap_more probe.
3069 (shrink_heap): New memory_heap_less probe.
3070 (heap_trim): New memory_heap_free probe.
3071 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3072 (systrim): New memory_sbrk_less probe.
3073 * manual/probes.texi: Document them.
3074
655673f3
AO
3075 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3076 * manual/probes.texi: Document it.
3077
35fed6f1
AO
3078 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3079 (__libc_realloc): Add memory_realloc_retry probe.
3080 (__libc_memalign): Add memory_memalign_retry probe.
3081 (__libc_valloc): Add memory_valloc_retry probe.
3082 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3083 (__libc_calloc): Add memory_calloc_retry probe.
3084 * manual/probes.texi: Document them.
3085
6999d38c
AO
3086 * malloc/arena.c (get_free_list): Add probe
3087 memory_arena_reuse_free_list.
3088 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3089 and memory_arena_reuse.
3090 (arena_get2) [!PER_THREAD]: Likewise.
3091 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3092 memory_arena_reuse_realloc.
3093 * manual/probes.texi: Document them.
3094
0653427f
AO
3095 * malloc/malloc.c (__libc_free): Add
3096 memory_mallopt_free_dyn_thresholds probe.
3097 (__libc_mallopt): Add multiple memory_mallopt probes.
3098 * manual/probes.texi: Document them.
3099
3ea5be54
AO
3100 * malloc/malloc.c: Include stap-probe.h.
3101 (__libc_mallopt): Add memory_mallopt probe.
3102 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3103 * manual/probes.texi: New.
3104 * manual/Makefile (chapters): Add probes.
3105 * manual/threads.texi: Set next node.
3106
e35696c3 31072013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3108
e35696c3
CL
3109 [BZ #15963, #13985]
3110 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3111 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3112 Add `Chinese' to `nan' entry name.
3113
4aafb73c
SP
31142013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3115
3116 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3117 (POLYNOMIAL): Likewise.
3118 (TAYLOR_SINCOS): Likewise.
3119 (TAYLOR_SLOW): Likewise.
3120 (__sin): Use TAYLOR_SINCOS.
3121 (__cos): Likewise.
3122 (slow): Use TAYLOR_SLOW.
3123 (sloww): Likewise.
3124 (bsloww): Likewise.
3125 (csloww): Likewise.
3126
d84f25c7
LD
31272013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3128
3129 * stdlib/strtod_l.c: Fix buffer overrun.
3130
5eea0404
SP
31312013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3132
7849ff93
SP
3133 * benchtests/Makefile (bench): Add sincos.
3134 * benchtests/bench-sincos.c: New file.
3135
cfa3c886
SP
3136 * math/libm-test.inc (cos_test_data): New test inputs.
3137 (sin_test_data): Likewise.
3138
b348e1e3
SP
3139 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3140 macro.
3141 (__sin): Use it.
3142 (__cos): Likewise.
3143 (slow1): Likewise.
3144 (slow2): Likewise.
3145 (sloww1): Likewise.
3146 (sloww2): Likewise.
3147 (bsloww1): Likewise.
3148 (bsloww2): Likewise.
3149 (cslow2): Likewise.
3150 (csloww1): Likewise.
3151 (csloww2): Likewise.
3152
6cce25f8
SP
3153 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3154 function.
3155 (__sin): Use it.
3156 (__cos): Likewise.
3157
5eea0404
SP
3158 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3159 gotos.
3160 (__cos): Likewise.
3161
9c21573c
MR
31622013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3163
3164 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3165 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3166 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3167 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3168 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3169 * elf/cache.c (print_entry): Handle the new cache flags.
3170
24d22e65
JM
31712013-09-18 Joseph Myers <joseph@codesourcery.com>
3172 Aldy Hernandez <aldyh@redhat.com>
3173
3174 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3175 Change condition to [_SOFT_FLOAT].
3176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3188 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3191 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3192 declaration.
3193
d13ef066
JM
31942013-09-18 Joseph Myers <joseph@codesourcery.com>
3195
2e071de0
JM
3196 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3197 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3198 (__longjmp): Use LOAD_GP to load saved GPRs.
3199 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3200 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3201 (__sigsetjmp): Use SAVE_GP to save GPRs.
3202
d13ef066
JM
3203 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3204 Do not append -msoft-float.
3205 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3206
97a0650b
SP
32072013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3208
3209 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3210
11ca09e9
JM
32112013-09-17 Joseph Myers <joseph@codesourcery.com>
3212
3213 [BZ #15966]
3214 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3215 (_FPU_GETCW): Use initial "__" on variable and field names but not
3216 on macro parameter name.
3217 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3218 parentheses around reference to macro parameter.
3219
08ffcf34
RS
32202013-09-13 Richard Sandiford <richard@codesourcery.com>
3221
3222 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3223 prototype.
3224 (ctype_startup): Use uint32_t in cast and sizeof for
3225 ctype->charnames.
3226
ae7080d3
JL
32272013-09-11 Jia Liu <proljc@gmail.com>
3228
3229 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3230 __daddr_t_defined.
3231 [__FreeBSD__]: Likewise.
3232
5905e7b3
OB
32332013-09-11 Ondřej Bílka <neleai@seznam.cz>
3234
3235 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3236 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3237 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3238 (strchr): Remove __strchr_sse42 ifunc selection.
3239 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3240 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3241
b987c776
WN
32422013-09-11 Will Newton <will.newton@linaro.org>
3243
3244 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3245 parameter to RES. Remove hardcoded 1000 value.
3246 * benchtests/bench-skeleton.c (main): Pass RES parameter
3247 to TIMING_INIT and multiply result by 1000.
3248
ddf985af
AZ
32492013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3250
3251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3252
ffdd3181
AS
32532013-09-11 Andreas Schwab <schwab@suse.de>
3254
3255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3256 if not defined.
3257 (O_TMPFILE) [__USE_GNU]: Define.
3258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3259 Define.
3260
b73ed247
WN
32612013-09-11 Will Newton <will.newton@linaro.org>
3262
3263 [BZ #15857]
3264 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3265 does not overflow.
3266
55e17aad
WN
32672013-09-11 Will Newton <will.newton@linaro.org>
3268
3269 [BZ #15856]
3270 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3271 does not overflow.
3272
1159a193
WN
32732013-09-11 Will Newton <will.newton@linaro.org>
3274
3275 [BZ #15855]
3276 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3277 does not overflow.
3278
5905e7b3 32792013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3280
3281 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3282 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3283 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3284 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3285 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3286
cdfc721b
AM
32872013-09-10 Allan McRae <allan@archlinux.org>
3288
aa04af00
AM
3289 [BZ #15748]
3290 * manual/arith.texi (Parsing of Floats): Clarify
3291 cross-reference.
3292
cdfc721b
AM
3293 [BZ #15849]
3294 * manual/install.texi (Running make install): Mention
3295 --enable-pt-chown.
3296 * INSTALL: Regenerated.
3297
95e7cf29
MR
32982013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3299
3300 * csu/init-first.c (_init): Remove the !SHARED condition around
3301 FPU control word initialization.
3302 * elf/dl-support.c (_dl_fpu_control): New variable.
3303 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3304 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3305 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3306 * math/test-fpucw-static.c: New file.
3307 * math/test-fpucw-ieee.c: New file.
3308 * math/test-fpucw-ieee-static.c: New file.
3309 * math/Makefile (tests): Add `test-fpucw-ieee' and
3310 `$(tests-static)'.
3311 (tests-static): New variable.
3312 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3313 dependency to...
3314 [($(build-shared),yes)]
3315 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3316 ... this.
3317 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3318 New dependency.
3319
83e43bf0
AM
33202013-09-09 Allan McRae <allan@archlinux.org>
3321
a9f5ce09
AM
3322 [BZ #15939]
3323 * manual/string.texi (Collation Functions): Fix typo in
3324 strcoll example.
3325 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3326
34829bc2
AM
3327 [BZ #15893]
3328 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3329
3932737d
AM
3330 [BZ #15892]
3331 * libio/memstream.c (open_memstream): Fix memory leak.
3332 * libio/wmemstream.c (open_wmemstream): Likewise.
3333
83e43bf0
AM
3334 [BZ #15895]
3335 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3336
0c66b8e9
WN
33372013-09-09 Will Newton <will.newton@linaro.org>
3338
3339 * malloc/Makefile: Add tst-realloc to tests.
3340 * malloc/tst-realloc.c: New file.
3341
f6b00fd1
AM
33422013-09-09 Allan McRae <allan@archlinux.org>
3343
3344 [BZ #15844]
3345 * COPYING: Update from GNU website to fix FSF address.
3346 * COPYING.LIB: Likewise.
3347
eec55e16
DM
33482013-09-06 David S. Miller <davem@davemloft.net>
3349
3350 * po/zh_TW.po: Update Chinese (traditional) translation from
3351 translation project.
3352
1ecbb381
RS
33532013-09-06 Richard Sandiford <richard@codesourcery.com>
3354 Joseph Myers <joseph@codesourcery.com>
3355
3356 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3357 "localeinfo.h".
3358 (obstack_chunk_alloc): New macro.
3359 (obstack_chunk_free): Likewise.
3360 (record_offset): New function.
3361 (init_locale_data): Likewise.
3362 (align_locale_data): Likewise.
3363 (add_locale_empty): Likewise.
3364 (add_locale_raw_data): Likewise.
3365 (add_locale_raw_obstack): Likewise.
3366 (add_locale_string): Likewise.
3367 (add_locale_wstring): Likewise.
3368 (add_locale_uint32): Likewise.
3369 (add_locale_uint32_array): Likewise.
3370 (add_locale_char): Likewise.
3371 (start_locale_structure): Likewise.
3372 (end_locale_structure): Likewise.
3373 (start_locale_prelude): Likewise.
3374 (end_locale_prelude): Likewise.
3375 (write_locale_data): Take locale_file structure rather than an
3376 iovec.
3377 * locale/programs/locfile.h: Include "obstack.h".
3378 (struct locale_file): Change to store locale file contents instead
3379 of header.
3380 (init_locale_data): New prototype.
3381 (align_locale_data): Likewise.
3382 (add_locale_empty): Likewise.
3383 (add_locale_raw_data): Likewise.
3384 (add_locale_raw_obstack): Likewise.
3385 (add_locale_string): Likewise.
3386 (add_locale_wstring): Likewise.
3387 (add_locale_uint32): Likewise.
3388 (add_locale_uint32_array): Likewise.
3389 (add_locale_char): Likewise.
3390 (start_locale_structure): Likewise.
3391 (end_locale_structure): Likewise.
3392 (start_locale_prelude): Likewise.
3393 (end_locale_prelude): Likewise.
3394 (write_locale_data): Update prototype.
3395 * locale/programs/3level.h (struct TABLE): Remove result field.
3396 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3397 Use new locale_file interface.
3398 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3399 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3400 * locale/programs/ld-address.c (address_output): Use new
3401 locale_file interface.
3402 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3403 NO_ADD_LOCALE.
3404 (collate_finish): Don't call collseq_table_finalize.
3405 (collate_output): Use new locale_file interface.
3406 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3407 in file.
3408 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3409 (TABLE): Move defines earlier in file.
3410 (ELEMENT): Likewise.
3411 (DEFAULT): Likewise.
3412 (wctrans_table_add): Move macro and inline function earlier in
3413 file.
3414 (struct wctype_table): Move type earlier in file.
3415 (add_locale_wctype_table): New static prototype.
3416 (struct locale_ctype_t): Use logical types instead of struct iovec
3417 pointers for members.
3418 (ctype_output): Use new locale_file interface.
3419 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3420 new locale_file interface.
3421 (allocate_arrays): Update for use of new locale_file interface.
3422 * locale/programs/ld-identification.c (identification_output): Use
3423 new locale_file interface.
3424 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3425 * locale/programs/ld-messages.c (messages_output): Likewise.
3426 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3427 * locale/programs/ld-name.c (name_output): Likewise.
3428 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3429 * locale/programs/ld-paper.c (paper_output): Likewise.
3430 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3431 * locale/programs/ld-time.c (time_output): Likewise.
3432
e029e2e5
AZ
34332013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3434
3435 * benchtests/Makefile: Add memrchr benchmark.
3436 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3437 benchmark as memrchr.
3438 * benchtests/bench-memrchr-ifunc.c: New file.
3439 * benchtests/bench-memrchr.c: New file.
3440
bbf6e8e4
WN
34412013-09-06 Will Newton <will.newton@linaro.org>
3442
3443 * benchtests/Makefile (string-bench): Add memcpy.
3444
6c82a2f8
CD
34452013-09-05 Carlos O'Donell <carlos@redhat.com>
3446 Cong Wang <amwang@redhat.com>
3447
3448 * sysdeps/unix/sysv/linux/bits/in.h
3449 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3450 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3451 before __USE_KERNEL_IPV6_DEFS uses.
3452 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3453 IPPROTO_BEETPH.
3454 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3455 sockaddr_in6, or ipv6_mreq.
3456
5430fc65
AZ
34572013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3458
3459 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3460 memory access for final bytes in some large inputs.
3461 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3462
4660856c
AZ
34632013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3464
3465 * string/test-memrchr.c: New file.
3466 * string/test-memrchr-ifunc.c: New file.
3467 * string/Makefile: Add new memrchr testcase.
3468
bb8ea713
MF
34692013-09-05 Mike Frysinger <vapier@gentoo.org>
3470
3471 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3472 fanotify_init returns EPERM.
3473
b92a20b5
JM
34742013-09-04 Joseph Myers <joseph@codesourcery.com>
3475
3476 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3477 errors.
3478 (top level): Treat second token from macro or constant entries for
3479 allowed headers as allowed.
3480 * include/complex.h: Condition internal declarations on
3481 [!_ISOMAC].
3482 * include/fenv.h: Condition include of <stdbool.h> and internal
3483 declarations on [!_ISOMAC].
7447ccd9
CL
3484
34852013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3486
3e181dda 3487 [BZ #15923]
7447ccd9
CL
3488 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3489
3f2e46a4
JM
34902013-09-04 Joseph Myers <joseph@codesourcery.com>
3491
3492 * configure.in (--enable-versioning): Remove configure option.
3493 (libc_cv_asm_symver_directive): Remove configure test.
3494 (libc_cv_ld_version_script_option): Likewise.
3495 (VERSIONING): Remove variable and AC_SUBST.
3496 (DO_VERSIONING): Remove AC_DEFINE.
3497 * configure: Regenerated.
3498 * config.h.in (DO_VERSIONING): Remove macro.
3499 * Makerules [$(versioning) = yes]: Change conditionals to
3500 [$(build-shared) = yes].
3501 * config.make.in (versioning): Remove variable.
3502 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3503 [$(build-shared) = yes].
3504 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3505 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3506 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3507 [$(build-shared) = yes].
3508 * extra-lib.mk [$(versioning) = yes]: Likewise.
3509 * hurd/Makefile [$(versioning) = yes]: Likewise.
3510 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3511 [SHARED].
3512 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3513 [SHARED].
3514 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3515 [SHARED && !NO_HIDDEN].
3516 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3517 [SHARED].
3518 [SHARED && DO_VERSIONING]: Likewise..
3519 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3520 [$(build-shared) = yes].
3521 * manual/install.texi (--disable-versioning): Remove
3522 documentation.
3523 * INSTALL: Regenerated.
3524 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3525 to [SHARED].
3526 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3527 [$(build-shared) = yes].
3528 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3529 * sysdeps/i386/i686/multiarch/strstr-c.c
3530 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3531 [SHARED && !NO_HIDDEN].
3532 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3533 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3534 * sysdeps/powerpc/powerpc32/dl-machine.c
3535 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3536 * sysdeps/powerpc/powerpc32/sysdep.h
3537 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3538 to [SHARED && PIC && !NO_HIDDEN].
3539 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3540 conditional to [SHARED].
3541
44558701
WN
35422013-09-04 Will Newton <will.newton@linaro.org>
3543
3544 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3545 * benchtests/bench-string.h: Include bench-timing.h instead
3546 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3547 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3548 call to HP_TIMING_DIFF_INIT.
3549 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3550 instead of hp-timing.h macros.
3551 * benchtests/bench-memchr.c: Likewise.
3552 * benchtests/bench-memcmp.c: Likewise.
3553 * benchtests/bench-memcpy.c: Likewise.
3554 * benchtests/bench-memmem.c: Likewise.
3555 * benchtests/bench-memmove.c: Likewise.
3556 * benchtests/bench-memset.c: Likewise.
3557 * benchtests/bench-rawmemchr.c: Likewise.
3558 * benchtests/bench-strcasecmp.c: Likewise.
3559 * benchtests/bench-strcasestr.c: Likewise.
3560 * benchtests/bench-strcat.c: Likewise.
3561 * benchtests/bench-strchr.c: Likewise.
3562 * benchtests/bench-strcmp.c: Likewise.
3563 * benchtests/bench-strcpy.c: Likewise.
3564 * benchtests/bench-strcpy_chk.c: Likewise.
3565 * benchtests/bench-strlen.c: Likewise.
3566 * benchtests/bench-strncasecmp.c: Likewise.
3567 * benchtests/bench-strncat.c: Likewise.
3568 * benchtests/bench-strncmp.c: Likewise.
3569 * benchtests/bench-strncpy.c: Likewise.
3570 * benchtests/bench-strnlen.c: Likewise.
3571 * benchtests/bench-strpbrk.c: Likewise.
3572 * benchtests/bench-strrchr.c: Likewise.
3573 * benchtests/bench-strspn.c: Likewise.
3574 * benchtests/bench-strstr.c: Likewise.
3575
cae16d66
WN
35762013-09-04 Will Newton <will.newton@linaro.org>
3577
3578 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3579
ffa3cd7f
JM
35802013-09-03 Joseph Myers <joseph@codesourcery.com>
3581
3582 [BZ #15427]
3583 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3584 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3585 * math/libm-test.inc (lgamma_test_data): Add more tests.
3586 * sysdeps/i386/fpu/libm-test-ulps: Update.
3587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3588
8f02859f
OB
35892013-09-03 Ondřej Bílka <neleai@seznam.cz>
3590
3591 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3593 Add ifunc.
3594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3595 Add strcmp-sse2-unaligned
3596 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3597
18d43716
MF
35982013-09-02 Mike Frysinger <vapier@gentoo.org>
3599
3600 * Versions.def (libc): Add GLIBC_2.19.
3601
ac444012
MF
36022013-09-02 Mike Frysinger <vapier@gentoo.org>
3603
3604 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3605 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3606
b7835e32
JM
36072013-09-02 Joseph Myers <joseph@codesourcery.com>
3608
3609 [BZ #14155]
3610 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3611 intermediate calculations in recurrence.
3612 (__ieee754_ynf): Likewise.
3613 * math/libm-test.inc (jn_test_data): Do not allow spurious
3614 underflow exception. Add more tests.
3615 (yn_test_data): Add more tests.
3616 * sysdeps/i386/fpu/libm-test-ulps: Update.
3617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3618
8220f4f0
OB
36192013-09-02 Ondřej Bílka <neleai@seznam.cz>
3620
3621 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3622
f24a6d08
OB
36232013-08-30 Ondřej Bílka <neleai@seznam.cz>
3624
3625 * csu/init-first.c: Fix then/than typos.
3626 * locale/programs/ld-collate.c: Likewise.
3627 * locale/programs/linereader.h: Likewise.
3628 * manual/charset.texi: Likewise.
3629 * manual/filesys.texi: Likewise.
3630 * manual/stdio.texi: Likewise.
3631 * manual/string.texi: Likewise.
3632 * stdlib/fmtmsg.c: Likewise.
3633 * sysdeps/i386/stpncpy.S: Likewise.
3634 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3635 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3636 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3637 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3638
382466e0
OB
36392013-08-30 Ondřej Bílka <neleai@seznam.cz>
3640
3641 * elf/dl-open.c: Fix typos.
3642 * iconvdata/gbbig5.c: Likewise.
3643 * iconvdata/iso-2022-jp.c: Likewise.
3644 * iconv/gconv_int.h: Likewise.
3645 * iconv/loop.c: Likewise.
3646 * nis/rpcsvc/nis.h: Likewise.
3647 * resolv/ns_name.c: Likewise.
3648 * stdio-common/vfscanf.c: Likewise.
3649 * streams/stropts.h: Likewise.
3650 * sunrpc/rpc_thread.c: Likewise.
3651 * sysdeps/i386/strpbrk.S: Likewise.
3652 * sysdeps/ieee754/k_standard.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3655 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3656 * sysdeps/mach/hurd/profil.c: Likewise.
3657 * sysdeps/s390/dl-procinfo.h: Likewise.
3658 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3659 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3660 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3661 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3662 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3663
0186c6e9
OB
36642013-08-30 Ondřej Bílka <neleai@seznam.cz>
3665
3666 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3667 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3668
d4e16af1
OB
36692013-08-29 Ondřej Bílka <neleai@seznam.cz>
3670
3671 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3672 aix specific files.
3673 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3674 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3675 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3676 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3677 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3678 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3679 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3680 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3681
88335980
TS
36822013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3683 Roland McGrath <roland@hack.frob.com>
3684
3685 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3686 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3687
ed479b02
ST
36882013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3689
3690 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3691 __executable_start symbol instead of _start.
3692
f1cc4c86
TS
36932013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3694
d821f07c
TS
3695 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3696 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3697 Move macros to...
3698 * sysdeps/gnu/ldsodefs.h: ... this new file.
3699
c54290cf
TS
3700 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3701 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3702 instead of ELFOSABI_LINUX.
3703
0007fc9b 3704 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3705 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3706 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3707 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3708 Likewise.
3709 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3710 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3711 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3712 Likewise.
3713 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3714 (ibm_extended_long_double): Add ieee_nan member.
3715 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3716 (do_test): New function.
3717
f1cc4c86
TS
3718 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3719 TEST_TRUNC.
3720 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3721 functions, renamed from truncdfsf_test, trunctfsf_test,
3722 trunctfdf_test.
3723 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3724 functions.
3725 (do_test): Run all these.
3726
6f65e668
OB
37272013-08-29 Ondřej Bílka <neleai@seznam.cz>
3728
3729 * argp/argp-help.c: Fix typos.
3730 * argp/argp-parse.c: Likewise.
3731 * debug/backtracesyms.c: Likewise.
3732 * elf/elf.h: Likewise.
3733 * malloc/malloc.c: Likewise.
3734 * nis/nis_print.c: Likewise.
3735 * resolv/res_comp.c: Likewise.
3736 * stdlib/stdlib.h: Likewise.
3737 * sunrpc/clnt_tcp.c: Likewise.
3738 * sunrpc/clnt_udp.c: Likewise.
3739 * sunrpc/clnt_unix.c: Likewise.
3740 * sysdeps/unix/bsd/ptsname.c: Likewise.
3741 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3742 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3744 Likewise.
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3746 Likewise.
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3748 Likewise.
6f65e668
OB
3749 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3750
3a309239
SP
37512013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3752
3753 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3755
3b813b29
MF
37562013-08-27 Mike Frysinger <vapier@gentoo.org>
3757
3758 [BZ #15897]
3759 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3760 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3761 ($(objpfx)bug-dl-leaf): New rule.
3762 ($(objpfx)bug-dl-leaf.so): Likewise.
3763 ($(objpfx)bug-dl-leaf.out): Likewise.
3764 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3765 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3766 * dlfcn/bug-dl-leaf.c: New test.
3767 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3768 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3769 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3770 (dlclose): Likewise.
3771 (dlmopen): Likewise.
3772
8cc3269f
RM
37732013-08-27 Roland McGrath <roland@hack.frob.com>
3774
7f9d0034
RM
3775 * include/netdb.h [!_ISOMAC]:
3776 Don't include <tls.h>.
3777 (h_errno, __libc_h_errno): Move declaration and macros out of
3778 [_LIBC_REENTRANT].
3779
fb431262
RM
3780 * include/resolv.h [_RESOLV_H_]:
3781 Don't include <tls.h>.
3782 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3783 * resolv/res_libc.c: Don't include <tls.h>.
3784 (_res): Use __attribute__ ((nocommon)) in place of
3785 __attribute__ ((section (".bss"))).
3786
bd81123a
RM
3787 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3788 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3789
c4e42566
RM
3790 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3791
f890a59b
RM
3792 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3793 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3794
3795 * resolv/res_mkquery.c: Include <sys/time.h>.
3796
5d1f0a09
RM
3797 * inet/ifreq.c: Moved to ...
3798 * sysdeps/unix/ifreq.c: ... here.
3799 * inet/ifreq.c: New file, true stub version.
3800
6fcf28b3
RM
3801 * socket/sa_len.c: New file.
3802 * socket/Makefile (aux): Add it.
3803 * sysdeps/unix/sysv/linux/Makefile
3804 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3805 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3806 and #include <socket/sa_len.c>.
3807 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3808 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3809
e041fb8b
RM
3810 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3811 * bits/socket.h: ... here.
3812
8cc3269f
RM
3813 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3814 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3815 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3816
5d228a43
AS
38172013-08-27 Andreas Schwab <schwab@suse.de>
3818
45b8accc
AS
3819 [BZ #15736]
3820 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3821 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3822 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3823 * string/test-strcasecmp.c (test_main): Run tests in several
3824 locales.
3825 * string/test-strncasecmp.c (test_main): Likewise.
3826
5d228a43
AS
3827 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3828 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3829 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3830 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3831 (__strncasecmp_ssse3) [PIC]: Likewise.
3832
59d112a4
RM
38332013-08-26 Roland McGrath <roland@hack.frob.com>
3834
53234cc3
RM
3835 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3836
59d112a4
RM
3837 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3838 instead of explicitly declaring xdecrypt.
3839 * nis/nss_nis/nis-publickey.c: Likewise.
3840
595aba70
SP
38412013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3842
3843 [BZ #15890]
3844 * nscd/aicache.c: Include res_hconf.h.
3845 (addhstaiX): Initialize res_hconf.
3846
ffabd393
AS
38472013-08-26 Andreas Schwab <schwab@suse.de>
3848
3849 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3850 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3851
e0a69f5c
SP
38522013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3853
3854 * nscd/aicache.c (addhstaiX): Fix indentation.
3855
8c12f01d
MF
38562013-08-25 Mike Frysinger <vapier@gentoo.org>
3857
3858 * configure.ac: Quote $build_pt_chown test.
3859 * configure: Regenerated.
3860
8fe89494
JM
38612013-08-23 Joseph Myers <joseph@codesourcery.com>
3862
3863 [BZ #15532]
3864 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3865 * math/s_cexpf.c (__cexpf): Likewise.
3866 * math/s_cexpl.c (__cexpl): Likewise.
3867 * math/libm-test.inc (cexp_test_data): Correct expected return
3868 value for NaN + i0. Add another test.
3869
75b181d6
DM
38702013-08-22 David S. Miller <davem@davemloft.net>
3871
3872 * po/ca.po: Update Catalan translation from translation project.
936241e4 3873 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3874
acd06bb1
JM
38752013-08-21 Joseph Myers <joseph@codesourcery.com>
3876
3877 [BZ #15797]
3878 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3879 is infinite, not alongside NaN test.
3880 * math/s_fdimf.c (__fdimf): Likewise.
3881 * math/s_fdiml.c (__fdiml): Likewise.
3882 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3883 errno is unchanged.
3884
c0c3f78a
OB
38852013-08-21 Ondřej Bílka <neleai@seznam.cz>
3886
3887 * argp/argp-help.c: Fix typos.
3888 * crypt/speeds.c: Likewise.
3889 * csu/check_fds.c: Likewise.
3890 * elf/dl-load.c: Likewise.
3891 * elf/dl-open.c: Likewise.
3892 * elf/reldep3.c: Likewise.
3893 * elf/reldep.c: Likewise.
3894 * elf/sprof.c: Likewise.
3895 * iconv/iconv_charmap.c: Likewise.
3896 * iconv/skeleton.c: Likewise.
3897 * iconv/strtab.c: Likewise.
3898 * io/lockf64.c: Likewise.
3899 * libio/libioP.h: Likewise.
3900 * resolv/gai_notify.c: Likewise.
3901 * resolv/ns_name.c: Likewise.
3902 * resolv/ns_samedomain.c: Likewise.
3903 * resolv/res_send.c: Likewise.
3904 * stdlib/random.c: Likewise.
3905 * sunrpc/rpc/xdr.h: Likewise.
3906 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3907 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3908 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3909 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3910 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3911 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3913 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3914 * sysdeps/mach/hurd/check_fds.c: Likewise.
3915 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3917 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3918 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3919 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3921 * sysdeps/pthread/aio_notify.c: Likewise.
3922 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3923 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3924 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3925 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3926 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3927
46ed1038
LD
39282013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3929
3930 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3931 version if bit_Slow_SSE4_2 is set.
3932 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3933 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3934
d400dcac
AZ
39352013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3936
3937 [BZ #15867]
3938 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3939 trampoline stack frame information.
3940 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3941 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3942 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3943 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3944 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3945 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3946 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3947 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3948 sa_flags value.
3949 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3950 interrupting a syscall and set with option SA_SIGINFO.
3951
42c8fdd8
JM
39522013-08-20 Joseph Myers <joseph@codesourcery.com>
3953
c980f2f4
JM
3954 [BZ #15531]
3955 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3956 argument is infinite.
3957 * math/s_cprojf.c (__cprojf): Likewise.
3958 * math/s_cprojl.c (__cprojl): Likewise.
3959 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3960 * math/libm-test.inc (cproj_test_data): Add more tests.
3961
0716c4fc
JM
3962 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3963
42c8fdd8
JM
3964 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3965 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3966 size. Use __ffs to determine corresponding shift.
3967
b31469d0
JM
39682013-08-20 Joseph Myers <joseph@codesourcery.com>
3969 Roland McGrath <roland@hack.frob.com>
3970
3971 * Makefile (INSTALL): Remove trailing blank lines from output of
3972 makeinfo.
3973
4e39af6e
AK
39742013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3975
3976 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3977 Align 32 bit compat elf_greg to 8 bytes.
3978
f315524e
AA
39792013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3980
3981 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3982
1326ba1a
SP
39832013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3984
3985 * string/strcoll_l.c (coll_seq): New structure.
3986 (get_next_seq_cached): New function.
3987 (get_next_seq): New function.
3988 (do_compare): New function.
3989 (STRCOLL): Use GNU style definition. Simplify implementation
3990 by using get_next_seq, get_next_seq_cached and do_compare.
3991
91ce4085
FW
39922013-08-16 Florian Weimer <fweimer@redhat.com>
3993
3994 [BZ #14699]
3995 CVE-2013-4237
3996 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3997 member.
3998 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3999 member.
4000 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4001 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4002 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4003 conditional.
4004 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4005 GETDENTS_64BIT_ALIGNED.
4006 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4007 * manual/filesys.texi (Reading/Closing Directory): Document
4008 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4009 strongly.
4010 * manual/conf.texi (Limits for Files): Add portability note to
4011 NAME_MAX, PATH_MAX.
4012 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4013
ca0a6bc4
AS
40142013-08-13 Andreas Schwab <schwab@suse.de>
4015
4016 [BZ #15749]
4017 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4018 of fabs.
4019 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4020 LDBL_MAX_EXP >= 16384]: Add tests for it.
4021
6c1fd795
DM
40222013-08-12 David S. Miller <davem@davemloft.net>
4023
4024 * version.h (RELEASE): Set to "development".
4025 (VERSION): Set to "2.18.90".
4026 * NEWS: Add 2.19 section.
4027
31ad488d
DM
40282013-08-03 David S. Miller <davem@davemloft.net>
4029
4030 * po/ko.po: Update Korean translation from translation project.
4031
db24e684
DM
40322013-08-01 David S. Miller <davem@davemloft.net>
4033
4034 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4035 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4036 Bilka.
4037
f723285b
DM
40382013-07-30 David S. Miller <davem@davemloft.net>
4039
4040 * po/fr.po: Update French translation from translation project.
4041
3cbc52db
DM
40422013-07-28 David S. Miller <davem@davemloft.net>
4043
30bbc0cc
DM
4044 * po/cs.po: Update Czech translation from translation project.
4045
3cbc52db
DM
4046 * po/sv.po: Update Swedish translation from translation project.
4047
d492e6d0
DM
40482013-07-27 David S. Miller <davem@davemloft.net>
4049
f1a7f492
DM
4050 * po/eo.po: Update Esperanto translation from translation project.
4051
90e62a4a
DM
4052 * po/vi.po: Update Vietnamese translation from translation project.
4053
d492e6d0
DM
4054 * po/de.po: Update German translation from translation project.
4055
d4baa62d
DM
40562013-07-26 David S. Miller <davem@davemloft.net>
4057
641aa7b4
DM
4058 * po/bg.po: Update Bulgarian translation from translation project.
4059
d4baa62d
DM
4060 * po/nl.po: Update Dutch translation from translation project.
4061 * po/pl.po: Update Polish translation from translation project.
4062 * po/ru.po: Update Russian translation from translation project.
4063
61a9dcb9
DM
40642013-07-24 David S. Miller <davem@davemloft.net>
4065
4066 * po/libc.pot: Update.
4067
7b1f8b58
AZ
40682013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4069
4070 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4071 variable page size.
4072 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4073 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4074 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4075
a8fc7a03
AK
40762013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4077
4078 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4079
e4608715
CD
40802013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4081 Andreas Schwab <schwab@suse.de>
4082 Roland McGrath <roland@hack.frob.com>
4083 Joseph Myers <joseph@codesourcery.com>
4084 Carlos O'Donell <carlos@redhat.com>
4085
4086 [BZ #15755]
4087 * config.h.in: Define HAVE_PT_CHOWN.
4088 * config.make.in (build-pt-chown): New variable.
4089 * configure.in (--enable-pt_chown): New configure option.
4090 * configure: Regenerate.
4091 * login/Makefile: Include Makeconfig. Build pt_chown only if
4092 build-pt-chown is enabled.
4093 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4094 pt_chown to fix pty ownership.
4095 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4096 CLOSE_ALL_FDS.
4097 * manual/install.texi (Configuring and compiling): Mention
4098 --enable-pt_chown. Add @findex for grantpt.
4099 * INSTALL: Regenerate.
4100
da2d62df
DM
41012013-07-20 David S. Miller <davem@davemloft.net>
4102
4103 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4104 difference between 32-bit and 64-bit.
4105
d7e06450
CD
41062013-07-15 Carlos O'Donell <carlos@redhat.com>
4107
4108 [BZ #15711]
4109 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4110 Avoid system header dependency with -ffreestanding.
4111 ($(objpfx)bits/syscall%d): Likewise.
4112
f959cfd7
DM
41132013-07-13 David S. Miller <davem@davemloft.net>
4114
4115 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4116 underflows from atanl/atan2l due to bug 15319.
4117 (casinh_test_data): Likewise.
4118
c61f8513
DM
41192013-07-07 David S. Miller <davem@davemloft.net>
4120
4121 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4122
72c90ed0
JA
41232013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4124
4125 * sysdeps/i386/fpu/libm-test-ulps: Update.
4126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4127
52dfbe13
SP
41282013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4129
4130 * configure.in (--enable-lock-elision): Fix message text.
4131 * INSTALL: Regenerate.
4132 * configure: Regenerate.
4133
3f169543
AZ
41342013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4135
4136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4137
521c6785
AJ
41382013-07-03 Andreas Jaeger <aj@suse.de>
4139
4140 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4141 define.
4142 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4143 (ptrace_peeksiginfo_args): Add.
4144 (__ptrace_peeksiginfo_flags): Add.
4145 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4146 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4147 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4148
d2cc15cb
AM
41492013-07-03 Allan McRae <allan@archlinux.org>
4150
4151 * sysdeps/i386/fpu/libm-test-ulps: Update.
4152
3aaeeca7
DM
41532013-07-02 David S. Miller <davem@davemloft.net>
4154
4155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4156
5314ed1a
MT
41572013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4158
4159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4160
67338156
JM
41612013-07-02 Joseph Myers <joseph@codesourcery.com>
4162
4163 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4165
1717da59
AK
41662013-07-02 Andi Kleen <ak@linux.intel.com>
4167
4168 * config.h.in (ENABLE_LOCK_ELISION): Add.
4169 * configure.in (--enable-lock-elision): Add option.
4170 * manual/install.texi: Document --enable lock elision.
4171 * configure: Regenerate
4172 * INSTALL: Regenerate.
4173
1c81621c
L
41742013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4175
4176 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4177 SSE4.2 strcasecmp for libc.a.
4178 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4179
77f01ab5
JM
41802013-07-02 Joseph Myers <joseph@codesourcery.com>
4181
4182 [BZ #13304]
4183 * soft-fp/op-common.h (_FP_FMA): New macro.
4184 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4185 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4186 (_FP_MUL_MEAT_1_imm): ... here.
4187 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4188 (_FP_MUL_MEAT_1_wide): ... here.
4189 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4190 (_FP_MUL_MEAT_1_hard): ... here.
4191 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4192 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4193 (_FP_MUL_MEAT_2_wide): ... here.
4194 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4195 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4196 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4197 (_FP_MUL_MEAT_2_gmp): ... here.
4198 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4199 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4200 (_FP_MUL_MEAT_4_wide): ... here.
4201 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4202 (_FP_MUL_MEAT_4_gmp): ... here.
4203 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4204 (_FP_WFRACBITS_DW_S): Likewise.
4205 (_FP_WFRACXBITS_DW_S): Likewise.
4206 (_FP_HIGHBIT_DW_S): Likewise.
4207 (FP_FMA_S): Likewise.
4208 (_FP_FRAC_HIGH_DW_S): Likewise.
4209 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4210 (_FP_WFRACBITS_DW_D): Likewise.
4211 (_FP_WFRACXBITS_DW_D): Likewise.
4212 (_FP_HIGHBIT_DW_D): Likewise.
4213 (FP_FMA_D): Likewise.
4214 (_FP_FRAC_HIGH_DW_D): Likewise.
4215 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4216 (_FP_WFRACBITS_DW_E): Likewise.
4217 (_FP_WFRACXBITS_DW_E): Likewise.
4218 (_FP_HIGHBIT_DW_E): Likewise.
4219 (FP_FMA_E): Likewise.
4220 (_FP_FRAC_HIGH_DW_E): Likewise.
4221 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4222 (_FP_WFRACBITS_DW_Q): Likewise.
4223 (_FP_WFRACXBITS_DW_Q): Likewise.
4224 (_FP_HIGHBIT_DW_Q): Likewise.
4225 (FP_FMA_Q): Likewise.
4226 (_FP_FRAC_HIGH_DW_Q): Likewise.
4227 * soft-fp/fmasf4.c: New file.
4228 * soft-fp/fmadf4.c: Likewise.
4229 * soft-fp/fmatf4.c: Likewise.
4230
6308fd9a
LD
42312013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4232
4233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4234 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4235 Silvermont.
4236 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4237 macro.
4238 (index_Slow_SSE4_2): Likewise.
4239 (index_Prefer_PMINUB_for_stringop): Likewise.
4240 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4241 bit_Slow_SSE4_2 is set.
4242 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4243 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4244
89cd9569
RA
42452013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4246
4247 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4248 rtld_global._dl_hwcap2.
4249 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4250 POWER8.
4251 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4252 POWER8 feature descriptions defined in _dl_hwcap2.
4253 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4254 string handling for POWER8 feature bits.
4255 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4256 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4257 _dl_powerpc_cap_flags.
4258 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4259 * sysdeps/powerpc/rtld-global-offsets.sym
4260 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4261 _dl_hwcap2 in the rtld_global_ro structure.
4262
1ae8bfe0
RA
42632013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4264
4265 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4266 hardware capabilities in support of AT_HWCAP2.
4267 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4268 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4269 GLRO(dl_hwcap2).
4270 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4271 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4272 explicitly the unknown a_type display mechanism is used.
4273 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4274 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4275 struct member.
4276 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4277 to macro prototype for AT_HWCAP2 support.
4278 * sysdeps/i386/dl-procinfo.h: Likewise.
4279 * sysdeps/s390/dl-procinfo.h: Likewise.
4280 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4281 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4282 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4283 return -1 for unknown a_type display fallback.
4284 * sysdeps/sparc/dl-procinfo.h: Likewise.
4285 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4286 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4287
8fbec010
JM
42882013-06-28 Joseph Myers <joseph@codesourcery.com>
4289
4290 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4291 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4292
0432680e
PY
42932013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4294
4295 [BZ #12492]
4296 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4297 mprotect making __stack_prot writable.
4298
ce61a2ad
NF
42992013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4300 Joseph Myers <joseph@codesourcery.com>
4301
4302 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4303 as being properly aligned.
4304
f91f1c0f
MR
43052013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4306
3d0f5d0c
MR
4307 * dlfcn/modstatic5.c: New file.
4308 * dlfcn/tststatic5.c: New file.
4309 * dlfcn/Makefile (tests): Add tststatic5.
4310 (tests-static): Likewise.
4311 (modules-names): Add modstatic5.
4312 (tststatic5-ENV): New variable.
4313 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4314
f91f1c0f
MR
4315 [BZ #15022]
4316 * elf/dl-support.c (_dl_main_map): New variable.
4317 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4318 (_dl_nns, _dl_load_adds): Set to 1.
4319 (_dl_initial_searchlist): Refer to _dl_main_map.
4320 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4321 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4322 call to _dl_get_origin.
4323 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4324 around call_map.
4325 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4326 * dlfcn/modstatic3.c: New file.
4327 * dlfcn/tststatic3.c: New file.
4328 * dlfcn/tststatic4.c: New file.
4329 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4330 (tests-static): Likewise.
4331 (modules-names): Add modstatic3.
4332 (tststatic3-ENV, tststatic4-ENV): New variables.
4333 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4334 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4335
cbe7d24b
JM
43362013-06-26 Joseph Myers <joseph@codesourcery.com>
4337
4338 * configure.in (CC): Require GCC version 4.4 or later.
4339 * configure: Regenerated.
4340 * manual/install.texi (Tools for Compilation): Update GCC version
4341 requirement.
4342 * INSTALL: Regenerated.
4343
11b8a0e1
LD
43442013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4345
4346 [BZ #15674]
bb5bb87c
L
4347 * string/test-memcmp.c (check2): New.
4348 (main): Call check2.
4349
11b8a0e1
LD
4350 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4351
b0037103
MR
43522013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4353
4354 [BZ #15022]
4355 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4356 over to...
4357 (dl_open_worker) [!SHARED]: ... here.
4358
c18c701d
RA
43592013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4360
4361 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4362
1d17fa5f
RH
43632013-06-25 Richard Henderson <rth@redhat.com>
4364
4365 * locale/programs/locarchive.c: Include <libc-internal.h>
4366
8fcb833a
JM
43672013-06-25 Joseph Myers <joseph@codesourcery.com>
4368
4369 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4370 trailing whitespace removed.
4371
17db6e8d
MF
43722013-06-24 Mike Frysinger <vapier@gentoo.org>
4373
4374 [BZ #10283]
17db6e8d
MF
4375 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4376 * locale/programs/locarchive.c: Include libc-mmap.h.
4377 (prepare_address_space): Take two new outputs (the mmap base and len).
4378 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4379 values.
4380 (create_archive): Declare new mmap base and len values for
4381 prepare_address_space, and store the result in ah.
4382 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4383 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4384 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4385 Declare new mmap base and len values for
4386 prepare_address_space, and store the result in new_ah.
4387 (open_archive): Declare new mmap base and len values for
4388 prepare_address_space, and store the result in ah.
4389 (close_archive): If ah->mmap_base is not NULL, use that and
4390 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4391 * sysdeps/generic/libc-mmap.h: New file.
4392
d605071e
MF
43932013-06-24 Mike Frysinger <vapier@gentoo.org>
4394
4395 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4396 (ALIGN_UP): Likewise.
4397 (PTR_ALIGN_DOWN): Likewise.
4398 (PTR_ALIGN_UP): Likewise.
4399
2f063a6e
RA
44002013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4401
4402 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4403 entry mapped to PPC_PLATFORM_POWER8.
4404 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4405 POWER8.
4406 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4407 (_dl_string_platform): Add case for exporting platform position for
4408 POWER8.
4409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4410 search path to sysdeps/powerpc/powerpc32/power8 directory.
4411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4412 search path to sysdeps/powerpc/powerpc64/power8 directory.
4413 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4414 power7 directories.
4415 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4416 power7 directories.
4417
a31ee4b3
SP
44182013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4419
a74ca98f
SP
4420 * INSTALL: Regenerate.
4421
a31ee4b3
SP
4422 * nscd/connections.c (nscd_init): Fix comment.
4423
695c378f
JM
44242013-06-22 Joseph Myers <joseph@codesourcery.com>
4425
d8412221
JM
4426 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4427
695c378f
JM
4428 [BZ #15667]
4429 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4430 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4431
d1d54715
MR
44322013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4433
4434 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4435 DL_DST_REQ_STATIC.
4436 (DL_DST_REQ_STATIC): Remove macro.
4437
8fdda7af
JM
44382013-06-21 Joseph Myers <joseph@codesourcery.com>
4439
4440 [BZ #7006]
4441 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4442 with a shift of 0 bits.
4443
f3bc5e5a
MR
44442013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4445
4446 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4447 $(tststatic-ENV).
4448
be09e8c9
KK
44492013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4450
4451 [BZ #15655]
4452 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4453
85c2e611
AZ
44542013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4455
4456 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4457 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4458 accepts -fno-tree-loop-distribute-patterns.
4459 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4460 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4461 recursive call.
4462 * string/memset.c (memset): Likewise.
4463 * string/test-memmove.c (simple_memmove): Disable loop transformation
4464 to library calls.
4465 * string/test-memset.c (simple_memset): Likewise.
4466 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4467 * benchtests/bench-memset.c (simple_memset): Likewise.
4468 * configure: Regenerated.
4469
c91e0825
JM
44702013-06-20 Joseph Myers <joseph@codesourcery.com>
4471
b8c792af
JM
4472 * math/test-misc.c (main): Ignore fesetround failure when failures
4473 of subsequent rounding tests would be ignored.
4474
c91e0825
JM
4475 [BZ #15654]
4476 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4477 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4478 * math/fegetenv.c (__fegetenv): Return 0.
4479 * math/fegetexcept.c (fegetexcept): Return 0.
4480 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4481 FE_TONEAREST.
4482 * math/feholdexcpt.c (feholdexcept): Return 0.
4483 * math/fesetenv.c (__fesetenv): Return 0.
4484 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4485 argument FE_TONEAREST.
4486 * math/feupdateenv.c (__feupdateenv): Return 0.
4487 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4488
bfcacbde
RM
44892013-06-18 Roland McGrath <roland@hack.frob.com>
4490
4491 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4492 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4493 ($(objpfx)rtld-%.os rules): Use them.
4494
e55a9b25
AZ
44952013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4496
4497 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4498 fields.
4499
346d65b3
RM
45002013-06-17 Roland McGrath <roland@hack.frob.com>
4501
12086fb4
RM
4502 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4503 length of target pattern, then descending length of dependency pattern.
4504 * configure.in (AWK): Require gawk 3.1.2 or newer.
4505 * manual/install.texi (Tools for Compilation): Say that we do.
4506 * configure: Regenerated.
4507
346d65b3
RM
4508 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4509 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4510 * scripts/sysd-rules.awk: ... this new script.
4511 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4512 than a glob-style pattern.
4513
1a846317
JM
45142013-06-17 Joseph Myers <joseph@codesourcery.com>
4515
4516 * math/test-misc.c (main): Do not treat incorrectly rounded
4517 conversions as failure unless ROUNDING_TESTS passes.
4518
8fc75e6f
JM
45192013-06-15 Joseph Myers <joseph@codesourcery.com>
4520
3711a167
JM
4521 [BZ #15631]
4522 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4523 restore exception state around main square root computation, then
4524 check for inexactness explicitly.
4525
8fc75e6f
JM
4526 * math/libm-test.inc (fma_test_data): Add another test.
4527
61dd6208
SP
45282013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4529
adf23d2c
SP
4530 * manual/threads.texi (Non-POSIX Extensions): New document
4531 node. Document pthread_getattr_default_np and
4532 pthread_setattr_default_np.
4533
61dd6208
SP
4534 * Versions.def (libpthread): Add GLIBC_2.18.
4535 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4537 Likewise.
4538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4539 Likewise.
4540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4541 Likewise.
4542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4543 Likewise.
4544 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4545 Likewise.
4546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4547 Likewise.
4548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4549 Likewise.
4550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4551 Likewise.
4552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4553 Likewise.
4554
d086fc7b
LD
45552013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4556
4557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4558 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4559
747ef469
SP
45602013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4561 H.J. Lu <hjl.tools@gmail.com>
4562
4563 [BZ #15627]
4564 * sysdeps/x86_64/rtld-memset.c: Remove file.
4565 * sysdeps/x86_64/rtld-memset.S: New file.
4566
1b2feed2
JM
45672013-06-14 Joseph Myers <joseph@codesourcery.com>
4568
4569 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4570 (test_in_one_mode): Take arguments for whether the rounding mode
4571 is supported for each floating-point type.
4572 (do_test): Pass new arguments to test_in_one_mode using
4573 ROUNDING_TESTS.
4574
a58ad3f8
RM
45752013-06-13 Roland McGrath <roland@hack.frob.com>
4576
4577 * posix/tst-waitid.c (do_test): Distinguish different instances of
4578 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4579 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4580 before entering the kernel for waitpid.
4581
c204ab28
SP
45822013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4583
4584 * NEWS: Fix note on clock function precision. Text by Roland
4585 McGrath.
4586
f4a29fba
RM
45872013-06-13 Roland McGrath <roland@hack.frob.com>
4588
4589 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4590 it into place only when and if the sanity check passes.
4591
1f24b9ad
JM
45922013-06-13 Joseph Myers <joseph@codesourcery.com>
4593
4594 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4595 output for whether conversion result is exact. Take argument
4596 indicating whether type is IBM long double.
4597 (round_for_all): Change need_exact field to ibm_ld.
4598 * stdlib/tst-strtod-round.c (struct exactness): New type.
4599 (struct test): Change bool ld_ok field to struct exactness exact.
4600 (TEST): Update all definitions for change to field.
4601 (tests): Regenerate array contents.
4602 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4603 field value. Check for IBM long double here.
4604 (do_test): Update calls to test_in_one_mode.
4605
58206c68
SP
46062013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4607
4608 [BZ #12515]
4609 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4610 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4611
2d6f4c5b 46122013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4613
4614 [BZ #15605]
4615 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4616 generated by the compiler on loop optimizations.
4617 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4618 general definitions.
4619
94f2c076
JM
46202013-06-12 Joseph Myers <joseph@codesourcery.com>
4621
4622 * math/bug-nextafter.c: Include <math-tests.h>.
4623 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4624 the relevant type.
4625 * math/bug-nexttoward.c: Include <math-tests.h>.
4626 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4627 the relevant type.
4628 * math/test-misc.c: Include <math-tests.h>.
4629 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4630 the relevant type.
4631
e0e50a0a
AJ
46322013-06-12 Andreas Jaeger <aj@suse.de>
4633
4634 * po/ia.po: Update Interlingua translation from translation
4635 project.
4636
25061094
SP
46372013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4638
4639 * include/fenv.h: Include stdbool.h.
4640 (struct rm_ctx): New structure.
4641 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4642 Define macro.
4643 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4644 (SET_RESTORE_ROUNDF): Likewise.
4645 (SET_RESTORE_ROUNDL): Likewise.
4646 (SET_RESTORE_ROUND_NOEX): Likewise.
4647 (SET_RESTORE_ROUND_NOEXF): Likewise.
4648 (SET_RESTORE_ROUND_NOEXL): Likewise.
4649 (SET_RESTORE_ROUND_53BIT): Likewise.
4650 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4651 (libc_feresetround_noexf_ctx): Likewise.
4652 (libc_feresetround_noexl_ctx): Likewise.
4653 (libc_feholdsetround_53bit_ctx): Likewise.
4654 (libc_feresetround_53bit_ctx): Likewise.
4655 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4656 (libc_feholdexcept_setround_sse_ctx): New function.
4657 (libc_fesetenv_sse_ctx): Likewise.
4658 (libc_feupdateenv_sse_ctx): Likewise.
4659 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4660 (libc_feholdexcept_setround_387_ctx): Likewise.
4661 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4662 (libc_feholdsetround_387_prec_ctx): Likewise.
4663 (libc_feholdsetround_387_ctx): Likewise.
4664 (libc_feholdsetround_387_53bit_ctx): Likewise.
4665 (libc_feholdsetround_sse_ctx): Likewise.
4666 (libc_feresetround_sse_ctx): Likewise.
4667 (libc_feresetround_387_ctx): Likewise.
4668 (libc_feupdateenv_387_ctx): Likewise.
4669 (libc_feholdexcept_setroundf_ctx): Define macro.
4670 (libc_fesetenvf_ctx): Likewise.
4671 (libc_feupdateenvf_ctx): Likewise.
4672 (libc_feholdsetroundf_ctx): Likewise.
4673 (libc_feresetroundf_ctx): Likewise.
4674 (libc_feholdexcept_setround_ctx): Likewise.
4675 (libc_fesetenv_ctx): Likewise.
4676 (libc_feupdateenv_ctx): Likewise.
4677 (libc_feholdsetround_ctx): Likewise.
4678 (libc_feresetround_ctx): Likewise.
4679 (libc_feholdexcept_setroundl_ctx): Likewise.
4680 (libc_feupdateenvl_ctx): Likewise.
4681 (libc_feholdsetroundl_ctx): Likewise.
4682 (libc_feresetroundl_ctx): Likewise.
4683 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4684 (libc_feresetround_53bit_ctx): Likewise.
4685
59b30555
SP
46862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4687
4688 * locale/iso-639.def: Convert to UTF-8.
4689
f1d73d30
JM
46902013-06-11 Joseph Myers <joseph@codesourcery.com>
4691
4692 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4693 (EXCEPTION_TESTS_double): Likewise.
4694 (EXCEPTION_TESTS_long_double): Likewise.
4695 (EXCEPTION_TESTS): Likewise.
4696 * math/libm-test.inc (test_exceptions): Only test exceptions if
4697 EXCEPTION_TESTS (FLOAT).
4698
94aca5e7
SP
46992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4700
4701 * benchtests/Makefile (string-bench): Add strcpy_chk and
4702 stpcpy_chk.
4703 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4704 * benchtests/bench-stpcpy_chk.c: New file.
4705 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4706 * benchtests/bench-strcpy_chk.c: New file.
4707 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4708 code.
4709 (do_test): Likewise.
4710
fac0c5f2
RA
47112013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4712
4713 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4714 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4715 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4716 with tabs where appropriate.
4717 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4718 dl-procinfo.h.
4719 [PPC_PLATFORM_PPC440]: Likewise.
4720 [PPC_PLATFORM_PPC464]: Likewise.
4721 [PPC_PLATFORM_PPC476]: Likewise.
4722 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4723 ppc464, and ppc476 platform strings merging from ports/
4724 dl-procinfo.h.
4725
f22bc486
AS
47262013-06-11 Andreas Schwab <schwab@suse.de>
4727
4728 [BZ #14991]
4729 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4730 (from_ucs4_idx): Regenerate.
4731 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4732 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4733 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4734 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4735 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4736 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4737 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4738 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4739 from FROM_LOOP and TO_LOOP specific macros.
4740 (BODY): Handle combining characters.
4741 * iconvdata/BIG5HKSCS.irreversible: Update.
4742 * iconvdata/BIG5HKSCS.precomposed: New file.
4743 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4744 characters.
4745 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4746
c1f75dc3
SP
47472013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4748
4eacded2
SP
4749 * include/sys/time.h: Fix indentation and add copyright header.
4750
fec799f8
SP
4751 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4752 (do_test): Likewise.
4753 * string/test-memchr.c (do_one_test): Likewise.
4754 (do_test): Likewise.
4755 * string/test-memcmp.c (do_one_test): Likewise.
4756 (do_test): Likewise.
4757 * string/test-memcpy.c (do_one_test): Likewise.
4758 (do_test): Likewise.
4759 * string/test-memmem.c (do_one_test): Likewise.
4760 (do_test): Likewise.
4761 (do_random_tests): Likewise.
4762 * string/test-memmove.c (do_one_test): Likewise.
4763 (do_test): Likewise.
4764 * string/test-memset.c (do_one_test): Likewise.
4765 (do_test): Likewise.
4766 * string/test-rawmemchr.c (do_one_test): Likewise.
4767 (do_test): Likewise.
4768 * string/test-strcasecmp.c (do_one_test): Likewise.
4769 (do_test): Likewise.
4770 * string/test-strcasestr.c (do_one_test): Likewise.
4771 (do_test): Likewise.
4772 * string/test-strcat.c (do_one_test): Likewise.
4773 (do_test): Likewise.
4774 * string/test-strchr.c (do_one_test): Likewise.
4775 (do_test): Likewise.
4776 * string/test-strcmp.c (do_one_test): Likewise.
4777 (do_test): Likewise.
4778 * string/test-strcpy.c (do_one_test): Likewise.
4779 (do_test): Likewise.
4780 * string/test-string.h: Likewise.
4781 (test_init): Likewise.
4782 * string/test-strlen.c (do_one_test): Likewise.
4783 (do_test): Likewise.
4784 * string/test-strncasecmp.c (do_one_test): Likewise.
4785 (do_test): Likewise.
4786 * string/test-strncat.c (do_one_test): Likewise.
4787 (do_test): Likewise.
4788 * string/test-strncmp.c (do_one_test): Likewise.
4789 (do_test_limit): Likewise.
4790 (do_test): Likewise.
4791 * string/test-strncpy.c (do_one_test): Likewise.
4792 (do_test): Likewise.
4793 * string/test-strnlen.c (do_one_test): Likewise.
4794 (do_test): Likewise.
4795 * string/test-strpbrk.c (do_one_test): Likewise.
4796 (do_test): Likewise.
4797 * string/test-strrchr.c (do_one_test): Likewise.
4798 (do_test): Likewise.
4799 * string/test-strspn.c (do_one_test): Likewise.
4800 (do_test): Likewise.
4801 * string/test-strstr.c (do_one_test): Likewise.
4802 (do_test): Likewise.
4803
97020474
SP
4804 * benchtests/Makefile (string-bench): Add string benchmarks.
4805 * benchtests/bench-bcopy-ifunc.c: New file.
4806 * benchtests/bench-bcopy.c: New file.
4807 * benchtests/bench-bzero-ifunc.c: New file.
4808 * benchtests/bench-bzero.c: New file.
4809 * benchtests/bench-memccpy-ifunc.c: New file.
4810 * benchtests/bench-memccpy.c: New file.
4811 * benchtests/bench-memchr-ifunc.c: New file.
4812 * benchtests/bench-memchr.c: New file.
4813 * benchtests/bench-memcmp-ifunc.c: New file.
4814 * benchtests/bench-memcmp.c: New file.
4815 * benchtests/bench-memmem-ifunc.c: New file.
4816 * benchtests/bench-memmem.c: New file.
4817 * benchtests/bench-memmove-ifunc.c: New file.
4818 * benchtests/bench-memmove.c: New file.
4819 * benchtests/bench-mempcpy-ifunc.c: New file.
4820 * benchtests/bench-mempcpy.c: New file.
4821 * benchtests/bench-memset-ifunc.c: New file.
4822 * benchtests/bench-memset.c: New file.
4823 * benchtests/bench-rawmemchr-ifunc.c: New file.
4824 * benchtests/bench-rawmemchr.c: New file.
4825 * benchtests/bench-stpcpy-ifunc.c: New file.
4826 * benchtests/bench-stpcpy.c: New file.
4827 * benchtests/bench-stpncpy-ifunc.c: New file.
4828 * benchtests/bench-stpncpy.c: New file.
4829 * benchtests/bench-strcasecmp-ifunc.c: New file.
4830 * benchtests/bench-strcasecmp.c: New file.
4831 * benchtests/bench-strcasestr-ifunc.c: New file.
4832 * benchtests/bench-strcasestr.c: New file.
4833 * benchtests/bench-strcat-ifunc.c: New file.
4834 * benchtests/bench-strcat.c: New file.
4835 * benchtests/bench-strchr-ifunc.c: New file.
4836 * benchtests/bench-strchr.c: New file.
4837 * benchtests/bench-strchrnul-ifunc.c: New file.
4838 * benchtests/bench-strchrnul.c: New file.
4839 * benchtests/bench-strcmp-ifunc.c: New file.
4840 * benchtests/bench-strcmp.c: New file.
4841 * benchtests/bench-strcpy-ifunc.c: New file.
4842 * benchtests/bench-strcpy.c: New file.
4843 * benchtests/bench-strcspn-ifunc.c: New file.
4844 * benchtests/bench-strcspn.c: New file.
4845 * benchtests/bench-strlen-ifunc.c: New file.
4846 * benchtests/bench-strlen.c: New file.
4847 * benchtests/bench-strncasecmp-ifunc.c: New file.
4848 * benchtests/bench-strncasecmp.c: New file.
4849 * benchtests/bench-strncat-ifunc.c: New file.
4850 * benchtests/bench-strncat.c: New file.
4851 * benchtests/bench-strncmp-ifunc.c: New file.
4852 * benchtests/bench-strncmp.c: New file.
4853 * benchtests/bench-strncpy-ifunc.c: New file.
4854 * benchtests/bench-strncpy.c: New file.
4855 * benchtests/bench-strnlen-ifunc.c: New file.
4856 * benchtests/bench-strnlen.c: New file.
4857 * benchtests/bench-strpbrk-ifunc.c: New file.
4858 * benchtests/bench-strpbrk.c: New file.
4859 * benchtests/bench-strrchr-ifunc.c: New file.
4860 * benchtests/bench-strrchr.c: New file.
4861 * benchtests/bench-strspn-ifunc.c: New file.
4862 * benchtests/bench-strspn.c: New file.
4863 * benchtests/bench-strstr-ifunc.c: New file.
4864 * benchtests/bench-strstr.c: New file.
4865
c1f75dc3
SP
4866 * benchtests/Makefile: Disable parallel execution of targets.
4867 (string-bench): Add memcpy.
4868 (benchset): New variable to store a list of benchmark sets.
4869 (bench-func): Renamed from bench.
4870 (bench-set): New target.
4871 (bench): Depend on bench-func and bench-set.
4872 * benchtests/README: Add section on benchmark sets.
4873 * benchtests/bench-memcpy-ifunc.c: New file.
4874 * benchtests/bench-memcpy.c: New file.
4875 * benchtests/bench-string.h: New file.
4876
50fd745b
AS
48772013-06-11 Andreas Schwab <schwab@suse.de>
4878
4879 [BZ #15577]
4880 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4881 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4882 values in the triple.
4883 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4884 terminator in the group key.
4885
3ee7e9fe
AJ
48862013-06-11 Andreas Jaeger <aj@suse.de>
4887
4888 * po/zh_TW.po: Update Chinese (traditional) translation from
4889 translation project.
4890
89fb6835
SP
48912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4892
4893 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4894 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4895 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4896 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4897 (clock_getcpuclockid): Likewise.
4898 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4899 Add weak_alias and libc_hidden_def.
4900 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4901 * rt/clock_gettime.c (clock_gettime): Rename to
4902 __clock_gettime. Add weak_alias and libc_hidden_def.
4903 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4904 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4905 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4906 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4907 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4908 Likewise.
4909 * rt/clock_settime.c (clock_settime): Rename to
4910 __clock_settime. Add weak_alias and libc_hidden_def.
4911 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4912
0efa6f8b
JM
49132013-06-10 Joseph Myers <joseph@codesourcery.com>
4914
b8c61b4b
JM
4915 * mach/err_boot.sub: Remove trailing whitespace.
4916 * mach/err_ipc.sub: Likewise.
4917 * mach/err_mach.sub: Likewise.
4918
0efa6f8b
JM
4919 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4920 (ROUNDING_TESTS_double): Likewise.
4921 (ROUNDING_TESTS_long_double): Likewise.
4922 (ROUNDING_TESTS): Likewise.
4923 * math/libm-test.inc: Include <math-tests.h>.
4924 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4925 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4926 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4927 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4928
50b818bf
SP
49292013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4930
4931 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4932 of assigning.
4933
60d2f8f3
JM
49342013-06-08 Joseph Myers <joseph@codesourcery.com>
4935
4902d2c3
JM
4936 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4937 otherwise empty TRANS lines.
4938 * sysdeps/gnu/errlist.c: Regenerated.
4939
60d2f8f3
JM
4940 * catgets/gencat.c (error_print): Use (void) in function
4941 definition.
4942 * crypt/crypt_util.c (__init_des): Likewise.
4943 * crypt/speeds.c (Stop): Likewise.
4944 (main): Likewise.
4945 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4946 * inet/ruserpass.c (token): Likewise.
4947 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4948 * intl/localealias.c (extend_alias_table): Likewise.
4949 * intl/plural-exp.c (init_germanic_plural): Likewise.
4950 * libio/fcloseall.c (__fcloseall): Likewise.
4951 * libio/genops.c (_IO_flush_all): Likewise.
4952 (_IO_flush_all_linebuffered): Likewise.
4953 (_IO_cleanup): Likewise.
4954 (_IO_iter_begin): Likewise.
4955 (_IO_iter_end): Likewise.
4956 (_IO_list_lock): Likewise.
4957 (_IO_list_unlock): Likewise.
4958 (_IO_list_resetlock): Likewise.
4959 * libio/getchar.c (getchar): Likewise.
4960 * libio/getchar_u.c (getchar_unlocked): Likewise.
4961 * libio/getwchar.c (getwchar): Likewise.
4962 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4963 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4964 * login/getpt.c (__getpt): Likewise.
4965 * login/tst-utmp.c (main): Likewise.
4966 * malloc/hooks.c (__malloc_check_init): Likewise.
4967 * malloc/malloc.c (__malloc_stats): Likewise.
4968 * malloc/mtrace.c (tr_break): Likewise.
4969 (mtrace): Likewise.
4970 (muntrace): Likewise.
4971 * misc/fstab.c (endfsent): Likewise.
4972 * misc/getclktck.c (__getclktck): Likewise.
4973 * misc/getdtsz.c (__getdtablesize): Likewise.
4974 * misc/gethostid.c (gethostid): Likewise.
4975 * misc/getpagesize.c (__getpagesize): Likewise.
4976 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4977 (__get_nprocs): Likewise.
4978 (__get_phys_pages): Likewise.
4979 (__get_avphys_pages): Likewise.
4980 * misc/getttyent.c (getttyent): Likewise.
4981 (setttyent): Likewise.
4982 (endttyent): Likewise.
4983 * misc/getusershell.c (getusershell): Likewise.
4984 (endusershell): Likewise.
4985 (setusershell): Likewise.
4986 (initshells): Likewise.
4987 * misc/hsearch.c (__hdestroy): Likewise.
4988 * misc/sync.c (sync): Likewise.
4989 * misc/syslog.c (closelog_internal): Likewise.
4990 (closelog): Likewise.
4991 * misc/ttyslot.c (ttyslot): Likewise.
4992 * misc/vhangup.c (vhangup): Likewise.
4993 * posix/fork.c (__fork): Likewise.
4994 * posix/getegid.c (__getegid): Likewise.
4995 * posix/geteuid.c (__geteuid): Likewise.
4996 * posix/getgid.c (__getgid): Likewise.
4997 * posix/getpid.c (__getpid): Likewise.
4998 * posix/getppid.c (__getppid): Likewise.
4999 * posix/getuid.c (__getuid): Likewise.
5000 * posix/pause.c (pause): Likewise.
5001 * posix/setpgrp.c (setpgrp): Likewise.
5002 * posix/setsid.c (__setsid): Likewise.
5003 * posix/test-vfork.c (noop): Likewise.
5004 * resolv/gethnamaddr.c (_endhtent): Likewise.
5005 (_gethtent): Likewise.
5006 (ht_endhostent): Likewise.
5007 (gethostent): Likewise.
5008 (dns_service): Likewise.
5009 * stdlib/drand48.c (drand48): Likewise.
5010 * stdlib/lrand48.c (lrand48): Likewise.
5011 * stdlib/mrand48.c (mrand48): Likewise.
5012 * stdlib/rand.c (rand): Likewise.
5013 * stdlib/random.c (__random): Likewise.
5014 * stdlib/setenv.c (clearenv): Likewise.
5015 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5016 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5017 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5018 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5019 (__get_nprocs): Likewise.
5020 (__get_phys_pages): Likewise.
5021 (__get_avphys_pages): Likewise.
5022 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5023 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5024 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5025 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5026 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5027 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5028 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5029 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5030 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5031 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5032 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5033 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5034 * sysdeps/posix/clock.c (clock): Likewise.
5035 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5036 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5037 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5038 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5039 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5040 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5041 (__get_nprocs_conf): Likewise.
5042 (__get_phys_pages): Likewise.
5043 (__get_avphys_pages): Likewise.
5044 * time/clock.c (clock): Likewise.
5045 * time/tzset.c (__tzname_max): Likewise.
5046
2e09a79a
JM
50472013-06-07 Joseph Myers <joseph@codesourcery.com>
5048
5049 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5050 (__bswap_32): Do not use "register".
5051 * crypt/crypt.c (_ufc_doit_r): Likewise.
5052 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5053 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5054 * gmon/gmon.c (__monstartup): Likewise.
5055 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5056 * hurd/hurdmalloc.c (more_memory): Likewise.
5057 (malloc): Likewise.
5058 (free): Likewise.
5059 (realloc): Likewise.
5060 (malloc_fork_prepare): Likewise.
5061 (malloc_fork_parent): Likewise.
5062 (malloc_fork_child): Likewise.
5063 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5064 (_svcauth_des): Likewise.
5065 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5066 * inet/inet_net.c (inet_network): Likewise.
5067 * inet/inet_netof.c (inet_netof): Likewise.
5068 * inet/rcmd.c (__validuser2_sa): Likewise.
5069 * io/fts.c (fts_open): Likewise.
5070 (fts_load): Likewise.
5071 (fts_close): Likewise.
5072 (fts_read): Likewise.
5073 (fts_children): Likewise.
5074 (fts_build): Likewise.
5075 (fts_stat): Likewise.
5076 (fts_sort): Likewise.
5077 (fts_alloc): Likewise.
5078 (fts_lfree): Likewise.
5079 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5080 (_IO_file_xsgetn): Likewise.
5081 (_IO_file_xsgetn_mmap): Likewise.
5082 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5083 (_IO_cookie_write): Likewise.
5084 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5085 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5086 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5087 * malloc/obstack.c (_obstack_begin): Likewise.
5088 (_obstack_begin_1): Likewise.
5089 (_obstack_newchunk): Likewise.
5090 (_obstack_allocated_p): Likewise.
5091 (obstack_free): Likewise.
5092 (_obstack_memory_used): Likewise.
5093 * misc/getttyent.c (getttynam): Likewise.
5094 (getttyent): Likewise.
5095 (skip): Likewise.
5096 (value): Likewise.
5097 * misc/getusershell.c (initshells): Likewise.
5098 * misc/syslog.c (__vsyslog_chk): Likewise.
5099 * misc/ttyslot.c (ttyslot): Likewise.
5100 * nis/nis_hash.c (__nis_hash): Likewise.
5101 * posix/fnmatch_loop.c (FCT): Likewise.
5102 * posix/getconf.c (print_all): Likewise.
5103 (main): Likewise.
5104 * posix/getopt.c (exchange): Likewise.
5105 * posix/glob.c (globfree): Likewise.
5106 (prefix_array): Likewise.
5107 (__glob_pattern_type): Likewise.
5108 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5109 (NS_GET32): Likewise.
5110 (NS_PUT16): Likewise.
5111 (NS_PUT32): Likewise.
5112 * resolv/gethnamaddr.c (getanswer): Likewise.
5113 (gethostbyname2): Likewise.
5114 (gethostbyaddr): Likewise.
5115 (_gethtent): Likewise.
5116 (_gethtbyname2): Likewise.
5117 (_gethtbyaddr): Likewise.
5118 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5119 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5120 * resolv/res_init.c (__res_vinit): Likewise.
5121 (net_mask): Likewise.
5122 * resolv/res_mkquery.c (outchar): Likewise.
5123 (PRINT): Likewise.
5124 * stdio-common/printf_fp.c (outchar): Likewise.
5125 (PRINT): Likewise.
5126 * stdio-common/printf_fphex.c (outchar): Likewise.
5127 (PRINT): Likewise.
5128 * stdio-common/printf_size.c (outchar): Likewise.
5129 (PRINT): Likewise.
5130 * stdio-common/test_rdwr.c (main): Likewise.
5131 * stdio-common/tfformat.c (matches): Likewise.
5132 * stdio-common/vfprintf.c (outchar): Likewise.
5133 (printf_unknown): Likewise.
5134 (buffered_vfprintf): Likewise.
5135 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5136 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5137 (ReadFile): Likewise.
5138 * stdlib/qsort.c (SWAP): Likewise.
5139 (_quicksort): Likewise.
5140 * stdlib/setenv.c (__add_to_environ): Likewise.
5141 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5142 * stdlib/strtol_l.c (__strtol_l): Likewise.
5143 * stdlib/tst-strtod.c (main): Likewise.
5144 * stdlib/tst-strtol.c (main): Likewise.
5145 * stdlib/tst-strtoll.c (main): Likewise.
5146 * string/bits/string2.h (__strcmp_cc): Likewise.
5147 (__strcmp_cg): Likewise.
5148 (__strcspn_c1): Likewise.
5149 (__strcspn_c2): Likewise.
5150 (__strcspn_c3): Likewise.
5151 (__strspn_c1): Likewise.
5152 (__strspn_c2): Likewise.
5153 (__strspn_c3): Likewise.
5154 (__strsep_1c): Likewise.
5155 (__strsep_2c): Likewise.
5156 (__strsep_3c): Likewise.
5157 * string/memccpy.c (__memccpy): Likewise.
5158 * string/stpcpy.c (__stpcpy): Likewise.
5159 * string/strcmp.c (strcmp): Likewise.
5160 * string/strrchr.c (strrchr): Likewise.
5161 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5162 Likewise.
5163 * sysdeps/mach/hurd/getcwd.c
5164 (_hurd_canonicalize_directory_name_internal): Likewise.
5165 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5166 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5167 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5168 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5169 Likewise, in both definitions.
5170 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5171 definitions.
5172 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5173 64] (__bswap_64): Likewise.
5174 * time/test_time.c (main): Likewise.
5175 * time/tzfile.c (__tzfile_read): Likewise.
5176 (__tzfile_compute): Likewise.
5177 * time/tzset.c (__tzset_parse_tz): Likewise.
5178 (tzset_internal): Likewise.
5179 (compute_change): Likewise.
5180 * wcsmbs/wcscat.c (__wcscat): Likewise.
5181 * wcsmbs/wcschr.c (wcschr): Likewise.
5182 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5183 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5184 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5185 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5186 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5187 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5188 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5189 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5190 * wcsmbs/wmemset.c (wmemset): Likewise.
5191
9e54314b
JM
51922013-06-06 Joseph Myers <joseph@codesourcery.com>
5193
5194 * scripts/config.guess: Update to version 2013-05-16.
5195 * scripts/config.sub: Update to version 2013-04-24.
5196 * scripts/install-sh: Update to version 2011-11-20.07.
5197 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5198 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5199
350635a5
OB
52002013-06-06 Ondřej Bílka <neleai@seznam.cz>
5201
5202 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5203 * elf/sln.c: Likewise.
5204 * hurd/hurd/ioctl.h: Likewise.
5205 * hurd/hurdmalloc.c: Likewise.
5206 * hurd/xattr.c: Likewise.
5207 * include/shlib-compat.h: Likewise.
5208 * inet/ruserpass.c: Likewise.
5209 * libio/iofgets_u.c: Likewise.
5210 * libio/iofgetws_u.c: Likewise.
5211 * locale/programs/ld-identification.c: Likewise.
5212 * locale/programs/ld-time.c: Likewise.
5213 * mach/msg-destroy.c: Likewise.
5214 * nss/nss_files/files-netgrp.c: Likewise.
5215 * resolv/res_data.c: Likewise.
5216 * soft-fp/op-1.h: Likewise.
5217 * soft-fp/op-2.h: Likewise.
5218 * soft-fp/op-4.h: Likewise.
5219 * soft-fp/op-common.h: Likewise.
5220 * stdio-common/printf_fphex.c: Likewise.
5221 * stdlib/strtod_l.c: Likewise.
5222 * sunrpc/rpc/clnt.h: Likewise.
5223 * sysdeps/generic/framestate.c: Likewise.
5224 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5225 * sysdeps/i386/bsd-setjmp.S: Likewise.
5226 * sysdeps/i386/__longjmp.S: Likewise.
5227 * sysdeps/i386/setjmp.S: Likewise.
5228 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5229 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5230 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5231 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5235 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5238 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5246 * sysdeps/ieee754/support.c: Likewise.
5247 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5248 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5249 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5250 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5251 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5252 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5253 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5254 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5255 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5256 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5257 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5258 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5259 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5260 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5261 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5262 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5263 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5265
44a988af
OB
52662013-06-05 Ondřej Bílka <neleai@seznam.cz>
5267
25506f09 5268 * posix/transbug.c: Remove executable mode.
44a988af 5269
9c84384c
JM
52702013-06-05 Joseph Myers <joseph@codesourcery.com>
5271
5272 * crypt/speeds.c: Remove trailing whitespace.
5273 * dlfcn/default.c: Likewise.
5274 * elf/ifuncdep2.c: Likewise.
5275 * elf/ifuncmain1.c: Likewise.
5276 * elf/ifuncmain1vis.c: Likewise.
5277 * elf/testobj.h: Likewise.
5278 * elf/tst-stackguard1.c: Likewise.
5279 * gmon/sys/gmon.h: Likewise.
5280 * hurd/hurdmsg.c: Likewise.
5281 * hurd/new-fd.c: Likewise.
5282 * hurd/ports-get.c: Likewise.
5283 * iconvdata/ibm1008_420.c: Likewise.
5284 * inet/tst-getni1.c: Likewise.
5285 * inet/tst-getni2.c: Likewise.
5286 * libio/ioungetc.c: Likewise.
5287 * libio/wfiledoalloc.c: Likewise.
5288 * manual/libm-err-tab.pl: Likewise.
5289 * math/w_dremf.c: Likewise.
5290 * misc/ftruncate.c: Likewise.
5291 * posix/bug-glob2.c: Likewise.
5292 * posix/tst-pcre.c: Likewise.
5293 * posix/wait4.c: Likewise.
5294 * resolv/README: Likewise.
5295 * resolv/res_debug.h: Likewise.
5296 * resolv/tst-inet_ntop.c: Likewise.
5297 * setjmp/bug269-setjmp.c: Likewise.
5298 * soft-fp/extended.h: Likewise.
5299 * soft-fp/op-1.h: Likewise.
5300 * soft-fp/op-2.h: Likewise.
5301 * soft-fp/op-4.h: Likewise.
5302 * soft-fp/op-8.h: Likewise.
5303 * soft-fp/testit.c: Likewise.
5304 * stdio-common/bug16.c: Likewise.
5305 * stdlib/random.c: Likewise.
5306 * sunrpc/rpcsvc/rquota.x: Likewise.
5307 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5308 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5309 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5310 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5311 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5312 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5313 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5314 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5315 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5316 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5317 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5318 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5319 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5320 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5321 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5322 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5323 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5324 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5325 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5328 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5329 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5330 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5331 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5332 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5333 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5334 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5335 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5336 * sysdeps/ieee754/s_lib_version.c: Likewise.
5337 * sysdeps/mach/hurd/check_fds.c: Likewise.
5338 * sysdeps/mach/hurd/getsockname.c: Likewise.
5339 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5340 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5341 * sysdeps/powerpc/bits/link.h: Likewise.
5342 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5343 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5344 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5345 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5346 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5347 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5348 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5349 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5350 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5351 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5352 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5353 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5354 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5355 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5356 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5357 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5358 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5359 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5360 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5361 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5362 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5363 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5364 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5365 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5366 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5367 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5368 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5369 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5370 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5371 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5372 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5373 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5374 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5375 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5376 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5377 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5378 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5379 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5380 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5381 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5382 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5383 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5384 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5385 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5386 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5387 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5388 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5389 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5390 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5391 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5392 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5394 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5395 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5396 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5397 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5398 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5399 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5400 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5401 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5402 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5403 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5404 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5405 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5406 * sysdeps/powerpc/sysdep.h: Likewise.
5407 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5408 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5409 * sysdeps/sh/dl-trampoline.S: Likewise.
5410 * sysdeps/sh/memset.S: Likewise.
5411 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5412 * sysdeps/sh/strlen.S: Likewise.
5413 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5414 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5415 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5416 * sysdeps/sparc/sparc32/rem.S: Likewise.
5417 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5418 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5419 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5420 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5421 * sysdeps/sparc/sparc32/urem.S: Likewise.
5422 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5423 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5424 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5425 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5426 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5427 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5428 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5429 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5430 * sysdeps/unix/bsd/times.c: Likewise.
5431 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5432 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5436 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5437 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5438 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5439 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5440 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5441 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5442 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5443 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5444 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5445 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5446 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5447 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5448 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5449 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5450 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5451 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5452 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5453 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5454 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5455 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5456 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5457 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5458 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5459 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5460 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5461 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5462 * sysdeps/x86_64/strcspn.S: Likewise.
5463
869378a5
RA
54642013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5465
5466 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5467 generated file. Regenerate properly from gen-translit.pl.
5468 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5469 locale/C-translit.h.
5470
840e2943
AS
54712013-06-05 Andreas Schwab <schwab@suse.de>
5472
5473 [BZ #15100]
5474 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5475 week as 6 instead of -1.
5476 * time/tst-strptime.c (day_tests): Add test case.
5477
4c60cb0c
SP
54782013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5479
5480 * sysdeps/generic/math_private.h
5481 (libc_feholdexcept_setround_53bit): Replace with
5482 libc_feholdsetround_53bit.
5483 (libc_feupdateenv_53bit): Replace with
5484 libc_feresetround_53bit.
5485 (SET_RESTORE_ROUND_53BIT): Adjust.
5486
d180203e
SP
54872013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5488
96df079a
SP
5489 * string/test-strchrnul.c: Add copyright header.
5490
d180203e
SP
5491 * posix/tst-getaddrinfo4.c: Increase test timeout.
5492
8b0ccb2d
CD
54932013-06-03 Carlos O'Donell <carlos@redhat.com>
5494
5495 [BZ #15536]
5496 * math/libm-test.inc (MAX_EXP): Remove
5497 (MIN_EXP): Define.
5498 (ulp): Use MIN_EXP - MANT_DIG.
5499 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5500
3b3c4d40
CD
55012013-05-31 Carlos O'Donell <carlos@redhat.com>
5502
5503 * po/be.po: Revert last change.
5504 * po/zh_CN.po: Likewise.
5505 * po/header.pot: Likewise.
5506
fab7ce3f
JM
55072013-05-31 Joseph Myers <joseph@codesourcery.com>
5508
5509 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5510 link-libc-deps to empty as target-specific variable.
5511 * Makerules (link-libc-args): New variable.
5512 (libc-for-link): Likewise.
5513 (link-libc-deps): Likewise.
5514 (lib%.so): Depend on $(link-libc-deps). Link with
5515 $(link-libc-args).
5516 (build-module): Link with $(link-libc-args).
5517 (build-module-asneeded): Likewise.
5518 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5519 list of objects.
5520 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5521 target-specific variable.
5522 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5523 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5524 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5525 libc.
5526 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5527 libc and ld.so.
5528 ($(objpfx)libpcprofile.so): Likewise.
5529 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5530 libc_nonshared.a.
5531 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5532 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5533 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5534 $(link-libc-deps).
5535 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5536 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5537 * login/Makefile ($(objpfx)libutil.so): Likewise.
5538 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5539 * math/Makefile ($(objpfx)libm.so): Likewise.
5540 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5541 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5542 variable instead of depending directly on libc.
5543 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5544 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5545 $(link-libc-deps).
5546 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5547 libc.
5548 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5549 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5550 ($(objpfx)libanl.so): Likewise.
5551 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5552 ld.so.
5553 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5554 $(link-libc-deps).
5555 * sysdeps/i386/fpu/Makefile: Remove file.
5556 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5557 ($(objpfx)libm.so): Remove dependency on ld.so.
5558
eca5920c
PF
55592013-05-30 Patsy Franklin <pfrankli@redhat.com>
5560
5561 [BZ # 15553]
5562 * nis/yp_xdr.c (XDRMAXNAME): Define.
5563 (XDRMAXRECORD): Define.
5564 (xdr_domainname): Use XDRMAXNAME.
5565 (xdr_mapname): Likewise.
5566 (xdr_peername): Likewise.
5567 (xdr_keydat): Use XDRMAXRECORD.
5568 (xdr_valdat): Likewise.
5569
55702013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5571
5572 [BZ #14256]
5573 * manual/errno.texi (ESTALE): Update to account for more than
5574 just NFS file systems.
5575 * sysdeps/gnu/errlist.c: Regenerated.
5576
b9375348
SP
55772013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5578
5579 [BZ #15465]
5580 * elf/Makefile (tests): Add tst-null-argv.
5581 (modules-names): Add tst-null-argv-lib.
5582 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5583 (tst-null-argv-ENV): Set environment for tst-null-argv.
5584 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5585 (RTLD_PROGNAME): New macro.
5586 * elf/tst-null-argv.c: New test case.
5587 * elf/tst-null-argv-lib.c: Library for test case.
5588 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5589 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5590 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5591 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5592 * elf/dl-init.c (call_init): Likewise.
5593 (_dl_init): Likewise.
5594 * elf/dl-load.c (print_search_path): Likewise.
5595 (_dl_map_object): Likewise.
5596 * elf/dl-lookup.c (do_lookup_x): Likewise.
5597 (add_dependency): Likewise.
5598 (_dl_lookup_symbol_x): Likewise.
5599 (_dl_debug_bindings): Likewise.
5600 * elf/dl-open.c (_dl_show_scope): Likewise.
5601 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5602 * elf/dl-version.c (match_symbol): Likewise.
5603 (_dl_check_map_versions): Likewise.
5604 * elf/rtld.c (dl_main): Likewise.
5605 (print_unresolved): Use RTLD_PROGNAME.
5606 (print_missing_version): Likewise.
5607 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5608 (elf_machine_rela): Likewise.
5609 * sysdeps/powerpc/powerpc32/dl-machine.c
5610 (__process_machine_rela): Likewise.
5611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5612 Likewise.
5613 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5614 Likewise.
5615 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5616 Likewise.
5617 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5618 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5619 Likewise.
5620 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5621 Likewise.
5622 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5623
8a9f20c8
CD
56242013-05-28 Carlos O'Donell <carlos@redhat.com>
5625
5626 * po/be.po: Add descriptive title.
5627 * po/zh_CN.po: Likewise.
5628 * po/header.pot: Likewise.
5629
0e60d68e
MF
56302013-05-28 Mike Frysinger <vapier@gentoo.org>
5631
5632 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5633 error message.
5634 (enlarge_archive): Likewise.
5635
56b672e9
BN
56362013-05-28 Ben North <ben@redfrontdoor.org>
5637
5638 * manual/arith.texi (frexp): It is the magnitude of the return
5639 value which lies in [0.5, 1), not the return value itself.
5640
5e056687
AZ
56412013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5642
5643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5644
2b66ef5d
TS
56452013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5646
528c2405
TS
5647 * stdio-common/bug26.c (main): Correct fscanf template.
5648
07b4c13d
TS
5649 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5650 declare _dl_skip_args.
5651
ec9dd97c
TS
5652 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5653 Don't declare.
5654
2b66ef5d
TS
5655 * manual/platform.texi: Add missing @end deftypefun.
5656
4f8dfe27
JM
56572013-05-24 Joseph Myers <joseph@codesourcery.com>
5658
0323d086
JM
5659 [BZ #15529]
5660 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5661 bit of mantissa of 2^16382.
5662 * math/libm-test.inc (hypot_test_data): Add more tests.
5663
dd4259b9
JM
5664 * math/libm-test.inc: Add drem and pow10 to list of tested
5665 functions.
5666 (pow10_test): New function.
5667 (drem_test): Likewise.
5668 (drem_test_tonearest): Likewise.
5669 (drem_test_towardzero): Likewise.
5670 (drem_test_downward): Likewise.
5671 (drem_test_upward): Likewise.
5672 (main): Call the new functions.
5673
4f8dfe27
JM
5674 * math/libm-test.inc (finite_test_data): Remove.
5675 (finite_test): Run tests from isfinite_test_data.
5676 (gamma_test_data): Remove.
5677 (gamma_test): Run tests from lgamma_test_data.
5678 * sysdeps/i386/fpu/libm-test-ulps: Update.
5679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5680
d116b7c4
AZ
56812013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5682
5683 * manual/platform.texi: Add PowerPC PPR function set documentation.
5684 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5685 implementation.
5686
e96e3767
CD
56872013-05-24 Carlos O'Donell <carlos@redhat.com>
5688
5689 * math/libm-test.inc (MAX_EXP): Define.
5690 (ULPDIFF): Define.
5691 (ulp): New function.
5692 (check_float_internal): Use ULPDIFF.
5693 (cpow_test): Disable failing test.
5694 (check_ulp): Test ulp() implemetnation.
5695 (main): Call check_ulp before starting tests.
5696
b679a606
JM
56972013-05-24 Joseph Myers <joseph@codesourcery.com>
5698
e8bdba36
JM
5699 * math/gen-libm-test.pl (generate_testfile): Do not handle
5700 START_DATA and END_DATA.
5701 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5702 END_DATA.
5703 (acos_tonearest_test_data): Likewise.
5704 (acos_towardzero_test_data): Likewise.
5705 (acos_downward_test_data): Likewise.
5706 (acos_upward_test_data): Likewise.
5707 (acosh_test_data): Likewise.
5708 (asin_test_data): Likewise.
5709 (asin_tonearest_test_data): Likewise.
5710 (asin_towardzero_test_data): Likewise.
5711 (asin_downward_test_data): Likewise.
5712 (asin_upward_test_data): Likewise.
5713 (asinh_test_data): Likewise.
5714 (atan_test_data): Likewise.
5715 (atanh_test_data): Likewise.
5716 (atan2_test_data): Likewise.
5717 (cabs_test_data): Likewise.
5718 (cacos_test_data): Likewise.
5719 (cacosh_test_data): Likewise.
5720 (carg_test_data): Likewise.
5721 (casin_test_data): Likewise.
5722 (casinh_test_data): Likewise.
5723 (catan_test_data): Likewise.
5724 (catanh_test_data): Likewise.
5725 (cbrt_test_data): Likewise.
5726 (ccos_test_data): Likewise.
5727 (ccosh_test_data): Likewise.
5728 (ceil_test_data): Likewise.
5729 (cexp_test_data): Likewise.
5730 (cimag_test_data): Likewise.
5731 (clog_test_data): Likewise.
5732 (clog10_test_data): Likewise.
5733 (conj_test_data): Likewise.
5734 (copysign_test_data): Likewise.
5735 (cos_test_data): Likewise.
5736 (cos_tonearest_test_data): Likewise.
5737 (cos_towardzero_test_data): Likewise.
5738 (cos_downward_test_data): Likewise.
5739 (cos_upward_test_data): Likewise.
5740 (cosh_test_data): Likewise.
5741 (cosh_tonearest_test_data): Likewise.
5742 (cosh_towardzero_test_data): Likewise.
5743 (cosh_downward_test_data): Likewise.
5744 (cosh_upward_test_data): Likewise.
5745 (cpow_test_data): Likewise.
5746 (cproj_test_data): Likewise.
5747 (creal_test_data): Likewise.
5748 (csin_test_data): Likewise.
5749 (csinh_test_data): Likewise.
5750 (csqrt_test_data): Likewise.
5751 (ctan_test_data): Likewise.
5752 (ctan_tonearest_test_data): Likewise.
5753 (ctan_towardzero_test_data): Likewise.
5754 (ctan_downward_test_data): Likewise.
5755 (ctan_upward_test_data): Likewise.
5756 (ctanh_test_data): Likewise.
5757 (ctanh_tonearest_test_data): Likewise.
5758 (ctanh_towardzero_test_data): Likewise.
5759 (ctanh_downward_test_data): Likewise.
5760 (ctanh_upward_test_data): Likewise.
5761 (erf_test_data): Likewise.
5762 (erfc_test_data): Likewise.
5763 (exp_test_data): Likewise.
5764 (exp_tonearest_test_data): Likewise.
5765 (exp_towardzero_test_data): Likewise.
5766 (exp_downward_test_data): Likewise.
5767 (exp_upward_test_data): Likewise.
5768 (exp10_test_data): Likewise.
5769 (exp2_test_data): Likewise.
5770 (expm1_test_data): Likewise.
5771 (fabs_test_data): Likewise.
5772 (fdim_test_data): Likewise.
5773 (finite_test_data): Likewise.
5774 (floor_test_data): Likewise.
5775 (fma_test_data): Likewise.
5776 (fma_towardzero_test_data): Likewise.
5777 (fma_downward_test_data): Likewise.
5778 (fma_upward_test_data): Likewise.
5779 (fmax_test_data): Likewise.
5780 (fmin_test_data): Likewise.
5781 (fmod_test_data): Likewise.
5782 (fpclassify_test_data): Likewise.
5783 (frexp_test_data): Likewise.
5784 (gamma_test_data): Likewise.
5785 (hypot_test_data): Likewise.
5786 (ilogb_test_data): Likewise.
5787 (isfinite_test_data): Likewise.
5788 (isgreater_test_data): Likewise.
5789 (isgreaterequal_test_data): Likewise.
5790 (isinf_test_data): Likewise.
5791 (isless_test_data): Likewise.
5792 (islessequal_test_data): Likewise.
5793 (islessgreater_test_data): Likewise.
5794 (isnan_test_data): Likewise.
5795 (isnormal_test_data): Likewise.
5796 (issignaling_test_data): Likewise.
5797 (isunordered_test_data): Likewise.
5798 (j0_test_data): Likewise.
5799 (j1_test_data): Likewise.
5800 (jn_test_data): Likewise.
5801 (ldexp_test_data): Likewise.
5802 (lgamma_test_data): Likewise.
5803 (lrint_test_data): Likewise.
5804 (lrint_tonearest_test_data): Likewise.
5805 (lrint_towardzero_test_data): Likewise.
5806 (lrint_downward_test_data): Likewise.
5807 (lrint_upward_test_data): Likewise.
5808 (llrint_test_data): Likewise.
5809 (llrint_tonearest_test_data): Likewise.
5810 (llrint_towardzero_test_data): Likewise.
5811 (llrint_downward_test_data): Likewise.
5812 (llrint_upward_test_data): Likewise.
5813 (log_test_data): Likewise.
5814 (log10_test_data): Likewise.
5815 (log1p_test_data): Likewise.
5816 (log2_test_data): Likewise.
5817 (logb_test_data): Likewise.
5818 (logb_downward_test_data): Likewise.
5819 (lround_test_data): Likewise.
5820 (llround_test_data): Likewise.
5821 (modf_test_data): Likewise.
5822 (nearbyint_test_data): Likewise.
5823 (nextafter_test_data): Likewise.
5824 (nexttoward_test_data): Likewise.
5825 (pow_test_data): Likewise.
5826 (pow_tonearest_test_data): Likewise.
5827 (pow_towardzero_test_data): Likewise.
5828 (pow_downward_test_data): Likewise.
5829 (pow_upward_test_data): Likewise.
5830 (remainder_test_data): Likewise.
5831 (remainder_tonearest_test_data): Likewise.
5832 (remainder_towardzero_test_data): Likewise.
5833 (remainder_downward_test_data): Likewise.
5834 (remainder_upward_test_data): Likewise.
5835 (remquo_test_data): Likewise.
5836 (rint_test_data): Likewise.
5837 (rint_tonearest_test_data): Likewise.
5838 (rint_towardzero_test_data): Likewise.
5839 (rint_downward_test_data): Likewise.
5840 (rint_upward_test_data): Likewise.
5841 (round_test_data): Likewise.
5842 (scalb_test_data): Likewise.
5843 (scalbn_test_data): Likewise.
5844 (scalbln_test_data): Likewise.
5845 (signbit_test_data): Likewise.
5846 (sin_test_data): Likewise.
5847 (sin_tonearest_test_data): Likewise.
5848 (sin_towardzero_test_data): Likewise.
5849 (sin_downward_test_data): Likewise.
5850 (sin_upward_test_data): Likewise.
5851 (sincos_test_data): Likewise.
5852 (sinh_test_data): Likewise.
5853 (sinh_tonearest_test_data): Likewise.
5854 (sinh_towardzero_test_data): Likewise.
5855 (sinh_downward_test_data): Likewise.
5856 (sinh_upward_test_data): Likewise.
5857 (sqrt_test_data): Likewise.
5858 (tan_test_data): Likewise.
5859 (tan_tonearest_test_data): Likewise.
5860 (tan_towardzero_test_data): Likewise.
5861 (tan_downward_test_data): Likewise.
5862 (tan_upward_test_data): Likewise.
5863 (tanh_test_data): Likewise.
5864 (tgamma_test_data): Likewise.
5865 (trunc_test_data): Likewise.
5866 (y0_test_data): Likewise.
5867 (y1_test_data): Likewise.
5868 (yn_test_data): Likewise.
5869 (significand_test_data): Likewise.
5870
b679a606
JM
5871 * math/gen-libm-test.pl (@functions): Remove variable.
5872 (generate_testfile): Don't handle START and END lines.
5873 * math/libm-test.inc (START): New macro.
5874 (END): Likewise.
5875 (END_COMPLEX): Likewise.
5876 (acos_test): Use END macro without arguments.
5877 (acos_test_tonearest): Likewise.
5878 (acos_test_towardzero): Likewise.
5879 (acos_test_downward): Likewise.
5880 (acos_test_upward): Likewise.
5881 (acosh_test): Likewise.
5882 (asin_test): Likewise.
5883 (asin_test_tonearest): Likewise.
5884 (asin_test_towardzero): Likewise.
5885 (asin_test_downward): Likewise.
5886 (asin_test_upward): Likewise.
5887 (asinh_test): Likewise.
5888 (atan_test): Likewise.
5889 (atanh_test): Likewise.
5890 (atan2_test): Likewise.
5891 (cabs_test): Likewise.
5892 (cacos_test): Use END_COMPLEX macro without arguments.
5893 (cacosh_test): Likewise.
5894 (carg_test): Use END macro without arguments.
5895 (casin_test): Use END_COMPLEX macro without arguments.
5896 (casinh_test): Likewise.
5897 (catan_test): Likewise.
5898 (catanh_test): Likewise.
5899 (cbrt_test): Use END macro without arguments.
5900 (ccos_test): Use END_COMPLEX macro without arguments.
5901 (ccosh_test): Likewise.
5902 (ceil_test): Use END macro without arguments.
5903 (cexp_test): Use END_COMPLEX macro without arguments.
5904 (cimag_test): Use END macro without arguments.
5905 (clog_test): Use END_COMPLEX macro without arguments.
5906 (clog10_test): Likewise.
5907 (conj_test): Likewise.
5908 (copysign_test): Use END macro without arguments.
5909 (cos_test): Likewise.
5910 (cos_test_tonearest): Likewise.
5911 (cos_test_towardzero): Likewise.
5912 (cos_test_downward): Likewise.
5913 (cos_test_upward): Likewise.
5914 (cosh_test): Likewise.
5915 (cosh_test_tonearest): Likewise.
5916 (cosh_test_towardzero): Likewise.
5917 (cosh_test_downward): Likewise.
5918 (cosh_test_upward): Likewise.
5919 (cpow_test): Use END_COMPLEX macro without arguments.
5920 (cproj_test): Likewise.
5921 (creal_test): Use END macro without arguments.
5922 (csin_test): Use END_COMPLEX macro without arguments.
5923 (csinh_test): Likewise.
5924 (csqrt_test): Likewise.
5925 (ctan_test): Likewise.
5926 (ctan_test_tonearest): Likewise.
5927 (ctan_test_towardzero): Likewise.
5928 (ctan_test_downward): Likewise.
5929 (ctan_test_upward): Likewise.
5930 (ctanh_test): Likewise.
5931 (ctanh_test_tonearest): Likewise.
5932 (ctanh_test_towardzero): Likewise.
5933 (ctanh_test_downward): Likewise.
5934 (ctanh_test_upward): Likewise.
5935 (erf_test): Use END macro without arguments.
5936 (erfc_test): Likewise.
5937 (exp_test): Likewise.
5938 (exp_test_tonearest): Likewise.
5939 (exp_test_towardzero): Likewise.
5940 (exp_test_downward): Likewise.
5941 (exp_test_upward): Likewise.
5942 (exp10_test): Likewise.
5943 (exp2_test): Likewise.
5944 (expm1_test): Likewise.
5945 (fabs_test): Likewise.
5946 (fdim_test): Likewise.
5947 (finite_test): Likewise.
5948 (floor_test): Likewise.
5949 (fma_test): Likewise.
5950 (fma_test_towardzero): Likewise.
5951 (fma_test_downward): Likewise.
5952 (fma_test_upward): Likewise.
5953 (fmax_test): Likewise.
5954 (fmin_test): Likewise.
5955 (fmod_test): Likewise.
5956 (fpclassify_test): Likewise.
5957 (frexp_test): Likewise.
5958 (gamma_test): Likewise.
5959 (hypot_test): Likewise.
5960 (ilogb_test): Likewise.
5961 (isfinite_test): Likewise.
5962 (isgreater_test): Likewise.
5963 (isgreaterequal_test): Likewise.
5964 (isinf_test): Likewise.
5965 (isless_test): Likewise.
5966 (islessequal_test): Likewise.
5967 (islessgreater_test): Likewise.
5968 (isnan_test): Likewise.
5969 (isnormal_test): Likewise.
5970 (issignaling_test): Likewise.
5971 (isunordered_test): Likewise.
5972 (j0_test): Likewise.
5973 (j1_test): Likewise.
5974 (jn_test): Likewise.
5975 (ldexp_test): Likewise.
5976 (lgamma_test): Likewise.
5977 (lrint_test): Likewise.
5978 (lrint_test_tonearest): Likewise.
5979 (lrint_test_towardzero): Likewise.
5980 (lrint_test_downward): Likewise.
5981 (lrint_test_upward): Likewise.
5982 (llrint_test): Likewise.
5983 (llrint_test_tonearest): Likewise.
5984 (llrint_test_towardzero): Likewise.
5985 (llrint_test_downward): Likewise.
5986 (llrint_test_upward): Likewise.
5987 (log_test): Likewise.
5988 (log10_test): Likewise.
5989 (log1p_test): Likewise.
5990 (log2_test): Likewise.
5991 (logb_test): Likewise.
5992 (logb_test_downward): Likewise.
5993 (lround_test): Likewise.
5994 (llround_test): Likewise.
5995 (modf_test): Likewise.
5996 (nearbyint_test): Likewise.
5997 (nextafter_test): Likewise.
5998 (nexttoward_test): Likewise.
5999 (pow_test): Likewise.
6000 (pow_test_tonearest): Likewise.
6001 (pow_test_towardzero): Likewise.
6002 (pow_test_downward): Likewise.
6003 (pow_test_upward): Likewise.
6004 (remainder_test): Likewise.
6005 (remainder_test_tonearest): Likewise.
6006 (remainder_test_towardzero): Likewise.
6007 (remainder_test_downward): Likewise.
6008 (remainder_test_upward): Likewise.
6009 (remquo_test): Likewise.
6010 (rint_test): Likewise.
6011 (rint_test_tonearest): Likewise.
6012 (rint_test_towardzero): Likewise.
6013 (rint_test_downward): Likewise.
6014 (rint_test_upward): Likewise.
6015 (round_test): Likewise.
6016 (scalb_test): Likewise.
6017 (scalbn_test): Likewise.
6018 (scalbln_test): Likewise.
6019 (signbit_test): Likewise.
6020 (sin_test): Likewise.
6021 (sin_test_tonearest): Likewise.
6022 (sin_test_towardzero): Likewise.
6023 (sin_test_downward): Likewise.
6024 (sin_test_upward): Likewise.
6025 (sincos_test): Likewise.
6026 (sinh_test): Likewise.
6027 (sinh_test_tonearest): Likewise.
6028 (sinh_test_towardzero): Likewise.
6029 (sinh_test_downward): Likewise.
6030 (sinh_test_upward): Likewise.
6031 (sqrt_test): Likewise.
6032 (tan_test): Likewise.
6033 (tan_test_tonearest): Likewise.
6034 (tan_test_towardzero): Likewise.
6035 (tan_test_downward): Likewise.
6036 (tan_test_upward): Likewise.
6037 (tanh_test): Likewise.
6038 (tgamma_test): Likewise.
6039 (trunc_test): Likewise.
6040 (y0_test): Likewise.
6041 (y1_test): Likewise.
6042 (yn_test): Likewise.
6043 (significand_test): Likewise.
6044
bae143d2
OB
60452013-05-24 Ondřej Bílka <neleai@seznam.cz>
6046
6047 [BZ #15381]
6048 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6049
9323d39b
EM
60502013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6051
d4ea44a0 6052 [BZ #14894]
9323d39b
EM
6053 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6054 __ppc_mdoio and __ppc_mdoom.
6055 * manual/platform.texi: Document new functions __ppc_yield,
6056 __ppc_mdoio and __ppc_mdoom.
6057
13e23af7
CD
60582013-05-22 Carlos O'Donell <carlos@redhat.com>
6059
6060 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6061 (main): Mention "tls" pseudo-hwcap is legacy.
6062 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6063
351fe550
JM
60642013-05-22 Joseph Myers <joseph@codesourcery.com>
6065
6066 * math/gen-libm-test.pl (parse_args): Output only string of
6067 arguments as text for test name, not full call or descriptions of
6068 tests for extra outputs.
6069 (generate_testfile): Do not pass function name to parse_args.
6070 Generate this_func variable from START.
6071 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6072 field to arg_str.
6073 (struct test_ff_f_data): Likewise.
6074 (test_ff_f_data_nexttoward): Likewise.
6075 (struct test_fi_f_data): Likewise.
6076 (struct test_fl_f_data): Likewise.
6077 (struct test_if_f_data): Likewise.
6078 (struct test_fff_f_data): Likewise.
6079 (struct test_c_f_data): Likewise.
6080 (struct test_f_f1_data): Likewise. Remove field extra_name.
6081 (struct test_fF_f1_data): Likewise.
6082 (struct test_ffI_f1_data): Likewise.
6083 (struct test_c_c_data): Rename test_name field to arg_str.
6084 (struct test_cc_c_data): Likewise.
6085 (struct test_f_i_data): Likewise.
6086 (struct test_ff_i_data): Likewise.
6087 (struct test_f_l_data): Likewise.
6088 (struct test_f_L_data): Likewise.
6089 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6090 and extra2_name.
6091 (COMMON_TEST_SETUP): New macro.
6092 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6093 (COMMON_TEST_CLEANUP): Likewise.
6094 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6095 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6096 macros.
6097 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6098 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6099 macros.
6100 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6101 (RUN_TEST_fff_f): Take argument string. Call new setup and
6102 cleanup macros.
6103 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6104 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6105 macros.
6106 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6107 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6108 macros.
6109 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6110 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6111 cleanup macros.
6112 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6113 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6114 cleanup macros.
6115 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6116 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6117 cleanup macros.
6118 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6119 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6120 macros.
6121 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6122 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6123 macros.
6124 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6125 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6126 macros.
6127 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6128 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6129 cleanup macros.
6130 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6131 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6132 cleanup macros.
6133 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6134 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6135 macros.
6136 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6137 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6138 cleanup macros.
6139 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6140 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6141 macros.
6142 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6143 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6144 macros.
6145 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6146 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6147 cleanup macros.
6148 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6149
85118d4d
EBM
61502013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6151
6152 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6153 to _sifields.sigfault.
6154 (si_addr_lsb): Define new macro.
6155 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6156 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6157 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6158
7a44c18f
CD
61592013-05-03 Carlos O'Donell <carlos at redhat.com>
6160
6161 [BZ #15441]
6162 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6163 returns -1.
6164 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6165 null return -1.
6166 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6167 loading the domain.
6168
b50a7181
JM
61692013-05-22 Joseph Myers <joseph@codesourcery.com>
6170
6171 * math/gen-libm-test.pl (parse_args): Do not include expected
6172 result in test name.
6173 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6175 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6176 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6177 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6179
051063c8
SP
61802013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6181
3ce9e010
SP
6182 * benchtests/Makefile: Sort function entries.
6183
051063c8
SP
6184 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6185 tanh, asinh, acosh, atanh.
6186 * benchtests/acos-inputs: New file.
6187 * benchtests/acosh-inputs: New file.
6188 * benchtests/asin-inputs: New file.
6189 * benchtests/asinh-inputs: New file.
6190 * benchtests/atanh-inputs: New file.
6191 * benchtests/cosh-inputs: New file.
6192 * benchtests/log-inputs: New file.
6193 * benchtests/sinh-inputs: New file.
6194 * benchtests/tanh-inputs: New file.
6195
47c22455
DL
61962013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6197
6198 [BZ #15339]
6199 * posix/tst-getaddrinfo4.c: New test.
6200 * posix/Makefile (tests): Add it.
6201
3d04f5db
SP
62022013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6203
6204 [BZ #15339]
6205 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6206 when no services were used.
6207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6208 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6209
d5dd6189
AS
62102013-05-21 Andreas Schwab <schwab@suse.de>
6211
6212 [BZ #15014]
6213 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6214 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6215 successful.
6216 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6217 redundant variable declarations and reallocation of buffer when
6218 parsing as IPv6 address. Always set NSS status when called from
6219 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6220 buffer too small. Correct computation of needed size.
6221 * nss/Makefile (tests): Add test-digits-dots.
6222 * nss/test-digits-dots.c: New test.
6223
fef94eab
SP
62242013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6225
6226 * benchtests/Makefile: Remove instructions for adding
6227 benchmark tests.
6228 * benchtests/README: New file to explain how to execute and
6229 enhance the benchmark tests.
6230
e39adf43
AS
62312013-05-21 Andreas Schwab <schwab@suse.de>
6232
6233 [BZ #15493]
6234 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6235 * setjmp/tst-sigsetjmp.c: New test.
6236
b2b671b6
OB
62372013-05-20 Ondřej Bílka <neleai@seznam.cz>
6238
6239 * sysdeps/x86_64/memset.S (memset): New implementation.
6240 (__bzero): Likewise.
6241 (__memset_tail): New function.
6242
2d48b41c
OB
62432013-05-20 Ondřej Bílka <neleai@seznam.cz>
6244
6245 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6246 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6247 __memcpy_sse2_unaligned ifunc selection.
6248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6249 Add memcpy-sse2-unaligned.S.
6250 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6251 Add: __memcpy_sse2_unaligned.
6252
f16cc3eb
JM
62532013-05-19 Joseph Myers <joseph@codesourcery.com>
6254
3e694268
JM
6255 [BZ #15490]
6256 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6257 math_force_eval before restoring floating-point envrionment.
6258 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6260 Likewise.
6261 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6262 <math_private.h>.
6263 (__nearbyintl): Use math_force_eval before restoring
6264 floating-point environment.
6265 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6266
db62a907
JM
6267 * math/gen-libm-test.pl (special_functions): Remove.
6268 (parse_args): Don't handle TEST_extra. Handle functions with no
6269 return value.
6270 * math/libm-test.inc (struct test_sincos_data): Replace with
6271 struct test_fFF_11_data.
6272 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6273 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6274 (sincos_test_data): Change element type to struct
6275 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6276 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6277 RUN_TEST_LOOP_sincos.
6278 * math/README.libm-test: Don't mention special handling of
6279 individual functions.
6280 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6281 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6282 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6283 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6284 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6286
f16cc3eb
JM
6287 * math/gen-libm-test.pl (get_variable): Remove function.
6288 (parse_args): Don't show pointer parameters to call in test
6289 names. Use "extra output N" in test names for extra outputs
6290 rather than naming variables.
6291
3779b5b6
JM
62922013-05-18 Joseph Myers <joseph@codesourcery.com>
6293
2ee094ff
JM
6294 [BZ #15488]
6295 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6296 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6297 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6298 double tests.
6299 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6300 disable.
6301 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6302 check_long_double.
6303
3779b5b6
JM
6304 * math/gen-libm-test.pl (@tests): Remove variable.
6305 ($count): Likewise.
6306 (new_test): Remove function.
6307 (show_exceptions): New function.
6308 (special_functions): Use show_exceptions instead of new_test.
6309 (parse_args): Likewise.
6310 (generate_testfile): Pass only function name in generated call to
6311 print_max_error or print_complex_max_error.
6312 (get_ulps): Do not handle complex tests specially.
6313 (output_test): Rename to ...
6314 (get_all_ulps_for_test): ... this. Return a string rather than
6315 printing to a file. Require ulps to be present.
6316 (output_ulps): Generate arrays rather than #defines.
6317 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6318 (struct ulp_data): New type.
6319 (BUILD_COMPLEX_ULP): Remove macro.
6320 (compare_ulp_data): New function.
6321 (find_ulps): Likewise.
6322 (find_test_ulps): Likewise.
6323 (find_function_ulps): Likewise.
6324 (find_complex_function_ulps): Likewise.
6325 (print_max_error): Determine allowed ulps using
6326 find_function_ulps.
6327 (print_complex_max_error): Determine allowed ulps using
6328 find_complex_function_ulps.
6329 (check_float_internal): Determine max ulps using find_test_ulps.
6330 (check_float): Do not take max_ulp parameter. Update call to
6331 check_float_internal.
6332 (check_complex): Likewise.
6333 (check_int): Do not take max_ulp parameter.
6334 (check_long): Likewise.
6335 (check_bool): Likewise.
6336 (check_longlong): Likewise.
6337 (struct test_f_f_data): Remove max_ulp field.
6338 (struct test_ff_f_data): Likewise.
6339 (struct test_ff_f_data_nexttoward): Likewise.
6340 (struct test_fi_f_data): Likewise.
6341 (struct test_fl_f_data): Likewise.
6342 (struct test_if_f_data): Likewise.
6343 (struct test_fff_f_data): Likewise.
6344 (struct test_c_f_data): Likewise.
6345 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6346 (struct test_fF_f1_data): Likewise.
6347 (struct test_ffI_f1_data): Likewise.
6348 (struct test_c_c_data): Remove max_ulp field.
6349 (struct test_cc_c_data): Likewise.
6350 (struct test_f_i_data): Likewise.
6351 (struct test_ff_i_data): Likewise.
6352 (struct test_f_l_data): Likewise.
6353 (struct test_f_L_data): Likewise.
6354 (struct test_sincos_data): Likewise.
6355 (RUN_TEST_f_f): Do not handle ulps.
6356 (RUN_TEST_LOOP_f_f): Likewise.
6357 (RUN_TEST_2_f): Likewise.
6358 (RUN_TEST_LOOP_2_f): Likewise.
6359 (RUN_TEST_fff_f): Likewise.
6360 (RUN_TEST_LOOP_fff_f): Likewise.
6361 (RUN_TEST_c_f): Likewise.
6362 (RUN_TEST_LOOP_c_f): Likewise.
6363 (RUN_TEST_f_f1): Likewise.
6364 (RUN_TEST_LOOP_f_f1): Likewise.
6365 (RUN_TEST_fF_f1): Likewise.
6366 (RUN_TEST_LOOP_fF_f1): Likewise.
6367 (RUN_TEST_fI_f1): Likewise.
6368 (RUN_TEST_LOOP_fI_f1): Likewise.
6369 (RUN_TEST_ffI_f1): Likewise.
6370 (RUN_TEST_LOOP_ffI_f1): Likewise.
6371 (RUN_TEST_c_c): Likewise.
6372 (RUN_TEST_LOOP_c_c): Likewise.
6373 (RUN_TEST_cc_c): Likewise.
6374 (RUN_TEST_LOOP_cc_c): Likewise.
6375 (RUN_TEST_f_i): Likewise.
6376 (RUN_TEST_LOOP_f_i): Likewise.
6377 (RUN_TEST_f_i_tg): Likewise.
6378 (RUN_TEST_LOOP_f_i_tg): Likewise.
6379 (RUN_TEST_ff_i_tg): Likewise.
6380 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6381 (RUN_TEST_f_b): Likewise.
6382 (RUN_TEST_LOOP_f_b): Likewise.
6383 (RUN_TEST_f_b_tg): Likewise.
6384 (RUN_TEST_LOOP_f_b_tg): Likewise.
6385 (RUN_TEST_f_l): Likewise.
6386 (RUN_TEST_LOOP_f_l): Likewise.
6387 (RUN_TEST_f_L): Likewise.
6388 (RUN_TEST_LOOP_f_L): Likewise.
6389 (RUN_TEST_sincos): Likewise.
6390 (RUN_TEST_LOOP_sincos): Likewise.
6391
8269107f
JM
63922013-05-17 Joseph Myers <joseph@codesourcery.com>
6393
bb38759d
JM
6394 [BZ #15480]
6395 [BZ #15485]
6396 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6397 main case of finite arguments, set rounding mode to FE_TONEAREST
6398 and discard exceptions.
6399 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6400 exceptions.
6401 (remainder_tonearest_test_data): New variable.
6402 (remainder_test_tonearest): New function.
6403 (remainder_towardzero_test_data): New variable.
6404 (remainder_test_towardzero): New function.
6405 (remainder_downward_test_data): New variable.
6406 (remainder_test_downward): New function.
6407 (remainder_upward_test_data): New variable.
6408 (remainder_test_upward): New function.
6409 (main): Call the new test functions.
6410
a00bdcf0
JM
6411 * math/libm-test.inc (struct test_f_f1_data): Remove field
6412 extra_init.
6413 (struct test_fF_f1_data): Likewise.
6414 (struct test_ffI_f1_data): Likewise.
6415 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6416 based on value of EXTRA_EXPECTED.
6417 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6418 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6419 EXTRA_VAR based on value of EXTRA_EXPECTED.
6420 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6421 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6422 EXTRA_VAR based on value of EXTRA_EXPECTED.
6423 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6424 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6425 EXTRA_VAR based on value of EXTRA_EXPECTED.
6426 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6427 * math/gen-libm-test.pl (parse_args): Don't output initializers
6428 for extra output values.
6429
de407f79
JM
6430 * math/libm-test.inc (check_int): Expect result to be exactly
6431 equal to expected value and do not handle ulps.
6432 (check_long): Likewise.
6433 (check_longlong): Likewise.
6434
8269107f
JM
6435 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6436 exceptions.
6437 (cimag_test_data): Likewise.
6438 (conj_test_data): Likewise.
6439 (copysign_test_data): Likewise.
6440 (cproj_test_data): Likewise.
6441 (creal_test_data): Likewise.
6442 (fabs_test_data): Likewise.
6443 (fdim_test_data): Likewise.
6444 (finite_test_data): Likewise.
6445 (floor_test_data): Likewise.
6446 (fmax_test_data): Likewise.
6447 (fmin_test_data): Likewise.
6448 (fmod_test_data): Likewise.
6449 (fpclassify_test_data): Likewise.
6450 (frexp_test_data): Likewise.
6451 (ilogb_test_data): Likewise.
6452 (isfinite_test_data): Likewise.
6453 (isgreater_test_data): Likewise.
6454 (isgreaterequal_test_data): Likewise.
6455 (isinf_test_data): Likewise.
6456 (isless_test_data): Likewise.
6457 (islessequal_test_data): Likewise.
6458 (islessgreater_test_data): Likewise.
6459 (isnan_test_data): Likewise.
6460 (isnormal_test_data): Likewise.
6461 (issignaling_test_data): Likewise.
6462 (isunordered_test_data): Likewise.
6463 (ldexp_test_data): Likewise.
6464 (lrint_test_data): Likewise.
6465 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6466 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6467 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6468 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6469 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6470 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6471 test input.
6472 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6473 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6474 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6475 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6476 that test input.
6477 (lrint_downward_test_data): Test for "inexact" exceptions.
6478 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6479 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6480 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6481 test input.
6482 (lrint_upward_test_data): Test for "inexact" exceptions.
6483 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6484 test input.
6485 (llrint_test_data): Test for "inexact" exceptions.
6486 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6487 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6488 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6489 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6490 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6491 (llrint_downward_test_data): Test for "inexact" exceptions.
6492 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6493 (llrint_upward_test_data): Test for "inexact" exceptions.
6494 (logb_test_data): Likewise.
6495 (logb_downward_test_data): Likewise.
6496 (nextafter_test_data): Likewise.
6497 (nexttoward_test_data): Likewise.
6498 (remainder_test_data): Likewise.
6499 (remquo_test_data): Likewise.
6500 (scalbn_test_data): Likewise.
6501 (scalbln_test_data): Likewise.
6502 (signbit_test_data): Likewise.
6503 (sqrt_test_data): Likewise.
6504 (significand_test_data): Likewise.
6505
48a18de1
SP
65062013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6507
6508 [BZ #15424]
6509 * benchtests/bench-modf.c (struct args): Mark arg0 as
6510 volatile.
6511 * scripts/bench.pl: Mark members of struct args as volatile.
6512
13d3b41a
AZ
65132013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6514
68191c1d 6515 [BZ # 15497]
13d3b41a
AZ
6516 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6517 negative infinity on POWER6 or lower.
6518 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6519
2848b105
MR
65202013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6521
6522 [BZ #15442]
6523 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6524 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6525 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6526 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6527 (_FP_SETQNAN): New macro.
6528 (_FP_SETQNAN_SEMIRAW): Likewise.
6529 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6530 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6531 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6532 (FP_EXTEND): Use _FP_FRAC_SNANP.
6533 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6534 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6535 into account.
6536 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6537 New macro.
6538 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6539 Likewise.
6540
323e5cb7
JM
65412013-05-16 Joseph Myers <joseph@codesourcery.com>
6542
c58b274f
JM
6543 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6544 with DIVIDE_BY_ZERO_EXCEPTION.
6545 (gamma_test_data): Likewise.
6546 (lgamma_test_data): Likewise.
6547 (log_test_data): Likewise.
6548 (log10_test_data): Likewise.
6549 (log2_test_data): Likewise.
6550 (tgamma_test_data): Likewise.
6551
0ab34904
JM
6552 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6553 (acos_test_tonearest): Likewise.
6554 (acos_test_towardzero): Likewise.
6555 (acos_test_downward): Likewise.
6556 (acos_test_upward): Likewise.
6557 (acosh_test): Likewise.
6558 (asin_test): Likewise.
6559 (asin_test_tonearest): Likewise.
6560 (asin_test_towardzero): Likewise.
6561 (asin_test_downward): Likewise.
6562 (asin_test_upward): Likewise.
6563 (asinh_test): Likewise.
6564 (atan_test): Likewise.
6565 (atanh_test): Likewise.
6566 (atan2_test): Likewise.
6567 (cabs_test): Likewise.
6568 (cacos_test): Likewise.
6569 (cacosh_test): Likewise.
6570 (casin_test): Likewise.
6571 (casinh_test): Likewise.
6572 (catan_test): Likewise.
6573 (catanh_test): Likewise.
6574 (cbrt_test): Likewise.
6575 (ccos_test): Likewise.
6576 (ccosh_test): Likewise.
6577 (cexp_test): Likewise.
6578 (clog_test): Likewise.
6579 (clog10_test): Likewise.
6580 (cos_test): Likewise.
6581 (cos_test_tonearest): Likewise.
6582 (cos_test_towardzero): Likewise.
6583 (cos_test_downward): Likewise.
6584 (cos_test_upward): Likewise.
6585 (cosh_test): Likewise.
6586 (cosh_test_tonearest): Likewise.
6587 (cosh_test_towardzero): Likewise.
6588 (cosh_test_downward): Likewise.
6589 (cosh_test_upward): Likewise.
6590 (cpow_test): Likewise.
6591 (csin_test): Likewise.
6592 (csinh_test): Likewise.
6593 (csqrt_test): Likewise.
6594 (ctan_test): Likewise.
6595 (ctan_test_tonearest): Likewise.
6596 (ctan_test_towardzero): Likewise.
6597 (ctan_test_downward): Likewise.
6598 (ctan_test_upward): Likewise.
6599 (ctanh_test): Likewise.
6600 (ctanh_test_tonearest): Likewise.
6601 (ctanh_test_towardzero): Likewise.
6602 (ctanh_test_downward): Likewise.
6603 (ctanh_test_upward): Likewise.
6604 (erf_test): Likewise.
6605 (erfc_test): Likewise.
6606 (exp_test): Likewise.
6607 (exp_test_tonearest): Likewise.
6608 (exp_test_towardzero): Likewise.
6609 (exp_test_downward): Likewise.
6610 (exp_test_upward): Likewise.
6611 (exp10_test): Likewise.
6612 (exp2_test): Likewise.
6613 (expm1_test): Likewise.
6614 (fmod_test): Likewise.
6615 (gamma_test): Likewise.
6616 (hypot_test): Likewise.
6617 (j0_test): Likewise.
6618 (j1_test): Likewise.
6619 (jn_test): Likewise.
6620 (lgamma_test): Likewise.
6621 (log_test): Likewise.
6622 (log10_test): Likewise.
6623 (log1p_test): Likewise.
6624 (log2_test): Likewise.
6625 (logb_test_downward): Likewise.
6626 (pow_test): Likewise.
6627 (pow_test_tonearest): Likewise.
6628 (pow_test_towardzero): Likewise.
6629 (pow_test_downward): Likewise.
6630 (pow_test_upward): Likewise.
6631 (remainder_test): Likewise.
6632 (remquo_test): Likewise.
6633 (sin_test): Likewise.
6634 (sin_test_tonearest): Likewise.
6635 (sin_test_towardzero): Likewise.
6636 (sin_test_downward): Likewise.
6637 (sin_test_upward): Likewise.
6638 (sincos_test): Likewise.
6639 (sinh_test): Likewise.
6640 (sinh_test_tonearest): Likewise.
6641 (sinh_test_towardzero): Likewise.
6642 (sinh_test_downward): Likewise.
6643 (sinh_test_upward): Likewise.
6644 (sqrt_test): Likewise.
6645 (tan_test): Likewise.
6646 (tan_test_tonearest): Likewise.
6647 (tan_test_towardzero): Likewise.
6648 (tan_test_downward): Likewise.
6649 (tan_test_upward): Likewise.
6650 (tanh_test): Likewise.
6651 (tgamma_test): Likewise.
6652 (y0_test): Likewise.
6653 (y1_test): Likewise.
6654 (yn_test): Likewise.
6655
323e5cb7
JM
6656 * math/gen-libm-test.pl (adjust_arg): Remove function.
6657 (special_function): Remove argument $in_func. Only handle
6658 generating output for tables of tests, not inside functions.
6659 (parse_args): Likewise.
6660 (generate_testfile): Remove variable $in_func. Update call to
6661 parse_args.
6662 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6663 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6664 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6665 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6666 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6667 (MAX_VALUE_INIT): Rename macro to max_value.
6668 (MIN_VALUE_INIT): Rename macro to min_value.
6669 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6670 (plus_zero): Remove variable.
6671 (minus_zero): Likewise.
6672 (plus_infty): Likewise.
6673 (minus_infty): Likewise.
6674 (qnan_value): Likewise.
6675 (max_value): Likewise.
6676 (min_value): Likewise.
6677 (min_subnorm_value): Likewise.
6678
e054f494
RA
66792013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6680
6681 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6682 uint64_t or uint32_t usage.
6683 * crypt/sha256-block.c: Likewise.
6684 * crypt/sha256-crypt.c: Likewise.
6685 * crypt/sha256.c: Likewise.
6686 * crypt/sha512-block.c: Likewise.
6687 * crypt/sha512-crypt.c: Likewise.
6688 * crypt/sha512.c: Likewise.
6689 * debug/backtrace-tst.c: Likewise.
6690 * debug/pcprofiledump.c: Likewise.
6691 * elf/cache.c: Likewise.
6692 * elf/dl-cache.c: Likewise.
6693 * elf/dl-misc.c: Likewise.
6694 * elf/dl-profile.c: Likewise.
6695 * elf/dl-support.c: Likewise.
6696 * elf/ldconfig.c: Likewise.
6697 * elf/sprof.c: Likewise.
6698 * iconv/dummy-repertoire.c: Likewise.
6699 * iconv/iconv_charmap.c: Likewise.
6700 * iconv/skeleton.c: Likewise.
6701 * iconvdata/8bit-generic.c: Likewise.
6702 * iconvdata/cp737.h: Likewise.
6703 * iconvdata/cp775.h: Likewise.
6704 * iconvdata/ibm1008.h: Likewise.
6705 * iconvdata/ibm1025.h: Likewise.
6706 * iconvdata/ibm1046.h: Likewise.
6707 * iconvdata/ibm1097.h: Likewise.
6708 * iconvdata/ibm1112.h: Likewise.
6709 * iconvdata/ibm1122.h: Likewise.
6710 * iconvdata/ibm1123.h: Likewise.
6711 * iconvdata/ibm1124.h: Likewise.
6712 * iconvdata/ibm1129.h: Likewise.
6713 * iconvdata/ibm1130.h: Likewise.
6714 * iconvdata/ibm1132.h: Likewise.
6715 * iconvdata/ibm1133.h: Likewise.
6716 * iconvdata/ibm1137.h: Likewise.
6717 * iconvdata/ibm1140.h: Likewise.
6718 * iconvdata/ibm1141.h: Likewise.
6719 * iconvdata/ibm1142.h: Likewise.
6720 * iconvdata/ibm1143.h: Likewise.
6721 * iconvdata/ibm1144.h: Likewise.
6722 * iconvdata/ibm1145.h: Likewise.
6723 * iconvdata/ibm1146.h: Likewise.
6724 * iconvdata/ibm1147.h: Likewise.
6725 * iconvdata/ibm1148.h: Likewise.
6726 * iconvdata/ibm1149.h: Likewise.
6727 * iconvdata/ibm1153.h: Likewise.
6728 * iconvdata/ibm1154.h: Likewise.
6729 * iconvdata/ibm1155.h: Likewise.
6730 * iconvdata/ibm1156.h: Likewise.
6731 * iconvdata/ibm1157.h: Likewise.
6732 * iconvdata/ibm1158.h: Likewise.
6733 * iconvdata/ibm1160.h: Likewise.
6734 * iconvdata/ibm1161.h: Likewise.
6735 * iconvdata/ibm1162.h: Likewise.
6736 * iconvdata/ibm1163.h: Likewise.
6737 * iconvdata/ibm1164.h: Likewise.
6738 * iconvdata/ibm1166.h: Likewise.
6739 * iconvdata/ibm1167.h: Likewise.
6740 * iconvdata/ibm12712.h: Likewise.
6741 * iconvdata/ibm1390.h: Likewise.
6742 * iconvdata/ibm1399.h: Likewise.
6743 * iconvdata/ibm16804.h: Likewise.
6744 * iconvdata/ibm4517.h: Likewise.
6745 * iconvdata/ibm4899.h: Likewise.
6746 * iconvdata/ibm4909.h: Likewise.
6747 * iconvdata/ibm4971.h: Likewise.
6748 * iconvdata/ibm5347.h: Likewise.
6749 * iconvdata/ibm803.h: Likewise.
6750 * iconvdata/ibm856.h: Likewise.
6751 * iconvdata/ibm901.h: Likewise.
6752 * iconvdata/ibm902.h: Likewise.
6753 * iconvdata/ibm9030.h: Likewise.
6754 * iconvdata/ibm9066.h: Likewise.
6755 * iconvdata/ibm921.h: Likewise.
6756 * iconvdata/ibm922.h: Likewise.
6757 * iconvdata/ibm9448.h: Likewise.
6758 * iconvdata/isiri-3342.h: Likewise.
6759 * iconvdata/jis0201.h: Likewise.
6760 * include/link.h: Likewise.
6761 * include/netdb.h: Likewise.
6762 * inet/check_native.c: Likewise.
6763 * inet/check_pf.c: Likewise.
6764 * inet/getipv4sourcefilter.c: Likewise.
6765 * inet/getnameinfo.c: Likewise.
6766 * inet/getsourcefilter.c: Likewise.
6767 * inet/htonl.c: Likewise.
6768 * inet/setipv4sourcefilter.c: Likewise.
6769 * inet/setsourcefilter.c: Likewise.
6770 * inet/test-inet6_opt.c: Likewise.
6771 * inet/tst-network.c: Likewise.
6772 * locale/C-collate.c: Likewise.
6773 * locale/C-ctype.c: Likewise.
6774 * locale/C-time.c: Likewise.
6775 * locale/C-translit.h: Likewise.
6776 * locale/loadarchive.c: Likewise.
6777 * locale/programs/3level.h: Likewise.
6778 * locale/programs/charmap.c: Likewise.
6779 * locale/programs/charmap.h: Likewise.
6780 * locale/programs/ld-address.c: Likewise.
6781 * locale/programs/ld-collate.c: Likewise.
6782 * locale/programs/ld-ctype.c: Likewise.
6783 * locale/programs/ld-identification.c: Likewise.
6784 * locale/programs/ld-measurement.c: Likewise.
6785 * locale/programs/ld-messages.c: Likewise.
6786 * locale/programs/ld-monetary.c: Likewise.
6787 * locale/programs/ld-name.c: Likewise.
6788 * locale/programs/ld-numeric.c: Likewise.
6789 * locale/programs/ld-paper.c: Likewise.
6790 * locale/programs/ld-telephone.c: Likewise.
6791 * locale/programs/ld-time.c: Likewise.
6792 * locale/programs/linereader.c: Likewise.
6793 * locale/programs/locale.c: Likewise.
6794 * locale/programs/locarchive.c: Likewise.
6795 * locale/programs/locfile.h: Likewise.
6796 * locale/programs/repertoire.c: Likewise.
6797 * locale/programs/simple-hash.c: Likewise.
6798 * locale/programs/simple-hash.h: Likewise.
6799 * malloc/memusage.c: Likewise.
6800 * malloc/memusagestat.c: Likewise.
6801 * nis/nis_defaults.c: Likewise.
6802 * nis/nis_hash.c: Likewise.
6803 * nis/nis_print.c: Likewise.
6804 * nis/nis_xdr.c: Likewise.
6805 * nscd/connections.c: Likewise.
6806 * nscd/hstcache.c: Likewise.
6807 * nscd/nscd_gethst_r.c: Likewise.
6808 * nscd/nscd_getserv_r.c: Likewise.
6809 * nscd/nscd_helper.c: Likewise.
6810 * nscd/servicescache.c: Likewise.
6811 * nss/makedb.c: Likewise.
6812 * nss/nss_db/db-XXX.c: Likewise.
6813 * nss/nss_db/db-initgroups.c: Likewise.
6814 * nss/nss_db/db-netgrp.c: Likewise.
6815 * nss/nss_files/files-network.c: Likewise.
6816 * nss/nss_files/files-parse.c: Likewise.
6817 * posix/bug-regex5.c: Likewise.
6818 * posix/fnmatch_loop.c: Likewise.
6819 * posix/regcomp.c: Likewise.
6820 * posix/regexec.c: Likewise.
6821 * posix/tst-rfc3484-2.c: Likewise.
6822 * posix/tst-rfc3484-3.c: Likewise.
6823 * posix/tst-rfc3484.c: Likewise.
6824 * resolv/nss_dns/dns-canon.c: Likewise.
6825 * resolv/nss_dns/dns-network.c: Likewise.
6826 * resolv/res_init.c: Likewise.
6827 * resolv/res_mkquery.c: Likewise.
6828 * resolv/tst-aton.c: Likewise.
6829 * stdlib/cxa_atexit.c: Likewise.
6830 * stdlib/cxa_finalize.c: Likewise.
6831 * stdlib/gen-fpioconst.c: Likewise.
6832 * stdlib/strtol_l.c: Likewise.
6833 * string/tst-endian.c: Likewise.
6834 * sunrpc/auth_des.c: Likewise.
6835 * sunrpc/clnt_udp.c: Likewise.
6836 * sunrpc/rtime.c: Likewise.
6837 * sunrpc/svcauth_des.c: Likewise.
6838 * sunrpc/xdr.c: Likewise.
6839 * sunrpc/xdr_intXX_t.c: Likewise.
6840 * sunrpc/xdr_rec.c: Likewise.
6841 * sysdeps/generic/ldconfig.h: Likewise.
6842 * sysdeps/generic/ldsodefs.h: Likewise.
6843 * sysdeps/generic/memusage.h: Likewise.
6844 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6845 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6846 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6847 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6848 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6849 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6850 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6851 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6852 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6854 * sysdeps/posix/getaddrinfo.c: Likewise.
6855 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6856 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6857 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6858 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6859 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6860 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6861 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6862 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6863 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6864 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6865 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6866 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6867 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6868 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6869 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6870 * sysdeps/x86_64/dl-tls.h: Likewise.
6871 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6872 * time/alt_digit.c: Likewise.
6873 * time/era.c: Likewise.
6874 * wcsmbs/tst-c16c32-1.c: Likewise.
6875
8c75f674
JM
68762013-05-16 Joseph Myers <joseph@codesourcery.com>
6877
6878 * math/libm-test.inc (struct test_sincos_data): New type.
6879 (RUN_TEST_LOOP_sincos): New macro.
6880 (sincos_test_data): New variable.
6881 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6882
e6e49e59
RH
68832013-05-16 Richard Henderson <rth@redhat.com>
6884
6885 * math/atest-exp2.c (LIMB64): New macro.
6886 (CONSTSZ): New macro.
6887 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6888 (hexdig): Move ...
6889 (print_mpn_fp): ... to function scope.
6890 (read_mpn_hex): Remove.
6891 (get_log2): Remove.
6892 (exp2_mpn): Use mp_log2.
6893 (main): Use mp_exp1.
6894
15c7c18d
JM
68952013-05-16 Joseph Myers <joseph@codesourcery.com>
6896
105a07df
JM
6897 * math/libm-test.inc: Remove comment about not testing "inexact"
6898 exceptions.
6899 (INEXACT_EXCEPTION): New macro.
6900 (NO_INEXACT_EXCEPTION): Likewise.
6901 (INVALID_EXCEPTION_OK): Update value.
6902 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6903 (OVERFLOW_EXCEPTION_OK): Likewise.
6904 (UNDERFLOW_EXCEPTION_OK): Likewise.
6905 (IGNORE_ZERO_INF_SIGN): Likewise.
6906 (ERRNO_UNCHANGED): Likewise.
6907 (ERRNO_EDOM): Likewise.
6908 (ERRNO_ERANGE): Likewise.
6909 (test_exceptions): Handle testing "inexact" exceptions.
6910 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6911 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6912 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6913 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6914 INEXACT_EXCEPTION.
6915 (rint_towardzero_test_data): Likewise.
6916 (rint_downward_test_data): Likewise.
6917 (rint_upward_test_data): Likewise.
6918
e9eee333
JM
6919 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6920 with OVERFLOW_EXCEPTION.
6921 (exp10_test_data): Likewise.
6922 (exp2_test_data): Likewise.
6923 (expm1_test_data): Likewise.
6924 (lgamma_test_data): Likewise.
6925 (pow_test_data): Likewise.
6926 (tgamma_test_data): Likewise.
6927 (yn_test_data): Remove duplicate test of overflow.
6928
1c38ff73
JM
6929 * math/libm-test.inc (struct test_cc_c_data): New type.
6930 (RUN_TEST_LOOP_cc_c): New macro.
6931 (cpow_test_data): New variable.
6932 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6933
15c7c18d
JM
6934 * math/libm-test.inc (struct test_f_L_data): New type.
6935 (RUN_TEST_LOOP_f_L): New macro.
6936 (llrint_test_data): New variable.
6937 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6938 (llrint_tonearest_test_data): New variable.
6939 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6940 (llrint_towardzero_test_data): New variable.
6941 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6942 (llrint_downward_test_data): New variable.
6943 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6944 (llrint_upward_test_data): New variable.
6945 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6946 (llround_test_data): New variable.
6947 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6948
f137ff13
PC
69492013-05-13 Peter Collingbourne <pcc@google.com>
6950
6951 * math/atest-exp2.c (get_log2): Remove const attribute.
6952
3608cb24
JM
69532013-05-15 Joseph Myers <joseph@codesourcery.com>
6954
6955 * math/libm-test.inc (struct test_f_l_data): New type.
6956 (RUN_TEST_LOOP_f_l): New macro.
6957 (lrint_test_data): New variable.
6958 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6959 (lrint_tonearest_test_data): New variable.
6960 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6961 (lrint_towardzero_test_data): New variable.
6962 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6963 (lrint_downward_test_data): New variable.
6964 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6965 (lrint_upward_test_data): New variable.
6966 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6967 (lround_test_data): New variable.
6968 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6969
39b1f617
PC
69702013-05-15 Peter Collingbourne <pcc@google.com>
6971
1deff3dc
PC
6972 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6973 (EXTRACT_WORDS64) Use where appropriate.
6974 (INSERT_WORDS64) Likewise.
6975
791f3ba0
PC
6976 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6977 constraints with x constraints.
6978 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6979
39b1f617
PC
6980 * malloc/obstack.c (_obstack_compat): Add initializer.
6981
12fba011
EM
69822013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6983
6984 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6985 si_trapno and add si_addr_lsb to _sifields.sigfault.
6986 (si_trapno): Remove macro.
6987 (si_addr_lsb): Define new macro.
6988 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6989
d369f531
JM
69902013-05-15 Joseph Myers <joseph@codesourcery.com>
6991
b861c6c4
JM
6992 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6993 instead of TEST_f_l.
6994 (llrint_test_tonearest): Likewise.
6995 (llrint_test_towardzero): Likewise.
6996 (llrint_test_downward): Likewise.
6997 (llrint_test_upward): Likewise.
6998 (llround_test): Likewise.
6999
7abeee12
JM
7000 * math/libm-test.inc (struct test_f_i_data): Add comment.
7001 (RUN_TEST_LOOP_f_b): New macro.
7002 (RUN_TEST_LOOP_f_b_tg): Likewise.
7003 (finite_test_data): New variable.
7004 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7005 (isfinite_test_data): New variable.
7006 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7007 (isinf_test_data): New variable.
7008 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7009 (isnan_test_data): New variable.
7010 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7011 (isnormal_test_data): New variable.
7012 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7013 (issignaling_test_data): New variable.
7014 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7015 (signbit_test_data): New variable.
7016 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7017
cbe8c4d3
JM
7018 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7019 with INVALID_EXCEPTION.
7020 (acosh_test_data): Likewise.
7021 (asin_test_data): Likewise.
7022 (atanh_test_data): Likewise.
7023 (fmod_test_data): Likewise.
7024 (log_test_data): Likewise.
7025 (log10_test_data): Likewise.
7026 (log2_test_data): Likewise.
7027 (pow_test_data): Likewise.
7028 (sqrt_test_data): Likewise.
7029 (y0_test_data): Likewise.
7030 (y1_test_data): Likewise.
7031 (yn_test_data): Likewise.
7032
5575c0e5
JM
7033 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7034 function contents.
7035
d369f531
JM
7036 * math/libm-test.inc (struct test_ff_i_data): New type.
7037 (RUN_TEST_LOOP_ff_i_tg): New macro.
7038 (isgreater_test_data): New variable.
7039 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7040 (isgreaterequal_test_data): New variable.
7041 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7042 (isless_test_data): New variable.
7043 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7044 (islessequal_test_data): New variable.
7045 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7046 (islessgreater_test_data): New variable.
7047 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7048 (isunordered_test_data): New variable.
7049 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7050
781fd748
DM
70512013-05-14 David S. Miller <davem@davemloft.net>
7052
7053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7054
87aa21df
JM
70552013-05-14 Joseph Myers <joseph@codesourcery.com>
7056
5e908270
JM
7057 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7058
f71172e5
JM
7059 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7060 extra_test to int.
7061 (struct test_f_i_data): Change type of max_ulp to int.
7062
8cfa635a
JM
7063 * math/libm-test.inc (test_ffI_f1_data): New type.
7064 (RUN_TEST_LOOP_ffI_f1): New macro.
7065 (remquo_test_data): New variable.
7066 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7067
2bcb36b2
JM
7068 * setjmp/tst-setjmp-fp.c: New file.
7069 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7070 (link-libm): New variable.
7071 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7072
acbd839a
JM
7073 * math/libm-test.inc (struct test_f_i_data): New type.
7074 (RUN_TEST_LOOP_f_i): New macro.
7075 (RUN_TEST_LOOP_f_i_tg): Likewise.
7076 (fpclassify_test_data): New variable.
7077 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7078 (ilogb_test_data): New variable.
7079 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7080
e414d745
JM
7081 * math/libm-test.inc (scalbln_test): Correct function name in END
7082 call.
7083
d9c2a0fd
JM
7084 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7085 (RUN_TEST_LOOP_fI_f1): New macro.
7086 (frexp_test_data): New variable.
7087 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7088
9dc9095d
JM
7089 * math/libm-test.inc (struct test_fF_f1_data): New type.
7090 (RUN_TEST_LOOP_fF_f1): New macro.
7091 (modf_test_data): New variable.
7092 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7093
87aa21df
JM
7094 * math/libm-test.inc (struct test_f_f1_data): New type.
7095 (RUN_TEST_LOOP_f_f1): New macro.
7096 (gamma_test_data): New variable.
7097 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7098 (lgamma_test_data): New variable.
7099 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7100
141af660
CD
71012013-05-13 Carlos O'Donell <carlos@redhat.com>
7102
7103 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7104 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7105 (main): Comment "tls" pseudo-hwcap.
7106
6d33265c
JM
71072013-05-13 Joseph Myers <joseph@codesourcery.com>
7108
68fc074c
JM
7109 * math/libm-test.inc (struct test_fl_f_data): New type.
7110 (RUN_TEST_LOOP_fl_f): New variable.
7111 (scalbln_test_data): New variable.
7112 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7113
243216e1
JM
7114 * math/libm-test.inc (struct test_fi_f_data): New type.
7115 (RUN_TEST_LOOP_fi_f): New macro.
7116 (ldexp_test_data): New variable.
7117 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7118 (scalbn_test_data): New variable.
7119 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7120
6a1992e2
JM
7121 * math/libm-test.inc (struct test_c_f_data): New type.
7122 (RUN_TEST_LOOP_c_f): New macro.
7123 (cabs_test_data): New variable.
7124 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7125 (carg_test_data): New variable.
7126 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7127 (cimag_test_data): New variable.
7128 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7129 (creal_test_data): New variable.
7130 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7131
0e400df5
JM
7132 * math/libm-test.inc (struct test_if_f_data): New type.
7133 (RUN_TEST_LOOP_if_f): New macro.
7134 (jn_test_data): New variable.
7135 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7136 (yn_test_data): New variable.
7137 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7138
6d33265c
JM
7139 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7140
f98ece5f
AZ
71412013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7142
7143 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7144 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7145
0f7d347b
SP
71462013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7147
43fe811b
SP
7148 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7149 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7150 (bench-deps): Add bench-timing.h.
7151 * benchtests-bench-skeleton.c: Include bench-timing.h.
7152 (main): Use TIMING_* macros instead of clock_gettime.
7153 * benchtests/bench-timing.h: New file.
7154
0f7d347b
SP
7155 [BZ #14582]
7156 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7157 Renamed from _LIB_VERSION.
7158 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7159
601a3a5f
JM
71602013-05-12 Joseph Myers <joseph@codesourcery.com>
7161
4f184d30
JM
7162 * math/libm-test.inc (struct test_fff_f_data): New type.
7163 (RUN_TEST_LOOP_fff_f): New macro.
7164 (fma_test_data): New variable.
7165 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7166 (fma_towardzero_test_data): New variable.
7167 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7168 (fma_downward_test_data): New variable.
7169 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7170 (fma_upward_test_data): New variable.
7171 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7172
08198877
JM
7173 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7174 (struct test_c_c_data): New type.
7175 (RUN_TEST_LOOP_c_c): New macro.
7176 (cacos_test_data): New variable.
7177 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7178 (cacosh_test_data): New variable.
7179 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7180 (casin_test_data): New variable.
7181 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7182 (casinh_test_data): New variable.
7183 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7184 (catan_test_data): New variable.
7185 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7186 (catanh_test_data): New variable.
7187 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7188 (ccos_test_data): New variable.
7189 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7190 (ccosh_test_data): New variable.
7191 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7192 (cexp_test_data): New variable.
7193 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7194 (clog_test_data): New variable.
7195 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7196 (clog10_test_data): New variable.
7197 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7198 (conj_test_data): New variable.
7199 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7200 (cproj_test_data): New variable.
7201 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7202 (csin_test_data): New variable.
7203 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7204 (csinh_test_data): New variable.
7205 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7206 (csqrt_test_data): New variable.
7207 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7208 (ctan_test_data): New variable.
7209 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7210 (ctan_tonearest_test_data): New variable.
7211 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7212 (ctan_towardzero_test_data): New variable.
7213 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7214 (ctan_downward_test_data): New variable.
7215 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7216 (ctan_upward_test_data): New variable.
7217 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7218 (ctanh_test_data): New variable.
7219 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7220 (ctanh_tonearest_test_data): New variable.
7221 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7222 (ctanh_towardzero_test_data): New variable.
7223 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7224 (ctanh_downward_test_data): New variable.
7225 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7226 (ctanh_upward_test_data): New variable.
7227 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7228 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7229 of BUILD_COMPLEX.
7230
601a3a5f
JM
7231 * math/libm-test.inc (struct test_ff_f_data): New type.
7232 (struct test_ff_f_data_nexttoward): Likewise.
7233 (RUN_TEST_LOOP_2_f): New macro.
7234 (RUN_TEST_LOOP_ff_f): Likewise.
7235 (atan2_test_data): New variable.
7236 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7237 (copysign_test_data): New variable.
7238 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7239 (fdim_test_data): New variable.
7240 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7241 (fmax_test_data): New variable.
7242 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7243 (fmin_test_data): New variable.
7244 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7245 (fmod_test_data): New variable.
7246 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7247 (hypot_test_data): New variable.
7248 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7249 (nextafter_test_data): New variable.
7250 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7251 (nexttoward_test_data): New variable.
7252 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7253 (pow_test_data): New variable.
7254 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7255 (pow_tonearest_test_data): New variable.
7256 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7257 (pow_towardzero_test_data): New variable.
7258 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7259 (pow_downward_test_data): New variable.
7260 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7261 (pow_upward_test_data): New variable.
7262 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7263 (remainder_test_data): New variable.
7264 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7265 (scalb_test_data): New variable.
7266 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7267 * sysdeps/i386/fpu/libm-test-ulps: Update.
7268
74c57478
JM
72692013-05-11 Joseph Myers <joseph@codesourcery.com>
7270
8329e4da
JM
7271 * math/libm-test.inc (fma_test): Use max_value instead of local
7272 variable fltmax.
7273 (nextafter_test): Likewise.
7274
74c57478
JM
7275 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7276 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7277 (acos_downward_test_data): New variable.
7278 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7279 (acos_upward_test_data): New variable.
7280 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7281 (acosh_test_data): New variable.
7282 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7283 (asin_test_data): New variable.
7284 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7285 (asin_tonearest_test_data): New variable.
7286 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7287 (asin_towardzero_test_data): New variable.
7288 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7289 (asin_downward_test_data): New variable.
7290 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7291 (asin_upward_test_data): New variable.
7292 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7293 (asinh_test_data): New variable.
7294 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7295 (atan_test_data): New variable.
7296 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7297 (atanh_test_data): New variable.
7298 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7299 (cbrt_test_data): New variable.
7300 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7301 (ceil_test_data): New variable.
7302 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7303 (cos_test_data): New variable.
7304 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7305 (cos_tonearest_test_data): New variable.
7306 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7307 (cos_towardzero_test_data): New variable.
7308 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7309 (cos_downward_test_data): New variable.
7310 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7311 (cos_upward_test_data): New variable.
7312 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7313 (cosh_test_data): New variable.
7314 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7315 (cosh_tonearest_test_data): New variable.
7316 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7317 (cosh_towardzero_test_data): New variable.
7318 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7319 (cosh_downward_test_data): New variable.
7320 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7321 (cosh_upward_test_data): New variable.
7322 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7323 (erf_test_data): New variable.
7324 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7325 (erfc_test_data): New variable.
7326 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7327 (exp_test_data): New variable.
7328 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7329 (exp_tonearest_test_data): New variable.
7330 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7331 (exp_towardzero_test_data): New variable.
7332 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7333 (exp_downward_test_data): New variable.
7334 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7335 (exp_upward_test_data): New variable.
7336 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7337 (exp10_test_data): New variable.
7338 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7339 (exp2_test_data): New variable.
7340 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7341 (expm1_test_data): New variable.
7342 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7343 (fabs_test_data): New variable.
7344 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7345 (floor_test_data): New variable.
7346 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7347 (j0_test_data): New variable.
7348 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7349 (j1_test_data): New variable.
7350 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7351 (log_test_data): New variable.
7352 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7353 (log10_test_data): New variable.
7354 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7355 (log1p_test_data): New variable.
7356 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7357 (log2_test_data): New variable.
7358 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7359 (logb_test_data): New variable.
7360 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7361 (logb_downward_test_data): New variable.
7362 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7363 (nearbyint_test_data): New variable.
7364 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7365 (rint_test_data): New variable.
7366 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7367 (rint_tonearest_test_data): New variable.
7368 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7369 (rint_towardzero_test_data): New variable.
7370 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7371 (rint_downward_test_data): New variable.
7372 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7373 (rint_upward_test_data): New variable.
7374 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7375 (round_test_data): New variable.
7376 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7377 (sin_test_data): New variable.
7378 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7379 (sin_tonearest_test_data): New variable.
7380 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7381 (sin_towardzero_test_data): New variable.
7382 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7383 (sin_downward_test_data): New variable.
7384 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7385 (sin_upward_test_data): New variable.
7386 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7387 (sinh_test_data): New variable.
7388 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7389 (sinh_tonearest_test_data): New variable.
7390 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7391 (sinh_towardzero_test_data): New variable.
7392 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7393 (sinh_downward_test_data): New variable.
7394 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7395 (sinh_upward_test_data): New variable.
7396 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7397 (sqrt_test_data): New variable.
7398 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7399 (tan_test_data): New variable.
7400 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7401 (tan_tonearest_test_data): New variable.
7402 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7403 (tan_towardzero_test_data): New variable.
7404 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7405 (tan_downward_test_data): New variable.
7406 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7407 (tan_upward_test_data): New variable.
7408 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7409 (tanh_test_data): New variable.
7410 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7411 (tgamma_test_data): New variable.
7412 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7413 (trunc_test_data): New variable.
7414 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7415 (y0_test_data): New variable.
7416 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7417 (y1_test_data): New variable.
7418 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7419 (significand_test_data): New variable.
7420 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7421
7187d844
CG
74222013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7423
7424 [BZ #12387]
7425 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7426
f63fae73
PT
74272013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7428
7429 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7430
8a67a4b3
AJ
74312013-05-10 Andreas Jaeger <aj@suse.de>
7432
7433 [BZ #15448]
7434 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7435 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7436
51df539d
JM
74372013-05-10 Joseph Myers <joseph@codesourcery.com>
7438
7439 * math/gen-libm-test.pl (adjust_arg): New function.
7440 (special_functions): Handle generating output in both functions
7441 and arrays.
7442 (parse_args): Likewise.
7443 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7444 $in_func argument to parse_args.
7445 * math/libm-test.inc (struct test_f_f_data): New type.
7446 (IF_ROUND_INIT_): New macro.
7447 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7448 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7449 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7450 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7451 (ROUND_RESTORE_): Likewise.
7452 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7453 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7454 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7455 (ROUND_RESTORE_FE_UPWARD): Likewise.
7456 (RUN_TEST_LOOP_f_f): New macro.
7457 (acos_test_data): New variable.
7458 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7459 (acos_tonearest_test_data): New variable.
7460 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7461
5c637fe5
SP
74622013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7463
7464 * benchtests/bench-skeleton.c (startup): Fix coding style.
7465
ab2b9461
JM
74662013-05-10 Joseph Myers <joseph@codesourcery.com>
7467
7468 [BZ #6809]
7469 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7470 negative infinity argument.
7471 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7472 negative infinity argument.
7473 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7474 negative infinity argument.
7475 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7476 domain errors.
7477
4c0fe6fe
FW
74782013-05-10 Florian Weimer <fweimer@redhat.com>
7479
7480 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7481 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7482 * iconv/iconv_prog.c (main): Likewise.
7483 * locale/programs/charmap-dir.c (charmap_readdir)
7484 (fopen_uncompressed): Likewise.
7485 * locale/programs/locfile.c (siblings_uncached)
7486 (write_locale_data): Use lstat64 instead of lstat.
7487 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7488 stat.
7489
a3375d29
AJ
74902013-05-10 Andreas Jaeger <aj@suse.de>
7491
7492 [BZ #15395]
7493 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7494 localization.
7495 Include <locale.h>.
7496
36129722
CD
74972013-05-09 Carlos O'Donell <carlos@redhat.com>
7498
7499 * elf/dl-close.c (_dl_close_worker): Add comments.
7500
faa7f811
JM
75012013-05-09 Joseph Myers <joseph@codesourcery.com>
7502
ed41ffef
JM
7503 [BZ #15359]
7504 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7505 high part of pi/2.
7506 (__ieee754_rem_pio2l): Update comments.
7507
d0213cd0
JM
7508 [BZ #15429]
7509 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7510 high part of pi/2.
7511 (__ieee754_rem_pio2l): Update comments.
7512
0d3e777a
JM
7513 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7514 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7515
24f56066
JM
7516 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7517 M_PI_4l.
7518
faa7f811
JM
7519 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7520 (M_PI_34_LOG10El): Likewise.
7521 (M_PI2_LOG10El): Likewise.
7522 (M_PI4_LOG10El): Likewise.
7523 (M_PI_LOG10El): Likewise.
7524
e9a5e0fd
AZ
75252013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7526
7527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7528
d8cd06db
JM
75292013-05-08 Joseph Myers <joseph@codesourcery.com>
7530
a0d9f9d7
JM
7531 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7532 (MINUS_ZERO_INIT): Likewise.
7533 (PLUS_INFTY_INIT): Likewise.
7534 (MINUS_INFTY_INIT): Likewise.
7535 (QNAN_VALUE_INIT): Likewise.
7536 (MAX_VALUE_INIT): Likewise.
7537 (MIN_VALUE_INIT): Likewise.
7538 (MIN_SUBNORM_VALUE_INIT): Likewise.
7539 (plus_zero): Initialize with PLUS_ZERO_INIT.
7540 (minus_zero): Initialize with MINUS_ZERO_INIT.
7541 (plus_infty): Initialize with PLUS_INFTY_INIT.
7542 (minus_infty): Initialize with MINUS_INFTY_INIT.
7543 (qnan_value): Initialize with QNAN_VALUE_INIT.
7544 (max_value): Initialize with MAX_VALUE_INIT.
7545 (min_value): Initialize with MIN_VALUE_INIT.
7546 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7547
ae08db3b
JM
7548 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7549 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7550 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7551 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7552
f44bf14a
JM
7553 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7554 (RUN_TEST_2_f): Likewise.
7555 (RUN_TEST_ff_f): Likewise.
7556 (RUN_TEST_fi_f): Likewise.
7557 (RUN_TEST_fl_f): Likewise.
7558 (RUN_TEST_fff_f): Likewise.
7559 (RUN_TEST_c_f): Likewise.
7560 (RUN_TEST_f_f1): Likewise.
7561 (RUN_TEST_fF_f1): Likewise.
7562 (RUN_TEST_fI_f1): Likewise.
7563 (RUN_TEST_ffI_f1): Likewise.
7564 (RUN_TEST_c_c): Likewise.
7565 (RUN_TEST_cc_c): Likewise.
7566 (RUN_TEST_f_i): Likewise.
7567 (RUN_TEST_f_i_tg): Likewise.
7568 (RUN_TEST_ff_i_tg): Likewise.
7569 (RUN_TEST_f_b): Likewise.
7570 (RUN_TEST_f_b_tg): Likewise.
7571 (RUN_TEST_f_l): Likewise.
7572 (RUN_TEST_f_L): Likewise.
7573 (RUN_TEST_sincos): Likewise.
7574 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7575 whether to show exceptions. Do not include ");\n" in return
7576 value.
7577 (special_functions): Output call to RUN_TEST_sincos instead of
7578 check_float calls. Update calls to new_test.
7579 (parse_args): Output call to single RUN_TEST_* macro instead of
7580 check_* calls and other assignments. Update calls to new_test.
7581
d8cd06db
JM
7582 [BZ #2546]
7583 [BZ #2560]
7584 [BZ #5159]
7585 [BZ #15426]
7586 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7587 input to result for tgamma overflow.
7588 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7589 (gamma_coeff): New variable.
7590 (NCOEFF): New macro.
7591 (gamma_positive): New function.
7592 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7593 underflow here. Use gamma_positive instead of exp (lgamma) for
7594 other arguments.
7595 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7596 (gamma_coeff): New variable.
7597 (NCOEFF): New macro.
7598 (gammaf_positive): New function.
7599 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7600 underflow here. Use gamma_positive instead of exp (lgamma) for
7601 other arguments.
7602 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7603 (gamma_coeff): New variable.
7604 (NCOEFF): New macro.
7605 (gammal_positive): New function.
7606 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7607 underflow here. Use gamma_positive instead of exp (lgamma) for
7608 other arguments.
7609 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7610 (gamma_coeff): New variable.
7611 (NCOEFF): New macro.
7612 (gammal_positive): New function.
7613 (__ieee754_gammal_r): Handle positive infinity, overflow and
7614 underflow here. Handle NaN the same as positive infinity. Remove
7615 check x < 0xffffffff for negative integers. Use gamma_positive
7616 instead of exp (lgamma) for other arguments.
7617 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7618 (gamma_coeff): New variable.
7619 (NCOEFF): New macro.
7620 (gammal_positive): New function.
7621 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7622 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7626 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7627 * sysdeps/generic/math_private.h (__gamma_productf): New
7628 prototype.
7629 (__gamma_product): Likewise.
7630 (__gamma_productl): Likewise.
7631 * math/Makefile (libm-calls): Add gamma_product.
7632 * math/libm-test.inc (tgamma_test): Add more tests.
7633 * sysdeps/i386/fpu/libm-test-ulps: Update.
7634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7635
bb7cf681
OB
76362013-05-08 Ondřej Bílka <neleai@seznam.cz>
7637
7638 * benchtests/bench-skeleton.c (main): Preheat CPU.
7639
ba853947
AJ
76402013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7641
7642 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7643
8347c74c
RM
76442013-05-07 Roland McGrath <roland@hack.frob.com>
7645
7646 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7647 and _dl_skip_args_internal.
7648
e8dd4791
CD
76492013-05-07 Carlos O'Donell <carlos@redhat.com>
7650
7651 * manual/message.texi (Message Translation): Talk about users.
7652 Message to key mapping impacts design.
7653
c7405830
RM
76542013-05-06 Roland McGrath <roland@hack.frob.com>
7655
a9173057
RM
7656 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7657
976e2f03
RM
7658 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7659
9723ffc5
RM
7660 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7661 * sysdeps/wordsize-64/glob64.c: ... here.
7662
962e6658
RM
7663 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7664 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7665 New macros.
7666
ee586a6d
RM
7667 * debug/getlogin_r_chk.c: Moved to ...
7668 * login/getlogin_r_chk.c: ... here.
7669 * debug/Makefile (routines): Move getlogin_r_chk to ...
7670 * login/Makefile (routines): ... here.
7671 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7672 * login/Versions (libc: GLIBC_2.4): ... here.
7673
355f9165
RM
7674 * io/poll.c (__poll): Renamed from poll.
7675 Add libc_hidden_def.
7676 (poll): Define as weak alias.
7677
bd9ffde6
RM
7678 * debug/ptsname_r_chk.c: Moved to ...
7679 * login/ptsname_r_chk.c: ... here.
7680 * debug/Makefile (routines): Move ptsname_r_chk to ...
7681 * login/Makefile (routines): ... here.
7682 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7683 * login/Versions (libc: GLIBC_2.4): ... here.
7684
8fb16a04
RM
7685 * posix/getlogin.c: Moved to ...
7686 * login/getlogin.c: ... here.
7687 * posix/getlogin_r.c: Moved to ...
7688 * login/getlogin_r.c: ... here.
7689 * posix/getlogin_r.c: Moved to ...
7690 * login/getlogin_r.c: ... here.
7691 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7692 * login/Makefile (routines): ... here.
7693 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7694 * login/Versions (libc: GLIBC_2.0): ... here.
7695
b99b892f
RM
7696 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7697 (setrlimit): Define as weak alias.
7698
c7405830
RM
7699 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7700 Call __ names for open, ftruncate, and close.
7701 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7702 (truncate): Define as weak alias.
7703
5bf96de5
JM
77042013-05-06 Joseph Myers <joseph@codesourcery.com>
7705
9ea3513c
JM
7706 * math/gen-libm-test.pl (parse_args): Initialize x before each
7707 test of frexp, modf and remquo.
7708
5bf96de5
JM
7709 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7710 test signgam value.
7711
16e616a7
AZ
77122013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7713
7714 [BZ #15418]
7715 [BZ #15419]
7716 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7717 internal tests.
7718 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7719
d5e82754
RM
77202013-05-06 Roland McGrath <roland@hack.frob.com>
7721
7722 * elf/dl-writev.h: New file.
7723 * elf/dl-misc.c: Include it.
7724 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7725 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7726
a7548d41
JM
77272013-05-04 Joseph Myers <joseph@codesourcery.com>
7728
b7dab1e4
JM
7729 * math/libm-test.inc (noXFails): Remove variable.
7730 (noXPasses): Likewise.
7731 (BUILD_COMPLEX_INT): Remove macro.
7732 (print_screen): Remove xfail argument.
7733 (print_screen_max_error): Likewise.
7734 (update_stats): Likewise.
7735 (print_max_error): Likewise. Update calls to other affected
7736 functions.
7737 (print_complex_max_error): Likewise.
7738 (test_single_exception): Update calls to print_screen.
7739 (test_single_errno): Likewise.
7740 (check_float_internal): Remove xfail argument. Update calls to
7741 other affected functions.
7742 (check_float): Likewise.
7743 (check_complex): Likewise.
7744 (check_int): Likewise.
7745 (check_long): Likewise.
7746 (check_bool): Likewise.
7747 (check_longlong): Likewise.
7748 (main): Don't print noXFails and noXPasses.
7749 * math/gen-libm-test.pl (top level): Don't mention expected
7750 failure handling in comment.
7751 (new_test): Don't handle expected failures.
7752 (parse_args): Don't mention expected failure handling in comment.
7753 (generate_testfile): Don't handle expected failures.
7754 (parse_ulps): Likewise.
7755 (print_ulps_file): Likewise.
7756 (get_failure): Remove function.
7757 (output_test): Don't handle expected failures.
7758 * make/README.libm-test: Don't mention expected failure handling.
7759
a7548d41
JM
7760 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7761 (minus_zero): Likewise.
7762 (plus_infty): Likewise.
7763 (minus_infty): Likewise.
7764 (qnan_value): Likewise.
7765 (max_value): Likewise.
7766 (min_value): Likewise.
7767 (min_subnorm_value): Likewise.
7768 (initialize): Do not initialize those variables dynamically.
7769
60bfd54c
RM
77702013-05-03 Roland McGrath <roland@hack.frob.com>
7771
cc0e6ed8
RM
7772 * io/open.c (__open_2): Moved to ...
7773 * io/open_2.c: ... this new file.
7774 * io/open64.c (__open64_2): Moved to ...
7775 * io/open64_2.c: ... this new file.
7776 * io/openat.c (__openat_2): Moved to ...
7777 * io/openat_2.c: ... this new file.
7778 * io/openat64.c (__openat64_2): Moved to ...
7779 * io/openat64_2.c: ... this new file.
7780 * io/Makefile (routines): Add them.
7781 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7782 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7783 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7784 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7785 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7786 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7787 (__openat64): Add hidden_ver.
7788 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7789 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7790
60bfd54c
RM
7791 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7792 Separately conditionalize setting of GLRO(dl_sysinfo) so
7793 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7794 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7795
83e7640f
AZ
77962013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7797
7798 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7799 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7800 definition.
7801 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7802 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7803 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7804 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7805 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7806
d5dc2af3
JM
78072013-05-03 Joseph Myers <joseph@codesourcery.com>
7808
c31a5b1e
JM
7809 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7810 test signgam value.
7811
d5dc2af3
JM
7812 * math/libm-test.inc (hypot_test): Do not use
7813 IGNORE_ZERO_INF_SIGN.
7814
164fd39d
AJ
78152013-05-03 Andreas Jaeger <aj@suse.de>
7816
7817 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7818 Linux 3.9.
7819 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7820 (PF_MAX): Adjust for VSOCK change.
7821
8237f48c
AZ
78222013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7823
7824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7825
9df02941
CD
78262013-05-02 Carlos O'Donell <carlos@redhat.com>
7827
7828 [BZ #15264]
7829 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7830 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7831 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7832
d422395e
DM
78332013-05-02 David S. Miller <davem@davemloft.net>
7834
7835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7836
a07c5731
OB
78372013-05-01 Ondřej Bílka <neleai@seznam.cz>
7838
7839 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7840
1324e37f
RM
78412013-05-01 Roland McGrath <roland@hack.frob.com>
7842
7843 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7844
0695940b
RS
78452013-05-01 Richard Smith <richard@metafoo.co.uk>
7846
bb5f27ad 7847 [BZ #14952]
0695940b
RS
7848 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7849 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7850 Use __attribute__ ((__gnu_inline__)).
7851 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7852 Don't use __attribute__ ((__gnu_inline__)).
7853
10de07f5
JM
78542013-05-01 Joseph Myers <joseph@codesourcery.com>
7855
7856 [BZ #15423]
7857 * math/s_catan.c (__catan): Handle small real or imaginary part of
7858 input specially to avoid spurious underflow.
7859 * math/s_catanf.c (__catanf): Likewise.
7860 * math/s_catanh.c (__catanh): Likewise.
7861 * math/s_catanhf.c (__catanhf): Likewise.
7862 * math/s_catanhl.c (__catanhl): Likewise.
7863 * math/s_catanl.c (__catanl): Likewise.
7864 * math/libm-test.inc (catan_test): Add more tests.
7865 (catanh_test): Likewise.
7866 * sysdeps/i386/fpu/libm-test-ulps: Update.
7867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7868
cb4d5414
AZ
78692013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7870
7871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7872
caf84319
JM
78732013-04-30 Joseph Myers <joseph@codesourcery.com>
7874
7875 [BZ #15416]
7876 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7877 accurately for denominator in atan2.
7878 * math/s_catanf.c (__catanf): Likewise.
7879 * math/s_catanh.c (__catanh): Likewise.
7880 * math/s_catanhf.c (__catanhf): Likewise.
7881 * math/s_catanhl.c (__catanhl): Likewise.
7882 * math/s_catanl.c (__catanl): Likewise.
7883 * math/libm-test.inc (catan_test): Add more tests.
7884 (catanh_test): Likewise.
7885 * sysdeps/i386/fpu/libm-test-ulps: Update.
7886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7887
d569c6ee
SP
78882013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7889
6dbe713d
SP
7890 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7891
f0ee064b
SP
7892 * benchtests/Makefile (bench): Remove slow benchmarks.
7893 * benchtests/atan-inputs: Add slow benchmark inputs.
7894 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7895 (BENCH_FUNC): Accept variant offset.
7896 (VARIANT): Define.
7897 * benchtests/bench-skeleton.c (main): Run benchmark for each
7898 variant.
7899 * benchtests/cos-inputs: Add slow benchmark inputs.
7900 * benchtests/exp-inputs: Likewise.
7901 * benchtests/pow-inputs: Likewise.
7902 * benchtests/sin-inputs: Likewise.
7903 * benchtests/slowatan-inputs: Remove.
7904 * benchtests/slowatan.c: Remove.
7905 * benchtests/slowcos-inputs: Remove.
7906 * benchtests/slowcos.c: Remove.
7907 * benchtests/slowexp-inputs: Remove.
7908 * benchtests/slowexp.c: Remove.
7909 * benchtests/slowpow-inputs: Remove.
7910 * benchtests/slowpow.c: Remove.
7911 * benchtests/slowsin-inputs: Remove.
7912 * benchtests/slowsin.c: Remove.
7913 * benchtests/slowtan-inputs: Remove.
7914 * benchtests/slowtan.c: Remove.
7915 * benchtests/tan-inputs: Add slow benchmark inputs.
7916 * scripts/bench.pl: Parse comments and directives.
7917
d569c6ee
SP
7918 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7919 in CPPFLAGS.
7920 ($(objpfx)bench-%.c): Remove *-ITER.
7921 * benchtests/bench-modf.c: Remove definition of ITER.
7922 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7923 (main): Loop for DURATION seconds instead of fixed number of
7924 iterations.
7925 * scripts/bench.pl: Don't expect iterations in parameters.
7926
a6a242fe
RM
79272013-04-29 Roland McGrath <roland@hack.frob.com>
7928
7929 * io/fchdir.c (__fchdir): Renamed from fchdir.
7930 (fchdir): Define as weak alias.
7931
f2da7793
JM
79322013-04-29 Joseph Myers <joseph@codesourcery.com>
7933
7934 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7935 (ERRNO_EDOM): Likewise.
7936 (ERRNO_ERANGE): Likewise.
7937 (noErrnoTests): New variable.
7938 (init_max_error): Set errno to 0.
7939 (test_single_errno): New function.
7940 (test_errno): Likewise.
7941 (check_float_internal): Call test_errno. Set errno to 0.
7942 (check_complex): Refer to errno tests in comment.
7943 (check_int): Call test_errno. Set errno to 0.
7944 (check_long): Likewise.
7945 (check_bool): Likewise.
7946 (check_longlong): Likewise.
7947 (cos_test): Use ERRNO_* flags for errno tests instead of
7948 check_int.
7949 (expm1_test): Likewise.
7950 (fmod_test): Likewise.
7951 (ilogb_test): Likewise.
7952 (lgamma_test): Likewise.
7953 (pow_test): Likewise.
7954 (remainder_test): Likewise.
7955 (sin_test): Likewise.
7956 (tan_test): Likewise.
7957 (yn_test): Likewise.
7958 (initialize): Set errno to 0.
7959 (main): Print number of errno tests.
7960 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7961
b1a36ceb
AJ
79622013-04-29 Andreas Jaeger <aj@suse.de>
7963
c3ed8088
AJ
7964 [BZ #15084]
7965 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7966 and RES_USEVC.
7967
f1a24198
AJ
7968 [BZ #15085]
7969 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7970 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7971 unimplemented.
7972
9ce3b2cb
AJ
7973 [BZ #15380]
7974 * stdlib/random.c (__initstate): Return NULL if
7975 __initstate fails.
7976
f1a24198 7977 [BZ #15086]
b1a36ceb
AJ
7978 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7979 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7980 RES_SNGLKUPREOP.
7981
7e7b6f36
AZ
79822013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7983
7984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7985
4d14f449
JM
79862013-04-29 Joseph Myers <joseph@codesourcery.com>
7987
7988 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7989 of individual tests.
7990 (casin_test): Likewise.
7991 (casinh_test): Likewise.
7992
5b4217d7
JM
79932013-04-27 Joseph Myers <joseph@codesourcery.com>
7994
7995 [BZ #15409]
7996 * math/s_catan.c (__catan): Handle arguments with large real or
7997 imaginary part separately without squaring.
7998 * math/s_catanf.c (__catanf): Likewise.
7999 * math/s_catanh.c (__catanh): Likewise.
8000 * math/s_catanhf.c (__catanhf): Likewise.
8001 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8002 and redefine.
8003 (__catanhl): Handle arguments with large real or imaginary part
8004 separately without squaring.
8005 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8006 and redefine.
8007 (__catanl): Handle arguments with large real or imaginary part
8008 separately without squaring.
8009 * math/libm-test.inc (catan_test): Add more tests.
8010 (catanh_test): Likewise.
8011 * sysdeps/i386/fpu/libm-test-ulps: Update.
8012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8013
4220c3ef
AJ
80142013-04-27 Andreas Jaeger <aj@suse.de>
8015
8016 [BZ #15007]
8017 * stdlib/stdlib.h: Update guards for qecvt.
8018 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8019 <stdlib.h>.
8020
4721b2d1
AM
80212013-04-27 Allan McRae <allan@archlinux.org>
8022
8023 * sysdeps/i386/fpu/libm-test-ulps: Update.
8024
f0302940
JM
80252013-04-26 Joseph Myers <joseph@codesourcery.com>
8026
9457fd95
JM
8027 [BZ #15406]
8028 * math/s_catan.c: Include <float.h>.
8029 (__catan): Ensure underflow exception occurs for underflowed
8030 result.
8031 * math/s_catanf.c: Include <float.h>.
8032 (__catanf): Ensure underflow exception occurs for underflowed
8033 result.
8034 * math/s_catanh.c: Include <float.h>.
8035 (__catanh): Ensure underflow exception occurs for underflowed
8036 result.
8037 * math/s_catanhf.c: Include <float.h>.
8038 (__catanhf): Ensure underflow exception occurs for underflowed
8039 result.
8040 * math/s_catanhl.c: Include <float.h>.
8041 (__catanhl): Ensure underflow exception occurs for underflowed
8042 result.
8043 * math/s_catanl.c: Include <float.h>.
8044 (__catanl): Ensure underflow exception occurs for underflowed
8045 result.
8046 * math/libm-test.inc (catan_test): Add more tests.
8047 (catanh_test): Likewise.
8048
f0302940
JM
8049 [BZ #15405]
8050 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8051 underflowed result.
8052 * math/s_ccoshf.c (__ccoshf): Likewise.
8053 * math/s_ccoshl.c (__ccoshl): Likewise.
8054 * math/s_csin.c (__csin): Likewise.
8055 * math/s_csinf.c (__csinf): Likewise.
8056 * math/s_csinh.c (__csinh): Likewise.
8057 * math/s_csinhf.c (__csinhf): Likewise.
8058 * math/s_csinhl.c (__csinhl): Likewise.
8059 * math/s_csinl.c (__csinl): Likewise.
8060 * math/libm-test.inc (ccos_test): Add more tests.
8061 (ccosh_test): Likewise.
8062 (csin_test): Likewise.
8063 (csinh_test): Likewise.
8064
aa630f59
AZ
80652013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8066
8067 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8068 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8069 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8070 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8071 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8072 powerpc/power5+/fpu folders.
8073 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8074
8075
1b835983
MT
80762013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8077
8078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8079
73709b26
JM
80802013-04-25 Joseph Myers <joseph@codesourcery.com>
8081
8082 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8083 additions to variable.
8084 [$(config-machine) = x86_64] (modules-names): Likewise.
8085 ($(objpfx)tst-audit3): Remove dependency.
8086 ($(objpfx)tst-audit3.out): Likewise.
8087 ($(objpfx)tst-audit4): Likewise.
8088 ($(objpfx)tst-audit4.out): Likewise.
8089 ($(objpfx)tst-audit5): Likewise.
8090 ($(objpfx)tst-audit5.out): Likewise.
8091 ($(objpfx)tst-audit6): Likewise.
8092 ($(objpfx)tst-audit6.out): Likewise.
8093 ($(objpfx)tst-audit7): Likewise.
8094 ($(objpfx)tst-audit7.out): Likewise.
8095 (tst-audit3-ENV): Remove variable.
8096 (tst-audit4-ENV): Likewise.
8097 (tst-audit5-ENV): Likewise.
8098 (tst-audit6-ENV): Likewise.
8099 (tst-audit7-ENV): Likewise.
8100 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8101 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8102 addition to variable.
8103 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8104 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8105 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8106 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8107 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8108 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8109 tst-audit3, tst-audit4 and tst-audit5.
8110 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8111 tst-audit6 and tst-audit7.
8112 [$(subdir) = elf] (modules-names): Add audit modules for those
8113 tests.
8114 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8115 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8116 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8117 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8118 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8119 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8120 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8121 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8122 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8123 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8124 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8125 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8126 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8127 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8128 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8129 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8130 Likewise.
8131 [$(subdir) = elf && $(config-cflags-avx) = yes]
8132 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8133 [$(subdir) = elf && $(config-cflags-avx) = yes]
8134 (CFLAGS-tst-auditmod4a.c): Likewise.
8135 [$(subdir) = elf && $(config-cflags-avx) = yes]
8136 (CFLAGS-tst-auditmod4b.c): Likewise.
8137 [$(subdir) = elf && $(config-cflags-avx) = yes]
8138 (CFLAGS-tst-auditmod6b.c): Likewise.
8139 [$(subdir) = elf && $(config-cflags-avx) = yes]
8140 (CFLAGS-tst-auditmod6c.c): Likewise.
8141 [$(subdir) = elf && $(config-cflags-avx) = yes]
8142 (CFLAGS-tst-auditmod7b.c): Likewise.
8143 * elf/tst-audit3.c: Move to ...
8144 * sysdeps/x86_64/tst-audit3.c: ... here.
8145 * elf/tst-audit4.c: Move to ...
8146 * sysdeps/x86_64/tst-audit4.c: ... here.
8147 * elf/tst-audit5.c: Move to ...
8148 * sysdeps/x86_64/tst-audit5.c: ... here.
8149 * elf/tst-audit6.c: Move to ...
8150 * sysdeps/x86_64/tst-audit6.c: ... here.
8151 * elf/tst-audit7.c: Move to ...
8152 * sysdeps/x86_64/tst-audit7.c: ... here.
8153 * elf/tst-auditmod3a.c: Move to ...
8154 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8155 * elf/tst-auditmod3b.c: Move to ...
8156 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8157 * elf/tst-auditmod4a.c: Move to ...
8158 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8159 * elf/tst-auditmod4b.c: Move to ...
8160 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8161 * elf/tst-auditmod5a.c: Move to ...
8162 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8163 * elf/tst-auditmod5b.c: Move to ...
8164 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8165 * elf/tst-auditmod6a.c: Move to ...
8166 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8167 * elf/tst-auditmod6b.c: Move to ...
8168 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8169 * elf/tst-auditmod6c.c: Move to ...
8170 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8171 * elf/tst-auditmod7a.c: Move to ...
8172 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8173 * elf/tst-auditmod7b.c: Move to ...
8174 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8175
1ef74943
PP
81762013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8177
8178 [BZ #15366]
8179 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8180 define unconditionally.
8181 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8182 define unconditionally.
8183 (INT8_C, INT16_C, etc.): Likewise.
8184
93fd48c5
MR
81852013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8186
ae9552cf
MR
8187 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8188 __ehdr_start with hidden visibility.
8189
93fd48c5
MR
8190 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8191
418601aa
CD
81922013-04-24 Carlos O'Donell <carlos@redhat.com>
8193
8194 * math/libm-test.inc (cos_test): Use accurate hex constants.
8195 (sincost_test): Likewise.
8196
2f38fbfe
JM
81972013-04-24 Joseph Myers <joseph@codesourcery.com>
8198
5e221800
JM
8199 * math/libm-test.inc (catan_test): Add more tests.
8200 (catanh_test): Likewise.
8201
77f143fd
JM
8202 * math/s_catanf.c (__catanf): Use suffixed floating-point
8203 constants.
8204 * math/s_catanhf.c (__catanhf): Likewise.
8205 * math/s_catanhl.c (__catanhl): Likewise.
8206 * math/s_catanl.c (__catanl): Likewise.
8207
2f38fbfe
JM
8208 [BZ #15394]
8209 * math/s_catan.c (__catan): Calculate imaginary part of result
8210 with log1p not log unless computing log of number close to 0.
8211 * math/s_catanf.c (__catanf): Likewise.
8212 * math/s_catanl.c (__catanl): Likewise.
8213 * math/s_catanh.c (__catanh): Calculate real part of result with
8214 log1p not log unless computing log of number close to 0.
8215 * math/s_catanhf.c (__catanhf): Likewise.
8216 * math/s_catanhl.c (__catanhl): Likewise.
8217 * math/libm-test.inc (catan_test): Add more tests.
8218 (catanh_test): Likewise.
8219 * sysdeps/i386/fpu/libm-test-ulps: Update.
8220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8221
45d69176
SP
82222013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8223
8224 * benchtests/Makefile: Mention files in which fast and slow
8225 paths of math functions are implemented.
8226
87f51853
RM
82272013-04-23 Roland McGrath <roland@hack.frob.com>
8228
8229 * sysdeps/posix/timespec_get.c: New file.
8230
3c026539
AZ
82312013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8232
8233 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8234 POWER.
8235 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8236 for POWER.
8237 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8238 powerpc/power5/fpu folders.
8239 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8240 * benchtests/Makefile: Add modf testcase.
8241 * benchtests/bench-modf.c: New file: Benchmark test for mo
8242
ff491d14
SP
82432013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8244
8245 [BZ #14888]
8246 * time/Makefile (tests): Add tst-strptime-whitespace.
8247 * time/strptime_l.c (get_number): Use ISSPACE.
8248 (__strptime_internal): Likewise.
8249 * time/tst-strptime-whitespace.c: New test case.
8250
7ed3f4e8
AS
82512013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8252
8253 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8254 member.
8255 (_nss_files_init): Set it here.
8256
5c95f7b6
HC
82572013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8258
8259 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8260 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8261 unsigned.
8262
d34c9158
JBG
82632013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8264
8265 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8266
2169712d
SP
82672013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8268
8269 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8270 size just once.
8271
29c5de99
DM
82722013-04-21 David S. Miller <davem@davemloft.net>
8273
8274 * po/ru.po: Update Russion translation from translation project.
8275
ccdad15d
AC
82762013-04-17 Adam Conrad <adconrad@0c3.net>
8277
8278 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8279 and setfsgid.
8280
0f122b8d
CD
82812013-04-17 Carlos O'Donell <carlos@redhat.com>
8282
5c5b07da 8283 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8284 * configure: Regenerate.
5c5b07da 8285 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8286 Add example to error message.
8287 * sysdeps/i386/configure: Regenerate.
8288
037714dd
SP
82892013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8290
8291 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8292 slowtan.
8293 * benchtests/cos-inputs: New file.
8294 * benchtests/slowcos-inputs: New file.
8295 * benchtests/slowcos.c: New file.
8296 * benchtests/slowtan-inputs: New file.
8297 * benchtests/slowtan.c: New file.
8298 * benchtests/tan-inputs: New file.
8299
e913141d
RM
83002013-04-16 Roland McGrath <roland@hack.frob.com>
8301
8302 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8303 considered kosher.
8304
a2964074
SP
83052013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8306
4856bcd2
SP
8307 * benchtests/Makefile: Include cppflags-iterator.mk to add
8308 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8309
a2964074
SP
8310 * Makefile.in (bench-clean): New target.
8311 * benchtests/Makefile (bench-clean): Likewise.
8312
9fbf9aca
DH
83132013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8314
8315 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8316
207d1e2a
TS
83172013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8318
8319 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8320
306dfba9
AS
83212013-04-15 Andreas Schwab <schwab@suse.de>
8322
8323 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8324 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8325 * nscd/pwdcache.c (cache_addpw): Likewise.
8326 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8327 more than recsize.
8328
206a6699
SP
83292013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8330
8331 * benchtests/Makefile (bench): Write all output to
8332 bench-out.tmp together.
8333
0582f6b3
AS
83342013-04-15 Andreas Schwab <schwab@suse.de>
8335
8336 * nscd/nscd.c (main): Don't fork again after closing files.
8337
acb4325f
SP
83382013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8339
5cb26d0a
SP
8340 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8341
acb4325f
SP
8342 * benchtests/Rules (bench-deps): Collect dependencies into a
8343 single variable. Add Makefile to dependencies.
8344 ($(objpfx)bench-%.c): Depend on bench-deps.
8345
47792506
RM
83462013-04-12 Roland McGrath <roland@hack.frob.com>
8347 Xavier Roche <roche+kml2@exalead.com>
8348
8349 [BZ #15361]
8350 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8351 just that it's a file descriptor.
8352 * manual/llio.texi (Synchronizing AIO Operations): Update description
8353 for EBADF error from aio_fsync.
8354
8fc1bee5
SP
83552013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8356
8357 * Rules (bench): Move target definition...
8358 * benchtests/Makefile: ... here.
8359
aba5e333
CD
83602013-04-11 Carlos O'Donell <carlos@redhat.com>
8361
8362 * math/libm-test.inc (cos_test): Fix PI/2 test.
8363 (sincos_test): Likewise.
8364 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8365 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8366
273cdee8
AS
83672013-04-11 Andreas Schwab <schwab@suse.de>
8368
6ecec3b6
AS
8369 [BZ #13988]
8370 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8371 accept exponent character only when digits were seen.
8372 * stdio-common/Makefile (tests): Add bug26.
8373 * stdio-common/bug26.c: New file.
8374
273cdee8
AS
8375 [BZ #14293]
8376 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8377 non-freeable.
8378
8da491f5
SP
83792013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8380
01dc6df9
SP
8381 * Makeconfig (rtld-prefix): Define built linker prefix.
8382 * Rules (run-bench): Use it.
8383 * math/Makefile (run-regen-ulps): Likewise.
8384
8da491f5
SP
8385 * Rules (bench): Remove eval.
8386
abe7f530
SP
83872013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8388 Roland McGrath <roland@hack.frob.com>
8389 Ondrej Bilka <neleai@seznam.cz>
8390
8391 [BZ #15346]
8392 * time/getdate.c: Include ctype.h and alloca.h.
8393 (__getdate_r): Trim leading and trailing spaces of input.
8394 * time/tst-getdate.c (tests): Add tests with leading and
8395 trailing spaces.
8396
61c23e62
RM
83972013-04-08 Roland McGrath <roland@hack.frob.com>
8398
8399 [BZ #14280]
8400 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8401 when computing value.
8402
7208a313
CD
84032013-04-06 Carlos O'Donell <carlos@redhat.com>
8404
085b2d41
CD
8405 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8406 Use testrun.sh to run libm tests.
8407
7208a313
CD
8408 [BZ #15309]
8409 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8410
872c0acd
MM
84112013-04-06 Marko Myllynen <myllynen@redhat.com>
8412
8413 [BZ #15264]
8414 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8415
26510bdd
CD
84162013-04-06 Carlos O'Donell <carlos@redhat.com>
8417
8418 * Makefile.in (regen-ulps): New target.
8419 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8420 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8421 [ifneq (no,$(PERL)] (regen-ulps): New target.
8422 [ifeq (no,$(PERL)] (regen-ulps): New target.
8423 * math/libm-test.inc (ulps_file_name): Define.
8424 (output_dir): New variable.
8425 (options): Add "output-dir" option.
8426 (parse_opt): Handle 'o' case.
8427 (main): If output_dir is non-NULL use it as a prefix
8428 otherwise use "".
8429 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8430
a01f19c8
CD
84312013-04-06 Carlos O'Donell <carlos@redhat.com>
8432
8433 [BZ #10060, #10062]
8434 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8435 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8436 fail configure if __sync_val_compare_and_swap is not inlined.
8437 * sysdeps/i386/configure: Regenerate.
8438 * configure.in: Build for i686 when configured for i386.
8439 * configure: Regenerate.
8440 * README: Remove i386 reference.
8441
b7a329a5
CD
84422013-04-06 Carlos O'Donell <carlos@redhat.com>
8443
8444 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8445 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8446
bf0f50df
TS
84472013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8448
ee091edf
TS
8449 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8450 (lmsnanval): New variables.
8451 (F): Add conversion tests.
8452 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8453 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8454
a8b792d6
TS
8455 * stdio-common/tstdiomisc.c (F): Properly collect individual
8456 tests' results.
8457
a1cbf437
TS
8458 [BZ #14686, #15336]
8459 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8460 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8461 Instead, use input NaN values or generate a qNaN by arithmetic
8462 operation. Also fix bugs to comply with the standard.
8463 * math/libm-test.inc (remainder_test): Add more tests.
8464
8b43a0c9
TS
8465 [BZ #15335, #15342]
8466 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8468 input NaN values or generate a qNaN by arithmetic operation.
8469
d91da4ce
TS
8470 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8471 unreachable code.
8472
bf0f50df
TS
8473 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8474 definitions.
8475
05e166c8
JM
84762013-04-03 Joseph Myers <joseph@codesourcery.com>
8477
8478 [BZ #14478]
8479 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8480 underflowed result.
8481 * math/s_cexpf.c (__cexpf): Likewise.
8482 * math/s_cexpl.c (__cexpl): Likewise.
8483 * math/libm-test.inc (cexp_test): Add more tests.
8484
1cef1b19
AS
84852013-04-03 Andreas Schwab <schwab@suse.de>
8486
8487 [BZ #15330]
8488 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8489 order arrays from heap if bigger than alloca cutoff.
8490
74d87055
TS
84912013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8492
8493 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8494 (SNAN_TESTS_double): Refer to GCC PR56831.
8495 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8496 GCC PR56828.
8497
d755bba4
SP
84982013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8499
90d5d5bb
SP
8500 * Rules (bench): Move bench.out after the run is complete.
8501
73e0cd5d
SP
8502 * Rules (bench): Echo currently running benchmark.
8503
64aabd4b
SP
8504 * benchtests/Makefile (bench): Add atan and slowatan.
8505 * benchtests/atan-inputs: New file.
8506 * benchtests/slowatan-inputs: New file.
8507 * benchtests/slowatan.c: New file.
8508
c871eccd
SP
8509 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8510 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8511 its value.
8512
d755bba4
SP
8513 [BZ #15305]
8514 * sysdeps/unix/sysv/linux/kernel-features.h
8515 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8516 __ASSUME_XFS_RESTRICTED_CHOWN.
8517 * sysdeps/unix/sysv/linux/pathconf.c
8518 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8519 Save and restore errno.
8520
52ce4860
JM
85212013-04-02 Joseph Myers <joseph@codesourcery.com>
8522
8523 [BZ #15327]
8524 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8525 arguments using __kernel_casinh.
8526 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8527 arguments using __kernel_casinhf.
8528 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8529 arguments using __kernel_casinhl.
8530 * math/libm-test.inc (cacosh_test): Add more tests.
8531 * sysdeps/i386/fpu/libm-test-ulps: Update.
8532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8533
81f311c2
SP
85342013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8535
e7906a47
SP
8536 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8537 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8538
92e3664b
SP
8539 * bench/Makefile (bench): Add sin and slowsin.
8540 * benchtests/sin-inputs: New file.
8541 * benchtests/slowsin-inputs: New file.
8542 * benchtests/slowsin.c: New file.
8543
81f311c2
SP
8544 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8545 (bench): Add slowexp and slowpow.
8546 (exp-ITER): Increase iterations.
8547 (pow-ITER): Likewise.
8548 * benchtests/exp-inputs: Change input.
8549 * benchtests/pow-inputs: Likewise.
8550 * benchtests/slowexp-inputs: New file.
8551 * benchtests/slowexp.c: New file.
8552 * benchtests/slowpow-inputs: New file.
8553 * benchtests/slowpow.c: New file.
8554
ab0f1aa9
AZ
85552013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8556
8557 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8558 instructions.
8559 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8560 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8561 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8562 * benchtests/Makefile: Add rint benchtest.
8563 * benchtests/rint-inputs: Input for rint benchtest.
8564
57267616
TS
85652013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8566
8567 * Versions.def (libm): Add GLIBC_2.18.
8568 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8569 hidden libm prototypes.
8570 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8571 * math/Makefile (libm-calls): Add s_issignaling.
8572 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8573 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8574 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8575 declaration.
8576 * math/math.h [__USE_GNU] (issignaling): New macro.
8577 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8578 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8580 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8583 * manual/arith.texi (issignaling): New section.
8584 * manual/libm-err-tab.pl (@all_functions): Update comment.
8585 * math/gen-libm-test.pl (parse_args): Apply special handling for
8586 issignaling.
8587 * math/libm-test.inc (print_float, issignaling_test): New
8588 functions.
8589 (check_float_internal): Add issignaling checks.
8590 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8591 default definition.
8592 * sysdeps/powerpc/math-tests.h: New file.
8593 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8594 tests.
8595 * math/test-snan.c (TEST_FUNC): Likewise.
8596
6142896d
DM
85972013-03-30 David S. Miller <davem@davemloft.net>
8598
8599 * po/de.po: Update from translation team.
8600
ccc8cadf
JM
86012013-03-30 Joseph Myers <joseph@codesourcery.com>
8602
8603 [BZ #10357]
8604 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8605 imaginary part less than 1.0 and real part less than 0.5
8606 specially.
8607 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8608 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8609 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8610 (cacos_test): Add more tests.
8611 (casin_test): Likewise.
8612 (casinh_test): Likewise.
8613 * sysdeps/i386/fpu/libm-test-ulps: Update.
8614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8615
0f6a8d4b
SP
86162013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8617
0d1029de
SP
8618 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8619 ONE with its value.
8620
c2d94018
SP
8621 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8622 (__pow_mp): Replace ONE and MONE with their values.
8623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8624 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8625 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8626 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8627 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8628 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8629
27ec37f1
SP
8630 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8631
a64d7e0e
SP
8632 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8633 (__pow_mp): Replace ZERO and MZERO with their values.
8634 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8635 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8636 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8637 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8638 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8639 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8640 (__sqr): Likewise.
8641
d26dd3eb
SP
8642 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8643
0f6a8d4b
SP
8644 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8645
e57b0c61
RM
86462013-03-28 Roland McGrath <roland@hack.frob.com>
8647
8648 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8649 Declare with __attribute__ ((weak)).
8650 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8651 Call __call_tls_dtors only if it's not NULL.
8652
356b3480
RM
86532013-03-28 Roland McGrath <roland@hack.frob.com>
8654
288f7d79
RM
8655 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8656 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8657 magic __ehdr_start linker symbol if it's defined.
8658 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8659 them up here if it was already done.
8660
dc0a0263
RM
8661 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8662 (_dl_aux_init): Use const in cast when setting it.
8663 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8664 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8665 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8666
3d3436ae
RM
8667 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8668 Declare them here.
8669 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8670 * csu/libc-tls.c: Nor here.
8671 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8672
356b3480
RM
8673 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8674 (__libc_message): Never call vsyslog.
8675
b0f1246a
AM
86762013-03-28 Alan Modra <amodra@gmail.com>
8677
8678 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8679 Define as empty.
8680 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8681 Likewise.
8682
fbbe2b9a
AZ
86832013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8684
8685 [BZ #15214]
8686 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8687 underflow.
8688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8689
1728ab37
SP
86902013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8691
7a86be6e
SP
8692 [BZ #15304]
8693 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8694 Don't add gid passed as argument.
8695
1728ab37
SP
8696 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8697
3a7182a1
JM
86982013-03-27 Joseph Myers <joseph@codesourcery.com>
8699
8700 [BZ #15307]
8701 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8702 imaginary part between 1.0 and 1.5 and real part less than 0.5
8703 specially.
8704 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8705 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8706 * math/libm-test.inc (cacos_test): Add more tests.
8707 (casin_test): Likewise.
8708 (casinh_test): Likewise.
8709 * sysdeps/i386/fpu/libm-test-ulps: Update.
8710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8711
6f2e90e7
SP
87122013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8713
5739f705
SP
8714 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8715 constants.
8716 (norm): Likewise.
8717 (denorm): Likewise.
8718 (__dbl_mp): Likewise.
8719 (add_magnitudes): Likewise.
8720 (sub_magnitudes): Likewise.
8721 (__add): Likewise.
8722 (__sub): Likewise.
8723 (__mul): Likewise.
8724 (__sqr): Likewise.
8725 (__inv): Likewise.
8726 (__dvd): Likewise.
8727
e375e83d
SP
8728 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8729 commented code.
8730 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8731 (__dubcos): Likewise.
8732 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8733 (__ieee754_acos): Likewise.
8734 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8735 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8736 (__exp1): Likewise.
8737 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8739 (log1): Likewise.
8740 (my_log2): Likewise.
8741 (checkint): Likewise.
8742 * sysdeps/ieee754/dbl-64/e_remainder.c
8743 (__ieee754_remainder): Likewise.
8744 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8745 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8746 (bsloww): Likewise.
8747 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8748
6f2e90e7
SP
8749 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8750 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8751 MANTISSA_STORE_T to store computations on mantissa. Use
8752 macros for rounding and division.
8753 (denorm): Likewise.
8754 (__dbl_mp): Likewise.
8755 (add_magnitudes): Likewise.
8756 (sub_magnitudes): Likewise.
8757 (__mul): Likewise.
8758 (__sqr): Likewise.
8759 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8760 powers of two in terms of TWOPOW macro.
8761 (mp_no): Make type of mantissa as MANTISSA_T.
8762 [!RADIXI]: Define RADIXI.
8763 [!TWO52]: Define TWO52.
8764 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8765
fce14d4e
AZ
87662013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8767
8768 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8769 llroundl symbol when building for PPC32.
8770
9ad027fb
MW
87712013-03-24 Mark H Weaver <mhw@netris.org>
8772
8773 * manual/arith.texi (Normalization Functions): Fix prototypes for
8774 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8775
e42a38dd
AZ
87762013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8777
8778 [BZ #13889]
8779 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8780 high value to check if expl overflow.
8781 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8782 to check for underflow and overflow.
8783 * math/libm-test.inc: Add exp test.
8784
2e0fb521
DL
87852013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8786
8787 [BZ #11120]
8788 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8789 with NOT_IN_libc.
8790
b5784d95
AZ
87912013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8792
8793 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8794 symbol.
8795
5aa4a1a1
TS
87962013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8797
bdef0be7
TS
8798 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8799 wrap blocks consisting of several statements.
8800
5aa4a1a1
TS
8801 * sysdeps/generic/math-tests.h: New file.
8802 * sysdeps/i386/fpu/math-tests.h: Likewise.
8803 * math/test-snan.c: Include it.
8804 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8805
98c48fe5
JM
88062013-03-21 Joseph Myers <joseph@codesourcery.com>
8807
8808 [BZ #15285]
8809 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8810 (__ieee754_j0l): Do not improve calculations using cos of twice
8811 input for inputs above LDBL_MAX / 2.0L.
8812 (__ieee754_y0l): Likewise.
8813 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8814 (__ieee754_j1l): Do not improve calculations using cos of twice
8815 input for inputs above LDBL_MAX / 2.0L.
8816 (__ieee754_y1l): Likewise.
8817 * math/libm-test.inc (j0_test): Add another test.
8818 (j1_test): Likewise.
8819 (y0_test): Likewise.
8820 (y1_test): Likewise.
8821 * sysdeps/i386/fpu/libm-test-ulps: Update.
8822
3775a8bc
SP
88232013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8824
8825 * Rules ($(objpfx)bench-%.c): Include code from a C source
8826 file.
8827
0a1b2ae6
JM
88282013-03-21 Joseph Myers <joseph@codesourcery.com>
8829
8830 [BZ #15287]
8831 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8832 imaginary part 1.0 and real part less than 0.5 specially.
8833 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8834 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8835 * math/libm-test.inc (cacos_test): Add more tests.
8836 (casin_test): Likewise.
8837 (casinh_test): Likewise.
8838 * sysdeps/i386/fpu/libm-test-ulps: Update.
8839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8840
b33d4ce4
SP
88412013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8842
8843 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8844 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8845
bef0b507
JM
88462013-03-20 Joseph Myers <joseph@codesourcery.com>
8847
8848 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8849 * config.make.in (config-cflags-sse4): Remove variable.
8850 (config-cflags-avx): Likewise.
8851 (config-cflags-sse2avx): Likewise.
8852 (config-cflags-novzeroupper): Likewise.
8853 (config-asflags-i686): Likewise.
8854 (have-mfma4): Likewise.
8855 (have-as-vis3): Likewise.
8856 (MIG): Likewise.
8857 * configure.in (MIG): Do not AC_SUBST.
8858 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8859 (libc_cv_cc_sse4): Do not AC_SUBST.
8860 (libc_cv_cc_avx): Likewise.
8861 (libc_cv_cc_sse2avx): Likewise.
8862 (libc_cv_cc_novzeroupper): Likewise.
8863 (libc_cv_cc_fma4): Likewise.
8864 (libc_cv_as_i686): Likewise.
8865 (libc_cv_sparc_as_vis3): Likewise.
8866 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8867 LIBC_CONFIG_VAR.
8868 (config-asflags-i686): Likewise.
8869 (config-cflags-avx): Likewise.
8870 (config-cflags-sse2avx): Likewise.
8871 (have-mfma4): Likewise.
8872 (config-cflags-novzeroupper): Likewise.
8873 * sysdeps/mach/configure.in (MIG): Likewise.
8874 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8875 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8876 LIBC_CONFIG_VAR.
8877 (config-cflags-avx): Likewise.
8878 (config-cflags-sse2avx): Likewise.
8879 (have-mfma4): Likewise.
8880 (config-cflags-novzeroupper): Likewise.
8881 * configure: Regenerated.
8882 * sysdeps/i386/configure: Likewise.
8883 * sysdeps/mach/configure: Likewise.
8884 * sysdeps/sparc/configure: Likewise.
8885 * sysdeps/x86_64/configure: Likewise.
8886
912cc4b3
RM
88872013-03-20 Roland McGrath <roland@hack.frob.com>
8888
8889 [BZ #14812]
8890 * locale/programs/localedef.c (options): Put N_ translation marker
8891 on argument names, not just descriptions.
8892
04eed2b0
MS
88932013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8894
8895 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8896
a065ceff
OB
88972013-03-20 Ondřej Bílka <neleai@seznam.cz>
8898
9bb2a810 8899 [BZ #14176]
a065ceff
OB
8900 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8901
a600e5ce
RM
89022013-03-19 Roland McGrath <roland@hack.frob.com>
8903
8904 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8905 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8906 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8907 [!BEFORE_ABORT] (before_abort): New function.
8908 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8909 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8910 (writev_for_fatal): New function.
8911 (WRITEV_FOR_FATAL): New macro; call that.
8912 (backtrace_and_maps): New function.
8913 (BEFORE_ABORT): New macro; call that.
8914 (struct str_list): Type removed.
8915 (__libc_message, __libc_fatal): Functions removed.
8916 Include <sysdeps/posix/libc_fatal.c> instead.
8917
6b18bea6
JM
89182013-03-19 Joseph Myers <joseph@codesourcery.com>
8919
8920 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8921 constants.
8922 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8923 double constants.
8924
aaa8cb4b
AS
89252013-03-19 Andreas Schwab <schwab@suse.de>
8926
44673770
AS
8927 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8928 * sysdeps/gnu/configure: Regenerate.
8929
aaa8cb4b
AS
8930 * configure.in: Substitute libc_cv_rtlddir.
8931 * configure: Regenerate.
8932 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8933 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8934 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8935 * elf/Makefile (install-others, CFLAGS-interp.c)
8936 (ldso_install, common-ldd-rewrite): Likewise.
8937 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8938 $(inst_slibdir)/$(rtld-installed-name).
8939 * scripts/rellns-sh: Add -p option.
8940 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8941 for source.
8942
d3cfc668
SP
89432013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8944
8945 * manual/nptl.texi: Renamed to ...
8946 * manual/threads.texi: ... this.
8947 * manual/Makefile (chapters): Update.
8948
0e2b9cdd
RM
89492013-03-18 Roland McGrath <roland@hack.frob.com>
8950
8951 [BZ #14812]
8952 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8953 on argument names, not just descriptions.
0e2b9cdd
RM
8954 * malloc/memusagestat.c (options): Likewise.
8955 * nss/getent.c (options): Likewise.
63270c24
RM
8956
89572013-03-18 Benno Schulenberg <bensberg@justemail.net>
8958
8959 [BZ #14812]
8960 * iconv/iconv_prog.c (options): Put N_ translation marker
8961 on argument names, not just descriptions.
8962 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8963
b2e1393c
OB
89642013-03-18 Ondrej Bilka <neleai@seznam.cz>
8965
8966 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8967 implementation which is faster on all x86_64 architectures.
8968 Tested on AMD, Intel Nehalem, SNB, IVB.
8969 * sysdeps/x86_64/strnlen.S: Likewise.
8970
8971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8972 Remove all multiarch strlen and strnlen versions.
8973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8974 Remove strlen and strnlen related parts.
8975
8976 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8977 Inline strlen part.
8978 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8979
8980 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8981 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8982 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8983 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8984 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8985 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8986
ec4ff04d
CD
89872013-03-17 Carlos O'Donell <carlos@redhat.com>
8988
8989 * manual/memory.texi (Malloc Tunable Parameters):
8990 Sort parameters alphabetically. Add comments for missing entries.
8991
cd18e90a
DM
89922013-03-17 David S. Miller <davem@davemloft.net>
8993
8994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8995
2a185d32
JM
89962013-03-16 Joseph Myers <joseph@codesourcery.com>
8997
d2f9799e
JM
8998 [BZ #15283]
8999 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9000 for arguments at most half maximum finite value.
9001 * math/libm-test.inc (j0_test): Add more tests.
9002 (j1_test): Likewise.
9003 (y0_test): Likewise.
9004 (y1_test): Likewise.
9005 * sysdeps/i386/fpu/libm-test-ulps: Update.
9006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9007
2a185d32
JM
9008 [BZ #14155]
9009 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9010 1 / x and functions P and Q for arguments above 0x1p256L.
9011 (__ieee754_y0l): Likewise.
9012 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9013 (__ieee754_y1l): Likewise.
9014 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9015 (j1_test): Likewise.
9016 (y0_test): Likewise.
9017 (y1_test): Likewise.
9018
6cbec759
TS
90192013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9020
9021 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9022 variable.
9023
bc16e260
RM
90242013-03-15 Roland McGrath <roland@hack.frob.com>
9025
aefc9b8c
RM
9026 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9027 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9028 zero since it's initialized to EXEC_PAGESIZE.
9029
bc16e260
RM
9030 * sysdeps/unix/sysv/linux/ldsodefs.h
9031 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9032 * sysdeps/generic/ldsodefs.h: ... here.
9033
a57da955
TS
90342013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9035
af00a34d
TS
9036 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9037
495ded2c
TS
9038 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9039 math/test-snan.c.
9040 * math/test-snan.c: Renamed from
9041 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9042 * math/Makefile (tests): Add test-snan.
9043 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9044 test-powerpc-snan.
9045
777b0332
TS
9046 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9047 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9048 functions.
9049 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9050 __builtin_nan family of functions.
9051 * math/libm-test.inc (initialize): Initialize qnan_value with
9052 __builtin_nan family of functions.
9053 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9054 Remove variables.
9055 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9056 Remove functions.
9057 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9058 storage class. Initialize qNaN_var and sNaN_var with
9059 __builtin_nan and __builtin_nans families of functions,
9060 respectively.
9061
64d063b8
TS
9062 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9063 (sqrt_test): Remove duplicate test with qNaN input.
9064 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9065 (round_test, signbit_test, significand_test): Note missing +/-Inf
9066 as well as qNaN tests.
9067
67e971f1
TS
9068 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9069 qNaN_var. Fix a few strings, too.
9070 * math/libm-test.inc (nan_value): Rename to qnan_value.
9071 * math/gen-libm-test.pl (%beautify): Adjust to that.
9072 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9073 * math/test-misc.c (main): Likewise.
9074 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9075 to __qnan_bytes, and __qnan_union, respectively.
9076 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9077 Likewise.
9078 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9079 and lqnanval, respectively.
9080 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9081 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9082 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9083 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9084
64487e12
TS
9085 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9086 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9087 doubles.
9088
e015e27b
TS
9089 * math/test-misc.c (main): Fix copy'n'pastos.
9090 * misc/tst-efgcvt.c (special): Likewise.
9091
a57da955
TS
9092 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9093 Remove declarations.
9094
1e380345
SP
90952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9096
9097 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9098 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9099 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9100 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9101
ef26eece
AZ
91022013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9103
9104 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9105 macro to return vdso values correctly in IFUNC implementations.
9106 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9107 Optimization by using IFUNC.
9108
8cfdb7e0
SP
91092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9110 Richard Henderson <rth@redhat.com>
9111 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9112
9113 * Makefile.in (bench): New target.
9114 * NEWS: Mention the benchmark framework.
9115 * Rules (bench): Likewise.
9116 (binaries-bench): Generate binaries for functions to
9117 benchmark.
9118 * benchtests/Makefile: New makefile for benchmark tests.
9119 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9120 programs.
9121 * benchtests/exp-inputs: New input file for EXP function.
9122 * benchtests/pow-inputs: New input file for POW function.
9123 * scripts/bench.pl: New script to generate source files for
9124 benchmark programs.
9125
bcda9880
SP
91262013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9127
d22ca8cd
SP
9128 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9129 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9130 computations on mantissa. Use macros for rounding and
9131 division.
9132 (denorm): Likewise.
9133 (__dbl_mp): Likewise.
9134 (add_magnitudes): Likewise.
9135 (sub_magnitudes): Likewise.
9136 (__mul): Likewise.
9137 (__sqr): Likewise.
9138 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9139 powers of two in terms of TWOPOW macro.
9140 (mp_no): Make type of mantissa as MANTISSA_T.
9141 [!RADIXI]: Define RADIXI.
9142 [!TWO52]: Define TWO52.
9143 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9144
bcda9880
SP
9145 * manual/nptl.texi (cindex): Modify threads to pthreads.
9146
06d5adfb
JM
91472013-03-15 Joseph Myers <joseph@codesourcery.com>
9148
9149 * sysdeps/x86_64/preconfigure: Regenerated.
9150
41c7328e
JM
91512013-03-14 Joseph Myers <joseph@codesourcery.com>
9152
9153 [BZ #14155]
9154 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9155 0x1p28 and above.
9156 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9157 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9158 0x1p28 and above.
9159 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9160 * math/libm-test.inc (j0_test): Do not allow one spurious
9161 underflow exception.
9162 (y1_test): Likewise.
9163
e25cfa60
SP
91642013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9165
0409959c
SP
9166 * manual/Makefile (chapters): Add nptl.
9167 * manual/debug.texi (Debugging Support): Add link to Threads
9168 chapter.
9169 * manual/nptl.texi: New file.
9170
e25cfa60
SP
9171 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9172
58a1335e
PB
91732013-03-14 Petr Baudis <pasky@ucw.cz>
9174
9175 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9176 for non-NULL pointer before the memory validity test. Pointed
9177 out by Holger Brunck <holger.brunck@keymile.com>.
9178
9dc7c64f
AS
91792013-03-13 Andreas Schwab <schwab@suse.de>
9180
9181 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9182 instead of .os.
9183
54206aa6
JM
91842013-03-13 Joseph Myers <joseph@codesourcery.com>
9185
9186 * timezone/zic.c: Update from tzcode 2013b.
9187
e98cdb38
CD
91882013-03-12 Carlos O'Donell <carlos@redhat.com>
9189
9190 * manual/install.texi (Configuring and compiling):
9191 Mention i686 and i586.
9192 * INSTALL: Regenerate.
9193
9967e003
RM
91942013-03-12 Roland McGrath <roland@hack.frob.com>
9195
9196 * sysdeps/init_array/elf-init.c: New file.
9197 * csu/elf-init.c
9198 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9199 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9200
9201 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9202 __gmon_start__ as global, but as static with a .preinit_array pointer.
9203 * sysdeps/init_array/gmon-start.c: New file. Use that.
9204 * sysdeps/init_array/crti.S: New file, empty except for comments.
9205 * sysdeps/init_array/crtn.S: Likewise.
9206
e6b5a293 92072013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9208
9209 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9210 definining bcopy.
80f844c9
OB
9211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9212 Remove Prefer_SSE_for_memop.
9213 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9214 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9215 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9217 memset-x86-64.
80f844c9 9218 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9219 Remove bzero, memset ifunc support.
80f844c9
OB
9220 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9221 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9222 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9223 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9224
fb6b0fcb
AS
92252013-03-11 Andreas Schwab <schwab@suse.de>
9226
9227 [BZ #15234]
9228 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9229 by SHLIB_COMPAT.
9230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9231 (GLIBC_2.16): Remove pthread_atfork.
9232
3e6bd4b1
PP
92332013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9234
9235 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9236 (ptestcases.h): Likewise.
9237
222d7f00
RM
92382013-03-08 Roland McGrath <roland@hack.frob.com>
9239
9240 * Makeconfig ($(common-objpfx)config.status): Depend on
9241 sysdeps/*/preconfigure{,.in} too.
9242
1ba4f030
JM
92432013-03-08 Joseph Myers <joseph@codesourcery.com>
9244
a222d91a
JM
9245 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9246 (__free_hook): Use void * instead of __malloc_ptr_t.
9247 (__malloc_hook): Likewise.
9248 (__realloc_hook): Likewise.
9249 (__memalign_hook): Likewise.
9250 (__after_morecore_hook): Likewise.
9251 * malloc/arena.c (save_malloc_hook): Likewise.
9252 (save_free_hook): Likewise.
9253 * malloc/hooks.c (malloc_hook_ini): Likewise.
9254 (realloc_hook_ini): Likewise.
9255 (memalign_hook_ini): Likewise.
9256 * malloc/malloc.c (malloc_hook_ini): Likewise.
9257 (realloc_hook_ini): Likewise.
9258 (memalign_hook_ini): Likewise.
9259 (__free_hook): Likewise.
9260 (__malloc_hook): Likewise.
9261 (__realloc_hook): Likewise.
9262 (__memalign_hook): Likewise.
9263 (__libc_malloc): Likewise.
9264 (__libc_free): Likewise.
9265 (__libc_realloc): Likewise.
9266 (__libc_memalign): Likewise.
9267 (__libc_valloc): Likewise.
9268 (__libc_pvalloc): Likewise.
9269 (__libc_calloc): Likewise.
9270 (__posix_memalign): Likewise.
9271 * malloc/morecore.c (__sbrk): Likewise.
9272 (__default_morecore): Likewise.
9273
5cc45e10
JM
9274 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9275
dd54b864
JM
9276 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9277 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9278 __malloc_ptrdiff_t.
9279
1ba4f030
JM
9280 * malloc/malloc.h (__malloc_size_t): Remove macro.
9281 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9282 __malloc_size_t.
9283 (old_memalign_hook): Likewise.
9284 (old_realloc_hook): Likewise.
9285 (struct hdr): Likewise.
9286 (flood): Likewise.
9287 (mallochook): Likewise.
9288 (memalignhook): Likewise.
9289 (reallochook): Likewise.
9290 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9291 (tr_old_realloc_hook): Likewise.
9292 (tr_old_memalign_hook): Likewise.
9293 (tr_mallochook): Likewise.
9294 (tr_reallochook): Likewise.
9295 (tr_memalignhook): Likewise.
9296
edf66e57
AZ
92972013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9298
9299 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9300 default_ldbl_pack and using as default implementation.
9301 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9302 implementation.
9303 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9304 redundant definition.
9305 (ldbl_insert_mantissa): Likewise.
9306 (ldbl_canonicalize): Likewise.
9307 (ldbl_nearbyint): Likewise.
9308 (ldbl_pack): Rename to ldbl_pack_ppc.
9309 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9310 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9311 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9312
6d9145d8
SP
93132013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9314
9315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9316 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9317 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9318 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9320 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9321 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9322 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9323
4dd4e157
AJ
93242013-03-07 Andreas Jaeger <aj@suse.de>
9325
9326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9327 bits/mman-linux.h.
9328
adbb8027
SP
93292013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9330
ce544b5b
SP
9331 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9332 Include mpa.h and declare __MPEXP.
9333 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9334 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9335 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9336 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9337 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9338 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9339 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9340
4cc149fd
SP
9341 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9342 (__slowpow): Use long double EXPL and LOGL functions to
9343 compute POW.
9344 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9345 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9346 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9347 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9348 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9349 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9350
e6ebd4a7
SP
9351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9352 intermediate variable to calculate exponent.
9353 (__sqr): Likewise.
9354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9355 Likewise.
9356 (__sqr): Likewise.
9357
82a9811d
SP
9358 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9359 [!NO__SQR]: Define __sqr.
9360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9361 and NO__SQR. Remove all code except __mul and __sqr. Include
9362 sysdeps/ieee754/dbl-64/mpa.c.
9363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9364
adbb8027
SP
9365 [BZ #12723]
9366 * posix/Makefile (tests): Add tst-pathconf.
9367 * posix/tst-pathconf.c: New test case.
9368 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9369 _PC_PIPE_BUF.
9370 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9371
39120df9
PF
93722013-03-06 Patsy Franklin <pfrankli@redhat.com>
9373
9374 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9375
67525cb8
AJ
93762013-03-06 Andreas Jaeger <aj@suse.de>
9377
664a9ce4
AJ
9378 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9379 definition via __MAP_ANONYMOUS.
9380
8e39047d
AJ
9381 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9382 it's not part of Linux headers.
9383
67525cb8
AJ
9384 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9385 (MAP_HUGE_MASK): Define.
9386
9387 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9388 Define.
9389 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9390 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9391 Define.
9392 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9393 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9394 Define.
9395 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9396 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9397 Define.
9398 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9399
9400 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9401 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9402 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9403 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9404 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9405 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9406
9407 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9408 Handle f2fs.
9409
9410 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9411 Handle f2fs and efivarfs.
9412
9413 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9414 f2fs.
9415
9416 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9417 (EFIVARFS_MAGIC): Add.
9418 (F2FS_LINK_MAX): Add.
9419
e1b42695
PP
94202013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9421
9422 * stdio-common/vfprintf.c: Replace __builtin_expect with
9423 __glibc_unlikely.
9424
2d67d91a
JM
94252013-03-06 Joseph Myers <joseph@codesourcery.com>
9426
9427 [BZ #13550]
9428 * sysdeps/generic/bp-sym.h: Remove file.
9429 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9430 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9431 <bp-sym.h> and <bp-asm.h>.
9432 (__longjmp): Don't use BP_SYM.
9433 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9434 and <bp-asm.h>.
9435 (memcpy): Don't use BP_SYM.
9436 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9437 <bp-sym.h> and <bp-asm.h>.
9438 (memcpy): Don't use BP_SYM.
9439 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9440 <bp-asm.h>.
9441 (memcpy): Don't use BP_SYM.
9442 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9443 <bp-asm.h>.
9444 (memset): Don't use BP_SYM.
9445 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9446 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9447 (__bzero): Don't use BP_SYM.
9448 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9449 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9450 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9451 <bp-sym.h> and <bp-asm.h>.
9452 (memcmp): Don't use BP_SYM. Remove comment about bounded
9453 pointers.
9454 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9455 <bp-sym.h> and <bp-asm.h>.
9456 (memcpy): Don't use BP_SYM.
9457 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9458 <bp-sym.h> and <bp-asm.h>.
9459 (memset): Don't use BP_SYM.
9460 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9461 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9462 (__bzero): Don't use BP_SYM.
9463 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9464 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9465 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9466 <bp-sym.h> and <bp-asm.h>.
9467 (strncmp): Don't use BP_SYM. Remove comment about bounded
9468 pointers.
9469 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9470 <bp-sym.h> and <bp-asm.h>.
9471 (memcpy): Don't use BP_SYM.
9472 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9473 <bp-sym.h> and <bp-asm.h>.
9474 (memset): Don't use BP_SYM.
9475 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9476 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9477 (__bzero): Don't use BP_SYM.
9478 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9479 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9480 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9481 <bp-sym.h> and <bp-asm.h>.
9482 (__memchr): Don't use BP_SYM.
9483 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9484 <bp-sym.h> and <bp-asm.h>.
9485 (memcmp): Don't use BP_SYM. Remove comment about bounded
9486 pointers.
9487 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9488 <bp-sym.h> and <bp-asm.h>.
9489 (memcpy): Don't use BP_SYM.
9490 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9491 <bp-sym.h> and <bp-asm.h>.
9492 (__mempcpy): Don't use BP_SYM.
9493 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9494 <bp-sym.h> and <bp-asm.h>.
9495 (__memrchr): Don't use BP_SYM.
9496 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9497 <bp-sym.h> and <bp-asm.h>.
9498 (memset): Don't use BP_SYM.
9499 (__bzero): Likewise.
9500 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9501 <bp-sym.h> and <bp-asm.h>.
9502 (__rawmemchr): Don't use BP_SYM.
9503 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9504 <bp-sym.h> and <bp-asm.h>.
9505 (__STRCMP): Don't use BP_SYM.
9506 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9507 <bp-sym.h> and <bp-asm.h>.
9508 (strchr): Don't use BP_SYM.
9509 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9510 <bp-sym.h> and <bp-asm.h>.
9511 (__strchrnul): Don't use BP_SYM.
9512 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9513 <bp-sym.h> and <bp-asm.h>.
9514 (strlen): Don't use BP_SYM.
9515 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9516 <bp-sym.h> and <bp-asm.h>.
9517 (strncmp): Don't use BP_SYM. Remove comment about bounded
9518 pointers.
9519 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9520 <bp-sym.h> and <bp-asm.h>.
9521 (__strnlen): Don't use BP_SYM.
9522 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9523 <bp-sym.h> and <bp-asm.h>.
9524 (__GI__setjmp): Don't use BP_SYM.
9525 (_setjmp): Likewise.
9526 (__sigsetjmp): Likewise.
9527 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9528 (L(start_addresses)): Don't use BP_SYM.
9529 (_start): Likewise.
9530 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9531 <bp-asm.h>.
9532 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9533 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9534 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9535 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9536 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9537 <bp-asm.h>.
9538 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9539 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9540 about bounded pointers.
9541 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9542 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9543 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9544 <bp-asm.h>.
9545 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9546 about bounded pointers. Remove GKM FIXME comments.
9547 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9548 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9549 <bp-asm.h>.
9550 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9551 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9552 Remove GKM FIXME comments.
9553 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9554 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9555 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9556 <bp-asm.h>.
9557 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9558 about bounded pointers. Remove GKM FIXME comment.
9559 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9560 and <bp-asm.h>.
9561 (strncmp): Don't use BP_SYM. Remove comment about bounded
9562 pointers.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9564 <bp-sym.h> and <bp-asm.h>.
9565 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9567 <bp-sym.h> and <bp-asm.h>.
9568 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9569 comment.
9570
cdcf361f
PP
95712013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9572
9573 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9574 call free(NULL).
9575
3c4a2b15
DM
95762013-03-05 David S. Miller <davem@davemloft.net>
9577
9578 * po/es.po: Update from translation team.
9579
cdcf361f 95802013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9581
9582 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9583 <bits/mman-linux.h>.
9584 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9585 is fine.
9586 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9587 <bits/mman-linux.h> to end of file.
9588 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9589 is fine.
9590 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9591 <bits/mman-linux.h> to end of file.
9592 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9593 is fine.
9594 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9595 <bits/mman-linux.h> to end of file.
9596
9597 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9598 (MCL_CURRENT, MCL_FUTURE): Define here.
9599
5f67c04f
AK
96002013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9601
8a4473cc 9602 [BZ #15232]
5f67c04f
AK
9603 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9604 attribute_hidden.
9605 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9606
c3e94a95
AK
96072013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9608
9609 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9610 fourth parameter needed for rt_sigprocmask syscall.
9611 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9612 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9613 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9614 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9615 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9616 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9617
cfb6382a
JM
96182013-03-04 Joseph Myers <joseph@codesourcery.com>
9619
9620 [BZ #13550]
9621 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9622 comment about bounded pointers.
9623 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9624 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9625
539d8e01
AJ
96262013-03-04 Andreas Jaeger <aj@suse.de>
9627
9628 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9629 common definitions.
9630
9631 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9632 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9633 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9634 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9635 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9636 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9637
2e167a70 96382013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9639
9640 [BZ #15055]
9641 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9642 __ieee754_sqrl instead of __sqrl.
9643
68508633
JM
96442013-03-01 Joseph Myers <joseph@codesourcery.com>
9645
9646 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9647 * sysdeps/powerpc/fpu_control.h: ... here.
9648 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9649 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9650 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9651 * sysdeps/powerpc/bits/mathinline.h: ... here.
9652
7775448e
RM
96532013-03-01 Roland McGrath <roland@hack.frob.com>
9654
9655 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9656 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9657 to just [NEED_DL_SYSINFO_DSO].
9658 * elf/dl-support.c: Likewise.
9659 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9660 * elf/rtld.c (dl_main): Likewise.
9661 * elf/setup-vdso.h (setup_vdso): Likewise.
9662 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9663 * sysdeps/unix/sysv/linux/dl-sysdep.c
9664 (_dl_discover_osversion): Likewise.
9665
4e9b5995
CD
96662013-03-01 Carlos O'Donell <carlos@redhat.com>
9667
9668 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9669 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9670
e23872c8
SP
96712013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9672
e5c74c63
SP
9673 * NEWS: Mention libm performance improvements and non-x86 PI
9674 futex support.
9675
e23872c8
SP
9676 * csu/libc-start.c (__pthread_initialize_minimal): Change
9677 function arguments.
9678 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9679
b5510883
JM
96802013-02-28 Joseph Myers <joseph@codesourcery.com>
9681
9682 [BZ #13550]
9683 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9684 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9685 <bp-sym.h> and <bp-asm.h>.
9686 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9687 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9688 and <bp-asm.h>.
9689 (memcpy): Don't use BP_SYM.
9690 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9691 <bp-asm.h>.
9692 (__mpn_add_n): Don't use BP_SYM.
9693 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9694 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9695 and <bp-asm.h>.
9696 (__mpn_addmul_1): Don't use BP_SYM.
9697 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9698 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9699 <bp-sym.h>.
9700 (_setjmp): Don't use BP_SYM.
9701 (__novmx_setjmp): Likewise.
9702 (__GI__setjmp): Likewise.
9703 (__vmx_setjmp): Likewise.
9704 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9705 <bp-sym.h>.
9706 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9707 (__bzero): Don't use BP_SYM.
9708 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9709 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9710 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9711 <bp-sym.h> and <bp-asm.h>.
9712 (memcpy): Don't use BP_SYM.
9713 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9714 <bp-sym.h> and <bp-asm.h>.
9715 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9716 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9717 <bp-sym.h> and <bp-asm.h>.
9718 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9719 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9720 <bp-asm.h>.
9721 (__mpn_lshift): Don't use BP_SYM.
9722 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9723 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9724 <bp-asm.h>.
9725 (memset): Don't use BP_SYM.
9726 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9727 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9728 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9729 <bp-asm.h>.
9730 (__mpn_mul_1): Don't use BP_SYM.
9731 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9732 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9733 <bp-sym.h> and <bp-asm.h>.
9734 (memcmp): Don't use BP_SYM.
9735 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9736 <bp-sym.h> and <bp-asm.h>.
9737 (memcpy): Don't use BP_SYM.
9738 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9739 <bp-sym.h> and <bp-asm.h>.
9740 (memset): Don't use BP_SYM.
9741 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9742 <bp-sym.h> and <bp-asm.h>.
9743 (strncmp): Don't use BP_SYM.
9744 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9745 <bp-sym.h> and <bp-asm.h>.
9746 (memcpy): Don't use BP_SYM.
9747 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9748 <bp-sym.h> and <bp-asm.h>.
9749 (memset): Don't use BP_SYM.
9750 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9751 <bp-sym.h> and <bp-asm.h>.
9752 (__memchr): Don't use BP_SYM.
9753 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9754 <bp-sym.h> and <bp-asm.h>.
9755 (memcmp): Don't use BP_SYM.
9756 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9757 <bp-sym.h> and <bp-asm.h>.
9758 (memcpy): Don't use BP_SYM.
9759 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9760 <bp-sym.h> and <bp-asm.h>.
9761 (__mempcpy): Don't use BP_SYM.
9762 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9763 <bp-sym.h> and <bp-asm.h>.
9764 (__memrchr): Don't use BP_SYM.
9765 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9766 <bp-sym.h> and <bp-asm.h>.
9767 (memset): Don't use BP_SYM.
9768 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9769 <bp-sym.h> and <bp-asm.h>.
9770 (__rawmemchr): Don't use BP_SYM.
9771 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9772 <bp-sym.h> and <bp-asm.h>.
9773 (__STRCMP): Don't use BP_SYM.
9774 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9775 <bp-sym.h> and <bp-asm.h>.
9776 (strchr): Don't use BP_SYM.
9777 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9778 <bp-sym.h> and <bp-asm.h>.
9779 (__strchrnul): Don't use BP_SYM.
9780 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9781 <bp-sym.h> and <bp-asm.h>.
9782 (strlen): Don't use BP_SYM.
9783 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9784 <bp-sym.h> and <bp-asm.h>.
9785 (strncmp): Don't use BP_SYM.
9786 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9787 <bp-sym.h> and <bp-asm.h>.
9788 (__strnlen): Don't use BP_SYM.
9789 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9790 <bp-asm.h>.
9791 (__mpn_rshift): Don't use BP_SYM.
9792 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9793 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9794 <bp-sym.h> and <bp-asm.h>.
9795 (__sigsetjmp): Don't use BP_SYM.
9796 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9797 (L(start_addresses)): Don't use BP_SYM.
9798 (_start): Likewise.
9799 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9800 <bp-asm.h>.
9801 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9802 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9803 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9804 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9805 <bp-asm.h>.
9806 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9807 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9808 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9809 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9810 <bp-asm.h>.
9811 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9812 comments.
9813 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9814 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9815 <bp-asm.h>.
9816 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9817 FIXME comments.
9818 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9819 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9820 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9821 <bp-asm.h>.
9822 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9823 comment.
9824 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9825 and <bp-asm.h>.
9826 (strncmp): Don't use BP_SYM,
9827 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9828 <bp-asm.h>.
9829 (__mpn_sub_n): Don't use BP_SYM.
9830 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9831 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9832 and <bp-asm.h>.
9833 (__mpn_submul_1): Don't use BP_SYM.
9834 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9836 <bp-sym.h> and <bp-asm.h>.
9837 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9839 <bp-sym.h> and <bp-asm.h>.
9840 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9841 comment.
9842
8d19fe64
SP
98432013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9844
9845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9846 Use ZK to minimize writes to Z.
9847 (sub_magnitudes): Simplify code a bit.
9848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9849 Use ZK to minimize writes to Z.
9850 (sub_magnitudes): Simplify code a bit.
9851
85bd816a
RM
98522013-02-27 Roland McGrath <roland@hack.frob.com>
9853
9854 * csu/gmon-start.c: Add special exception to license text.
9855
b5977bf2
RH
98562013-02-27 Richard Henderson <rth@redhat.com>
9857
9858 * scripts/config.guess: Update from config.git.
9859 * scripts/config.sub: Likewise.
9860
11d6e2f2
SP
98612013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9862
09c14ed2
SP
9863 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9864
a688864e
SP
9865 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9866
6295157a
SP
9867 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9868
b8de2202
SP
9869 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9870
11d6e2f2
SP
9871 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9872
7e80ddb8
RM
98732013-02-26 Roland McGrath <roland@hack.frob.com>
9874
9875 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9876 [$(build-shared = yes].
7e80ddb8 9877
7da6d9ed
SP
98782013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9879
45f05884
SP
9880 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9881 (__mul): Reduce iterations for calculating mantissa.
9882
2236d359
SP
9883 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9884 MPTWO.
9885 (__mpranred): Likewise.
9886
7da6d9ed
SP
9887 [BZ #15160]
9888 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9889 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9890
b7688c42
PE
98912013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9892
9893 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9894 Define __attribute__.
9895
53a5c423
SP
98962013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9897
9898 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9899 unused.
9900 * posix/regex_internal.h (__attribute): Remove.
9901 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9902 (re_string_context_at): Likewise.
9903 (bitset_not): Use __attribute__ and mark function as possibly
9904 unused.
9905 (bitset_merge): Likewise.
9906 (bitset_mask): Likewise.
9907 (re_string_char_size_at): Likewise.
9908 (re_string_wchar_at): Likewise.
9909 (re_string_elem_size_at): Likewise.
9910
60f5a8b5
SP
99112013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9912
2a983a2e
SP
9913 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9914 code.
9915 (cc32): Likewise.
9916
e69804d1
SP
9917 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9918 (__acr): Likewise.
9919 (__cpy): Likewise.
9920 (norm): Likewise.
9921 (denorm): Likewise.
9922 (__dbl_mp): Likewise.
9923 (add_magnitudes): Likewise.
9924 (sub_magnitudes): Likewise.
9925 (__mul): Likewise.
9926 (__inv): Likewise.
9927
2f22a1e8
SP
9928 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9929 style.
9930
8930ddc7
SP
9931 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9932 style.
9933
dc60cb11
SP
9934 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9935 code.
9936
60f5a8b5
SP
9937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9938 up changes with default code.
9939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9940 Likewise.
9941
b4d1fd33
AM
99422013-02-24 Allan McRae <allan@archlinux.org>
9943
faf6f8bc
AM
9944 * manual/socket.texi (The Internet Namespace): Order menu items
9945 to match that in the file.
9946
b4d1fd33
AM
9947 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9948 node listing of the info page menu.
9949
2366713d
JM
99502013-02-21 Joseph Myers <joseph@codesourcery.com>
9951
9952 [BZ #13550]
9953 * sysdeps/i386/bp-asm.h: Remove file.
9954 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9955 (PARMS): Do not use macros from bp-asm.h.
9956 (S1): Likewise.
9957 (S2): Likewise.
9958 (SIZE): Likewise.
9959 (__mpn_add_n): Do not use BP_SYM
9960 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9961 "bp-asm.h".
9962 (PARMS): Do not use macros from bp-asm.h.
9963 (S1): Likewise.
9964 (SIZE): Likewise.
9965 (__mpn_addmul_1): Do not use BP_SYM
9966 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9967 "bp-asm.h".
9968 (PARMS): Do not use macros from bp-asm.h.
9969 (SIGMSK): Likewise.
9970 (_setjmp): Likewise. Do not use BP_SYM.
9971 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9972 "bp-asm.h".
9973 (PARMS): Do not use macros from bp-asm.h.
9974 (SIGMSK): Likewise.
9975 (setjmp): Likewise. Do not use BP_SYM.
9976 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9977 "bp-asm.h".
9978 (PARMS): Do not use macros from bp-asm.h.
9979 (__frexp): Do not use BP_SYM.
9980 (frexp): Likewise.
9981 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9982 "bp-asm.h".
9983 (PARMS): Do not use macros from bp-asm.h.
9984 (__frexpf): Do not use BP_SYM.
9985 (frexpf): Likewise.
9986 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9987 "bp-asm.h".
9988 (PARMS): Do not use macros from bp-asm.h.
9989 (__frexpl): Do not use BP_SYM.
9990 (frexpl): Likewise.
9991 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9992 "bp-asm.h".
9993 (PARMS): Do not use macros from bp-asm.h.
9994 (__remquo): Do not use BP_SYM.
9995 (remquo): Likewise.
9996 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9997 "bp-asm.h".
9998 (PARMS): Do not use macros from bp-asm.h.
9999 (__remquof): Do not use BP_SYM.
10000 (remquof): Likewise.
10001 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10002 "bp-asm.h".
10003 (PARMS): Do not use macros from bp-asm.h.
10004 (__remquol): Do not use BP_SYM.
10005 (remquol): Likewise.
10006 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10007 "bp-asm.h".
10008 (PARMS): Do not use macros from bp-asm.h.
10009 (DEST): Likewise.
10010 (SRC): Likewise.
10011 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10012 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10013 "bp-asm.h".
10014 (PARMS): Do not use macros from bp-asm.h.
10015 (strlen): Do not use BP_SYM.
10016 * sysdeps/i386/i586/add_n.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 (S2): Likewise.
10021 (SIZE): Likewise.
10022 (__mpn_add_n): Do not use BP_SYM.
10023 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10024 "bp-asm.h".
10025 (PARMS): Do not use macros from bp-asm.h.
10026 (S1): Likewise.
10027 (SIZE): Likewise.
10028 (__mpn_addmul_1): Do not use BP_SYM.
10029 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10030 weak_alias.
10031 (bzero): Likewise.
10032 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10033 "bp-asm.h".
10034 (PARMS): Do not use macros from bp-asm.h.
10035 (S): Likewise.
10036 (SIZE): Likewise.
10037 (__mpn_lshift): Do not use BP_SYM.
10038 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10039 "bp-asm.h".
10040 (PARMS): Do not use macros from bp-asm.h.
10041 (DEST): Likewise.
10042 (SRC): Likewise.
10043 (LEN): Likewise.
10044 (memcpy): Likewise. Do not use BP_SYM.
10045 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10046 libc_hidden_def and weak_alias.
10047 (mempcpy): Do not use BP_SYM in weak_alias.
10048 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10049 "bp-asm.h".
10050 (PARMS): Do not use macros from bp-asm.h.
10051 (DEST): Likewise.
10052 (LEN): Likewise.
10053 [!BZERO_P] (CHR): Likewise.
10054 (memset): Likewise. Do not use BP_SYM.
10055 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10056 "bp-asm.h".
10057 (PARMS): Do not use macros from bp-asm.h.
10058 (S1): Likewise.
10059 (SIZE): Likewise.
10060 (__mpn_mul_1): Do not use BP_SYM.
10061 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10062 "bp-asm.h".
10063 (PARMS): Do not use macros from bp-asm.h.
10064 (S): Likewise.
10065 (SIZE): Likewise.
10066 (__mpn_rshift): Do not use BP_SYM.
10067 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10068 "bp-asm.h".
10069 (PARMS): Do not use macros from bp-asm.h.
10070 (STR): Likewise.
10071 (CHR): Likewise.
10072 (strchr): Likewise. Do not use BP_SYM.
10073 (index): Do not use BP_SYM in weak_alias.
10074 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10075 "bp-asm.h".
10076 (PARMS): Do not use macros from bp-asm.h.
10077 (DEST): Likewise.
10078 (SRC): Likewise.
10079 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10080 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10081 "bp-asm.h".
10082 (PARMS): Do not use macros from bp-asm.h.
10083 (strlen): Do not use BP_SYM.
10084 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10085 "bp-asm.h".
10086 (PARMS): Do not use macros from bp-asm.h.
10087 (S1): Likewise.
10088 (S2): Likewise.
10089 (SIZE): Likewise.
10090 (__mpn_sub_n): Do not use BP_SYM.
10091 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10092 "bp-asm.h".
10093 (PARMS): Do not use macros from bp-asm.h.
10094 (S1): Likewise.
10095 (SIZE): Likewise.
10096 (__mpn_submul_1): Do not use BP_SYM.
10097 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10098 "bp-asm.h".
10099 (PARMS): Do not use macros from bp-asm.h.
10100 (S1): Likewise.
10101 (S2): Likewise.
10102 (SIZE): Likewise.
10103 (__mpn_add_n): Do not use BP_SYM.
10104 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10105 weak_alias.
10106 (bzero): Likewise.
10107 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10108 "bp-asm.h".
10109 (PARMS): Do not use macros from bp-asm.h.
10110 (BLK2): Likewise.
10111 (LEN): Likewise.
10112 (memcmp): Do not use BP_SYM.
10113 (bcmp): Do not use BP_SYM in weak_alias.
10114 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10115 "bp-asm.h".
10116 (PARMS): Do not use macros from bp-asm.h.
10117 (DEST): Likewise.
10118 (SRC): Likewise.
10119 (LEN): Likewise.
10120 (memcpy): Likewise. Do not use BP_SYM.
10121 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10122 "bp-asm.h".
10123 (PARMS): Do not use macros from bp-asm.h.
10124 (DEST): Likewise.
10125 (SRC): Likewise.
10126 (LEN): Likewise.
10127 (memmove): Likewise. Do not use BP_SYM.
10128 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10129 "bp-asm.h".
10130 (PARMS): Do not use macros from bp-asm.h.
10131 (DEST): Likewise.
10132 (SRC): Likewise.
10133 (LEN): Likewise.
10134 (__mempcpy): Likewise. Do not use BP_SYM.
10135 (mempcpy): Do not use BP_SYM in weak_alias.
10136 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10137 "bp-asm.h".
10138 (PARMS): Do not use macros from bp-asm.h.
10139 (DEST): Likewise.
10140 (LEN): Likewise.
10141 [!BZERO_P] (CHR): Likewise.
10142 (memset): Likewise. Do not use BP_SYM.
10143 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10144 "bp-asm.h".
10145 (PARMS): Do not use macros from bp-asm.h.
10146 (STR2): Likewise.
10147 (strcmp): Do not use BP_SYM.
10148 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10149 "bp-asm.h".
10150 (PARMS): Do not use macros from bp-asm.h.
10151 (STR): Likewise.
10152 (DELIM): Likewise.
10153 [USE_AS_STRTOK_R] (SAVE): Likewise.
10154 (FUNCTION): Likewise. Do not use BP_SYM.
10155 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10156 aliases.
10157 (strtok_r): Likewise.
10158 (__GI___strtok_r): Likewise.
10159 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10160 (PARMS): Do not use macros from bp-asm.h.
10161 (S): Likewise.
10162 (SIZE): Likewise.
10163 (__mpn_lshift): Do not use BP_SYM.
10164 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10165 (PARMS): Do not use macros from bp-asm.h.
10166 (STR): Likewise.
10167 (CHR): Likewise.
10168 (__memchr): Do not use BP_SYM.
10169 (memchr): Do not use BP_SYM in weak_alias.
10170 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10171 (PARMS): Do not use macros from bp-asm.h.
10172 (BLK2): Likewise.
10173 (LEN): Likewise.
10174 (memcmp): Do not use BP_SYM.
10175 (bcmp): Do not use BP_SYM in weak_alias.
10176 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10177 (PARMS): Do not use macros from bp-asm.h.
10178 (S1): Likewise.
10179 (SIZE): Likewise.
10180 (__mpn_mul_1): Do not use BP_SYM.
10181 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10182 "bp-asm.h".
10183 (PARMS): Do not use macros from bp-asm.h.
10184 (STR): Likewise.
10185 (CHR): Likewise.
10186 (__rawmemchr): Do not use BP_SYM.
10187 (rawmemchr): Do not use BP_SYM in weak_alias.
10188 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10189 (PARMS): Do not use macros from bp-asm.h.
10190 (S): Likewise.
10191 (SIZE): Likewise.
10192 (__mpn_rshift): Do not use BP_SYM.
10193 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10194 (PARMS): Do not use macros from bp-asm.h.
10195 (SIGMSK): Likewise.
10196 (__sigsetjmp): Likewise. Do not use BP_SYM.
10197 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10198 (_start): Do not use BP_SYM.
10199 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10200 (PARMS): Do not use macros from bp-asm.h.
10201 (DEST): Likewise.
10202 (SRC): Likewise.
10203 (__stpcpy): Likewise. Do not use BP_SYM.
10204 (stpcpy): Do not use BP_SYM in weak_alias.
10205 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10206 "bp-asm.h".
10207 (PARMS): Do not use macros from bp-asm.h.
10208 (DEST): Likewise.
10209 (SRC): Likewise.
10210 (LEN): Likewise.
10211 (__stpncpy): Likewise. Do not use BP_SYM.
10212 (stpncpy): Do not use BP_SYM in weak_alias.
10213 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10214 (PARMS): Do not use macros from bp-asm.h.
10215 (STR): Likewise.
10216 (CHR): Likewise.
10217 (strchr): Likewise. Do not use BP_SYM.
10218 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10219 "bp-asm.h".
10220 (PARMS): Do not use macros from bp-asm.h.
10221 (STR): Likewise.
10222 (CHR): Likewise.
10223 (__strchrnul): Likewise. Do not use BP_SYM.
10224 (strchrnul): Do not use BP_SYM in weak_alias.
10225 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10226 "bp-asm.h".
10227 (PARMS): Do not use macros from bp-asm.h.
10228 (STOP): Likewise.
10229 (strcspn): Do not use BP_SYM.
10230 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10231 "bp-asm.h".
10232 (PARMS): Do not use macros from bp-asm.h.
10233 (STR): Likewise.
10234 (STOP): Likewise.
10235 (strpbrk): Likewise. Do not use BP_SYM.
10236 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10237 "bp-asm.h".
10238 (PARMS): Do not use macros from bp-asm.h.
10239 (STR): Likewise.
10240 (CHR): Likewise.
10241 (strrchr): Likewise. Do not use BP_SYM.
10242 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10243 (PARMS): Do not use macros from bp-asm.h.
10244 (SKIP): Likewise.
10245 (strspn): Do not use BP_SYM.
10246 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10247 (PARMS): Do not use macros from bp-asm.h.
10248 (STR): Likewise.
10249 (DELIM): Likewise.
10250 (SAVE): Likewise.
10251 (FUNCTION): Likewise. Do not use BP_SYM.
10252 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10253 aliases.
10254 (strtok_r): Likewise.
10255 (__GI___strtok_r): Likewise.
10256 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10257 (PARMS): Do not use macros from bp-asm.h.
10258 (S1): Likewise.
10259 (S2): Likewise.
10260 (SIZE): Likewise.
10261 (__mpn_sub_n): Do not use BP_SYM.
10262 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10263 "bp-asm.h".
10264 (PARMS): Do not use macros from bp-asm.h.
10265 (S1): Likewise.
10266 (SIZE): Likewise.
10267 (__mpn_submul_1): Do not use BP_SYM.
10268 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10269 <bp-sym.h>.
10270 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10271 and <bp-asm.h>.
10272 (PARMS): Do not use macros from bp-asm.h.
10273 (FLAGS): Likewise.
10274 (PTID): Likewise.
10275 (TLS): Likewise.
10276 (CTID): Likewise.
10277 (__clone): Do not use BP_SYM.
10278 (clone): Do not use BP_SYM in weak_alias.
10279 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10280 and <bp-asm.h>.
10281 (PARMS): Do not use macros from bp-asm.h.
10282 (LEN): Likewise.
10283 (__mmap64): Do not use BP_SYM.
10284 (mmap64): Do not use BP_SYM in weak_alias.
10285 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10286 <bp-sym.h> and <bp-asm.h>.
10287 (PARMS): Do not use macros from bp-asm.h.
10288 (__posix_fadvise64_l64): Do not use BP_SYM.
10289 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10290 (PARMS): Do not use macros from bp-asm.h.
10291 (NSOPS): Likewise.
10292 (semtimedop): Do not use BP_SYM.
10293 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10294 and <bp-asm.h>.
10295
582a3cff
AM
102962013-02-21 Allan McRae <allan@archlinux.org>
10297
10298 * manual/message.texi (Charset conversion in gettext):
10299 Move @end statement to beginning of line.
10300
bab8a695
SP
103012013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10302
80945231
SP
10303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10304 static.
10305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10306 Likewise.
10307
bab8a695
SP
10308 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10309 (denorm): Likewise.
10310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10312
e21d7aa7
AK
103132013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10314
10315 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10316 tail-call to the resolved function if pltexit isn't needed.
10317
4c7a4263
SP
103182013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10319
10320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10321 or Y being zero as being unlikely.
10322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10323 Likewise.
10324
41f49342
CD
103252013-02-20 Carlos O'Donell <carlos@redhat.com>
10326
10327 * manual/nss.texi (System Databases and Name Service Switch):
10328 Remove frobnicate @pxref.
10329
50022a93
TS
103302013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10331
10332 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10333 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10334
08cbd996
PM
103352013-02-20 Petr Machata <pmachata@redhat.com>
10336
10337 * elf/elf.h (R_ARM_TARGET1): New macro.
10338 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10339 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10340 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10341 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10342 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10343 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10344 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10345 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10346 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10347 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10348 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10349 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10350 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10351 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10352 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10353 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10354 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10355 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10356 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10357 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10358 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10359 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10360 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10361 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10362 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10363 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10364 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10365 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10366 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10367 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10368 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10369 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10370 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10371 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10372 (R_ARM_THM_GOT_BREL12): Likewise.
10373 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10374 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10375 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10376 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10377 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10378 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10379 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10380 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10381 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10382
c7b275d6
TS
103832013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10384
10385 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10386 __attribute_used__ to __attribute__ ((unused)).
10387
20cd7fb3
SP
103882013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10389
10390 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10391 powerpc mpa.c.
10392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10393 comment formatting.
10394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10395
92945b52
JM
103962013-02-19 Joseph Myers <joseph@codesourcery.com>
10397
10398 [BZ #13550]
10399 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10400 Remove macro.
10401 (ENTER): Remove both macro definitions.
10402 (LEAVE): Likewise.
10403 (CHECK_BOUNDS_LOW): Likewise.
10404 (CHECK_BOUNDS_HIGH): Likewise.
10405 (CHECK_BOUNDS_BOTH): Likewise.
10406 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10407 (RETURN_BOUNDED_POINTER): Likewise.
10408 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10409 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10410 (POP_ERRNO_LOCATION_RETURN): Likewise.
10411 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10412 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10413 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10414 macros.
10415 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10416 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10417 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10418 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10419 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10420 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10421 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10422 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10423 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10424 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10425 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10426 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10427 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10428 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10429 removed macros.
10430 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10431 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10432 macros.
10433 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10434 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10435 * sysdeps/i386/i586/memset.S (memset): Likewise.
10436 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10437 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10438 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10439 macros.
10440 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10441 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10442 Change uses of L(2) to L(out).
10443 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10444 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10445 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10446 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10447 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10448 removed macros.
10449 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10450 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10451 macros.
10452 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10453 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10454 (RETURN): Do not use macro LEAVE.
10455 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10456 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10457 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10458 * sysdeps/i386/i686/memset.S (memset): Likewise.
10459 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10460 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10461 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10462 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10463 Likewise.
10464 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10465 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10466 L(1_2) and L(1_3) into L(1).
10467 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10468 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10469 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10470 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10471 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10472 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10473 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10474 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10475 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10476 macros.
10477 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10478 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10479 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10480 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10481 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10482 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10483 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10484 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10485 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10486 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10487 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10488 * sysdeps/i386/strspn.S (strspn): Likewise.
10489 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10490 conditional code.
10491 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10492 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10493 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10494 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10495 L(1_3) into L(1_1).
10496 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10497 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10498 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10499 macros.
10500 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10501
2389741a
JJ
105022013-02-19 Jakub Jelinek <jakub@redhat.com>
10503
10504 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10505 macro.
10506
2016b3cd
SP
105072013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10508
e4f22324
SP
10509 * math/atest-exp.c (exp_mpn): Remove ROUND.
10510 * math/atest-exp2.c (exp_mpn): Likewise.
10511 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10512
2016b3cd
SP
10513 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10514 * stdlib/tst-tls-atexit-lib.c: Likewise.
10515 * stdlib/tst-tls-atexit.c: Likewise.
10516
4be9b544
MF
105172013-02-18 Mike Frysinger <vapier@gentoo.org>
10518
10519 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10520 and __attribute_alloc_size__.
10521
2f62b9ee
MF
105222013-02-18 Mike Frysinger <vapier@gentoo.org>
10523
10524 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10525 __attribute_alloc_size__.
10526 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10527 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10528
6ff444c4
MF
105292013-02-18 Mike Frysinger <vapier@gentoo.org>
10530
10531 * include/programs/xmalloc.h: New file.
10532 * catgets/gencat.c: Include it.
10533 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10534 * elf/pldd.c: Likewise.
10535 * iconv/iconv_charmap.c: Likewise.
10536 * iconv/iconvconfig.c: Likewise.
10537 * iconv/strtab.c: Likewise.
10538 * locale/programs/locale.c: Likewise.
10539 * locale/programs/localedef.h: Likewise.
10540 * locale/programs/simple-hash.c: Likewise.
10541 * nscd/nscd.h: Likewise.
10542 * nss/makedb.c: Likewise.
10543 * sysdeps/generic/ldconfig.h: Likewise.
10544
be179c8a
SP
105452013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10546
ba384f6e
SP
10547 * Versions.def: Add GLIBC_2.18.
10548 * include/link.h (struct link_map): New member l_tls_dtor_count.
10549 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10550 (__call_tls_dtors): Likewise.
10551 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10552 __cxa_thread_atexit_impl.
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10554 Likewise.
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10556 Likewise.
10557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10558 Likewise.
10559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10560 Likewise.
10561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10563 Likewise.
10564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10565 Likewise.
10566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10568 Likewise.
10569 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10570 (tests): Add test case tst-tls-atexit.
10571 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10572 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10573 (GLIBC_PRIVATE): Add __call_tls_dtors.
10574 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10575 for libstdc++.
10576 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10577 * stdlib/tst-tls-atexit.c: New test case.
10578 * stdlib/tst-tls-atexit-lib.c: New test case.
10579
ffaa74cf 10580 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10581
be179c8a
SP
10582 * elf/Versions (ld): Add _dl_find_dso_for_object.
10583 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10584 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10585 (dl_open_worker): Use _dl_find_dso_for_object.
10586 * elf/dl-sym.c (do_sym): Likewise.
10587 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10588
f78b5caa
AK
105892013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10590
10591 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10592 Syntactic changes only.
10593 (_dl_runtime_profile): Do a tail-call to the resolved function.
10594
29691210
JM
105952013-02-17 Joseph Myers <joseph@codesourcery.com>
10596
10597 [BZ #13550]
10598 * sysdeps/x86_64/bp-asm.h: Remove file.
10599 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10600 <bp-sym.h> and <bp-asm.h>.
10601 (__clone): Do not use BP_SYM.
10602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10603 <bp-sym.h> and <bp-asm.h>.
10604 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10605 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10606 "bp-asm.h".
10607 (_setjmp): Do not use BP_SYM.
10608 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10609 "bp-asm.h".
10610 (setjmp): Do not use BP_SYM.
10611 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10612 libc_hidden_def.
10613 (mempcpy): Do not use BP_SYM in weak_alias.
10614 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10615 "bp-asm.h".
10616 (strchr): Do not use BP_SYM.
10617 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10618 "bp-asm.h".
10619 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10620 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10621 (_start): Do not use BP_SYM.
10622 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10623 "bp-asm.h".
10624 (strcat): Do not use BP_SYM.
10625 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10626 "bp-asm.h".
10627 (STRCMP): Do not use BP_SYM.
10628 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10629 "bp-asm.h".
10630 (STRCPY): Do not use BP_SYM.
10631 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10632 "bp-asm.h".
10633 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10634 "bp-asm.h".
10635 (FUNCTION): Do not use BP_SYM.
10636 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10637 weak_alias.
10638 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10639
f238fd19
AJ
106402013-02-17 Andreas Jaeger <aj@suse.de>
10641
10642 * time/Versions: Sort entries.
10643 * string/Versions: Likewise.
10644 * resolv/Versions: Likewise.
10645 * posix/Versions: Likewise.
10646 * iconv/Versions: Likewise.
10647 * elf/Versions: Likewise.
10648 * wcsmbs/Versions: Likewise.
10649
bd07f23c 106502013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10651
22af19f9
SP
10652 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10653 loop termination condition.
10654
4709fe76
SP
10655 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10656 variable to calculate EZ.
10657 (__sqr): Likewise.
2d0e0f29
SP
10658
10659 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10660 the lower precision input.
10661
daaa7713
JM
106622013-02-15 Joseph Myers <joseph@codesourcery.com>
10663
10664 [BZ #13550]
10665 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10666 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10667 (run-via-rtld-prefix): Do not handle %-bp tests.
10668 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10669 (all-object-suffixes): Remove .ob.
10670 (bppfx): Remove variable.
10671 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10672 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10673 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10674 [$(build-bounded) = yes] (libtype.ob): Likewise.
10675 * Makerules (elide-routines.ob): Remove variable.
10676 (do-tests-clean): Do not handle *-bp.out.
10677 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10678 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10679 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10680 (tests): Do not include $(tests-bp.out).
10681 (xtests): Do not include $(xtests-bp.out).
10682 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10683 [$(build-bounded) = yes] ($(addprefix
10684 $(objpfx),$(binaries-bounded))): Remove rule.
10685 ($(objpfx)%-bp.out): Remove rule.
10686 * config.make.in (build-bounded): Remove variable.
10687 * crypt/Makefile [$(build-bounded) = yes]
10688 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10689 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10690 append to variable.
10691 [$(build-bounded) = yes] (install-lib): Likewise.
10692 [$(build-bounded) = yes] (generated): Likewise.
10693 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10694 Remove rule.
10695 * intl/Makefile [$(build-bounded) = yes]
10696 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10697 * math/Makefile [$(build-bounded) = yes]
10698 ($(tests:%=$(objpfx)%-bp): Likewise.
10699 * misc/Makefile [$(build-bounded) = yes]
10700 ($(objpfx)tst-tsearch-bp): Likewise.
10701 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10702 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10703 Remove dependency.
10704 * string/Makefile (o-objects.ob): Remove variable.
10705 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10706 (CFLAGS-.ob): Remove variable.
10707 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10708 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10709 both definitions of variable.
10710 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10711 (ASFLAGS-.ob): Remove variable.
10712
e97ed6dd
JM
107132013-02-14 Joseph Myers <joseph@codesourcery.com>
10714
2bdd4ca6
JM
10715 [BZ #13550]
10716 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10717 Remove __BOUNDED_POINTERS__ from condition.
10718 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10719 * string/bits/string2.h [!__NO_STRING_INLINES &&
10720 !__BOUNDED_POINTERS__]: Likewise.
10721 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10722 Likewise.
10723 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10724 Remove conditional code.
10725 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10726 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10727 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10728 condition.
10729
e97ed6dd
JM
10730 [BZ #13550]
10731 * csu/libc-start.c: Do not include <bp-sym.h>.
10732 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10733 * elf/dl-open.c: Do not include <bp-sym.h>.
10734 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10735 * math/fegetenv.c: Do not include <bp-sym.h>.
10736 (fegetenv): Do not use BP_SYM in versioned symbols.
10737 * nptl/sysdeps/pthread/bits/libc-lockP.h
10738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10739 <bp-sym.h>.
10740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10741 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10743 (__pthread_mutex_destroy): Likewise.
10744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10745 (__pthread_mutex_lock): Likewise.
10746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10747 (__pthread_mutex_trylock): Likewise.
10748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10749 (__pthread_mutex_unlock): Likewise.
10750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10751 (__pthread_mutexattr_init): Likewise.
10752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10753 (__pthread_mutexattr_destroy): Likewise.
10754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10755 (__pthread_mutexattr_settype): Likewise.
10756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10757 (__pthread_rwlock_init): Likewise.
10758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10759 (__pthread_rwlock_destroy): Likewise.
10760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10761 (__pthread_rwlock_rdlock): Likewise.
10762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10763 (__pthread_rwlock_tryrdlock): Likewise.
10764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10765 (__pthread_rwlock_wrlock): Likewise.
10766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10767 (__pthread_rwlock_trywrlock): Likewise.
10768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10769 (__pthread_rwlock_unlock): Likewise.
10770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10771 (__pthread_key_create): Likewise.
10772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10773 (__pthread_setspecific): Likewise.
10774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10775 (__pthread_getspecific): Likewise.
10776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10777 Likewise.
10778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10779 (_pthread_cleanup_push_defer): Likewise.
10780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10781 (_pthread_cleanup_pop_restore): Likewise.
10782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10783 (pthread_setcancelstate): Likewise.
10784 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10785 <bp-sym.h>.
10786 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10787 (memchr): Do not use BP_SYM in weak_alias.
10788 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10789 (fegetenv): Do not use BP_SYM in versioned symbols.
10790 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10791 (fesetenv): Do not use BP_SYM in versioned symbols.
10792 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10793 (feupdateenv): Do not use BP_SYM in versioned symbols.
10794 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10795 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10796 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10797 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10798 (open64): Do not use BP_SYM in weak_alias.
10799 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10800 (fegetenv): Do not use BP_SYM in versioned symbols.
10801 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10802 (fesetenv): Do not use BP_SYM in versioned symbols.
10803 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10804 (feupdateenv): Do not use BP_SYM in versioned symbols.
10805 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10806 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10807 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10808 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10809 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10810 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10811 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10812 <bp-sym.h>.
10813 (__libc_start_main): Do not use BP_SYM.
10814
d6752ccd
SP
108152013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10816
cb57ce60
SP
10817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10818 redundant return line.
10819 (norm): Likewise.
10820 (denorm): Likewise.
10821 (dbl_mp): Likewise.
10822 (sub_magnitudes): Likewise.
10823 (__add): Likewise.
10824 (__sub): Likewise.
10825 (__mul): Likewise.
10826 (__inv): Likewise.
10827 (__dvd): Likewise.
10828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10829 (norm): Likewise.
10830 (denorm): Likewise.
10831 (dbl_mp): Likewise.
10832 (sub_magnitudes): Likewise.
10833 (__add): Likewise.
10834 (__sub): Likewise.
10835 (__mul): Likewise.
10836 (__inv): Likewise.
10837 (__dvd): Likewise.
10838
f414520d
SP
10839 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10840 instead of __mul.
10841 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10842 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10843 (cc32): Likewise.
10844
d6752ccd
SP
10845 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10846 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10847 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10848 of __mul for squares.
10849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10850 function
10851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10852 Likewise.
10853 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10854 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10855
70d9946a
JM
108562013-02-13 Joseph Myers <joseph@codesourcery.com>
10857
10858 [BZ #13550]
10859 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10860 code.
10861 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10862 prototype or function definition. Rename ubp_* variables and
10863 parameters. Remove argv definitions conditional on
10864 [__BOUNDED_POINTERS__].
10865 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10866 * elf/dl-runtime.c (_dl_fixup): Likewise.
10867 * include/set-hooks.h (RUN_HOOK): Likewise.
10868 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10869 definition.
10870 * string/strcpy.c (strcpy): Do not use __unbounded.
10871 * sysdeps/generic/frame.h (struct layout): Likewise.
10872 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10873 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10874 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10875 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10876 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10877 (__backtrace): Likewise.
10878 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10879 use __ptrvalue.
10880 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10881 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10882 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10883 Likewise.
10884 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10885 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10886 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10887 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10888 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10889 Do not use __unbounded.
10890 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10891 Rename __unboundedrlimits parameter to rlimits in prototype.
10892 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10893 Do not use __unbounded.
10894 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10895 not use __ptrvalue.
10896 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10897 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10898 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10899 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10900 __ptrvalue or __unbounded.
10901 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10902 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10903 use __unbounded.
10904 (__new_msgctl): Do not use __ptrvalue.
10905 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10906 __unbounded.
10907 (__libc_msgrcv): Do not use __ptrvalue.
10908 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10909 startup_info): Do not use __unbounded.
10910 (__libc_start_main): Likewise. Rename ubp_* variables and
10911 parameters. Remove argv definitions conditional on
10912 [__BOUNDED_POINTERS__].
10913 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10914 __ptrvalue.
10915 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10916 use __unbounded.
10917 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10918 or __ptrvalue.
10919 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10920 use __unbounded.
10921 (__new_shmctl): Do not use __ptrvalue.
10922 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10923 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10924 Likewise.
10925 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10926 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10927 (__libc_sigaction): Likewise.
10928 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10929 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10930 Likewise.
10931 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10932
cc7834d6
OB
109332013-02-13 Ondřej Bílka <neleai@seznam.cz>
10934
ffb1ec7b 10935 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10936
10937 * string/mempcpy.c: Implement by calling memcpy.
10938
bdf02814
SP
109392013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10940
c2af38aa
SP
10941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10942
4e92d59e
SP
10943 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10944 evaluation.
10945
909279a5
SP
10946 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10947 values in the mantissa.
10948
bdf02814
SP
10949 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10950 minimize writes to Z.
10951 (sub_magnitudes): Simplify code a bit.
10952
cd525923
RM
109532013-02-12 Roland McGrath <roland@hack.frob.com>
10954
10955 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10956 from the message. The linker prefixes all warnings with that already.
10957
7e2f0d2d
AS
109582013-02-12 Andreas Schwab <schwab@suse.de>
10959
a445af0b
AS
10960 [BZ #15078]
10961 * posix/regexec.c (extend_buffers): Add parameter min_len.
10962 (check_matching): Pass minimum needed length.
10963 (clean_state_log_if_needed): Likewise.
10964 (get_subexp): Likewise.
10965 * posix/Makefile (tests): Add bug-regex34.
10966 (bug-regex34-ENV): Define.
10967 * posix/bug-regex34.c: New file.
10968
7e2f0d2d
AS
10969 [BZ #11561]
10970 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10971 elements compare against the byte sequence of it, not its name.
10972 * posix/Makefile (tests): Add bug-regex35.
10973 (bug-regex35-ENV): Define.
10974 * posix/bug-regex35.c: New file.
10975
a175b684
TV
109762013-02-11 Tom de Vries <tom@codesourcery.com>
10977
10978 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10979 comment.
10980 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10981 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10982 (CHECK_EOL): Add undef.
10983
310998fe 109842013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10985
10986 * bits/stdlib-bsearch.h: New file.
10987 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10988 * stdlib/stdlib.h: Likewise.
41eda41d 10989
8ded91fb
RM
109902013-02-11 Roland McGrath <roland@hack.frob.com>
10991
10992 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10993 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10994 declaration.
10995 * manual/search.texi (Array Search Function): Add missing const in
10996 lfind prototype.
10997 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10998 declaration to use rlim_t.
10999 (Basic Scheduling Functions): Remove erroneous const from
11000 sched_getparam prototype. Remove erroneous * from
11001 sched_get_priority_max and sched_get_priority_min prototypes.
11002 (Resource Usage): Fix summary @comment on vtimes to refer to
11003 sys/vtimes.h rather than vtimes.h.
11004 Add missing *s in vtimes prototype.
11005 (Limits on Resources): Fix ulimit prototype to return long int.
11006 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11007 prototypes to use long int rather than double.
11008 (BSD Random): Fix initstate and setstate to use char *, not void *.
11009 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11010 prototype to make second argument 'struct aiocb64 *const[]'.
11011 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11012 (Status of AIO Operations): Remove erroneous const in aio_return and
11013 aio_return64 prototypes.
11014 (Synchronizing I/O): Fix sync prototype to return void.
11015 * manual/startup.texi (Suboptions): Remove an erroneous const in
11016 getsubopt prototype.
11017 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11018 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11019 use size_t rather than int.
11020 (Scanning All Users): Likewise for getpwent_r.
11021 (Setting Groups): Add missing const to setgroups prototype.
11022 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11023 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11024 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11025 'const void *' rather than 'const char *'.
11026 (Host Address Functions): Likewise for inet_ntop.
11027 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11028 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11029 ssize_t for return value.
11030 (Sending Data): Likewise for send, sendto, sendmsg.
11031 (Socket Option Functions): Add a missing const in setsockopt prototype.
11032 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11033 use wchar_t for the argument.
11034 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11035 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11036 take no arguments.
11037 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11038 double/float/long double for second argument.
11039 Fix return types of significand, significandf, significandl.
11040 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11041 argument in fchmod prototype.
11042 (File Owner): Use uid_t and gid_t in fchown prototype.
11043 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11044 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11045 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11046 use 'const struct dirent **' as argument types to CMP function pointer
11047 argument.
11048 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11049 (File Times): Fix summary magic @comment for struct utimbuf and utime
11050 to refer to utime.h, not time.h.
11051 * manual/string.texi (Argz Functions): Add missing const in
11052 argz_extract and argz_next prototypes.
11053 (Finding Tokens in a String): Likewise for basename.
11054 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11055 (Copying and Concatenation): Fix typo in wmemmove prototype.
11056 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11057 (Signal Stack): Remove erroneous const in sigstack prototype.
11058 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11059 prototype.
11060 (Simple Calendar Time): Likewise for stime.
11061 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11062 prototype.
11063 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11064 say sys/sysctl.h instead.
11065 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11066 and vsyslog prototypes.
11067
fe77fe6d
TV
110682013-02-11 Tom de Vries <tom@codesourcery.com>
11069
11070 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11071 Remove.
11072
3a09b620
RM
110732013-02-11 Roland McGrath <roland@hack.frob.com>
11074
11075 * misc/sys/mman.h: Fix typo in mremap comment.
11076
550a0b89
RM
110772013-02-08 Roland McGrath <roland@hack.frob.com>
11078
11079 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11080 the '\0' terminator.
11081
a2da1673
JM
110822013-02-08 Joseph Myers <joseph@codesourcery.com>
11083
11084 [BZ #13550]
11085 * debug/segfault.c: Don't include <bp-checks.h>.
11086 * sysdeps/generic/bp-checks.h: Remove file.
11087 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11088 (__GETDENTS): Don't use CHECK_N.
11089 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11090 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11091 (__getgroups): Don't use CHECK_N.
11092 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11093 (setgroups): Don't use CHECK_N.
11094 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11095 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11096 (__libc_msgrcv): Don't use CHECK_N.
11097 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11098 (__libc_msgsnd): Don't use CHECK_N.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11100 <bp-checks.h>.
11101 (__libc_pread): Don't use CHECK_N.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11103 include <bp-checks.h>.
11104 (__libc_pread64): Don't use CHECK_N.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11106 include <bp-checks.h>.
11107 (__libc_pwrite): Don't use CHECK_N.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11109 include <bp-checks.h>.
11110 (__libc_pwrite64): Don't use CHECK_N.
11111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11112 <bp-checks.h>.
11113 (__libc_pread): Don't use CHECK_N.
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11115 include <bp-checks.h>.
11116 (__libc_pread64): Don't use CHECK_N.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11118 include <bp-checks.h>.
11119 (__libc_pwrite): Don't use CHECK_N.
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11121 include <bp-checks.h>.
11122 (__libc_pwrite64): Don't use CHECK_N.
11123 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11124 (do_pread): Don't use CHECK_N.
11125 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11126 (do_pread64): Don't use CHECK_N.
11127 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11128 (do_pwrite): Don't use CHECK_N.
11129 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11130 (do_pwrite64): Don't use CHECK_N.
11131 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11132 (__libc_readv): Don't use CHECK_N.
11133 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11134 (semop): Don't use CHECK_N.
11135 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11136 <bp-checks.h>.
11137 (semtimedop): Don't use CHECK_N.
11138 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11139 (__libc_pread): Don't use CHECK_N.
11140 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11141 <bp-checks.h>.
11142 (__libc_pread64): Don't use CHECK_N.
11143 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11144 <bp-checks.h>.
11145 (__libc_pwrite): Don't use CHECK_N.
11146 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11147 <bp-checks.h>.
11148 (__libc_pwrite64): Don't use CHECK_N.
11149 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11150 <bp-checks.h>.
11151 (__libc_msgrcv): Don't use CHECK_N.
11152 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11153 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11154 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11155 (__libc_writev): Don't use CHECK_N.
11156
b84660a8
RM
111572013-02-08 Roland McGrath <roland@hack.frob.com>
11158
7f3e75f8
RM
11159 * string/strcpy.c: Removed unused variable.
11160
b84660a8
RM
11161 * Makeconfig (+sysdep-includes): Define with := rather than =.
11162 Use an existing include/ subdir of each sysdeps dir before it.
11163
471514d3
CD
111642013-02-08 Carlos O'Donell <carlos@redhat.com>
11165
11166 * nscd/connection.c (register_traced_file): Comment function.
11167 [HAVE_INOTIFY] (union __inev): Define.
11168 [HAVE_INOTIFY] (inotify_check_files): New function.
11169 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11170 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11171 clear_db_cache.
11172 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11173
b2d3c3be
CD
111742013-02-08 Carlos O'Donell <carlos@redhat.com>
11175
11176 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11177 loaded if not already and that a failure is permanent.
11178
b39949d2
CD
111792013-02-08 Carlos O'Donell <carlos@redhat.com>
11180
ddacd1db 11181 [BZ #15006]
b39949d2
CD
11182 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11183 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11184
b2c9eff4
JM
111852013-02-08 Joseph Myers <joseph@codesourcery.com>
11186
f3aae3f3
JM
11187 [BZ #13550]
11188 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11189 (CHECK_1_NULL_OK): Likewise.
11190 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11191 (__fxstat): Do not use CHECK_1.
11192 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11193 <bp-checks.h>.
11194 (___fxstat64): Do not use CHECK_1.
11195 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11196 <bp-checks.h>.
11197 (__fxstatat): Do not use CHECK_1.
11198 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11199 <bp-checks.h>.
11200 (__fxstatat64): Do not use CHECK_1.
11201 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11202 <bp-checks.h>.
11203 (__fxstat): Do not use CHECK_1.
11204 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11205 <bp-checks.h>.
11206 (__fxstatat): Do not use CHECK_1.
11207 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11208 <bp-checks.h>.
11209 (__getresgid): Do not use CHECK_1.
11210 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11211 <bp-checks.h>.
11212 (__getresuid): Do not use CHECK_1.
11213 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11214 <bp-checks.h>.
11215 (__lxstat): Do not use CHECK_1.
11216 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11217 <bp-checks.h>.
11218 (__old_msgctl): Do not use CHECK_1.
11219 (__new_msgctl): Likewise.
11220 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11221 <bp-checks.h>.
11222 (__new_setrlimit): Do not use CHECK_1.
11223 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11224 <bp-checks.h>.
11225 (__old_shmctl): Do not use CHECK_1.
11226 (__new_shmctl): Likewise.
11227 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11228 <bp-checks.h>.
11229 (__xstat): Do not use CHECK_1.
11230 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11231 (__lxstat): Do not use CHECK_1.
11232 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11233 <bp-checks.h>.
11234 (___lxstat64): Do not use CHECK_1.
11235 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11236 (__old_msgctl): Do not use CHECK_1.
11237 (__new_msgctl): Likewise.
11238 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11239 <bp-checks.h>.
11240 (__gettimeofday): Do not use CHECK_1.
11241 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11242 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11243 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11244 <bp-checks.h>.
11245 (__gettimeofday): Do not use CHECK_1.
11246 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11247 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11248 (__new_shmctl): Do not use CHECK_1.
11249 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11250 <bp-checks.h>.
11251 (do_sigtimedwait): Do not use CHECK_1.
11252 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11253 <bp-checks.h>.
11254 (do_sigwaitinfo): Do not use CHECK_1.
11255 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11256 <bp-checks.h>.
11257 (msgctl): Do not use CHECK_1.
11258 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11259 <bp-checks.h>.
11260 (shmctl): Do not use CHECK_1.
11261 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11262 (ustat): Do not use CHECK_1.
11263 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11264 <bp-checks.h>.
11265 (__fxstat): Do not use CHECK_1.
11266 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11267 <bp-checks.h>.
11268 (__fxstatat): Do not use CHECK_1.
11269 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11270 <bp-checks.h>.
11271 (__lxstat): Do not use CHECK_1.
11272 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11273 <bp-checks.h>.
11274 (__xstat): Do not use CHECK_1.
11275 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11276 (__xstat): Do not use CHECK_1.
11277 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11278 (___xstat64): Do not use CHECK_1.
11279
b2c9eff4
JM
11280 [BZ #13550]
11281 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11282 definitions.
11283 (CHECK_BOUNDS_HIGH): Likewise.
11284 * string/strcpy.c: Do not include <bp-checks.h>.
11285 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11286
f1d70dad
RM
112872013-02-07 Roland McGrath <roland@hack.frob.com>
11288
11289 * nscd/nscd-client.h (__nscd_drop_map_ref):
11290 Add __attribute__ ((unused)).
11291 * nis/nss-nisplus.h (niserr2nss): Likewise.
11292
11293 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11294 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11295
11296 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11297 Remove inline keyword.
11298 * include/rounding-mode.h (round_away): Likewise.
11299 * libio/wfileops.c (adjust_wide_data): Likewise.
11300 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11301 (__m128i_strloadu_tolower): Likewise.
11302 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11303 (__m128i_strloadu_tolower): Likewise.
11304 * time/mktime.c (ydhms_diff): Likewise.
11305 * locale/elem-hash.h (elem_hash): Likewise.
11306 * locale/setlocale.c (setdata): Likewise.
11307 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11308 (re_string_wchar_at): Likewise.
11309 (bitset_not, bitset_merge, bitset_mask): Likewise.
11310 [!(__GNUC__ > 3)] (inline): Remove macro.
11311 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11312 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11313 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11314 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11315 * string/memcmp.c (memcmp_bytes): Likewise.
11316 * locale/programs/locarchive.c (compute_hashval): Likewise.
11317 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11318 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11319 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11320 * nss/getent.c (print_rpc, print_protocols): Likewise.
11321 (print_passwd, print_group, print_aliases): Likewise.
11322 * nis/nss-nisplus.h (niserr2nss): Likewise.
11323 * nscd/connections.c (restart_p): Likewise.
11324 Change return type to bool.
11325
eab55bfb
RM
113262013-02-05 Roland McGrath <roland@hack.frob.com>
11327
7bd642f5
RM
11328 * Makeconfig (all-Depend-files): Add existing
11329 $(sorted-subdirs:=/Depend) files.
11330 (all-subdirs): Remove nss.
11331 * sysdeps/unix/inet/Subdirs: Add it here instead.
11332 * hesiod/Depend: New file.
11333
573c29b2
RM
11334 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11335 instead of calling alloca.
11336
b2e25af0
RM
11337 * io/lseek.c (__lseek): Rename to __libc_lseek.
11338 Define __lseek as an alias.
11339
eab55bfb
RM
11340 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11341
9a0d1941
CD
113422013-02-04 Carlos O'Donell <carlos@redhat.com>
11343
11344 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11345 else clause and remove check for non-standard endianness.
11346
b83bbec4
DM
113472013-02-04 David S. Miller <davem@davemloft.net>
11348
11349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11350
6277fdab
JM
113512013-02-04 Joseph Myers <joseph@codesourcery.com>
11352
11353 [BZ #13550]
11354 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11355 (__ubp_memchr): Remove prototype.
11356 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11357 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11358 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11359 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11360 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11361 Remove alias.
11362 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11363 (__ubp_memchr): Likewise.
11364 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11365 (__ubp_memchr): Likewise.
11366 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11367 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11368 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11369 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11370 CHECK_STRING.
11371 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11372 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11373 (__getcwd): Do not use CHECK_STRING.
11374 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11375 <bp-checks.h>.
11376 (__real_chown): Do not use CHECK_STRING.
11377 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11378 <bp-checks.h>.
11379 (fchownat): Do not use CHECK_STRING.
11380 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11381 CHECK_STRING.
11382 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11383 <bp-checks.h>.
11384 (__lchown): Do not use CHECK_STRING.
11385 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11386 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11387 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11388 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11390 include <bp-checks.h>.
11391 (truncate64): Do not use CHECK_STRING.
11392 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11393 <bp-checks.h>.
11394 (__real_chown): Do not use CHECK_STRING.
11395 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11396 <bp-checks.h>.
11397 (__lchown): Do not use CHECK_STRING.
11398 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11399 <bp-checks.h>.
11400 (__chown): Do not use CHECK_STRING.
11401 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11402 <bp-checks.h>.
11403 (truncate64): Do not use CHECK_STRING.
11404 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11405 Likewise.
11406 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11407 (__xmknod): Do not use CHECK_STRING.
11408 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11409 <bp-checks.h>.
11410 (__xmknodat): Do not use CHECK_STRING.
11411 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11412 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11413
903ae060
AS
114142013-02-04 Andreas Schwab <schwab@suse.de>
11415
11416 [BZ #14142]
11417 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11418 * include/netdb.h: Likewise for h_errno.
11419 * elf/tst-stackguard1.c: Include <tls.h>.
11420
542f9466
JK
114212013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11422
11423 * elf/link.h (struct link_map): Extend the l_addr comment.
11424 * include/link.h (struct link_map): Likewise.
11425
e782a927
JM
114262013-02-01 Joseph Myers <joseph@codesourcery.com>
11427
11428 [BZ #13550]
11429 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11430 (BOUNDED_1): Remove macro.
11431 * debug/backtrace.c: Don't include <bp-checks.h>.
11432 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11433 (__backtrace): Likewise.
11434 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11435 <bp-checks.h>.
11436 (__backtrace): Don't use BOUNDED_1.
11437 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11438 <bp-checks.h>.
11439 (__backtrace): Don't use BOUNDED_1.
11440 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11441 (__backtrace): Don't use BOUNDED_1.
11442 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11443 (shmat): Don't use BOUNDED_N.
11444
8cf28c5e
JM
114452013-01-31 Joseph Myers <joseph@codesourcery.com>
11446
3a7ac8a0
JM
11447 [BZ #13550]
11448 * sysdeps/generic/bp-start.h: Remove file.
11449 * csu/libc-start.c: Don't include <bp-start.h>.
11450 (LIBC_START_MAIN): Set up __environ directly instead of using
11451 INIT_ARGV_and_ENVIRON.
11452 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11453 <bp-start.h>.
11454
f3499f95
JM
11455 [BZ #13550]
11456 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11457 definitions.
11458 (CHECK_FCNTL): Likewise.
11459 (CHECK_N_PAGES): Likewise.
11460
32a45bea
JM
11461 [BZ #13550]
11462 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11463 definitions.
11464 (CHECK_SIGSET_NULL_OK): Likewise.
11465 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11466 <bp-checks.h>.
11467 (sigpending): Don't use CHECK_SIGSET.
11468 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11469 <bp-checks.h>.
11470 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11471 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11472 <bp-checks.h>.
11473 (do_sigsuspend): Don't use CHECK_SIGSET.
11474 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11475 use CHECK_SIGSET.
11476 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11477 (do_sigwait): Don't use CHECK_SIGSET.
11478 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11479 use CHECK_SIGSET.
11480 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11481 include <bp-checks.h>.
11482 (sigpending): Don't use CHECK_SIGSET.
11483 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11484 include <bp-checks.h>.
11485 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11486 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11487 <bp-checks.h>.
11488 (sigpending): Don't use CHECK_SIGSET.
11489 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11490 <bp-checks.h>.
11491 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11492
2e8a5c8c
JM
11493 [BZ #13550]
11494 * sysdeps/generic/bp-semctl.h: Remove file.
11495 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11496 <bp-checks.h> and <bp-semctl.h>.
11497 (__old_semctl): Don't use CHECK_SEMCTL.
11498 (__new_semctl): Likewise.
11499 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11500 and <bp-semctl.h>.
11501 (__old_semctl): Don't use CHECK_SEMCTL.
11502 (__new_semctl): Likewise.
11503 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11504 <bp-checks.h> and <bp-semctl.h>.
11505 (__old_semctl): Don't use CHECK_SEMCTL.
11506 (__new_semctl): Likewise.
11507 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11508 <bp-checks.h> and <bp-semctl.h>.
11509 (semctl): Don't use CHECK_SEMCTL.
11510
c2d54929
JM
11511 [BZ #13550]
11512 * Makerules (elide-bp-thunks): Remove variable.
11513 (elide-routines.oS): Don't use $(elide-bp-thunks).
11514 (elide-routines.os): Likewise.
11515 (elide-routines.o): Likewise.
11516 (elide-routines.op): Likewise.
11517 (elide-routines.og): Likewise.
11518 (objects): Don't use $(bp-thunks).
11519 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11520 include.
11521 (common-generated): Do not add s-proto-bp.d.
11522 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11523 (int): Likewise.
11524 (typ): Likewise.
11525 Do not generate makefile rules for bounded-pointer thunks.
11526 * sysdeps/generic/bp-thunks.h: Remove file.
11527 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11528 * sysdeps/unix/s-proto-bp.S: Likewise.
11529
8cf28c5e
JM
11530 [BZ #15062]
11531 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11532 parts of result separately when argument is not close to line from
11533 -i to i and one part of argument is small.
11534 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11535 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11536 * math/libm-test.inc (cacos_test): Add more tests.
11537 (casin_test): Likewise.
11538 (casinh_test): Likewise.
11539 * sysdeps/i386/fpu/libm-test-ulps: Update.
11540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11541
c4e33b8d
DM
115422013-01-31 David S. Miller <davem@davemloft.net>
11543
11544 * po/de.po: Update from translation team.
11545
3b60b421
MK
115462013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11547
11548 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11549
bb931195
TS
115502013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11551
b5a5da23
TS
11552 * configure.in (_AC_PROG_CC_C89): New definition.
11553 * configure: Regenerate.
11554
bb931195
TS
11555 * configure.in (AC_PROG_CPP): New definition.
11556 * configure: Regenerate.
11557
8c53a12c
JM
115582013-01-23 Joseph Myers <joseph@codesourcery.com>
11559
11560 * debug/tst-backtrace.h: New file.
11561 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11562 (ret): Remove variable.
11563 (x): Likewise.
11564 (FAIL): Remove macro.
11565 (NO_INLINE): Likewise.
11566 (fn1): Use match function instead of strstr.
11567 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11568 (ret): Remove variable.
11569 (x): Likewise.
11570 (FAIL): Remove macro.
11571 (NO_INLINE): Likewise.
11572 (fn): Use match function instead of strstr.
11573 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11574 (ret): Remove variable.
11575 (x): Likewise.
11576 (FAIL): Remove macro.
11577 (NO_INLINE): Likewise.
11578 (handle_signal): Use match function instead of strstr.
11579 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11580 (ret): Remove variable.
11581 (x): Likewise.
11582 (FAIL): Remove macro.
11583 (NO_INLINE): Likewise.
11584 (handle_signal): Use match function instead of strstr.
11585
4858fa2a
RM
115862013-01-23 Roland McGrath <roland@hack.frob.com>
11587
11588 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11589
bae8e7f5
DM
115902013-01-23 David S. Miller <davem@davemloft.net>
11591
11592 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11593 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11594 argument of CAS if possible.
11595 * sysdeps/sparc/sparc64/bits/atomic.h
11596 (__arch_compare_and_exchange_val_32_acq): Likewise.
11597 (__arch_compare_and_exchange_val_64_acq): Likewise.
11598
9cbbc4ae
PT
115992013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11600
11601 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11602 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11603 Include <limits.h>.
67b3f58c 11604 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11605
5655a0b5
AC
116062013-01-23 Adam Conrad <adconrad@0c3.net>
11607
11608 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11609 (LDFLAGS-tst-array5): Likewise.
11610
052aff95
JM
116112013-01-23 Joseph Myers <joseph@codesourcery.com>
11612
11613 [BZ #15036]
11614 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11615 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11616 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11617 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11618
7c1e01aa
DM
116192013-01-21 David S. Miller <davem@davemloft.net>
11620
11621 * sysdeps/sparc/backtrace.c: New file.
11622 * sysdeps/sparc/sparc32/backtrace.h: New file.
11623 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11624 * sysdeps/sparc/sparc64/backtrace.h: New file.
11625 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11626 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11627 -funwind-tables.
11628
ab087e0a
AS
116292013-01-21 Andreas Schwab <schwab@suse.de>
11630
11631 [BZ #15020]
11632 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11633 closed its stdout.
11634
ed689c2f
AS
116352013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11636
11637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11638 "mpa2.h".
11639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11640
31d470ac
JM
116412013-01-18 Joseph Myers <joseph@codesourcery.com>
11642 Mark Mitchell <mark@codesourcery.com>
11643 Tom de Vries <tom@codesourcery.com>
11644 Paul Pluzhnikov <ppluzhnikov@google.com>
11645
11646 * debug/tst-backtrace2.c: New file.
11647 * debug/tst-backtrace3.c: Likewise.
11648 * debug/tst-backtrace4.c: Likewise.
11649 * debug/tst-backtrace5.c: Likewise.
11650 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11651 (CFLAGS-tst-backtrace3.c): Likewise.
11652 (CFLAGS-tst-backtrace4.c): Likewise.
11653 (CFLAGS-tst-backtrace5.c): Likewise.
11654 (LDFLAGS-tst-backtrace2): Likewise.
11655 (LDFLAGS-tst-backtrace3): Likewise.
11656 (LDFLAGS-tst-backtrace4): Likewise.
11657 (LDFLAGS-tst-backtrace5): Likewise.
11658 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11659 tst-backtrace4 and tst-backtrace5.
11660
90567f30 116612013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11662 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11663
11664 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11665 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11666 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11667 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11669 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11670 "+r" and remove output regs list as redundant. Add explicit inline
11671 asm to specify register of return val to work around compiler codegen
11672 bug. Remove (int) cast on return value. Add return type parameter to
11673 use in macro so that this macro does not truncate return value for
11674 64-bit values.
11675 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11676 pass to INTERNAL_VSYSCALL_NCS.
11677 (INLINE_VSYSCALL): Add 'long int' as return type to
11678 INTERNAL_VSYSCALL_NCS macro invocation.
11679 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11680 INTERNAL_VSYSCALL_NCS macro invocation.
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11682
d3b9ea61
SP
116832013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11684
0b57daeb
SP
11685 [BZ #14496]
11686 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11687 Fix application of SIMD FP exception mask.
11688
caa99d06
SP
11689 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11690 mp_no from a power of two.
11691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11692 __mpexp_twomm1. Use __pow_mp.
11693
d3b9ea61
SP
11694 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11695 multiplication.
11696
1dbaee3c
DM
116972013-01-17 David S. Miller <davem@davemloft.net>
11698
11699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11700
728d7b43
JM
117012013-01-17 Joseph Myers <joseph@codesourcery.com>
11702
11703 [BZ #15023]
11704 * include/complex.h: Condition contents on [!_COMPLEX_H].
11705 (__kernel_casinhf): New prototype.
11706 (__kernel_casinh): Likewise.
11707 (__kernel_casinhl): Likewise.
11708 * math/Makefile (libm_calls): Add k_casinh.
11709 * math/k_casinh.c: New file.
11710 * math/k_casinhf.c: Likewise.
11711 * math/k_casinhl.c: Likewise.
11712 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11713 finite nonzero arguments.
11714 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11715 finite nonzero arguments.
11716 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11717 finite nonzero arguments.
11718 * math/s_casinh.c: Do not include <float.h>.
11719 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11720 * math/s_casinhf.c: Do not include <float.h>.
11721 (__casinhf): Move code for finite nonzero arguments to
11722 k_casinhf.c.
11723 * math/s_casinhl.c: Do not include <float.h>.
11724 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11725 redefine.
11726 (__casinhl): Move code for finite nonzero arguments to
11727 k_casinhl.c.
11728 * math/libm-test.inc (cacos_test): Add more tests.
11729 * sysdeps/i386/fpu/libm-test-ulps: Update.
11730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11731
2a26ef3a
PT
117322013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11733
11734 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11735 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11736 [!HAVE_MREMAP]: Remove [defined linux] case.
11737 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11738
a897655d
SP
117392013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11740
11741 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11742
881ebe89 117432013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11744
11745 * elf/elf.h (R_386_SIZE32): New relocation.
11746 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11747 R_386_SIZE32.
11748 (elf_machine_rela): Likewise.
11749 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11750 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11751
59981e9b
JM
117522013-01-17 Joseph Myers <joseph@codesourcery.com>
11753
11754 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11755 (FP_FAST_FMA): Do not define.
11756 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11757 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11758 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11759 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11760 !_SOFT_FLOAT]: Likewise.
11761 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11762 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11763 value.
11764 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11765 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11766 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11767 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11768 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11769 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11770 file.
11771
cfa8054f
AS
117722013-01-16 Andreas Schwab <schwab@suse.de>
11773
11774 [BZ #14327]
11775 * include/stdlib.h (__mktemp): Add declaration.
11776 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11777 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11778
dd930cc5
SP
117792013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11780
881ebe89
SP
11781 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11782 definitions.
11783 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11784 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11785 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11786 definitions here.
11787 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11788 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11789 definitions.
11790 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11791 and ONE.
11792 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11793 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11794 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11795 definitions.
11796 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11797 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11798 definitions.
11799 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11800
dd930cc5
SP
11801 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11802
c19a9f89
DM
118032013-01-15 David S. Miller <davem@davemloft.net>
11804
1aa61767
DM
11805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11806 trunc{,f} to libm-sysdep_routes.
11807 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11809 file.
11810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11812 file.
11813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11814 file.
11815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11817 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11818 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11819 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11820 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11821 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11822 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11823
c42d5e98
DM
11824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11825 nearbyint{,f} to libm-sysdep_routes.
11826 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11828 New file.
11829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11830 file.
11831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11832 New file.
11833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11834 file.
11835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11837 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11838 file.
11839 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11840 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11841 file.
11842 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11843 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11844 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11845
c19a9f89
DM
11846 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11847 libc_feholdexcept and libc_fesetenv.
11848
357679d2
MF
118492013-01-15 Mike Frysinger <vapier@gentoo.org>
11850
11851 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11852
65a82e3d
DM
118532013-01-14 David S. Miller <davem@davemloft.net>
11854
8b954ab9
DM
11855 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11856 (SPARC_ASM_VIS2_IFUNC): Likewise.
11857 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11859 use of 'siam' instruction.
11860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11861 Likewise.
11862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11863 Likewise.
11864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11865 Likewise.
11866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11871 file.
11872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11873 file.
11874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11875 file.
11876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11877 file.
11878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11883 new VIS2 routines.
11884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11887 Likewise.
11888 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11893 routines to libm-sysdep_routines.
11894 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11895
65a82e3d
DM
11896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11897 fdim/fdimf to libm-sysdep_routines.
11898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11899 file.
11900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11902 file.
11903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11906 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11907 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11908 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11909 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11910
e34ab705
SP
119112013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11912
2a91b573
SP
11913 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11914 to optimize copies.
11915
1066a534
SP
11916 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11919
e34ab705
SP
11920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11921 local variable MPTWO.
11922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11923 Likewise.
11924
aba5e596
MF
119252013-01-13 Mike Frysinger <vapier@gentoo.org>
11926
11927 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11928 GLOB_NOESCAPE.
11929
e557e9e5
MF
119302013-01-13 Mike Frysinger <vapier@gentoo.org>
11931
11932 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11933
0428cec9
MF
119342013-01-13 Mike Frysinger <vapier@gentoo.org>
11935
11936 * manual/pattern.texi (glob_t): Document gl_flags.
11937 (glob64_t): Likewise.
11938
8794a964
DM
119392013-01-11 David S. Miller <davem@davemloft.net>
11940
66438c3f
RM
11941 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11942 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11943 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11944 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11945 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11946 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11947 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11948 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11949 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11950 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11951 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11952 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11953 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11954
4ae4244d
DM
11955 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11956 sparc V9 rather than using V8 code.
11957 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11958 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11959
8794a964
DM
11960 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11961 Move to...
11962 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11963 Here.
11964
6270516e
RM
119652013-01-11 Roland McGrath <roland@hack.frob.com>
11966
11967 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11968 not in the main loop.
11969 * configure: Regenerated.
11970
6a57d931
JM
119712013-01-11 Joseph Myers <joseph@codesourcery.com>
11972
11973 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11974 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11975 to just #else.
11976 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11977 [!__GLIBC_HAVE_LONG_LONG] case.
11978 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11979 condition to just #else.
11980 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11981 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11982 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11983 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11984 unconditional.
11985 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11986 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11987 #elif condition to just #else.
11988 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11989 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11990 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11991 #elif condition to just #else.
11992
0e8529e9
SE
119932013-01-11 Steve Ellcey <sellcey@mips.com>
11994
11995 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11996 (EF_MIPS_ARCH_64): Fix value.
11997 (EF_MIPS_ARCH_32R2): New.
11998 (EF_MIPS_ARCH_64R2): New.
11999
740b3dbe
L
120002013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12001
12002 * Makeconfig (+link-pie-before-libc): New.
12003 (+link-pie-after-libc): Likewise.
12004 (+link-pie-tests): Likewise.
12005 (+link-pie): Rewritten.
12006 (link-before-libc): Remove $(config-LDFLAGS).
12007 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12008 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12009 (config-LDFLAGS): Renamed to ...
12010 (rtld-LDFLAGS): This.
12011 (rtld-tests-LDFLAGS): New macro.
12012 (link-libc-rpath-link): Likewise.
12013 (link-libc-tests-rpath-link): Likewise.
12014 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12015 (link-libc): Prepand $(link-libc-rpath-link).
12016 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12017 (test-program-prefix): New macro.
12018 (test-via-rtld-prefix): Likewise.
12019 (test-program-cmd): Likewise.
12020 (host-test-program-cmd): Likewise.
12021 * Makefile ($(common-objpfx)testrun.sh): Replace
12022 $(run-program-prefix) with $(test-program-prefix).
12023 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12024 $(rtld-LDFLAGS).
12025 ($(common-objpfx)shlib.lds): Likewise.
12026 (build-module-helper): Likewise.
12027 ($(common-objpfx)format.lds): Likewise.
12028 * Rules (binaries-pie-tests): New.
12029 (binaries-pie-notests): Likewise.
12030 (binaries-pie): Rewritten.
12031 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12032 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12033 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12034 (make-test-out): Replace $(host-built-program-cmd) with
12035 $(host-test-program-cmd).
12036 * config.make.in (build-hardcoded-path-in-tests): New variable.
12037 * configure.in (--enable-hardcoded-path-in-tests): New configure
12038 option.
12039 (hardcoded_path_in_tests): New AC_SUBST.
12040 * configure: Regenerated.
12041 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12042 $(built-program-cmd) with $(test-program-cmd).
12043 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12044 (test_program_cmd): This.
12045 * elf/Makefile ($(objpfx)order.out): Run test with
12046 $(test-program-prefix).
12047 ($(objpfx)order2.out): Likewise.
12048 ($(objpfx)tst-initorder.out): Likewise.
12049 ($(objpfx)tst-initorder2.out): Likewise.
12050 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12051 $(test-program-cmd).
12052 ($(objpfx)tst-array1-static.out): Likewise.
12053 ($(objpfx)tst-array2.out): Likewise.
12054 ($(objpfx)tst-array3.out): Likewise.
12055 ($(objpfx)tst-array4.out): Likewise.
12056 ($(objpfx)tst-array5.out): Likewise.
12057 ($(objpfx)tst-array5-static.out): Likewise.
12058 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12059 $(test-program-cmd).
12060 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12061 $(run-program-prefix) with $(test-program-prefix).
12062 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12063 (test_program_prefix): This.
12064 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12065 $(run-program-prefix) with $(test-program-prefix).
12066 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12067 (test_program_prefix): This.
12068 * iconvdata/tst-tables.sh: Likewise.
12069 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12070 $(run-program-prefix) with $(test-program-prefix).
12071 ($(objpfx)tst-translit.out): Likewise.
12072 ($(objpfx)tst-gettext2.out): Likewise.
12073 ($(objpfx)tst-gettext4.out): Likewise.
12074 ($(objpfx)tst-gettext6.out): Likewise.
12075 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12076 (test_program_prefix): This.
12077 * intl/tst-gettext2.sh: Likewise.
12078 * intl/tst-gettext4.sh Likewise.
12079 * intl/tst-gettext6.sh: Likewise.
12080 * intl/tst-translit.sh: Likewise.
12081 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12082 with $(test-program-cmd).
12083 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12084 $(run-program-prefix) with $(test-program-prefix).
12085 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12086 (test_program_prefix): This.
12087 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12088 $(run-program-prefix) with $(test-program-prefix).
12089 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12090 (test_program_prefix): This.
12091 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12092 * posix/Makefile ($(objpfx)globtest.out): Replace
12093 $(run-via-rtld-prefix) and $(test-wrapper) with
12094 $(test-program-prefix) and $(test-via-rtld-prefix).
12095 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12096 $(test-program-prefix).
12097 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12098 $(host-test-program-cmd).
12099 (tst-spawn-ARGS): Likewise.
12100 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12101 $(test-program-prefix).
12102 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12103 (test_via_rtld_prefix): This.
12104 (test_wrapper): Renamed to ...
12105 (test_program_prefix): This.
12106 (run_program_prefix): Replaced by test_program_prefix.
12107 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12108 (test_program_prefix): This.
12109 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12110 with $(host-test-program-cmd).
12111 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12112 $(run-program-prefix) with $(test-program-prefix).
12113 ($(objpfx)tst-printf.out): Likewise.
12114 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12115 $(test-program-cmd).
12116 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12117 (test_program_prefix): This.
12118 * stdio-common/tst-unbputc.sh: Likewise.
12119 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12120 $(run-program-prefix) with $(test-program-prefix).
12121 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12122 (test_program_prefix): This.
12123 * string/Makefile ($(objpfx)tst-svc.out): Replace
12124 $(built-program-cmd) with $(test-program-cmd).
12125
c6fe55cf
AJ
121262013-01-11 Andreas Jaeger <aj@suse.de>
12127
12128 [BZ #15003]
12129 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12130 value. Sync with Linux 3.7.
12131
9e6919c8
DM
121322013-01-10 David S. Miller <davem@davemloft.net>
12133
12134 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12135 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12136 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12137
1c9f1a02
RM
121382013-01-10 Roland McGrath <roland@hack.frob.com>
12139
12140 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12141 never set.
12142 * configure: Regenerated.
12143
b9de2dde
DM
121442013-01-10 David S. Miller <davem@davemloft.net>
12145
12146 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12147 sparc V9 rather than using V8 code.
12148 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12149 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12150
e7f68ef4
RM
121512013-01-10 Roland McGrath <roland@hack.frob.com>
12152
12153 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12154 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12155 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12156 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12157 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12158 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12159 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12160 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12161 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12162 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12163 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12164 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12165 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12166 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12167 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12168 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12169 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12170 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12171 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12172 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12173 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12174 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12175 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12176 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12177 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12178 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12179 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12180
5a47cc9c
DM
121812013-01-10 David S. Miller <davem@davemloft.net>
12182
12183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12184
4cf8f209
L
121852013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12186
12187 * posix/Makefile (tests-static): New variable.
12188 (tests): Add $(tests-static).
12189 (tst-exec-static-ARGS): New variable.
12190 (tst-spawn-static-ARGS): Likewise.
12191 * posix/tst-exec-static.c: New file.
12192 * posix/tst-spawn-static.c: Likewise.
12193 * posix/tst-exec.c: Support run directly.
12194 * posix/tst-spawn.c: Likewise.
12195
fed0faa1
JM
121962013-01-10 Joseph Myers <joseph@codesourcery.com>
12197
828beb13
JM
12198 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12199 long.
12200 * math/bits/mathcalls.h (llrint): Likewise.
12201 (llround): Likewise.
12202 * stdlib/stdlib.h (struct drand48_data): Likewise.
12203 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12204 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12205 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12206 Likewise.
12207 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12208 Likewise.
12209 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12210 (elf_greg_t): Likewise.
12211 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12212 (__jmp_buf): Likewise.
12213 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12214 definitions.
12215 (llrint): Likewise, for all definitions.
12216 (llrintl): Likewise.
12217
fed0faa1
JM
12218 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12219 Remove [__GNUC__] condition.
12220 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12221 condition to just [__USE_ISOC99].
12222 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12223
1a20cb20
L
122242013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12225
12226 [BZ #14200]
12227 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12228 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12229 defined.
12230 (_POSIX_V6_ILP32_OFF32): Likewise.
12231 (_XBS5_ILP32_OFF32): Likewise.
12232 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12233 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12234
751b85f7
SP
122352013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12236
7490eb81
SP
12237 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12238
751b85f7
SP
12239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12240 doubles __mpexp_twomm1. Adjust usage.
12241 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12242 Remove.
12243
988197f0
AS
122442013-01-10 Andreas Schwab <schwab@suse.de>
12245
12246 [BZ #14964]
12247 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12248 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12249
e83d7298
DM
122502013-01-09 David S. Miller <davem@davemloft.net>
12251
034ed64b 12252 [BZ #15003]
e83d7298
DM
12253 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12254 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12255 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12256 TCP_FASTOPEN): Define.
12257 (tcp_repair_opt): New structure.
12258 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12259 enum values.
12260 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12261 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12262 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12263 (tcp_cookie_transactions): New structure.
12264
d5e0b9bd
AB
122652013-01-09 Anton Blanchard <anton@samba.org>
12266
12267 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12268 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12269 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12270 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12271
0c07e3ea
JM
122722013-01-09 Joseph Myers <joseph@codesourcery.com>
12273
12274 * include/features.h (__USE_ANSI): Remove.
12275
232f7002
RM
122762013-01-09 Roland McGrath <roland@hack.frob.com>
12277
ad98e30c
RM
12278 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12279
232f7002
RM
12280 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12281
950c99ca
SP
122822013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12283
b5792741
SP
12284 * sysdeps/s390/fpu/libm-test-ulps: Update.
12285
47cf2278
SP
12286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12287
950c99ca
SP
12288 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12289 (__acr): Likewise.
12290 (__cpy): Likewise.
12291 (norm): Likewise.
12292 (denorm): Likewise.
12293 (__mp_dbl): Likewise.
12294 (__dbl_mp): Likewise.
12295 (add_magnitudes): Likewise.
12296 (sub_magnitudes): Likewise.
12297 (__add): Likewise.
12298 (__sub): Likewise.
12299 (__mul): Likewise.
12300 (__inv): Likewise.
12301 (__dvd): Likewise.
12302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12303 (__acr): Likewise.
12304 (__cpy): Likewise.
12305 (norm): Likewise.
12306 (denorm): Likewise.
12307 (__mp_dbl): Likewise.
12308 (__dbl_mp): Likewise.
12309 (add_magnitudes): Likewise.
12310 (sub_magnitudes): Likewise.
12311 (__add): Likewise.
12312 (__sub): Likewise.
12313 (__mul): Likewise.
12314 (__inv): Likewise.
12315 (__dvd): Likewise.
12316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12317 (__acr): Likewise.
12318 (__cpy): Likewise.
12319 (norm): Likewise.
12320 (denorm): Likewise.
12321 (__mp_dbl): Likewise.
12322 (__dbl_mp): Likewise.
12323 (add_magnitudes): Likewise.
12324 (sub_magnitudes): Likewise.
12325 (__add): Likewise.
12326 (__sub): Likewise.
12327 (__mul): Likewise.
12328 (__inv): Likewise.
12329 (__dvd): Likewise.
12330
eede9df9
JM
123312013-01-08 Joseph Myers <joseph@codesourcery.com>
12332
12333 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12334 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12335 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12336 2 && __USE_EXTERN_INLINES]: Likewise.
12337
c40ea3d9
AJ
123382013-01-08 Andreas Jaeger <aj@suse.de>
12339
12340 [BZ# 14985]
12341 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12342 Remove.
12343 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12344 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12345
2ccdea26
AB
123462013-01-07 Anton Blanchard <anton@samba.org>
12347
12348 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12349 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12350 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12351 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12352 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12353 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12354 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12355 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12357 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12358 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12359 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12360 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12362 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12363 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12364 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12365 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12366 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12367 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12368 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12369 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12370 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12371 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12372 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12373 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12374 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12375 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12376 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12377 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12378 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12380 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12381 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12382 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12383 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12384 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12385 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12386 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12387 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12388 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12389 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12390 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12391
a9708fed
JM
123922013-01-07 Joseph Myers <joseph@codesourcery.com>
12393
375607b9
JM
12394 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12395 (__MALLOC_PMT): Likewise.
12396 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12397 [__GNUC__], only on [_LIBC].
12398 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12399 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12400 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12401 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12402 forward declaration.
12403 (realloc_hook_ini): Likewise.
12404 (memalign_hook_ini): Likewise.
12405 (__libc_memalign): Do not use __MALLOC_PMT in variable
12406 declaration.
12407 (__libc_valloc): Likewise.
12408 (__libc_pvalloc): Likewise.
12409 (__libc_calloc): Likewise.
12410 (__posix_memalign): Likewise.
12411
a9708fed
JM
12412 [BZ #14996]
12413 * math/s_casinh.c: Include <float.h>.
12414 (__casinh): Do not do computation with squaring and square root
12415 for large arguments.
12416 * math/s_casinhf.c: Include <float.h>.
12417 (__casinhf): Do not do computation with squaring and square root
12418 for large arguments.
12419 * math/s_casinhl.c: Include <float.h>.
12420 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12421 (__casinhl): Do not do computation with squaring and square root
12422 for large arguments.
12423 * math/libm-test.inc (casin_test): Add more tests.
12424 (casinh_test): Likewise.
12425 * sysdeps/i386/fpu/libm-test-ulps: Update.
12426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12427
afec409a
L
124282013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12429
12430 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12431 (__x86_64_raw_data_cache_size): Likewise.
12432 (__x86_64_data_cache_size_half): Likewise.
12433 (__x86_64_raw_data_cache_size_half): Likewise.
12434 (__x86_64_shared_cache_size): Likewise.
12435 (__x86_64_raw_shared_cache_size): Likewise.
12436 (__x86_64_shared_cache_size_half): Likewise.
12437 (__x86_64_raw_shared_cache_size_half): Likewise.
12438 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12439 to ...
12440 (__x86_data_cache_size): This.
12441 (__x86_64_raw_data_cache_size): Renamed to ...
12442 (__x86_raw_data_cache_size): This.
12443 (__x86_64_data_cache_size_half): Renamed to ...
12444 (__x86_data_cache_size_half): This.
12445 (__x86_64_raw_data_cache_size_half): Renamed to ...
12446 (__x86_raw_data_cache_size_half): This.
12447 (__x86_64_shared_cache_size): Renamed to ...
12448 (__x86_shared_cache_size): This.
12449 (__x86_64_raw_shared_cache_size): Renamed to ...
12450 (__x86_raw_shared_cache_size): This.
12451 (__x86_64_shared_cache_size_half): Renamed to ...
12452 (__x86_shared_cache_size_half): This.
12453 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12454 (__x86_raw_shared_cache_size_half): This.
12455 * sysdeps/x86_64/memcpy.S: Updated.
12456 * sysdeps/x86_64/memset.S: Likewise.
12457 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12458 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12459 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12460
0b3986d0
DM
124612013-01-04 David S. Miller <davem@davemloft.net>
12462
12463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12464
e47686e9
AS
124652013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12466
d643bac1
AS
12467 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12468 1 to avoid redefinition warning.
12469 (__USE_GNU): Don't define.
12470 (init_signaling_nan): Protoize.
12471
e47686e9
AS
12472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12473
b18decba
SP
124742013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12475
fffb407f
SP
12476 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12478 (__cpymn): Likewise.
12479 (norm): Remove commented code.
12480 (denorm): Likewise.
12481 (__mp_dbl): Likewise.
12482 (__inv): Likewise.
12483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12484 (__cpymn): Likewise.
12485 (norm): Remove commented code.
12486 (denorm): Likewise.
12487 (__mp_dbl): Likewise.
12488 (__inv): Likewise.
12489
b18decba
SP
12490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12491 mp_no value for 1.0 and 2.0.
12492 (norm): Use RADIXI instead of radixi.d.
12493 (denorm): Likewise.
12494 (__mul): Use 0.0 instead of zero.d.
12495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12496 mp_no value for 1.0 and 2.0.
12497 (norm): Use RADIXI instead of radixi.d.
12498 (denorm): Likewise.
12499 (__mul): Use 0.0 instead of zero.d.
12500
cdc1c96f
JM
125012013-01-04 Joseph Myers <joseph@codesourcery.com>
12502
12503 [BZ #14994]
12504 * math/s_casinh.c (__casinh): Reduce finite argument to first
12505 quadrant then set signs of results at the end.
12506 * math/s_casinhf.c (__casinhf): Likewise.
12507 * math/s_casinhl.c (__casinhl): Likewise.
12508 * math/libm-test.inc (casin_test): Add more tests.
12509 (casinh_test): Likewise.
12510 * sysdeps/i386/fpu/libm-test-ulps: Update.
12511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12512
302913e1
SP
125132013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12514
6420d207
SP
12515 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12516
a9e48ab4
SP
12517 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12518
b7837264
SP
12519 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12520 declarations.
12521 (denorm): Likewise.
12522 (__mp_dbl): Likewise.
12523 (__inv): Likewise.
12524
f8af25d2
SP
12525 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12526 and adjust the header comment.
12527
302913e1
SP
12528 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12529 variable name from declaration.
12530
5d7dd1ca
L
125312013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12532
12533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12534 Initialize COMMON_CPUID_INDEX_7 element.
12535 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12536 (CPUID_RTM): Likewise.
12537 (HAS_RTM): Likewise.
12538 (COMMON_CPUID_INDEX_7): New enum.
12539
2f5f40f4
AS
125402013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12541
12542 [BZ #14981]
12543 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12544 size is zero, record memory as freed.
12545
4056f4a0
AJ
125462013-01-03 Andreas Jaeger <aj@suse.de>
12547
12548 * po/ia.po: Add new Interlingua translation.
12549
ab15736f 125502012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12551
12552 * locale/programs/localedef.c: Fix description of '--posix' flag.
12553
568035b7
JM
125542013-01-02 Joseph Myers <joseph@codesourcery.com>
12555
e6898b8d
JM
12556 * NEWS: Update dates in second copyright notice.
12557 * README: Update copyright dates in example.
12558 * manual/libc.texinfo: Update copyright dates.
12559 * scripts/test-installation.pl: Update copyright date in --version
12560 output.
12561
0e2f9562
JM
12562 * hurd/ctty-input.c: Fix copyright notice formatting.
12563 * hurd/ctty-output.c: Likewise.
12564 * hurd/dtable.c: Likewise.
12565 * hurd/hurd-raise.c: Likewise.
12566 * hurd/hurdprio.c: Likewise.
12567 * hurd/msgportdemux.c: Likewise.
12568 * misc/sys/file.h: Likewise.
12569 * misc/sys/ioctl.h: Likewise.
12570 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12571 * sysdeps/mach/hurd/chdir.c: Likewise.
12572 * sysdeps/mach/hurd/fchdir.c: Likewise.
12573 * sysdeps/mach/hurd/rename.c: Likewise.
12574 * sysdeps/mach/hurd/rmdir.c: Likewise.
12575 * sysdeps/mach/hurd/seekdir.c: Likewise.
12576 * sysdeps/mach/hurd/setsid.c: Likewise.
12577 * sysdeps/posix/wait3.c: Likewise.
12578
568035b7
JM
12579 * All files with FSF copyright notices: Update copyright dates
12580 using scripts/update-copyrights.
12581 * intl/plural.c: Regenerated.
12582 * locale/programs/charmap-kw.h: Likewise.
12583 * locale/programs/locfile-kw.h: Likewise.
12584
da08f647
SP
125852013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12586
0f5477af
SP
12587 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12588 four values.
12589
44e0d4c2
SP
12590 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12591 calculation loop and add branch prediction.
12592
4d55b4e5
SP
12593 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12594 check access beyond bounds of m1np.
12595
da08f647
SP
12596 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12597 MPTWO.
12598 (__inv): Remove local variable MPTWO to use the global
12599 constant.
12600 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12601 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12602 variable MPTWO.
12603 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12604 MP3HALFS static const.
12605
8e051029
DM
126062013-01-01 David S. Miller <davem@davemloft.net>
12607
12608 * po/ca.po: Update from translation team.
12609
f4cf5f2d
JM
126102013-01-01 Joseph Myers <joseph@codesourcery.com>
12611
12612 * scripts/update-copyrights: New file.
12613 * Makeconfig: Reformat copyright notice.
12614 * ctype/ctype.h: Likewise.
12615 * debug/swprintf_chk.c: Likewise.
12616 * elf/dl-cache.c: Likewise.
12617 * elf/dl-debug.c: Likewise.
12618 * elf/dl-object.c: Likewise.
12619 * grp/initgroups.c: Likewise.
12620 * hurd/Makefile: Likewise.
12621 * hurd/hurd/signal.h: Likewise.
12622 * hurd/hurdfault.c: Likewise.
12623 * hurd/hurdioctl.c: Likewise.
12624 * hurd/hurdlookup.c: Likewise.
12625 * hurd/intr-msg.c: Likewise.
12626 * iconv/gconv_open.c: Likewise.
12627 * libio/swprintf.c: Likewise.
12628 * locale/lc-ctype.c: Likewise.
12629 * locale/nl_langinfo.c: Likewise.
12630 * mach/Machrules: Likewise.
12631 * mach/Makefile: Likewise.
12632 * malloc/obstack.h: Likewise.
12633 * manual/Makefile: Likewise.
12634 * manual/tsort.awk: Likewise.
12635 * misc/bits/stab.def: Likewise.
12636 * nis/nis_print_group_entry.c: Likewise.
12637 * nis/nis_table.c: Likewise.
12638 * nis/nss_compat/compat-pwd.c: Likewise.
12639 * nis/nss_compat/compat-spwd.c: Likewise.
12640 * po/Makefile: Likewise.
12641 * posix/fnmatch.c: Likewise.
12642 * posix/regex.h: Likewise.
12643 * resolv/Makefile: Likewise.
12644 * resolv/nss_dns/dns-network.c: Likewise.
12645 * resolv/res_hconf.c: Likewise.
12646 * scripts/gen-sorted.awk: Likewise.
12647 * soft-fp/soft-fp.h: Likewise.
12648 * stdio-common/printf.h: Likewise.
12649 * stdlib/monetary.h: Likewise.
12650 * stdlib/random.c: Likewise.
12651 * stdlib/random_r.c: Likewise.
12652 * sysdeps/generic/Makefile: Likewise.
12653 * sysdeps/gnu/Makefile: Likewise.
12654 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12656 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12658 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12661 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12662 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12664 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12665 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12677 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12678 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12682 * sysdeps/mach/hurd/errnos.awk: Likewise.
12683 * sysdeps/mach/hurd/fork.c: Likewise.
12684 * sysdeps/mach/hurd/getcwd.c: Likewise.
12685 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12686 * sysdeps/mach/hurd/mmap.c: Likewise.
12687 * sysdeps/mach/hurd/utimes.c: Likewise.
12688 * sysdeps/mach/hurd/xmknod.c: Likewise.
12689 * sysdeps/posix/profil.c: Likewise.
12690 * sysdeps/posix/readdir_r.c: Likewise.
12691 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12692 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12693 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12694 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12696 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12697 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12698 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12700 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12701 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12702 * sysdeps/pthread/lio_listio.c: Likewise.
12703 * sysdeps/sparc/dl-procinfo.h: Likewise.
12704 * sysdeps/unix/i386/sysdep.S: Likewise.
12705 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12706 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12707 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12708 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12710 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12711 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12712 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12713 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12714 * sysdeps/wordsize-32/divdi3.c: Likewise.
12715 * time/sys/time.h: Likewise.
12716 * wcsmbs/Makefile: Likewise.
12717
0549fbba
DM
127182013-01-01 David S. Miller <davem@davemloft.net>
12719
a141f1a7
DM
12720 * po/fr.po: Update from translation team.
12721
0549fbba
DM
12722 * catgets/gencat.c: Update copyright year.
12723 * csu/version.c: Likewise.
12724 * debug/catchsegv.sh: Likewise.
12725 * debug/pcprofiledump.c: Likewise.
12726 * debug/xtrace.sh: Likewise.
12727 * elf/ldconfig.c: Likewise.
12728 * elf/ldd.bash.in: Likewise.
12729 * elf/pldd.c: Likewise.
12730 * elf/sotruss.ksh: Likewise.
12731 * elf/sprof.c: Likewise.
12732 * iconv/iconv_prog.c: Likewise.
12733 * iconv/iconvconfig.c: Likewise.
12734 * locale/programs/locale.c: Likewise.
12735 * locale/programs/localedef.c: Likewise.
12736 * login/programs/pt_chown.c: Likewise.
12737 * malloc/memusage.sh: Likewise.
12738 * malloc/memusagestat.c: Likewise.
12739 * malloc/mtrace.pl: Likewise.
12740 * nscd/nscd.c: Likewise.
12741 * nss/getent.c: Likewise.
12742 * nss/makedb.c: Likewise.
12743 * posix/getconf.c: Likewise.
12744
18ea052c
SP
127452012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12746
12747 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12748 numbers.
12749
9c89fca6
MF
127502012-12-30 Mike Frysinger <vapier@gentoo.org>
12751
12752 * math/bits/mathcalls.h (modf): Use __nonnull.
12753
085ec079
SP
127542012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12755
12756 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12757 (split): Use macro CN instead of the bare value.
12758 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12759 could be used.
12760 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12761 instead of the bare value.
12762 (power1): Likewise.
12763
6d9f97e1
SP
127642012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12765
d63f73be
SP
12766 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12767 __ATAN_TWOM.
12768 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12769
6d9f97e1
SP
12770 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12771 their values.
12772 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12773 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12774 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12775 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12776
4c4febf5
AJ
127772012-12-28 Andreas Jaeger <aj@suse.de>
12778
af5843ef
AJ
12779 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12780 values are from Linux 3.7.
12781
4c4febf5
AJ
12782 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12783 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12784
99136f82
SP
127852012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12786
2f216c3c 12787 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12788 TRUE case.
12789
99136f82
SP
12790 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12791 (norm): Likewise.
12792 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12793 variables with preprocessor constants.
12794 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12795 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12796 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12797
7fffbdff
BH
127982012-12-27 Bruno Haible <bruno@clisp.org>
12799
12800 [BZ #14317]
12801 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12802 only if needed.
12803
b76eb5f0
SP
128042012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12805
31a7fe5c
SP
12806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12807 and use variable directly.
12808 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12809
b76eb5f0
SP
12810 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12811 MPONE.
12812 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12813 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12814 variable MPONE.
12815 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12817 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12818 include directive. Remove local variable MPONE.
12819 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12820 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12821 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12822
2c8bfe7d
DM
128232012-12-25 David S. Miller <davem@davemloft.net>
12824
12825 * version.h (RELEASE): Set to "development".
12826 (VERSION): Set to "2.17.90".
12827 * NEWS: Add 2.18 section.
12828
147d03b0
DM
128292012-12-21 David S. Miller <davem@davemloft.net>
12830
12831 * po/hr.po: Update from translation team.
12832
a8ebb2b9
AK
128332012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12834
12835 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12836
95b4f1b6
SE
128372012-12-19 Steve Ellcey <sellcey@mips.com>
12838
b2d94007 12839 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12840
cedb2a90
MS
128412012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12842
12843 * manual/contrib.texi (Contributors): Spelling correction.
12844
bbf527d6
DM
128452012-12-15 David S. Miller <davem@davemloft.net>
12846
12847 * po/ru.po: Update from translation team.
12848
bc38c906
DM
128492012-12-13 David S. Miller <davem@davemloft.net>
12850
85429b1a
DM
12851 * NEWS: Mention IFUNC testsuite enhancements.
12852
d283e353
DM
12853 * po/pl.po: Update from translation team.
12854 * po/bg.po: Likewise.
12855
bc38c906
DM
12856 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12857 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12858
a181b0d7
DM
128592012-12-11 David S. Miller <davem@davemloft.net>
12860
4641d57e
DM
12861 * po/sv.po: Update from translation team.
12862
f7bc6495
DM
12863 * po/vi.po: Update from translation team.
12864
6fc9048f
DM
12865 * po/cs.po: Update from translation team.
12866
a181b0d7
DM
12867 * po/de.po: Update from translation team.
12868 * po/eo.po: Likewise.
12869 * po/nl.po: Likewise.
12870
f70bfe80
SP
128712012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12872
3c8b4190
SP
12873 [BZ #14246]
12874 * manual/argp.texi (Argp Helper Functions): Move node to follow
12875 Argp Parsing State.
12876
f70bfe80
SP
12877 [BZ #14872]
12878 * manual/conf.texi (Limits on File System Capacity): Mention if
12879 terminating null is included in the max size.
12880
188f0adf
AJ
128812012-12-10 Andreas Jaeger <aj@suse.de>
12882
12883 * po/cs.po: Update from translation team.
12884
56e7d3ad
SP
128852012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12886
12887 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12888 void pointer and cast to uintptr_t.
12889 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12890 path.
12891 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12892 * sysdeps/s390/s390-64/memset.S: Likewise.
12893
76f2d2ea 128942012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12895
12896 [BZ #14833]
12897 * menual/message.texi (Message Translation): Fix typos.
12898 (Helper programs for gettext): Likewise.
12899
67cbf9a2
AS
129002012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12901
12902 [BZ #14898]
12903 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12904 Change to -1.
12905
682d0e9a
DM
129062012-12-07 David S. Miller <davem@davemloft.net>
12907
12908 * po/libc.pot: Update.
12909
573cd484
RH
129102012-12-07 Richard Henderson <rth@redhat.com>
12911
7e9da188 12912 [BZ #10114]
573cd484
RH
12913 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12914 normal/normal case to before the switch.
12915 (_FP_DIV): Likewise.
12916
e933a943
MF
129172012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12918 Mike Frysinger <vapier@gentoo.org>
12919
12920 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12921 check for __NR_fadvise64_64.
12922
82123268
CM
129232012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12924
12925 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12926 0, not just to plain "0" as a statement.
12927 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12928 with cw.
12929
d9814526
JM
129302012-12-06 Joseph Myers <joseph@codesourcery.com>
12931
12932 * NEWS: Use sourceware.org in Bugzilla URL.
12933
7728c574
SP
129342012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12935
f16946dd
SP
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12937 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12938
5704bbcb
SP
12939 * stdio-common/tst-put-error.c (do_test): Add newline to the
12940 padded test to ensure flush.
12941
17aa0516
JL
129422012-12-05 Jeff Law <law@redhat.com>
12943
12944 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12945
363313b5
JM
129462012-12-05 Joseph Myers <joseph@codesourcery.com>
12947
effbd42a
JM
12948 * README: Don't refer to ports add-on as distributed separately.
12949 Mention AArch64 in list of systems supported in the ports add-on.
12950
87600365
JM
12951 * LICENSES: Add more non-FSF copyright and license notices.
12952
a0d7066a
JM
12953 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12954 ((unused)).
12955
66ca5a5b
JM
12956 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12957
363313b5
JM
12958 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12959 10000 as width of padded output.
12960
b37984ad
JM
129612012-12-04 Joseph Myers <joseph@codesourcery.com>
12962
9003570a
JM
12963 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12964
b37984ad
JM
12965 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12966 variable LX with __attribute__ ((unused)).
12967 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12968 Likewise.
12969 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12971 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12972 with __attribute__ ((unused)).
12973
c8df52ec
DM
129742012-12-04 David S. Miller <davem@abraco.davemloft.net>
12975
12976 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12977
b3b099af
JM
129782012-12-04 Joseph Myers <joseph@codesourcery.com>
12979
c33aa6e3
JM
12980 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12981 (CFLAGS-nldbl-acos.c): New variable.
12982 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12983 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12984 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12985 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12986 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12987 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12988 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12989 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12990 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12991 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12992 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12993 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12994 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12995 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12996 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12997 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12998 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12999 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13000 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13001 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13002 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13003 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13004 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13005 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13006 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13007 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13008 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13009 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13010 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13011 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13012 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13013 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13014 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13015 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13016 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13017 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13018 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13019 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13020 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13021 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13022 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13023 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13024 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13025 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13026 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13027 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13028 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13029 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13030 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13031 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13032 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13033 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13034 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13035 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13036 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13037 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13038 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13039 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13040 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13041 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13042 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13043 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13044 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13045 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13046 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13047 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13048 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13049 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13050 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13051 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13052 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13053 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13054 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13055 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13056 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13057 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13058 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13059 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13060 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13061 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13062 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13063 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13064 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13065 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13066 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13067 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13068 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13069 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13070 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13071 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13072 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13073 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13074 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13075 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13076 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13077 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13078 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13079
20f0018d
JM
13080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13081 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13082
b3b099af
JM
13083 [BZ #14914]
13084 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13085 whole low double instead of just low 47 bits when splitting values
13086 into two parts.
13087
029264d1
AM
130882012-12-03 Allan McRae <allan@archlinux.org>
13089
13090 * manual/stdio.texi (Predefined Printf Handlers): Remove
13091 @hsep and @vsep usage.
13092
c9d6789e
MF
130932012-12-03 Mike Frysinger <vapier@gentoo.org>
13094
13095 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13096 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13097
4b7634a5
JL
130982012-12-03 Jeff Law <law@redhat.com>
13099
13100 * time/sys/time.h (settimeofday): Do not mark TV argument
13101 as __nonnull.
13102
eb6cbd24
MF
131032012-12-01 Mike Frysinger <vapier@gentoo.org>
13104
13105 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13106 when currently writing and seek to current position when not.
13107 * libio/Makefile (tests): Remove bug-fclose1.
13108 * libio/bug-fclose1.c: Delete.
13109
f638872a
JM
131102012-12-01 Joseph Myers <joseph@codesourcery.com>
13111
13112 * manual/arith.texi (feenableexcept): Fix typo.
13113 (fedisableexcept): Likewise.
13114
48085d14
RM
131152012-11-30 Roland McGrath <roland@hack.frob.com>
13116
13117 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13118 second, differently-typed declaration, rather than a cast.
13119
1a538b9f
SP
131202012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13121
13122 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13123 * include/rpc/svc.h: ... here.
13124
d07f2ff1 131252012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13126
13127 [BZ #13013]
13128 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13129 depending n and resplen2 to catch cases where answer
13130 equals answerp2.
13131
c93ec1f0
CD
131322012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13133
13134 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13135 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13136
37db69de
MF
131372012-11-29 Mike Frysinger <vapier@gentoo.org>
13138
13139 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13140
e10c4e4f
RM
131412012-11-29 Roland McGrath <roland@hack.frob.com>
13142
13143 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13144
2af1b328
JL
131452012-11-28 Jeff Law <law@redhat.com>
13146
13147 [BZ #13761]
13148 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13149 dataset_temporary. Track alloca usage into alloca_used.
13150 If dataset is large allocate and release it via malloc/free.
13151
111db5b1
FW
131522012-06-04 Florian Weimer <fweimer@redhat.com>
13153
f06cc227 13154 [BZ #14197]
111db5b1
FW
13155 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13156
dd694abd
DM
131572012-11-28 David S. Miller <davem@davemloft.net>
13158
13159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13160
9984dd01
JM
131612012-11-28 Joseph Myers <joseph@codesourcery.com>
13162
13163 [BZ #14803]
13164 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13165 of pi/2 rounded to nearest to 64 bits.
13166 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13167 nearest to 64 bits.
13168 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13169 bits.
13170
14bc93a9
JL
131712012-11-28 Jeff Law <law@redhat.com>
13172 Martin Osvald <mosvald@redhat.com>
13173
13174 [BZ #14889]
13175 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13176 * sunrpc/svc.c: Include time.h.
13177 (__svc_accept_failed): New function.
13178 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13179 any reason other than EINTR, call __svc_accept_failed.
13180 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13181 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13182
e3c6aa3a
AS
131832012-11-28 Andreas Schwab <schwab@suse.de>
13184
13185 * scripts/abilist.awk: Also handle indirect functions in .opd
13186 section.
13187
1bead169
JM
131882012-11-28 Joseph Myers <joseph@codesourcery.com>
13189
13190 [BZ #13881]
13191 * sysdeps/x86/fpu/powl_helper.c: New file.
13192 * sysdeps/x86/fpu/Makefile: Likewise.
13193 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13194 (p3): New object.
13195 (__ieee754_powl): Use __powl_helper for finite arguments except
13196 integer exponents below 8.
13197 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13198 (p3): New object.
13199 (__ieee754_powl): Use __powl_helper for finite arguments except
13200 integer exponents below 8.
13201 * math/libm-test.inc (pow_test): Add more tests and enable some
13202 previously disabled tests.
13203 * sysdeps/i386/fpu/libm-test-ulps: Update.
13204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13205
0817d63d
SP
132062012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13207 Carlos O'Donell <carlos_odonell@mentor.com>
13208
13209 * nss/makedb.c (is_prime): Assert that input is odd and greater
13210 than 4. Note that fact in a comment too.
13211 (next_prime): Add 4 to input.
13212
de2fd463
SP
132132012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13214
13215 [BZ #11741]
13216 * libio/Makefile (tests): Add test case tst-fwrite-error.
13217 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13218 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13219 * libio/tst-fwrite-error.c: New test case.
13220
c515fb51
L
132212012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13222
13223 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13224 before casting to void *.
13225 * include/libc-internal.h (__pointer_type): New macro.
13226 (__integer_if_pointer_type_sub): Likewise.
13227 (__integer_if_pointer_type): Likewise.
13228 (cast_to_integer): Likewise.
13229 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13230 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13231 before casting to atomic64_t.
13232 (atomic_exchange_acq): Likewise.
13233 (__arch_exchange_and_add_body): Likewise.
13234 (__arch_add_body): Likewise.
13235 (atomic_add_negative): Likewise.
13236 (atomic_add_zero): Likewise.
13237
4cf77aa9
JM
132382012-11-26 Joseph Myers <joseph@codesourcery.com>
13239
13240 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13241 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13242 (add_fdes): Likewise.
13243 (linear_search_fdes): Likewise.
13244 (binary_search_unencoded_fdes): Likewise.
13245
d260b3b4
AS
132462012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13247
13248 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13249
67060746
AC
132502012-11-24 Adam Conrad <adconrad@0c3.net>
13251
13252 * configure.in: Autodetect C++ header directories.
13253 * configure: Regenerated.
13254
800938a1
MF
132552012-11-23 Mike Frysinger <vapier@gentoo.org>
13256
13257 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13258
4e6e34e6
AS
132592012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13260
13261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13262
7c7feb47
JM
132632012-11-22 Joseph Myers <joseph@codesourcery.com>
13264
7184dcdf
JM
13265 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13266 LDBL_MANT_DIG == 106]: Disable some tests.
13267 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13268 Likewise.
13269 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13270 Likewise.
13271
0a42601f
JM
13272 [BZ #14871]
13273 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13274 input for small inputs. Return +/- pi/2 for large inputs.
13275 * math/libm-test.inc (atan_test): Add more tests.
13276
79c9b9fe
JM
13277 * sysdeps/generic/unwind-dw2-fde-glibc.c
13278 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13279 __attribute__ ((unused)).
13280
c60d3bf2
JM
13281 [BZ #14645]
13282 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13283 x * y if x and y are nonzero and z is zero.
13284
ef1e0867
JM
13285 [BZ #14811]
13286 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13287 nonzero exponents with absolute value below 0x1p-117 to +/-
13288 0x1p-117.
13289
1468ded3
JM
13290 [BZ #14869]
13291 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13292 up arguments below 2**-450, not just those below 2**-500.
13293 * math/libm-test.inc (hypot_test): Add another test.
13294
8e27e3cc
JM
13295 [BZ #14868]
13296 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13297 Return a+b for ratio over 2**120, not 2**60.
13298 * math/libm-test.inc (hypot_test): Add another test.
13299
c9c0279b
JM
13300 * math/libm-test.inc (clog_test): Use
13301 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13302 (clog10_test): Likewise.
13303
7c7feb47
JM
13304 [BZ #6778]
13305 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13306
fff1530e
AS
133072012-11-22 Andreas Schwab <schwab@suse.de>
13308
13309 * sysdeps/i386/fpu/libm-test-ulps: Update.
13310
94558d30
PT
133112012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13312
13313 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13314 printf output with newline.
13315
7e1be741
L
133162012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13317
6bfea974
L
13318 [BZ #14865]
13319 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13320 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13321 -z nodlopen, -z initfirst and -z execstack support.
13322 * configure: Regenerated.
13323
7e1be741
L
13324 * elf/elf.h (DF_1_NODIRECT): New macro.
13325 (DF_1_IGNMULDEF): Likewise.
13326 (DF_1_NOKSYMS): Likewise.
13327 (DF_1_NOHDR): Likewise.
13328 (DF_1_EDITED): Likewise.
13329 (DF_1_NORELOC): Likewise.
13330 (DF_1_SYMINTPOSE): Likewise.
13331 (DF_1_GLOBAUDIT): Likewise.
13332 (DF_1_SINGLETON): Likewise.
13333 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13334 DT_1_SUPPORTED_MASK bits.
13335 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13336
105ce2ce
CD
133372012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13338
13339 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13340
123be9de
TS
133412012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13342
d072f3f7
TS
13343 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13344 macro.
13345
123be9de
TS
13346 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13347 (sendmmsg): Move declarations...
13348 * socket/sys/socket.h: ... here.
13349 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13350 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13351 include it from...
13352 * socket/recvmmsg.c: ... this new file.
13353 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13354 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13355 definition of __sendmmsg hidden.
13356 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13357 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13358 Move ENOSYS stub into and include it from...
13359 * socket/sendmmsg.c: ... this new file.
13360 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13361 (sysdep_routines): Move recvmmsg and sendmmsg...
13362 * socket/Makefile (routines): ... here.
13363 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13364 (GLIBC_PRIVATE): Add __sendmmsg.
13365 * include/sys/socket.h (__sendmmsg): Add declarations.
13366 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13367 sendmmsg.
13368
cf9a5d18
JM
133692012-11-20 Joseph Myers <joseph@codesourcery.com>
13370
13371 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13372 variable I1 with __attribute__ ((unused)).
13373 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13374
ecd4caf9
JM
133752012-11-19 Joseph Myers <joseph@codesourcery.com>
13376
be14d48f
JM
13377 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13378 DUMMY variables with __attribute__ ((unused)).
13379
ecd4caf9
JM
13380 * bits/byteswap.h: Include <bits/types.h>.
13381 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13382
986cab95
PT
133832012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13384
13385 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13386 string_t. Do not manually set errno.
13387 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13388 length with __strnlen. Make sure to both set errno and return it on
13389 failure.
13390
6d33cc9d
DM
133912012-11-19 David S. Miller <davem@davemloft.net>
13392
13393 With help from Joseph Myers.
13394 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13395 very large arguments properly.
13396 * math/libm-test.inc (atan_test): New tests.
13397 (atan2_test): New tests.
13398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13400
ee663277
JM
134012012-11-19 Joseph Myers <joseph@codesourcery.com>
13402
877f2d8e
JM
13403 [BZ #14856]
13404 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13405 Define to 3.
13406
116fc08a
JM
13407 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13408 [POSIX] (EADDRNOTAVAIL): Likewise.
13409 [POSIX] (EAFNOSUPPORT): Likewise.
13410 [POSIX] (EALREADY): Likewise.
13411 [POSIX] (ECONNABORTED): Likewise.
13412 [POSIX] (ECONNREFUSED): Likewise.
13413 [POSIX] (ECONNRESET): Likewise.
13414 [POSIX] (EDESTADDRREQ): Likewise.
13415 [POSIX] (EDQUOT): Likewise.
13416 [POSIX] (EHOSTUNREACH): Likewise.
13417 [POSIX] (EIDRM): Likewise.
13418 [POSIX] (EISCONN): Likewise.
13419 [POSIX] (ELOOP): Likewise.
13420 [POSIX] (EMULTIHOP): Likewise.
13421 [POSIX] (ENETDOWN): Likewise.
13422 [POSIX] (ENETUNREACH): Likewise.
13423 [POSIX] (ENOBUFS): Likewise.
13424 [POSIX] (ENODATA): Likewise.
13425 [POSIX] (ENOLINK): Likewise.
13426 [POSIX] (ENOMSG): Likewise.
13427 [POSIX] (ENOPROTOOPT): Likewise.
13428 [POSIX] (ENOSR): Likewise.
13429 [POSIX] (ENOSTR): Likewise.
13430 [POSIX] (ENOTCONN): Likewise.
13431 [POSIX] (ENOTSOCK): Likewise.
13432 [POSIX] (EOPNOTSUPP): Likewise.
13433 [POSIX] (EOVERFLOW): Likewise.
13434 [POSIX] (EPROTO): Likewise.
13435 [POSIX] (EPROTONOSUPPORT): Likewise.
13436 [POSIX] (EPROTOTYPE): Likewise.
13437 [POSIX] (ESTALE): Likewise.
13438 [POSIX] (ETIME): Likewise.
13439 [POSIX] (ETXTBSY): Likewise.
13440 [POSIX] (EWOULDBLOCK): Likewise.
13441 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13442 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13443 [POSIX] (SEEK_CUR): Likewise.
13444 [POSIX] (SEEK_END): Likewise.
13445 [POSIX || UNIX98] (mode_t): Do not require.
13446 [POSIX] (off_t): Likewise.
13447 [POSIX] (pid_t): Likewise.
13448 [POSIX] (sys/stat.h): Do not allow header.
13449 [POSIX] (unistd.h): Likewise.
13450 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13451 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13453 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13454 require.
13455 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13456 sigevent): Specify elements.
13457 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13458 entry.
13459 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13460 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13461
a483863f
JM
13462 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13463 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13464 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13465 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13466 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13467 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13468 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13469 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13471 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13472 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13473 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13474 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13475 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13476 Likewise.
13477 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13478 Likewise.
13479 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13480 Likewise.
13481 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13482 Likewise.
13483 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13484 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13485 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13486 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13488 Specify lower bound on value.
13489 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13495 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13496 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13497 value.
13498 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13499 as optional.
13500 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13508 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13509 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13510 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13511 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13512 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13513 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13514 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13515 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13516 entry.
13517 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13518 optional.
13519 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13520 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13521 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13522 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13523 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13524 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13525 Likewise.
13526 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13527 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13528 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13529 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13530 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13531 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13532 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13533 as optional.
13534 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13535 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13536 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13537 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13538 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13539 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13540 specify as optional.
13541 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13542 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13543 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13544 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13545 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13546 [XPG3] (NL_LANGMAX): Likewise.
13547 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13548 [POSIX || XPG3] (NL_NMAX): Likewise.
13549 [POSIX || XPG3] (NL_SETMAX): Likewise.
13550 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13551 [XPG3] (NZERO): Likewise.
13552 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13553 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13554 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13555 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13556 (REG_ERANGE): Expect.
13557 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13558 optional-constant.
13559 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13560 Use (void) in prototype.
13561 [POSIX] (*_t): Allow.
13562 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13563 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13564 (WRDE_BADVAL): Expect.
13565
5ba924e3
JM
13566 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13567 expect.
13568 [XPG3 || XPG4] (O_RSYNC): Likewise.
13569 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13570 Likewise.
13571 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13572 [XPG3 || XPG4] (sigqueue): Likewise.
13573 [XPG3 || XPG4] (sigtimedwait): Likewise.
13574 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13575 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13576 [XPG3 || XPG4] (vsnprintf): Likewise.
13577 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13578 Likewise.
13579 [XPG3 || XPG4] (blksize_t): Likewise.
13580 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13581 Likewise.
13582 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13583 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13584 [XPG3 || XPG4] (struct itimerspec): Likewise.
13585 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13586 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13587 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13588 [XPG3 || XPG4] (clockid_t): Likewise.
13589 [XPG3 || XPG4] (timer_t): Likewise.
13590 [XPG3 || XPG4] (clock_getres): Likewise.
13591 [XPG3 || XPG4] (clock_gettime): Likewise.
13592 [XPG3 || XPG4] (clock_settime): Likewise.
13593 [XPG3 || XPG4] (nanosleep): Likewise.
13594 [XPG3 || XPG4] (timer_create): Likewise.
13595 [XPG3 || XPG4] (timer_delete): Likewise.
13596 [XPG3 || XPG4] (timer_gettime): Likewise.
13597 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13598 [XPG3 || XPG4] (timer_settime): Likewise.
13599 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13600 [XPG3 || XPG4] (getlogin_r): Likewise.
13601 [XPG3 || XPG4] (pread): Likewise.
13602 [XPG3 || XPG4] (pthread_atfork): Likewise.
13603 [XPG3 || XPG4] (pwrite): Likewise.
13604
ee663277
JM
13605 [BZ #14835]
13606 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13607 <bits/siginfo.h>.
13608
942caa16
PT
136092012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13610
e19af380
PT
13611 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13612 finalizing MALLSTREAM.
13613
942caa16
PT
13614 * sysdeps/mach/hurd/syncfs.c: New file.
13615
cfde9b46
SP
136162012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13617
13618 [BZ #14719]
13619 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13620 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13621 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13622 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13623 (_nss_dns_gethostbyname4_r): Likewise.
13624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13625 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13626
f6da27e5
PH
136272012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13628
13629 [BZ #13763]
13630 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13631
6665d4a2
SM
136322012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13633
1f51ee92
SM
13634 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13635 * elf/cache.c (print_entry): Print ",AArch64" for
13636 FLAG_AARCH64_LIB64
13637
6665d4a2
SM
13638 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13639 * elf/cache.c (print_entry): Print ",hard-float" for
13640 FLAG_ARM_LIBHF.
13641
05b227bd
DM
136422012-11-18 David S. Miller <davem@davemloft.net>
13643
13644 With help from Joseph Myers.
13645 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13646 cutoff to 2**-13.
13647 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13648 cutoff to 2**-25.
13649 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13650 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13651 small.
13652 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13653 * math/libm-test.inc (y0_test): New tests.
13654 (y1_test): New tests.
13655 * sysdeps/i386/fpu/libm-test-ulps: Update.
13656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13658
786b0b67
AS
136592012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13660
13661 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13662 64-bit targets.
13663 * configure: Regenerated.
13664
8e18b86d
DM
136652012-11-17 David S. Miller <davem@davemloft.net>
13666
13667 [BZ #14811]
13668 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13669 nonzero exponents with absolute value below 0x1p-128 to +/-
13670 0x1p-128.
13671
531f1ae0
JM
136722012-11-17 Joseph Myers <joseph@codesourcery.com>
13673
12df29e2
JM
13674 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13675
150dc1a0
JM
13676 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13677
531f1ae0
JM
13678 * posix/getconf-speclist.c: New file.
13679 * posix/posix-envs.def: Likewise.
13680 * posix/confstr.c (START_ENV_GROUP): New macro.
13681 (END_ENV_GROUP): Likewise.
13682 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13683 (KNOWN_PRESENT_ENV_STRING): Likewise.
13684 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13685 (UNKNOWN_ENVIRONMENT): Likewise.
13686 (confstr): Include posix-envs.def instead of handling
13687 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13688 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13689 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13690 (END_ENV_GROUP): Likewise.
13691 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13692 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13693 (UNKNOWN_ENVIRONMENT): Likewise.
13694 (__sysconf): Include posix-envs.def instead of handling associated
13695 cases directly here.
13696 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13697 preprocessing getconf-speclist.c rather than running getconf or
13698 generating empty file.
13699
a93f9cbc
PT
137002012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13701
13702 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13703
d64d9f87
AL
137042012-11-16 Andrej Lajovic <natrij@gmail.com>
13705
13706 [BZ #14672]
13707 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13708
447885eb
DM
137092012-11-16 David S. Miller <davem@davemloft.net>
13710
13711 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13712 smaller than LDBL_EPSILON/2.0L, just return xm1.
13713
bcbf9830
L
137142012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13715
13716 * elf/tst-array1.c (init): Set constructor priority to 1000.
13717 (fini): Set destructor priority to 1000.
13718 * elf/tst-array2dep.c: Likewise.
13719
2b766585
SP
137202012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13721
13722 [BZ #11741]
13723 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13724 (_IO_new_file_xsputn): Also return EOF if none of the input
13725 data was written when overflow failed.
13726 * libio/iopadn.c (_IO_padn): Likewise.
13727 * libio/iowpadn.c (_IO_wpadn): Likewise.
13728 * stdio-common/tst-put-error.c: Add copyright notice.
13729 (do_test): Add case for printing padded string.
13730 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13731 _IO_padn returned error.
13732 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13733 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13734 return EOF.
13735
b1848fde
SP
137362012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13737
13738 * libio/libioP.h: Add comment note that the references to C++
13739 bits are now obsolete.
13740
2fd89785
MS
137412012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13742
13743 * math/libm-test.inc (check_complex): Use asprintf.
13744
e3ea5409
JM
137452012-11-14 Joseph Myers <joseph@codesourcery.com>
13746
13747 * debug/pcprofiledump.c (print_version): Update copyright year.
13748 * malloc/memusagestat.c (print_version): Likewise.
13749
2e64d265
L
137502012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13751
13752 [BZ #14831]
13753 * elf/Makefile (tests): Add tst-audit8.
13754 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13755 ($(objpfx)tst-audit8.out): New target.
13756 (tst-audit8-ENV): New variable.
13757 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13758 audit if l_reloc_result is NULL.
13759 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13760 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13761 * elf/tst-audit8.c: New file.
13762
c485e4d2
MS
137632012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13764
13765 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13766 * misc/Makefile (CFLAGS-select.c): Define.
13767 * posix/Makefile (CFLAGS-pause.c): Define.
13768
3a0d900a
DM
137692012-11-13 David S. Miller <davem@davemloft.net>
13770
13771 * crypt/Makefile: Move test targets after toplevel Rules
13772 inclusion. Grab any necessary sysdep routines when linking.
13773 * crypt/md5.c (md5_process_block): Remove define, we will always
13774 name it __md5_process_block.
13775 (md5_finish_ctx): Update md5_process_block call.
13776 (md5_stream): Likewise.
13777 (md5_process_bytes): Likewise.
13778 (md5_process_block): Rename to __md5_process_block and move to ...
13779 * crypt/md5-block.c: ... here.
13780 * crypt/sha256.c (sha256_process_block): Move to ...
13781 * crypt/sha256-block.c: ... here.
13782 * crypt/sha512.c (sha512_process_block): Move to ...
13783 * crypt/sha512-block.c: ... here.
13784 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13785 path.
13786 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13787 * sysdeps/sparc/sparc64/multiarch/Makefile
13788 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13789 crypt subdir.
13790 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13791 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13792 multiarch changes.
13793 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13794 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13795 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13796 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13797 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13798 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13799 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13800 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13801 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13802 file.
13803 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13804 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13805 file.
13806 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13807
8ca89318
JM
138082012-11-13 Joseph Myers <joseph@codesourcery.com>
13809
e27d476a
JM
13810 * timezone/tzselect.ksh: Update from tzcode git revision
13811 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13812 * timezone/zdump.c: Likewise.
13813 * timezone/zic.c: Likewise.
13814 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13815 in TZVERSION setting, not $(PKGVERSION).
13816 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13817 REPORT_BUGS_TO settings.
13818
8ca89318
JM
13819 [BZ #14838]
13820 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13821 macro.
13822
47594329
MS
138232012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13824
13825 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13826 detection to immediately after _FP_ROUND().
13827 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13828 bits are 0.
13829
640ac3f1
DM
138302012-11-11 David S. Miller <davem@davemloft.net>
13831
13832 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13833 inttypes.h
13834 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13835 __close rather than their public counterparts.
13836
3d2577bb
JM
138372012-11-10 Joseph Myers <joseph@codesourcery.com>
13838
13839 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13840 file.
13841 [UNIX98] (sem_timedwait): Do not expect.
13842 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13843 [XPG4 || UNIX98] (sockatmark): Do not expect.
13844 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13845 (clock_getcpuclockid): Do not expect.
13846 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13847 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13848 Do not expect.
13849 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13850 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13851 [UNIX98] (vwscanf): Likewise.
13852 [UNIX98] (vswscanf): Likewise.
13853
fb1ae1ee
JM
138542012-11-09 Joseph Myers <joseph@codesourcery.com>
13855
9ec6f8bd
JM
13856 * timezone/version.h: Remove file.
13857 * timezone/README: Do not refer to version.h.
13858 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13859 $(objpfx)version.h.
13860 ($(objpfx)zdump.o): Likewise.
c3f81911 13861 ($(objpfx)version.h): New target.
9ec6f8bd 13862
0aa8f8a1
JM
13863 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13864 2012i.
13865 * timezone/README: Don't mention modification to tzselect.ksh.
13866 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13867 work on unmodified tzselect.ksh. Substitute version numbers in
13868 tzselect.ksh.
13869
4e87147f
JM
13870 * Makefile (format-me): Remove.
13871 (INSTALL): Adjust indentation. Use commands directly instead of
13872 using $(format-me).
13873
8b748aed
JM
13874 * aclocal.m4 (ACX_PKGVERSION): New macro.
13875 (ACX_BUGURL): Likewise.
13876 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13877 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13878 (REPORT_BUGS_TO): Likewise.
13879 * configure: Regenerated.
13880 * config.h.in (PKGVERSION): New macro.
13881 (REPORT_BUGS_TO): Likewise.
13882 * config.make.in (PKGVERSION): New variable.
13883 (PKGVERSION_TEXI): Likewise.
13884 (REPORT_BUGS_TO): Likewise.
13885 (REPORT_BUGS_TEXI): Likewise.
13886 * Makefile (format-me): Use -I$(common-objpfx)manual.
13887 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13888 ($(common-objpfx)manual/%): New target.
13889 (manual/%): Remove target.
13890 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13891 (print_version): Use PKGVERSION.
13892 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13893 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13894 and REPORT_BUGS_TO.
13895 ($(objpfx)xtrace): Likewise.
13896 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13897 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13898 (print_version): Use PKGVERSION.
13899 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13900 (do_version): Use PKGVERSION.
13901 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13902 REPORT_BUGS_TO.
13903 (common-ldd-rewrite): Likewise.
13904 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13905 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13906 (print_version): Use PKGVERSION.
13907 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13908 * elf/pldd.c (argp_program_bug_address): Remove variable.
13909 (more_help): New function.
13910 (argp): Use more_help.
13911 (print_version): Use PKGVERSION.
13912 * elf/sln.c (main): Use PKGVERSION.
13913 (usage): Use REPORT_BUGS_TO.
13914 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13915 (top level): Use PKGVERSION.
13916 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13917 (print_version): Use PKGVERSION.
13918 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13919 (print_version): Use PKGVERSION.
13920 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13921 (print_version): Use PKGVERSION.
13922 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13923 (print_version): Use PKGVERSION.
13924 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13925 (print_version): Use PKGVERSION.
13926 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13927 (print_version): Use PKGVERSION.
13928 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13929 and BUGURL.
13930 ($(objpfx)memusage): Likewise.
13931 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13932 (do_version): Use PKGVERSION.
13933 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13934 (print_version): Use PKGVERSION.
13935 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13936 ($PKGVERSION): New variable.
13937 ($REPORT_BUGS_TO): Likewise.
13938 (usage): Use $REPORT_BUGS_TO.
13939 (top level): Use $PKGVERSION.
13940 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13941 ($(objpfx)pkgvers.texi): New rule.
13942 ($(objpfx)stamp-pkgvers): Likewise.
13943 * manual/install.texi: Include pkgvers.texi.
13944 (--with-pkgversion): Document new configure option.
13945 (--with-bugurl): Likewise.
13946 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13947 than necessarily for this particular distribution. Use
13948 REPORT_BUGS_TO for where to report bugs.
13949 * INSTALL: Regenerated.
13950 * manual/libc.texinfo: Include pkgvers.texi.
13951 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13952 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13953 (print_version): Use PKGVERSION.
13954 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13955 (print_version): Use PKGVERSION.
13956 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13957 (print_version): Use PKGVERSION.
13958 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13959 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13960 macro.
13961 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13962 (print_version): Use PKGVERSION.
13963 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13964 (print_version): Use PKGVERSION.
13965 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13966 and PKGVERSION.
13967
92e4b6a9
JM
13968 * timezone/checktab.awk: Update from tzcode 2012i.
13969 * timezone/ialloc.c: Likewise.
13970 * timezone/private.h: Likewise.
13971 * timezone/scheck.c: Likewise.
13972 * timezone/tzfile.h: Likewise.
13973 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13974 (TZVERSION): Hardcode tzcode version number.
13975 * timezone/zdump.c: Update from tzcode 2012i.
13976 * timezone/zic.c: Likewise.
13977 * timezone/version.h: New file.
13978 * timezone/README: Describe version.h. Update upstream location.
13979
9bde902c
JM
13980 [BZ #14824]
13981 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13982 (mktemp): Enable declaration.
13983 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13987 Likewise.
13988 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13989 Likewise.
13990 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13991 Likewise.
13992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13993 Likewise.
13994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13995 Likewise.
13996 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13997 Likewise.
13998
fb1ae1ee
JM
13999 [BZ #14821]
14000 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14001 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14002 for copies of such integer values.
14003 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14004 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14005
2c1adbcb
AJ
140062012-11-09 Andreas Jaeger <aj@suse.de>
14007
14008 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14009 definitions and declarations that are provided by
14010 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14011
d0f8457e
AK
140122012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14013
3a235abb 14014 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14015 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14016 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14017 definition.
14018
57241e26
MS
140192012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14020
14021 * elf/elf.h: Update comment before AArch64 relocations.
14022
60e8270d
DM
140232012-11-07 David S. Miller <davem@davemloft.net>
14024
14025 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14026 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14027 (__start_context): Declare.
14028 (__makecontext_ret): Delete.
14029 (__makecontext): Hook up __start_context instead of
14030 __makecontext_ret.
14031 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14032 (sysdep_routines): Add __start_context when in stdlib.
14033
0fbb0fbc
JM
140342012-11-07 Joseph Myers <joseph@codesourcery.com>
14035
14036 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14037 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14038 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14039 hardcoded "nm".
14040 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14041 (READELF): New variable. Use it instead of hardcoded "readelf".
14042
eb48db7e
L
140432012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14044
14045 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14046 * sysdeps/x86/Makefile: Here.
14047 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14048 * sysdeps/x86/tst-xmmymm.sh: This.
14049
05bcf62a
JM
140502012-11-07 Joseph Myers <joseph@codesourcery.com>
14051
c4b6cf53
JM
14052 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14053 expectations.
14054 [UNIX98] (pthread_barrier_t): Do not expect.
14055 [UNIX98] (pthread_barrierattr_t): Likewise.
14056 [UNIX98] (pthread_spinlock_t): Likewise.
14057 [UNIX98] (pthread_barrier_destroy): Likewise.
14058 [UNIX98] (pthread_barrier_init): Likewise.
14059 [UNIX98] (pthread_barrier_wait): Likewise.
14060 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14061 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14062 [UNIX98] (pthread_barrierattr_init): Likewise.
14063 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14064 [UNIX98] (pthread_getcpuclockid): Likewise.
14065 [UNIX98] (pthread_mutex_timedlock): Likewise.
14066 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14067 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14068 [UNIX98] (pthread_sigmask): Likewise.
14069 [UNIX98] (pthread_spin_destroy): Likewise.
14070 [UNIX98] (pthread_spin_init): Likewise.
14071 [UNIX98] (pthread_spin_lock): Likewise.
14072 [UNIX98] (pthread_spin_trylock): Likewise.
14073 [UNIX98] (pthread_spin_unlock): Likewise.
14074 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14075 Do not expect.
14076 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14077 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14078 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14079 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14080 [XPG3 || XPG4] (pthread_key_t): Likewise.
14081 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14082 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14083 [XPG3 || XPG4] (pthread_once_t): Likewise.
14084 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14085 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14086 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14087 [XPG3 || XPG4] (pthread_t): Likewise.
14088
cbe6e120
JM
14089 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14090 not expect.
14091 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14092
1b126443
JM
14093 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14094 Change function return type to int.
14095
b961a573
JM
14096 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14097 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14098 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14099 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14100 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14101 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14102 [!POSIX] (posix_madvise): Likewise.
14103 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14104 && !UNIX98].
14105 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14106 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14107 (mode_t): Likewise.
14108 (posix_mem_offset): Likewise.
14109 (posix_typed_mem_get_info): Likewise.
14110 (posix_typed_mem_open): Likewise.
14111
9e188909
JM
14112 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14113 Change condition to [XOPEN2K8].
14114
05bcf62a
JM
14115 * conform/conformtest.pl: Preprocess allow-header data with -x c
14116 instead of from stdin.
14117 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14118 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14119 [C99-based standards] (cerfc): Likewise.
14120 [C99-based standards] (cexp2): Likewise.
14121 [C99-based standards] (cexpm1): Likewise.
14122 [C99-based standards] (clog10): Likewise.
14123 [C99-based standards] (clog1p): Likewise.
14124 [C99-based standards] (clog2): Likewise.
14125 [C99-based standards] (clgamma): Likewise.
14126 [C99-based standards] (ctgamma): Likewise.
14127 [C99-based standards] (cerff): Likewise.
14128 [C99-based standards] (cerfcf): Likewise.
14129 [C99-based standards] (cexp2f): Likewise.
14130 [C99-based standards] (cexpm1f): Likewise.
14131 [C99-based standards] (clog10f): Likewise.
14132 [C99-based standards] (clog1pf): Likewise.
14133 [C99-based standards] (clog2f): Likewise.
14134 [C99-based standards] (clgammaf): Likewise.
14135 [C99-based standards] (ctgammaf): Likewise.
14136 [C99-based standards] (cerfl): Likewise.
14137 [C99-based standards] (cerfcl): Likewise.
14138 [C99-based standards] (cexp2l): Likewise.
14139 [C99-based standards] (cexpm1l): Likewise.
14140 [C99-based standards] (clog10l): Likewise.
14141 [C99-based standards] (clog1pl): Likewise.
14142 [C99-based standards] (clog2l): Likewise.
14143 [C99-based standards] (clgammal): Likewise.
14144 [C99-based standards] (ctgammal): Likewise.
14145 * conform/data/inttypes.h-data [C99-based standards]: Include
14146 stdint.h-data. Remove all expectations for stdint.h contents.
14147 [C99-based standards] (PRI*): Do not allow.
14148 [C99-based standards] (SCN*): Likewise.
14149 [C99-based standards] (*_t): Likewise.
14150 [C99-based-standards] (PRId8): Expect macro.
14151 [C99-based-standards] (PRIi8): Likewise.
14152 [C99-based-standards] (PRIo8): Likewise.
14153 [C99-based-standards] (PRIu8): Likewise.
14154 [C99-based-standards] (PRIx8): Likewise.
14155 [C99-based-standards] (PRIX8): Likewise.
14156 [C99-based-standards] (SCNd8): Likewise.
14157 [C99-based-standards] (SCNi8): Likewise.
14158 [C99-based-standards] (SCNo8): Likewise.
14159 [C99-based-standards] (SCNu8): Likewise.
14160 [C99-based-standards] (SCNx8): Likewise.
14161 [C99-based-standards] (PRIdLEAST8): Likewise.
14162 [C99-based-standards] (PRIiLEAST8): Likewise.
14163 [C99-based-standards] (PRIoLEAST8): Likewise.
14164 [C99-based-standards] (PRIuLEAST8): Likewise.
14165 [C99-based-standards] (PRIxLEAST8): Likewise.
14166 [C99-based-standards] (PRIXLEAST8): Likewise.
14167 [C99-based-standards] (SCNdLEAST8): Likewise.
14168 [C99-based-standards] (SCNiLEAST8): Likewise.
14169 [C99-based-standards] (SCNoLEAST8): Likewise.
14170 [C99-based-standards] (SCNuLEAST8): Likewise.
14171 [C99-based-standards] (SCNxLEAST8): Likewise.
14172 [C99-based-standards] (PRIdFAST8): Likewise.
14173 [C99-based-standards] (PRIiFAST8): Likewise.
14174 [C99-based-standards] (PRIoFAST8): Likewise.
14175 [C99-based-standards] (PRIuFAST8): Likewise.
14176 [C99-based-standards] (PRIxFAST8): Likewise.
14177 [C99-based-standards] (PRIXFAST8): Likewise.
14178 [C99-based-standards] (SCNdFAST8): Likewise.
14179 [C99-based-standards] (SCNiFAST8): Likewise.
14180 [C99-based-standards] (SCNoFAST8): Likewise.
14181 [C99-based-standards] (SCNuFAST8): Likewise.
14182 [C99-based-standards] (SCNxFAST8): Likewise.
14183 [C99-based-standards] (PRId16): Likewise.
14184 [C99-based-standards] (PRIi16): Likewise.
14185 [C99-based-standards] (PRIo16): Likewise.
14186 [C99-based-standards] (PRIu16): Likewise.
14187 [C99-based-standards] (PRIx16): Likewise.
14188 [C99-based-standards] (PRIX16): Likewise.
14189 [C99-based-standards] (SCNd16): Likewise.
14190 [C99-based-standards] (SCNi16): Likewise.
14191 [C99-based-standards] (SCNo16): Likewise.
14192 [C99-based-standards] (SCNu16): Likewise.
14193 [C99-based-standards] (SCNx16): Likewise.
14194 [C99-based-standards] (PRIdLEAST16): Likewise.
14195 [C99-based-standards] (PRIiLEAST16): Likewise.
14196 [C99-based-standards] (PRIoLEAST16): Likewise.
14197 [C99-based-standards] (PRIuLEAST16): Likewise.
14198 [C99-based-standards] (PRIxLEAST16): Likewise.
14199 [C99-based-standards] (PRIXLEAST16): Likewise.
14200 [C99-based-standards] (SCNdLEAST16): Likewise.
14201 [C99-based-standards] (SCNiLEAST16): Likewise.
14202 [C99-based-standards] (SCNoLEAST16): Likewise.
14203 [C99-based-standards] (SCNuLEAST16): Likewise.
14204 [C99-based-standards] (SCNxLEAST16): Likewise.
14205 [C99-based-standards] (PRIdFAST16): Likewise.
14206 [C99-based-standards] (PRIiFAST16): Likewise.
14207 [C99-based-standards] (PRIoFAST16): Likewise.
14208 [C99-based-standards] (PRIuFAST16): Likewise.
14209 [C99-based-standards] (PRIxFAST16): Likewise.
14210 [C99-based-standards] (PRIXFAST16): Likewise.
14211 [C99-based-standards] (SCNdFAST16): Likewise.
14212 [C99-based-standards] (SCNiFAST16): Likewise.
14213 [C99-based-standards] (SCNoFAST16): Likewise.
14214 [C99-based-standards] (SCNuFAST16): Likewise.
14215 [C99-based-standards] (SCNxFAST16): Likewise.
14216 [C99-based-standards] (PRId32): Likewise.
14217 [C99-based-standards] (PRIi32): Likewise.
14218 [C99-based-standards] (PRIo32): Likewise.
14219 [C99-based-standards] (PRIu32): Likewise.
14220 [C99-based-standards] (PRIx32): Likewise.
14221 [C99-based-standards] (PRIX32): Likewise.
14222 [C99-based-standards] (SCNd32): Likewise.
14223 [C99-based-standards] (SCNi32): Likewise.
14224 [C99-based-standards] (SCNo32): Likewise.
14225 [C99-based-standards] (SCNu32): Likewise.
14226 [C99-based-standards] (SCNx32): Likewise.
14227 [C99-based-standards] (PRIdLEAST32): Likewise.
14228 [C99-based-standards] (PRIiLEAST32): Likewise.
14229 [C99-based-standards] (PRIoLEAST32): Likewise.
14230 [C99-based-standards] (PRIuLEAST32): Likewise.
14231 [C99-based-standards] (PRIxLEAST32): Likewise.
14232 [C99-based-standards] (PRIXLEAST32): Likewise.
14233 [C99-based-standards] (SCNdLEAST32): Likewise.
14234 [C99-based-standards] (SCNiLEAST32): Likewise.
14235 [C99-based-standards] (SCNoLEAST32): Likewise.
14236 [C99-based-standards] (SCNuLEAST32): Likewise.
14237 [C99-based-standards] (SCNxLEAST32): Likewise.
14238 [C99-based-standards] (PRIdFAST32): Likewise.
14239 [C99-based-standards] (PRIiFAST32): Likewise.
14240 [C99-based-standards] (PRIoFAST32): Likewise.
14241 [C99-based-standards] (PRIuFAST32): Likewise.
14242 [C99-based-standards] (PRIxFAST32): Likewise.
14243 [C99-based-standards] (PRIXFAST32): Likewise.
14244 [C99-based-standards] (SCNdFAST32): Likewise.
14245 [C99-based-standards] (SCNiFAST32): Likewise.
14246 [C99-based-standards] (SCNoFAST32): Likewise.
14247 [C99-based-standards] (SCNuFAST32): Likewise.
14248 [C99-based-standards] (SCNxFAST32): Likewise.
14249 [C99-based-standards] (PRId64): Likewise.
14250 [C99-based-standards] (PRIi64): Likewise.
14251 [C99-based-standards] (PRIo64): Likewise.
14252 [C99-based-standards] (PRIu64): Likewise.
14253 [C99-based-standards] (PRIx64): Likewise.
14254 [C99-based-standards] (PRIX64): Likewise.
14255 [C99-based-standards] (SCNd64): Likewise.
14256 [C99-based-standards] (SCNi64): Likewise.
14257 [C99-based-standards] (SCNo64): Likewise.
14258 [C99-based-standards] (SCNu64): Likewise.
14259 [C99-based-standards] (SCNx64): Likewise.
14260 [C99-based-standards] (PRIdLEAST64): Likewise.
14261 [C99-based-standards] (PRIiLEAST64): Likewise.
14262 [C99-based-standards] (PRIoLEAST64): Likewise.
14263 [C99-based-standards] (PRIuLEAST64): Likewise.
14264 [C99-based-standards] (PRIxLEAST64): Likewise.
14265 [C99-based-standards] (PRIXLEAST64): Likewise.
14266 [C99-based-standards] (SCNdLEAST64): Likewise.
14267 [C99-based-standards] (SCNiLEAST64): Likewise.
14268 [C99-based-standards] (SCNoLEAST64): Likewise.
14269 [C99-based-standards] (SCNuLEAST64): Likewise.
14270 [C99-based-standards] (SCNxLEAST64): Likewise.
14271 [C99-based-standards] (PRIdFAST64): Likewise.
14272 [C99-based-standards] (PRIiFAST64): Likewise.
14273 [C99-based-standards] (PRIoFAST64): Likewise.
14274 [C99-based-standards] (PRIuFAST64): Likewise.
14275 [C99-based-standards] (PRIxFAST64): Likewise.
14276 [C99-based-standards] (PRIXFAST64): Likewise.
14277 [C99-based-standards] (SCNdFAST64): Likewise.
14278 [C99-based-standards] (SCNiFAST64): Likewise.
14279 [C99-based-standards] (SCNoFAST64): Likewise.
14280 [C99-based-standards] (SCNuFAST64): Likewise.
14281 [C99-based-standards] (SCNxFAST64): Likewise.
14282 [C99-based-standards] (PRIdMAX): Likewise.
14283 [C99-based-standards] (PRIiMAX): Likewise.
14284 [C99-based-standards] (PRIoMAX): Likewise.
14285 [C99-based-standards] (PRIuMAX): Likewise.
14286 [C99-based-standards] (PRIxMAX): Likewise.
14287 [C99-based-standards] (PRIXMAX): Likewise.
14288 [C99-based-standards] (SCNdMAX): Likewise.
14289 [C99-based-standards] (SCNiMAX): Likewise.
14290 [C99-based-standards] (SCNoMAX): Likewise.
14291 [C99-based-standards] (SCNuMAX): Likewise.
14292 [C99-based-standards] (SCNxMAX): Likewise.
14293 [C99-based-standards] (PRIdPTR): Likewise.
14294 [C99-based-standards] (PRIiPTR): Likewise.
14295 [C99-based-standards] (PRIoPTR): Likewise.
14296 [C99-based-standards] (PRIuPTR): Likewise.
14297 [C99-based-standards] (PRIxPTR): Likewise.
14298 [C99-based-standards] (PRIXPTR): Likewise.
14299 [C99-based-standards] (SCNdPTR): Likewise.
14300 [C99-based-standards] (SCNiPTR): Likewise.
14301 [C99-based-standards] (SCNoPTR): Likewise.
14302 [C99-based-standards] (SCNuPTR): Likewise.
14303 [C99-based-standards] (SCNxPTR): Likewise.
14304 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14305 allow.
14306 * conform/data/stdint.h-data: Update comments to clarify
14307 requirements.
14308 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14309 type.
14310 [C99-based standards] (INT8_MAX): Likewise.
14311 [C99-based standards] (INT16_MIN): Likewise.
14312 [C99-based standards] (INT16_MAX): Likewise.
14313 [C99-based standards] (INT32_MIN): Likewise.
14314 [C99-based standards] (INT32_MAX): Likewise.
14315 [C99-based standards] (INT64_MIN): Likewise.
14316 [C99-based standards] (INT64_MAX): Likewise.
14317 [C99-based standards] (UINT8_MAX): Likewise.
14318 [C99-based standards] (UINT16_MAX): Likewise.
14319 [C99-based standards] (UINT32_MAX): Likewise.
14320 [C99-based standards] (UINT64_MAX): Likewise.
14321 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14322 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14323 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14324 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14325 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14326 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14327 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14328 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14329 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14330 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14331 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14332 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14333 [C99-based standards] (INT_FAST8_MIN): Likewise.
14334 [C99-based standards] (INT_FAST8_MAX): Likewise.
14335 [C99-based standards] (INT_FAST16_MIN): Likewise.
14336 [C99-based standards] (INT_FAST16_MAX): Likewise.
14337 [C99-based standards] (INT_FAST32_MIN): Likewise.
14338 [C99-based standards] (INT_FAST32_MAX): Likewise.
14339 [C99-based standards] (INT_FAST64_MIN): Likewise.
14340 [C99-based standards] (INT_FAST64_MAX): Likewise.
14341 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14342 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14343 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14344 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14345 [C99-based standards] (INTPTR_MIN): Likewise.
14346 [C99-based standards] (INTPTR_MAX): Likewise.
14347 [C99-based standards] (UINTPTR_MAX): Likewise.
14348 [C99-based standards] (INTMAX_MIN): Likewise.
14349 [C99-based standards] (INTMAX_MAX): Likewise.
14350 [C99-based standards] (UINTMAX_MAX): Likewise.
14351 [C99-based standards] (PTRDIFF_MIN): Likewise.
14352 [C99-based standards] (PTRDIFF_MAX): Likewise.
14353 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14354 [C99-based standards] (SIZE_MAX): Likewise.
14355 [C99-based standards] (WCHAR_MAX): Likewise.
14356 [C99-based standards] (WINT_MAX): Likewise.
14357 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14358 constraint on value.
14359 [C99-based standards] (WCHAR_MIN): Likewise.
14360 [C99-based standards] (WINT_MIN): Likewise.
14361 [C99-based standards] (*_t): Allow.
14362 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14363 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14364 Include math.h-data and complex.h-data. Remove all expectations
14365 of math.h and complex.h contents.
14366 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14367 at end of line.
14368 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14369 (struct tm): Expect tag.
14370 [C99-based-standards] (wcstof): Expect function.
14371 [C99-based-standards] (wcstold): Likewise.
14372 [C99-based-standards] (wcstoll): Likewise.
14373 [C99-based-standards] (wcstoull): Likewise.
14374 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14375 macro-int-constant. Specify type.
14376 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14377 constraint on value.
14378 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14379 Specify type.
14380 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14381 Specify value.
14382 [ISO C standards]: Do not allow headers.
14383 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14384 wcs[abcdefghijklmnopqrstuvwxyz]*.
14385 [ISO C standards] (*_t): Do not allow.
14386 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14387 Expect function.
14388 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14389 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14390 Specify type.
14391 [ISO C standards]: Do not allow headers.
14392 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14393 is[abcdefghijklmnopqrstuvwxyz]*.
14394 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14395 to[abcdefghijklmnopqrstuvwxyz]*.
14396 [ISO C standards] (*_t): Do not allow.
14397 * conform/data/stdalign.h-data: New file.
14398 * conform/data/stdbool.h-data: Likewise.
14399 * conform/data/stdnoreturn.h-data: Likewise.
14400
7514feb8
RM
144012012-11-07 Roland McGrath <roland@hack.frob.com>
14402
14403 [BZ #14815]
14404 * manual/filesys.texi (Directory Entries): Typo fix.
14405 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14406
19b2ecfc
MS
144072012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14408
14409 * elf/elf.h (EM_AARCH64): New macro.
14410 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14411 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14412 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14413 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14414 (R_AARCH64_TLSDESC): Likewise.
14415 (NT_ARM_TLS): Likewise.
14416 (NT_ARM_HW_BREAK): Likewise.
14417 (NT_ARM_HW_WATCH): Likewise.
14418
60e235ee
JM
144192012-11-07 Joseph Myers <joseph@codesourcery.com>
14420
14421 [BZ #14811]
14422 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14423 (__ieee754_powl): Saturate nonzero exponents with absolute value
14424 below 0x1p-79 to +/- 0x1p-79.
14425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14426 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14427 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14428 nonzero exponents with absolute value below 0x1p-32 to +/-
14429 0x1p-32.
14430 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14431 (__ieee754_powl): Saturate nonzero exponents with absolute value
14432 below 0x1p-79 to +/- 0x1p-79.
14433 * math/libm-test.inc (pow_test): Add more tests.
14434
0ab234b7
AK
144352012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14436
14437 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14438 _dl_s390_cap_flags with kernel. Increase string length.
14439 (_dl_s390_platforms): Add z196 and zEC12.
14440
45832f74
JM
144412012-11-07 Joseph Myers <joseph@codesourcery.com>
14442
14443 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14444 Change XOPEN21K to XOPEN2K.
14445
19218757
MK
144462012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14447
14448 * string/memmove.c: Use memcpy when possible.
14449
c5f45721
AJ
144502012-11-06 Andreas Jaeger <aj@suse.de>
14451
14452 * po/eo.po: Update from translation team.
14453
82477c28
JM
144542012-11-06 Joseph Myers <joseph@codesourcery.com>
14455
14456 [BZ #14793]
14457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14458 exponent and small x and y exponents, scale x or y up. Increase
14459 by 2 the exponent used in scaling up.
14460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14461 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14462 * math/libm-test.inc (fma_test): Add more tests.
14463 (fma_test_towardzero): Likewise.
14464 (fma_test_downward): Likewise.
14465 (fma_test_upward): Likewise.
14466
99252c8c
JM
144672012-11-05 Joseph Myers <joseph@codesourcery.com>
14468
acfa885f
JM
14469 [BZ #14805]
14470 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14471 fenv_t *.
14472
99252c8c
JM
14473 [BZ #14801]
14474 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14475 namespace for names of struct fields.
14476 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14477 fenv_t fields.
14478 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14479 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14480
d6d98dea
ST
144812012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14482
14483 [BZ #3665]
14484 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14485
e10bb107
TS
144862012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14487
14488 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14489 PTR_DEMANGLE.
14490
14491 [BZ #5246]
14492 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14493 PTR_DEMANGLE.
14494
a0c2940d
JM
144952012-11-04 Joseph Myers <joseph@codesourcery.com>
14496
14497 [BZ #14797]
14498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14499 definitely overflow as x * y not x * y + z.
14500 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14501 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14502 * math/libm-test.inc (fma_test): Add more tests.
14503 (fma_test_towardzero): Likewise.
14504 (fma_test_downward): Likewise.
14505 (fma_test_upward): Likewise.
14506
b830319d
TS
145072012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14508
14509 [BZ #157]
14510
14511 * include/stub-tag.h: Remove file.
14512 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14513 '#include' of it.
14514 * manual/maint.texi (Porting): Don't reference it.
14515 * Makerules ($(objpfx)stubs): Likewise.
14516 * dirent/closedir.c: Don't include <stub-tag.h>.
14517 * dirent/dirfd.c: Likewise.
14518 * dirent/fdopendir.c: Likewise.
14519 * dirent/getdents.c: Likewise.
14520 * dirent/getdents64.c: Likewise.
14521 * dirent/opendir.c: Likewise.
14522 * dirent/readdir.c: Likewise.
14523 * dirent/readdir64.c: Likewise.
14524 * dirent/readdir64_r.c: Likewise.
14525 * dirent/readdir_r.c: Likewise.
14526 * dirent/rewinddir.c: Likewise.
14527 * dirent/seekdir.c: Likewise.
14528 * dirent/telldir.c: Likewise.
14529 * gmon/profil.c: Likewise.
14530 * grp/setgroups.c: Likewise.
14531 * inet/if_index.c: Likewise.
14532 * io/access.c: Likewise.
14533 * io/chdir.c: Likewise.
14534 * io/chmod.c: Likewise.
14535 * io/chown.c: Likewise.
14536 * io/close.c: Likewise.
14537 * io/dup.c: Likewise.
14538 * io/dup2.c: Likewise.
14539 * io/dup3.c: Likewise.
14540 * io/euidaccess.c: Likewise.
14541 * io/faccessat.c: Likewise.
14542 * io/fchdir.c: Likewise.
14543 * io/fchmod.c: Likewise.
14544 * io/fchmodat.c: Likewise.
14545 * io/fchown.c: Likewise.
14546 * io/fchownat.c: Likewise.
14547 * io/fcntl.c: Likewise.
14548 * io/flock.c: Likewise.
14549 * io/fstatfs.c: Likewise.
14550 * io/fstatfs64.c: Likewise.
14551 * io/fstatvfs.c: Likewise.
14552 * io/fstatvfs64.c: Likewise.
14553 * io/futimens.c: Likewise.
14554 * io/fxstat.c: Likewise.
14555 * io/fxstat64.c: Likewise.
14556 * io/fxstatat.c: Likewise.
14557 * io/fxstatat64.c: Likewise.
14558 * io/getcwd.c: Likewise.
14559 * io/isatty.c: Likewise.
14560 * io/lchmod.c: Likewise.
14561 * io/lchown.c: Likewise.
14562 * io/link.c: Likewise.
14563 * io/linkat.c: Likewise.
14564 * io/lseek.c: Likewise.
14565 * io/lseek64.c: Likewise.
14566 * io/lxstat64.c: Likewise.
14567 * io/mkdir.c: Likewise.
14568 * io/mkdirat.c: Likewise.
14569 * io/mkfifo.c: Likewise.
14570 * io/mkfifoat.c: Likewise.
14571 * io/open.c: Likewise.
14572 * io/open64.c: Likewise.
14573 * io/openat.c: Likewise.
14574 * io/openat64.c: Likewise.
14575 * io/pipe.c: Likewise.
14576 * io/pipe2.c: Likewise.
14577 * io/poll.c: Likewise.
14578 * io/posix_fadvise.c: Likewise.
14579 * io/posix_fadvise64.c: Likewise.
14580 * io/posix_fallocate.c: Likewise.
14581 * io/posix_fallocate64.c: Likewise.
14582 * io/read.c: Likewise.
14583 * io/readlink.c: Likewise.
14584 * io/readlinkat.c: Likewise.
14585 * io/rmdir.c: Likewise.
14586 * io/sendfile.c: Likewise.
14587 * io/sendfile64.c: Likewise.
14588 * io/statfs.c: Likewise.
14589 * io/statfs64.c: Likewise.
14590 * io/statvfs.c: Likewise.
14591 * io/statvfs64.c: Likewise.
14592 * io/symlink.c: Likewise.
14593 * io/symlinkat.c: Likewise.
14594 * io/ttyname.c: Likewise.
14595 * io/ttyname_r.c: Likewise.
14596 * io/umask.c: Likewise.
14597 * io/unlink.c: Likewise.
14598 * io/unlinkat.c: Likewise.
14599 * io/utime.c: Likewise.
14600 * io/utimensat.c: Likewise.
14601 * io/write.c: Likewise.
14602 * io/xmknod.c: Likewise.
14603 * io/xmknodat.c: Likewise.
14604 * io/xstat.c: Likewise.
14605 * io/xstat64.c: Likewise.
14606 * login/getpt.c: Likewise.
14607 * login/grantpt.c: Likewise.
14608 * login/unlockpt.c: Likewise.
14609 * math/e_acoshl.c: Likewise.
14610 * math/e_acosl.c: Likewise.
14611 * math/e_asinl.c: Likewise.
14612 * math/e_atan2l.c: Likewise.
14613 * math/e_atanhl.c: Likewise.
14614 * math/e_coshl.c: Likewise.
14615 * math/e_expl.c: Likewise.
14616 * math/e_fmodl.c: Likewise.
14617 * math/e_gammal_r.c: Likewise.
14618 * math/e_hypotl.c: Likewise.
14619 * math/e_j0l.c: Likewise.
14620 * math/e_j1l.c: Likewise.
14621 * math/e_jnl.c: Likewise.
14622 * math/e_lgammal_r.c: Likewise.
14623 * math/e_log10l.c: Likewise.
14624 * math/e_log2l.c: Likewise.
14625 * math/e_logl.c: Likewise.
14626 * math/e_powl.c: Likewise.
14627 * math/e_rem_pio2l.c: Likewise.
14628 * math/e_sinhl.c: Likewise.
14629 * math/e_sqrtl.c: Likewise.
14630 * math/fclrexcpt.c: Likewise.
14631 * math/fedisblxcpt.c: Likewise.
14632 * math/feenablxcpt.c: Likewise.
14633 * math/fegetenv.c: Likewise.
14634 * math/fegetexcept.c: Likewise.
14635 * math/fegetround.c: Likewise.
14636 * math/feholdexcpt.c: Likewise.
14637 * math/fesetenv.c: Likewise.
14638 * math/fesetround.c: Likewise.
14639 * math/feupdateenv.c: Likewise.
14640 * math/fgetexcptflg.c: Likewise.
14641 * math/fraiseexcpt.c: Likewise.
14642 * math/fsetexcptflg.c: Likewise.
14643 * math/ftestexcept.c: Likewise.
14644 * math/k_cosl.c: Likewise.
14645 * math/k_rem_pio2l.c: Likewise.
14646 * math/k_sinl.c: Likewise.
14647 * math/k_tanl.c: Likewise.
14648 * math/s_asinhl.c: Likewise.
14649 * math/s_atanl.c: Likewise.
14650 * math/s_cbrtl.c: Likewise.
14651 * math/s_erfl.c: Likewise.
14652 * math/s_expm1l.c: Likewise.
14653 * math/s_log1pl.c: Likewise.
14654 * math/s_tanhl.c: Likewise.
14655 * misc/acct.c: Likewise.
14656 * misc/brk.c: Likewise.
14657 * misc/chflags.c: Likewise.
14658 * misc/chroot.c: Likewise.
14659 * misc/fchflags.c: Likewise.
14660 * misc/fgetxattr.c: Likewise.
14661 * misc/flistxattr.c: Likewise.
14662 * misc/fremovexattr.c: Likewise.
14663 * misc/fsetxattr.c: Likewise.
14664 * misc/fsync.c: Likewise.
14665 * misc/ftruncate.c: Likewise.
14666 * misc/futimes.c: Likewise.
14667 * misc/futimesat.c: Likewise.
14668 * misc/getdomain.c: Likewise.
14669 * misc/getdtsz.c: Likewise.
14670 * misc/gethostid.c: Likewise.
14671 * misc/gethostname.c: Likewise.
14672 * misc/getloadavg.c: Likewise.
14673 * misc/getpagesize.c: Likewise.
14674 * misc/getsysstats.c: Likewise.
14675 * misc/getxattr.c: Likewise.
14676 * misc/gtty.c: Likewise.
14677 * misc/ioctl.c: Likewise.
14678 * misc/lgetxattr.c: Likewise.
14679 * misc/listxattr.c: Likewise.
14680 * misc/llistxattr.c: Likewise.
14681 * misc/lremovexattr.c: Likewise.
14682 * misc/lsetxattr.c: Likewise.
14683 * misc/lutimes.c: Likewise.
14684 * misc/madvise.c: Likewise.
14685 * misc/mincore.c: Likewise.
14686 * misc/mlock.c: Likewise.
14687 * misc/mlockall.c: Likewise.
14688 * misc/mmap.c: Likewise.
14689 * misc/mprotect.c: Likewise.
14690 * misc/msync.c: Likewise.
14691 * misc/munlock.c: Likewise.
14692 * misc/munlockall.c: Likewise.
14693 * misc/munmap.c: Likewise.
14694 * misc/preadv.c: Likewise.
14695 * misc/preadv64.c: Likewise.
14696 * misc/ptrace.c: Likewise.
14697 * misc/pwritev.c: Likewise.
14698 * misc/pwritev64.c: Likewise.
14699 * misc/readv.c: Likewise.
14700 * misc/reboot.c: Likewise.
14701 * misc/remap_file_pages.c: Likewise.
14702 * misc/removexattr.c: Likewise.
14703 * misc/revoke.c: Likewise.
14704 * misc/select.c: Likewise.
14705 * misc/setdomain.c: Likewise.
14706 * misc/setegid.c: Likewise.
14707 * misc/seteuid.c: Likewise.
14708 * misc/sethostid.c: Likewise.
14709 * misc/sethostname.c: Likewise.
14710 * misc/setregid.c: Likewise.
14711 * misc/setreuid.c: Likewise.
14712 * misc/setxattr.c: Likewise.
14713 * misc/sstk.c: Likewise.
14714 * misc/stty.c: Likewise.
14715 * misc/swapoff.c: Likewise.
14716 * misc/swapon.c: Likewise.
14717 * misc/sync.c: Likewise.
14718 * misc/syncfs.c: Likewise.
14719 * misc/syscall.c: Likewise.
14720 * misc/truncate.c: Likewise.
14721 * misc/ualarm.c: Likewise.
14722 * misc/usleep.c: Likewise.
14723 * misc/ustat.c: Likewise.
14724 * misc/utimes.c: Likewise.
14725 * misc/vhangup.c: Likewise.
14726 * misc/writev.c: Likewise.
14727 * posix/_exit.c: Likewise.
14728 * posix/alarm.c: Likewise.
14729 * posix/execve.c: Likewise.
14730 * posix/fexecve.c: Likewise.
14731 * posix/fork.c: Likewise.
14732 * posix/fpathconf.c: Likewise.
14733 * posix/getaddrinfo.c: Likewise.
14734 * posix/getegid.c: Likewise.
14735 * posix/geteuid.c: Likewise.
14736 * posix/getgid.c: Likewise.
14737 * posix/getgroups.c: Likewise.
14738 * posix/getlogin.c: Likewise.
14739 * posix/getlogin_r.c: Likewise.
14740 * posix/getpgid.c: Likewise.
14741 * posix/getpid.c: Likewise.
14742 * posix/getppid.c: Likewise.
14743 * posix/getresgid.c: Likewise.
14744 * posix/getresuid.c: Likewise.
14745 * posix/getsid.c: Likewise.
14746 * posix/getuid.c: Likewise.
14747 * posix/glob64.c: Likewise.
14748 * posix/nanosleep.c: Likewise.
14749 * posix/pathconf.c: Likewise.
14750 * posix/pause.c: Likewise.
14751 * posix/posix_madvise.c: Likewise.
14752 * posix/pread.c: Likewise.
14753 * posix/pread64.c: Likewise.
14754 * posix/pwrite.c: Likewise.
14755 * posix/pwrite64.c: Likewise.
14756 * posix/sched_getaffinity.c: Likewise.
14757 * posix/sched_getp.c: Likewise.
14758 * posix/sched_gets.c: Likewise.
14759 * posix/sched_primax.c: Likewise.
14760 * posix/sched_primin.c: Likewise.
14761 * posix/sched_rr_gi.c: Likewise.
14762 * posix/sched_setaffinity.c: Likewise.
14763 * posix/sched_setp.c: Likewise.
14764 * posix/sched_sets.c: Likewise.
14765 * posix/sched_yield.c: Likewise.
14766 * posix/setgid.c: Likewise.
14767 * posix/setlogin.c: Likewise.
14768 * posix/setpgid.c: Likewise.
14769 * posix/setresgid.c: Likewise.
14770 * posix/setresuid.c: Likewise.
14771 * posix/setsid.c: Likewise.
14772 * posix/setuid.c: Likewise.
14773 * posix/sleep.c: Likewise.
14774 * posix/spawni.c: Likewise.
14775 * posix/sysconf.c: Likewise.
14776 * posix/times.c: Likewise.
14777 * posix/wait.c: Likewise.
14778 * posix/wait3.c: Likewise.
14779 * posix/wait4.c: Likewise.
14780 * posix/waitpid.c: Likewise.
14781 * resolv/gai_sigqueue.c: Likewise.
14782 * resource/getpriority.c: Likewise.
14783 * resource/getrlimit.c: Likewise.
14784 * resource/getrusage.c: Likewise.
14785 * resource/nice.c: Likewise.
14786 * resource/setpriority.c: Likewise.
14787 * resource/setrlimit.c: Likewise.
14788 * resource/ulimit.c: Likewise.
14789 * rt/aio_cancel.c: Likewise.
14790 * rt/aio_fsync.c: Likewise.
14791 * rt/aio_read.c: Likewise.
14792 * rt/aio_sigqueue.c: Likewise.
14793 * rt/aio_suspend.c: Likewise.
14794 * rt/aio_write.c: Likewise.
14795 * rt/clock_getres.c: Likewise.
14796 * rt/clock_gettime.c: Likewise.
14797 * rt/clock_nanosleep.c: Likewise.
14798 * rt/clock_settime.c: Likewise.
14799 * rt/lio_listio.c: Likewise.
14800 * rt/mq_close.c: Likewise.
14801 * rt/mq_getattr.c: Likewise.
14802 * rt/mq_notify.c: Likewise.
14803 * rt/mq_open.c: Likewise.
14804 * rt/mq_receive.c: Likewise.
14805 * rt/mq_send.c: Likewise.
14806 * rt/mq_setattr.c: Likewise.
14807 * rt/mq_timedreceive.c: Likewise.
14808 * rt/mq_timedsend.c: Likewise.
14809 * rt/mq_unlink.c: Likewise.
14810 * rt/shm_open.c: Likewise.
14811 * rt/shm_unlink.c: Likewise.
14812 * rt/timer_create.c: Likewise.
14813 * rt/timer_delete.c: Likewise.
14814 * rt/timer_getoverr.c: Likewise.
14815 * rt/timer_gettime.c: Likewise.
14816 * rt/timer_settime.c: Likewise.
14817 * setjmp/__longjmp.c: Likewise.
14818 * setjmp/setjmp.c: Likewise.
14819 * signal/kill.c: Likewise.
14820 * signal/killpg.c: Likewise.
14821 * signal/raise.c: Likewise.
14822 * signal/sigaction.c: Likewise.
14823 * signal/sigaltstack.c: Likewise.
14824 * signal/sigblock.c: Likewise.
14825 * signal/sigignore.c: Likewise.
14826 * signal/sigintr.c: Likewise.
14827 * signal/signal.c: Likewise.
14828 * signal/sigpause.c: Likewise.
14829 * signal/sigpending.c: Likewise.
14830 * signal/sigqueue.c: Likewise.
14831 * signal/sigreturn.c: Likewise.
14832 * signal/sigset.c: Likewise.
14833 * signal/sigsetmask.c: Likewise.
14834 * signal/sigstack.c: Likewise.
14835 * signal/sigsuspend.c: Likewise.
14836 * signal/sigtimedwait.c: Likewise.
14837 * signal/sigvec.c: Likewise.
14838 * signal/sigwait.c: Likewise.
14839 * signal/sigwaitinfo.c: Likewise.
14840 * signal/sysv_signal.c: Likewise.
14841 * socket/accept.c: Likewise.
14842 * socket/accept4.c: Likewise.
14843 * socket/bind.c: Likewise.
14844 * socket/connect.c: Likewise.
14845 * socket/getpeername.c: Likewise.
14846 * socket/getsockname.c: Likewise.
14847 * socket/getsockopt.c: Likewise.
14848 * socket/isfdtype.c: Likewise.
14849 * socket/listen.c: Likewise.
14850 * socket/recv.c: Likewise.
14851 * socket/recvfrom.c: Likewise.
14852 * socket/recvmsg.c: Likewise.
14853 * socket/send.c: Likewise.
14854 * socket/sendmsg.c: Likewise.
14855 * socket/sendto.c: Likewise.
14856 * socket/setsockopt.c: Likewise.
14857 * socket/shutdown.c: Likewise.
14858 * socket/sockatmark.c: Likewise.
14859 * socket/socket.c: Likewise.
14860 * socket/socketpair.c: Likewise.
14861 * stdio-common/ctermid.c: Likewise.
14862 * stdio-common/cuserid.c: Likewise.
14863 * stdio-common/remove.c: Likewise.
14864 * stdio-common/rename.c: Likewise.
14865 * stdio-common/renameat.c: Likewise.
14866 * stdio-common/tempname.c: Likewise.
14867 * stdlib/getcontext.c: Likewise.
14868 * stdlib/makecontext.c: Likewise.
14869 * stdlib/setcontext.c: Likewise.
14870 * stdlib/swapcontext.c: Likewise.
14871 * stdlib/system.c: Likewise.
14872 * streams/fattach.c: Likewise.
14873 * streams/fdetach.c: Likewise.
14874 * streams/getmsg.c: Likewise.
14875 * streams/getpmsg.c: Likewise.
14876 * streams/putmsg.c: Likewise.
14877 * streams/putpmsg.c: Likewise.
14878 * sysdeps/unix/bsd/getpt.c: Likewise.
14879 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14880 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14881 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14883 Likewise.
14884 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14885 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14886 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14887 * sysvipc/msgctl.c: Likewise.
14888 * sysvipc/msgget.c: Likewise.
14889 * sysvipc/msgrcv.c: Likewise.
14890 * sysvipc/msgsnd.c: Likewise.
14891 * sysvipc/semctl.c: Likewise.
14892 * sysvipc/semget.c: Likewise.
14893 * sysvipc/semop.c: Likewise.
14894 * sysvipc/semtimedop.c: Likewise.
14895 * sysvipc/shmat.c: Likewise.
14896 * sysvipc/shmctl.c: Likewise.
14897 * sysvipc/shmdt.c: Likewise.
14898 * sysvipc/shmget.c: Likewise.
14899 * termios/tcdrain.c: Likewise.
14900 * termios/tcflow.c: Likewise.
14901 * termios/tcflush.c: Likewise.
14902 * termios/tcgetattr.c: Likewise.
14903 * termios/tcgetpgrp.c: Likewise.
14904 * termios/tcsendbrk.c: Likewise.
14905 * termios/tcsetattr.c: Likewise.
14906 * termios/tcsetpgrp.c: Likewise.
14907 * time/adjtime.c: Likewise.
14908 * time/clock.c: Likewise.
14909 * time/getitimer.c: Likewise.
14910 * time/gettimeofday.c: Likewise.
14911 * time/setitimer.c: Likewise.
14912 * time/settimeofday.c: Likewise.
14913 * time/stime.c: Likewise.
14914 * time/time.c: Likewise.
14915
149162012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14917
a20492cf
PT
14918 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14919 /usr/old/bin.
14920
72e182e3
PT
14921 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14922 instead of spaces.
14923 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14924
fbeafede
JM
149252012-11-03 Joseph Myers <joseph@codesourcery.com>
14926
5b5b04d6
JM
14927 [BZ #14796]
14928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14929 FE_TONEAREST before applying Dekker multiplication and Knuth
14930 addition. Clear inexact exceptions and check for exact zero
14931 results afterwards.
14932 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14933 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14934 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14935 * math/libm-test.inc (fma_test): Add more tests.
14936 (fma_test_towardzero): Likewise.
14937 (fma_test_downward): Likewise.
14938 (fma_test_upward): Likewise.
14939 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14940 function.
14941 (libc_fesetround): New macro.
14942 (libc_fesetroundf): Likewise.
14943 (libc_fesetroundl): Likewise.
14944 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14945 function.
14946 (libc_fesetround_387): Likewise.
14947 (libc_fesetroundf): New macro.
14948 (libc_fesetround): Likewise.
14949 (libc_fesetroundl): Likewise.
14950 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14951 function.
14952 (libc_fesetroundf): New macro.
14953 (libc_fesetround): Likewise.
14954 (libc_fesetroundl): Likewise.
14955 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14956 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14957 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14958 libm_hidden_ver.
14959 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14960 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14961 libm_hidden_def.
14962 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14963 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14964 libm_hidden_ver.
14965 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14966 libm_hidden_def.
14967
fbeafede
JM
14968 [BZ #3439]
14969 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14970 integer constant usable in #if and use that to give value to enum
14971 constant.
14972 (FE_DIVBYZERO): Likewise.
14973 (FE_UNDERFLOW): Likewise.
14974 (FE_OVERFLOW): Likewise.
14975 (FE_INVALID): Likewise.
14976 (FE_INVALID_SNAN): Likewise.
14977 (FE_INVALID_ISI): Likewise.
14978 (FE_INVALID_IDI): Likewise.
14979 (FE_INVALID_ZDZ): Likewise.
14980 (FE_INVALID_IMZ): Likewise.
14981 (FE_INVALID_COMPARE): Likewise.
14982 (FE_INVALID_SOFTWARE): Likewise.
14983 (FE_INVALID_SQRT): Likewise.
14984 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14985 (FE_TONEAREST): Likewise.
14986 (FE_TOWARDZERO): Likewise.
14987 (FE_UPWARD): Likewise.
14988 (FE_DOWNWARD): Likewise.
14989 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14990 (FE_DIVBYZERO): Likewise.
14991 (FE_OVERFLOW): Likewise.
14992 (FE_UNDERFLOW): Likewise.
14993 (FE_INEXACT): Likewise.
14994 (FE_TONEAREST): Likewise.
14995 (FE_DOWNWARD): Likewise.
14996 (FE_UPWARD): Likewise.
14997 (FE_TOWARDZERO): Likewise.
14998 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14999 (FE_UNDERFLOW): Likewise.
15000 (FE_OVERFLOW): Likewise.
15001 (FE_DIVBYZERO): Likewise.
15002 (FE_INVALID): Likewise.
15003 (FE_TONEAREST): Likewise.
15004 (FE_TOWARDZERO): Likewise.
15005 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15006 (FE_OVERFLOW): Likewise.
15007 (FE_UNDERFLOW): Likewise.
15008 (FE_DIVBYZERO): Likewise.
15009 (FE_INEXACT): Likewise.
15010 (FE_TONEAREST): Likewise.
15011 (FE_TOWARDZERO): Likewise.
15012 (FE_UPWARD): Likewise.
15013 (FE_DOWNWARD): Likewise.
15014 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15015 (FE_DIVBYZERO): Likewise.
15016 (FE_OVERFLOW): Likewise.
15017 (FE_UNDERFLOW): Likewise.
15018 (FE_INEXACT): Likewise.
15019 (FE_TONEAREST): Likewise.
15020 (FE_DOWNWARD): Likewise.
15021 (FE_UPWARD): Likewise.
15022 (FE_TOWARDZERO): Likewise.
15023
105ca950
CM
150242012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15025
15026 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15027
a542b389
AS
150282012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15029
15030 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15031 commands. Quote $PWD.
15032 (blacklist_exports): Don't use remove_newlines. Replace "declare
15033 -x" by "export".
15034 (remove_newlines): Remove.
15035
f62c8abc
L
150362012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15037
15038 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15039 * stdlib/stdlib.h (atof): Moved to ...
15040 * include/bits/stdlib-float.h: Here. New file.
15041 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15042 * stdlib/bits/stdlib-float.h: New file.
15043 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15044 -mno-sse -mno-mmx.
15045 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15046 <xmmintrin.h>.
15047
0155d5b2
JM
150482012-11-02 Joseph Myers <joseph@codesourcery.com>
15049
a68d0680
JM
15050 * conform/conformtest.pl (@headers): Add fenv.h.
15051 * conform/data/fenv.h-data: New file.
15052 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15053 include of <math/fenv.h>.
15054
caf7f573
JM
15055 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15056 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15057 && !UNIX98]. Enables tests for XOPEN2K8.
15058 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15059 POSIX2008]: Likewise.
15060
6c073ad6
JM
15061 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15062 (struct rusage): Do not expect type or its members.
15063
0155d5b2
JM
15064 [BZ #3439]
15065 * math/math.h (FP_NAN): Define macro to integer constant usable in
15066 #if and use that to give value to enum constant.
15067 (FP_INFINITE): Likewise.
15068 (FP_ZERO): Likewise.
15069 (FP_SUBNORMAL): Likewise.
15070 (FP_NORMAL): Likewise.
15071
b5dcacb4
AS
150722012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15073
15074 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15075 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15076 arguments.
15077
f7934be8
RM
150782012-11-02 Roland McGrath <roland@hack.frob.com>
15079
15080 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15081 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15082 autoconf-time if not.
15083 * configure.in: Remove AC_PREREQ.
15084
d7d08bde
TMQMF
150852012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15086
15087 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15088 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15089 of the internal implementation.
15090
dcdae19a
JM
150912012-11-02 Joseph Myers <joseph@codesourcery.com>
15092
15093 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15094 except include of <misc/sys/syslog.h>.
15095
d6cffd3e
AS
150962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15097
15098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15099 function returns with a NULL context exit with zero.
15100
b3563932
TMQMF
151012012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15102
15103 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15104
b288a93d
L
151052012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15106
15107 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15108 (run_program_cmd): This.
15109 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15110 (tst_langinfo): New variable. Use it.
15111
a2421a68
SAS
151122012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15113
15114 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15115 floating point opcodes.
15116
6f796e1b
TS
151172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15118
7402596b
TS
15119 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15120 variable.
15121
d0d4f868
TS
15122 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15123
6f796e1b
TS
15124 * sysdeps/mach/hurd/powerpc: Remove directory.
15125 * sysdeps/mach/powerpc: Likewise.
15126
4da224a2
AS
151272012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15128
15129 * scripts/check-local-headers.sh: Ignore c++ headers.
15130
341dd673
TS
151312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15132
15133 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15134 __libc_cleanup_region_start argument.
15135
473611b2
JM
151362012-11-01 Joseph Myers <joseph@codesourcery.com>
15137
15138 [BZ #14784]
15139 [BZ #14785]
15140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15141 x * y using scaling, not as x * y + z.
15142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15143 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15144 * math/libm-test.inc (fma_test): Add more tests.
15145 (fma_test_towardzero): Likewise.
15146 (fma_test_downward): Likewise.
15147 (fma_test_upward): Likewise.
15148
4078da3d
TS
151492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15150
15151 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15152
903252aa
JM
151532012-10-31 Joseph Myers <joseph@codesourcery.com>
15154
15155 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15156 New variable.
15157
cbc818d0
TS
151582012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15159
15160 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15161
5a03cb1e
AS
151622012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15163
15164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15165 Fix sort order.
15166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15167 Likewise.
15168
90aff2ff
TMQMF
151692012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15170
15171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15172 Fix the order of the list for glibc 2.17.
15173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15174 Likewise.
15175
1818fcb7
AS
151762012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15177
15178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15179
ef82f4da
JM
151802012-10-31 Joseph Myers <joseph@codesourcery.com>
15181
16a0e2ec
JM
15182 [BZ #14610]
15183 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15184 for low part of x being zero before using __atanl (y).
15185 * math/libm-test.inc (atan2_test): Add another test.
15186
0eb69512
JM
15187 * manual/install.texi (Configuring and compiling): Document
15188 general use of test-wrapper and test-wrapper-env.
15189 * INSTALL: Regenerated.
15190
ef82f4da
JM
15191 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15192 (__fma): Do not extract and scale down low bits on after-rounding
15193 systems when result rounded to normal precision would have normal
15194 exponent.
15195 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15196 (__fmal): Do not extract and scale down low bits on after-rounding
15197 systems when result rounded to normal precision would have normal
15198 exponent.
15199 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15200 (__fmal): Do not extract and scale down low bits on after-rounding
15201 systems when result rounded to normal precision would have normal
15202 exponent.
15203 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15204 macro.
15205 (fma_test): Add more tests.
15206 (fma_test_towardzero): Likewise.
15207 (fma_test_downward): Likewise.
15208 (fma_test_upward): Likewise.
15209
954ef0d9
L
152102012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15211
15212 * sysdeps/i386/tininess.h: Renamed to ...
15213 * sysdeps/x86/tininess.h: This.
15214 * sysdeps/x86_64/tininess.h: Removed.
15215
df61ffb2
JM
152162012-10-30 Joseph Myers <joseph@codesourcery.com>
15217
15218 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15219 input. Use $(build-program-cmd).
15220 ($(objpfx)tst-array1-static.out): Likewise.
15221 ($(objpfx)tst-array2.out): Likewise.
15222 ($(objpfx)tst-array3.out): Likewise.
15223 ($(objpfx)tst-array4.out): Likewise.
15224 ($(objpfx)tst-array5.out): Likewise.
15225 ($(objpfx)tst-array5-static.out): Likewise.
15226
01767843
CM
152272012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15228
47cc1490
CM
15229 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15230 if defined.
15231
01767843
CM
15232 * nss/nsswitch.h (nss_interface_function): Provide new
15233 macro for use with NSS functions.
15234 * grp/initgroups.c: Use new macro.
15235 * nss/getXXbyYY.c: Likewise.
15236 * nss/getXXbyYY_r.c: Likewise.
15237 * nss/getXXent.c: Likewise.
15238 * nss/getXXent_r.c: Likewise.
15239 * sysdeps/posix/getaddrinfo.c: Likewise.
15240
8321aa97
AJ
152412012-10-30 Andreas Jaeger <aj@suse.de>
15242
15243 * po/ru.po: Update Russion translation from translation project.
15244
2a27fd6d
JM
152452012-10-30 Joseph Myers <joseph@codesourcery.com>
15246
8627a232
JM
15247 [BZ #14152]
15248 [BZ #14783]
15249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15250 result and shift together with sticky bit instead of replicating
15251 round-to-nearest rounding.
15252 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15253 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15254 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15255 missing underflow exceptions.
15256 (fma_test_towardzero): Add more tests.
15257 (fma_test_downward): Likewise.
15258 (fma_test_upward): Likewise.
15259
2a27fd6d
JM
15260 [BZ #14047]
15261 * sysdeps/generic/tininess.h: New file.
15262 * sysdeps/i386/tininess.h: Likewise.
15263 * sysdeps/sh/tininess.h: Likewise.
15264 * sysdeps/x86_64/tininess.h: Likewise.
15265 * stdlib/tst-strtod-underflow.c: Likewise.
15266 * stdlib/tst-tininess.c: Likewise.
15267 * stdlib/strtod_l.c: Include <tininess.h>.
15268 (round_and_return): Do not set errno for exact underflow cases.
15269 Force an underflow exception when setting errno for underflow.
15270 Determine underflow based on rounding to normal precision if
15271 TININESS_AFTER_ROUNDING.
15272 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15273 ERANGE for exact underflow cases.
15274 * stdlib/Makefile (tests): Add tst-tininess and
15275 tst-strtod-underflow.
15276 ($(objpfx)tst-tininess): Use $(link-libm).
15277 ($(objpfx)tst-strtod-underflow): Likewise.
15278
e7170363
AJ
152792012-10-30 Andreas Jaeger <aj@suse.de>
15280
e5088dc6
AJ
15281 [BZ#14767]
15282 * elf/Makefile (tests): Remove conditional for have-initfini-array
15283 since this is now always required and the variable does not exist
15284 anymore.
15285 (tests-static): Likewise.
15286 (modules-names): Likewise.
15287
e7170363 15288 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15289
15290 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15291 merged with constructor/destructor.
15292 (init_array): Likewise.
15293 * elf/tst-array2dep.c (fini_array): Likewise.
15294 (init_array): Likewise.
15295
60457d8a
MF
152962012-10-29 Mike Frysinger <vapier@gentoo.org>
15297
15298 * manual/message.texi: Delete @cartouche tags.
15299
8bece752
PT
153002012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15301
94ce799f
PT
15302 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15303 EOPNOTSUPP.
15304 * sysdeps/mach/hurd/fsync.c: Likewise.
15305
8bece752
PT
15306 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15307 [_POSIX_REALTIME_SIGNALS]: Change condition to
15308 [_POSIX_REALTIME_SIGNALS > 0].
15309
86ebe6b1
AJ
153102012-10-27 Andreas Jaeger <aj@suse.de>
15311
15312 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15313 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15315 [__WORDSIZE != 64]: Likewise.
15316
54399c08
L
153172012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15318
15319 * iconvdata/tst-table.sh: Remove ${SHELL}.
15320 * iconvdata/tst-tables.sh: Likewise.
15321
e2211bed
DM
153222012-10-25 David S. Miller <davem@davemloft.net>
15323
15324 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15325 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15326 of strtoull.
15327
f303f97c
DM
15328 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15329 ifunc-impl-list.c
15330 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15331 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15332 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15333 file.
15334
1e9d84cd
RM
153352012-10-25 Roland McGrath <roland@hack.frob.com>
15336
15337 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15338 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15339 __getdirentries.
15340
df381762
JM
153412012-10-25 Joseph Myers <joseph@codesourcery.com>
15342 Jim Blandy <jimb@codesourcery.com>
15343
15344 * scripts/cross-test-ssh.sh: New file.
15345 * manual/install.texi (Configuring and compiling): Document use of
15346 cross-test-ssh.sh.
15347 * INSTALL: Regenerated.
15348
bff64913
PT
153492012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15350
15351 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15352 EOPNOTSUPP.
15353
25fe8932
JM
153542012-10-25 Joseph Myers <joseph@codesourcery.com>
15355
15356 * Makeconfig (run-program-prefix): Fix comment.
15357
cc1290d0
JM
153582012-10-24 Joseph Myers <joseph@codesourcery.com>
15359 Jim Blandy <jimb@codesourcery.com>
15360
15361 * Makeconfig (test-wrapper): New variable,
15362 (test-wrapper-env): Likewise.
15363 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15364 (run-built-tests): Define to yes.
15365 (run-program-prefix): Use $(test-wrapper).
15366 (built-program-cmd): Likewise.
15367 * Rules (make-test-out): Use $(test-wrapper-env) and
15368 $(host-built-program-cmd).
15369 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15370 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15371 tst-pathopt.sh.
15372 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15373 $(test-wrapper-env) to tst-rtld-load-self.sh.
15374 ($(objpfx)order2.out): Use $(test-wrapper).
15375 ($(objpfx)tst-initorder.out): Likewise.
15376 ($(objpfx)tst-initorder2.out): Likewise.
15377 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15378 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15379 (test_wrapper_env): New variable. Use it to run ld.so.
15380 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15381 Use it to run ld.so.
15382 (test_wrapper_env): Likewise.
15383 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15384 $(test-wrapper) to run-iconv-test.sh.
15385 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15386 (ICONV): Use $test_wrapper.
15387 * posix/Makefile ($(objpfx)globtest.out): Pass
15388 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15389 globtest.sh, not $(run-program-prefix).
15390 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15391 (test_wrapper): Likewise.
15392 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15393 set together with run_via_rtld_prefix.
15394 (run_program_prefix): Define in terms of test_wrapper and
15395 run_via_rtld_prefix.
15396
6e6249d0
RM
153972012-10-24 Roland McGrath <roland@hack.frob.com>
15398
15399 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15400 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15401 Targets removed.
15402
15403 [BZ #14743]
15404 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15405 Declare __clock_getres, __clock_gettime, __clock_settime,
15406 __clock_nanosleep, and __clock_getcpuclockid.
15407 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15408 Remove librt_hidden_def (clock_gettime).
15409 * sysdeps/unix/clock_gettime.c: Likewise.
15410 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15411 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15412 * rt/clock_getres.c: Define __clock_getres as an alias.
15413 * sysdeps/posix/clock_getres.c: Likewise.
15414 * rt/clock_settime.c: Define __clock_settime as an alias.
15415 * sysdeps/unix/clock_settime.c: Likewise.
15416 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15417 * sysdeps/unix/clock_nanosleep.c: Likewise.
15418 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15419 * rt/clock-compat.c: New file.
15420 * rt/Makefile (librt-routines): Add clock-compat and move
15421 $(clock-routines) to ...
15422 (routines): ... here, new variable.
15423 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15424 Don't add get_clockfreq here.
15425 * rt/Versions (libc: GLIBC_2.17): New version set.
15426 Add clock_* symbols here.
15427 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15428 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15429 (GLIBC_2.17): Add clock_* symbols.
15430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15432 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15434 Likewise.
15435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15436 Likewise.
15437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15441 * NEWS: Mention the move.
15442
15443 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15444 Use __open, __read, __close rather than their public counterparts.
15445 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15446 (__get_clockfreq_via_cpuinfo): Likewise.
15447 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15448 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15449
15450 * config.h.in (HAVE_IFUNC): New #undef.
15451 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15452 was successful.
15453 * configure: Regenerated.
15454
0cae3f4b
MF
154552012-10-24 Mike Frysinger <vapier@gentoo.org>
15456
15457 * configure.in: Move READELF check to start of file.
15458 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15459 libc_cv_asm_gnu_indirect_function in the process.
15460 * configure: Regenerated.
15461
8175a253
MF
154622012-10-24 Mike Frysinger <vapier@gentoo.org>
15463
15464 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15465 send the output to /dev/null.
15466 (libc_cv_cc_with_libunwind): Likewise.
15467 (libc_cv_as_noexecstack): Likewise.
15468 * configure: Regenerate.
15469
0708a7d1
JM
154702012-10-24 Joseph Myers <joseph@codesourcery.com>
15471
10b40d85
JM
15472 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15473
0708a7d1
JM
15474 * posix/globtest.sh (TMPDIR): Do not set.
15475 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15476 (testout): Likewise.
15477
9fddec1a
AJ
154782012-10-24 Andreas Jaeger <aj@suse.de>
15479
3a8db22f
AJ
15480 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15481 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15482 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15483 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15484 posix_fadvise64, posix_fallocate64.
15485
9fddec1a
AJ
15486 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15487 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15488 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15489 Likewise.
15490 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15491 Likewise.
15492 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15493
15494 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15495 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15496 <bits/fcntl-linux.h>.
15497 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15498
15499 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15500 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15501 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15502 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15503 [__WORDSIZE != 64]: Likewise.
15504
ebfd1bbd
JM
155052012-10-23 Joseph Myers <joseph@codesourcery.com>
15506
03ac099f
JM
15507 * Makeconfig (run-built-tests): New variable.
15508 * Rules [$(cross-compiling) = yes]: Change condition to
15509 [$(run-built-tests) = no].
15510 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15511 to [$(run-built-tests) = yes].
15512 * elf/Makefile [$(cross-compiling) = no]: Likewise
15513 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15514 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15515 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15516 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15517 * io/Makefile [$(cross-compiling) = no]: Likewise.
15518 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15519 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15520 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15521 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15522 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15523 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15524 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15525 * string/Makefile [$(cross-compiling) = no]: Likewise.
15526
ebfd1bbd
JM
15527 * posix/Makefile ($(objpfx)globtest.out): Pass
15528 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15529 $(rtld-installed-name).
15530 * posix/globtest.sh (elf_objpfx): Remove variable.
15531 (rtld_installed_name): Likewise.
15532 (library_path): Likewise.
15533 (run_program_prefix): New variable. Use for running globtest
15534 binary.
15535
166bca24
JB
155362012-10-23 Jim Blandy <jimb@codesourcery.com>
15537 Joseph Myers <joseph@codesourcery.com>
15538
15539 * Makeconfig (host-built-program-cmd): New variable.
15540 * elf/Makefile (tst-stackguard1-ARGS): Use
15541 $(host-built-program-cmd).
15542 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15543 (tst-spawn-ARGS): Likewise.
15544 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15545
88866099
JM
155462012-10-23 Joseph Myers <joseph@codesourcery.com>
15547 Jim Blandy <jimb@codesourcery.com>
15548
15549 * Makeconfig (run-via-rtld-prefix): New variable.
15550 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15551 (built-program-cmd): Likewise.
15552
b4b4c296
AJ
155532012-10-22 Andreas Jaeger <aj@suse.de>
15554
15555 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15556 __O_RSYNC if it exists, otherwise to O_SYNC.
15557
6fb54a22
JB
155582012-10-22 Jim Blandy <jimb@codesourcery.com>
15559 Joseph Myers <joseph@codesourcery.com>
15560
15561 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15562 /dev/null.
15563 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15564 from /dev/null
15565 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15566 /dev/null.
15567
481b90b9
AJ
155682012-10-22 Andreas Jaeger <aj@suse.de>
15569
2a0e2669
AJ
15570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15571 Define always.
15572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15573
76e38f9a
AJ
15574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15575 bits/fcntl-linux.h.
15576
7cd37b43
AJ
15577 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15578 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15579
481b90b9
AJ
15580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15581 to __O_LARGEFILE.
15582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15583 to __O_LARGEFILE.
15584
aba75984
JB
155852012-10-21 Jim Blandy <jimb@codesourcery.com>
15586 Joseph Myers <joseph@codesourcery.com>
15587
15588 * config.make.in (NM): New variable.
15589
88d4247f
AJ
155902012-10-21 Andreas Jaeger <aj@suse.de>
15591
15592 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15593 definitions and declarations that are provided by
15594 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15595
f2eed205
L
155962012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15597
15598 [BZ #14683]
15599 * elf/Makefile (tests-static): Add tst-leaks1-static.
15600 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15601 ($(objpfx)tst-leaks1-static): New rule.
15602 ($(objpfx)tst-leaks1-static-mem): Likewise.
15603 (tst-leaks1-static-ENV): New macro.
15604 * elf/dl-open.c (dl_open_worker): Check the main application
15605 only if SHARED is defined.
15606 * elf/tst-leaks1-static.c: New file.
15607
335e6931
AJ
156082012-10-20 Andreas Jaeger <aj@suse.de>
15609
15610 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15611 generic values for Linux.
15612 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15613 and declarations that are provided by <bits/fcntl-linux.h> and
15614 include <bits/fcntl-linux.h>.
15615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15616 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15617
ac5c94d3
RM
156182012-10-20 Roland McGrath <roland@hack.frob.com>
15619
15620 * io/fcntl.h: Move include of <bits/types.h> to the top and
15621 include it unconditionally.
15622
de54b33a
L
156232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15624
228cfb01
L
15625 * wcsmbs/Makefile (tests-ifunc): New variable.
15626 (tests): Add $(tests-ifunc).
15627 * wcsmbs/test-wcschr-ifunc.c: New file.
15628 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15629 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15630 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15631 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15632 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15633
69f07e5f
L
15634 * string/Makefile (tests-ifunc): New variable.
15635 (tests): Add $(tests-ifunc).
15636 * string/test-memccpy.c (TEST_NAME): New macro.
15637 * string/test-memchr.c (TEST_NAME): Likewise.
15638 * string/test-memcmp.c (TEST_NAME): Likewise.
15639 * string/test-memcpy.c (TEST_NAME): Likewise.
15640 * string/test-memmem.c (TEST_NAME): Likewise.
15641 * string/test-memmove.c (TEST_NAME): Likewise.
15642 * string/test-memset.c (TEST_NAME): Likewise.
15643 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15644 * string/test-stpcpy.c (TEST_NAME): Likewise.
15645 * string/test-stpncpy.c (TEST_NAME): Likewise.
15646 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15647 * string/test-strcasestr.c (TEST_NAME): Likewise.
15648 * string/test-strcat.c (TEST_NAME): Likewise.
15649 * string/test-strchr.c (TEST_NAME): Likewise.
15650 * string/test-strcmp.c(TEST_NAME): Likewise.
15651 * string/test-strcpy.c (TEST_NAME): Likewise.
15652 * string/test-strcspn.c (TEST_NAME): Likewise.
15653 * string/test-strlen.c (TEST_NAME): Likewise.
15654 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15655 * string/test-strncmp.c (TEST_NAME): Likewise.
15656 * string/test-strncpy.c (TEST_NAME): Likewise.
15657 * string/test-strnlen.c (TEST_NAME): Likewise.
15658 * string/test-strpbrk.c (TEST_NAME): Likewise.
15659 * string/test-strrchr.c (TEST_NAME): Likewise.
15660 * string/test-strspn.c (TEST_NAME): Likewise.
15661 * string/test-strstr.c (TEST_NAME): Likewise.
15662 * string/test-bcopy-ifunc.c: New file.
15663 * string/test-bzero-ifunc.c: Likewise.
15664 * string/test-memccpy-ifunc.c: Likewise.
15665 * string/test-memchr-ifunc.c: Likewise.
15666 * string/test-memcmp-ifunc.c: Likewise.
15667 * string/test-memcpy-ifunc.c: Likewise.
15668 * string/test-memmem-ifunc.c: Likewise.
15669 * string/test-memmove-ifunc.c: Likewise.
15670 * string/test-mempcpy-ifunc.c: Likewise.
15671 * string/test-memset-ifunc.c: Likewise.
15672 * string/test-rawmemchr-ifunc.c: Likewise.
15673 * string/test-stpcpy-ifunc.c: Likewise.
15674 * string/test-stpncpy-ifunc.c: Likewise.
15675 * string/test-strcasecmp-ifunc.c: Likewise.
15676 * string/test-strcasestr-ifunc.c: Likewise.
15677 * string/test-strcat-ifunc.c: Likewise.
15678 * string/test-strchr-ifunc.c: Likewise.
15679 * string/test-strchrnul-ifunc.c: Likewise.
15680 * string/test-strcmp-ifunc.c: Likewise.
15681 * string/test-strcpy-ifunc.c: Likewise.
15682 * string/test-strcspn-ifunc.c: Likewise.
15683 * string/test-strlen-ifunc.c: Likewise.
15684 * string/test-strncasecmp-ifunc.c: Likewise.
15685 * string/test-strncat-ifunc.c: Likewise.
15686 * string/test-strncmp-ifunc.c: Likewise.
15687 * string/test-strncpy-ifunc.c: Likewise.
15688 * string/test-strnlen-ifunc.c: Likewise.
15689 * string/test-strpbrk-ifunc.c: Likewise.
15690 * string/test-strrchr-ifunc.c: Likewise.
15691 * string/test-strspn-ifunc.c: Likewise.
15692 * string/test-strstr-ifunc.c: Likewise.
15693
de54b33a
L
15694 * debug/Makefile (tests-ifunc): New variable.
15695 (tests): Add $(tests-ifunc).
15696 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15697 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15698 * debug/test-stpcpy_chk-ifunc.c: New file.
15699 * debug/test-strcpy_chk-ifunc.c: Likewise.
15700
88481c16
SP
157012012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15702
15703 [BZ #13601]
15704 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15705 header is not read in.
15706
135948bd
JM
157072012-10-19 Joseph Myers <joseph@codesourcery.com>
15708
89f1c388
JM
15709 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15710 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15711 directly. Pass built executable to script as
15712 $(built-program-cmd).
15713 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15714 $testprogram without using LD_LIBRARY_PATH and $ldso.
15715
e40a0d21
JM
15716 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15717 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15718 $(rtld-installed-name).
15719 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15720 (rtld_installed_name): Likewise.
15721 (library_path): Likewise.
15722 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15723 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15724 $(run-program-prefix) to tst-tables.sh.
15725 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15726 it to run tst-table-from and tst-table-to.
15727 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15728 Pass it to tst-table.sh.
15729 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15730 $(run-program-prefix) to tst-gettext.sh.
15731 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15732 tst-translit.sh.
15733 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15734 tst-gettext2.sh.
15735 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15736 to run tst-gettext.
15737 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15738 to run tst-gettext2.
15739 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15740 to run tst-translit.
15741 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15742 $(run-program-prefix) to tst-mtrace.sh.
15743 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15744 to run tst-mtrace.
15745 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15746 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15747 $(rtld-installed-name).
15748 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15749 (rtld_installed_name): Likewise.
15750 (run_program_prefix): New variable. Use it to run wordexp-test.
15751
728e272a
JM
15752 * Makeconfig (ARCH): Remove all definitions.
15753 (machine): Likewise.
15754 [ARCH]: Remove conditional code.
15755 [!objdir]: Give error.
15756 [!objdir] (objpfx): Remove.
15757 [!objdir] (common-objpfx): Likewise.
15758 [!objdir] (common-objdir): Likewise.
15759 * configure.in (config_makefile): Remove. Hardcode Makefile in
15760 AC_CONFIG_FILES call.
15761 * configure: Regenerated.
15762
d528cdcf
JM
15763 [BZ #13888]
15764 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15765 or TMPDIR.
15766 (testout): Likewise.
15767
135948bd
JM
15768 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15769 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15770 $(rtld-installed-name).
15771 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15772 (rtld_installed_name): Likwise.
15773 (runit): Remove function.
15774 (run_getconf): New variable, Use it for running getconf binary.
15775
38c78296
L
157762012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15777
15778 [BZ #14716]
15779 * string/test-memmem.c (check_result): New function.
15780 (do_one_test): Use it.
15781 (check1): New function.
15782 (test_main): Use it.
15783
d077f65f
MT
157842012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15785
15786 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15787
ced52c71
JM
157882012-10-18 Joseph Myers <joseph@codesourcery.com>
15789
15790 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15791 (_G_LSEEK64): Likewise.
15792 (_G_MMAP64): Likewise.
15793 (_G_FSTAT64): Likewise.
15794 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15795 (_G_LSEEK64): Likewise.
15796 (_G_MMAP64): Likewise.
15797 (_G_FSTAT64): Likewise.
15798 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15799 unconditional. Call __mmap64 directly.
15800 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15801 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15802 __lseek64 directly.
15803 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15804 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15805 __mmap64 directly.
15806 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15807 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15808 __lseek64 directly.
15809 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15810 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15811 __lseek64 directly.
15812 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15813 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15814 __lseek64 directly.
15815 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15816 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15817 __fxstat64 directly.
15818 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15819 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15820 unconditional.
15821 (freopen64) [!_G_OPEN64]: Remove conditional code.
15822 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15823 unconditional.
15824 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15825 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15826 unconditional.
15827 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15828 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15829 unconditional.
15830 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15831 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15832 unconditional.
15833 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15834 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15835 unconditional.
15836 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15837 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15838 unconditional.
15839 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15840 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15841 unconditional.
15842 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15843
b741de23
SP
158442012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15845
15846 [BZ #12140]
15847 * manual/memory.texi (Malloc Tunable Parameters): Add note
15848 about free list pointers overwriting some perturb bytes.
15849 Wording suggested by Roland McGrath.
15850
f9b9d9c9
JM
158512012-10-17 Joseph Myers <joseph@codesourcery.com>
15852
15853 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15854 (lgamma_test): Likewise.
15855 (tgamma_test): Likewise.
15856
172a631a
FW
158572012-10-16 Florian Weimer <fweimer@redhat.com>
15858
15859 [BZ #14700]
15860 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15861 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15862
e9f37252
MK
158632012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15864
15865 * NEWS: Mention BZ #14716.
15866 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15867 when removing AVAILABLE1_USES_J macro.
15868
d394eb74
L
158692012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15870
15871 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15872 (__bswap_64): __uint64_t for unsigned 64-bit int.
15873
ca38dc17
AS
158742012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15875
15876 * include/string.h (memmem): Declare libc hidden alias.
15877 * string/memmem.c (memmem): Define libc hidden alias.
15878 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15879 __read, __close instead of open, read, close.
15880
9a387d1f
L
158812012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15882
ac49ecaf
L
15883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15884 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15885 global and hidden.
15886 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15887 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15888 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15889 Likewise.
15890 (__rawmemchr_sse2): Likewise.
15891 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15892 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15893 (__strchr_sse2): Likewise.
15894 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15895 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15896 (__strcasecmp_sse2): Likewise.
15897 (__strncasecmp_sse2): Likewise.
15898 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15899 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15900 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15901 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15902 (__strrchr_sse2): Likewise.
15903 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15904 ifunc-impl-list.c.
15905 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15906 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15907 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15908 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15909 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15910 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15911 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15912 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15913 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15914 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15915 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15916 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15917 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15918 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15919 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15920 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15921 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15922 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15923 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15924 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15925 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15926 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15927 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15928 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15929 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15930 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15931 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15932 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15933 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15934 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15935
b090e8ea
L
15936 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15937 global and hidden.
15938 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15939 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15940 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15941 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15942 Likewise.
15943 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15944 Likewise.
15945 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15946 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15947 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15948 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15949 ifunc-impl-list.c.
15950 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15951 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15952 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15953 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15954 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15955 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15956 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15957 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15958 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15959 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15960 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15961 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15962 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15963 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15964 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15966 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15967 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15968 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15969 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15970 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15971 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15972 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15973 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15974 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15975 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15976 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15977 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15978 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15979 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15980 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15981 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15982 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15983 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15984 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15985 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15986 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15987 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15988 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15989 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15990 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15991
11dd4af6
L
15992 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15993 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15994 * include/ifunc-impl-list.h: New file.
15995 * misc/ifunc-impl-list.c: Likewise.
15996 * misc/Makefile (routines): Add ifunc-impl-list.
15997 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15998 * string/test-string.h: Include <ifunc-impl-list.h>.
15999 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16000 impl_array): New variables.
16001 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16002 are defined.
16003 (test_init): Call __libc_ifunc_impl_list to initialize
16004 func_list if TEST_IFUNC and TEST_NAME are defined.
16005
9a387d1f
L
16006 * string/Makefile (strop-tests): Add bcopy and bzero.
16007 * string/test-bcopy.c: New file.
16008 * string/test-bzero.c: Likewise.
16009 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16010 defined.
16011 * string/test-memset.c: Support bzero test if TEST_BZERO is
16012 defined.
16013 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16014 __libc_memmove.
16015 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16016 __libc_memset.
16017 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16018 of memset.
16019
472371b9
JM
160202012-10-10 Joseph Myers <joseph@codesourcery.com>
16021
1e4a9536
JM
16022 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16023 * configure: Regenerated.
16024
d173d12e
JM
16025 * Makeconfig (+link-static-before-libc): Don't include
16026 $(link-static-libc).
16027
472371b9
JM
16028 * libio/libio.h (_IO_pos_t): Remove.
16029
89a3ad0b
AO
160302012-10-10 Alexandre Oliva <aoliva@redhat.com>
16031
16032 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16033 McGrath.
16034
e7451425
AO
160352012-10-10 Alexandre Oliva <aoliva@redhat.com>
16036
16037 * crypt/crypt-entry.c: Include fips-private.h.
16038 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16039 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16040 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16041 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16042
4ba74a35
AO
160432012-10-10 Alexandre Oliva <aoliva@redhat.com>
16044
16045 * crypt/crypt-private.h: Include stdbool.h.
16046 (_ufc_setup_salt_r): Return bool.
16047 * crypt/crypt-entry.c: Include errno.h.
16048 (__crypt_r): Return NULL with EINVAL for bad salt.
16049 * crypt/crypt_util.c (bad_for_salt): New.
16050 (_ufc_setup_salt_r): Check that salt is long enough and within
16051 the specified alphabet.
16052 * crypt/badsalttest.c: New file.
16053 * crypt/Makefile (tests): Add it.
16054 ($(objpfx)badsalttest): New.
16055
f96f1242
MK
160562012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16057
16058 * NEWS: Add entry for BZ #14602.
16059
0e8e0c1c
JM
160602012-10-09 Joseph Myers <joseph@codesourcery.com>
16061
16062 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16063 type-generic.
16064 * math/libm-test.inc: Update comment listing what functions and
16065 macros are tested.
16066 (isgreater_test): New function.
16067 (isgreaterequal_test): Likewise.
16068 (isless_test): Likewise.
16069 (islessequal_test): Likewise.
16070 (islessgreater_test): Likewise.
16071 (isunordered_test): Likewise.
16072 (main): Call the new functions.
16073
273edc5e
RM
160742012-10-09 Roland McGrath <roland@hack.frob.com>
16075
b8493de0
RM
16076 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16077 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16078 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16079 * sysdeps/i386/configure: Regenerated.
16080 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16081 * sysdeps/mach/configure: Regenerated.
16082 * sysdeps/mach/hurd/configure: Regenerated.
16083 * sysdeps/powerpc/configure: Regenerated.
16084 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16085 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16086 * sysdeps/s390/s390-32/configure: Regenerated.
16087 * sysdeps/s390/s390-64/configure: Regenerated.
16088 * sysdeps/sh/configure: Regenerated.
16089 * sysdeps/sparc/configure: Regenerated.
16090 * sysdeps/unix/sysv/linux/configure: Regenerated.
16091 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16092 * sysdeps/x86_64/configure: Regenerated.
16093
273edc5e
RM
16094 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16095 defined. Don't check if MAP is NULL.
16096
c8450f70
JM
160972012-10-09 Joseph Myers <joseph@codesourcery.com>
16098
16099 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16100 (_G_stat64): Likewise.
16101 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16102 (_G_stat64): Likewise.
16103 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16104 instead of struct _G_stat64.
16105 * libio/fileops.c (mmap_remap_check): Likewise.
16106 (decide_maybe_mmap): Likewise.
16107 (_IO_new_file_seekoff): Likewise.
16108 (_IO_file_stat): Likewise.
16109 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16110 _G_off64_t.
16111 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16112 instead of struct _G_stat64.
16113 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16114
57e605ba
MK
161152012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16116
16117 [BZ #14602]
16118 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16119 Replace with ...
16120 (CHECK_EOL): New macro.
16121 (two_way_short_needle): Check beginning of haystack for EOL. Use
16122 CHECK_EOL.
16123 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16124 Replace with CHECK_EOL.
16125 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16126 Replace with CHECK_EOL.
16127
ef1bb361
JM
161282012-10-08 Joseph Myers <joseph@codesourcery.com>
16129
16130 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16131 type-generic.
16132 * math/libm-test.inc: Update comment listing what functions and
16133 macros are tested.
16134 (finite_test): New function.
16135 (isinf_test): Likewise.
16136 (isnan_test): Likewise.
16137 (fpclassify_test): Test subnormal input.
16138 (isfinite_test): Likewise.
16139 (isnormal_test): Likewise.
16140 (main): Call the new functions.
16141
55f11534
JN
161422012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16143
16144 [BZ #14660]
16145 * Makerules (%.dynsym): Force C locale when running
16146 $(OBJDUMP) --dynamic-syms.
16147
1ab29350
AS
161482012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16149
16150 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16151 <stdint.h>.
16152
f1ecb7ef
DM
161532012-10-06 David S. Miller <davem@davemloft.net>
16154
16155 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16156 upper 32-bits of the length value in %o2 since we use branch-on-register
16157 tests which consider the entire 64-bit register.
16158
5d41d91a
L
161592012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16160
16161 * string/test-strstr.c (check2): Add a test for page boundary.
16162
3baddb72
DM
161632012-10-05 David S. Miller <davem@davemloft.net>
16164
16165 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16166 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16167 file.
16168 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16169 sysdep_routines.
16170 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16171 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16172 and bzero when HWCAP_SPARC_CRYPTO is present.
16173
9cee5585
L
161742012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16175
d7e0dab9
L
16176 [BZ #14602]
16177 * string/test-strstr.c (check2): New function.
16178 (test_main): Call check2.
16179
03759f47
L
16180 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16181 and bug-strchr1.
16182 * string/bug-strcasestr1.c (do_test): Moved to ...
16183 * string/test-strcasestr.c (check1): Here. New function.
16184 (do_one_test): Break out result checking code into ...
16185 (check_result): This. New function.
16186 (do_one_test): Call check_result.
16187 (test_main): Call check1.
16188 * string/bug-strchr1.c (do_test): Moved to ...
16189 * string/test-strchr.c (check1): Here. New function.
16190 (do_one_test): Break out result checking code into ...
16191 (check_result): This. New function.
16192 (do_one_test): Call check_result.
16193 (test_main): Call check1.
16194 * string/bug-strstr1.c (main): Moved to ...
046f153e 16195 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16196 (do_one_test): Break out result checking code into ...
16197 (check_result): This. New function.
16198 (do_one_test): Call check_result.
16199 (test_main): Call check1.
16200 * string/bug-strcasestr1.c: Removed.
16201 * string/bug-strchr1.c: Likewise.
16202 * string/bug-strstr1.c: Likewise.
16203
53cea63e
L
16204 * elf/Makefile (dl-routines): Add hwcaps.
16205 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16206 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16207 (_dl_important_hwcaps): Moved to ...
16208 * elf/dl-hwcaps.c: Here. New file.
16209 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16210
9cee5585 16211 [BZ #14557]
bb859b06
L
16212 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16213 if IS_IN_rtld isn't defined.
16214
9cee5585
L
16215 * elf/dl-support.c (_dl_sysinfo_map): New.
16216 Include "get-dynamic-info.h" and "setup-vdso.h".
16217 (_dl_non_dynamic_init): Call setup_vdso.
16218 * elf/dynamic-link.h: Don't include <assert.h>.
16219 (elf_get_dynamic_info): Moved to ...
16220 * elf/get-dynamic-info.h: Here. New file.
16221 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16222 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16223 * elf/setup-vdso.h: Here. New file.
16224 * elf/rtld.c: Include "setup-vdso.h".
16225 (dl_main): Call setup_vdso.
16226
23c31b76
JM
162272012-10-05 Joseph Myers <joseph@codesourcery.com>
16228
28234b07
JM
16229 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16230 creal in comment listing functions tested. List finite, isinf,
16231 isnan, isless, islessequal, isgreater, isgreaterequal,
16232 islessgreater, isunordered, lgamma_r and pow10 as functions and
16233 macros not tested. Mention which functions not tested are aliases
16234 for other functions. Fix typo. Note that signs of NaNs are not
16235 tested.
16236
23c31b76
JM
16237 * scripts/config.guess: Update from config.git.
16238 * scripts/config.sub: Likewise.
16239
9043e228
RM
162402012-10-04 Roland McGrath <roland@hack.frob.com>
16241
16242 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16243 * misc/madvise.c (madvise): Renamed to __madvise.
16244 Make madvise a weak alias.
16245 * include/sys/mman.h: Declare __madvise.
16246 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16247 * sysdeps/unix/syscalls.list
16248 (madvise): Make __madvise the strong name, and madvise a weak alias.
16249 * sysdeps/unix/sysv/linux/syscalls.list
16250 (madvise, mmap): Remove redundant entries.
16251 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16252 * malloc/malloc.c (mtrim): Likewise.
16253 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16254
f57f8055
RM
162552012-10-03 Roland McGrath <roland@hack.frob.com>
16256
16257 * sysdeps/mach/hurd/dl-cache.c: File removed.
16258 * config.h.in (USE_LDCONFIG): New #undef.
16259 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16260 * configure: Regenerated.
16261 * elf/Makefile (dl-routines): Add dl-cache only under
16262 [$(use-ldconfig) = yes].
16263 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16264 cache on [USE_LDCONFIG].
16265 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16266 [USE_LDCONFIG].
16267 * elf/rtld.c (dl_main): Likewise.
16268
5bb0c10a
PT
162692012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16270
16271 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16272 _SC_LEVEL4_CACHE_LINESIZE.
16273
010188c6
RM
162742012-10-03 Roland McGrath <roland@hack.frob.com>
16275
16276 * sysdeps/unix/bsd/confstr.h: File removed.
16277
b6c5ec07
AO
162782012-10-02 Alexandre Oliva <aoliva@redhat.com>
16279
16280 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16281 sys/sdt-config.h.
16282
408223d4
RM
162832012-10-02 Roland McGrath <roland@hack.frob.com>
16284
16285 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16286 Make 'mapoff' field ElfW(Off) rather than off_t.
16287
bb9510dc
DL
162882012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16289
fc997c6e
DL
16290 * nscd/Makefile: Remove nscd-cflags and all its users.
16291 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16292 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16293
bb9510dc
DL
16294 [BZ #10631]
16295 * malloc.c (malloc_printerr): Clarify error message.
16296
05699367
L
162972012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16298
16299 [BZ #14648]
16300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16301 Set bit_FMA_Usable if FMA is supported.
16302 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16303 macro.
16304 (bit_FMA4_Usable): Updated.
16305 (index_FMA_Usable): New macro.
16306 (CPUID_FMA): Likewise
16307 (HAS_FMA): Defined with bit_FMA_Usable.
16308
51367701
RM
163092012-10-01 Roland McGrath <roland@hack.frob.com>
16310
16311 * bits/types.h (__swblk_t): Type removed.
16312 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16313 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16314 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16315 (__SWBLK_T_TYPE): Likewise.
16316 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16317 (__SWBLK_T_TYPE): Likewise.
16318 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16319 (__SWBLK_T_TYPE): Likewise.
16320 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16321 (__SWBLK_T_TYPE): Likewise.
16322
4d57bf63 163232012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16324 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16325
16326 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16327 (xdr_mapname): Use YPMAXMAP as maxsize.
16328 (xdr_peername): Use YPMAXPEER as maxsize.
16329 (xdr_keydat): Use YPAXRECORD as maxsize.
16330 (xdr_valdat): Use YPMAXRECORD as maxsize.
16331
93c65d43
RM
163322012-10-01 Roland McGrath <roland@hack.frob.com>
16333
497a03d6
RM
16334 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16335
93c65d43
RM
16336 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16337 * csu/init-first.c: ... here.
16338 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16339 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16340 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16341 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16342 * sysdeps/i386/init-first.c: File removed.
16343 * sysdeps/sh/init-first.c: File removed.
16344
bec749fd
JM
163452012-10-01 Joseph Myers <joseph@codesourcery.com>
16346
16347 [BZ #14645]
16348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16349 if x * y might underflow to zero and z is zero.
16350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16352 * math/libm-test.inc (min_subnorm_value): New variable.
16353 (fma_test): Add more tests.
16354 (fma_test_towardzero): Likewise.
16355 (fma_test_downward): Likewise
16356 (fma_test_upward): Likewise.
16357 (initialize): Set min_subnorm_value.
16358
8ec5b013
JM
163592012-09-29 Joseph Myers <joseph@codesourcery.com>
16360
16361 [BZ #14638]
16362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16363 0 + 0.
16364 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16365 mode for addition resulting in exact zero.
16366 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16367 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16368 exact 0 + 0.
16369 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16370 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16371 * math/libm-test.inc (fma_test): Add more tests.
16372 (fma_test_towardzero): New function.
16373 (fma_test_downward): Likewise.
16374 (fma_test_upward): Likewise.
16375 (main): Call the new functions.
16376
b1fa802e
DM
163772012-09-28 David S. Miller <davem@davemloft.net>
16378
16379 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16380
d3b9fd9e
RM
163812012-09-28 Roland McGrath <roland@hack.frob.com>
16382
ea4d37b3
RM
16383 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16384 instead of SIGALRM.
16385
ac51c949
RM
16386 * sysdeps/gnu/_G_config.h: Moved to ...
16387 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16388 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16389 * sysdeps/generic/_G_config.h: ... here.
16390
28c195f7
RM
16391 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16392
848917f9
RM
16393 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16394
6bacf05b
RM
16395 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16396 Conditionalize target on [libnss_test1.so-version].
16397
91363dbb
RM
16398 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16399
cc87f7d8
RM
16400 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16401 (elfobjdir): Move out of conditionals.
16402
b1c608fe
RM
16403 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16404 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16405 (__nss_lookup_function): Conditionalize label remove_from_tree on
16406 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16407
1d9a6d96
DM
164082012-09-28 David S. Miller <davem@davemloft.net>
16409
16410 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16411 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16412 file.
16413 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16414 sysdep_routines.
16415 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16416 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16417 when HWCAP_SPARC_CRYPTO is present.
16418
72581615
PT
164192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16420
16421 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16422
715a900c
JL
164232012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16424
16425 [BZ #6530]
16426 * stdio-common/vfprintf.c (process_string_arg): Revert
16427 2000-07-22 change.
16428
164292011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16430
16431 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16432 for testcase.
16433 * stdio-common/tst-sprintf.c: Include <locale.h>
16434 (main): Test sprintf's handling of incomplete multibyte
16435 characters.
16436
9bac1d86
L
164372012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16438
16439 * elf/dl-runtime.c (VERSYMIDX): Removed.
16440 * elf/dl-version.c (VERSYMIDX): Likewise.
16441 * elf/do-rel.h (VERSYMIDX): Likewise.
16442 (VALIDX): Likewise.
16443 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16444 * elf/rtld.c (VALIDX): Likewise.
16445 (ADDRIDX): Likewise.
9bac1d86
L
16446 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16447 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16448 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16449 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16450 (VALIDX): Likewise.
16451 (ADDRIDX): Likewise.
9bac1d86 16452
b31606c0
PT
164532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16454
16455 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16456
11541177
JL
164572012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16458
16459 [BZ #11438]
16460 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16461 to global scope.
16462 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16463 addresses are in the same scope as 192.0.2/24.
16464 * posix/gai.conf: Document new scope table defaults.
16465
adb26fae
SP
164662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16467
16468 [BZ #5298]
16469 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16470 for ftell. Compute offsets from write pointers instead.
16471 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16472
4573c6b0
SP
164732012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16474
16475 [BZ #14543]
16476 * libio/Makefile (tests): New test case tst-fseek.
16477 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16478 combination works in wide mode.
16479 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16480 state when the external buffer state changes.
16481
aa9bbfe6
DM
164822012-09-27 David S. Miller <davem@davemloft.net>
16483
16484 [BZ #14376]
16485 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16486 pass reloc->r_addend in as the 'high' argument to
16487 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16488
784421e7
DM
16489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16490
c39bc8b8
PT
164912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16492
16493 * rt/tst-aio2.c: Include <pthread.h>.
16494 * rt/tst-aio3.c: Likewise.
16495
1ccc2399
SE
164962012-09-27 Steve Ellcey <sellcey@mips.com>
16497
16498 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16499
31ed4153
L
165002012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16501
25f5f885
L
16502 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16503 contents on [SHARED].
31ed4153 16504
b7bfe116
MP
165052012-09-26 Marek Polacek <polacek@redhat.com>
16506
16507 [BZ #14530]
16508 [BZ #13741]
16509 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16510 for C++ and GCC <4.3 as well as for non GCC compilers.
16511
43c4edba
MT
165122012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16513
16514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16515
6a1bf82f
RM
165162012-09-25 Roland McGrath <roland@hack.frob.com>
16517
16518 * Makefile.in (all, install): Declare with .PHONY.
16519 Reported by Michael Hope <michael.hope@linaro.org>.
16520
8ad11b9a
TMQMF
165212012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16522
16523 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16524 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16525 system header.
16526 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16527 Likewise.
16528 (sydep_routines): Add the new and the internal functions.
16529 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16530 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16532 (GLIBC_2.17): Add the new function.
16533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16534 (GLIBC_2.17): Likewise.
16535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16536 (GLIBC_2.17): Likewise.
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16538 (GLIBC_2.17): Likewise.
16539 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16540
7e2fca8d
AM
165412012-09-25 Alan Modra <amodra@gmail.com>
16542
16543 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16544 Add release barrier before setting once_control to say
16545 initialisation is done. Add hints on lwarx. Use macro in
16546 place of isync.
16547 (clear_once_control): Add release barrier.
16548
b87c4b24
JM
165492012-09-25 Joseph Myers <joseph@codesourcery.com>
16550
d032e0d2
JM
16551 [BZ #13629]
16552 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16553 specially.
16554 * math/s_clog10.c (__clog10): Likewise.
16555 * math/s_clog10f.c (__clog10f): Likewise.
16556 * math/s_clog10l.c (__clog10l): Likewise.
16557 * math/s_clogf.c (__clogf): Likewise.
16558 * math/s_clogl.c (__clogl): Likewise.
16559 * math/Makefile (libm-calls): Add x2y2m1.
16560 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16561 (__x2y2m1): Likewise.
16562 (__x2y2m1l): Likewise.
16563 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16564 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16565 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16566 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16567 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16568 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16569 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16570 * sysdeps/i386/fpu/libm-test-ulps: Update.
16571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16572
b87c4b24
JM
16573 [BZ #14621]
16574 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16575 int as type of variable DEPTH.
16576 (glob): Use size_t instead of int as type of variables NEWCOUNT
16577 and OLD_PATHC.
16578
6d3bf199
LD
165792012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16580
22bf5c17
LD
16581 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16582 Add s_sincosf-sse2.
16583 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16584 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16585 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16586 macros for using routine as __sincosf_ia32.
16587 Use macro for function declaration and weak_alias.
16588 * sysdeps/i386/fpu/libm-test-ulps: Update.
16589
16590 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16592
16593 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16594 subnormal argument.
16595 * math/s_cexpf.c (__cexpf): Likewise.
16596 * math/s_csinf.c (__csinf): Likewise.
16597 * math/s_csinhf.c (__csinhf): Likewise.
16598 * math/s_ctanf.c (__ctanf): Likewise.
16599 * math/s_ctanhf.c (__ctanhf): Likewise.
16600 * math/s_ccosh.c (__ccoshf): Likewise.
16601 * math/s_cexp.c (__cexpl): Likewise.
16602 * math/s_csin.c (__csin): Likewise.
16603 * math/s_csinh.c (__csinh): Likewise.
16604 * math/s_ctan.c (__ctan): Likewise.
16605 * math/s_ctanh.c (ctanh): Likewise.
16606 * math/s_ccoshl.c (__ccoshl): Likewise.
16607 * math/s_cexpl.c (__cexpl): Likewise.
16608 * math/s_csinl.c (__csinl): Likewise.
16609 * math/s_csinhl.c (__csinhl): Likewise.
16610 * math/s_ctanl.c (__ctanl): Likewise.
16611 * math/s_ctanhl.c (__ctanhl): Likewise.
16612
203e5603
JM
166132012-09-25 Joseph Myers <joseph@codesourcery.com>
16614
16615 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16616 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16617 (_IO_off_t): Define to __off_t, not _G_off_t.
16618 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16619 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16620 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16621 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16622 type of __dummy and __dummy2 fields.
16623 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16624 (_G_ssize_t): Likewise.
16625 (_G_off_t): Likewise.
16626 (_G_pid_t): Likewise.
16627 (_G_uid_t): Likewise.
16628 (_G_wchar_t): Likewise.
16629 (_G_wint_t): Likewise.
16630 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16631 (_G_ssize_t): Likewise.
16632 (_G_off_t): Likewise.
16633 (_G_pid_t): Likewise.
16634 (_G_uid_t): Likewise.
16635 (_G_wchar_t): Likewise.
16636 (_G_wint_t): Likewise.
16637 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16638 (_G_ssize_t): Likewise.
16639 (_G_off_t): Likewise.
16640 (_G_pid_t): Likewise.
16641 (_G_uid_t): Likewise.
16642 (_G_wchar_t): Likewise.
16643 (_G_wint_t): Likewise.
16644
9fab36eb
SP
166452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16646
16647 * malloc/arena.c: Include malloc-sysdep.h.
16648 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16649 is sufficient to shrink the heap or an unmap is needed.
16650 * sysdeps/generic/malloc-sysdep.h: New file. Define
16651 new function check_may_shrink_heap.
16652 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16653 new function check_may_shrink_heap.
16654
2b4f00d1
SP
166552012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16656
16657 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16658 comments.
16659
9a9028b1
DL
166602012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16661
57c69bef
DL
16662 * catgets/test-gencat.sh: Add "set -e".
16663 * elf/tst-pathopt.sh: Likewise.
16664 * grp/tst_fgetgrent.sh: Likewise.
16665 * iconvdata/run-iconv-test.sh: Likewise.
16666 * intl/tst-gettext.sh: Likewise.
16667 * intl/tst-gettext2.sh: Likewise.
16668 * intl/tst-gettext4.sh: Likewise.
16669 * intl/tst-gettext6.sh: Likewise.
16670 * intl/tst-translit.sh: Likewise.
16671 * io/ftwtest-sh: Likewise.
16672 * libio/test-freopen.sh: Likewise.
16673 * malloc/tst-mtrace.sh: Likewise.
16674 * posix/globtest.sh: Likewise.
16675 * posix/tst-getconf.sh: Likewise.
16676 * posix/wordexp-tst.sh: Likewise.
16677 * stdio-common/tst-printf.sh: Likewise.
16678 * stdio-common/tst-unbputc.sh: Likewise.
16679 * stdlib/tst-fmtmsg.sh: Likewise.
16680 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16681 * catgets/Makefile: Do not specify -e option when running
16682 testsuite shell scripts.
16683 * elf/Makefile: Likewise.
16684 * grp/Makefile: Likewise.
16685 * iconvdata/Makefile: Likewise.
16686 * intl/Makefile: Likewise.
16687 * io/Makefile: Likewise.
16688 * libio/Makefile: Likewise.
16689 * malloc/Makefile: Likewise.
16690 * posix/Makefile: Likewise.
16691 * stdio-common/Makefile: Likewise.
16692 * stdlib/Makefile: Likewise.
16693 * sysdeps/x86_64/Makefile: Likewise.
16694
9a9028b1
DL
16695 * io/ftwtest-sh: Add copyright header.
16696 * posix/globtest.sh: Likewise.
16697 * posix/tst-getconf.sh: Likewise.
16698 * posix/wordexp-tst.sh: Likewise.
16699 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16700
ced6f16e
L
167012012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16702
94b32c39
L
16703 [BZ #13679]
16704 * Makeconfig (+link): Defined as $(+link-static) if
16705 $(build-shared) isn't yes.
16706 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16707 isn't yes.
16708 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16709
189e935b
L
16710 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16711
ced6f16e
L
16712 [BZ #14562]
16713 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16714 new chunk size with MALLOC_ALIGN_MASK.
16715
a9f8e53a
JM
167162012-09-24 Joseph Myers <joseph@codesourcery.com>
16717
16718 [BZ #5044]
16719 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16720 <rounding-mode.h>.
16721 (__printf_fphex): Determine rounding using get_rounding_mode and
16722 round_away.
16723 * stdio-common/tst-printf-round.c (struct hex_test): New
16724 structure.
16725 (hex_tests): New variable.
16726 (test_hex_in_one_mode): New function.
16727 (do_test): Also run tests for hex float output.
16728
43153109
JM
167292012-09-21 Joseph Myers <joseph@codesourcery.com>
16730
16731 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16732 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16733 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16734 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16735 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16736 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16737 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16738 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16739
8a26625d
JM
167402012-09-20 Joseph Myers <joseph@codesourcery.com>
16741
16742 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16743 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16744 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16745 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16746
f3fd569c
DL
167472012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16748
16749 [BZ #14579]
16750 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16751 mode only.
16752 * elf/tst-rtld-load-self.sh: New test.
16753 * elf/Makefile: Run it.
16754
63bbedd4
JM
167552012-09-18 Joseph Myers <joseph@codesourcery.com>
16756
16757 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16758 (tst-writev-ENV): Remove.
16759 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16760
626f8b6a
CM
167612012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16762
16763 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16764
b7aaa4d6
JM
167652012-09-17 Joseph Myers <joseph@codesourcery.com>
16766
16767 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16768 unconditional.
16769 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16770 Likewise.
16771 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16772 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16773 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16774 Likewise.
16775
65513990
L
167762012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16777
16778 [BZ #14587]
16779 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16780 * config.make.in (have-cpp-asm-debuginfo): Removed.
16781 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16782 * configure: Regenerated.
16783
784761be
JM
167842012-09-14 Joseph Myers <joseph@codesourcery.com>
16785
16786 [BZ #5044]
16787 * stdio-common/printf_fp.c: Include <stdbool.h> and
16788 <rounding-mode.h>.
16789 (___printf_fp): Determine rounding using get_rounding_mode and
16790 round_away.
16791 * stdio-common/tst-printf-round.c: New file.
16792 * stdio-common/Makefile (tests): Add tst-printf-round.
16793 (link-libm): New variable.
16794 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16795
9503345f
L
167962012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16797
16798 [BZ #14576]
16799 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16800 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16801 Likewise.
16802 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16803 Likewise.
16804
ad35fc00
JM
168052012-09-13 Joseph Myers <joseph@codesourcery.com>
16806
16807 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16808 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16809 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16810 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16811
6c9b0f68
JM
168122012-09-12 Joseph Myers <joseph@codesourcery.com>
16813
16814 [BZ #14518]
16815 * include/rounding-mode.h: New file.
16816 * sysdeps/generic/get-rounding-mode.h: Likewise.
16817 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16818 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16819 (MAX_VALUE): New macro.
16820 (MIN_VALUE): Likewise.
16821 (overflow_value): New function.
16822 (underflow_value): Likewise.
16823 (round_and_return): Use overflow_value and underflow_value to
16824 determine return values in overflow and underflow cases. Use
16825 round_away to determine rounding depending on rounding mode.
16826 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16827 determine return values in overflow and underflow cases.
16828 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16829 (struct test_results): New structure.
16830 (struct test): Use struct test_results to store expected results
16831 for all rounding modes.
16832 (TEST): Include expected results for all rounding modes.
16833 (test_in_one_mode): New function.
16834 (do_test): Use test_in_one_mode to compute and check results.
16835 Check results for all rounding modes.
16836 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16837 $(link-libm).
16838
19fcedd5
AM
168392012-12-09 Allan McRae <allan@archlinux.org>
16840
1e9d84cd 16841 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16842
8bbfd2f1
JM
168432012-09-11 Joseph Myers <joseph@codesourcery.com>
16844
16845 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16846 (_G_int32_t): Likewise.
16847 (_G_uint16_t): Likewise.
16848 (_G_uint32_t): Likewise.
16849 (_G_HAVE_BOOL): Likewise.
16850 (_G_HAVE_ATEXIT): Likewise.
16851 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16852 (_G_HAVE_IO_FILE_OPEN): Likewise.
16853 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16854 (_G_int32_t): Likewise.
16855 (_G_uint16_t): Likewise.
16856 (_G_uint32_t): Likewise.
16857 (_G_HAVE_BOOL): Likewise.
16858 (_G_HAVE_ATEXIT): Likewise.
16859 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16860 (_G_HAVE_IO_FILE_OPEN): Likewise.
16861 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16862 (_G_int32_t): Likewise.
16863 (_G_uint16_t): Likewise.
16864 (_G_uint32_t): Likewise.
16865 (_G_HAVE_BOOL): Likewise.
16866 (_G_HAVE_ATEXIT): Likewise.
16867 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16868 (_G_HAVE_IO_FILE_OPEN): Likewise.
16869
b1dc5912
L
168702012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16871
16872 * csu/libc-tls.c: Update copyright years.
16873
0e886ef9
JM
168742012-09-10 Joseph Myers <joseph@codesourcery.com>
16875
28361c5e
JM
16876 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16877 [!_G_USING_THUNKS]: Remove conditional code.
16878 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16879 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16880
0e886ef9
JM
16881 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16882 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16883 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16884 (_G_VTABLE_LABEL_PREFIX): Likewise.
16885 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16886 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16887 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16888 (_G_VTABLE_LABEL_PREFIX): Likewise.
16889 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16890 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16891 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16892 (_G_VTABLE_LABEL_PREFIX): Likewise.
16893 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16894
bcba7aa2
L
168952012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16896
16897 * libio/Makefile: Include ../Makeconfig before tests.
16898 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16899 only if $(build-shared) is yes.
16900
06585ee8
L
16901 * iconv/gconv_db.c: Update copyright years.
16902
80ccd52c
LD
169032012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16904
16905 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16906 unwind info if defined PIC. Fix special cases description.
16907 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16908
16909 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16910 DP_HI_MASK entry.
16911 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16912
691bc9c1
L
169132012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16914
3d9b46b3
L
16915 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16916
de2139a9
L
16917 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16918 is NULL.
16919
5ca78dd0
L
16920 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16921 (LDLIBS-tst-chk4): This.
16922 (LDFLAGS-tst-chk5): Renamed to ...
16923 (LDLIBS-tst-chk5): This.
16924 (LDFLAGS-tst-chk6): Renamed to ...
16925 (LDLIBS-tst-chk6): This.
16926 (LDFLAGS-tst-lfschk4): Renamed to ...
16927 (LDLIBS-tst-lfschk4): This.
16928 (LDFLAGS-tst-lfschk5): Renamed to ...
16929 (LDLIBS-tst-lfschk5): This.
16930 (LDFLAGS-tst-lfschk6): Renamed to ...
16931 (LDLIBS-tst-lfschk6): This.
16932
691bc9c1
L
16933 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16934 on $(common-objpfx)soversions.mk.
16935
65cafb1c
JM
169362012-09-07 Joseph Myers <joseph@codesourcery.com>
16937
16938 [BZ #10014]
16939 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16940 example host name.
16941
c78ab094
SP
169422012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16943
16944 * malloc/arena.c (arena_get_retry): New function that gets
16945 another arena for the caller to try its request on.
16946 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16947 current arena cannot fulfill the request.
16948 (__libc_memalign): Likewise.
16949 (__libc_memalign): Likewise.
16950 (__libc_pvalloc): Likewise.
16951 (__libc_calloc): Likewise.
16952
01f49f59
JT
169532012-09-05 John Tobey <john.tobey@gmail.com>
16954
16955 [BZ #13542]
16956 * manual/arith.texi (Operations on Complex): Fix description
16957 of carg branch cut.
16958
4c23fed5
JM
169592012-09-06 Joseph Myers <joseph@codesourcery.com>
16960
1d3c8572
JM
16961 [BZ #10014]
16962 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16963 host name.
16964
4c23fed5
JM
16965 [BZ #10038]
16966 * manual/memory.texi (Memory): Make order of menu items match
16967 order of sections.
16968
04570aaa
L
169692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16970
16971 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16972 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16973 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16974
b80af2f4
L
169752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16976
16977 * csu/libc-tls.c (static_dtv): Renamed to ...
16978 (_dl_static_dtv): This. Make it global.
16979 (_dl_initial_dtv): Removed.
16980 (__libc_setup_tls): Updated.
16981 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16982 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16983 DL_INITIAL_DTV.
16984
2abe9f15
PM
169852012-09-06 Petr Machata <pmachata@redhat.com>
16986
16987 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16988 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16989 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16990 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16991
0948c3af
L
169922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16993
16994 [BZ #14545]
16995 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16996 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16997 freeing dtv[-1].
16998
a5055ad1
L
169992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17000
17001 [BZ #14544]
17002 * Makeconfig (link-static-before-libc): Replace $(+prector)
17003 with $(+prectorT).
17004 (link-static-after-libc): Replace $(+postctor) with
17005 $(+postctorT).
17006 (link-bounded): Replace $(+prector)/$(+postctor) with
17007 $(+prectorT)/$(+postctorT).
17008 (+prectorT): New macro.
17009 (+postctorT): Likewise.
17010
ed8c2ecd
JM
170112012-09-06 Joseph Myers <joseph@codesourcery.com>
17012
17013 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17014 (round_str): Handle values above the maximum for IBM long double
17015 as inexact.
17016 * stdlib/tst-strtod-round.c (tests): Regenerated.
17017
14c996c8
AK
170182012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17019
17020 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17021 assembler flag.
17022 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17023 zarch_nohighgprs around the zarch optimized routines.
17024 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17025 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17026 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17027 for zarch.
17028
430d6ce6
DM
170292012-09-05 David S. Miller <davem@davemloft.net>
17030
17031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17032
ff04dda4
DM
17033 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17034 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17035 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17036 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17037 entries.
17038
24d4e01b
AO
170392012-09-05 Alexandre Oliva <aoliva@redhat.com>
17040
17041 * malloc/arena.c: Fold copyright years.
17042 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17043
61d58174
AO
170442012-09-05 Alexandre Oliva <aoliva@redhat.com>
17045
17046 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17047
20196a5e
AO
170482012-09-05 Alexandre Oliva <aoliva@redhat.com>
17049
17050 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17051
5c447383
AO
170522012-09-05 Alexandre Oliva <aoliva@redhat.com>
17053
17054 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17055 change internal state upon failure.
17056
fad64255
AO
170572012-09-05 Alexandre Oliva <aoliva@redhat.com>
17058
17059 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17060 * malloc/memusage.c (mmap): Likewise.
17061 (mmap64, mremap): Likewise. Adjust name in comment.
17062
1ffb8c90
SP
170632012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17064
17065 * libio/fileops.c: Fix typos in comments.
17066 * libio/oldfileops.c: Likewise.
17067 * libio/wfileops.c: Likewise.
17068
6ef9cc37
SP
170692012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17070
17071 [BZ #1349]
17072 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17073 (tst-malloc-usable-ENV): Set environment for test case.
17074 * malloc/hooks.c (malloc_check_get_size): New function to get
17075 requested size.
17076 * malloc/malloc.c (musable): Use malloc_check_get_size.
17077 * malloc/tst-malloc-usable.c: New test case.
17078
4d038ae3
AS
170792012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17080
17081 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17082
c4e85184
AM
170832012-09-05 Allan McRae <allan@archlinux.org>
17084
b9dafc56 17085 [BZ #13966]
c4e85184
AM
17086 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17087 determine header location.
17088 * configure: Regenerated.
17089
e1343020
AS
170902012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17091
17092 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17093 float format.
17094 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17095 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17096 format.
e1343020
AS
17097 (test): Regenerate.
17098
0a9f1987
DM
170992012-09-04 David S. Miller <davem@davemloft.net>
17100
17101 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17102 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17103 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17104
29237804
FW
171052012-09-04 Florian Weimer <fweimer@redhat.com>
17106
17107 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17108 failures.
17109
edb3cb88
FW
17110 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17111
60160d83
JM
171122012-09-04 Joseph Myers <joseph@codesourcery.com>
17113
17114 [BZ #9914]
17115 * libio/iogetdelim.c: Include <limits.h>.
17116 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17117 + len + 1 would overflow.
17118
bcd6c8dc
AJ
171192012-09-03 Andreas Jaeger <aj@suse.de>
17120
17121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17122 * sysdeps/i386/fpu/libm-test-ulps: Update.
17123
4ffffbd2
LD
171242012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17125
17126 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17127 Add s_sinf-sse2, s_conf-sse2.
17128
17129 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17130 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17131 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17132 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17133
17134 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17135 for using routine as __sinf_ia32.
17136 Use macro for function declaration and weak_alias.
17137 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17138 for using routine as __cosf_ia32.
17139 Use macro for function declaration and weak_alias.
17140
17141 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17142 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17143
17144 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17145 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17147
17148 * math/libm-test.inc (cos_test): Add more test cases.
17149 (sin_test): Likewise.
17150 (sincos_test): Likewise.
17151
511fa286
AK
171522012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17153
17154 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17155 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17156 hidden.
17157 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17158
5f30cfec
L
171592012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17160
17161 [BZ #14538]
17162 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17163 first element of the GOT.
17164 (elf_machine_load_address): Return the difference between
17165 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17166
0786794f
AM
171672012-09-01 Allan McRae <allan@archlinux.org>
17168
5f30cfec
L
17169 [BZ #13412]
17170 * configure.in (AWK): Require gawk version 3.0 or later.
17171 * configure: Regenerated.
0786794f 17172
26889eac
JM
171732012-09-01 Joseph Myers <joseph@codesourcery.com>
17174
17175 * sysdeps/unix/sysv/linux/kernel-features.h
17176 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17177 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17178 [__NR_clock_getres]: Make code unconditional.
17179 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17180 (clock_getcpuclockid): Remove code left unreachable by removal of
17181 conditionals.
17182 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17183 code unconditional.
17184 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17185 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17186 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17187 Make code unconditional.
17188 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17189 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17190 * sysdeps/unix/sysv/linux/clock_settime.c
17191 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17192 conditional code.
17193 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17194 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17195
d22e28b0
L
171962012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17197
17198 [BZ #14476]
17199 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17200 scripts/test-installation.pl.
17201
17202 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17203 and $ld_so_version if it is set.
17204
050af9c4
SP
172052012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17206
17207 [BZ #14516]
17208 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17209 failure if reading from procfs failed.
17210 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17211
ad845c0b
JM
172122012-08-27 Joseph Myers <joseph@codesourcery.com>
17213
17214 * sysdeps/unix/sysv/linux/kernel-features.h
17215 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17216 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17217 Remove conditional code.
17218 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17219 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17220 Remove conditional code.
17221 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17222 * sysdeps/unix/sysv/linux/i386/fxstat.c
17223 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17225 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17226 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17228 * sysdeps/unix/sysv/linux/i386/lxstat.c
17229 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17231 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17232 Remove conditional code.
17233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17234 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17235 Remove conditional code.
17236 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17237 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17238 <kernel-features.h>.
17239 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17240 Remove.
17241 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17242 Remove conditional code.
17243 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17244 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17245 Remove conditional.
17246
5dbf56af
MF
172472012-08-27 Mike Frysinger <vapier@gentoo.org>
17248
17249 [BZ #5400]
17250 * NEWS: Add fixed bug number.
17251
d6e70f43
JM
172522012-08-27 Joseph Myers <joseph@codesourcery.com>
17253
7efb4737
JM
17254 [BZ #14519]
17255 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17256 underflowing exponent in case of negative sign.
17257 * stdlib/tst-strtod-round-data: Add more tests.
17258 * stdlib/tst-strtod-round.c (tests): Regenerated.
17259
af92131a
JM
17260 [BZ #3479]
17261 * stdlib/strtod_l.c (NDIG): Remove.
17262 (HEXNDIG): Likewise.
17263 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17264 smallest representable value.
17265 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17266 lie within an exact representation of 1/2 ulp of the result.
17267 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17268 unconditionally.
17269 (TENS_P9_IDX): Define unconditionally.
17270 (TENS_P9_SIZE): Likewise.
17271 (TENS_P10_IDX): Likewise.
17272 (TENS_P10_SIZE): Likewise.
17273 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17274 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17275 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17276 entries for 10^2^13 and 10^2^14.
17277 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17278 (TENS_P13_IDX): Define.
17279 (TENS_P13_SIZE): Likewise.
17280 (TENS_P14_IDX): Likewise.
17281 (TENS_P14_SIZE): Likewise.
17282 (_fpioconst_pow10): Change array size to
17283 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17284 unconditional.
17285 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17286 1024]: Add entries for 10^2^13 and 10^2^14.
17287 [LAST_POW10 > _LAST_POW10]: Remove #error.
17288 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17289 (_fpioconst_pow10): Change array size to
17290 FPIOCONST_POW10_ARRAY_SIZE.
17291 * stdlib/gen-fpioconst.c: New file.
17292 * stdlib/gen-tst-strtod-round.c: Likewise.
17293 * stdlib/tst-strtod-round-data: Likewise.
17294 * stdlib/tst-strtod-round.c: Likewise.
17295 * stdlib/Makefile (tests): Add tst-strtod-round.
17296
d6e70f43
JM
17297 [BZ #14459]
17298 * stdlib/strtod_l.c: Include <stdint.h>.
17299 (NDEBUG): Do not define.
17300 (round_and_return): Change EXPONENT parameter to type intmax_t.
17301 Rearrange calculations to avoid internal overflow possibilities.
17302 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17303 Rearrange calculations to avoid internal overflow possibilities.
17304 Assert that number fits inside MPNSIZE limbs.
17305 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17306 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17307 calculations and add assertions to avoid internal overflow
17308 possibilities. Add casts to avoid signed/unsigned operations.
17309 * stdlib/tst-strtod-overflow.c: New file.
17310 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17311
1f529f7d
MP
173122012-08-25 Marek Polacek <polacek@redhat.com>
17313
17314 * time/time.h: Fix some typos in comments.
17315
59a629f1
RM
173162012-08-23 Roland McGrath <roland@hack.frob.com>
17317
17318 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17319 * posix/tst-rfc3484-2.c: Likewise.
17320 * posix/tst-rfc3484-3.c: Likewise.
17321
d3bafbc9
SM
173222012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17323
17324 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17325 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17326
4efcc022
JM
173272012-08-23 Joseph Myers <joseph@codesourcery.com>
17328
17329 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17330 #include of fxstatat64.c.
17331
3cc3ef96
RM
173322012-08-22 Roland McGrath <roland@hack.frob.com>
17333
f04e2132
RM
17334 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17335 * shadow/getspent_r.c: Likewise.
17336 * shadow/getspnam.c: Likewise.
17337 * shadow/getspnam_r.c: Likewise.
17338 * gshadow/getsgent.c: Likewise.
17339 * gshadow/getsgent_r.c: Likewise.
17340 * gshadow/getsgnam.c: Likewise.
17341 * gshadow/getsgnam_r.c: Likewise.
17342 * inet/getnetbyad.c: Likewise.
17343 * inet/getnetbyad_r.c: Likewise.
17344 * inet/getnetbynm.c: Likewise.
17345 * inet/getnetbynm_r.c: Likewise.
17346 * inet/getnetent.c: Likewise.
17347 * inet/getnetent_r.c: Likewise.
17348 * inet/getproto.c: Likewise.
17349 * inet/getproto_r.c: Likewise.
17350 * inet/getprtent.c: Likewise.
17351 * inet/getprtent_r.c: Likewise.
17352 * inet/getprtname.c: Likewise.
17353 * inet/getprtname_r.c: Likewise.
17354 * inet/getrpcbyname.c: Likewise.
17355 * inet/getrpcbyname_r.c: Likewise.
17356 * inet/getrpcbynumber.c: Likewise.
17357 * inet/getrpcbynumber_r.c: Likewise.
17358 * inet/getrpcent.c: Likewise.
17359 * inet/getrpcent_r.c: Likewise.
17360 * inet/getaliasent.c: Likewise.
17361 * inet/getaliasent_r.c: Likewise.
17362 * inet/getaliasname.c: Likewise.
17363 * inet/getaliasname_r.c: Likewise.
17364 * nscd/getgrgid_r.c: Likewise.
17365 * nscd/getgrnam_r.c: Likewise.
17366 * nscd/gethstbyad_r.c: Likewise.
17367 * nscd/gethstbynm3_r.c: Likewise.
17368 * nscd/getpwnam_r.c: Likewise.
17369 * nscd/getpwuid_r.c: Likewise.
17370 * nscd/getsrvbynm_r.c: Likewise.
17371 * nscd/getsrvbypt_r.c: Likewise.
17372 * nscd/gai.c: Likewise.
17373
c53d909c
RM
17374 * configure.in (build_nscd): New substituted variable, set
17375 by --disable-build-nscd and defaults to $use_nscd.
17376 * configure: Regenerated.
17377 * config.make.in (build-nscd): New substituted variable.
17378 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17379 Change conditional to require [$(build-nscd) = yes] as well.
17380 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17381
3cc3ef96
RM
17382 [BZ# 13696]
17383 * configure.in (use_nscd): New substituted variable, set by
17384 --disable-nscd. If enabled, define USE_NSCD.
17385 * configure: Regenerated.
17386 * config.h.in: Add USE_NSCD.
17387 * config.make.in (use-nscd): New substituted variable.
17388 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17389 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17390 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17391 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17392 (CFLAGS-getgrnam_r.c): Likewise.
17393 (CFLAGS-initgroups.c): Likewise.
17394 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17395 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17396 Variables removed.
17397 * inet/getnetgrent_r.c
17398 (nscd_setnetgrent): New function, broken out of ...
17399 (setnetgrent): ... here. Call it.
17400 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17401 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17402 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17403 * nscd/Makefile (routines, aux): Move definitions after include of
17404 Makeconfig. Conditionalize on [$(use-nscd) != no].
17405 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17406 Conditionalize on [USE_NSCD].
17407 (is_nscd, nscd_init_cb): Likewise.
17408 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17409 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17410 * nss/nss_db/db-init.c: Likewise.
17411 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17412 [USE_NSCD].
17413 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17414 (make_request): Use it.
17415 (cache_valid_p): New function.
17416 (__check_pf): Use it.
17417 * NEWS: Add item for --disable-nscd.
17418
07e51550
DL
174192012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17420
17421 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17422 to support sed >= 4.2.1-20-ga9bf076.
17423 * configure: Regenerated.
17424
35a5b08b
RM
174252012-08-22 Roland McGrath <roland@hack.frob.com>
17426
17427 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17428 Conditionalize whole body on [IREL].
17429
8479f23a
JL
174302012-08-22 Jeff Law <law@redhat.com>
17431
17432 [BZ #14505]
17433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17434 if the family is PF_UNSPEC.
17435
48da0b21
MF
174362012-08-22 Mike Frysinger <vapier@gentoo.org>
17437
17438 * Makerules (lib-version): Rename from V.
17439 (install-lib-nosubdir): Change V to lib-version.
17440
15d0da8c
WS
174412012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17442
17443 [BZ #14252]
17444 * powerpc32/power6/wcschr.c: New file.
17445 * powerpc32/power6/wcscpy.c: New file.
17446 * powerpc32/power6/wcsrchr.c: New file.
17447 * powerpc64/power6/wcschr.c: New file.
17448 * powerpc64/power6/wcscpy.c: New file.
17449 * powerpc64/power6/wcsrchr.c: New file.
17450
bcca0895
MK
174512012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17452
17453 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17454 (two_way_short_needle): Use it.
5a4aaa33
RM
17455 * string/strstr.c (AVAILABLE1_USES_J): Define.
17456 * string/strcasestr.c: Likewise.
99677e57
MK
17457
17458 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17459 array references.
17460 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17461
400726de
MK
17462 [BZ #11607]
17463 * NEWS: Add an entry.
17464 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17465 define their defaults.
17466 (two_way_short_needle): Detect end-of-string on-the-fly.
17467 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17468 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17469 * string/bug-strcasestr1.c: New test.
17470 * string/Makefile: Run it.
17471
20a71f2c
MK
174722012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17473
17474 [BZ #11607]
17475 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17476 the first character.
17477
21ad0558
RM
174782012-08-21 Roland McGrath <roland@hack.frob.com>
17479
17480 * csu/elf-init.c (__libc_csu_irel): Function removed.
17481 * csu/libc-start.c (apply_irel): New function.
17482 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17483
0e1d9911
JM
174842012-08-21 Joseph Myers <joseph@codesourcery.com>
17485
17486 * sysdeps/unix/sysv/linux/kernel-features.h
17487 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17488 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17489 <kernel-features.h>.
17490 [__NR_fadvise64_64]: Make code unconditional.
17491 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17492 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17493 !__NR_fadvise64_64)]: Likewise.
17494 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17495 !__NR_fadvise64_64))]: Likewise.
17496 [__NR_fadvise64]: Make code unconditional.
17497 [!__NR_fadvise64]: Remove conditional code.
17498 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17499 <kernel-features.h>.
17500 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17501 unconditional.
17502 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17503 conditional code.
17504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17505 not include <kernel-features.h>.
17506 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17507 unconditional.
17508 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17509 conditional code.
17510 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17511 include <kernel-features.h>.
17512 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17513 unconditional.
17514 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17515 conditional code.
17516
14a50c9d
WS
175172012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17518
17519 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17520 slight instruction rearrangements per scrollpipe analysis.
17521 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17522
c0f4faf0
RM
175232012-08-20 Roland McGrath <roland@hack.frob.com>
17524
696da859
RM
17525 * manual/syslog.texi (syslog; vsyslog, closelog):
17526 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17527 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17528
c0f4faf0
RM
17529 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17530 DSOCAPS to match condition on defining it.
17531
348363b2
JM
175322012-08-20 Joseph Myers <joseph@codesourcery.com>
17533
a35cbf28
JM
17534 * sysdeps/unix/sysv/linux/kernel-features.h
17535 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17537 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17538 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17540 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17541 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17543 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17544 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17545
445f7ecd
JM
17546 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17547 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17548
348363b2
JM
17549 * sysdeps/unix/sysv/linux/kernel-features.h
17550 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17551 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17552 unconditional.
17553 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17554 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17555 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17556 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17557 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17558 Make code unconditional.
17559 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17560 (__mmap64) [!__NR_mmap2]: Likewise.
17561 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17562 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17563 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17564 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17565 [__NR_mmap2]: Make code unconditional.
17566 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17567 (__mmap64) [!__NR_mmap2]: Likewise.
17568
bc5bc0e5
AK
175692012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17570
17571 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17572
88d506de
AJ
175732012-08-18 Andreas Jaeger <aj@suse.de>
17574
17575 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17576
493387d2
MF
175772012-08-18 Mike Frysinger <vapier@gentoo.org>
17578
17579 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17580 * include/unistd.h (__have_sock_cloexec): Likewise.
17581 (__have_pipe2): Likewise.
17582 (__have_dup3): Likewise.
17583
a277af22
MF
175842012-08-18 Mike Frysinger <vapier@gentoo.org>
17585
17586 [BZ #9685]
17587 * include/unistd.h (__have_pipe2): Change define into an extern int.
17588 (__have_dup3): Likewise.
17589 * socket/have_sock_cloexec.c: Include fcntl.h.
17590 (__have_pipe2): New variable.
17591 (__have_dup3): Likewise.
17592
fdab8fd3
MF
175932012-08-17 Mike Frysinger <vapier@gentoo.org>
17594
17595 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17596
31035e80
MP
175972012-08-17 Marek Polacek <polacek@redhat.com>
17598
17599 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17600 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17601
3bd9e993
RM
176022012-08-17 Roland McGrath <roland@hack.frob.com>
17603
c91c505f
RM
17604 * configure.in: Add AC_SUBST for sysheaders.
17605 * configure: Regenerated.
17606 * config.make.in (sysheaders): New substituted variable.
17607
7c6f9d53
RM
17608 * sysdeps/unix/mkfifo.c: Moved ...
17609 * sysdeps/posix/mkfifo.c: ... here.
17610 * sysdeps/unix/mkfifoat.c: Moved ...
17611 * sysdeps/posix/mkfifoat.c: ... here.
17612
17613 * sysdeps/unix/utime.c: Moved ...
17614 * sysdeps/posix/utime.c: ... here.
17615
17616 * sysdeps/unix/time.c: Moved ...
17617 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17618 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17619 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17620
17621 * sysdeps/unix/nice.c: Moved ...
17622 * sysdeps/posix/nice.c: ... here.
17623
17624 * sysdeps/unix/alarm.c: Moved ...
17625 * sysdeps/posix/alarm.c: ... here.
17626
3bd9e993
RM
17627 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17628
d1f09384
JL
176292012-08-17 Jeff Law <law@redhat.com>
17630
17631 * intl/Makefile (codeset_mo): New variable.
17632 ($(codeset_mo)): New target.
17633 (tst-codeset.out): Depend on that. Remove explicit rule.
17634 (tst-gettext3.out, tst-gettext5.out): Likewise.
17635 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17636 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17637 * intl/tst-codeset.sh: Remove.
17638 * intl/tst-gettext3.sh: Likewise.
17639 * intl/tst-gettext5.sh: Likewise.
17640
2ae1ae5c
RM
176412012-08-17 Roland McGrath <roland@hack.frob.com>
17642
c31fdb83
RM
17643 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17644 * sysdeps/unix/syscalls.list: ... here.
17645
a0844057
RM
17646 * sysdeps/posix/getaddrinfo.c
17647 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17648 (gaiconf_init, gaiconf_reload): Use them.
17649 [!_STATBUF_ST_NSEC]
17650 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17651 Define using time_t rather than struct timespec.
17652
750c1f2a
RM
17653 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17654 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17655 Macros removed.
17656 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17657 [!NO_THREADS].
17658 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17659 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17660 Likewise.
17661
2ae1ae5c
RM
17662 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17663 __libc_cleanup_push argument.
17664
e66a42f5
RM
17665 * bits/param.h: New file.
17666 * misc/sys/param.h: New file.
17667 * include/sys/param.h: New file.
17668 * misc/Makefile (headers): Add bits/param.h.
17669 * sysdeps/generic/sys/param.h: File removed.
17670 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17671 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17672 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17673 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17674
b7c08a66
RM
17675 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17676 last change.
17677
b2e1c562
RM
17678 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17679 [_IO_MTSAFE_IO].
17680 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17681 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17682 New macros.
17683
c75ccd4c
RM
17684 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17685 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17686 rather than -D_IO_MTSAFE_IO conditionally.
17687 * stdio-common/Makefile (CPPFLAGS): Likewise.
17688 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17689 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17690 Use $(libio-mtsafe).
17691 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17692 of -D_IO_MTSAFE_IO.
17693 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17694 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17695 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17696 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17697 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17698 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17699 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17700 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17701 (CFLAGS-fread_u_chk.c): Likewise.
17702 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17703 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17704 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17705 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17706 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17707 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17708 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17709 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17710 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17711
17712 * libio/Makefile: Test [$(libc-reentrant) = yes]
17713 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17714
17715 * Makeconfig
17716 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17717 * sysdeps/pthread/configure: File removed.
17718 * sysdeps/pthread/Makeconfig: New file.
17719 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17720 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17721
d9195db8
GB
177222012-08-16 Gary Benson <gbenson@redhat.com>
17723
17724 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17725 unmapping the first object in a namespace.
17726
86466cd9
RM
177272012-08-16 Roland McGrath <roland@hack.frob.com>
17728
17729 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17730 (__internal_setnetgrent): ... this. Add internal_function to
17731 definition. Add libc_hidden_def.
17732 (setnetgrent): Update caller.
17733 (internal_endnetgrent): Renamed to ...
17734 (__internal_endnetgrent): ... this. Add internal_function to
17735 definition. Add libc_hidden_def.
17736 (endnetgrent): Update caller.
17737 (internal_getnetgrent_r): Renamed to ...
17738 (__internal_getnetgrent_r): ... this. Add internal_function to
17739 definition. Add libc_hidden_def.
17740 (__getnetgrent_r): Update caller.
17741 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17742
c3c8283c
JM
177432012-08-16 Joseph Myers <joseph@codesourcery.com>
17744
17745 * stdlib/longlong.h: Update from GCC.
17746
db1ee0a8
RM
177472012-08-16 Roland McGrath <roland@hack.frob.com>
17748
17749 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17750 on _QL, which is set by umul_ppmm but never used.
17751 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17752 variables, which are set by GMP macros but never used.
17753 * stdio-common/_itowa.c (_itowa): Likewise.
17754 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17755 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17756
30f69637
CD
177572012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17758
17759 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17760 struct La_sh_regs is not constant.
17761 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17762 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17763 and struct La_sparc64_regs are not constant.
17764
93a78ac4
JM
177652012-08-16 Joseph Myers <joseph@codesourcery.com>
17766
17767 * sysdeps/unix/sysv/linux/kernel-features.h
17768 (__ASSUME_POSIX_TIMERS): Remove.
17769 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17770 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17771 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17772 Make code unconditional.
17773 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17774 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17775 Make code unconditional.
17776 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17777 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17778 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17780 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17781 Make code unconditional.
17782 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17783 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17784 (__libc_missing_posix_timers): Remove.
17785
dd924cd7
RM
177862012-08-15 Roland McGrath <roland@hack.frob.com>
17787
4b4f2771
RM
17788 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17789 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17790
601c888b
RM
17791 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17792
176790a7
RM
17793 * elf/dl-sym.c: Include <stdlib.h>.
17794
329bc018
RM
17795 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17796 constants, which avoids warnings in 32-bit builds.
17797
e04e272d
RM
17798 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17799 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17800
952bf94a
RM
17801 * misc/lseek.c: File moved to ...
17802 * io/lseek.c: ... here.
17803
7c99b50a
RM
17804 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17805
dd924cd7
RM
17806 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17807 shifting LEN more than 31 bits at once.
17808
b3f479a8
LD
178092012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17810
17811 [BZ #14195]
8c4ae0d4
RM
17812 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17813 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17814 * string/test-strncasecmp.c (check1): Renamed to...
17815 (bz12205): ...this.
17816 (bz14195): Add new testcase for two empty input strings and N > 0.
17817 (test_main): Call new testcase, adapt for renamed function.
17818
9c55864e
AJ
178192012-08-15 Andreas Jaeger <aj@suse.de>
17820
17821 [BZ #14090]
17822 * crypt/md5test2.c: New test, based on test supplied by Serge
17823 Belyshev <belyshev@depni.sinp.msu.ru>.
17824 * crypt/Makefile (xtests): Add md5test-giant..
17825 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17826
02dcb6c5
PE
178272012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17828
17829 [BZ #14090]
17830 * crypt/md5.c (md5_process_block): Don't assume the buffer
17831 length is less than 2**32.
17832 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17833 length is less than 2**64.
17834
a3f95dcc
RM
178352012-08-15 Roland McGrath <roland@hack.frob.com>
17836
be75d758
RM
17837 * string/str-two-way.h: Include <sys/param.h>.
17838 (MAX): Macro removed.
17839
7312ca90
RM
17840 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17841 Move #define and #undef of memmove to just before and after
17842 including <string.h>.
17843
9a0a5486
RM
17844 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17845 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17846 and after including <string.h>. Move declarations of
17847 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17848 to before #include "string/memmove.c".
17849
67cc348d
RM
17850 * include/dirent.h: Declare __getdirentries.
17851
a3f95dcc
RM
17852 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17853 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17854
ca98e171
MF
178552012-08-14 Mike Frysinger <vapier@gentoo.org>
17856
17857 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17858 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17859 * sysdeps/i386/configure: Regenerated.
17860 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17861 STABS_CURRENT_FILE, and STABS_FUN.
17862 (END): Remove call to STABS_FUN_END.
17863 (STABS_CURRENT_FILE1): Delete.
17864 (STABS_CURRENT_FILE): Likewise.
17865 (STABS_FUN): Likewise.
17866 (STABS_FUN_END): Likewise.
17867 (STABS_FUN2): Likewise.
17868 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17869 * sysdeps/x86_64/configure: Regenerated.
17870
5908bf46
RM
178712012-08-14 Roland McGrath <roland@hack.frob.com>
17872
17873 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17874 * elf/dl-lookup.c: Likewise.
5908bf46 17875
f2c05b9e
JM
178762012-08-14 Joseph Myers <joseph@codesourcery.com>
17877
17878 * sysdeps/unix/sysv/linux/kernel-features.h
17879 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17880 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17881 unconditionally.
17882 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17883 unconditionally.
17884 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17885 condition on __ASSUME_CLONE_THREAD_FLAGS.
17886
e11f5155
AJ
178872012-08-14 Andreas Jaeger <aj@suse.de>
17888
17889 * sysdeps/i386/fpu/libm-test-ulps: Update.
17890
51a9ba86
MK
178912012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17892
2fdd4f78
AJ
17893 * include/atomic.h (atomic_exchange_and_add): Split into ...
17894 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17895 New atomic macros.
51a9ba86 17896
ba6cba9e
MT
178972012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17898
17899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17900
42443a47
JL
179012012-08-13 Jeff Law <law@redhat.com>
17902
17903 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17904 null byte in the output string.
17905
121dce05
JM
179062012-08-10 Joseph Myers <joseph@codesourcery.com>
17907
17908 * sysdeps/unix/sysv/linux/kernel-features.h
17909 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17910 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17911 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17912 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17913 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17914 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17915 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17916
bf51f568
JL
179172012-08-09 Jeff Law <law@redhat.com>
17918
17919 [BZ #13939]
17920 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17921 When avoid_arena is set, don't retry in the that arena. Pick the
17922 next one, whatever it might be.
17923 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17924 (arena_lock): Pass in new parameter to arena_get2.
17925 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17926 arena_get2.
17927 (__libc_malloc): Unify retrying after main arena failure with
17928 __libc_memalign version.
17929 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17930
f85fa270
L
179312012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17932
17933 [BZ #14166]
17934 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17935 to __redirect_strstr.
17936 (__strstr_sse42): Use typeof __redirect_strstr.
17937 (__strstr_ia32): Likewise.
17938 (__libc_strstr): New prototype.
17939 (strstr): Renamed to ...
17940 (__libc_strstr): This.
17941 (strstr): New strong alias of __libc_strstr.
17942 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17943 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17944 __redirect_time.
17945 Include <time.h>.
17946 (__libc_time): New prototype.
17947 (time_ifunc): Replace time with __libc_time.
17948 (time): New strong alias and hidden definition of __libc_time.
17949 (__GI_time): Remove strong alias.
17950 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17951 Include <stddef.h>.
17952 (memmove): Redefined to __redirect_memmove.
17953 (__memmove_sse2): Use typeof __redirect_memmove.
17954 (__memmove_ssse3): Likewise.
17955 (__memmove_ssse3_back): Likewise.
17956 (__libc_memmove): New prototype.
17957 (memmove): Renamed to ...
17958 (__libc_memmove): This.
17959 (memmove): New strong alias of __libc_memmove.
17960
33b4a91e
MS
179612012-08-08 Mark Salter <msalter@redhat.com>
17962
17963 * elf/elf.h
17964 (R_MN10300_TLS_GD): Define.
17965 (R_MN10300_TLS_LD): Likewise.
17966 (R_MN10300_TLS_LDO): Likewise.
17967 (R_MN10300_TLS_GOTIE): Likewise.
17968 (R_MN10300_TLS_IE): Likewise.
17969 (R_MN10300_TLS_LE): Likewise.
17970 (R_MN10300_TLS_DTPMOD): Likewise.
17971 (R_MN10300_TLS_DTPOFF): Likewise.
17972 (R_MN10300_TLS_TPOFF): Likewise.
17973 (R_MN10300_SYM_DIFF): Likewise.
17974 (R_MN10300_ALIGN): Likewise.
17975 (R_MN10300_NUM): Update.
17976
b36137f1
JM
179772012-08-08 Joseph Myers <joseph@codesourcery.com>
17978
17979 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17980 Remove.
17981
cdd915fd
RM
179822012-08-08 Roland McGrath <roland@hack.frob.com>
17983
a2433aac
RM
17984 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17985
cdd915fd
RM
17986 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17987 sysdeps/unix -> sysdeps/posix move.
17988 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17989
bf9b740a
AM
179902012-08-07 Allan McRae <allan@archlinux.org>
17991
17992 [BZ #14303]
17993 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17994 (SUNOS_CPP): Likewise.
17995 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17996 not found.
17997 (open_input): Call CPP using execvp.
17998
93df14ee
JM
179992012-08-07 Joseph Myers <joseph@codesourcery.com>
18000
18001 * sysdeps/unix/sysv/linux/kernel-features.h
18002 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18003 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18004 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18005 (__ASSUME_WAITID_SYSCALL): Likewise.
18006 * sysdeps/unix/sysv/linux/dl-execstack.c
18007 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18008 code unconditional.
18009 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18010 conditional code.
18011 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18012 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18013 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18014 code.
18015 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18016 unconditional.
18017 [__ASSUME_WAITID_SYSCALL]: Likewise.
18018 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18019
d34689de
RM
180202012-08-07 Roland McGrath <roland@hack.frob.com>
18021
a281decc
RM
18022 * sysdeps/unix/closedir.c: Renamed to ...
18023 * sysdeps/posix/closedir.c: ... here.
18024 * sysdeps/unix/dirfd.c: Renamed to ...
18025 * sysdeps/posix/dirfd.c: ... here.
18026 * sysdeps/unix/dirstream.h: Renamed to ...
18027 * sysdeps/posix/dirstream.h: ... here.
18028 * sysdeps/unix/fdopendir.c: Renamed to ...
18029 * sysdeps/posix/fdopendir.c: ... here.
18030 * sysdeps/unix/opendir.c: Renamed to ...
18031 * sysdeps/posix/opendir.c: ... here.
18032 * sysdeps/unix/readdir.c: Renamed to ...
18033 * sysdeps/posix/readdir.c: ... here.
18034 * sysdeps/unix/readdir_r.c: Renamed to ...
18035 * sysdeps/posix/readdir_r.c: ... here.
18036 * sysdeps/unix/rewinddir.c: Renamed to ...
18037 * sysdeps/posix/rewinddir.c: ... here.
18038 * sysdeps/unix/seekdir.c: Renamed to ...
18039 * sysdeps/posix/seekdir.c: ... here.
18040 * sysdeps/unix/telldir.c: Renamed to ...
18041 * sysdeps/posix/telldir.c: ... here.
18042 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18043 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18044 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18045 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18046
22895b47
RM
18047 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18048 * bits/fcntl.h: ... here.
18049
707a53b6
RM
18050 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18051 not 0.
18052 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18053 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18054 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18055 (struct flock): Move l_start, l_len to the beginning.
18056 Use __pid_t for l_pid.
18057 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18058 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18059 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18060 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18061 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18062 [__USE_LARGEFILE64] (struct flock64): New type.
18063 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18064
f0bd3e25
RM
18065 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18066 * bits/dirent.h: ... here.
18067
d34689de
RM
18068 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18069 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18070
6dad2c06
JM
180712012-08-07 Joseph Myers <joseph@codesourcery.com>
18072
18073 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18074 Change from 2.6.0 to 2.6.16.
18075 * sysdeps/unix/sysv/linux/configure: Regenerated.
18076 * sysdeps/unix/sysv/linux/kernel-features.h
18077 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18078 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18079 version.
18080 (__ASSUME_UTIMES): Likewise.
18081 (__ASSUME_CLONE_STOPPED): Remove.
18082 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18083 architectures, not kernel version.
18084 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18085 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18086 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18087 (__ASSUME_WAITID_SYSCALL): Likewise.
18088 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18089 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18090 * README: State 2.6.16 as minimum Linux kernel version. Do not
18091 refer to older versions.
18092
03af9520
RM
180932012-08-06 Roland McGrath <roland@hack.frob.com>
18094
8e49df1d
RM
18095 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18096 Define alphasort64 as an alias.
18097 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18098 Define versionsort64 as an alias.
18099 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18100 Define scandir64 as an alias.
18101 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18102 Define scandirat64 as an alias.
18103 * dirent/alphasort64.c (alphasort64):
18104 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18105 * dirent/versionsort64.c: Likewise.
18106 * dirent/scandir64.c: Likewise.
18107 * dirent/scandirat64.c: Likewise.
18108 * sysdeps/wordsize-64/alphasort.c: File removed.
18109 * sysdeps/wordsize-64/alphasort64.c: File removed.
18110 * sysdeps/wordsize-64/scandir.c: File removed.
18111 * sysdeps/wordsize-64/scandir64.c: File removed.
18112 * sysdeps/wordsize-64/scandirat.c: File removed.
18113 * sysdeps/wordsize-64/scandirat64.c: File removed.
18114 * sysdeps/wordsize-64/versionsort.c: File removed.
18115 * sysdeps/wordsize-64/versionsort64.c: File removed.
18116 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18117 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18118 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18119 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18120 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18121 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18122 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18123 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18124
18125 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18126 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18127 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18128 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18129 [defined __arch64__ || defined __sparcv9]
18130 (__INO_T_MATCHES_INO64_T): New macro.
18131 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18132 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18133 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18134 * sysdeps/unix/sysv/linux/bits/dirent.h
18135 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18136 (_DIRENT_MATCHES_DIRENT64): New macro.
18137
03af9520
RM
18138 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18139 Define lockf64 as an alias.
18140 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18141 Define fseeko64 as an alias.
18142 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18143 Define ftello64 as an alias.
18144 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18145 Define _IO_fgetpos64 and fgetpos64 as aliases.
18146 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18147 Define _IO_fsetpos64 and fsetpos64 as aliases.
18148 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18149 Conditionalize body on this.
18150 * libio/fseeko64.c: Likewise.
18151 * libio/ftello64.c: Likewise.
18152 * libio/iofgetpos64.c: Likewise.
18153 * libio/iofsetpos64.c: Likewise.
18154 * sysdeps/wordsize-64/lockf.c: File removed.
18155 * sysdeps/wordsize-64/lockf64.c: File removed.
18156 * sysdeps/wordsize-64/fseeko.c: File removed.
18157 * sysdeps/wordsize-64/fseeko64.c: File removed.
18158 * sysdeps/wordsize-64/ftello.c: File removed.
18159 * sysdeps/wordsize-64/ftello64.c: File removed.
18160 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18161 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18162 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18163 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18164 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18165 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18166 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18167 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18168 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18169 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18170 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18171 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18172 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18173 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18174
18175 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18176 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18177 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18178 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18179 [defined __arch64__ || defined __sparcv9]
18180 (__OFF_T_MATCHES_OFF64_T): New macro.
18181 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18182 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18184 (__OFF_T_MATCHES_OFF64_T): New macro.
18185
c5757acd
L
181862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18187
18188 * stdlib/secure-getenv.c (__secure_getenv): Replace
18189 GLIBC_2_16 with GLIBC_2_17.
18190
3a31811e
L
181912012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18192
18193 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18194 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18195
faa2bccb
DM
181962012-08-03 David S. Miller <davem@davemloft.net>
18197
18198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18199
85fe1997
JM
182002012-08-03 Joseph Myers <joseph@codesourcery.com>
18201
18202 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18203 Remove.
18204 (__ASSUME_CORRECT_SI_PID): Likewise.
18205 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18206 (__ASSUME_TMPFS_NAME): Likewise.
18207 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18208 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18209 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18210 (HAVE_AUX_SECURE): Make definition unconditional.
18211 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18212 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18213
4f75b7a0
RM
182142012-08-03 Roland McGrath <roland@hack.frob.com>
18215
18216 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18217 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18218 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18219 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18220 __eloop_threshold instead of SYMLOOP_MAX.
18221
18222 * sysdeps/generic/eloop-threshold.h: New file.
18223 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18224 of MAXSYMLINKS.
18225 * elf/chroot_canon.c (chroot_canon): Likewise.
18226
7aab07e4
JM
182272012-08-03 Joseph Myers <joseph@codesourcery.com>
18228
18229 [BZ #13717]
18230 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18231 Change to 2.6.0 everywhere.
18232 * sysdeps/unix/sysv/linux/configure: Regenerated.
18233 * sysdeps/unix/sysv/linux/kernel-features.h
18234 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18235 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18236 kernel versions.
18237 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18238 (__ASSUME_FUTEX_REQUEUE): Remove.
18239 (__ASSUME_STATFS64): Define unconditionally.
18240 (__ASSUME_AT_SECURE): Likewise.
18241 (__ASSUME_CORRECT_SI_PID): Likewise.
18242 (__ASSUME_TGKILL): Define without depending on kernel version for
18243 i386.
18244 (__ASSUME_UTIMES): Likewise.
18245 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18246 kernel version.
18247 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18248 (__ASSUME_TMPFS_NAME): Likewise.
18249 * README: Update reference to Linux kernel versions.
18250
b67e9372
MP
182512012-08-02 Marek Polacek <polacek@redhat.com>
18252
1f529f7d 18253 [BZ# 14150]
b67e9372
MP
18254 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18255 libc_cv_asm_type_prefix with %.
18256 * configure: Regenerated.
d2441631
RM
18257 * include/libc-symbols.h: Remove comment about
18258 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18259 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18260 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18261 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18262 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18263 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18264 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18265 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18266 * elf/tst-unique2mod1.c: Likewise.
18267 * elf/tst-unique1mod2.c: Likewise.
18268 * elf/tst-unique1mod1.c: Likewise.
18269 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18270 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18271 Replace ASM_TYPE_DIRECTIVE with .type.
18272 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18273 * sysdeps/i386/sysdep.h: Likewise.
18274 * sysdeps/x86_64/sysdep.h: Likewise.
18275 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18277 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18278 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18279 * sysdeps/powerpc/powerpc32/sysdep.h:
18280 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18281 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18282 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18283 * sysdeps/i386/fpu/e_powf.S: Likewise.
18284 * sysdeps/i386/fpu/e_expl.S: Likewise.
18285 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18286 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18287 * sysdeps/i386/fpu/e_pow.S: Likewise.
18288 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18289 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18290 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18291 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18292 * sysdeps/i386/fpu/e_log2.S: Likewise.
18293 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18294 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18295 * sysdeps/i386/fpu/e_powl.S: Likewise.
18296 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18297 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18298 * sysdeps/i386/fpu/e_logl.S: Likewise.
18299 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18300 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18301 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18302 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18303 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18304 * sysdeps/i386/fpu/e_log.S: Likewise.
18305 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18306 * sysdeps/i386/fpu/e_logf.S: Likewise.
18307 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18308 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18309 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18310 * sysdeps/i386/fpu/e_log10.S: Likewise.
18311 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18312 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18313 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18314 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18315 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18316 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18317 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18318 * sysdeps/i386/i686/strtok.S: Likewise.
18319 * sysdeps/i386/i386-mcount.S: Likewise.
18320 * sysdeps/i386/strtok.S: Likewise.
18321 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18322 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18323 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18324 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18325 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18326 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18327 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18328 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18329 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18330 * sysdeps/x86_64/_mcount.S: Likewise.
18331 * sysdeps/x86_64/strtok.S: Likewise.
18332 * sysdeps/sh/_mcount.S: Likewise.
18333
2747bf9a
RM
183342012-08-01 Roland McGrath <roland@hack.frob.com>
18335
18336 * libio/iofopen.c: Include <fcntl.h>.
18337 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18338 (_IO_fopen64, fopen64): Define as aliases.
18339 * libio/iofopen64.c: Include <fcntl.h>.
18340 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18341 Conditionalize body on this.
18342 * sysdeps/wordsize-64/iofopen.c: File removed.
18343 * sysdeps/wordsize-64/iofopen64.c: File removed.
18344
3fb791b8
MP
183452012-08-01 Marek Polacek <polacek@redhat.com>
18346
18347 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18348 Use dlfcn directly instead of a variable.
18349 (binfmt-subdir): Do not define.
18350 (dlfcn): Likewise.
18351
a9f1039f
JM
183522012-08-01 Joseph Myers <joseph@codesourcery.com>
18353
23bddc06
JM
18354 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18355 Remove all definitions.
18356 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18357 <kernel-features.h>.
18358 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18359 (miss_F_GETOWN_EX): Remove all definitions.
18360 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18361 macro definition.
18362 [!__ASSUME_FCNTL64]: Remove conditional code.
18363 [__ASSUME_FCNTL64]: Make code unconditional.
18364 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18365 <kernel-features.h>.
18366 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18367 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18368 (lockf64) [__NR_fcntl64]: Make code unconditional.
18369 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18370
a9f1039f
JM
18371 * sysdeps/unix/sysv/linux/kernel-features.h
18372 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18373 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18374 Make code unconditional.
18375 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18376 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18378 [__NR_vfork]: Make code unconditional.
18379 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18380 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18382 [__NR_vfork]: Make code unconditional.
18383 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18384 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18385
09c0ee5f
RM
183862012-08-01 Roland McGrath <roland@hack.frob.com>
18387
48aec5b9
RM
18388 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18389 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18390
cd97c966
RM
18391 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18392 Define mkstemp64 as an alias.
3f55550c
RM
18393 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18394 Define mkstemps64 as an alias.
cd97c966
RM
18395 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18396 Define mkostemp64 as an alias.
b8625cfc
RM
18397 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18398 Define mkostemps64 as an alias.
cd97c966
RM
18399 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18400 Conditionalize body on this.
18401 * misc/mkostemp64.c: Likewise.
b8625cfc 18402 * misc/mkostemps64.c: Likewise.
3f55550c 18403 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18404 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18405 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18406 * sysdeps/wordsize-64/mkostemp.c: File removed.
18407 * sysdeps/wordsize-64/mkstemp.c: File removed.
18408 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18409 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18410 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18411 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18412
09c0ee5f
RM
18413 [BZ #14138]
18414 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18415 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18416 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18417 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18418
18419 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18420 compat_symbol macros from <shlib-compat.h> rather than the underlying
18421 default_symbol_version and symbol_version macros, so that DEFAULT
18422 lines in shlib-versions are respected.
18423 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18424
7e66ee51
FW
184252012-08-01 Florian Weimer <fweimer@redhat.com>
18426
18427 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18428 Declare with warn_unused_result.
18429 (setgid, setregid, setegid, setresgid): Likewise.
18430 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18431 Likewise.
18432 * WUR-REPORT: Remove set*id functions.
18433
d2a54255
PT
184342012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18435
18436 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18437
7ecdb005
RM
184382012-07-31 Roland McGrath <roland@hack.frob.com>
18439
b4180a5e 18440 [BZ #10191]
789bd351
RM
18441 * include/sys/socket.h (__libc_accept, __libc_accept4):
18442 Add attribute_hidden.
18443 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18444
40ce302d
RM
18445 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18446 use of PTR_MANGLE.
18447 * inet/getnetgrent_r.c (setup): Likewise.
18448
7ecdb005
RM
18449 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18450
e2eabb2c
DM
184512012-07-31 David S. Miller <davem@davemloft.net>
18452
18453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18454
d0419dbf
JM
184552012-07-31 Joseph Myers <joseph@codesourcery.com>
18456
18457 [BZ #13629]
18458 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18459 value between 1.0 and 2.0 and smaller part has absolute value less
18460 than 1.0.
18461 * math/s_clog10.c (__clog10): Likewise.
18462 * math/s_clog10f.c (__clog10f): Likewise.
18463 * math/s_clog10l.c (__clog10l): Likewise.
18464 * math/s_clogf.c (__clogf): Likewise.
18465 * math/s_clogl.c (__clogl): Likewise.
18466 * math/libm-test.inc (clog_test): Add more tests.
18467 (clog10_test): Likewise.
18468 * sysdeps/i386/fpu/libm-test-ulps: Update.
18469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18470
2bc13872
FW
184712012-07-31 Florian Weimer <fweimer@redhat.com>
18472
18473 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18474 Exit with zero in case no suitable GID is found, and write a
18475 message to standard error.
18476
bea9b193
RM
184772012-07-30 Roland McGrath <roland@hack.frob.com>
18478
18479 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18480 rather than to 1.
18481 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18482 (MAXPATHLEN): Removed.
18483 (NOGROUP, NODEV): New macros.
18484 (setbit, clrbit, isset, isclr): New macros.
18485 (howmany, roundup, powerof2): New macros.
18486 (DEV_BSIZE): New macro.
18487
18488 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18489 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18490
18491 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18492 definition on [!__NO_LONG_DOUBLE_MATH].
18493
18494 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18495 PTR_MANGLE and PTR_DEMANGLE.
18496
18497 * socket/accept4.c (accept4): Rename to __libc_accept4.
18498 Define accept4 as a weak alias.
18499
18500 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18501 on [_DIRENT_HAVE_D_TYPE].
18502 * io/ftw.c (ftw_dir): Likewise.
18503
18504 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18505
18506 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18507
18508 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18509 Use the BSD numbers rather than the arbitrary ones we had.
18510 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18511 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18512 (SIGXCPU, SIGXFSZ): New macros.
18513 (_NSIG): Now 32.
18514
18515 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18516 initializer on [_LIBC_REENTRANT].
18517
18518 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18519 definitions inside [_POSIX_MAPPED_FILES].
18520
18521 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18522
18523 * dirent/opendir.c: Include <fcntl.h>.
18524
18525 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18526 (__libc_getspecific): Likewise.
18527 (__libc_key_create): Likewise.
18528
18529 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18530 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18531 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18532 (tmpfile64): Define as alias.
18533 * sysdeps/wordsize-64/tmpfile.c: File removed.
18534 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18535 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18536 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18537
18538 * stdio-common/vfscanf.c: Include <stdbool.h>.
18539 * nss/makedb.c: Likewise.
18540 * stdio-common/_i18n_number.h: Likewise.
18541 * argp/argp-help.c: Likewise.
18542 * posix/wordexp.c: Likewise.
18543 * sysdeps/posix/spawni.c: Likewise.
18544 * nss/nss_files/files-initgroups.c: Likewise.
18545 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18546 * nss/nss_files/files-initgroups.c: Likewise.
18547 * nss/nss_db/db-netgrp.c: Likewise.
18548 * nss/nss_db/db-initgroups.c: Likewise.
18549 * io/fchmodat.c: Include <sys/stat.h>.
18550
18551 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18552 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18553
18554 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18555 [HAVE_MMAP].
18556
18557 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18558 Add multiple inclusion protection.
18559
e5abc686
DM
185602012-07-27 David S. Miller <davem@davemloft.net>
18561
18562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18563
815e6fa3
GB
185642012-07-27 Gary Benson <gbenson@redhat.com>
18565
18566 [BZ #14298]
18567 * elf/rtld.c: Include <stap-probe.h>.
18568 (dl_main): Added static probes "init_start" and "init_complete".
18569 * elf/dl-load.c: Include <stap-probe.h>.
18570 (lose): Take new parameter "nsid".
18571 Added static probe "map_failed".
18572 (_dl_map_object_from_fd): Pass namespace id to lose.
18573 Added static probe "map_start".
18574 (open_verify): Pass namespace id to lose.
18575 * elf/dl-open.c: Include <stap-probe.h>.
18576 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18577 and "reloc_complete".
18578 * elf/dl-close.c: Include <stap-probe.h>.
18579 (_dl_close_worker): Added static probes "unmap_start" and
18580 "unmap_complete".
18581 * elf/rtld-debugger-interface.txt: New file documenting the above.
18582
9f98c16c
RM
185832012-07-26 Roland McGrath <roland@hack.frob.com>
18584
18585 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18586 rather than a string variable.
18587 * sunrpc/rpc_main.c (h_output): Likewise.
18588 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18589
f3c22df3
PT
185902012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18591
18592 * inet/check_native.c: New file.
18593
3129cfc6
JM
185942012-07-26 Joseph Myers <joseph@codesourcery.com>
18595
da865e95
JM
18596 [BZ #13629]
18597 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18598 if larger part has absolute value 1.0.
18599 * math/s_clog10.c (__clog10): Likewise.
18600 * math/s_clog10f.c (__clog10f): Likewise.
18601 * math/s_clog10l.c (__clog10l): Likewise.
18602 * math/s_clogf.c (__clogf): Likewise.
18603 * math/s_clogl.c (__clogl): Likewise.
18604 * math/libm-test.inc (clog_test): Add more tests.
18605 (clog10_test): Likewise.
18606 * sysdeps/i386/fpu/libm-test-ulps: Update.
18607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18608
3129cfc6
JM
18609 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18610 (pltexit): Likewise.
18611 (La_regs): Likewise.
18612 (La_retval): Likewise.
18613 (int_retval): Likewise.
18614 Update #error for removed macros to refer only to definitions in
18615 tst-audit.h.
18616 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18617 macro.
18618 (pltexit): Likewise.
18619 (La_regs): Likewise.
18620 (La_retval): Likewise.
18621 (int_retval): Likewise.
18622 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18623 macro.
18624 (pltexit): Likewise.
18625 (La_regs): Likewise.
18626 (La_retval): Likewise.
18627 (int_retval): Likewise.
18628 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18629 macro.
18630 (pltexit): Likewise.
18631 (La_regs): Likewise.
18632 (La_retval): Likewise.
18633 (int_retval): Likewise.
18634 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18635 macro.
18636 (pltexit): Likewise.
18637 (La_regs): Likewise.
18638 (La_retval): Likewise.
18639 (int_retval): Likewise.
18640 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18641 macro.
18642 (pltexit): Likewise.
18643 (La_regs): Likewise.
18644 (La_retval): Likewise.
18645 (int_retval): Likewise.
18646 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18647 macro.
18648 (pltexit): Likewise.
18649 (La_regs): Likewise.
18650 (La_retval): Likewise.
18651 (int_retval): Likewise.
18652 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18653 macro definitions in tst-audit.h.
18654 * sysdeps/i386/tst-audit.h: New file.
18655 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18656 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18657 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18658 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18659 * sysdeps/sh/tst-audit.h: Likewise.
18660 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18661 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18662 * sysdeps/x86_64/tst-audit.h: Likewise.
18663
bfc07087
AJ
186642012-07-26 Andreas Jaeger <aj@suse.de>
18665
b1b2aaf8
AJ
18666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18667 ptrace.
18668
18669 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18670 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18671 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18672 PTRACE_O_MASK.
18673 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18674 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18675 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18676
bfc07087
AJ
18677 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18678 value.
18679
18680 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18681 _sigsys.
18682 (si_call_addr, si_syscall, si_arch): Define new macro.
18683 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18684 _sigsys.
18685 (si_call_addr, si_syscall, si_arch): Define new marcro.
18686 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18687 _sigsys.
18688 (si_call_addr, si_syscall, si_arch): Define new macro.
18689 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18690 _sigsys.
18691 (si_call_addr, si_syscall, si_arch): Define new macro.
18692
89b4b02f
JM
186932012-07-25 Joseph Myers <joseph@codesourcery.com>
18694
18695 [BZ #13717]
18696 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18697 Change to 2.4.21 where previously 2.4.1.
18698 * sysdeps/unix/sysv/linux/configure: Regenerated.
18699 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18700 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18701 Linux kernel version.
18702 (__ASSUME_STD_AUXV): Remove.
18703 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18704 kernel version.
18705 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18706 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18707 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18708 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18709 (__ASSUME_NETLINK_SUPPORT): Likewise.
18710 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18711 (__no_netlink_support): Remove conditional definition.
18712 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18713 Remove.
18714 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18715 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18716 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18717 (if_nameindex_ioctl): Remove.
18718 (if_nameindex_netlink): Do not handle __no_netlink_support.
18719 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18720 code.
18721 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18722 Remove conditional code.
18723 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18724 code.
18725 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18726 unconditional.
18727 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18728 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18729 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18730 Remove.
18731 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18732 [!__ASSUME_STD_AUXV]: Remove conditional code.
18733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18734 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18735 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18737 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18738 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18739 code.
18740 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18742 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18743 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18744 conditional code.
18745 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18747 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18748 code.
18749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18750 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18751 conditional code.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18753 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18754 code unconditional.
18755 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18756 conditional code.
18757 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18758 unconditional.
18759 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18760 conditional code.
18761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18762 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18763 unconditional.
18764 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18765 conditional code.
18766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18767 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18768 code unconditional.
18769 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18770 conditional code.
18771 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18772 unconditional.
18773 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18774 conditional code.
18775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18776 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18777 code unconditional.
18778 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18779 conditional code.
18780 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18781 unconditional.
18782 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18783 conditional code.
18784
842a39cd
AS
187852012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18786
18787 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18788 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18789 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18790 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18791 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18792 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18793 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18794 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18795 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18796 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18797 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18798 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18799 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18800 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18801 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18802 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18803 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18804 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18805 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18807 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18808 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18809 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18810
84b3fd84
FW
188112012-07-25 Florian Weimer <fweimer@redhat.com>
18812
18813 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18814 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18815 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18816 Introduce __libc_secure_getenv.
0c7936d5
FW
18817 * stdlib/Versions (2.17): Add secure_getenv
18818 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18819 * stdlib/secure-getenv.c: Rename __secure_getenv to
18820 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18821 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18822 * stdlib/tst-secure-getenv.c: New.
18823 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18824 * manual/startup.texi (Environment Access): Document
18825 secure_getenv.
84b3fd84
FW
18826 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18827 __libc_secure_getenv.
18828 * inet/ruserpass.c (ruserpass): Likewise.
18829 * malloc/mtrace.c (mtrace): Likewise.
18830 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18831 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18832 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18833 * sysdeps/posix/tempname.c: Likewise. Evaluate
18834 HAVE_SECURE_GETENV.
18835 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18836 __secure_getenv to __libc_secure_getenv.
84b3fd84 18837 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18839 Likewise.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18841 Likewise.
18842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18849
56e49b71
JM
188502012-07-25 Joseph Myers <joseph@codesourcery.com>
18851
18852 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18853 (struct La_i86_retval): Likewise.
18854 (struct La_x86_64_regs): Likewise.
18855 (struct La_x86_64_retval): Likewise.
18856 (struct La_x32_regs): Likewise.
18857 (struct La_x32_retval): Likewise.
18858 (struct La_ppc32_regs): Likewise.
18859 (struct La_ppc32_retval): Likewise.
18860 (struct La_ppc64_regs): Likewise.
18861 (struct La_ppc64_retval): Likewise.
18862 (struct La_sh_regs): Likewise.
18863 (struct La_sh_retval): Likewise.
18864 (struct La_s390_32_regs): Likewise.
18865 (struct La_s390_32_retval): Likewise.
18866 (struct La_s390_64_regs): Likewise.
18867 (struct La_s390_64_retval): Likewise.
18868 (struct La_sparc32_regs): Likewise.
18869 (struct La_sparc32_retval): Likewise.
18870 (struct La_sparc64_regs): Likewise.
18871 (struct La_sparc64_retval): Likewise.
18872 (struct audit_ifaces): Remove architecture-specific pltenter and
18873 pltexit members.
18874 * sysdeps/i386/ldsodefs.h: New file.
18875 * sysdeps/powerpc/ldsodefs.h: Likewise.
18876 * sysdeps/s390/ldsodefs.h: Likewise.
18877 * sysdeps/sh/ldsodefs.h: Likewise.
18878 * sysdeps/sparc/ldsodefs.h: Likewise.
18879 * sysdeps/x86_64/ldsodefs.h: Likewise.
18880
354691b7
MP
188812012-07-25 Marek Polacek <polacek@redhat.com>
18882
18883 [BZ #6808]
18884 * math/libm-test.inc (yn_test): Add another test.
18885 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18886 to ERANGE when the result is +-Inf.
18887 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18888 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18889 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18890 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18891
bf9e2071
JM
188922012-07-24 Joseph Myers <joseph@codesourcery.com>
18893
18894 * conform/data/time.h-data (NULL): Use macro-constant. Require
18895 equal to 0.
18896 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18897 clock_t.
18898 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18899
57633811
TS
189002012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18901
18902 * configure.in <sysdeps resolving>: Correct printing
18903 Implies_before.
18904 * configure: Regenerate.
18905
c23c33b0
TS
189062012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18907
18908 * math/w_ilogb.c: Include <limits.h>.
18909 * math/w_ilogbl.c: Likewise.
18910
b5982523
JM
189112012-07-20 Joseph Myers <joseph@codesourcery.com>
18912
18913 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18914 va_copy. Document allowing for unavailable va_copy only as
18915 pre-C99 compatibility.
18916 * manual/string.texi (Copying and Concatenation): Use va_copy
18917 instead of __va_copy in concat example.
18918
ac4ea442
PT
189192012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18920
18921 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18922 (__sendto): Use create_address_port. Initialize APORT and deallocate
18923 it if not null.
18924
f98eafbd
PT
18925 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18926 with O_NOLINK passed to __file_name_lookup.
18927
898c7aab
PT
18928 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18929 with O_NOLINK passed to __file_name_lookup.
18930
0ced335a
PT
18931 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18932 negative N or less than NGIDS.
18933
b3404dbd
PT
18934 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18935 type to string_t. Set ERANGE as errno and return it if NAME is not big
18936 enough. Use memcpy instead of strncpy.
18937
0f48659e
JM
189382012-07-20 Joseph Myers <joseph@codesourcery.com>
18939
18940 * elf/Makefile (check-data): Remove.
18941 (localplt.data): New vpath directive.
18942 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18943 instead of $(check-data).
18944 * scripts/data/localplt-generic.data: Move to ...
18945 * sysdeps/generic/localplt.data: ... here.
18946 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18947 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18948 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18950 ... here.
18951 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18953 ... here.
18954 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18956 ... here.
18957 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18959 ... here.
18960 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18962 ... here.
18963 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18965 ... here.
18966
d37cbdaa
AZ
189672012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18968
18969 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18970 PPC32 and PPC64 files.
18971 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18972 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18973
46f85fc2
AK
189742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18975
18976 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18977 __makecontext_ret to ...
18978 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18979 ... here and call exit if uc_link is NULL. New file.
18980 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18981 __makecontext_ret.S.
18982 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18983 __makecontext_ret to ...
18984 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18985 ... here and call exit if uc_link is NULL. New file.
18986 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18987 __makecontext_ret.S.
18988
08f43f9b
AK
189892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18990
18991 * elf/elf.h (R_390_IRELATIVE): New definition.
18992 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18993 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18994 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18995 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18996 (elf_machine_lazy_rel): Likewise.
18997 * sysdeps/s390/dl-irel.h: New file.
18998 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18999 * sysdeps/s390/s390-64/memset.S: New asm code.
19000 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19001 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19002 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19003 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19004 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19005 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19006 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19007 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19008 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19009 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19010 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19011 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19012 * sysdeps/s390/s390-32/memset.S: New asm code.
19013 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19014
3b05db33
MP
190152012-07-17 Marek Polacek <polacek@redhat.com>
19016
19017 [BZ #14349]
19018 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19019 * sysdeps/s390/s390-64/configure.in: Likewise.
19020 * sysdeps/sparc/configure.in: Likewise.
19021 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19022 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19023 * sysdeps/i386/configure.in: Likewise.
19024 * sysdeps/x86_64/configure.in: Likewise.
19025 * sysdeps/sh/configure.in: Likewise.
19026 * sysdeps/s390/s390-32/configure: Regenerated.
19027 * sysdeps/s390/s390-64/configure: Likewise.
19028 * sysdeps/x86_64/configure: Likewise.
19029 * sysdeps/sh/configure: Likewise.
19030 * sysdeps/powerpc/powerpc64/configure: Likewise.
19031 * sysdeps/powerpc/powerpc32/configure: Likewise.
19032 * sysdeps/sparc/configure: Likwise.
19033 * sysdeps/i386/configure: Likewise.
19034
a66877c6
MP
19035 * elf/dl-open.c: Comment fixes.
19036
cfc82fd8
JM
190372012-07-17 Joseph Myers <joseph@codesourcery.com>
19038
bd29910a
JM
19039 * Makefile [CXX] (check-data): Remove.
19040 [CXX] (c++-types.data): New vpath directive.
19041 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19042 vpath. Do not allow for C++ type data being missing.
19043 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19044 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19045 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19046 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19047 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19048 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19049 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19051 ... here.
19052 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19054 ... here.
19055 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19057 ... here.
19058 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19060 ... here.
19061 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19063 ... here.
19064 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19066 ... here.
19067 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19069 ... here.
19070 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19072
cfc82fd8
JM
19073 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19074 definitions to architecture-specific files.
19075 (TLS_IE): Likewise.
19076 (TLS_LD): Likewise.
19077 (TLS_GD): Likewise.
19078 * sysdeps/i386/tls-macros.h: New file.
19079 * sysdeps/powerpc/tls-macros.h: Likewise.
19080 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19081 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19082 * sysdeps/sh/tls-macros.h: Likewise.
19083 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19084 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19085 * sysdeps/x86_64/tls-macros.h: Likewise.
19086
f7db3170
TS
190872012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19088
07cbfc23
TS
19089 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19090 zero value for regular exit case.
19091
f7db3170
TS
19092 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19093 (__start_context): Preserve zero value for regular exit case.
19094
dc97c227
TS
190952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19096 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19097
19098 * manual/setjmp.texi (setcontext): Clarify normal process
19099 termination when uc_link is the null pointer.
19100 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19101 exit call.
19102
d0cd7d02
AS
191032012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19104
19105 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19106 preprocessor. Test for each exception mask separately.
19107
dd318934
AJ
191082012-07-16 Andreas Jaeger <aj@suse.de>
19109
19110 * po/ru.po: Update from translation team.
19111
8048311a
JM
191122012-07-15 Joseph Myers <joseph@codesourcery.com>
19113
19114 * conform/data/string.h-data (NULL): Use macro-constant. Require
19115 equal to 0.
19116 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19117 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19118 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19119 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19120 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19121
b637d46e
AJ
191222012-07-13 Andreas Jaeger <aj@suse.de>
19123
19124 * po/fr.po: Update from translation team.
19125
541428fe
MP
191262012-07-12 Marek Polacek <polacek@redhat.com>
19127
19128 [BZ #14173]
19129 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19130 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19131 loop condition.
19132
ec332e94
JM
191332012-07-12 Joseph Myers <joseph@codesourcery.com>
19134
19135 [BZ #13717]
19136 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19137 Change to 2.4.1 where previously 2.4.0.
19138 * sysdeps/unix/sysv/linux/configure: Regenerated.
19139 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19140 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19141 version.
19142 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19143 (__ASSUME_AT_CLKTCK): Remove.
19144 (__ASSUME_AT_PAGESIZE): Likewise.
19145 (__ASSUME_AT_XID): Likewise.
19146 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19147 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19148 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19149 unconditionally.
19150 (HAVE_AUX_PAGESIZE): Likewise.
19151 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19152 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19153 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19154
7b6e99be
JB
191552012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19156
19157 [BZ #14307]
19158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19159 the temporary buffer used to invoke __gethostbyname2_r,
19160 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19161 host_data / struct gaih_addrtuple.
19162 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19163 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19164 header file nss/nsswitch.h.
19165 * nss/nsswitch.h (global scope): Add definition of implementation
19166 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19167 resolv/nss_dns/dns-host.c).
19168
608404eb
AJ
191692012-07-11 Andreas Jaeger <aj@suse.de>
19170
19171 * po/fr.po: Update from translation team.
19172
71220aca
AJ
19173 * po/sv.po: Update from translation team
19174 * po/fr.po: Another update from translation team.
19175
28cfe843
AZ
191762012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19177
19178 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19179 for subnormals or multiply small sinh result by itself.
19180 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19182
6b90f981
DM
191832012-07-11 David S. Miller <davem@davemloft.net>
19184
19185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19186
c6825772
AS
191872012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19188
19189 [BZ #14347]
19190 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19191 (INTERNAL_MARK): Shift it here.
19192
7b8e0d49
MP
191932012-07-10 Marek Polacek <polacek@redhat.com>
19194
19195 [BZ #14151]
19196 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19197 libc_cv_asm_global_directive with .globl.
19198 * configure: Regenerated.
19199 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19200 with .globl.
19201 * sysdeps/i386/configure: Regenerated.
19202 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19203 with .globl.
19204 * sysdeps/x86_64/configure: Regenerated.
19205 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19206 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19207 * elf/tst-unique2mod2.c: Likewise.
19208 * elf/tst-unique2mod1.c: Likewise.
19209 * elf/tst-unique1mod2.c: Likewise.
19210 * elf/tst-unique1mod1.c: Likewise.
19211 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19212 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19213 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19214 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19215 * sysdeps/mach/sysdep.h: Likewise.
19216 * sysdeps/i386/sysdep.h: Likewise.
19217 * sysdeps/i386/i386-mcount.S: Likewise.
19218 * sysdeps/x86_64/_mcount.S: Likewise.
19219 * sysdeps/x86_64/sysdep.h: Likewise.
19220 * sysdeps/sh/_mcount.S: Likewise.
19221 * sysdeps/sh/sysdep.h: Likewise.
19222 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19223 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19224 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19225 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19226 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19227 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19228 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19229 * locale/localeinfo.h: Likewise.
19230 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19231 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19232
6c55cda3
RM
192332012-07-09 Roland McGrath <roland@hack.frob.com>
19234
19235 [BZ #14336]
19236 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19237 system".
19238 * manual/message.texi (The Uniforum approach): Likewise.
19239 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19240 (glibc iconv Implementation): Likewise.
19241
638a572e
JM
192422012-07-09 Joseph Myers <joseph@codesourcery.com>
19243
19244 [BZ #14337]
19245 * math/s_clog.c (__clog): Avoid scaling a value down where that
19246 could result in underflow.
19247 * math/s_clog10.c (__clog10): Likewise.
19248 * math/s_clog10f.c (__clog10f): Likewise.
19249 * math/s_clog10l.c (__clog10l): Likewise.
19250 * math/s_clogf.c (__clogf): Likewise.
19251 * math/s_clogl.c (__clogl): Likewise.
19252 * math/libm-test.inc (clog_test): Add more tests.
19253 (clog10_test): Likewise.
19254 * sysdeps/i386/fpu/libm-test-ulps: Update.
19255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19256
261f4859
AS
192572012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19258
0abaf3e4
AS
19259 [BZ #14283]
19260 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19261 by 7 not 8 to examine high bit of fractional part.
19262
261f4859
AS
19263 [BZ #14042]
19264 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19265 for call to __mcount_internal.
19266 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19267 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19268 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19269
f17ac40d
JM
192702012-07-06 Joseph Myers <joseph@codesourcery.com>
19271
9ad63c23
JM
19272 [BZ #14154]
19273 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19274 approximation for values within 0x1p-13f of an odd multiple of
19275 pi/4.
19276 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19277 exception. Add more tests.
19278 * sysdeps/i386/fpu/libm-test-ulps: Update.
19279
f17ac40d
JM
19280 [BZ #6778]
19281 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19282 inputs and return -1 for them. Do not check for +Inf in case not
19283 reachable for +Inf.
19284 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19285 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19286 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19287 and return -1 for them. Do not check for +Inf in case not
19288 reachable for +Inf.
19289 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19290 define.
19291 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19292 and return -1 for them. Do not check for +Inf in case not
19293 reachable for +Inf.
19294 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19295 spurious underflow.
19296 * sysdeps/i386/fpu/libm-test-ulps: Update.
19297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19298
fb21f89b
MF
192992012-07-06 Mike Frysinger <vapier@gentoo.org>
19300
19301 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19302
cdfe2c5e
JM
193032012-07-05 Joseph Myers <joseph@codesourcery.com>
19304
19305 [BZ #14157]
19306 [BZ #14331]
19307 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19308 could result in spurious underflow. Scale down values above
19309 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19310 * math/s_csqrtf.c (__csqrtf): Likewise.
19311 * math/s_csqrtl.c (__csqrtl): Likewise.
19312 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19313 spurious underflow.
19314 * sysdeps/i386/fpu/libm-test-ulps: Update.
19315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19316
70d35b67
AS
193172012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19318
704bc459
AS
19319 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19320 xopen-msg.sed.
19321 * catgets/xopen-msg.awk: New file.
19322 * catgets/xopen-msg.sed: Removed.
19323
70d35b67
AS
19324 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19325 po2text.sed.
19326 * intl/po2test.awk: New file.
19327 * intl/po2test.sed: Removed.
19328
ca61cf32
JM
193292012-07-04 Joseph Myers <joseph@codesourcery.com>
19330
19331 [BZ #14328]
19332 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19333 or multiply small sinh result by itself.
19334 * math/s_ctanf.c (__ctanf): Likewise.
19335 * math/s_ctanh.c (__ctanh): Likewise.
19336 * math/s_ctanhf.c (__ctanhf): Likewise.
19337 * math/s_ctanhl.c (__ctanhl): Likewise.
19338 * math/s_ctanl.c (__ctanl): Likewise.
19339 * math/libm-test.inc (ctan_test_tonearest): New function.
19340 (ctan_test_towardzero): Likewise.
19341 (ctan_test_downward): Likewise.
19342 (ctan_test_upward): Likewise.
19343 (ctanh_test_tonearest): Likewise.
19344 (ctanh_test_towardzero): Likewise.
19345 (ctanh_test_downward): Likewise.
19346 (ctanh_test_upward): Likewise.
19347 (main): Call these new functions.
19348 * sysdeps/i386/fpu/libm-test-ulps: Update.
19349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19350
ca48a46a
MF
193512012-07-03 Mike Frysinger <vapier@gentoo.org>
19352
19353 * .gitignore: Delete /ports entry.
19354
9d63d37d
AJ
193552012-07-03 Andreas Jaeger <aj@suse.de>
19356
19357 * po/bg.po: Update from translation team.
19358 * po/cs.po: Likewise.
19359 * po/de.po: Likewise.
19360 * po/hr.po: Likewise.
19361 * po/nl.pl: Likewise.
19362 * po/pl.po: Likewise.
19363 * po/vi.po: Likewise.
19364
370ca3d2
JM
193652012-07-03 Joseph Myers <joseph@codesourcery.com>
19366
95f5a9a8
JM
19367 * Makeconfig [!+link] (+link-before-libc): New variable.
19368 [!+link] (+link-after-libc): Likewise.
19369 [!+link] (+link-tests): Likewise.
19370 [!+link] (+link): Define in terms of $(+link-before-libc) and
19371 $(+link-after-libc).
19372 [!+link-static] (+link-static-before-libc): New variable.
19373 [!+link-static] (+link-static-after-libc): Likewise.
19374 [!+link-static] (+link-static-tests): Likewise.
19375 [!+link-static] (+link-static): Define in terms of
19376 $(+link-static-before-libc) and $(+link-static-after-libc).
19377 [build-shared] (link-libc-before-gnulib): New variable.
19378 [build-shared] (link-libc-tests): Likewise.
19379 [build-shared] (link-libc): Define in terms of
19380 $(link-libc-before-gnulib).
19381 [!build-shared] (link-libc-tests): New variable.
19382 (link-libc-static-tests): New variable.
19383 [!gnulib] (gnulib-arch): New variable.
19384 [!gnulib] (gnulib-tests): Likewise.
19385 [!gnulib] (static-gnulib-arch): Likewise.
19386 [!gnulib] (static-gnulib-tests): Likewise.
19387 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19388 Define with "=" instead of ":=".
19389 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19390 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19391 * Rules (binaries-all-notests): New variable.
19392 (binaries-all-tests): Likewise.
19393 (binaries-static-notests): Likewise.
19394 (binaries-static-tests): Likewise.
19395 (binaries-all): Define using $(binaries-all-notests) and
19396 $(binaries-all-tests).
19397 (binaries-static): Define using $(binaries-static-notests) and
19398 $(binaries-static-tests).
19399 (binaries-shared-tests): New variable.
19400 (binaries-shared-notests): Likewise.
19401 (binaries-shared): Remove variable.
19402 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19403 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19404 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19405 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19406 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19407 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19408 * elf/Makefile (sln-modules): New variable.
19409 (extra-objs): Add $(sln-modules:=.o).
19410 (ldconfig-modules): Add static-stubs.
19411 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19412 * elf/static-stubs.c: New file.
19413
7a845b2c
JM
19414 [BZ #14283]
19415 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19416 by 7 not 8 to examine high bit of fractional part. Use volatile
19417 variables when splitting into final array of floats if
19418 __FLT_EVAL_METHOD__ != 0.
19419 * math/libm-test.inc (cos_test): Add another test.
19420 (sin_test): Likewise.
19421 * sysdeps/i386/fpu/libm-test-ulps: Update.
19422
e2283f38
JM
19423 [BZ #14273]
19424 * math/libm-test.inc (cosh_test): Add more tests.
19425
370ca3d2
JM
19426 * version.h (RELEASE): Set to "development".
19427 (VERSION): Set to "2.16.90".
19428
ee9247c3
CD
194292012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19430
19431 * NEWS: Update copyright. Remove last-updated date.
19432 Mention math library bug fixes and timezone data changes.
19433 * README: Mention GNU/Hurd, x32, and HPPA support status.
19434
4648c381
TS
194352012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19436
19437 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19438
aac78a43
AJ
194392012-06-27 Andreas Jaeger <aj@suse.de>
19440
19441 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19442
ed3dbfad
AJ
194432012-06-25 Andreas Jaeger <aj@suse.de>
19444
19445 * sysdeps/s390/fpu/libm-test-ulps: Update.
19446
4d0ee855
AS
194472012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19448 Thomas Schwinge <thomas@codesourcery.com>
19449
19450 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19451 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19452 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19453 fanotify_mark.
19454
af1bce34
TS
194552012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19456
a9fa33ba
TS
19457 * sysdeps/mach/start.c: Remove file.
19458 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19459 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19460 * sysdeps/sh/init-first.c: Likewise.
19461
58f902b8
TS
19462 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19463 registers for frame unwinding purposes, add CFI directives.
19464 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19465 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19466 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19467 Likewise.
19468
1518f58b
TS
19469 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19470 __fortify_fail returning.
19471 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19472
db9b5059
TS
19473 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19474 sysdeps/sh/____longjmp_chk.S.
19475 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19476 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19477 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19478 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19479
967705fe
TS
19480 * sysdeps/sh/abort-instr.h: New file.
19481 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19482 process in case exit returns.
19483
a9def8c4
TS
19484 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19485 initialize the GOT register before use.
19486
2a649725
TS
19487 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19488 calculation of ARGC > 4.
19489
af1bce34
TS
19490 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19491 meaningful names to some local labels.
19492
d230f50a
KK
194932012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19494 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19495
19496 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19497 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19498 (__arch_compare_and_exchange_val_16_acq): Likewise.
19499 (__arch_compare_and_exchange_val_32_acq): Likewise.
19500 (atomic_exchange_and_add): Fix gUSA sequence.
19501 (atomic_add): Likewise.
19502 (atomic_add_negative): Likewise.
19503 (atomic_add_zero): Likewise.
19504 (atomic_bit_test_set): Likewise.
19505
0479b305
AS
195062012-06-22 Andreas Schwab <schwab@redhat.com>
19507
19508 [BZ #13579]
19509 * include/link.h (struct link_map): Add l_free_initfini.
19510 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19511 l_initfini.
19512 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19513 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19514 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19515 set.
19516
0e3933b9
CD
195172012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19518
19519 * configure.in: Use AC_LANG_SOURCE.
19520 * configure: Regenerate.
19521
4248b1b1
RM
195222012-06-22 Roland McGrath <roland@hack.frob.com>
19523
19524 * configure.in (libc_cv_localstatedir): New substituted variable.
19525 * configure: Regenerated.
19526 * config.make.in (localstatedir): New variable, substituted from
19527 libc_cv_localstatedir.
19528 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19529 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19530 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19531 * sysdeps/gnu/configure: Regenerated.
19532
006dd861
JL
195332012-06-21 Jeff Law <law@redhat.com>
19534
19535 [BZ #14277]
19536 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19537 free. Simplify list management for _LIBC case.
19538
79662d42
JM
195392012-06-21 Joseph Myers <joseph@codesourcery.com>
19540
b7abb4bf
JM
19541 [BZ #14273]
19542 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19543 Clear sign bit of 64-bit integer value before comparing against
19544 overflow value.
19545
79662d42
JM
19546 * sysdeps/mach/configure: Regenerated.
19547
1f150908
L
195482012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19549
19550 [BZ #14278]
19551 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19552
28363bbf
JL
195532012-06-21 Jeff Law <law@redhat.com>
19554
19555 [BZ #13882]
19556 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19557 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19558 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19559 * elf/dl-open.c (dl_open_worker): Likewise.
19560
09615db4
CD
195612012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19562
19563 * scripts/list-sources.sh: Scan PORTS for translations.
19564 * po/libc.pot: Regenerated.
19565
2174c6dd
AJ
195662012-06-21 Andreas Jaeger <aj@suse.de>
19567
19568 [BZ #12194]
19569 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19570 warning.
19571 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19572 * bits/byteswap-16.h (__bswap_16): Likewise.
19573 * bits/byteswap.h (__bswap_constant_16): Likewise.
19574
3ee947b1
L
195752012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19576
19577 [BZ #14117]
a2f34833
L
19578 * sysdeps/i386/fpu_control.h: Removed.
19579 * sysdeps/x86_64/fpu_control.h: Moved to ...
19580 * sysdeps/x86/fpu_control.h: Here.
19581
3ee947b1
L
19582 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19583 (_FPU_SETCW): Likewise.
19584
ed1825f8
L
195852012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19586
25f1282a
L
19587 [BZ #14117]
19588 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19589 * sysdeps/x86/fpu/bits/mathinline.h: This.
19590 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19591
ed1825f8
L
19592 [BZ #14050]
19593 [BZ #14117]
19594 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19595 functions if __x86_64__ is defined.
19596
36d54b74
CLT
195972012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19598
19599 * string/endian.h: Add !__ASSEMBLER__ condition for including
19600 conversion interfaces.
19601
10285c21
JM
196022012-06-15 Joseph Myers <joseph@codesourcery.com>
19603
19604 [BZ #14241]
19605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19606 of ABS(x) in calculating zero to negative powers other than odd
19607 integers.
19608 * math/libm-test.inc (pow_test): Add more tests.
19609
06c5abbd
AJ
196102012-06-15 Andreas Jaeger <aj@suse.de>
19611
19612 * manual/contrib.texi (Contributors): Update entry of Liubov
19613 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19614 Machado Filho.
19615
a3aeac40
CH
196162012-06-15 Cyril Hrubis <metan@ucw.cz>
19617
19618 * string/string.h: Add __wur to GNU version of strerror_r.
19619
49bdf4c1
L
196202012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19621
19622 [BZ #14229]
19623 * string/Makefile (tests): Add tst-strtok_r.
19624 * string/tst-strtok_r.c: New file.
19625 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19626 RAX_LP/RDX_LP on SAVE_PTR.
19627
834f9b8d
RM
196282012-06-14 Roland McGrath <roland@hack.frob.com>
19629
19630 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19631
75fa1921
JM
196322012-06-14 Joseph Myers <joseph@codesourcery.com>
19633
19634 * libm_test.inc (csqrt_test): Allow more spurious underflow
19635 exceptions.
19636 (j0_test): Likewise.
19637 (j1_test): Likewise.
19638 (y0_test): Likewise.
19639 (y1_test): Likewise.
19640
771766df
CD
196412012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19642
19643 * po/Makefile (libc.pot): Use UTF-8 charset.
19644
ceb9e56b
PP
196452012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19646
19647 [BZ #14210]
19648 Suppress sign-conversion warning from FD_SET.
19649 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19650 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19651 not unsigned long int.
19652 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19653
ddb28975
L
196542012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19655
19656 [BZ #14050]
19657 [BZ #14117]
19658 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19659 __extern_always_inline instead of __extern_inline.
19660 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19661 (__signbit): Likewise.
19662 (__signbitl): Support C++ namespace.
19663 (lrintf): New inline function.
19664 (lrint): Likewise.
19665 (llrintf): Likewise.
19666 (llrint): Likewise.
19667 (fmaxf): Likewise.
19668 (fmax): Likewise.
19669 (fminf): Likewise.
19670 (fmin): Likewise.
19671 (rint): Likewise.
19672 (rintf): Likewise.
19673 (ceil): Likewise.
19674 (ceilf): Likewise.
19675 (floor): Likewise.
19676 (floorf): Likewise.
19677 (nearbyint): Likewise.
19678 (nearbyintf): Likewise.
19679
d7b4fb26
TS
196802012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19681
19682 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19683 non-default versions.
19684
eb55f5c2
RM
196852012-06-11 Roland McGrath <roland@hack.frob.com>
19686
19687 [BZ #14218]
19688 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19689
366af02c
TS
196902012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19691
99ff6e5c
TS
19692 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19693 (FE_UPWARD, FE_DOWNWARD): Don't define.
19694 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19695 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19696
366af02c
TS
19697 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19698 reading it.
19699 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19700 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19701
793ea851
KK
197022012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19703
19704 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19705 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19706 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19707 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19708
a728a38f
L
197092012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19710
19711 [BZ #14117]
c08010c7
L
19712 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19713 * sysdeps/i386/fpu/Implies: New file.
19714 * sysdeps/x86_64/fpu/Implies: Likewise.
19715 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19716 * sysdeps/x86/fpu/bits/fenv.h: This.
19717
a728a38f
L
19718 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19719 __SSE_MATH__.
19720
6e230d11
SP
197212012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19722
19723 [BZ #14134]
19724 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19725 character 0xffff that matches the last element of the
19726 conversion table.
19727
1b671feb
AZ
197282012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19729
19730 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19731 fmodl commit.
19732
6043738b
AZ
197332012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19734
19735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19736 values higher than 25.6283.
19737
34ae0b32
AZ
197382012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19739
19740 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19741 subnormal exponent extraction and add some __builtin_expect.
19742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19743 Fix for subnormal mantissa calculation.
19744
1214ec8f
MF
197452012-06-04 Mike Frysinger <vapier@gentoo.org>
19746
19747 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19748 cpu2 is -1 and errno is not ENOSYS.
19749
f3d1f93c
L
197502012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19751
19752 [BZ #14117]
0e4a3cd7
L
19753 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19754 * sysdeps/x86/bits/string.h: This.
19755 * sysdeps/x86_64/bits/string.h: Removed.
19756
6704c645
L
19757 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19758 if not compiling for x86-64, but compiling for >= i486.
19759
48495318
L
19760 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19761 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19762
14adcbfc
L
19763 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19764 New macro from Linux kernel 3.4.0.
19765 (FP_XSTATE_MAGIC2): Likewise.
19766 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19767 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19768 (struct _fpx_sw_bytes): New struct.
19769 (struct _xsave_hdr): Likewise.
19770 (struct _ymmh_state): Likewise.
19771 (struct _xstate): Likewise.
19772
68e408ab
L
19773 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19774 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19775 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19776 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19777 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19778 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19779
f3d1f93c
L
19780 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19781 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19782 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19783 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19784 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19785 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19786
d9dc34cd
TMQMF
197872012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19788
19789 [BZ #13743]
19790 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19791 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19792 (sysdep_headers): Include sys/platform/ppc.h.
19793 * sysdeps/powerpc/test-gettimebase.c: Test for
19794 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19795 * manual/Makefile (appendices): Include platform.texi.
19796 * manual/contrib.texi (Contributors): Update @node pointers.
19797 * manual/maint.texi (Maintenance): Likewise.
19798 (Platform): New node.
19799 * manual/platform.texi: New file. Document the new features.
19800
4af3879c
SP
198012012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19802 Jakub Jelinek <jakub@redhat.com>
19803
19804 [BZ #14188]
19805 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19806 where __builtin_expect is unavailable.
19807
2fd6ff13
DM
198082012-06-03 David S. Miller <davem@davemloft.net>
19809
19810 * stdlib/longlong.h: Updated from GCC.
19811
173f7220
AS
198122012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19813
19814 [BZ #14042]
19815 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19816 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19817 __mcount_internal.
19818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19819 (GLIBC_2.16): Likewise.
19820
f34a1c6f
L
198212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19822
19823 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19824
88a4576f
JM
198252012-06-01 Joseph Myers <joseph@codesourcery.com>
19826
ea32bcdd
JM
19827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19828 (default-abi): New variable.
19829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19830 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19831 variable.
19832 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19833 Likewise.
19834 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19835 Likewise.
19836 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19837 Likewise.
19838
88a4576f
JM
19839 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19840 definition. Document in comment.
19841
402fe938
DM
198422012-06-01 David S. Miller <davem@davemloft.net>
19843
19844 * stdlib/longlong.h: Updated from GCC.
19845
3553723f
L
198462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19847
19848 [BZ #14117]
3bd872c4
L
19849 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19850 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19851 sys/debugreg.h sys/io.h here.
19852 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19853 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19854 sys/io.h.
19855 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19856 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19857 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19858 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19859 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19860 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19861
3553723f
L
19862 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19863 Define only if __x86_64__ is defined.
19864
4842e4fe
JM
198652012-06-01 Joseph Myers <joseph@codesourcery.com>
19866
c5bfe3d5
JM
19867 [BZ #14048]
19868 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19869 Use int64_t for variable i.
19870 * math/libm-test.inc (fmod_test): Add more tests.
19871
4842e4fe
JM
19872 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19873 z computation is not scheduled after fetestexcept.
19874 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19875 Use math_force_eval instead of asm to ensure calculation scheduled
19876 before exception test.
19877 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19878 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19879
efb73488
AJ
198802012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19881
19882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19883 computation is not scheduled after fetestexcept.
19884
29bcce7c
L
198852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19886
19887 [BZ #14117]
19888 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19889 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19890
73a68f94
AZ
198912012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19892
19893 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19894 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19895
67b6df78
L
198962012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19897
edf2933a 19898 [BZ #14117]
ebc64a18
L
19899 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19900 <bits/wordsize.h>.
19901 (__WCHAR_MIN): Support __WORDSIZE == 64.
19902 (__WCHAR_MAX): Likewise.
19903
edf2933a
L
19904 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19905 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19906
57c6cf40
L
19907 [BZ #14183]
19908 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19909 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19910
67b6df78 19911 [BZ #14117]
8eb6281e
L
19912 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19913 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19914
aac639f4
L
19915 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19916 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19917
67b6df78
L
19918 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19919 Defined to 1 if __x86_64__ isn't defined.
19920 (_STAT_VER_LINUX_OLD): New.
19921 (st_atime): Remove duplicate.
19922 (st_mtime): Likewise.
19923 (st_ctime): Likewise.
19924
1c2cfe81
DM
199252012-05-31 David S. Miller <davem@davemloft.net>
19926
19927 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19928 entries.
19929
5be8418c
AS
199302012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19931
e7725326
AS
19932 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19933 gen-libm-test.pl.
19934
5be8418c
AS
19935 [BZ #14132]
19936 * elf/dl-reloc.c: Include <_itoa.h>.
19937 (_dl_reloc_bad_type): Remove use of INTUSE.
19938 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19939 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19940 * stdio-common/psiginfo.c (psiginfo): Likewise.
19941 * stdio-common/psignal.c (psignal): Likewise.
19942 * string/strsignal.c (strsignal): Likewise.
19943 * include/signal.h (_sys_siglist): Declare hidden proto.
19944 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19945 INTVARDEF with libc_hidden_data_def.
19946 * stdio-common/itoa-udigits.c: Likewise.
19947 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19948 (_itoa_lower_digits_internal): Remove declaration.
19949 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19950 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19951 (_sys_sigabbrev_internal): Remove aliases.
19952 (_sys_siglist): Define hidden alias.
19953
507352f1
MT
199542012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19955
19956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19957 bits/sysctl.h.
19958
42bbb1c3
L
199592012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19960
19961 [BZ #14117]
6bd784b6
L
19962 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19963 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19964
8bca20f0
L
19965 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19966 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19967 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19968 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19969 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19970 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19971
f9e890a9
L
19972 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19973 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19974 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19975
471101a1
L
19976 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19977 with __addr.
19978 (insw): Likewise.
19979 (insl): Likewise.
19980 (outsb): Likewise.
19981 (outsw): Likewise.
19982 (outsl): Likewise.
19983
6451c862
L
19984 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19985 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19986 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19987
a254b8c9
L
19988 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19989 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19990 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19991 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19992 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19993 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19994
b8dfdd92
L
19995 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19996 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19997
578cd270
L
19998 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19999 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20000
de662f5f
L
20001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20003 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20004
25653439
L
20005 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20006 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20007 to ...
20008 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20009
6bad24a0
L
20010 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20011 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20012 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20013
42bbb1c3
L
20014 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20015 for x86-64.
20016 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20017
2d10d547
JM
200182012-05-31 Joseph Myers <joseph@codesourcery.com>
20019
20020 * math/math.h (M_El): Use two more decimal places.
20021 (M_LOG2El): Likewise.
20022 (M_LOG10El): Likewise.
20023 (M_LN2l): Likewise.
20024 (M_LN10l): Likewise.
20025 (M_PIl): Likewise.
20026 (M_PI_2l): Likewise.
20027 (M_PI_4l): Likewise.
20028 (M_1_PIl): Likewise.
20029 (M_2_PIl): Likewise.
20030 (M_2_SQRTPIl): Likewise.
20031 (M_SQRT2l): Likewise.
20032 (M_SQRT1_2l): Likewise.
20033
f230c29b
DM
200342012-05-31 David S. Miller <davem@davemloft.net>
20035
20036 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20037 values between float registers.
20038 * sysdeps/sparc/sparc64/memset.S: Likewise.
20039 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20040
fed806c3
MF
200412012-05-31 Mike Frysinger <vapier@gentoo.org>
20042
20043 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20044 -D_FORTIFY_SOURCE=1.
20045 (CPPFLAGS-tst-longjmp_chk.c): Define.
20046 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20047 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20048 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20049 CFLAGS-tst-wchar-h.c.
20050
30917259
MP
200512012-05-31 Marek Polacek <polacek@redhat.com>
20052
20053 [BZ #14132]
20054 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20055 __endmntent_internal): Remove declaration.
20056 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20057 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20058 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20059
1c58d5dc
DM
200602012-05-30 David S. Miller <davem@davemloft.net>
20061
20062 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20063 (___Q_simulate_exceptions): Use real FP ops rather than writing
20064 into the %fsr.
20065 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20066 Likewise.
20067
7dc00e0d
L
200682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20069
20070 [BZ #14117]
0bd53985
L
20071 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20072 * sysdeps/x86/bits/xtitypes.h: This.
20073
3a257e66
L
20074 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20075 * sysdeps/x86/bits/wordsize.h: This.
20076
62f62904
L
20077 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20078 * sysdeps/x86/bits/huge_vall.h: This.
20079
404fe9d9
L
20080 * sysdeps/i386/bits/select.h: Removed.
20081 * sysdeps/x86_64/bits/select.h: Renamed to ...
20082 * sysdeps/x86/bits/select.h: This.
20083
d48d0446
L
20084 * sysdeps/i386/bits/setjmp.h: Removed.
20085 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20086 * sysdeps/x86/bits/setjmp.h: This.
20087
7dc00e0d
L
20088 * sysdeps/i386/bits/mathdef.h: Removed.
20089 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20090 * sysdeps/x86/bits/mathdef.h: This.
20091
03277f8f
AS
200922012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20093
20094 [BZ #14132]
20095 * include/sys/socket.h (__connect_internal)
20096 (__libc_sa_len_internal): Remove declaration.
20097 (__connect, __libc_sa_len): Declare hidden_proto.
20098 (SA_LEN): Remove use of INTUSE.
20099 * socket/connect.c: Add libc_hidden_def.
20100 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20101 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20102 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20103 alias.
20104 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20105 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20106 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20107 of adding _internal alias.
20108
13764867
L
201092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20110
20111 [BZ #14117]
6bd97696
L
20112 * sysdeps/i386/bits/link.h: Removed.
20113 * sysdeps/i386/bits/linkmap.h: Likewise.
20114 * sysdeps/x86_64/bits/link.h: Renamed to ...
20115 * sysdeps/x86/bits/link.h: This.
20116 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20117 * sysdeps/x86/bits/linkmap.h: This.
20118
f726f0bb
L
20119 * sysdeps/i386/bits/endian.h: Removed.
20120 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20121 * sysdeps/x86/bits/endian.h: This.
20122
13764867
L
20123 * sysdeps/i386/bits/byteswap.h: Removed.
20124 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20125 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20126 * sysdeps/x86/bits/byteswap.h: This.
20127 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20128 * sysdeps/x86/bits/byteswap-16.h: This.
20129 * sysdeps/i386/Implies: Add x86.
20130 * sysdeps/x86_64/Implies: Likewise.
20131
ae251b0b
DM
201322012-05-30 David S. Miller <davem@davemloft.net>
20133
20134 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20135 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20136 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20137 (FP_TRAPPING_EXCEPTIONS): Define.
20138 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20139 (FP_TRAPPING_EXCEPTIONS): Define.
20140 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20141 subnormals only when inexact has been signalled or underflow
20142 exceptions are enabled.
20143 (_FP_PACK_CANONICAL): Likewise.
20144
d5c90867
L
201452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20146
20147 [BZ #14183]
20148 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20149 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20150
63f1549e
RH
201512012-05-30 Richard Henderson <rth@twiddle.net>
20152
8d8f2279
RH
20153 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20154 with #ifndef NOT_IN_libc.
20155
63f1549e
RH
20156 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20157 marked to avoid plt entry.
20158
0ab0291b
L
201592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20160
20161 [BZ #14112]
20162 * Makeconfig (default-abi): New macro.
20163 (abi-includes): Likewise.
20164 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20165 $(abi-$(default-abi)-lib-soname) for soname if defined.
20166 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20167 abi-variants.
20168 * Makefile (installed-stubs): Likewise.
20169 * include/stubs-biarch.h: Removed.
20170 * scripts/lib-names.awk: Only handle one library at a time.
20171 * scripts/soversions.awk: Remove WORDSIZE support.
20172 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20173 entries.
20174 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20175 Removed.
20176 (syscall-list-default-condition): Likewise.
20177 (syscall-list-default-condition): Likewise.
20178 (syscall-list-includes): Likewise.
20179 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20180 syscall-list-* with abi-*. Handle undefined abi-variants.
20181 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20182 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20183 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20184 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20185 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20186 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20187 Removed.
20188 (syscall-list-32-options): Likewise.
20189 (syscall-list-32-condition): Likewise.
20190 (syscall-list-64-options): Likewise.
20191 (syscall-list-64-condition): Likewise.
20192 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20193 macro.
20194 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20195 Renamed to ...
20196 (abi-*): This.
20197 (abi-64-ld-soname): New macro.
20198 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20199 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20200 Renamed to ...
20201 (abi-*): This.
20202 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20203 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20204
4da0431d
JM
202052012-05-30 Joseph Myers <joseph@codesourcery.com>
20206
3a85279c
JM
20207 * sysdeps/unix/sysv/linux/kernel-features.h
20208 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20209 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20210 include <kernel-features.h>.
20211 [!__NR_ftruncate64]: Remove conditional code.
20212 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20213 [__NR_ftruncate64]: Make code unconditional.
20214 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20215 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20216 include <kernel-features.h>.
20217 [!__NR_ftruncate64]: Remove conditional code.
20218 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20219 [__NR_ftruncate64]: Make code unconditional.
20220 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20222 include <kernel-features.h>.
20223 [!__NR_ftruncate64]: Remove conditional code.
20224 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20225 [__NR_ftruncate64]: Make code unconditional.
20226 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20228 include <kernel-features.h>.
20229 [!__NR_ftruncate64]: Remove conditional code.
20230 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20231 [__NR_ftruncate64]: Make code unconditional.
20232 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20233
4da0431d
JM
20234 * configure.in (libc_cv_fpie): Weaken to a compile test using
20235 LIBC_TRY_CC_OPTION.
20236 * configure: Regenerated.
20237
11ef492c
AK
202382012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20239
20240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20244 Refreshed.
20245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20251 Refreshed.
20252
d66ef399
DM
202532012-05-27 David S. Miller <davem@davemloft.net>
20254
20255 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20256 (___Q_zero): New.
20257 (__Q_simulate_exceptions): Return void. Change to simulate
20258 exceptions by writing into the %fsr.
20259 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20260 (__Qp_handle_exceptions): Likewise.
20261 (numbers): Delete.
20262 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20263 __Qp_handle_exceptions.
20264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20265 __Qp_handle_exceptions.
20266 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20267 as unused and give dummy FP_RND_NEAREST initializer.
20268 (FP_INHIBIT_RESULTS): Define.
20269 (___Q_simulate_exceptions): Update declaration.
20270 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20271 formatting.
20272 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20273 as unused and give dummy FP_RND_NEAREST initializer.
20274 (__Qp_handle_exceptions): Update declaration.
20275 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20276 formatting.
20277
04fb54b5
TS
202782012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20279
20280 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20281 the temporary FPU control word.
20282 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20283 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20284 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20285 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20286 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20287 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20288 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20289 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20290 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20291 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20292 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20293
3f99608f
KK
202942012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20295
20296 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20297 fields.
20298
65a4de4e
CLT
202992012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20300
20301 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20302 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20303 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20304 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20305 Likewise.
20306 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20307 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20308 Likewise.
20309
15749d40
UD
203102012-05-27 Ulrich Drepper <drepper@gmail.com>
20311
20312 * po/h.po: Update from translation team.
20313
25dbcb27
AS
203142012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20315
3d3f8e55
AS
20316 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20317
25dbcb27
AS
20318 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20319 handling of denormals.
20320 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20321 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20322 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20323 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20325 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20327 Likewise.
20328
7ad47a80 203292012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20330
20331 [BZ #14152]
20332 * math/libm-test.inc (fma_test): Don't always expect underflow
20333 exception.
20334
9c6ea9fa
SP
203352012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20336
20337 [BZ #12416]
20338 * elf/tst-execstack.c: Include stackinfo.h.
20339 (do_test): Adjust test case to ensure that pthread_getattr_np
20340 behaviour remains the same after marking stack executable.
20341
a8239222
JM
203422012-05-25 Joseph Myers <joseph@codesourcery.com>
20343
20344 * sysdeps/unix/sysv/linux/kernel-features.h
20345 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20346 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20347 kernel-features.h.
20348 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20349 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20350 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20351 kernel-features.h.
20352 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20353 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20354
918b5606
L
203552012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20356
20357 * configure.in: Define the default includes to being none.
20358 * configure: Regenerated.
20359
3a097cc7
RM
203602012-05-25 Roland McGrath <roland@hack.frob.com>
20361
8422c9a5
RM
20362 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20363 * sysdeps/x86_64/setjmp.S: Likewise.
20364 * sysdeps/i386/bsd-setjmp.S: Likewise.
20365 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20366 * sysdeps/i386/setjmp.S: Likewise.
20367 * sysdeps/i386/__longjmp.S: Likewise.
20368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20369 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20370
3a097cc7
RM
20371 * include/stap-probe.h: New file.
20372 * configure.in: Handle --enable-systemtap.
20373 * configure: Regenerated.
20374 * config.h.in (USE_STAP_PROBE): New #undef.
20375 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20376 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20377 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20378
21708942
JM
203792012-05-25 Joseph Myers <joseph@codesourcery.com>
20380
20381 [BZ #13717]
20382 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20383 to 2.4.0 where earlier.
20384 * sysdeps/unix/sysv/linux/configure: Regenerated.
20385 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
20394 [__ASSUME_32BITUIDS]: Make code unconditional.
20395 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20396 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20397 <kernel-features.h>.
20398 [__ASSUME_32BITUIDS]: Make code unconditional.
20399 [!__ASSUME_32BITUIDS]: Remove conditional code.
20400 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20401 <kernel-features.h>.
20402 [__ASSUME_32BITUIDS]: Make code unconditional.
20403 [!__ASSUME_32BITUIDS]: Remove conditional code.
20404 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20405 <kernel-features.h>.
20406 [__ASSUME_32BITUIDS]: Make code unconditional.
20407 [!__ASSUME_32BITUIDS]: Remove conditional code.
20408 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20409 <kernel-features.h>.
20410 [__ASSUME_32BITUIDS]: Make code unconditional.
20411 [!__ASSUME_32BITUIDS]: Remove conditional code.
20412 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20413 <kernel-features.h>.
20414 [__ASSUME_32BITUIDS]: Make code unconditional.
20415 [!__ASSUME_32BITUIDS]: Remove conditional code.
20416 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20417 <kernel-features.h>.
20418 [__ASSUME_32BITUIDS]: Make code unconditional.
20419 [!__ASSUME_32BITUIDS]: Remove conditional code.
20420 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20421 <kernel-features.h>.
20422 [__ASSUME_32BITUIDS]: Make code unconditional.
20423 [!__ASSUME_32BITUIDS]: Remove conditional code.
20424 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20425 <kernel-features.h>.
20426 [__ASSUME_32BITUIDS]: Make code unconditional.
20427 [!__ASSUME_32BITUIDS]: Remove conditional code.
20428 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20429 <kernel-features.h>.
20430 [__ASSUME_32BITUIDS]: Make code unconditional.
20431 [!__ASSUME_32BITUIDS]: Remove conditional code.
20432 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20433 <kernel-features.h>.
20434 [__ASSUME_32BITUIDS]: Make code unconditional.
20435 [!__ASSUME_32BITUIDS]: Remove conditional code.
20436 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20437 <kernel-features.h>.
20438 [__NR_setresgid] (__setresgid): Do not declare.
20439 [__ASSUME_32BITUIDS]: Make code unconditional.
20440 [!__ASSUME_32BITUIDS]: Remove conditional code.
20441 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20442 <kernel-features.h>.
20443 [__NR_setresuid] (__setresuid): Do not declare.
20444 [__ASSUME_32BITUIDS]: Make code unconditional.
20445 [!__ASSUME_32BITUIDS]: Remove conditional code.
20446 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20447 <kernel-features.h>.
20448 [__ASSUME_32BITUIDS]: Make code unconditional.
20449 [!__ASSUME_32BITUIDS]: Remove conditional code.
20450 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20451 <kernel-features.h>.
20452 [__ASSUME_32BITUIDS]: Make code unconditional.
20453 [!__ASSUME_32BITUIDS]: Remove conditional code.
20454 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20455 <kernel-features.h>.
20456 [__ASSUME_32BITUIDS]: Make code unconditional.
20457 [!__ASSUME_32BITUIDS]: Remove conditional code.
20458 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20459 <kernel-features.h>.
20460 [__ASSUME_32BITUIDS]: Make code unconditional.
20461 [!__ASSUME_32BITUIDS]: Remove conditional code.
20462 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20463 <kernel-features.h>.
20464 [__ASSUME_32BITUIDS]: Make code unconditional.
20465 [!__ASSUME_32BITUIDS]: Remove conditional code.
20466 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20467 <kernel-features.h>.
20468 [__ASSUME_32BITUIDS]: Make code unconditional.
20469 [!__ASSUME_32BITUIDS]: Remove conditional code.
20470 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20471 <kernel-features.h>.
20472 [__ASSUME_32BITUIDS]: Make code unconditional.
20473 [!__ASSUME_32BITUIDS]: Remove conditional code.
20474 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20475 <kernel-features.h>.
20476 [__ASSUME_32BITUIDS]: Make code unconditional.
20477 [!__ASSUME_32BITUIDS]: Remove conditional code.
20478 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20479 <kernel-features.h>.
20480 [__ASSUME_32BITUIDS]: Make code unconditional.
20481 [!__ASSUME_32BITUIDS]: Remove conditional code.
20482 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20483 <kernel-features.h>.
20484 [__ASSUME_32BITUIDS]: Make code unconditional.
20485 [!__ASSUME_32BITUIDS]: Remove conditional code.
20486 * sysdeps/unix/sysv/linux/kernel-features.h
20487 (__ASSUME_SETRESUID_SYSCALL): Remove.
20488 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20489 (__ASSUME_32BITUIDS): Likewise.
20490 (__ASSUME_LDT_WORKS): Likewise.
20491 (__ASSUME_O_DIRECTORY): Likewise.
20492 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20493 architecture but not kernel version.
20494 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20495 (__ASSUME_MMAP2_SYSCALL): Likewise.
20496 (__ASSUME_STAT64_SYSCALL): Likewise.
20497 (__ASSUME_IPC64): Likewise.
20498 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20499 <kernel-features.h>.
20500 [__ASSUME_32BITUIDS]: Make code unconditional.
20501 [!__ASSUME_32BITUIDS]: Remove conditional code.
20502 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20503 <kernel-features.h>.
20504 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20505 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20506 132096]: Remove conditional code.
20507 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20508 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20509 <kernel-features.h>.
20510 [__ASSUME_32BITUIDS]: Make code unconditional.
20511 [!__ASSUME_32BITUIDS]: Remove conditional code.
20512 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20513 <kernel-features.h>.
20514 [__ASSUME_32BITUIDS]: Make code unconditional.
20515 [!__ASSUME_32BITUIDS]: Remove conditional code.
20516 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20517 <kernel-features.h>.
20518 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20519 unconditional.
20520 (__setresgid): Do not declare.
20521 [__ASSUME_32BITUIDS]: Make code unconditional.
20522 [!__ASSUME_32BITUIDS]: Remove conditional code.
20523 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20524 <kernel-features.h>.
20525 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20526 unconditional.
20527 (__setresuid): Do not declare.
20528 [__ASSUME_32BITUIDS]: Make code unconditional.
20529 [!__ASSUME_32BITUIDS]: Remove conditional code.
20530 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20531 <kernel-features.h>.
20532 [__ASSUME_32BITUIDS]: Make code unconditional.
20533 [!__ASSUME_32BITUIDS]: Remove conditional code.
20534 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20535 <kernel-features.h>.
20536 [__ASSUME_32BITUIDS]: Make code unconditional.
20537 [!__ASSUME_32BITUIDS]: Remove conditional code.
20538
a386f1cc
RH
205392012-05-25 Richard Henderson <rth@twiddle.net>
20540
20541 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20542 dl_hwcap to ifunc resolver.
20543 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20544 elf_ifunc_invoke.
20545 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20546 dl_hwcap to ifunc resolver.
20547 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20548
b6550497
JM
205492012-05-24 Joseph Myers <joseph@codesourcery.com>
20550
20551 [BZ #14153]
20552 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20553 for |x| <= 2**-26, not 2**-57.
20554 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20555 exception.
20556
b0bc23a1
JL
205572012-05-24 Jeff Law <law@redhat.com>
20558
20559 * stdio-common/Makefile (tests): Add bug25.
20560 * stdio-common/bug25.c: New test.
20561
347c92e9
L
205622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20563
20564 [BZ #13576]
20565 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20566 multiple of MALLOC_ALIGNMENT in size.
20567 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20568
6bcc8b3f
JM
205692012-05-24 Joseph Myers <joseph@codesourcery.com>
20570
20571 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20572 Require >= 256.
20573 (FILENAME_MAX): Use macro-int-constant.
20574 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20575 (_IOFBF): Use macro-int-constant.
20576 (_IOLBF): Likewise.
20577 (_IONBF): Likewise.
20578 (SEEK_CUR): Likewise.
20579 (SEEK_END): Likewise.
20580 (SEEK_SET): Likewise.
20581 (TMP_MAX): Likewise.
20582 (EOF): Use macro-int-constant. Require < 0.
20583 (NULL): Use macro-constant. Require == 0.
20584 (stdin): Require type to be FILE *.
20585 (stdout): Likewise.
20586 (stderr): Likewise.
20587 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20588 macro-int-constant.
20589 (EXIT_SUCCESS): Likewise.
20590 (NULL): Use macro-constant. Require == 0.
20591 (RAND_MAX): Use macro-int-constant.
20592 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20593 [C99-based standards] (strtof): Require function.
20594 [C99-based standards] (strtold): Likewise.
20595 [C99-based standards] (strtoll): Likewise.
20596 [C99-based standards] (strtoull): Likewise.
20597 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20598 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20599 [ISO || ISO99 || ISO11] (math.h): Likewise.
20600 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20601 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20603
d18ea0c5
AS
206042012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20605
20606 [BZ #14132]
56d25bb8
AS
20607 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20608 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20609 * intl/dgettext.c (DCGETTEXT): Likewise.
20610 * intl/gettext.c (DCGETTEXT): Likewise.
20611 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20612 * posix/regex_internal.h (gettext): Likewise.
20613 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20614 Remove declaration.
20615 * include/argz.h (__argz_count_internal)
20616 (__argz_stringify_internal): Remove declaration.
20617 (__argz_count, __argz_stringify): Declare hidden proto.
20618 * intl/dcgettext.c: Remove use of INTDEF.
20619 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20620 * string/argz-stringify.c: Likewise.
20621 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20622 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20623 Declare hidden proto.
d18ea0c5
AS
20624 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20625 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20626 Declare hidden proto.
20627 * include/stdio.h (__asprintf_internal): Don't declare.
20628 (__asprintf): Don't define as macro. Declare hidden proto.
20629 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20630 (__fsetlocking): Declare hidden proto.
20631 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20632 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20633 hidden proto.
20634 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20635 (_IO_setlinebuf): Remove use of INTUSE.
20636 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20637 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20638 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20639 Remove declaration.
20640 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20641 (_IO_do_flush): Remove use of INTUSE.
20642 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20643 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20644 (_IO_adjust_column, _IO_least_wmarker)
20645 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20646 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20647 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20648 (_IO_default_doallocate, _IO_wdefault_doallocate)
20649 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20650 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20651 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20652 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20653 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20654 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20655 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20656 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20657 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20658 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20659 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20660 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20661 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20662 proto.
20663 (_IO_flush_all_internal, _IO_adjust_column_internal)
20664 (_IO_default_uflow_internal, _IO_default_finish_internal)
20665 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20666 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20667 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20668 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20669 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20670 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20671 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20672 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20673 (_IO_file_close_internal, _IO_file_close_it_internal)
20674 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20675 (_IO_file_init_internal, _IO_file_attach_internal)
20676 (_IO_file_fopen_internal, _IO_file_read_internal)
20677 (_IO_file_sync_internal, _IO_file_seek_internal)
20678 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20679 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20680 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20681 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20682 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20683 (_IO_list_all_internal, _IO_link_in_internal)
20684 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20685 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20686 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20687 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20688 (_IO_do_write_internal, _IO_padn_internal)
20689 (_IO_getline_info_internal, _IO_getline_internal)
20690 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20691 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20692 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20693 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20694 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20695 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20696 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20697 with libc_hidden_ver, remove use of INTUSE.
20698 * libio/genops.c: Likewise.
20699 * libio/freopen.c: Likewise.
20700 * libio/freopen64.c: Likewise.
20701 * libio/iofclose.c: Likewise.
20702 * libio/iofdopen.c: Likewise.
20703 * libio/iofflush.c: Likewise.
20704 * libio/iofflush_u.c: Likewise.
20705 * libio/iofgets.c: Likewise.
20706 * libio/iofgets_u.c: Likewise.
20707 * libio/iofopen.c: Likewise.
20708 * libio/iofopncook.c: Likewise.
20709 * libio/iofread.c: Likewise.
20710 * libio/iofread_u.c: Likewise.
20711 * libio/ioftell.c: Likewise.
20712 * libio/iofwrite.c: Likewise.
20713 * libio/iogetline.c: Likewise.
20714 * libio/iogets.c: Likewise.
20715 * libio/iogetwline.c: Likewise.
20716 * libio/iopadn.c: Likewise.
20717 * libio/iopopen.c: Likewise.
20718 * libio/ioseekoff.c: Likewise.
20719 * libio/ioseekpos.c: Likewise.
20720 * libio/iosetbuffer.c: Likewise.
20721 * libio/iosetvbuf.c: Likewise.
20722 * libio/ioungetc.c: Likewise.
20723 * libio/ioungetwc.c: Likewise.
20724 * libio/iovdprintf.c: Likewise.
20725 * libio/iovsprintf.c: Likewise.
20726 * libio/iovsscanf.c: Likewise.
20727 * libio/memstream.c: Likewise.
20728 * libio/obprintf.c: Likewise.
20729 * libio/oldfileops.c: Likewise.
20730 * libio/oldiofclose.c: Likewise.
20731 * libio/oldiofdopen.c: Likewise.
20732 * libio/oldiofopen.c: Likewise.
20733 * libio/oldiopopen.c: Likewise.
20734 * libio/oldstdfiles.c: Likewise.
20735 * libio/putc.c: Likewise.
20736 * libio/setbuf.c: Likewise.
20737 * libio/setlinebuf.c: Likewise.
20738 * libio/stdfiles.c: Likewise.
20739 * libio/strops.c: Likewise.
20740 * libio/vasprintf.c: Likewise.
20741 * libio/vscanf.c: Likewise.
20742 * libio/vsnprintf.c: Likewise.
20743 * libio/vswprintf.c: Likewise.
20744 * libio/wfiledoalloc.c: Likewise.
20745 * libio/wfileops.c: Likewise.
20746 * libio/wgenops.c: Likewise.
20747 * libio/wmemstream.c: Likewise.
20748 * libio/wstrops.c: Likewise.
20749 * libio/__fpurge.c: Likewise.
20750 * libio/__fsetlocking.c: Likewise.
20751 * assert/assert.c: Likewise.
20752 * debug/fgets_chk.c: Likewise.
20753 * debug/fgets_u_chk.c: Likewise.
20754 * debug/fread_chk.c: Likewise.
20755 * debug/fread_u_chk.c: Likewise.
20756 * debug/gets_chk.c: Likewise.
20757 * debug/obprintf_chk.c: Likewise.
20758 * debug/vasprintf_chk.c: Likewise.
20759 * debug/vdprintf_chk.c: Likewise.
20760 * debug/vsnprintf_chk.c: Likewise.
20761 * debug/vsprintf_chk.c: Likewise.
20762 * malloc/mtrace.c: Likewise.
20763 * misc/error.c: Likewise.
20764 * misc/syslog.c: Likewise.
20765 * stdio-common/asprintf.c: Likewise.
20766 * stdio-common/fxprintf.c: Likewise.
20767 * stdio-common/getw.c: Likewise.
20768 * stdio-common/isoc99_fscanf.c: Likewise.
20769 * stdio-common/isoc99_scanf.c: Likewise.
20770 * stdio-common/isoc99_vfscanf.c: Likewise.
20771 * stdio-common/isoc99_vscanf.c: Likewise.
20772 * stdio-common/isoc99_vsscanf.c: Likewise.
20773 * stdio-common/printf-prs.c: Likewise.
20774 * stdio-common/printf_fp.c: Likewise.
20775 * stdio-common/printf_fphex.c: Likewise.
20776 * stdio-common/printf_size.c: Likewise.
20777 * stdio-common/putw.c: Likewise.
20778 * stdio-common/scanf.c: Likewise.
20779 * stdio-common/sprintf.c: Likewise.
20780 * stdio-common/tmpfile.c: Likewise.
20781 * stdio-common/vfprintf.c: Likewise.
20782 * stdio-common/vfscanf.c: Likewise.
20783 * stdlib/strfmon_l.c: Likewise.
20784 * sunrpc/openchild.c: Likewise.
20785 * sunrpc/xdr_stdio.c: Likewise.
20786 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20787 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20788
d6c33fda
RM
207892012-05-24 Roland McGrath <roland@hack.frob.com>
20790
c1487492
RM
20791 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20792
20793 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20794 in the third column, to generate for the shared library an IFUNC
20795 that uses _dl_vdso_vsym.
20796 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20797 * Makeconfig (object-suffixes-noshared): New variable.
20798
20799 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20800 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20801 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20802 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20803
d6c33fda
RM
20804 [BZ #14132]
20805 * include/sys/time.h (__gettimeofday): Remove macro.
20806 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20807 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20808 Remove INTDEF.
20809 (__gettimeofday): Add libc_hidden_def.
20810 (gettimeofday): Add libc_hidden_weak.
20811 * sysdeps/mach/gettimeofday.c: Likewise.
20812 * sysdeps/posix/gettimeofday.c: Likewise.
20813 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20814 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20815 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20816 (__gettimeofday_internal): Remove strong_alias.
20817 (__gettimeofday): Add libc_hidden_def.
20818 (gettimeofday): Add libc_hidden_weak.
20819 * sysdeps/unix/syscalls.list (gettimeofday):
20820 Remove __gettimeofday_internal alias.
20821
b5a2bbe6
L
208222012-05-24 Daniel Jacobowitz <drow@false.org>
20823 H.J. Lu <hongjiu.lu@intel.com>
20824
20825 [BZ #12495]
20826 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20827 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20828 (largebin_index_32_big): New.
20829 (largebin_index): Use it for 16-byte alignment.
20830 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20831 correction with front_misalign.
20832
cfba4fda
L
208332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20834
7f907421
L
20835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20837 Likewise.
20838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20839 Likewise.
20840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20841 Likewise.
20842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20843 Likewise.
20844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20845 Likewise.
20846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20847 Likewise.
20848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20849 Likewise.
20850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20851 Likewise.
20852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20853 Likewise.
20854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20855 Likewise.
20856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20857 Likewise.
20858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20859 Likewise.
20860
cfba4fda
L
20861 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20862 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20863
80bad0cc
JM
208642012-05-24 Joseph Myers <joseph@codesourcery.com>
20865
7a25eb06
JM
20866 [BZ #10846]
20867 [BZ #14036]
20868 * math/libm-test.inc (exp_test): Add test from bug 14036.
20869 (pow_test): Add test from bug 10846.
20870
795405f9
JM
20871 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20872 and other flags.
20873 (special_function): Do not include flags in test name.
20874 (parse_args): Likewise.
20875 * sysdeps/i386/fpu/libm-test-ulps: Update.
20876 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20877 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20878 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20880
80bad0cc
JM
20881 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20882 exceptions.
20883 * math/libm-test.inc ("Philosophy"): Update comment about
20884 exception testing.
20885 (UNDERFLOW_EXCEPTION): New macro.
20886 (UNDERFLOW_EXCEPTION_OK): Likewise.
20887 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20888 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20889 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20890 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20891 (INVALID_EXCEPTION_OK): Update value.
20892 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20893 (OVERFLOW_EXCEPTION_OK): Likewise.
20894 (IGNORE_ZERO_INF_SIGN): Likewise.
20895 (test_exceptions): Handle underflow exceptions.
20896 (acos_test): Update for underflow exception expectations.
20897 (cexp_test): Likewise.
20898 (clog_test): Likewise.
20899 (clog10_test): Likewise.
20900 (csqrt_test): Likewise.
20901 (ctan_test): Likewise.
20902 (ctanh_test): Likewise.
20903 (exp_test): Likewise.
20904 (exp10_test): Likewise.
20905 (exp2_test): Likewise.
20906 (expm1_test): Likewise.
20907 (fma_test): Likewise.
20908 (j0_test): Likewise.
20909 (jn_test): Likewise.
20910 (nexttoward_test): Likewise.
20911 (pow_test): Likewise.
20912 (scalbn_test): Likewise.
20913 (scalbln_test): Likewise.
20914 (tan_test): Likewise.
20915 (y1_test): Likewise.
20916 * sysdeps/i386/fpu/libm-test-ulps: Update.
20917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20918
9e0e3d0b
DM
209192012-05-23 David S. Miller <davem@davemloft.net>
20920
20921 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20922 (__libc_sigaction): Remove unused local variables.
20923
ccd0a08f
L
209242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20925
20926 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20927
62bdf9a6
PE
209282012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20929
f8591f80
PE
20930 mktime: avoid signed integer overflow
20931 * time/mktime.c (__mktime_internal): Do not mishandle the case
20932 where diff == INT_MIN.
20933
94c7d826
PE
20934 mktime: simplify computation of average
20935 * time/mktime.c (ranged_convert): Use new time_t_avg function
20936 instead of rolling our own (probably-slower) code.
20937
ce73d683
PE
20938 mktime: do not assume signed right shift propagates sign bit
20939 * time/mktime.c (isdst_differ): New static function.
20940 (__mktime_internal): No need to normalize tm_isdst now.
20941 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20942 tm_isdst values.
20943
72a22e59
PE
20944 mktime: merge another wrapv change from gnulib
20945 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20946 from some compilers.
20947
68605433
PE
20948 mktime: remove incorrect attempt at unusual arithmetics
20949 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20950 The code didn't really work on such machines anyway.
20951 (TYPE_MINIMUM): Assume two's complement.
20952 (twos_complement_arithmetic): Verify that long_int and time_t
20953 are two's complement (or unsigned, in the latter case).
20954
03cf7fe3
PE
20955 mktime: check signed shifts on long_int and time_t, too
20956 * time/mktime.c (SHR): Check that shifts work as desired
20957 on the types long_int and time_t too, as SHR is used on
20958 such types.
20959
f04dfbc2
PE
20960 mktime: do not assume 'long' is wide enough
20961 * time/mktime.c (verify): Move decl up.
20962 (long_int): New type.
20963 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20964 to remove assumption in the code that 'long' is wide enough to
20965 store year values. This assumption is not true on x32 and on
20966 some non-glibc platforms.
20967
62bdf9a6
PE
20968 mktime: merge wrapv change from gnulib
20969 * time/mktime.c (WRAPV): New macro.
20970 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20971 (guess_time_tm, __mktime_internal): Do not assume that signed
20972 integer overflow wraps around; modern compilers generate code
20973 where this assumption is no longer valid.
20974
5e292e4f
L
209752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20976
20977 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20978 Replace "jmp L(pseudo_end)" with "ret".
20979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20980 Likewise.
20981
8caf8c87
AJ
209822012-05-23 Andreas Jaeger <aj@suse.de>
20983
20984 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20985 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20986
1a09dc56
AJ
209872012-05-23 Andreas Jaeger <aj@suse.de>
20988 Maximilian Attems <max@stro.at>
20989
20990 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20991 New macros.
20992
1c87aba0
L
209932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20994
20995 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20996 code so that pseudo_end is just ret and the stack pointer is
20997 correct also for static library in error case.
20998
40e45bd5
JM
209992012-05-23 Joseph Myers <joseph@codesourcery.com>
21000
c2670533
JM
21001 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21002 move to syscalls.list.
21003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21007
40e45bd5
JM
21008 * manual/install.texi (Running make install): Do not mention Linux
21009 kernel version for which pt_chown is not needed.
21010 (Linux): Do not mention problems with nscd with 2.0 kernels.
21011 * INSTALL: Regenerated.
21012
be08eda5
AJ
210132012-05-23 Andreas Jaeger <aj@suse.de>
21014
21015 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21016 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21017 macro.
21018 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21019 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21020 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21021 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21022 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21023 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21025 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21026 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21027 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21028 * sysdeps/unix/sysv/linux/bits/in.h
21029 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21030
a6a056bb
RM
210312012-05-22 Roland McGrath <roland@hack.frob.com>
21032
21033 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21034 (PREPARE_VERSION): Just use assert instead, it will be elided
21035 under [NDEBUG] anyway.
21036
c9009328
L
210372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21038
21039 * sysdeps/unix/sysv/linux/Makefile: Include
21040 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21041 (sysdep_routines): Remove sysctl.
c9009328
L
21042 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21043 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21044 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21045 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21046 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21047
73338355
AJ
210482012-05-22 Andreas Jaeger <aj@suse.de>
21049
21050 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21051 that pseudo_end is just ret and the stack pointer is correct also
21052 for static library in error case.
21053
d44638b0
PP
210542012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21055
21056 [BZ #14122]
21057 * nss/nsswitch.c (defconfig_entries): New variable.
21058 (__nss_database_lookup): Don't leak defconfig entries.
21059 (nss_parse_service_list): Don't leak on error paths.
21060 (free_database_entries): New function.
21061 (free_defconfig): New function.
21062 (free_mem): Move common code to free_database_entries.
21063
31a39bd8
L
210642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21065
da0331a8
L
21066 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21067 Add arch_prctl.
21068 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21069
31a39bd8
L
21070 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21071 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21072 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21073 New macro.
21074 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21075 (INTERNAL_SYSCALL_TYPES): Likewise.
21076 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21077 (LOAD_REGS_TYPES_[1-6]): Likewise.
21078 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21079 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21080
45470df3
AZ
210812012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21082
21083 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21084 copysignl for GLIBC_2_0.
21085 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21086 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21087 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21088 logbl for GLIBC_2_0.
21089 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21090 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21091
98a61bcb
L
210922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21093
a4f6e481
L
21094 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21095 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21096
f63d5db6
L
21097 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21098 Use "neg %eax".
21099
98a61bcb
L
21100 * time/mktime.c: Update copyright years.
21101
95770f14
PE
211022012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21103
6226efbd
PE
21104 mktime: merge comment-quoting-style change from gnulib
21105 * time/mktime.c: Quote 'like this' in comments.
21106 The GNU coding standards suggest that we no longer quote `like this',
21107 as "`" and "'" are typically rendered asymmetrically nowadays.
21108 The typical gnulib style is to quote 'like this' when quoting
21109 code, and "like this" when quoting English.
21110
b99e4f78
PE
21111 * time/mktime.c (compile-command): Add "-I.".
21112
643e01e6
PE
21113 mktime: merge mktime-internal.h change from gnulib
21114 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21115
2554247d
PE
21116 mktime: merge time_r change from gnulib
21117 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21118
826dd0ab
PE
21119 mktime: merge DEBUG change from gnulib
21120 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21121 case system <time.h> has a #define.
21122
bd83aabe
PE
21123 mktime: merge <sys/types.h> change from gnulib
21124 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21125 since <time.t> is now guaranteed to define time_t.
21126
95770f14
PE
21127 mktime: merge HAVE_CONFIG_H change from gnulib
21128 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21129
5e1a27a9
L
211302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21131
0e44a77e
L
21132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21133 Use "neg %eax".
21134
5e1a27a9
L
21135 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21136 __rlim_t cast.
21137 (struct rusage): Use anonymous union to pad each field to
21138 __syscall_slong_t.
21139
46259bec
DM
211402012-05-21 David S. Miller <davem@davemloft.net>
21141
21142 * Makefules (o-iterator): Remove .s cases.
21143 (compile-command.s): Delete.
21144 (COMPILE.s): Delete.
21145 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21146
59f0c22e
JM
211472012-05-21 Joseph Myers <joseph@codesourcery.com>
21148
21149 * configure.in (libc_cv_predef_stack_protector): Only consider
21150 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21151 * configure: Regenerated.
21152
20c07380
L
211532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21154
bbb3154b
L
21155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21156 New macro. Use R*LP on int and pointer.
21157 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21158 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21159 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21160 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21161
20c07380
L
21162 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21163 [__WORDSIZE_TIME64_COMPAT32] instead of
21164 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21165 (struct utmp): Likewise.
21166 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21167 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21168 Renamed to ...
21169 (__WORDSIZE_TIME64_COMPAT32): This.
21170 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21171 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21172 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21173 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21174 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21175 (__WORDSIZE_TIME64_COMPAT32): New macro.
21176
d8d1017e
AJ
211772012-05-21 Andreas Jaeger <aj@suse.de>
21178
21179 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21180 only if [SHARED]. Add prototype for __wcschr_ia32.
21181
6c7fb145
RM
211822012-05-21 Roland McGrath <roland@hack.frob.com>
21183
21184 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21185 of %rbp unmolested in the jmp_buf while mangling the low bits.
21186 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21187 unmolested high bits of %rbp while demangling the low bits.
21188 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21189
66274218
AJ
211902012-05-21 Andreas Jaeger <aj@suse.de>
21191
07c58f8f
AJ
21192 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21193 * sunrpc/svc_simple.c: Use it for registerrpc.
21194 * sunrpc/xcrypt.c: Use it for passwd2des.
21195
66274218
AJ
21196 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21197
61f65140
L
211982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21199
21200 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21201 Don't define if [__SYSCALL_WORDSIZE != 32].
21202 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21203 New macro.
21204
5fefb436
AJ
212052012-05-21 Bruno Haible <bruno@clisp.org>
21206 Andreas Jaeger <aj@suse.de>
21207
21208 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21209 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21210 inptr and inend for must_buffer_ch.
21211 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21212 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21213 * stdio-common/Makefile (tests): Remove bug15.
21214 (bug15-ENV): Remove macro.
21215 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21216 anymore.
21217
d8e272ab
AJ
212182012-05-19 Andreas Jaeger <aj@suse.de>
21219 Roland McGrath <roland@hack.frob.com>
21220
21221 * manual/contrib.texi: Completely rewritten. It contains now an
21222 alphabetical list of contributors and their contributions.
21223
4a56a162
RH
212242012-05-21 Richard Henderson <rth@twiddle.net>
21225
21226 * misc/getauxval.c (__getauxval): Use unsigned long int.
21227 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21228 (getauxval): Use unsigned long int.
21229
d024d23c
L
212302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21231
21232 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21233
cbc00a03
RM
212342012-05-21 Roland McGrath <roland@hack.frob.com>
21235
21236 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21237 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21238 __alignof__ (long double).
21239
478143fa
AZ
212402012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21241
21242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21243
c7683a6d
RH
212442012-05-20 Richard Henderson <rth@twiddle.net>
21245
21246 * misc/getauxval.c: New file.
21247 * misc/sys/auxv.h: New file.
21248 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21249 (routines): Add getauxval.
21250 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21251 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21252 * elf/dl-sysdep.c (_dl_auxv): Remove.
21253 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21254 * elf/dl-support.c (_dl_auxv): New variable.
21255 (_dl_aux_init): Initialize it.
21256 * manual/startup.texi (Auxiliary Vector): New node.
21257 * sysdeps/generic/bits/hwcap.h: New file.
21258 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21259 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21260 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21261 * sysdeps/sparc/sysdep.h: ... here. Include it.
21262 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21263 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21265 Update.
c7683a6d
RH
21266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21269 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21274
a6f1845d
AZ
212752012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21276
21277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21278
cbcbe830
DM
212792012-05-19 David S. Miller <davem@davemloft.net>
21280
21281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21282
e0b16cc2
JM
212832012-05-19 Joseph Myers <joseph@codesourcery.com>
21284
21285 [BZ #14123]
21286 * math/s_ccosh.c: Include <float.h>
21287 (__ccosh): Avoid internal overflow calculating sinh and cosh
21288 values before multiplying by sin and cos values.
21289 * math/s_ccoshf.c: Likewise.
21290 * math/s_ccoshl.c: Likewise.
21291 * math/s_csin.c: Likewise.
21292 * math/s_csinf.c: Likewise.
21293 * math/s_csinl.c: Likewise.
21294 * math/s_csinh.c: Likewise.
21295 * math/s_csinhf.c: Likewise.
21296 * math/s_csinhl.c: Likewise.
21297 * math/libm-test.inc (ccos_test): Add more tests.
21298 (ccosh_test): Likewise.
21299 (csin_test): Likewise.
21300 (csinh_test): Likewise.
21301 * sysdeps/i386/fpu/libm-test-ulps: Update.
21302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21303
6ad13e08
L
213042012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21305
f66f0ce8
L
21306 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21307 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21308
6ad13e08
L
21309 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21310
b1d072a7
JM
213112012-05-19 Joseph Myers <joseph@codesourcery.com>
21312
21313 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21314 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21315 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21316 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21317 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21318 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21319 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21320 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21321 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21322 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21323 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21324 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21325 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21326 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21327 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21328 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21329 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21330 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21331 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21332 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21333 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21334 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21335 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21336 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21337 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21338 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21339 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21340 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21341 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21342 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21343 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21344
9eae47cb
AJ
213452012-05-18 Andreas Jaeger <aj@suse.de>
21346
21347 * csu/.gitignore: Delete.
21348
bb07f69f
L
213492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21350
21351 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21352 (timex): Use __syscall_slong_t.
21353
e6bdb741
AJ
213542012-05-18 Andreas Jaeger <aj@suse.de>
21355 Carlos O'Donell <carlos_odonell@mentor.com>
21356
21357 * manual/install.texi (Configuring and compiling): Update
21358 description about files modified in the source directory.
d6c33fda 21359 * INSTALL: Regenerated.
e6bdb741 21360
1b74487e
L
213612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21362
21363 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21364 value. Use "or" to set return value to -1.
21365 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21366 negate return value.
21367
a88b64b9
TMQMF
213682012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21369
21370 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21371 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21372 failure if the compiler has Graphite support disabled.
21373 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21374 Likewise.
21375 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21376 CFLAGS-memmove.c): Likewise.
21377 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21378 Likewise.
21379
3707636e
L
213802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21381
610b8622
L
21382 * sysdeps/x86_64/x32/_itoa.h: New file.
21383
7cd195df
L
21384 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21385 getdents system call only if kernel and user dirents have the
21386 same d_ino and d_off.
21387
94b07d20
L
21388 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21389 LLONG_MAX != LONG_MAX.
21390 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21391 (_fitoa_word): Likewise.
21392
18298070
L
21393 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21394 years.
21395 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21396 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21397 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21398
553c7ea4
L
21399 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21400 include <bits/wordsize.h>. Check __x86_64__ instead of
21401 __WORDSIZE.
21402 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21403 if __x86_64__ is defined. Use anonymous union on fpstate.
21404
3707636e
L
21405 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21406 anonymous union.
21407
b53ef01a
AS
214082012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21409
37fb1dc0
AS
21410 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21411 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21412 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21413 Refer to _rtld_local_ro instead of _rtld_global_ro.
21414 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21415 Likewise.
21416 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21417 Likewise.
21418 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21419 Likewise.
21420 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21421 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21422 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21423
b53ef01a
AS
21424 * sysdeps/powerpc/powerpc32/dl-machine.c
21425 (__elf_machine_runtime_setup) [PROF]: Don't reference
21426 _dl_prof_resolve.
21427
7a185db2
AJ
214282012-05-18 Andreas Jaeger <aj@suse.de>
21429
21430 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21431 function only available for GCCs before 3.4 since GCC 3.4
21432 introduced a builtin.
21433 (lrint): Likewise.
21434 (llrintf): Likewise.
21435 (llrint): Likewise.
21436 (fmaxf): Likewise.
21437 (fmax): Likewise.
21438 (fminf): Likewise.
21439 (fmin): Likewise.
21440 (rint): Likewise.
21441 (rintf): Likewise.
21442 (nearbyint): Likewise.
21443 (nearbyintf): Likewise.
21444 (ceil): Likewise.
21445 (ceilf): Likewise.
21446 (floor): Likewise.
21447 (floorf): Likewise.
21448
3e5aef87
L
214492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21450
428bd707
L
21451 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21452 on both fields and cast pointer to __syscall_ulong_t.
21453
3e5aef87
L
21454 * bits/types.h (__fsword_t): New type.
21455 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21456 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21458 (__FSWORD_T_TYPE): Likewise.
21459 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21460 (__FSWORD_T_TYPE): Likewise.
21461 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21462 (__FSWORD_T_TYPE): Likewise.
21463 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21464 (__FSWORD_T_TYPE): Likewise.
21465 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21466 __SWORD_TYPE with __fsword_t.
21467 (statfs64): Likewise.
21468
1ba7c3dc
DM
214692012-05-17 David S. Miller <davem@davemloft.net>
21470
21471 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21472
59910343
AJ
214732012-05-17 Andreas Jaeger <aj@suse.de>
21474
21475 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21476 warning.
21477
2e4c1e9e
L
214782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21479
21480 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21481
de7f5ce7
AJ
214822012-05-17 Andreas Jaeger <aj@suse.de>
21483
21484 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21485 when it is used.
21486
286abc3d
CM
214872012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21488
21489 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21490
477cc68e
L
214912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21492
21493 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21494 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21495
1a0994f5
CD
214962012-05-17 Andreas Jaeger <aj@suse.de>
21497 Carlos O'Donell <carlos_odonell@mentor.com>
21498
21499 [BZ #14059]
21500 * sysdeps/x86_64/multiarch/init-arch.h
21501 (bit_YMM_Usable): Rename to...
21502 (bit_AVX_Usable): ... this.
21503 (bit_FMA4_Usable): New macro.
21504 (bit_XMM_state): New macro.
21505 (bit_YMM_state): New macro.
21506 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21507 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21508 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21509 (CPUID_OSXSAVE): New macro.
21510 (CPUID_AVX): New macro.
21511 (CPUID_FMA4): New macro.
21512 (index_YMM_Usable): Rename to...
21513 (index_AVX_Usable): ... this.
21514 (HAS_AVX): Use HAS_ARCH_FEATURE.
21515 (HAS_FMA4): Likewise.
21516 (HAS_YMM_USABLE): Remove.
21517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21518 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21519 are present.
21520 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21521 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21522 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21523 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21524 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21525
0af797de
CM
215262012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21527
21528 * math/libm-test.c: Support platforms without multiple rounding modes.
21529 * math/bug-nextafter.c: Support platforms without FP exceptions.
21530 * math/bug-nexttoward.c: Likewise.
21531 * math/test-fenv.c: Likewise.
21532 * math/test-misc.c: Likewise.
21533 * stdlib/bug-getcontext.c: Likewise.
21534
e39745ff
AJ
215352012-05-17 Andreas Jaeger <aj@suse.de>
21536
21537 * manual/examples/search.c (critter_cmp): Change signature to
21538 avoid warnings.
21539 * manual/string.texi (Collation Functions): Likewise.
21540
48970aba
L
215412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21542
21543 * bits/types.h: Fold copyright years.
21544 * bits/typesizes.h: Likewise.
21545 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21546 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21548 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21549 * time/time.h: Likewise.
21550
bedee953
PP
215512012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21552
21553 [BZ #208]
21554 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21555 in instead of returning them. Return void.
21556 (__libc_mallinfo): Accumulate over all arenas.
21557 (__malloc_stats): Adjust for change in int_mallinfo interface.
21558
61653dfb
RM
215592012-05-16 Roland McGrath <roland@hack.frob.com>
21560
30b99d79
RM
21561 [BZ #10375]
21562 * configure.in (NM): Add AC_CHECK_TOOL for it.
21563 (libc_extra_cflags): New substituted variable.
21564 Check for -fstack-protector being used implicitly.
21565 * configure: Regenerated.
21566 * config.make.in (config-extra-cflags): New variable,
21567 gets @libc_extra_cflags@.
21568 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21569
61653dfb
RM
21570 [BZ #10375]
21571 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21572 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21573 * configure: Regenerated.
21574 * config.make.in (CPPUNDEFS): New substituted variable.
21575 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21576 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21577 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21578
661768bb
L
215792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21580
21581 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21582 (mq_attr): Use __syscall_slong_t.
21583
d4261567
L
215842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21585
21586 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21587 Check __x86_64__ instead of __WORDSIZE.
21588 (_STAT_VER_LINUX): Likewise.
21589 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21590 __syscall_ulong_t and __syscall_slong_t.
21591 (stat64): Likewise.
21592
cf3ff365
L
215932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21594
21595 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21596
76cf3e4d
L
215972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21598
21599 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21600
a637753a
L
216012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21602
21603 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21604 __syscall_ulong_t.
21605
d5e05119
L
21606 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21607 include <bits/wordsize.h>. Check __x86_64__ instead of
21608 __WORDSIZE.
21609 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21610 defined.
21611 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21612
f62ee380
L
21613 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21614 include <bits/wordsize.h>. Check __x86_64__ instead of
21615 __WORDSIZE.
21616 (user_regs_struct): Use "__extension__ unsigned long long"
21617 instead of "unsigned long" if __x86_64__ is defined.
21618 (user): Likewise. Pad after pointer field if __ILP32__ is
21619 defined.
21620
4e124ced
JM
216212012-05-16 Joseph Myers <joseph@codesourcery.com>
21622
6a3951a0
JM
21623 * configure.in (makeinfo): Require version 4.5 or later. Allow
21624 versions 5 to 9.
21625 * configure: Regenerated.
21626 * manual/install.texi (texinfo): Increase version requirement to
21627 4.5 or later.
21628 * INSTALL: Regenerated.
21629
4e124ced
JM
21630 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21631
953ca31a
L
216322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21633
21634 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21635
617aca05
L
21636 * sysdeps/x86_64/x32/ffs.c: New file.
21637
5762f7ae
L
21638 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21639 __syscall_ulong_t.
21640 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21641 defined. Use __syscall_ulong_t.
21642 (shminfo): Use __syscall_ulong_t.
21643 (shm_info): Likewise.
21644
a26b6856
L
21645 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21646 __syscall_ulong_t.
21647
cb2b9ef7
L
21648 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21649 <bits/wordsize.h>.
21650 (msgqnum_t): Use __syscall_ulong_t.
21651 (msglen_t): Likewise.
21652 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21653 __syscall_ulong_t.
21654
34683bb0
L
21655 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21656 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21657
84a68786
L
21658 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21659
48baa5f1
L
21660 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21661 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21662
180be88b
L
21663 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21664 __syscall_slong_t.
21665
5e90c8ad
L
21666 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21667 include <bits/wordsize.h>. Check __x86_64__ instead of
21668 __WORDSIZE.
21669
23dfb58b
L
21670 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21671 "unsigned long long int" if __x86_64__ is defined.
21672 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21673
ce5d54b0
L
21674 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21675 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21676 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21677
13dc9eac
L
21678 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21679 <stdint.h>.
21680 (GET_PC): Cast to uintptr_t first.
21681 (GET_FRAME): Likewise.
21682 (GET_STACK): Likewise.
21683
a7895d15
L
21684 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21685 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21686 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21687 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21688 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21689 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21690 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21691 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21692 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21693 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21694 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21695 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21696 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21697 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21698 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21699 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21700 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21701 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21702 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21703 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21704 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21705 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21706 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21707 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21708 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21709 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21710 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21711 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21712 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21713
656416c9
AS
217142012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21715
5bd66283
AS
21716 * Makerules (+depfiles): Also collect depfiles from .oS in
21717 $(extra-objs).
21718 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21719 .oS, $(libnldbl-routines)).
21720
656416c9
AS
21721 * Makerules (native-compile-mkdep-flags): Define.
21722 * sunrpc/Makefile (extra-objs): Add $(addprefix
21723 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21724 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21725 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21726 calling $(make-target-directory).
21727
a46f2169
L
217282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21729
21730 * bits/types.h (__snseconds_t): Removed.
21731 * time/time.h (struct timespec): Replace __snseconds_t with
21732 __syscall_slong_t.
21733 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21734 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21735 Likewise.
21736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21737 (__SNSECONDS_T_TYPE): Likewise.
21738 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21739 (__SNSECONDS_T_TYPE): Likewise.
21740 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21741 (__SNSECONDS_T_TYPE): Likewise.
21742
6af6528b
L
217432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21744
21745 * sysdeps/mach/hurd/bits/typesizes.h
21746 (__SYSCALL_SLONG_TYPE): New macro.
21747 (__SYSCALL_ULONG_TYPE): Likewise.
21748
de986b56
L
217492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21750
21751 * bits/types.h (__syscall_slong_t): New type.
21752 (__syscall_ulong_t): Likewise.
21753
21754 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21755 (__SYSCALL_ULONG_TYPE): Likewise.
21756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21757 (__SYSCALL_SLONG_TYPE): Likewise.
21758 (__SYSCALL_ULONG_TYPE): Likewise.
21759 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21760 (__SYSCALL_SLONG_TYPE): Likewise.
21761 (__SYSCALL_ULONG_TYPE): Likewise.
21762 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21763 (__SYSCALL_SLONG_TYPE): Likewise.
21764 (__SYSCALL_ULONG_TYPE): Likewise.
21765
85736dc7
L
217662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21767
21768 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21769 Add sigaltstack-offsets.sym.
21770 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21771 <sigaltstack-offsets.h>.
21772 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21773 longjmp_msg pointer.
21774 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21775 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21776 signal stack.
21777 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21778
cc03b296
JM
217792012-05-15 Joseph Myers <joseph@codesourcery.com>
21780
a9538892
JM
21781 * elf/stackguard-macros.h: Remove file.
21782 * sysdeps/generic/stackguard-macros.h: New file.
21783 * sysdeps/i386/stackguard-macros.h: Likewise.
21784 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21785 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21786 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21787 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21788 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21789 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21790 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21791 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21792 <elf/stackguard-macros.h>.
21793
cc03b296
JM
21794 [BZ #14109]
21795 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21796 __aligned__ in attribute.
21797 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21798 (gregset_t): Likewise.
21799
93171016
L
218002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21801
21802 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21803 * sysdeps/x86_64/64/Implies-after: Here. New file.
21804 * sysdeps/x86_64/x32/Implies-after: New file.
21805
d86813a0
L
218062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21807
21808 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21809 and access return value for _dl_profile_fixup. Use R10_LP to
21810 load frame size.
21811
2953ec75
L
218122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21813
21814 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21815
3b550e9e
L
218162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21817
21818 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21819 * sysdeps/x86_64/x32/sysdep.h: New file.
21820
eda41706
L
218212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21822
21823 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21824 * sysdeps/x86_64/setjmp.S: Likewise.
21825
9ea01d93
AZ
218262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21827
21828 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21829 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21830 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21831 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21832 remove unused global constant.
21833
02a91938
CM
218342012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21835
21836 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21837 include of <not-cancel.h>.
21838
6540185f
RM
218392012-05-15 Roland McGrath <roland@hack.frob.com>
21840
21841 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21842
509072a0
AJ
218432012-05-15 Jeff Law <law@redhat.com>
21844 Andreas Jaeger <aj@suse.de>
21845
21846 [BZ #13594]
21847 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21848 out from...
21849 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21850 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21851 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21852 code changing __hst_map_handle.map.
21853
ba75122d
RM
218542012-05-15 Roland McGrath <roland@hack.frob.com>
21855
21856 * configure.in (sysnames): Look for Implies-before and Implies-after
21857 files.
21858 * configure: Regenerated.
21859
890d8bd8
L
218602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21861
21862 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21863 8-byte data alignment with LP_SIZE alignment.
21864
f6ee6623
L
218652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21866
21867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21868 into R10_LP.
21869
ea2626f6
L
218702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21871
21872 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21873
085f715e
L
218742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21875
21876 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21877 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21878 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21879 Likewise.
21880 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21881
be8498fc
L
218822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21883
21884 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21885 (stackinfo_sub_sp): Likewise.
21886
70bc83b9
L
218872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21888
21889 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21890 RAX_LP.
21891
9bc0b730
L
218922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21893
21894 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21895 into R*_LP.
21896
6d2850e7
L
218972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21898
21899 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21900 sizes into R*_LP.
21901
3cb84561
L
219022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21903
21904 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21905
54e2ed81
L
219062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21907
21908 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21909 into R11_LP and load __x86_64_shared_cache_size_half into
21910 R8_LP.
21911
8a17f349
L
219122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21913
21914 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21915 R8_LP.
21916
777b1eea
AZ
219172012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21918
21919 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21920 logb for POWER7.
21921 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21922 logbf for POWER7.
21923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21924 logbl for POWER7.
21925 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21926 powerpc32/power7/fpu/s_logb.c via #include.
21927 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21928 powerpc32/power7/fpu/s_logbf.c via #include.
21929 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21930 powerpc32/power7/fpu/s_logbl.c via #include.
21931
d20d4ac2
JM
219322012-05-15 Joseph Myers <joseph@codesourcery.com>
21933
21934 * README.libm: Remove file.
21935
6cdef1ab
L
219362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21937
21938 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21939 count for x32. Use R*_LP and omit operand-size suffix.
21940
0b254d8f
L
219412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21942
21943 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21944 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21945 * sysdeps/x86_64/x32/shlib-versions: New file.
21946
ceb809dc
RM
219472012-05-14 Roland McGrath <roland@hack.frob.com>
21948
21949 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21950 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21951 Use _dl_fatal_printf instead.
21952
37f1abd4
JM
219532012-05-14 Joseph Myers <joseph@codesourcery.com>
21954
21955 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21956 set if not set by the user. Do not allow for being unset.
21957 * sysdeps/unix/sysv/linux/configure: Regenerated.
21958
11de3a33
L
219592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21960
21961 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21962 the `q' suffix from lea and replace .quad with ASM_ADDR.
21963
e02f153a
L
219642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21965
21966 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21967 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21968 instead of $17.
21969 (PTR_DEMANGLE): Likewise.
21970
520ae0fd
L
219712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21972
21973 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21974 (LP_OP): Likewise.
21975 (ASM_ADDR): Likewise.
21976 (RAX_LP): Likewise.
21977 (RBP_LP): Likewise.
21978 (RBX_LP): Likewise.
21979 (RCX_LP): Likewise.
21980 (RDI_LP): Likewise.
21981 (RSI_LP): Likewise.
21982 (RSP_LP): Likewise.
21983 (R8_LP): Likewise.
21984 (R9_LP): Likewise.
21985 (R10_LP): Likewise.
21986 (R10_LP): Likewise.
21987 (R11_LP): Likewise.
21988 (R12_LP): Likewise.
21989 (R13_LP): Likewise.
21990 (R14_LP): Likewise.
21991 (R15_LP): Likewise.
21992
b985be81
L
219932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21994
21995 * sysdeps/x86_64/x32/dl-machine.h: New file.
21996
6a4888ff
AJ
219972012-05-14 Andreas Jaeger <aj@suse.de>
21998
21999 * manual/Makefile (subdir): Remove export of subdir.
22000 (all): Remove target.
22001 (.PHONY): Remove all from list.
22002 (mkinstalldirs): Remove.
22003 (.PHONY): Remove installdirs from list.
22004 ($(inst_infodir)/libc.info): Use make-target-directory.
22005 (installdirs): Remove.
22006 (subdir_%): Remove.
22007 (glibc-targets): Remove.
22008 (lib): Remove.
22009 (stubs): Remove.
22010 ($(objpfx)stubs ../po/manual.pot): Remove.
22011 ($(objpfx)stamp%): Remove.
22012 (make-target-directory): Remove.
22013 (subdir_install): Remove.
22014 (routines): Remove.
22015 (aux): Remove.
22016 (sources): Remove.
22017 (objects): Remove.
22018 (headers): Remove.
22019
22020 [BZ #13750]
22021 * manual/.gitignore: Remove, it's not needed anymore.
22022 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22023 all files in it.
22024 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22025 directory.
22026 (texis): Renamed to $(objpfx)texis.
22027 (texis-path): New, contains path to generated files.
22028 (chapters.%): Use texis-path for complete path, add extra argument
22029 libc-texinfo.sh.
22030 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22031 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22032 (summary,texi, stamp-summary): Use complete path of
22033 files. Generate files in build dir.
22034 (dir-add.texi): Build in build dir.
22035 (libm-err.texi,stamp-libm-err): Likewise.
22036 (version.texi, stamp-version): Likewise.
22037 (.%c.texi): Likewise.
22038 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22039 (mostlyclean): Remove target.
22040 (realclean): Remove target.
22041 (generated): Add new variable with contents from mostlyclean and
22042 realclean, remove entries duplicated in common-mostlyclean, add
22043 stamp-libm-err and stamp-version.
22044 (generated-dirs): Add libc directory.
22045 ($(inst_infodir)/libc.info): Install files from build dir.
22046
22047 * manual/install.texi (Configuring and compiling): Adjust since
22048 the info files are not part of the tar ball anymore.
22049
7ac77294
AJ
220502012-05-14 Andreas Jaeger <aj@suse.de>
22051
22052 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22053 variable.
22054
ffb7875d
JM
220552012-05-14 Joseph Myers <joseph@codesourcery.com>
22056
22057 [BZ #13717]
22058 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22059 to 2.2.0 where earlier.
22060 * sysdeps/unix/sysv/linux/configure: Regenerated.
22061 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22062 Remove conditional code.
22063 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22064 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22065 Remove conditional code.
22066 [!__NR_lchown]: Likewise.
22067 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22068 [__NR_lchown]: Likewise.
22069 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22070 comment referencing __ASSUME_LCHOWN_SYSCALL.
22071 * sysdeps/unix/sysv/linux/i386/sigaction.c
22072 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22073 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22074 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22075 Remove conditional code.
22076 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22077 (__protocol_available): Remove #if 0 code.
22078 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22079 conditional code.
22080 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22081 * sysdeps/unix/sysv/linux/kernel-features.h
22082 (__ASSUME_GETCWD_SYSCALL): Don't define.
22083 (__ASSUME_REALTIME_SIGNALS): Likewise.
22084 (__ASSUME_PREAD_SYSCALL): Likewise.
22085 (__ASSUME_PWRITE_SYSCALL): Likewise.
22086 (__ASSUME_POLL_SYSCALL): Likewise.
22087 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22088 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22089 non-SPARC.
22090 (__ASSUME_SIOCGIFNAME): Don't define.
22091 (__ASSUME_MSG_NOSIGNAL): Likewise.
22092 (__ASSUME_SENDFILE): Define unconditionally.
22093 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22094 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22095 conditional code.
22096 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22097 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22098 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22099 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22100 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22101 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22102 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22104 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22107 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22110 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22111 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22113 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22114 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22116 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22119 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22120 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22122 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22125 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22126 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22127 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22128 Remove conditional code.
22129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22130 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22131 Remove conditional code.
22132 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22133 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22134 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22135 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22136 Remove conditional code.
22137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22138 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22139 Remove conditional code.
22140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22141 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22142 Remove conditional code.
22143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22144 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22145 Remove conditional code.
22146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22147 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22148 Remove conditional code.
22149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22150 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22151 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22152 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22153 * sysdeps/unix/sysv/linux/sigaction.c
22154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22156 * sysdeps/unix/sysv/linux/sigpending.c
22157 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22158 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22159 * sysdeps/unix/sysv/linux/sigprocmask.c
22160 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22161 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22162 * sysdeps/unix/sysv/linux/sigsuspend.c
22163 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22164 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22165 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22166 (__libc_missing_rt_sigs): Remove.
22167 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22168 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22169 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22170 Remove conditional code.
22171 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22172 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22173 return 1.
22174 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22175 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22176 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22177 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22178
1bfb7291
AJ
221792012-05-14 Andreas Jaeger <aj@suse.de>
22180
caae5a81
AJ
22181 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22182 it's not used in glibc.
22183 (__coshm1): Likewise.
22184 (__acosh1p): Likewise.
22185 (__sgn): Likewise.
22186
1bfb7291
AJ
22187 * manual/string.texi (Copying and Concatenation): Add missing
22188 variable in concat example.
22189 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22190
c044d724
L
221912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22192
144c5467 22193 [BZ #14103]
c044d724
L
22194 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22195 __builtin_clzl with __builtin_clzll.
22196
2523c62b
L
221972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22198
22199 [BZ #14104]
22200 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22201 libc_freeres_ptr.
22202
d7bb4c42
LD
222032012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22204
22205 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22206 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22207 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22208 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22209
9dc4e1fb
MF
222102012-05-14 Mike Frysinger <vapier@gentoo.org>
22211
22212 * NEWS: Update ia64 info.
22213
c7df0112
AS
222142012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22215
22216 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22217 used as bcopy.
22218
dc70356c
TS
222192012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22220
22221 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22222 * sysdeps/unix/syscalls.list (dup3): Likewise.
22223 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22224 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22225
9fb1a21f
L
222262012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22227
22228 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22229 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22230
4822a2a5
L
222312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22232
22233 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22234 thread pointer.
22235 (TLS_IE): Use mov/add instead of movq/addq to load thread
22236 pointer.
22237 (TLS_GD_PREFIX): New.
22238 (TLS_GD): Use it.
22239
842b81d6
DM
222402012-05-11 David S. Miller <davem@davemloft.net>
22241
22242 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22243 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22244 (_FPU_SETCW): Likewise.
22245
1cf463cd
L
222462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22247
22248 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22249 is 32-byte aligned.
22250
60cc4a18
AS
222512012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22252
22253 [BZ #11837]
22254 * iconvdata/gb18030.c: Update tables.
22255 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22256 characters specially.
22257 (BODY for TO_LOOP): Add encoding of missing ranges.
22258
febb44a4
TS
222592012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22260
22261 [BZ #13673]
22262 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22263 * sysdeps/mach/hurd/dup3.c: Likewise.
22264 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22265 * sysdeps/powerpc/memmove.c:: Likewise.
22266
0a10fb9e
L
222672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22268
22269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22270 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22271
df8a552f
L
222722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 * elf/elf.h (R_X86_64_RELATIVE64): New.
22275 (R_X86_64_NUM): Updated.
22276 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22277 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22278 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22279 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22280 tst-quad1pie tst-quad2pie
22281 (modules-names): Add tst-quadmod1 tst-quadmod2.
22282 ($(objpfx)tst-quad1): New dependency.
22283 ($(objpfx)tst-quad2): Likewise.
22284 ($(objpfx)tst-quad1pie): Likewise.
22285 ($(objpfx)tst-quad2pie): Likewise.
22286 * sysdeps/x86_64/tst-quad1.c: New file.
22287 * sysdeps/x86_64/tst-quad1pie.c: New file.
22288 * sysdeps/x86_64/tst-quad2.c: Likewise.
22289 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22290 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22291 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22292 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22293 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22294
f34d6f84
ST
222952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22296
f42d41d1
ST
22297 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22298 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22299 * streams/stropts.h (t_scalar_t): Define type.
22300
3c3571fc
ST
22301 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22302 (_PATH_PRESERVE): Set to "/var/lib".
22303 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22304
61f06bd3
ST
22305 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22306 instead of int.
22307
918d4d71
ST
22308 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22309 if __dir_mkfile succeeded.
22310
f34d6f84
ST
22311 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22312 checking for _hurd_dtablesize. Unlock it right after having
22313 finished _hurd_dtable allocation.
22314
10589b4a
TS
223152012-05-10 Thomas Schwinge <thomas@schwinge.name>
22316
674cdbc7
TS
22317 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22318 * sysdeps/mach/hurd/configure: Regenerated.
22319 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22320 special-casing to...
22321 * sysdeps/gnu/configure.in: ... this new file.
22322 * sysdeps/unix/sysv/linux/configure: Regenerated.
22323 * sysdeps/gnu/configure: New generated file.
22324
8e41b99f
TS
22325 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22326 for Linux: use nsec instead of usec, as well as:
22327 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22328 members of type struct timespec.
22329 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22330 New macros.
22331 (struct stat64): Likewise.
22332 (_STATBUF_ST_NSEC): New macro.
22333 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22334
10589b4a
TS
22335 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22336 __strtoul_internal rather than strtoul.
22337
63643c85
PT
223382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22339
22340 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22341 and reject them.
22342
3faebe6a
ST
223432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22344
22345 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22346 which preserves existing values.
22347 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22348
c6474b07
PT
223492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22350
22351 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22352 TIMEOUT values. Return EINVAL for NFDS values either negative or
22353 greater than FD_SETSIZE.
22354
1043890b
ST
223552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22356
22357 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22358 allocated, call __vm_protect to finish enabling the existing space, and
22359 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22360 allocate the remainder.
22361
37ed8b9b
PT
223622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22363
22364 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22365 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22366
db653660
ST
223672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22368
37ed8b9b
PT
22369 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22370 sysdeps/mach/hurd/readlink.c.
b29d4053 22371
db653660
ST
22372 * posix/tst-sysconf.c (posix_options): Only use
22373 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22374 _POSIX_SYNCHRONIZED_IO when they are defined
22375 * sysdeps/mach/hurd/bits/posix_opt.h:
22376 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22377 (_XOPEN_REALTIME): Undefine macro.
22378 (_XOPEN_REALTIME_THREADS): Undefine macro.
22379 (_XOPEN_SHM): Undefine macro.
22380 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22381 macro to -1.
22382 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22383 macro to -1.
22384 (_POSIX_ASYNC_IO): Undefine macro.
22385 (_POSIX_PRIORITIZED_IO): Undefine macro.
22386 (_POSIX_SPIN_LOCKS): Define macro to -1.
22387
ee16e894
ST
22388 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22389 SA_NODEFER, SA_RESETHAND.
22390 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22391 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22392 F_DUPFD_CLOEXEC.
22393
6103ae3b
TS
223942012-05-10 Thomas Schwinge <thomas@schwinge.name>
22395
22396 * elf/Makefile (pldd-modules): Define unconditionally.
22397
80b4e5f3
TS
223982012-05-10 Thomas Schwinge <thomas@schwinge.name>
22399
22400 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22401
edadcbd6
ST
224022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22403
22404 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22405 Return ENOENT when name is empty.
22406 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22407
80694780
TS
224082012-05-10 Thomas Schwinge <thomas@schwinge.name>
22409
1792c087
TS
22410 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22411
80694780
TS
22412 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22413
6b645f0d
ST
224142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22415
80694780
TS
22416 Fix mlock in all cases except non-readable pages.
22417 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22418 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22419
6b645f0d
ST
22420 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22421 (__mkdir): When path is `/', just fail with EEXIST.
22422 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22423
e468f8a3
TS
224242012-05-10 Thomas Schwinge <thomas@schwinge.name>
22425
22426 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22427 <sys/uio.h> (for writev).
22428 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22429 and <sys/param.h> (for MIN).
22430
a4186cff
PT
224312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22432
22433 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22434 REQUESTED_TIME. Properly set the remaining time and return EINTR
22435 if interrupted.
22436
510bbf14
TS
224372012-05-10 Thomas Schwinge <thomas@schwinge.name>
22438
22439 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22440 Depend on against $(link-rpcuserlibs).
22441
5d5722e8
ST
224422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22443
a4186cff
PT
22444 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22445 (__libc_stack_end): Do not use attribute_relro.
22446 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22447 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22448 to libthread-provided value.
a4186cff
PT
22449 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22450 attribute_relro.
5d5722e8 22451
37233df9
TS
224522012-05-10 Thomas Schwinge <thomas@schwinge.name>
22453
be971a2b
TS
22454 [BZ #3748]
22455 * bits/libc-lock.h (__libc_once_get): New macro.
22456 * sysdeps/mach/bits/libc-lock.h: Likewise.
22457 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22459 instead of using implementation details.
22460
37233df9
TS
22461 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22462 * libio/freopen.c: Likewise.
22463 * libio/freopen64.c: Likewise.
22464 * misc/syslog.c: Likewise.
22465 * nscd/connections.c: Likewise.
22466 * nscd/netgroupcache.c: Likewise.
22467 * sysdeps/posix/getcwd.c: Likewise.
22468
38de94a5
RM
224692012-05-10 Roland McGrath <roland@hack.frob.com>
22470
22471 * math/w_ilogbf.c: Add #include <limits.h>.
22472
67530489
ST
224732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22474
a4186cff 22475 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22476 path instead of returning without unlocking.
22477
67530489
ST
22478 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22479 immediate-write ioctls.
22480 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22481
5aa3a74a
TS
224822012-05-10 Thomas Schwinge <thomas@schwinge.name>
22483
18bad2ae
TS
22484 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22485 __builtin_frame_address instead of making assumptions about the
22486 location of the return address relative to DATA. Force early load of
22487 the return address.
22488 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22489 __builtin_frame_address.
22490
5aa3a74a
TS
22491 dup3 for GNU Hurd.
22492 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22493 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22494 implement dup3 and do some further code clean-ups.
22495 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22496 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22497
ecd0de9a
ST
224982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22499
cd9fa985
ST
22500 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22501
a4186cff
PT
22502 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22503 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22504 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22505 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22506 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22507 d->port.lock.
802ca5a5 22508
a4186cff
PT
22509 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22510 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22511 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22512
bcf55240
TS
225132012-05-10 Thomas Schwinge <thomas@schwinge.name>
22514
6960eb42
TS
22515 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22516 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22517 definitions.
22518
eb43375f
TS
22519 accept4 for GNU Hurd.
22520 * include/sys/socket.h (__libc_accept4): New prototype.
22521 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22522 to implement __libc_accept4.
22523 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22524 __libc_accept4.
22525 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22526
bcf55240
TS
22527 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22528 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22529 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22530 signal-defines.sym.
22531
6178c55b
ST
225322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22533
a4186cff 22534 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22535
6f080c2f
TS
225362012-05-10 Thomas Schwinge <thomas@schwinge.name>
22537
22538 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22539 assertion on O_CLOEXEC flag.
22540 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22541 * hurd/intern-fd.c: Likewise.
22542 * hurd/port2fd.c: Likewise.
22543
bcfe3a54
ST
225442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22545
22546 [BZ #3906]
22547 * bits/in.h (IPV6_PKTINFO): Define new macro.
22548 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22549
89c9aa49
AZ
225502012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22551
22552 [BZ #13954]
22553 [BZ #13955]
22554 [BZ #13956]
22555 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22556 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22557 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22558 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22560 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22561 * math/libm-test.inc (logb_test) : Additional logb tests.
22562
021db4be
AJ
225632012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22564 Andreas Jaeger <aj@suse.de>
22565
22566 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22567 * configure: Regenerated.
22568 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22569 * config.make.in (link-obsolete-rpc): New substituted variable.
22570 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22571 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22572 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22573 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22574 so that libc.a contains the symbols.
22575 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22576 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22577 * sunrpc/auth_none.c: Likewise.
22578 * sunrpc/auth_unix.c: Likewise.
22579 * sunrpc/authdes_prot.c: Likewise.
22580 * sunrpc/authuxprot.c: Likewise.
22581 * sunrpc/clnt_gen.c: Likewise.
22582 * sunrpc/clnt_perr.c: Likewise.
22583 * sunrpc/clnt_raw.c: Likewise.
22584 * sunrpc/clnt_simp.c: Likewise.
22585 * sunrpc/clnt_tcp.c: Likewise.
22586 * sunrpc/clnt_udp.c: Likewise.
22587 * sunrpc/clnt_unix.c: Likewise.
22588 * sunrpc/des_crypt.c: Likewise.
22589 * sunrpc/des_soft.c: Likewise.
22590 * sunrpc/get_myaddr.c: Likewise.
22591 * sunrpc/key_call.c: Likewise.
22592 * sunrpc/key_prot.c: Likewise.
22593 * sunrpc/netname.c: Likewise.
22594 * sunrpc/pm_getmaps.c: Likewise.
22595 * sunrpc/pm_getport.c: Likewise.
22596 * sunrpc/pmap_clnt.c: Likewise.
22597 * sunrpc/pmap_prot.c: Likewise.
22598 * sunrpc/pmap_prot2.c: Likewise.
22599 * sunrpc/pmap_rmt.c: Likewise.
22600 * sunrpc/publickey.c: Likewise.
22601 * sunrpc/rpc_cmsg.c: Likewise.
22602 * sunrpc/rpc_common.c: Likewise.
22603 * sunrpc/rpc_dtable.c: Likewise.
22604 * sunrpc/rpc_prot.c: Likewise.
22605 * sunrpc/rpc_thread.c: Likewise.
22606 * sunrpc/rtime.c: Likewise.
22607 * sunrpc/svc.c: Likewise.
22608 * sunrpc/svc_auth.c: Likewise.
22609 * sunrpc/svc_raw.c: Likewise.
22610 * sunrpc/svc_run.c: Likewise.
22611 * sunrpc/svc_tcp.c: Likewise.
22612 * sunrpc/svc_udp.c: Likewise.
22613 * sunrpc/svc_unix.c: Likewise.
22614 * sunrpc/svcauth_des.c: Likewise.
22615 * sunrpc/xcrypt.c: Likewise.
22616 * sunrpc/xdr.c: Likewise.
22617 * sunrpc/xdr_array.c: Likewise.
22618 * sunrpc/xdr_float.c: Likewise.
22619 * sunrpc/xdr_intXX_t.c: Likewise.
22620 * sunrpc/xdr_mem.c: Likewise.
22621 * sunrpc/xdr_rec.c: Likewise.
22622 * sunrpc/xdr_ref.c: Likewise.
22623 * sunrpc/xdr_sizeof.c: Likewise.
22624 * sunrpc/xdr_stdio.c: Likewise.
22625
b5c086a2
RM
226262012-05-10 Roland McGrath <roland@hack.frob.com>
22627
22628 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22629 change. Update copyright years.
22630
6d74dd09
JM
226312012-05-10 Joseph Myers <joseph@codesourcery.com>
22632
22633 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22634
28e72501
MK
226352012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22636 Joseph Myers <joseph@codesourcery.com>
22637 Paul Pluzhnikov <ppluzhnikov@google.com>
22638
22639 [BZ #14012]
22640 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22641 requiring rpcgen.
22642 [cross-compiling] (extra-libs): Likewise.
22643 [cross-compiling] (extra-libs-others): Likewise.
22644 [cross-compiling] (librpcsvc-routines): Likewise.
22645 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22646 [cross-compiling] (omit-deps): Likewise.
22647 (sunrpc-CPPFLAGS): New variable.
22648 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22649 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22650 (cross-rpcgen-objs): New variable.
22651 (extra-objs): Append $(cross-rpcgen-objs).
22652 ($(cross-rpcgen-objs)): New rule.
22653 ($(objpfx)cross-rpcgen): Likewise.
22654 (rpcgen-cmd): Define to use $(built-program-file). Expand
22655 comment.
22656 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22657 ($(objpfx)x%.stmp): Likewise.
22658 * sunrpc/proto.h [IS_IN_build] (_): Define.
22659 [IS_IN_build] (_libc_intl_domainname): Likewise.
22660
c8c59454
L
226612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22662
22663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22664 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22665 and R_X86_64_TPOFF64.
22666
6f27cd16
JM
226672012-05-10 Joseph Myers <joseph@codesourcery.com>
22668
22669 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22670 sysdeps/unix/sysv/syscalls.list.
22671 (stime): Likewise.
22672 (utime): Likewise.
22673 * sysdeps/unix/sysv/syscalls.list: Remove file.
22674
02467e1c
PE
226752012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22676
22677 [BZ #3440]
22678 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22679 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22680 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22681 (__LC_IDENTIFICATION): Make these macros useful in #if
22682 expressions, as required by C99.
22683
da392631
AS
226842012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22685
22686 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22687 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22688 after this.
22689
8115f29b
L
226902012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22691
22692 * stdlib/longlong.h: Updated from GCC.
22693
bdd74070
AJ
226942012-05-09 Andreas Jaeger <aj@suse.de>
22695
edfe0dbe
AJ
22696 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22697 default is first entry.
22698 (run_mode): Set type.
22699 (main): Remove informal message about syslog.
22700 (options): Fix typo.
22701
bcfe3a54
ST
22702 [BZ #14053]
22703 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22704 to asm.
bcfe3a54
ST
22705 (lrint): Likewise.
22706 (llrintf): Likewise.
22707 (llrint): Likewise.
22708 (rint): Likewise.
22709 (rintf): Likewise.
22710 (nearbyint): Likewise.
22711 (nearbyintf): Likewise.
bdd74070 22712
91d8d69e
AJ
227132012-05-09 Andreas Jaeger <aj@suse.de>
22714 Pedro Alves <palves@redhat.com>
22715
22716 * nscd/nscd.c (run_mode): Use enum.
22717 (main): Cleanup coding style issue.
22718
bb90b80b
AJ
227192012-05-09 Alexandre Oliva <aoliva@redhat.com>
22720 Andreas Jaeger <aj@suse.de>
22721
bcfe3a54
ST
22722 * nscd/nscd.c (go_background): Replaced with...
22723 (run_mode): ... this.
bb90b80b 22724 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22725 (options): Add -F --foreground.
22726 (main): Implement it.
22727 (parse_opt): Parse it.
bb90b80b 22728
1a4b75a1
AJ
227292012-05-09 Andreas Jaeger <aj@suse.de>
22730
22731 [BZ #14083]
22732 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22733 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22734 -Wconversion warning.
22735 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22736 Likewise.
22737
b1cc2472
JM
227382012-05-09 Joseph Myers <joseph@codesourcery.com>
22739
22740 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22741 == 0.
22742 (LC_ALL): Use macro-int-constant.
22743 (LC_COLLATE): Likewise.
22744 (LC_CTYPE): Likewise.
22745 (LC_MESSAGES): Likewise.
22746 (LC_MONETARY): Likewise.
22747 (LC_NUMERIC): Likewise.
22748 (LC_TIME): Likewise.
22749 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22750 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22751 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22752 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22753 Specify type.
22754 [C99-based standards] (float_t): Expect type.
22755 [C99-based standards] (double_t): Expect type.
22756 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22757 type.
22758 [C99-based standards] (HUGE_VALL): Likewise.
22759 [C99-based standards] (INFINITY): Likewise.
22760 [C99-based standards] (NAN): Likewise.
22761 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22762 [C99-based standards] (FP_NAN): Likewise.
22763 [C99-based standards] (FP_NORMAL): Likewise.
22764 [C99-based standards] (FP_SUBNORMAL): Likewise.
22765 [C99-based standards] (FP_ZERO): Likewise.
22766 [C99-based standards] (FP_FAST_FMA): Use
22767 optional-macro-int-constant. Specify type. Require == 1.
22768 [C99-based standards] (FP_FAST_FMAF): Likewise.
22769 [C99-based standards] (FP_FAST_FMAL): Likewise.
22770 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22771 [C99-based standards] (FP_ILOGBNAN): Likewise.
22772 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22773 Specify type.
22774 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22775 [C99-based standards] (math_errhandling): Specify type.
22776 [ISO99 || ISO11] (signgam): Do not allow.
22777 [non-C99-based standards] (copysignf): Do not allow.
22778 [non-C99-based standards] (exp2f): Likewise.
22779 [non-C99-based standards] (log2f): Likewise.
22780 [non-C99-based standards] (modff): Allow.
22781 [non-C99-based standards] (erff): Do not allow.
22782 [non-C99-based standards] (erfcf): Likewise.
22783 [non-C99-based standards] (gammaf): Likewise.
22784 [non-C99-based standards] (hypotf): Likewise.
22785 [non-C99-based standards] (j0f): Likewise.
22786 [non-C99-based standards] (j1f): Likewise.
22787 [non-C99-based standards] (jnf): Likewise.
22788 [non-C99-based standards] (lgammaf): Likewise.
22789 [non-C99-based standards] (tgammaf): Likewise.
22790 [non-C99-based standards] (y0f): Likewise.
22791 [non-C99-based standards] (y1f): Likewise.
22792 [non-C99-based standards] (ynf): Likewise.
22793 [non-C99-based standards] (isnanf): Likewise.
22794 [non-C99-based standards] (acoshf): Likewise.
22795 [non-C99-based standards] (asinhf): Likewise.
22796 [non-C99-based standards] (atanhf): Likewise.
22797 [non-C99-based standards] (cbrtf): Likewise.
22798 [non-C99-based standards] (expm1f): Likewise.
22799 [non-C99-based standards] (ilogbf): Likewise.
22800 [non-C99-based standards] (log1pf): Likewise.
22801 [non-C99-based standards] (logbf): Likewise.
22802 [non-C99-based standards] (nextafterf): Likewise.
22803 [non-C99-based standards] (remainderf): Likewise.
22804 [non-C99-based standards] (rintf): Likewise.
22805 [non-C99-based standards] (scalbf): Likewise.
22806 [non-C99-based standards] (copysignl): Likewise.
22807 [non-C99-based standards] (exp2l): Likewise.
22808 [non-C99-based standards] (log2l): Likewise.
22809 [non-C99-based standards] (modfl): Allow.
22810 [non-C99-based standards] (erfl): Do not allow.
22811 [non-C99-based standards] (erfcl): Likewise.
22812 [non-C99-based standards] (gammal): Likewise.
22813 [non-C99-based standards] (hypotl): Likewise.
22814 [non-C99-based standards] (j0l): Likewise.
22815 [non-C99-based standards] (j1l): Likewise.
22816 [non-C99-based standards] (jnl): Likewise.
22817 [non-C99-based standards] (lgammal): Likewise.
22818 [non-C99-based standards] (tgammal): Likewise.
22819 [non-C99-based standards] (y0l): Likewise.
22820 [non-C99-based standards] (y1l): Likewise.
22821 [non-C99-based standards] (ynl): Likewise.
22822 [non-C99-based standards] (isnanl): Likewise.
22823 [non-C99-based standards] (acoshl): Likewise.
22824 [non-C99-based standards] (asinhl): Likewise.
22825 [non-C99-based standards] (atanhl): Likewise.
22826 [non-C99-based standards] (cbrtl): Likewise.
22827 [non-C99-based standards] (expm1l): Likewise.
22828 [non-C99-based standards] (ilogbl): Likewise.
22829 [non-C99-based standards] (log1pl): Likewise.
22830 [non-C99-based standards] (logbl): Likewise.
22831 [non-C99-based standards] (nextafterl): Likewise.
22832 [non-C99-based standards] (remainderl): Likewise.
22833 [non-C99-based standards] (rintl): Likewise.
22834 [non-C99-based standards] (scalbl): Likewise.
22835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22836 [non-C99-based standards] (FP_*): Do not allow.
22837 [C99-based standards] (FP_*): Change to
22838 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22839 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22840 allow.
22841 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22842 (SIG_ERR): Likewise.
22843 [X/Open-based standards] (SIG_HOLD): Likewise.
22844 (SIG_IGN): Likewise.
22845 (SIGABRT): Use macro-int-constant. Specify type. Require
22846 positive value.
22847 (SIGFPE): Likewise.
22848 (SIGILL): Likewise.
22849 (SIGINT): Likewise.
22850 (SIGSEGV): Likewise.
22851 (SIGTER): Likewise.
22852 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22853 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22854 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22855 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22856 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22857 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22858 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22859 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22860 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22861 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22862 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22863 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22864 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22865 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22866 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22867 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22868 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22869 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22870 [X/Open-based standards] (SIGTRAP): Likewise.
22871 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22872 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22873 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22874 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22875 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22876 allow.
22877
b9f1922d
IW
228782012-05-08 Ian Wienand <ianw@vmware.com>
22879
22880 [BZ #14080]
22881 * time/tzset.c (__tzset_parse_tz): Update default rules for
22882 daylight time changes in the Energy Policy Act of 2005.
22883
1db86e88
AJ
228842012-05-09 Andreas Jaeger <aj@suse.de>
22885
22886 [BZ #13983]
22887 * elf/ldconfig.c (parse_conf): Change string to make clear that
22888 ldconfig only issued a warning if ld.so.conf does not exist.
22889
dee4a4e3
DM
228902012-05-08 David S. Miller <davem@davemloft.net>
22891
ee0db190
DM
22892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22893 movxtod instead of popping the value on the stack.
22894
dee4a4e3
DM
22895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22896
6a43ec98
CD
228972012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22898
22899 * config.h.in: Add HAVE_ARM_PCS_VFP.
22900
05c2c961
RMG
229012012-05-08 Roland Mc Grath <roland@hack.frob.com>
22902
bcfe3a54
ST
22903 [BZ #13979]
22904 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22905 checking but the checks are disabled for any reason.
05c2c961 22906
4b30f61a
L
229072012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22908
22909 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22910 and ELF64_R_TYPE with ELFW(R_TYPE).
22911
eee2bc67
JM
229122012-05-08 Joseph Myers <joseph@codesourcery.com>
22913
7ea5391a
JM
22914 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22915 (ulimit): Likewise.
22916
eee2bc67
JM
22917 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22918 (settimeofday): Likewise.
22919
abb66a67
MF
229202012-05-08 Mike Frysinger <vapier@gentoo.org>
22921
22922 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22923 a struct th_u2 inside the union, and move tu_block/tu_code into
22924 a new th_u3 union of tu_block/tu_code inside of that. Move
22925 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22926 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22927 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22928 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22929 (th_stuff): Change to th_u1.tu_stuff.
22930 (th_data): Define.
22931 (th_msg): Change to th_u1.th_u2.tu_data.
22932
7f18b530
DM
229332012-05-07 David S. Miller <davem@davemloft.net>
22934
05760585
DM
22935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22936
7f18b530
DM
22937 [BZ #14074]
22938 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22939 (SETUP_PIC_REG): Use it.
22940 (SETUP_PIC_REG_LEAF): Use it.
22941
495fd99f
JM
229422012-05-07 Joseph Myers <joseph@codesourcery.com>
22943
22944 [BZ #13885]
22945 [BZ #13923]
22946 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22947 USE_AS_EXPM1L.
22948 (EXPL_FINITE): Likewise.
22949 (FLDLOG): Likewise.
22950 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22951 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22952 e_expl.S.
22953 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22954 USE_AS_EXPM1L.
22955 (EXPL_FINITE): Likewise.
22956 (FLDLOG): Likewise.
22957 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22958 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22959 e_expl.S.
22960 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22961 test of -max_value argument for long double.
22962 * sysdeps/i386/fpu/libm-test-ulps: Update.
22963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22964
6693d694
DM
229652012-05-06 David S. Miller <davem@davemloft.net>
22966
22967 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22968 quad soft-float symbols whose references which are compiler
22969 generated.
22970 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22971
6c23e11c
JM
229722012-05-06 Joseph Myers <joseph@codesourcery.com>
22973
d8b82cad
JM
22974 [BZ #13884]
22975 [BZ #13914]
22976 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22977 USE_AS_EXP10L.
22978 (EXPL_FINITE): Likewise.
22979 (FLDLOG): Likewise.
22980 (c0): Likewise.
22981 (c1): Likewise.
22982 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22983 Adjust comments for base varying.
22984 (__expl_finite): Change alias to EXPL_FINITE.
22985 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22986 e_expl.S.
22987 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22988 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22989 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22990 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22991 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22992 USE_AS_EXP10L.
22993 (EXPL_FINITE): Likewise.
22994 (FLDLOG): Likewise.
22995 (c0): Likewise.
22996 (c1): Likewise.
22997 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22998 Adjust comments for base varying.
22999 (__expl_finite): Change alias to EXPL_FINITE.
23000 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23001 tests for bugs.
23002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23003
6c23e11c
JM
23004 [BZ #14064]
23005 * math/libm-test.inc (check_float_internal): Correct ulp
23006 calculation for subnormal expected results.
23007
29ba805c
AJ
230082012-05-06 Andreas Jaeger <aj@suse.de>
23009
23010 * Makeconfig (+math-flags): New, set to -frounding-math.
23011 (+cflags): Add +math-flags so that all of glibc gets compiled with
23012 it.
23013
23014 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23015
7b17aeda
JM
230162012-05-05 Joseph Myers <joseph@codesourcery.com>
23017
5779f134
JM
23018 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23019 Disable one test.
23020
41498f4d
JM
23021 [BZ #13787]
23022 [BZ #13922]
23023 [BZ #14036]
23024 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23025 (__ieee754_expl): Allow for and saturate large arguments.
23026 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23027 (u_threshold): Likewise.
23028 (__exp): Call __ieee754_exp before checking for overflow and
23029 underflow.
23030 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23031 (u_threshold): Likewise.
23032 (__expf): Call __ieee754_expf before checking for overflow and
23033 underflow.
23034 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23035 (u_threshold): Likewise.
23036 (__expl): Call __ieee754_expl before checking for overflow and
23037 underflow.
23038 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23039 (__ieee754_expl): Allow for and saturate large arguments.
23040 * math/libm-test.inc (exp_test): Add another test. Do not allow
23041 missing overflow exception on overflow.
23042 (expm1_test): Do not allow missing overflow exception on overflow.
23043
6698b8bf
JM
23044 * sysdeps/i386/fpu/e_expl.c: Move to ...
23045 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23046 rather than using inline asm.
23047 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23048 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23049 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23050
7b17aeda
JM
23051 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23052 (nice): Likewise.
23053 (poll): Likewise.
23054 (signal): Likewise.
23055 (time): Likewise.
23056 (times): Likewise.
23057
f7c85819
JM
230582012-05-04 Joseph Myers <joseph@codesourcery.com>
23059
23060 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23061 sysdeps/unix/common/syscalls.list.
23062 (fchmod): Likewise.
23063 (fchown): Likewise.
23064 (ftruncate): Likewise.
23065 (getrusage): Likewise.
23066 (gettimeofday): Likewise.
23067 (setpgid): Likewise.
23068 (setregid): Likewise.
23069 (setreuid): Likewise.
23070 (sigaction): Likewise.
23071 (truncate): Likewise.
23072 (vhangup): Likewise.
23073 * sysdeps/unix/common/syscalls.list: Remove file.
23074 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23075 * sysdeps/unix/sysv/linux/Implies: Likewise.
23076
336270d0
L
230772012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23078
23079 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23081 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23082 Moved to ...
23083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23084 Here.
23085 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23086 to ...
23087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23088 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23089 to ...
23090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23091 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23092 to ...
23093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23094 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23095 to ...
23096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23097 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23098 to ...
23099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23100 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23101 to ...
23102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23103 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23104 to ...
23105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23106 Here.
23107 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23108 to ...
23109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23110 Here.
23111 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23112 to ...
23113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23114 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23115 Moved to ...
23116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23117 Here.
23118 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23119 to ...
23120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23121
d128e450
JM
231222012-05-04 Joseph Myers <joseph@codesourcery.com>
23123
fa8ee516
JM
23124 * sysdeps/unix/common/bits/dirent.h: Remove file.
23125 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23126
d128e450
JM
23127 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23128 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23129 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23130 * sysdeps/unix/bsd/isatty.c: Likewise.
23131 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23132 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23133 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23134
ff8faaf0 231352012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23136
62881be4 23137 [BZ #13563]
31dc8730
AZ
23138 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23139 long double comparison inaccuracies.
23140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23142
6fef930c
AS
231432012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23144
23145 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23146 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23147
8f203e6c
JM
231482012-05-04 Joseph Myers <joseph@codesourcery.com>
23149
23150 [BZ #14049]
23151 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23152 nonzero digits before rounding a hex value.
23153 * stdlib/tst-strtod.c (tests): Add another test.
23154
5197d9c2
AK
231552012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23156
23157 * sysdeps/s390/fpu/libm-test-ulps: Update.
23158
f0c1dedf
AJ
231592012-05-03 Andreas Jaeger <aj@suse.de>
23160
23161 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23162 does not get optimized out.
23163 (malloc_opt_barrier): New.
23164
a65ef2ae 231652012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23166 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23167
2b942cb7 23168 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23169 intermediate file deletion.
2b942cb7 23170 (generated): Add .symlist files.
a65ef2ae 23171
54b71e02
JM
231722012-05-03 Joseph Myers <joseph@codesourcery.com>
23173
23174 [BZ #13775]
23175 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23176 Redirect under this condition.
23177 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23178 [__USE_GNU] (__dprintf_chk): Not under this condition.
23179 [__USE_GNU] (__vdprintf_chk): Likewise.
23180 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23181 under this condition.
23182 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23183 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23184 [__USE_XOPEN2K8] (vdprintf): Likewise.
23185 [__USE_GNU] (__dprintf_chk): Not under this condition.
23186 [__USE_GNU] (__vdprintf_chk): Likewise.
23187 [__USE_GNU] (dprintf): Likewise.
23188 [__USE_GNU] (vdprintf): Likewise.
23189
d3dfcc41
RM
231902012-05-03 Roland McGrath <roland@hack.frob.com>
23191
23192 * elf/Makefile (common-generated): Set this instead of generated for
23193 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23194 $(all-built-dso)-derived lists.
23195
7ac30cc5
AJ
231962012-05-03 Andreas Jaeger <aj@suse.de>
23197
0c51e550
AJ
23198 * sysdeps/i386/fpu/libm-test-ulps: Update.
23199
7ac30cc5
AJ
23200 * FAQ: Removed.
23201 * FAQ.in: Likewise.
23202 * scripts/gen-FAQ.pl: Likewise.
23203 * manual/install.texi (Installation): Point to online location of
23204 FAQ.
23205 * Makefile (files-for-dist): Remove FAQ.
23206 (FAQ): Remove.
23207
d4c2917f
AM
232082012-05-02 Allan McRae <allan@archlinux.org>
23209
23210 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23211 (LDFLAGS-reldepmod5.so): Likewise.
23212 (LDFLAGS-reldep6mod1.so): Likewise.
23213 (LDFLAGS-reldep6mod4.so): Likewise.
23214 (LDFLAGS-reldep8mod3.so): Likewise.
23215 (LDFLAGS-unload4mod1.so): Likewise.
23216 (LDFLAGS-unload4mod2.so): Likewise.
23217 (LDFLAGS-tst-initorder): Likewise.
23218 (LDFLAGS-tst-initordera2.so): Likewise.
23219 (LDFLAGS-tst-initordera3.so): Likewise.
23220 (LDFLAGS-tst-initordera4.so): Likewise.
23221 (LDFLAGS-tst-initorderb2.so): Likewise.
23222 (LDFLAGS-noload): Likewise.
23223 (LDFLAGS-next): Likewise.
23224 (LDFLAGS-order2mod1.so): Likewise.
23225 (LDFLAGS-order2mod2.so): Likewise.
23226 (LDFLAGS-tst-initorder2): Likewise.
23227 (LDFLAGS-tst-initorder2a.so): Likewise.
23228 (LDFLAGS-tst-initorder2b.so): Likewise.
23229 (LDFLAGS-tst-initorder2c.so): Likewise.
23230 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23231
d77f993f
DM
232322012-05-02 David S. Miller <davem@davemloft.net>
23233
23234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23235
171a70b4
PP
232362012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23237
23238 [BZ #14055]
23239 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23240
0be196ad
AJ
232412012-05-02 Andreas Jaeger <aj@suse.de>
23242
23243 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23244 since we manipulate rounding mode.
23245 (CPPFLAGS-test-idouble.c): Likewise.
23246 (CPPFLAGS-test-ifloat.c): Likewise.
23247 (CFLAGS-test-ldouble.c): Likewise.
23248 (CFLAGS-test-double.c): Likewise.
23249 (CFLAGS-test-float.c): Likewise.
23250 (CFLAGS-test-misc.c): Likewise.
23251 (CFLAGS-test-test-fenv.c): Likewise.
23252
4f9d04aa
AZ
232532012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23254
2b942cb7
RM
23255 [BZ #2550]
23256 [BZ #2570]
23257 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23258 comparisons to determine direction to adjust input.
4f9d04aa 23259
82a79e7d
RM
232602012-05-01 Roland McGrath <roland@hack.frob.com>
23261
f5a01ca9
RM
23262 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23263 output to the target.
23264
90fe4186
RM
23265 * scripts/localplt.awk: New file.
23266 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23267 (check-localplt-CFLAGS): Variable removed.
23268 ($(all-built-dso:=.jmprel)): New static pattern rule.
23269 (generated): Add those targets.
23270 (localplt-built-dso): New variable.
23271 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23272
23273 * elf/check-localplt.c: File removed.
23274
82397ed6
RM
23275 * scripts/check-execstack.awk: New file.
23276 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23277 (check-execstack-CFLAGS): Variable removed.
23278 ($(objpfx)check-execstack.h): Target removed.
23279 ($(objpfx)execstack-default): New target.
23280 (generated): Add that instead of check-execstack.h.
23281 ($(all-built-dso:=.phdr)): New static pattern rule.
23282 (generated): Add those targets.
23283 * elf/check-execstack.c: File removed.
23284
82a79e7d
RM
23285 * scripts/check-textrel.awk: New file.
23286 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23287 (check-textrel-CFLAGS): Variable removed.
23288 (all-built-dso): Use := to define.o
23289 ($(all-built-dso:=.dyn)): New static pattern rule.
23290 (generated): Add those targets.
23291 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23292 * config.make.in (READELF): New substituted variable.
23293 * elf/check-textrel.c: File removed.
23294
62fde54f 232952012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23296
615605c9
JM
23297 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23298 allow.
23299 * conform/data/ctype.h-data [C99-based standards] (isblank):
23300 Expect function.
23301 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23302 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23303 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23304 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23305 Specify type. Require positive value.
23306 (EILSEQ): Likewise.
23307 (ERANGE): Likewise.
23308 [ISO || POSIX] (EILSEQ): Do not expect.
23309 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23310 Specify type. Require positive value.
23311 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23312 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23313 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23314 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23315 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23316 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23317 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23318 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23319 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23320 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23321 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23322 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23323 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23324 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23325 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23326 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23327 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23328 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23329 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23330 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23331 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23332 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23333 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23334 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23335 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23336 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23337 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23338 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23339 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23340 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23341 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23342 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23343 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23344 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23345 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23346 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23347 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23348 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23349 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23350 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23351 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23352 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23353 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23354 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23355 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23356 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23357 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23358 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23359 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23360 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23361 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23362 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23363 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23364 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23365 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23366 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23367 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23368 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23369 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23370 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23371 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23372 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23373 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23374 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23375 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23376 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23377 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23378 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23379 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23380 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23381 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23382 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23383 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23384 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23385 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23386 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23387 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23388 Require >= 2.
23389 (FLT_ROUNDS): Expect as macro, not constant.
23390 (FLT_MANT_DIG): Use macro-int-constant.
23391 (DBL_MANT_DIG): Likewise.
23392 (LDBL_MANT_DIG): Likewise.
23393 (FLT_DIG): Likewise.
23394 (DBL_DIG): Likewise.
23395 (LDBL_DIG): Likewise.
23396 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23397 (DBL_MIN_EXP): Likewise.
23398 (LDBL_MIN_EXP): Likewise.
23399 (FLT_MAX_EXP): Use macro-int-constant.
23400 (DBL_MAX_EXP): Likewise.
23401 (LDBL_MAX_EXP): Likewise.
23402 (FLT_MAX_10_EXP): Likewise.
23403 (DBL_MAX_10_EXP): Likewise.
23404 (LDBL_MAX_10_EXP): Likewise.
23405 (FLT_MAX): Use macro-constant.
23406 (DBL_MAX): Likewise.
23407 (LDBL_MAX): Likewise.
23408 (FLT_EPSILON): Use macro-constant. Give upper bound.
23409 (DBL_EPSILON): Likewise.
23410 (LDBL_EPSILON): Likewise.
23411 (FLT_MIN): Likewise.
23412 (DBL_MIN): Likewise.
23413 (LDBL_MIN): Likewise.
23414 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23415 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23416 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23417 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23418 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23419 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23420 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23421 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23422 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23423 [ISO11] (FLT_TRUE_MIN): Likewise.
23424 [ISO11] (LDBL_TRUE_MIN): Likewise.
23425 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23426 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23427 (SCHAR_MIN): Use macro-int-constant. Specify type.
23428 (SCHAR_MAX): Likewise.
23429 (UCHAR_MAX): Likewise.
23430 (CHAR_MIN): Likewise.
23431 (CHAR_MAX): Likewise.
23432 (MB_LEN_MAX): Use macro-int-constant.
23433 (SHRT_MIN): Use macro-int-constant. Specify type.
23434 (SHRT_MAX): Likewise.
23435 (USHRT_MAX): Likewise.
23436 (INT_MAX): Likewise.
23437 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23438 bound negative.
23439 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23440 bound with "U".
23441 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23442 bound with "L".
23443 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23444 bound negative. Suffix upper bound with "L".
23445 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23446 bound with "UL".
23447 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23448 Specify type.
23449 [C99-based standards] (LLONG_MAX): Likewise.
23450 [C99-based standards] (ULLONG_MAX): Likewise.
23451 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23452 == 0.
23453 [ISO11] (max_align_t): Require type.
23454 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23455
c9140a62
JM
23456 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23457 from $CFLAGS, without defining away __attribute__ calls.
23458 (checknamespace): Use $CFLAGS_namespace.
23459
9af0bf29
JM
23460 * conform/conformtest.pl (@keywords): Only include C99 keywords
23461 for standards based on C99 or C11.
23462
343222a2
JM
23463 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23464 Disable tests.
23465 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23466 UNIX98]: Likewise.
23467
661f8cf0
JM
23468 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23469 usability of symbols in #if.
23470
ee74b9cb
JM
23471 * conform/conformtest.pl: If macro or constant types start
23472 "promoted:", expect the symbol to be of the following type
23473 promoted by the integer promotions.
62fde54f 23474
aafc49b3
JM
23475 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23476 in one place. Also handle "macro-constant".
23477
fefdf574
JM
23478 * conform/conformtest.pl: Only accept expected macro values with
23479 "==". Parse all "macro" lines in one place.
23480 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23481
f2d922fe
JM
23482 * conform/conformtest.pl: Handle braced types on "constant" lines
23483 instead of handling "typed-constant".
23484 * conform/data/signal.h-data: Use "constant" instead of
23485 "typed-constant".
23486
d22956c9
JM
23487 * conform/conformtest.pl: Handle "optional-" at start of lines in
23488 one place rather than duplicating several cases. Handle each
23489 format of "macro" line with initial "optional-".
23490
028e2e38
JM
23491 * conform/conformtest.pl: Only accept expected constant or
23492 optional-constant values with "==". Parse all "constant" lines in
23493 one place. Parse all "optional-constant" lines in one place.
23494 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23495 * conform/data/fmtmsg.h-data: Likewise.
23496 * conform/data/netinet/in.h-data: Likewise.
23497 * conform/data/tar.h-data: Likewise.
23498 * conform/data/limits.h-data: Use "==" form on "constant" and
23499 "optional-constant" lines.
23500
1b8f2850
JM
23501 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23502 Use -std=c99 for XOPEN2K.
23503 (@knownproblems): Remove.
23504 (newtoken): Don't check %isknown.
23505
a05a144b
JM
23506 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23507 Do not expect macro.
23508 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23509 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23510 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23511 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23512 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23513 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23514 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23515 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23516 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23517 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23518 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23519 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23520 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23521 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23522 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23523 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23524 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23525 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23526 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23527 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23528 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23529 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23530 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23531 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23532 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23533 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23534 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23535 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23536 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23537 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23538 [XPG3] (acosh): Likewise.
23539 [XPG3] (asinh): Likewise.
23540 [XPG3] (atanh): Likewise.
23541 [XPG3] (cbrt): Likewise.
23542 [XPG3] (expm1): Likewise.
23543 [XPG3] (ilogb): Likewise.
23544 [XPG3] (log1p): Likewise.
23545 [XPG3] (logb): Likewise.
23546 [XPG3] (nextafter): Likewise.
23547 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23548 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23549 [XPG3] (remainder): Likewise.
23550 [XPG3] (rint): Likewise.
23551 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23552 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23553 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23554 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23555 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23556 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23557 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23558 [UNIX98 || XOPEN2K] (scalb): Expect.
23559 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23560 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23561 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23562 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23563 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23564 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23565 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23566 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23567 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23568 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23569 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23570 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23571 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23572 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23573 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23574 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23575 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23576 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23577 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23578 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23579 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23580 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23581 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23582 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23583 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23584 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23585 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23586 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23587 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23588 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23589 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23590 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23591 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23592 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23593 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23594 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23595 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23596 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23597 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23598 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23599 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23600 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23601 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23602 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23603 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23604 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23605 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23606 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23607 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23608 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23609 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23610 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23611 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23612 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23613 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23614 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23615 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23616 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23617 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23618 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23619 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23620 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23621 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23622 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23623 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23624 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23625 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23626 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23627 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23628 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23629 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23630 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23631 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23632 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23633 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23634 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23635 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23636 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23637 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23638 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23639 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23640 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23641 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23642 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23643 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23644 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23645 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23646 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23647 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23648 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23649 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23650 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23651 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23652 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23653 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23654 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23655 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23656 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23657 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23658 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23659 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23660 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23661 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23662 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23663 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23664 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23665 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23666 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23667 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23668 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23669 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23670 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23671 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23672 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23673 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23674 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23675 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23676 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23677 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23678 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23679 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23680 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23681 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23682 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23683 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23684 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23685 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23686 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23687 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23688 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23689 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23690 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23691 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23692 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23693 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23694 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23695 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23696
73c5ebe3
JM
23697 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23698 _XOPEN_SOURCE_EXTENDED for XPG4.
23699
39c33b6c
JM
23700 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23701
62fde54f
JM
23702 * Makeconfig (localtime): Remove variable.
23703 (inst_localtime-file): Likewise.
23704
0741d64c
AS
237052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23706
23707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23708 Update.
23709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23710 Update.
23711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23712 Update.
23713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23714 Update.
23715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23716 Update.
23717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23718 Update.
23719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23720 Update.
23721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23722 Update.
23723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23724 Update.
23725
7cb029ee
JM
237262012-05-01 Joseph Myers <joseph@codesourcery.com>
23727
23728 [BZ #2550]
23729 [BZ #2570]
23730 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23731 comparisons to determine direction to adjust input.
23732 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23733 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23734 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23735 Likewise.
23736 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23737 Likewise.
23738 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23739 Likewise.
23740 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23741 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23742 Likewise.
23743 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23744 Likewise.
23745 * math/libm-test.inc (nexttoward_test): Add more tests.
23746
412bd966
AS
237472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23748
23749 [BZ #14040]
23750 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23751 in version GLIBC_2.1, not GLIBC_2.0.
23752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23753 Likewise.
23754
9568c0c2
JM
237552012-04-30 Joseph Myers <joseph@codesourcery.com>
23756
adfbc8ac
JM
23757 [BZ #13942]
23758 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23759 (1 - x) * (1 + x).
23760 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23761 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23762 * math/libm-test.inc (acos_test): Add more tests.
23763 (asin_test): Likewise.
23764 * sysdeps/i386/fpu/libm-test-ulps: Update.
23765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23766
5ba3cc69
JM
23767 [BZ #14034]
23768 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23769 of square root.
23770 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23771 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23772 * math/libm-test.inc (acos_test_tonearest): New function.
23773 (acos_test_towardzero): Likewise.
23774 (acos_test_downward): Likewise.
23775 (acos_test_upward): Likewise.
23776 (asin_test_tonearest): Likewise.
23777 (asin_test_towardzero): Likewise.
23778 (asin_test_downward): Likewise.
23779 (asin_test_upward): Likewise.
23780 (main): Call the new functions.
23781 * sysdeps/i386/fpu/libm-test-ulps: Update.
23782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23783
9568c0c2
JM
23784 [BZ #13884]
23785 [BZ #13924]
23786 * math/e_exp10.c: Include <float.h>.
23787 (__ieee754_exp10): Handle underflow here rather than multiplying
23788 large negative argument by M_LN10.
23789 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23790 of __ieee754_expf.
23791 * math/e_exp10l.c: Include <float.h>.
23792 (__ieee754_exp10l): Handle underflow here rather than multiplying
23793 large negative argument by M_LN10l.
23794 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23795 spurious overflow exception on underflow.
23796
5ac3ea17
MP
237972012-04-29 Marek Polacek <polacek@redhat.com>
23798
23799 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23800 (__fortify_function): New macro.
23801 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23802 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23803 __extern_always_inline.
23804 * libio/bits/stdio2.h: Likewise.
23805 * libio/bits/stdio.h: Likewise.
23806 * string/string.h: Likewise.
23807 * string/bits/string3.h: Likewise.
23808 * include/stdio.h: Likewise.
23809 * stdlib/bits/stdlib.h: Likewise.
23810 * stdlib/stdlib.h: Likewise.
23811 * rt/bits/mqueue2.h: Likewise.
23812 * rt/mqueue.h: Likewise.
23813 * posix/bits/unistd.h: Likewise.
23814 * posix/unistd.h: Likewise.
23815 * io/bits/poll2.h: Likewise.
23816 * io/bits/fcntl2.h: Likewise.
23817 * io/fcntl.h: Likewise.
23818 * io/sys/poll.h: Likewise.
23819 * misc/bits/syslog.h: Likewise.
23820 * misc/bits/syslog-ldbl.h: Likewise.
23821 * misc/sys/syslog.h: Likewise.
23822 * socket/bits/socket2.h: Likewise.
23823 * socket/sys/socket.h: Likewise.
23824 * debug/tst-chk1.c: Likewise.
23825 * wcsmbs/bits/wchar2.h: Likewise.
23826 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23827 * wcsmbs/wchar.h: Likewise.
23828
ecf0ebfb
AJ
238292012-04-29 Andreas Jaeger <aj@suse.de>
23830
23831 * Makerules (tests): Remove enable-check-abi protection.
23832 (check-abi-warn): Remove.
23833 (check-abi-%): Remove check-abi-warn usage.
23834
23835 * configure.in: Remove check-abi configure option.
23836 * configure: Regenerated.
23837 * config.make.in (enable-check-abi): Remove.
23838
6d5c57fa
AS
238392012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23840
24c5d07e 23841 [BZ #14033]
ded5180a
AS
23842 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23843 double functions to double *_finite functions.
23844
7e0d315d
AS
23845 [BZ #13941]
23846 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23847 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23848 LDBL_MIN_EXP.
23849 * stdio-common/Makefile (tests): Add tst-sprintf3.
23850 * stdio-common/tst-sprintf3.c: New file.
23851
6d5c57fa
AS
23852 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23853 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23854
0749ff8b
JM
238552012-04-28 Joseph Myers <joseph@codesourcery.com>
23856
23857 * conform/conformtest.pl: Remove duplicate typed-constant
23858 handling.
23859
8dbd5d7b
DM
238602012-04-28 David S. Miller <davem@davemloft.net>
23861
23862 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23863 (check-abi-%): Remove AWK script prerequisite and explicit
23864 abilist directory.
23865 (check-abi): Rewrite to just diff the symlist with the abilist.
23866 (config-tls, config-abi-config): Delete, no longer used.
23867 (update-abi-%): Remove AWK script and explicit abilist directory.
23868 (update-abi): Rewrite to simply compare and conditionally copy the
23869 symlist and the sysdep abilist file. Remove update-abi-config
23870 checks.
23871 * abilist/ld.abilist: Remove.
23872 * abilist/libBrokenLocale.abilist: Remove.
23873 * abilist/libanl.abilist: Remove.
23874 * abilist/libcrypt.abilist: Remove.
23875 * abilist/libdl.abilist: Remove.
23876 * abilist/librt.abilist: Remove.
23877 * abilist/libthread_db.abilist: Remove.
23878 * abilist/libutil.abilist: Remove.
23879 * scripts/extract-abilist.awk: Remove.
23880 * scripts/merge-abilist.awk: Remove.
23881 * sysdeps/generic/libcidn.abilist: New file.
23882 * sysdeps/generic/libnss_compat.abilist: New file.
23883 * sysdeps/generic/libnss_db.abilist: New file.
23884 * sysdeps/generic/libnss_dns.abilist: New file.
23885 * sysdeps/generic/libnss_files.abilist: New file.
23886 * sysdeps/generic/libnss_hesiod.abilist: New file.
23887 * sysdeps/generic/libnss_nis.abilist: New file.
23888 * sysdeps/generic/libnss_nisplus.abilist: New file.
23889 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23890 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23891 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23892 file.
23893 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23894 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23895 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23896 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23897 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23898 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23899 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23900 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23901 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23902 file.
23903 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23904 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23905 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23906 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23907 file.
23908 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23909 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23910 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23911 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23912 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23913 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23914 file.
23915 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23916 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23917 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23918 file.
23919 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23921 New file.
23922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23923 New file.
23924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23925 New file.
23926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23927 New file.
23928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23929 New file.
23930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23931 New file.
23932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23933 New file.
23934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23935 New file.
23936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23937 New file.
23938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23939 New file.
23940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23941 New file.
23942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23943 New file.
23944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23945 New file.
23946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23947 file.
23948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23949 New file.
23950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23951 New file.
23952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23953 file.
23954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23955 New file.
23956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23957 New file.
23958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23959 file.
23960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23961 New file.
23962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23963 New file.
23964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23965 New file.
23966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23967 New file.
23968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23969 New file.
23970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23971 New file.
23972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23974 file.
23975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23976 New file.
23977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23978 file.
23979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23980 file.
23981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23982 file.
23983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23984 file.
23985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23986 file.
23987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23988 New file.
23989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23990 file.
23991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23992 file.
23993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23994 New file.
23995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23996 file.
23997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23999 file.
24000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24001 New file.
24002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24003 file.
24004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24005 file.
24006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24007 file.
24008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24009 file.
24010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24011 file.
24012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24013 New file.
24014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24015 file.
24016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24017 file.
24018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24019 New file.
24020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24021 file.
24022 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24023 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24024 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24025 file.
24026 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24027 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24028 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24029 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24030 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24031 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24032 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24033 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24034 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24035 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24038 file.
24039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24040 New file.
24041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24042 file.
24043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24044 file.
24045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24046 file.
24047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24048 file.
24049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24050 file.
24051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24052 New file.
24053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24054 New file.
24055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24056 file.
24057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24058 New file.
24059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24060 file.
24061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24063 file.
24064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24065 New file.
24066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24067 file.
24068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24069 file.
24070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24071 file.
24072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24073 file.
24074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24075 file.
24076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24077 New file.
24078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24079 New file.
24080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24081 file.
24082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24083 New file.
24084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24085 file.
24086
41d73a1b
JM
240872012-04-28 Joseph Myers <joseph@codesourcery.com>
24088
24089 * conform/conformtest.pl: Fix typo in handling typed-constant from
24090 allow-header.
24091
28aeeda4
JM
240922012-04-27 Joseph Myers <joseph@codesourcery.com>
24093
adae8f5e
JM
24094 * README: Cut down references to pre-2.6 Linux kernels and
24095 Linuxthreads. Update lists of configurations in libc and ports
24096 and sort alphabetically. Say "or newer" with Linux kernel version
24097 requirements.
24098
28aeeda4
JM
24099 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24100
a462cb63
RA
241012012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24102
24103 [BZ #887]
24104 * math/libm-test.inc (logb_test_downward): New test to expose
24105 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24106 rounding mode.
24107
6ad3493e
JM
241082012-04-27 Joseph Myers <joseph@codesourcery.com>
24109
24110 [BZ #14027]
24111 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24112 to be done.
24113 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24114 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24115
2ce4f015
JM
241162012-04-26 Joseph Myers <joseph@codesourcery.com>
24117
5aeb141a
JM
24118 * sysdeps/unix/i386/brk.S: Remove file.
24119 * sysdeps/unix/i386/dl-brk.S: Likewise.
24120 * sysdeps/unix/i386/pipe.S: Likewise.
24121 * sysdeps/unix/i386/sigreturn.S: Likewise.
24122 * sysdeps/unix/i386/syscall.S: Likewise.
24123 * sysdeps/unix/i386/vfork.S: Likewise.
24124 * sysdeps/unix/i386/wait.S: Likewise.
24125
7143acae
JM
24126 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24127 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24128
2ce4f015
JM
24129 * configure.in (arm*-none*): Do not allow without
24130 --enable-hacker-mode.
24131 (netbsd*): Remove case setting base_os.
24132 (386bsd*): Likewise.
24133 (freebsd*): Likewise.
24134 (bsdi*): Likewise.
24135 (osf*): Likewise.
24136 (sunos*): Likewise.
24137 (ultrix*): Likewise.
24138 (newsos*): Likewise.
24139 (dynix*): Likewise.
24140 (*bsd*): Likewise.
24141 (sysv*): Likewise.
24142 (isc*): Likewise.
24143 (esix*): Likewise.
24144 (sco*): Likewise.
24145 (minix*): Likewise.
24146 (irix4*): Likewise.
24147 (irix6*): Likewise.
24148 (solaris[2-9]*): Likewise.
24149 (none): Likewise.
24150 * configure: Regenerated.
24151
0ac229c8
AZ
241522012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24153
24154 [BZ #11521]
24155 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24156 overflow or cancellation in calculating denominator.
24157 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24158 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24159 down expression to avoid unexpected rounding in newer GCCs.
24160 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24161
33f244f4
DM
241622012-04-26 David S. Miller <davem@davemloft.net>
24163
24164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24165 long-double compat symbols.
24166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24179
cfa1f3e8
DM
241802012-04-25 David S. Miller <davem@davemloft.net>
24181
24182 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24183 HWCAP_* values only after the memory barriers have been defined.
24184 (atomic_full_barrier): Define.
24185 (atomic_read_barrier): Define.
24186 (atomic_write_barrier): Define.
24187
6e236b92
SP
241882012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24189
24190 * shlib-versions: Add libgcc_s version information.
24191 * sysdeps/generic/libgcc_s.h: Remove.
24192 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24193 libgcc_s.h.
24194 * sysdeps/gnu/unwind-resume.c: Likewise.
24195 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24196
aab39a09
DM
241972012-04-25 David S. Miller <davem@davemloft.net>
24198
24199 * sysdeps/unix/sparc/brk.S: Delete.
24200 * sysdeps/unix/sparc/dl-brk.S: Delete.
24201 * sysdeps/unix/sparc/pipe.S: Delete.
24202 * sysdeps/unix/sparc/sysdep.S: Delete.
24203 * sysdeps/unix/sparc/sysdep.h: Delete.
24204 * sysdeps/unix/sparc/vfork.S: Delete.
24205 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24206 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24207 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24208 ret_ERRVAL, r0, r1, MOVE): Define.
24209 (JUMPTARGET): Remove.
24210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24211 sysdeps/unix/sparc/sysdep.h
24212 (ENTRY, END): Remove.
24213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24214
a3cc4f48
JM
242152012-04-25 Joseph Myers <joseph@codesourcery.com>
24216
2ed8cda2
JM
24217 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24218 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24219 -DIS_IN_build.
24220
35d76d59
JM
24221 * timezone/README: Update upstream location and email address for
24222 tzcode and tzdata.
24223 * timezone/zdump.c: Update from tzcode 2012b.
24224 * timezone/zic.c: Likewise.
24225
a3cc4f48
JM
24226 * configure.in (libc_cv_as_needed): Remove test.
24227 * configure: Regenerated.
24228 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24229 conditional definition.
24230 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24231 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24232 * config.make.in (have-as-needed): Remove variable.
24233
ceab42c3
SP
242342012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24235 Paul Pluzhnikov <ppluzhnikov@google.com>
24236
24237 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24238 strings correctly.
24239
3ce2865f
CLT
242402012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24241
24242 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24243 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24244 * sysdeps/sh/strlen.S: Likewise.
24245
f37e0d68
JM
242462012-04-24 Joseph Myers <joseph@codesourcery.com>
24247
ae186e9a
JM
24248 * sysdeps/unix/fork.S: Remove file.
24249 * sysdeps/unix/i386/fork.S: Likewise.
24250 * sysdeps/unix/sparc/fork.S: Likewise.
24251
b96914af
JM
24252 * sysdeps/unix/system.c: Remove file.
24253 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24254
f37e0d68
JM
24255 * sysdeps/unix/getegid.S: Remove file.
24256 * sysdeps/unix/geteuid.S: Likewise.
24257
87ef29ca
RM
242582012-04-24 Roland McGrath <roland@hack.frob.com>
24259
83bcd236
RM
24260 * scripts/check-localplt.awk: New file.
24261 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24262 of diff.
24263 * scripts/data/localplt-generic.data: Add a comment.
24264
87ef29ca
RM
24265 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24266 NODE when __dir_mkfile failed.
24267 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24268 Reported by Ludovic Courtès <ludo@gnu.org>.
24269
e5a6e567
AJ
242702012-04-24 Andreas Jaeger <aj@suse.de>
24271
24272 * Makerules (common-clean): Also remove gen-as-const-headers
24273 files.
24274
c1820385
JM
242752012-04-24 Joseph Myers <joseph@codesourcery.com>
24276
24277 * Makerules (native-compile): Do not change working directory for
24278 build. Use $(OUTPUT_OPTION) in command.
24279 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24280
94e02fc4
AZ
242812012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24282
24283 [BZ #13886]
24284 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24285 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24286 * math/libm-test.inc (floor_test): Add more tests.
24287 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24288
3a533ca3
JM
242892012-04-24 Joseph Myers <joseph@codesourcery.com>
24290
940ab4b3
JM
24291 * sysdeps/unix/getdents.c: Remove file.
24292 * sysdeps/unix/sysv/getdents.c: Likewise.
24293 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24294
90e037bd
JM
24295 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24296 sysdeps/unix/mman/syscalls.list.
24297 (mmap): Likewise.
24298 (mprotect): Likewise.
24299 (msync): Likewise.
24300 (munmap): Likewise.
24301 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24302 * sysdeps/unix/mman/syscalls.list: Remove.
24303 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24304
3a533ca3
JM
24305 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24306 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24307 * configure: Regenerated.
24308 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24309 $(libgcc_s_suffix).
24310 * config.make.in (libgcc_s_suffix): Remove variable.
24311
1ad743de
JM
243122012-04-23 Joseph Myers <joseph@codesourcery.com>
24313
4ad451e2
JM
24314 * sysdeps/unix/sysv/gethostname.c: Move to ...
24315 * sysdeps/posix/gethostname.c: ... here.
24316
5e37ce39
JM
24317 * sysdeps/unix/execve.S: Remove file.
24318
1ad743de
JM
24319 * sysdeps/unix/_exit.S: Remove file.
24320
4e681b5b
AJ
243212012-04-23 Andreas Jaeger <aj@suse.de>
24322
24323 [BZ #13739]
24324 * manual/Makefile: Remove make dist support, there's no
24325 need for a stand-alone documentation tar ball.
24326 (TEXI2DVI): Define always, it's not in Makeconfig.
24327 (dist): Removed.
24328 (tar-it): Removed.
24329 (edition): Removed.
24330 (glibc-doc-$(edition).tar): Removed
24331 (%.Z): Removed.
24332 (%.gz): Removed.
24333 (%.uu): Removed.
24334 (ETAGS): Remove, it's in Makeconfig.
24335 (move-if-change): Remove, it's in Makeconfig.
24336
38686a03 243372012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24338
24339 [BZ #13970]
24340 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24341 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24342 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24343 (strtod_l, strtof_l, strtold_l): Remove __wur.
24344 It is not necessarily an error to ignore strtol's return value.
24345 One can reliably look at the stored endptr to decide whether
24346 the number had valid syntax.
24347
7c0616fa
AJ
243482012-04-21 Andreas Jaeger <aj@suse.de>
24349
803cb6b7 24350 [BZ #13739]
7c0616fa
AJ
24351 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24352
b0fe253f
JM
243532012-04-21 Joseph Myers <joseph@codesourcery.com>
24354
24355 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24356 * sysdeps/unix/sysv/Versions: Remove file.
24357
8280f22d
MT
243582012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24359
24360 [BZ #13927]
24361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24362
75ce411f 243632012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24364
24365 [BZ #7064]
24366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24367 version from __vm86.
24368
097d59fa
JM
243692012-04-20 Joseph Myers <joseph@codesourcery.com>
24370
a90f3bcb
JM
24371 * sysdeps/unix/common/lxstat.c: Remove file.
24372 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24373
edc7ea78
JM
24374 * sysdeps/unix/sysv/Makefile: Remove file.
24375
cb78c221
JM
24376 * sysdeps/unix/sysv/direct.h: Remove file.
24377
efa6a45f
JM
24378 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24379 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24380 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24381 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24382 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24383 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24384 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24385
9c9f2d0c
JM
24386 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24387
4541c83b
JM
24388 * sysdeps/unix/xmknod.c: Remove file.
24389 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24390
f5d153a0
JM
24391 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24392
aa746595
JM
24393 * sysdeps/unix/sysv/i386/time.S: Remove file.
24394
cce5905e
JM
24395 * sysdeps/unix/fxstat.c: Remove file.
24396 * sysdeps/unix/xstat.c: Likewise.
24397 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24398
37fa3841
JM
24399 * sysdeps/unix/sysv/sigaction.c: Remove file.
24400
ff1962a3
JM
24401 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24402 (sysdep_headers): Remove variable.
24403 [termio.h not in sysdep_headers] (generated): Likewise.
24404 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24405 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24406 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24407 * sysdeps/unix/sysv/tcflow.c: Likewise.
24408 * sysdeps/unix/sysv/tcflush.c: Likewise.
24409 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24410 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24411 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24412 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24413 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24414
e7740d31
JM
24415 * sysdeps/unix/siglist.c: Remove file.
24416
ee06f18b
JM
24417 * sysdeps/unix/getppid.S: Remove file.
24418
097d59fa
JM
24419 * sysdeps/unix/mkdir.c: Remove file.
24420 * sysdeps/unix/rmdir.c: Likewise.
24421
ff3d51ec
AS
244222012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24423
24424 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24425 ERR_MAX value.
24426 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24427 errlist-compat value.
24428
50f81fd7
DM
244292012-04-18 David S. Miller <davem@davemloft.net>
24430
24431 * sysdeps/generic/memcopy.h (reg_char): Delete.
24432 * debug/strcat_chk.c: Use char, not reg_char.
24433 * debug/strcpy_chk.c: Likewise.
24434 * debug/strncat_chk.c: Likewise.
24435 * debug/strncpy_chk.c: Likewise.
24436 * string/memchr.c: Likewise.
24437 * string/memrchr.c: Likewise.
24438 * string/rawmemchr.c: Likewise.
24439 * string/strcat.c: Likewise.
24440 * string/strchr.c: Likewise.
24441 * string/strchrnul.c: Likewise.
24442 * string/strcmp.c: Likewise.
24443 * string/strcpy.c: Likewise.
24444 * string/strncat.c: Likewise.
24445 * string/strncmp.c: Likewise.
24446 * string/strncpy.c: Likewise.
24447
8ff41c46
WS
244482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24449
24450 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24451 __builtin_memcopy is called when src and dest ranges are known to not
24452 overlap.
24453
6b652f46
WS
244542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24455
24456 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24457 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24458 fwd_align_merge macro call.
24459 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24460 bwd_align_merge macro call.
24461 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24462
b282631e
WS
244632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24464
24465 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24466 bwd_align_merge macros.
24467 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24468 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24469 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24470
95aa737c
DM
244712012-04-18 David S. Miller <davem@davemloft.net>
24472
24473 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24474
7a99a614
AJ
244752012-04-18 Andreas Jaeger <aj@suse.de>
24476
24477 [BZ# 6794]
24478 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24479 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24480 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24481
24482 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24483 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24484 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24485
24486 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24487 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24488 Adjust for changed ldbl-128 files.
24489
24490 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24491 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24492 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24493
e5270c23
DM
244942012-04-17 David S. Miller <davem@davemloft.net>
24495
24496 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24497
fb5e92c9
AS
244982012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24499
24500 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24501 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24502 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24503 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24504 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24505 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24506
76da7265
AZ
245072012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24508
24509 [BZ #6794]
24510 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24511 * math/libm-test.inc: Add ilogb errno and exception tests.
24512 * math/w_ilogb.c: New file: ilogb wrapper.
24513 * math/w_ilogbf.c: New file: ilogbf wrapper.
24514 * math/w_ilogbl.c: New file: ilogbl wrapper.
24515 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24516 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24517 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24518 exception being thrown with 0.0 as argument.
24519 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24520 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24521 exception being thrown with 0.0 as argument.
24522 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24523 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24524 exception being thrown with 0.0 as argument.
24525 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24526 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24527 exception being thrown with 0.0 as argument.
24528 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24529 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24530 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24531 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24532 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24533 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24534 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24535 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24536 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24537
0396e69d
PB
245382012-04-17 Petr Baudis <pasky@ucw.cz>
24539
24540 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24541 with altivec.
24542
750b5926
MP
245432012-04-16 Marek Polacek <polacek@redhat.com>
24544
24545 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24546
751728a1
MP
245472012-04-16 Marek Polacek <polacek@redhat.com>
24548
24549 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24550 operands of fdivp instruction.
24551
34a27407
L
245522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24553
24554 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24555 * elf/tst-auditmod3b.c: Likewise.
24556 * elf/tst-auditmod4b.c: Likewise.
24557 * elf/tst-auditmod5b.c: Likewise.
24558 * elf/tst-auditmod6b.c: Likewise.
24559 * elf/tst-auditmod6c.c: Likewise.
24560 * elf/tst-auditmod7b.c: Likewise.
24561 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24562 * sysdeps/x86_64/preconfigure.in: Likewise.
24563 * sysdeps/x86_64/preconfigure: Regenerated.
24564
7e73e17d
L
245652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24566
24567 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24568 __ILP32__.
24569
c7a6ab72
AB
245702012-04-13 Antoine Balestrat <merkil33@gmail.com>
24571
24572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24573 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24574
a9e8e0e0
CL
245752012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24576
24577 [BZ #13973]
24578 * locale/iso-639.def: Fix gl language name. Spotted by
24579 Yaron Shahrabani.
24580
ec98af7d
RM
245812012-04-12 Roland McGrath <roland@hack.frob.com>
24582
24583 [BZ #2074]
24584 * libio/libio.h (__io_write_fn): Update comment.
24585
247c3ede
PB
245862012-04-12 Petr Baudis <pasky@ucw.cz>
24587
24588 [BZ #2074]
24589 * stdio.texi (Hook Functions): The user provided writer function
24590 is not allowed to return -1.
24591
55939d6d
DM
245922012-04-11 David S. Miller <davem@davemloft.net>
24593
24594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24595
90020f5a
MF
245962012-04-11 Mike Frysinger <vapier@gentoo.org>
24597
24598 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24599 Add a leading slash to rtkaio.
24600
288f9098
JM
246012012-04-11 Jim Meyering <meyering@redhat.com>
24602
90020f5a
MF
24603 [BZ #11959]
24604 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24605 It is not necessarily an error to ignore fwrite's return
24606 value. One can reliably use ferror to test for errors after
24607 the fact.
288f9098 24608
4be2b570
L
246092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24610
24611 * bits/types.h (__snseconds_t): New type.
24612 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24613
24614 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24616 (__SNSECONDS_T_TYPE): Likewise.
24617 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24618 (__SNSECONDS_T_TYPE): Likewise.
24619 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24620 (__SNSECONDS_T_TYPE): Likewise.
24621
288f9098 246222012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24623
24624 [BZ #2636]
24625 * manual/time.texi (Processor Time): Return type of times is
24626 elapsed real time since an arbitrary point in the past.
24627 (CPU Time): Move CLK_TCK from here...
24628 (Processor Time): ...to here. Correct description.
24629 * manual/conf.texi (Constants for Sysconf): Correct description of
24630 _SC_CLK_TCK.
24631
d7dd4413
DM
246322012-04-10 David S. Miller <davem@davemloft.net>
24633
24634 [BZ #13967]
24635 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24636 where the is a gap between DT_REL(A) and DT_JMPREL.
24637
b46068fc
L
246382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24639
24640 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24641 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24642 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24643
73d65cc3
SP
246442012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24645
24646 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24647 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24648 (dl_main): Handle --inhibit-cache.
24649 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24650 _dl_inhibit_cache.
24651 * elf/dl-load.c (_dl_map_object): Use it.
24652 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24653
bcc8d661
JM
246542012-04-09 Joseph Myers <joseph@codesourcery.com>
24655
8f9a2fae
JM
24656 [BZ #13872]
24657 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24658 (__ieee754_powl): Saturate large exponents rather than testing for
24659 overflow of y*log2(x).
24660 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24661 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24662 exceptions.
24663
bcc8d661
JM
24664 [BZ #11521]
24665 * math/s_ctan.c: Include <float.h>.
24666 (__ctan): Avoid internal overflow or cancellation in calculating
24667 denominator.
24668 * math/s_ctanf.c: Likewise.
24669 * math/s_ctanl.c: Likewise.
24670 * math/s_ctanh.c: Likewise.
24671 * math/s_ctanhf.c: Likewise.
24672 * math/s_ctanhl.c: Likewise.
24673 * math/libm-test.inc (ctan_test): Add more tests.
24674 (ctanh_test): Likewise.
24675 * sysdeps/i386/fpu/libm-test-ulps: Update.
24676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24677
823fbbb4
AJ
246782012-04-09 Andreas Jaeger <aj@suse.de>
24679
03879793
AJ
24680 [BZ #6894]
24681 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24682 is an optional BSD extension.
24683
823fbbb4
AJ
24684 [BZ #10254]
24685 * manual/stdio.texi (Opening Streams): Document additional fopen
24686 parameters.
24687
8de131cb
RM
246882012-04-09 Roland McGrath <roland@hack.frob.com>
24689
24690 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24691 %eax without telling the compiler.
24692
c0ed9d7d
CD
246932012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24694
24695 [BZ # 13963]
24696 * manual/install.texi: Use sourceware.org.
24697
c483f6b4
JM
246982012-04-09 Joseph Myers <joseph@codesourcery.com>
24699
d7dd9453
JM
24700 [BZ #13873]
24701 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24702 (__ieee754_pow): Generate overflow and underflow using huge*huge
24703 and tiny*tiny rather than just returning constant infinity or zero
24704 for large exponents.
24705 * math/libm-test.inc (pow_test): Require overflow exceptions for
24706 applicable cases of large exponents.
24707
c483f6b4
JM
24708 [BZ #706]
24709 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24710 (__ieee754_pow): Use iterative multiplication algorithm only for
24711 integer exponents with absolute value below 1024. Check for odd
24712 integer exponents when using algorithm for real exponents.
24713 * math/libm-test.inc (pow_test): Add more tests.
24714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24715
d2de7579
JM
247162012-04-08 Joseph Myers <joseph@codesourcery.com>
24717
24718 [BZ #13705]
24719 * math/libm-test.inc (exp_test): Do not allow overflow exception
24720 on underflow test.
24721
f77f1232
AJ
247222012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24723
24724 [BZ #13705]
24725 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24726 instead of __kernel_standard_f.
24727
3884932b
MF
247282012-04-08 Mike Frysinger <vapier@gentoo.org>
24729
24730 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24731 * sysdeps/x86_64/memset_chk.S: Likewise.
24732
54472e9c
AJ
247332012-04-08 Andreas Jaeger <aj@suse.de>
24734
6ab0fbfc
AJ
24735 [BZ #10153]
24736 * manual/startup.texi (Environment Access): Describe return value
24737 for putenv and setenv.
24738
61efba8c
AJ
24739 [BZ #6895]
24740 * manual/filesys.texi (Directory Entries): Add description for
24741 DT_LNK.
24742
95c3f29a
AJ
24743 [BZ #6890]
24744 * manual/filesys.texi (Directory Entries): Clarify that it's file
24745 system not operating system in the description of DT_UNKNOWN.
24746
54472e9c
AJ
24747 [BZ #6578]
24748 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24749
624254b1
SC
247502012-04-08 Stephen Compall <s11@member.fsf.org>
24751
24752 [BZ #6649]
24753 * manual/llio.texi (Opening and Closing Files): Add cross
24754 reference to explain mode argument.
24755
1e4920e0
MF
247562012-04-07 Mike Frysinger <vapier@gentoo.org>
24757
24758 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24759 * sysdeps/x86_64/memset_chk.S: Likewise.
24760
5ed848f3
DM
247612012-04-07 David S. Miller <davem@davemloft.net>
24762
24763 * elf/elf.h (R_SPARC_WDISP10): Define.
24764 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24765 R_SPARC_SIZE32.
24766 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24767 R_SPARC_SIZE64 and R_SPARC_H34.
24768
96154cd8
CD
247692012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24770
24771 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24772 conditions and remove no longer applicable assertion.
24773
9904dc47
L
247742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24775
24776 * bits/byteswap.h: Include <features.h>.
24777 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24778 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24779
f8887d0a
L
247802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24781
24782 * bits/byteswap.h (__bswap_16): Removed.
24783 Include <bits/byteswap-16.h> to get __bswap_16.
24784 * sysdeps/i386/bits/byteswap.h: Likewise.
24785 * sysdeps/s390/bits/byteswap.h: Likewise.
24786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24787 * bits/byteswap-16.h: New file.
24788 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24789 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24790 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24791 * string/Makefile (headers): Add bits/byteswap-16.h.
24792
62470f60
PP
247932012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24794
24795 [BZ #13895]
24796 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24797 extra indirection.
24798 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24799 * nss/tst-nss-static.c: New.
24800
4dad7bab
RM
248012012-04-06 Robert Millan <rmh@gnu.org>
24802
24803 [BZ #6486]
24804 * manual/llio.texi (File Position Primitive): lseek
24805 refers to WHENCE when it really means OFFSET.
24806
e9142a17
AJ
248072012-04-06 Andreas Jaeger <aj@suse.de>
24808
2c040eff
AJ
24809 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24810 strncmp declarations.
24811
e9142a17
AJ
24812 * abilist/libc.abilist: Add __poll and __ppoll.
24813
ff9f1c5f
DM
248142012-04-05 David S. Miller <davem@davemloft.net>
24815
dcd2ae90
DM
24816 * scripts/check-local-headers.sh: Accept a host triplet in the
24817 path matched by the exclude regexp.
24818
993eb054
DM
24819 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24820 definition.
24821 * sysdeps/powerpc/powerpc32/dl-machine.h
24822 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24823 * sysdeps/s390/s390-32/dl-machine.h
24824 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24825 * sysdeps/sparc/sparc32/dl-machine.h
24826 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24827 * sysdeps/sparc/sparc64/dl-machine.h
24828 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24829
ff9f1c5f
DM
24830 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24831 lazy binding.
48e2e132 24832 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24833 undefined symbol errors.
24834
48e2e132 24835 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24836 DT_NEEDED entries.
24837
e80d6f94
MM
248382012-04-05 Michael Matz <matz@suse.de>
24839
24840 [BZ #13592]
24841 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24842
349fa79f
AJ
248432012-04-05 Andreas Jaeger <aj@suse.de>
24844
24845 [BZ #13908]
24846 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24847 comment.
24848
f402708f
KK
248492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24850
24851 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24852 which ROUND is no valid rounding mode.
24853
2ecccfc9
KK
248542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24855
24856 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24857 read again.
24858 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24859
8a53f50f
KK
248602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24861
24862 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24863 an exception using FPU order intentionally.
24864
248652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24866
24867 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24868 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24869 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24870 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24871
d653abb7
SJ
248722012-04-05 Simon Josefsson <simon@josefsson.org>
24873
24874 [BZ #12340]
24875 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24876 EINVAL when BUFLEN is too smal.
24877
c3b1bf7d
TS
248782012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24879
24880 [BZ #13553]
24881 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24882 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24883
b1aa60f3
AJ
248842012-04-03 Andreas Jaeger <aj@suse.de>
24885
c3b1bf7d 24886 [BZ #13938]
67f60a26
AJ
24887 * manual/setjmp.texi (System V contexts): Fix sentence.
24888
b1aa60f3
AJ
24889 [BZ #13926]
24890 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24891 New macro for this case.
24892 [!__GNUC__] (__bswap_64): New inline function for this case.
24893 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24894 * bits/byteswap.h: Likewise.
24895 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24896 ull, guard with __GLIBC_HAVE_LONG_LONG.
24897
24898 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24899 __GLIBC_HAVE_LONG_LONG.
24900
24901 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24902 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24903
39c59c35
TMQMF
249042012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24905
24906 [BZ #13691]
24907 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24908 inptr and inend, rather than using last_ch.
24909
135ffda8
DM
249102012-04-02 David S. Miller <davem@davemloft.net>
24911
24912 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24913 * stdio-common/printf-parse.h (read_int): Change return type to
24914 'int', return -1 on INT_MAX overflow.
24915 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24916 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24917 overflows INT_MAX. Check for overflow of in-format-string precision
24918 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24919 SIZE_MAX not INT_MAX for integer overflow test.
24920 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24921 skip the construct in the format string but do not record anything.
24922 * stdio-common/bug22.c: Adjust to test both width/prevision
24923 INT_MAX overflow as well as total length INT_MAX overflow. Check
24924 explicitly for proper errno values.
24925
228c019e
TS
249262012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24927
302cadd3
TS
24928 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24929 CHAR_MAX.
24930 * string/test-strcmp.c [! WIDE]: Likewise.
24931 * time/tst-mktime2.c: Likewise for INT_MAX.
24932 * string/test-string.h: #include <sys/param.h> for MIN.
24933
228c019e
TS
24934 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24935 * sysdeps/i386/init-first.c (init): Likewise.
24936 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24937 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24938 * sysdeps/sh/init-first.c (init): Likewise.
24939
cfa633f5
UD
249402012-04-01 Ulrich Drepper <drepper@gmail.com>
24941
24942 * po/ru.po: Update from translation team.
d1635ef8 24943 * po/vi.po: Likewise.
cfa633f5 24944
6cd0a5ea
SP
249452012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24946
24947 * resolv/nss_dns/dns-host.c: Merge copyright years.
24948
4b43400f
LD
249492012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24950
24951 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24952 Optimize memcpy with prefetch if
24953 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24954 src, dst pointers have unequal 16 byte alignments.
24955
48c41d04
SP
249562012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24957
24958 [BZ #13928]
24959 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24960 from a CNAME entry and return the minimum ttl for the query.
24961 (gaih_getanswer_slice): Likewise.
24962
b8dc394d
JL
249632012-03-30 Jeff Law <law@redhat.com>
24964
24965 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24966 due to long keys.
24967 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24968 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24969
2f5a5ed0
JL
24970 * resolv/nss_dns/dns-host.c: Update copyright year.
24971
1d39e359
UD
249722012-03-30 Ulrich Drepper <drepper@gmail.com>
24973
c030f70c 24974 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24975 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24976
1d39e359
UD
24977 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24978 comments for sendmmsg.
24979
249802012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24981
24982 [BZ #13691]
24983 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24984 with only 1 character between 0x0041 and 0x01b0.
24985 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24986 * wcsmbs/tst-mbsnrtowcs.c: New file.
24987
20fde227
DM
249882012-03-29 David S. Miller <davem@davemloft.net>
24989
24990 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24991 small copies by hand.
24992
984a4237
JL
249932012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24994
24995 [BZ #13761]
24996 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24997 _nss_compat_initgroups_dyn): Fall back to malloc/free
24998 for large group memberships.
24999
18c9d62b
DM
250002012-03-28 David S. Miller <davem@davemloft.net>
25001
88d85d4f
DM
25002 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25003 that branches into memcpy.
25004 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25005 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25006 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25007 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25009 bits.
25010 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25011 implementation too.
25012 * sysdeps/sparc/mempcpy.S: New file.
25013
e5aa83e1
DM
25014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25015 the IFUNC routine in the libc case.
25016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25017
88570753
DM
25018 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25019 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25020 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25021 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25022 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25023 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25024 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25025 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25026
249d7567
DM
25027 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25028 loop to 256 bytes instead of 64 bytes and fix test signedness.
25029
18c9d62b
DM
25030 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25031 * sysdeps/sparc/sparc32/Makefile: rather than here...
25032 * sysdeps/sparc/sparc64/Makefile: and here.
25033
05f3d1f6
UD
250342012-03-28 Ulrich Drepper <drepper@gmail.com>
25035
25036 * malloc/mallocbug.c: Avoid warnings about unused variables.
25037
86ae07a8
JL
250382012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25039
25040 [BZ #13760]
25041 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25042 in the right place. Discard and retry query if response is
25043 larger than input buffer size.
25044
41bf21a1
JM
250452012-03-28 Joseph Myers <joseph@codesourcery.com>
25046
d6270972
JM
25047 [BZ #369]
25048 [BZ #2678]
25049 [BZ #3866]
25050 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25051 x for large integer exponent.
25052 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25053 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25054 sign of result as needed afterwards.
25055 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25056 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25057 result for underflowing pow the same as for overflow.
25058 (__kernel_standard_l): Handle powl overflow and underflow here
25059 rather than calling __kernel_standard.
25060 * math/libm-test.inc (pow_test): Add more tests.
25061
414fca03 25062 [BZ #3868]
41bf21a1
JM
25063 [BZ #13879]
25064 [BZ #13910]
25065 [BZ #13911]
25066 [BZ #13912]
25067 [BZ #13913]
25068 [BZ #13915]
25069 [BZ #13916]
25070 [BZ #13917]
25071 [BZ #13918]
25072 [BZ #13919]
25073 [BZ #13920]
25074 [BZ #13921]
25075 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25076 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25077 (__kernel_standard_l): New function.
25078 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25079 __kernel_standard.
25080 * math/w_acosl.c (__acosl): Likewise.
25081 * math/w_asinl.c (__asinl): Likewise.
25082 * math/w_atan2l.c (__atan2l): Likewise.
25083 * math/w_atanhl.c (__atanhl): Likewise.
25084 * math/w_coshl.c (__coshl): Likewise.
25085 * math/w_exp10l.c (__exp10l): Likewise.
25086 * math/w_exp2l.c (__exp2l): Likewise.
25087 * math/w_fmodl.c (__fmodl): Likewise.
25088 * math/w_hypotl.c (__hypotl): Likewise.
25089 * math/w_j0l.c (__j0l, __y0l): Likewise.
25090 * math/w_j1l.c (__j1l, __y1l): Likewise.
25091 * math/w_jnl.c (__jnl, __ynl): Likewise.
25092 * math/w_lgammal.c (__lgammal): Likewise.
25093 * math/w_log10l.c (__log10l): Likewise.
25094 * math/w_log2l.c (__log2l): Likewise.
25095 * math/w_logl.c (__logl): Likewise.
25096 * math/w_powl.c (__powl): Likewise.
25097 * math/w_remainderl.c (__remainderl): Likewise.
25098 * math/w_scalbl.c (sysv_scalbl): Likewise.
25099 * math/w_sinhl.c (__sinhl): Likewise.
25100 * math/w_sqrtl.c (__sqrtl): Likewise.
25101 * math/w_tgammal.c (__tgammal): Likewise.
25102 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25103 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25104 * math/libm-test.inc (acos_test): Add more tests.
25105 (acosh_test): Likewise.
25106 (asin_test): Likewise.
25107 (atanh_test): Likewise.
25108 (exp_test): Likewise.
25109 (exp10_test): Likewise.
25110 (exp2_test): Likewise.
25111 (expm1_test): Likewise.
25112 (lgamma_test): Likewise.
25113 (log_test): Likewise.
25114 (log10_test): Likewise.
25115 (log1p_test): Likewise.
25116 (log2_test): Likewise.
25117 (pow_test): Do not allow some spurious overflow exceptions.
25118 (sqrt_test): Add more tests.
25119 (tgamma_test): Likewise.
25120 (y0_test): Likewise.
25121 (y1_test): Likewise.
25122 (yn_test): Likewise.
25123
dd62fda6
AB
251242012-03-27 Anton Blanchard <anton@samba.org>
25125
25126 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25127 MAP_HUGETLB.
25128 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25129 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25130 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25131
1e3cdfda
AJ
251322012-03-27 David S. Miller <davem@davemloft.net>
25133
b855ab85
DM
25134 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25135
1e3cdfda
AJ
25136 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25137 have-as-vis3 check.
25138
251392012-03-27 Andreas Jaeger <aj@suse.de>
25140
25141 * sysdeps/x86_64/elf/configure.in: Moved to ...
25142 * sysdeps/x86_64/configure.in: ... here.
25143 * sysdeps/x86_64/elf/start.S: Moved to ...
25144 * sysdeps/x86_64/start.S: ... here.
25145 * sysdeps/x86_64/elf/configure: Delete.
25146
25147 * sysdeps/x86_64/configure.in: Merge contents from
25148 sysdeps/i386/configure.in (without i686 check).
25149
25150 * sysdeps/i386/elf/Versions: Merge into ...
25151 * sysdeps/i386/Versions: ... this.
25152 * sysdeps/i386/elf/Versions: Delete file.
25153 * sysdeps/i386/elf/start.S: Moved to ...
25154 * sysdeps/i386/start.S: ...here.
25155 * sysdeps/i386/elf/configure.in: Merge into...
25156 * sysdeps/i386/configure.in: ...here.
25157 * sysdeps/i386/elf/configure.in: Delete file.
25158 * sysdeps/i386/elf/configure: Delete file.
25159
25160 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25161 * debug/backtracesyms.c: ... here.
25162 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25163 * debug/backtracesymsfd.c: ... here.
25164 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25165 * sysdeps/generic/ifunc-sel.h: ... here.
25166
25167 * sysdeps/unix/i386/start.c: Delete file.
25168 * sysdeps/unix/sparc/start.c: Delete file.
25169 * sysdeps/unix/start.c: Delete file.
25170
25171 * sysdeps/sh/elf/configure.in: Moved to ...
25172 * sysdeps/sh/configure.in: ... here.
25173 * sysdeps/sh/elf/start.S: Moved to ...
25174 * sysdeps/sh/start.S: ... here.
25175 * sysdeps/sh/elf/configure: Delete file.
25176
25177 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25178 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25179 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25180 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25181 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25182 * sysdeps/powerpc/powerpc64/start.S: here.
25183 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25184 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25185 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25186 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25187 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25188
25189 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25190 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25191 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25192 * sysdeps/powerpc/powerpc32/start.S: ... here.
25193 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25194 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25195 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25196
25197 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25198 * sysdeps/powerpc/ifunc-sel.h: ... here.
25199 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25200 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25201
25202 * sysdeps/sparc/elf/configure.in: Moved to ...
25203 * sysdeps/sparc/configure.in: ... here.
25204 * sysdeps/sparc/elf/configure: Delete file.
25205 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25206 * sysdeps/sparc/sparc32/start.S: ... here.
25207 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25208 * sysdeps/sparc/sparc64/start.S: ... here.
25209 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25210 * sysdeps/sparc/sparc32/Makefile: ... this.
25211 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25212 * sysdeps/sparc/sparc64/Makefile: ... this.
25213
25214 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25215 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25216 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25217 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25218 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25219 * sysdeps/s390/s390-32/setjmp.S: ... here.
25220 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25221 * sysdeps/s390/s390-32/configure.in: ... here.
25222 * sysdeps/s390/s390-32/elf/configure: Delete file.
25223 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25224 * sysdeps/s390/s390-32/start.S: ... here.
25225
25226 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25227 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25228 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25229 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25230 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25231 * sysdeps/s390/s390-64/setjmp.S: ... here.
25232 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25233 * sysdeps/s390/s390-64/configure.in: ... here
25234 * sysdeps/s390/s390-64/elf/configure: Delete file.
25235 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25236 * sysdeps/s390/s390-64/start.S: ... here.
25237 * sysdeps/s390/s390-64/elf/configure: Delete.
25238
25239 * configure.in: Remove support for elf directories in sysdeps.
25240
25241 * configure: Regenerated.
25242 * sysdeps/i386/configure: Regenerated.
25243 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25244 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25245 * sysdeps/s390/s390-32/configure: Regenerated.
25246 * sysdeps/s390/s390-64/configure: Regenerated.
25247 * sysdeps/sh/configure: Regenerated.
25248 * sysdeps/sparc/configure: Regenerated.
25249 * sysdeps/x86_64/configure: Regenerated.
25250
a3f61311
AS
252512012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25252
c876e002
AS
25253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25254
a3f61311
AS
25255 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25256 denormal result into account.
25257
ac4c54f0
RM
252582012-03-25 Roland McGrath <roland@hack.frob.com>
25259
25260 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25261 Reported by Allan McRae <allan@archlinux.org>.
25262
6a9b9c02
JL
252632012-03-23 Jeff Law <law@redhat.com>
25264
25265 * nss/getnssent.c (__nss_getent): Fix typo.
25266
4c42a0c1
DM
252672012-03-23 David S. Miller <davem@davemloft.net>
25268
25269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25270
1532c7ac
L
252712012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25272
25273 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25274 to pad to uint64_t for each field.
25275 (dl_tls_index): Replace unsigned long with uint64_t.
25276
3ff42526
PP
252772012-03-23 Daniel Jacobowitz <dmj@google.com>
25278 Paul Pluzhnikov <ppluzhnikov@google.com>
25279
25280 [BZ #6528]
25281 * grp/Makefile (otherlibs): Don't set it.
25282 * inet/Makefile (otherlibs): Likewise.
25283 * login/Makefile (otherlibs): Likewise.
25284 * nscd/Makefile (otherlibs): Likewise.
25285 * posix/Makefile (otherlibs): Likewise.
25286 * pwd/Makefile (otherlibs): Likewise.
25287 * rt/Makefile (otherlibs): Likewise.
25288 * sunrpc/Makefile (otherlibs): Likewise.
25289 * nss/Makefile (otherlibs): Likewise.
25290 Add libnss_files to routines and static-only-routines.
25291 ($(objpfx)getent): Remove rule.
25292 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25293 static-only-routines.
25294
7c69cd14
JM
252952012-03-22 Joseph Myers <joseph@codesourcery.com>
25296
25297 [BZ #13892]
25298 * math/s_cexp.c: Include <float.h>.
25299 (__cexp): Handle exp result overflowing not necessarily
25300 overflowing both real and imaginary parts of result.
25301 * math/s_cexpf.c: Likewise.
25302 * math/s_cexpl.c: Likewise.
25303 * math/libm-test.inc (cexp_test): Add more tests.
25304 * sysdeps/i386/fpu/libm-test-ulps: Update.
25305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25306
81b035fe
L
253072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25308
25309 * include/link.h (ELFW): New macro.
25310 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25311 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25312
1da7940c
L
253132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25314
25315 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25316 with uint64_t.
25317
b749dbb9
L
253182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25319
25320 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25321 declaration.
25322 (struct La_x32_retval): Likewise.
25323
2ff87f3f
L
253242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25325
25326 * sysdeps/x86_64/preconfigure.in: New file.
25327 * sysdeps/x86_64/preconfigure: New generated file.
25328
c0df8e69
JM
253292012-03-22 Joseph Myers <joseph@codesourcery.com>
25330
48e44791
JM
25331 [BZ #13824]
25332 * math/e_exp2l.c: Include <float.h>.
25333 (__ieee754_exp2l): Handle overflow and underflow cases
25334 separately. Only pass fractional part of argument to
25335 __ieee754_expl.
25336 * math/libm-test.inc (exp2_test): Add more tests.
25337
c0df8e69
JM
25338 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25339 negating x to take absolute value.
25340 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25341 Likewise.
25342 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25343 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25344 Likewise.
25345 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25346 computing low part if x was negated.
25347 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25348
c8e43ba7
L
253492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25350
25351 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25352 la_x32_gnu_pltexit.
25353 (pltexit): Cast int_retval to ptrdiff_t.
25354 * elf/tst-auditmod3b.c: Likewise.
25355 * elf/tst-auditmod4b.c: Likewise.
25356 * elf/tst-auditmod5b.c: Likewise.
25357 * elf/tst-auditmod6b.c: Likewise.
25358 * elf/tst-auditmod6c.c: Likewise.
25359 * elf/tst-auditmod7b.c: Likewise.
25360
25361 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25362 and x32_gnu_pltexit.
25363
25364 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25365 __ELF_NATIVE_CLASS.
25366 (La_x32_regs): New macro.
25367 (La_x32_retval): Likewise.
25368 (la_x32_gnu_pltenter): New function prototype.
25369 (la_x32_gnu_pltexit): Likewise.
25370
7998fa78
AS
253712012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25372
dcb33988
AS
25373 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25374 exponent.
25375
233fc563
AS
25376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25377
7998fa78
AS
25378 * configure.in (libc_cv_cc_nofma): Check for option to disable
25379 generation of FMA instructions.
25380 * configure: Regenerate.
25381 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25382 * sysdeps/ieee754/dbl-64/Makefile: New file.
25383 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25384 Remove brandred-fma4.
25385 (CFLAGS-brandred-fma4.c): Remove.
25386 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25387 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25388 define.
25389 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25390 define.
25391
8e95c99a
L
253922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25393
25394 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25395 LLONG_MAX != LONG_MAX.
25396 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25397 (_fitoa_word): Likewise.
25398 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25399 LLONG_MAX != LONG_MAX.
25400 * stdio-common/_itowa.h: Include <_itoa.h>.
25401 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25402 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25403 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25404 only if not defined.
25405 (_ITOA_WORD_TYPE): Likewise.
25406 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25407 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25408
6f4db457
DM
254092012-03-21 David S. Miller <davem@davemloft.net>
25410
25411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25412
7785fe5a
L
254132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25414
25415 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25416 of x86_64 when setting libc_cv_slibdir, libdir and
25417 libc_cv_localedir.
25418 * sysdeps/unix/sysv/linux/configure: Regenerated.
25419
4535cd55
JM
254202012-03-21 Joseph Myers <joseph@codesourcery.com>
25421
25422 * manual/lang.texi (Old Varargs): Remove section.
25423 (How Variadic): Update menu.
25424 (va_start): Do not mention varargs.h.
25425
17228132
TS
254262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25427 Joseph Myers <joseph@codesourcery.com>
25428
25429 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25430 link test.
25431 * configure: Regenerated.
25432
8149f976
TS
254332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25434
05f3d1f6
UD
25435 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25436 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25437 conformtest.pl
8149f976 25438
1a4ac776
JM
254392012-03-21 Joseph Myers <joseph@codesourcery.com>
25440
be22ce65
JM
25441 * NOTES: Remove.
25442 * Makefile (files-for-dist): Remove NOTES.
25443 (NOTES): Remove rule.
25444 * README: Don't refer to NOTES.
25445 * manual/creature.texi: Don't include macros.texi.
25446 * manual/intro.texi (creature.texi): Remove comment referring to
25447 NOTES.
25448
40b601fb
JM
25449 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25450 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25451 * configure: Regenerated.
25452 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25453 LIBC_TRY_CC_OPTION.
25454 (libc_cv_as_i686): Likewise.
25455 (libc_cv_cc_avx): Likewise.
25456 (libc_cv_cc_sse2avx): Likewise.
25457 (libc_cv_cc_fma4): Likewise.
25458 (libc_cv_cc_novzeroupper): Likewise.
25459 * sysdeps/i386/configure: Regenerated.
25460
1a4ac776
JM
25461 [BZ #13883]
25462 * sysdeps/i386/fpu/s_cexp.S: Remove.
25463 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25464 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25465 * math/libm-test.inc (cexp_test): Add more tests.
25466 * sysdeps/i386/fpu/libm-test-ulps: Update.
25467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25468
a458e7fe
AM
254692012-03-21 Allan McRae <allan@archlinux.org>
25470
25471 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25472
0cb7efc5
JM
254732012-03-21 Joseph Myers <joseph@codesourcery.com>
25474
25475 [BZ #13871]
25476 * math/w_exp2.c: Do not include <float.h>.
25477 (o_threshold, u_threshold): Remove.
25478 (__exp2): Calculate result before checking finiteness and calling
25479 __kernel_standard.
25480 * math/w_exp2f.c: Likewise.
25481 * math/w_exp2l.c: Likewise.
25482 * math/libm-test.inc (exp2_test): Require overflow exception for
25483 1e6 input.
2460d3aa
JM
25484
25485 [BZ #3866]
25486 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25487 range of signed 64-bit integers before using fistpll. Remove
25488 checks for whether integers fit in mantissa bits.
25489 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25490 the range of signed 32-bit integers before using fistpl. Remove
25491 checks for whether integers fit in mantissa bits.
25492 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25493 (__ieee754_powl): Test for y outside the range of signed 64-bit
25494 integers before using fistpll. Reduce 64-bit values to 63-bit
25495 ones as needed.
25496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25497 divide-by-zero is raised for zero to large negative powers.
25498 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25499 (__ieee754_powl): Test for y outside the range of signed 64-bit
25500 integers before using fistpll. Reduce 64-bit values to 63-bit
25501 ones as needed.
25502 * math/libm-test.inc (pow_test): Add more tests.
25503
eb96ffb0
L
255042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25505
25506 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25507 <stdio-common/_itoa.h>.
25508 * debug/segfault.c: Likewise.
25509 * elf/dl-cache.c: Likewise.
25510 * elf/dl-minimal.c: Likewise.
25511 * elf/dl-misc.c: Likewise.
25512 * elf/dl-sysdep.c: Likewise.
25513 * elf/dl-version.c: Likewise.
25514 * elf/rtld.c: Likewise.
25515 * hurd/hurdsock.c: Likewise.
25516 * hurd/lookup-retry.c: Likewise.
25517 * malloc/malloc.c: Likewise.
25518 * malloc/mtrace.c: Likewise.
25519 * nscd/nscd_getgr_r.c: Likewise.
25520 * nscd/nscd_getpw_r.c: Likewise.
25521 * nscd/nscd_getserv_r.c: Likewise.
25522 * posix/getopt_init.c: Likewise.
25523 * posix/wordexp.c: Likewise.
25524 * stdio-common/_itoa.c: Likewise.
25525 * stdio-common/printf_fphex.c: Likewise.
25526 * stdio-common/vfprintf.c: Likewise.
25527 * string/_strerror.c: Likewise.
25528 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25529 * sysdeps/i386/i686/hp-timing.h: Likewise.
25530 * sysdeps/mach/_strerror.c: Likewise.
25531 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25532 * sysdeps/mach/hurd/sethostid.c: Likewise.
25533 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25534 * sysdeps/mach/xpg-strerror.c: Likewise.
25535 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25536 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25537 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25538 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25539 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25540 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25541 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25542 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25543 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25544 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25545 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25546 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25547 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25548 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25549 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25550 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25551 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25552 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25553 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25554 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25555 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25556
25557 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25558
25559 * stdio-common/_itoa.h: Moved to ...
25560 * sysdeps/generic/_itoa.h: Here.
25561
25562 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25563
25564 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25565 instead of "_itoa.h" and "_itowa.h".
25566 * stdio-common/vfprintf.: Likewise.
25567
d1af992d
L
255682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25569
25570 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25571 <bits/wordsize.h>.
25572 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25573 (__signbit): Likwise.
25574 (llrintf): Likwise.
25575 (llrint): Likwise.
25576
114883e0
L
255772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25578
25579 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25580 __WORDSIZE != 64.
25581
c135cc1b
JM
255822012-03-20 Joseph Myers <joseph@codesourcery.com>
25583
25584 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25585 OVERFLOW_EXCEPTION_OK.
25586 * math/libm-test.inc ("Philosophy"): Update comment about
25587 exception testing.
25588 (OVERFLOW_EXCEPTION): Define.
25589 (OVERFLOW_EXCEPTION_OK): Likewise.
25590 (INVALID_EXCEPTION_OK): Renumber.
25591 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25592 (IGNORE_ZERO_INF_SIGN): Likewise.
25593 (test_exceptions): Handle FE_OVERFLOW.
25594 (exp10_test): Expect overflow exceptions.
25595 (exp2_test): Likewise.
25596 (expm1_test): Likewise.
25597 (nextafter_test): Likewise.
25598 (pow_test): Likewise.
25599 (scalbn_test): Likewise.
25600 (scalbln_test): Likewise.
25601
95443d88
L
256022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25603
25604 * sysdeps/x86_64/bits/atomic.h
25605 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25606 64bit integer.
25607 (atomic_exchange_acq): Likewise.
25608 (__arch_exchange_and_add_body): Likewise.
25609 (__arch_add_body): Likewise.
25610 (atomic_add_negative): Likewise.
25611 (atomic_add_zero): Likewise.
25612
490df6c4
L
256132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25614
c2722551 25615 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25616 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25617
5e52b189
L
256182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25619
25620 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25621 Check __x86_64__ instead of __WORDSIZE.
25622
a9879d4c
L
256232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25624
25625 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25626
5df98260
DM
256272012-03-19 David S. Miller <davem@davemloft.net>
25628
e1497744
DM
25629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25630
5df98260
DM
25631 * sysdeps/sparc/fpu/fenv_private.h: New file.
25632 * sysdeps/sparc/fpu/math_private.h: Use it.
25633 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25634 Remove.
25635 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25636 (libc_feholdexcept_setroundl): Remove.
25637 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25638 Remove.
25639 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25640 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25641
b4c35121
L
256422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25643
25644 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25645 int64_t instead of long int.
25646 (INSERT_WORDS64): Likwise.
25647
56965fd7
L
256482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25649
25650 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25651 _Unwind_GetCFA return to _Unwind_Ptr first.
25652
83d1aec8
JM
256532012-03-19 Joseph Myers <joseph@codesourcery.com>
25654
1897ad44
JM
25655 [BZ #13629]
25656 * math/s_clog.c: Include <float.h>.
25657 (__clog): Scale large or subnormal inputs.
25658 * math/s_clogf.c: Likewise.
25659 * math/s_clogl.c: Likewise.
25660 * math/s_clog10.c: Include <float.h>.
25661 (M_LOG10_2): Define.
25662 (__clog10): Scale large or subnormal inputs.
25663 * math/s_clog10f.c: Likewise.
25664 * math/s_clog10l.c: Likewise.
25665 * math/libm-test.inc (clog_test): Add more tests.
25666 (clog10_test): Likewise.
25667 * sysdeps/i386/fpu/libm-test-ulps: Update.
25668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25669
7726d6a9
JM
25670 [BZ #11451]
25671 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25672 x and y.
25673 * math/libm-test.inc (atan2_test): Add another test.
25674
83d1aec8
JM
25675 * Makerules (common-objdir-compile): Remove.
25676 * sysdeps/unix/Makefile (config-generated): Do not add
25677 $(unix-generated) to variable.
25678 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25679 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25680 Remove rule.
25681 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25682 Likewise.
25683 [generic bits/local_lim.h] (before-compile): Do not append to
25684 variable.
25685 [generic bits/local_lim.h] (common-generated): Likewise.
25686 [generic sys/param.h] (before-compile): Do not append to variable.
25687 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25688 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25689 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25690 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25691 include.
25692 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25693 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25694 [generic sys/param.h] ($(addprefix
25695 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25696 [generic sys/param.h] (common-generated): Do not append to
25697 variable.
25698 [generic sys/param.h] (sysdep_headers): Likewise.
25699 [generic bits/errno.h] (before-compile): Do not append to
25700 variable.
25701 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25702 rule.
25703 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25704 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25705 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25706 [generic bits/errno.h] (common-generated): Do not append to
25707 variable.
25708 [generic bits/ioctls.h] (before-compile): Do not append to
25709 variable.
25710 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25711 rule.
25712 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25713 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25714 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25715 rule.
25716 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25717 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25718 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25719 [generic bits/ioctls.h] (common-generated): Do not append to
25720 variable.
25721 [generic sys/syscall.h] (syscall.h): Remove variable.
25722 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25723 rule.
25724 [generic sys/syscall.h] (before-compile): Do not append to
25725 variable.
25726 [generic sys/syscall.h] (common-generated): Likewise.
25727 * sysdeps/unix/errnos-tmpl.c: Remove file.
25728 * sysdeps/unix/errnos.awk: Likewise.
25729 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25730 * sysdeps/unix/ioctls.awk: Likewise.
25731 * sysdeps/unix/mk-local_lim.c: Likewise.
25732 * sysdeps/unix/snarf-ioctls: Likewise.
25733
4851a949
RH
257342012-03-19 Richard Henderson <rth@twiddle.net>
25735
bd37f2ee
RH
25736 * sysdeps/i386/fpu/fenv_private.h: New file.
25737 * sysdeps/i386/fpu/math_private.h: Use it.
25738 (math_opt_barrier, math_force_eval): Remove.
25739 (libc_feholdexcept_setround_53bit): Remove.
25740 (libc_feupdateenv_53bit): Remove.
25741 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25742 (math_opt_barrier, math_force_eval): Remove.
25743 (libc_feholdexcept): Remove.
25744 (libc_feholdexcept_setround): Remove.
25745 (libc_fetestexcept, libc_fesetenv): Remove.
25746 (libc_feupdateenv_test): Remove.
25747 (libc_feupdateenv, libc_feholdsetround): Remove.
25748 (libc_feresetround): Remove.
25749
d0adc922
RH
25750 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25751 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25752
0fe0f1f8
RH
25753 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25754 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25755 (libc_feupdateenv_testl): New.
25756 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25757 (libc_feupdateenv_testf): New.
25758 (libc_feupdateenv): Use libc_feupdateenv_test.
25759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25760 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25761
eb92c487
RH
25762 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25763 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25764 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25765 (libc_feresetround_noex): New.
25766 (libc_feresetround_noexf): New.
25767 (libc_feresetround_noexl): New.
25768 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25769 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25770 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25771 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25772 SET_RESTORE_ROUND.
25773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25774 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25775 (__cos): Likewise.
25776 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25777 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25778 SET_RESTORE_ROUND_NOEX.
25779 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25780 SET_RESTORE_ROUND_NOEXF.
25781 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25782 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25783 (libc_feholdsetroundf): New.
25784 (libc_feresetround, libc_feresetroundf): New.
25785
7d2e8012
RH
25786 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25787 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25788 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25789
b4dabbb4
RH
25790 * sysdeps/generic/math_private.h: Include <fenv.h>.
25791 (default_libc_feholdexcept): New.
25792 (default_libc_feholdexcept_setround): New.
25793 (default_libc_fesetenv, default_libc_feupdateenv): New.
25794 (libc_feholdexcept): Only define if undefined.
25795 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25796 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25797 (libc_feholdexcept_setroundl): Likewise.
25798 (libc_feholdexcept_setround_53bit): Likewise.
25799 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25800 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25801 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25802 (libc_feupdateenv_53bit): Likewise.
25803 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25804 (libc_feholdexcept): Convert from macro to inline function.
25805 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25806 (libc_fesetenv, libc_feupdateenv): Likewise.
25807
4851a949
RH
25808 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25809 not previously defined.
25810 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25811 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25812 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25813 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25814 * sysdeps/ieee754/flt-32/math_private.h: New file.
25815 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25816 math_private.h below SET_FLOAT_WORD.
25817 (__isnan, __isinf_ns, __finite): Remove.
25818 (__isnanf, __isinf_nsf, __finitef): Remove.
25819
e79d442e
AS
258202012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25821
25822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25823
90b80344
DM
258242012-03-17 David S. Miller <davem@davemloft.net>
25825
25826 [BZ #6471]
25827 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25828 for 2.16.
25829
edc21804
DM
258302012-03-16 David S. Miller <davem@davemloft.net>
25831
77e927af
DM
25832 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25833 warnings.
25834
374976dd
DM
25835 [BZ #6471]
25836 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25837 properly.
25838 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25839 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25840 sysdep_routines when subdir is sysvipc.
25841 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25842 __getshmlba helper.
25843
edc21804
DM
25844 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25845
473c3ef3
L
258462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25847
25848 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25849 [__LP64__].
25850
eb0f39b6
L
258512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25852
25853 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25854 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25855 (__lround): Renamed to ...
25856 (__llround): This. Replace long int with long long int.
25857 Define lround functions as aliases of llround functions.
25858 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25859
6b6cd74b
L
258602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25861
25862 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25863 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25864 adresses to uintptr_t. Replace "long int" and "unsigned long
25865 int" with "greg_t" on va_arg.
25866
f1a77b01
L
258672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25868
25869 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25870 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25871
25872 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25873 Move e_machine check before EI_CLASS check. Handle x32
25874 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25875 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25876 SKIP_EM_IA_64 and include
25877 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25878
25879 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25880 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25881 (add_system_dir): New macro.
25882
25883 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25884 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25885
11b90b9f
JM
258862012-03-16 Joseph Myers <joseph@codesourcery.com>
25887
c36e1d23
JM
25888 [BZ #2551]
25889 [BZ #2552]
25890 [BZ #2553]
25891 [BZ #2554]
25892 [BZ #2562]
25893 [BZ #2563]
25894 [BZ #2565]
25895 [BZ #2566]
25896 [BZ #2576]
25897 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25898 (y0): Likewise.
25899 * math/w_j0f.c (j0f): Likewise.
25900 (y0f): Likewise.
25901 * math/w_j0l.c (__j0l): Likewise.
25902 (__y0l): Likewise.
25903 * math/w_j1.c (j1): Likewise.
25904 (y1): Likewise.
25905 * math/w_j1f.c (j1f): Likewise.
25906 (y1f): Likewise.
25907 * math/w_j1l.c (__j1l): Likewise.
25908 (__y1l): Likewise.
25909 * math/w_jn.c (jn): Likewise.
25910 (yn): Likewise.
25911 * math/w_jnf.c (jnf): Likewise.
25912 (ynf): Likewise.
25913 * math/w_jnl.c (__jnl): Likewise.
25914 (__ynl): Likewise.
25915 * math/libm-test.inc (j0_test): Add more tests.
25916 (j1_test): Likewise.
25917 (jn_test): Likewise. Add trailing semicolon to existing test.
25918 (y0_test): Likewise.
25919 (y1_test): Likewise.
25920 * sysdeps/i386/fpu/libm-test-ulps: Update.
25921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25922
11b90b9f
JM
25923 [BZ #13851]
25924 [BZ #13854]
25925 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25926 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25927 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25928 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25929 (__tanl): Set errno for infinite argument.
25930 * sysdeps/i386/fpu/mptan.c: Remove.
25931 * sysdeps/i386/fpu/s_tan.S: Likewise.
25932 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25933 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25934 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25935 * math/libm-test.inc (tan_test): Add more tests and enable more
25936 tests for double and long double.
25937 * sysdeps/i386/fpu/libm-test-ulps: Update.
25938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25939
6a1bd2a1
JK
259402012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25941
25942 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25943 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25944
10a803e0
RM
259452012-03-16 Roland McGrath <roland@hack.frob.com>
25946
25947 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25948 * configure.in: Use it for both main tree and add-ons.
25949 * configure: Regenerated.
25950
f196c7f7
L
259512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25952
25953 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25954
8848d99d
JM
259552012-03-16 Joseph Myers <joseph@codesourcery.com>
25956
96cbe7f4
JM
25957 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25958 in comment.
25959
8848d99d
JM
25960 [BZ #13851]
25961 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25962 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25963 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25964 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25965 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25966 infinite argument.
25967 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25968 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25969 != 0 for prec == 2.
25970 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25971 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25972 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25973 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25974 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25975 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25976 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25977 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25978 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25979 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25980 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25981 * math/libm-test.inc (cos_test): Add more tests and enable more
25982 tests for long double.
25983 (sin_test): Likewise.
25984 (sincos_test): Likewise.
25985 * sysdeps/i386/fpu/libm-test-ulps: Update.
25986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25987
dd7f4703
DM
259882012-03-16 David S. Miller <davem@davemloft.net>
25989
25990 * sysdeps/sparc/fpu/math_private.h: New file.
25991
006f1daa
DM
259922012-03-15 David S. Miller <davem@davemloft.net>
25993
c0c83bc8
DM
25994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25995 file.
e6a62e18 25996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25998 file.
e6a62e18
DM
25999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26005 sysdep routines.
26006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26007
88cb87d9
DM
26008 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26009 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26010
006f1daa 26011 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26013 sparc-ifunc.h
006f1daa 26014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26016 Likewise.
26017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26018 Likewise.
006f1daa
DM
26019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26023 Likewise.
006f1daa
DM
26024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26029 Likewise.
26030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26031 Likewise.
006f1daa
DM
26032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26038 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26039 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26050 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26051 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26052 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26053 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26054 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26055 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26056
11e0098e
AS
260572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26058
26059 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26060 scaling.
26061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26062
e85b09d0
AJ
260632012-03-15 Andreas Jaeger <aj@suse.de>
26064
26065 [BZ #13852]
26066 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26067 ieee754/flt-32 implementation for sin, cos and sincos.
26068 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26069 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26070 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26071 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26072 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26073 ieee754/flt-32 implementation for tan.
26074
26075 * math/libm-test.inc (cos_test): Enable some large input tests for
26076 float as well
26077 (sin_test): Likewise.
26078 (sincos_test): Likewise.
26079 (tan_test): Add tests for large input.
26080
26081 * sysdeps/i386/fpu/libm-test-ulps: Update.
26082
81c64153
AJ
260832012-03-15 Andreas Jaeger <aj@suse.de>
26084
26085 [BZ #13658]
26086 * math/libm-test.inc (cos_test): Add more test cases.
26087 (sin_test): Likewise.
26088 (sincos_test): Likewise.
26089
7bbfa5c6
AJ
260902012-03-15 Andreas Jaeger <aj@suse.de>
26091
26092 [BZ #13837]
26093 * math/libm-test.inc (cos_test): Add a test case for large input
26094 value.
26095 (sin_test): Likewise.
26096 (sincos_test): Likewise.
26097
260982012-03-15 Andreas Jaeger <aj@suse.de>,
26099 Joseph Myers <joseph@codesourcery.com>
26100
26101 [BZ #13658]
0671f479 26102 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26103 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26104 * sysdeps/i386/fpu/branred.c: Likewise.
26105 * sysdeps/i386/fpu/dosincos.c: Likewise.
26106 * sysdeps/i386/fpu/mpa.c: Likewise.
26107 * sysdeps/i386/fpu/s_cos.S: Likewise.
26108 * sysdeps/i386/fpu/s_sin.S: Likewise.
26109 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26110 * sysdeps/i386/fpu/sincos32.c: Likewise.
26111
26112 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26113 Define.
26114 (libc_feupdateenv_53bit): Define.
26115 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26116 Define.
26117 (libc_feupdateenv_53bit): Define.
26118
26119 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26120 53 bit (without extend i386 double precision).
26121
26122 * math/libm-test.inc (sincos_test): Add tests for large input.
26123 (sin): Likewise.
26124 (cos): Likewise.
26125
26126 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26127
9cad04ea
AS
261282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26129
26130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26131
f7062b9a
DM
261322012-03-15 David S. Miller <davem@davemloft.net>
26133
26134 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26135 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26136 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26137 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26150 file.
f7062b9a 26151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26153 file.
f7062b9a 26154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26156 file.
f7062b9a 26157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26159 file.
f7062b9a
DM
26160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26161 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26162 fmin/fmax sysdep routines.
26163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26164
7bd951ff
DM
261652012-03-14 David S. Miller <davem@davemloft.net>
26166
559398ab
DM
26167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26172 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26189 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26196 routines.
26197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26198 file.
559398ab 26199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26201 file.
559398ab 26202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26204 file.
559398ab 26205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26207 file.
559398ab 26208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26210 file.
559398ab 26211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26213 file.
26214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26215 file.
26216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26217 file.
26218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26219 file.
26220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26221 New file.
26222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26223 file.
26224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26225 file.
559398ab 26226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26228 file.
559398ab 26229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26231 file.
559398ab 26232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26234 file.
559398ab 26235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26237 VIS3 routines.
559398ab
DM
26238
26239 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26240 New file.
26241
5a1c1e32
DM
26242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26243
eae47a36
DM
26244 * sysdeps/sparc/configure.in: New file.
26245 * sysdeps/sparc/configure: Generate.
26246 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26247 * configure: Regenerate.
26248 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26249 * config.make.in (have-as-vis3): New.
26250 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26251 available use -Av9d instead of -Av9a.
26252 * sysdeps/sparc/sparc64/Makefile: Likewise.
26253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26255 New file.
26256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26257 file.
26258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26259 New file.
26260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26261 file.
eae47a36
DM
26262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26264 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26265 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26267
c0c83bc8
DM
26268 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26269 fzeros/fnegs to load 0x80000000 into a float register instead of
26270 using the stack.
7bd951ff
DM
26271 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26272
bd951ccb
JM
262732012-03-14 Joseph Myers <joseph@codesourcery.com>
26274
26275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26276 bits/syscall.h.
26277 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26278 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26279 ($(inst_includedir)/bits/syscall.h): Remove rule.
26280 ($(objpfx)bits/syscall.d): Include instead of
26281 $(objpfx)syscall-list.d.
26282 (generated): Change syscall-list.h and syscall-list.d to
26283 bits/syscall.h and bits/syscall.d.
26284
bb4e6db2
RM
262852012-03-14 Roland McGrath <roland@hack.frob.com>
26286
26287 [BZ #13846]
26288 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26289
aa4a2ae1
JM
262902012-03-14 Joseph Myers <joseph@codesourcery.com>
26291
e456826d
JM
26292 [BZ #13841]
26293 * math/s_csqrt.c: Include <float.h>.
26294 (__csqrt): Scale large or subnormal inputs.
26295 * math/s_csqrtf.c: Likewise.
26296 * math/s_csqrtl.c: Likewise.
26297 * math/libm-test.inc (csqrt_test): Add more tests.
26298 * sysdeps/i386/fpu/libm-test-ulps: Update.
26299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26300
aa4a2ae1
JM
26301 [BZ #13840]
26302 * math/libm-test.inc (hypot_test): Add more tests.
26303
7c10fd35
DM
263042012-03-13 David S. Miller <davem@davemloft.net>
26305
26306 [BZ #13840]
26307 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26308 double-precision for the calculation instead of scaling.
26309
f453b98b
JM
263102012-03-13 Joseph Myers <joseph@codesourcery.com>
26311
26312 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26313 manipulate bits before adding and subtracting TWO52[sx].
26314 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26315 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26316 Likewise.
26317 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26318
09a3453f
DM
263192012-03-13 David S. Miller <davem@davemloft.net>
26320
8e59da90
DM
26321 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26322 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26324 rtld-global-offsets.h
26325 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26326
2a8ab7f2
DM
26327 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26328 large parameters.
26329
10f62770
DM
26330 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26331
5f0bdb18
DM
26332 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26333 'err' in the ifdef scope in which it is actually used.
26334
09a3453f
DM
26335 * nss/nss_db/db-init.c: Include string.h
26336
b4b2eb5e
DM
263372012-03-12 David S. Miller <davem@davemloft.net>
26338
98bb2f1c
DM
26339 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26340 masking out of the most significant byte of random value used.
26341 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26342 Fix coding style in previous change.
26343
b4b2eb5e
DM
26344 * sysdeps/unix/sysv/linux/kernel-features.h
26345 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26346 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26347 expression.
26348 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26349 later.
26350
6e226b09
DM
263512012-03-11 David S. Miller <davem@davemloft.net>
26352
a1bcbd40
DM
26353 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26354 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26355 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26356 for 'resultvar' otherwise things get truncated on 64-bit.
26357
cb9d6174
DM
26358 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26359 Fix masking out of the most significant byte of random value used.
26360
6e226b09
DM
26361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26362
058c132d
AS
263632012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26364
26365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26366
2d2cd515
DM
263672012-03-09 David S. Miller <davem@davemloft.net>
26368
26369 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26370 variables with appropriate CPP guards.
26371 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26372 frame pointer, not the stack pointer. Correct layout comments. Fix test
26373 on resulting framesize and the management of the outregs buffer for pltexit.
26374 Preserve floating point return values across _dl_call_pltexit call.
26375 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26376 framesize and the management of the outregs buffer for pltexit.
26377 Preserve floating point return values across _dl_call_pltexit
26378 call.
26379 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26380 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26381 (print_exit): Fix format string for return register value.
26382
9a07f9d0
JM
263832012-03-10 Joseph Myers <joseph@codesourcery.com>
26384
26385 * sunrpc/Makefile (others): Add rpcgen.
26386 ($(objpfx)rpcgen): Remove special build rule and dependency on
26387 libc.
26388 * sunrpc/rpcgen.c: New file.
26389
547b5e30
PE
263902012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26391
c524201a
PE
26392 [BZ #13673]
26393 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26394 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26395 * sysdeps/i386/crti.S: Likewise.
26396 * sysdeps/i386/crtn.S: Likewise.
26397 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26398 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26399 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26400 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26401 * sysdeps/sh/crti.S: Likewise.
26402 * sysdeps/sh/crtn.S: Likewise.
26403 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26404
7b6235f2
PE
26405 [BZ #13673]
26406 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26407 with URL.
26408 * locale/programs/locfile-kw.gperf: Likewise.
26409 * locale/programs/charmap-kw.h: Regenerated.
26410 * locale/programs/locfile-kw.h: Likewise.
26411
547b5e30
PE
26412 [BZ #13673]
26413 * intl/plural.y: Replace FSF snail mail address with URL.
26414 * intl/plural.c: Regenerated.
26415
5f0a5dae
RH
264162012-03-09 Richard Henderson <rth@twiddle.net>
26417
26418 * include/math_private.h: Remove file.
26419 * math/math_private.h: Move file ...
26420 * sysdeps/generic/math_private.h: ... here.
26421
b8c03620
RH
26422 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26423 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26424 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26425
4e234f5d 26426 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26427 and <math_private.h>.
26428 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26429 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26430 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26431 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26432 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26433 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26434 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26436 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26437 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26439 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26440 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26445 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26446 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26447 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26449 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26450 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26452 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26453 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26454 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26455 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26457 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26458 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26459 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26460 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26461 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26462 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26463 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26464 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26465 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26466 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26467 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26468 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26469 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26470 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26471 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26472 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26473 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26474 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26475 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26476 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26477 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26478 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26479 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26480 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26481 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26482 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26483 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26484 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26485 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26486 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26487 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26488 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26489 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26491 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26492 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26493 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26494 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26495 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26496 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26497 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26498 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26499 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26500 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26501 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26502 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26506 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26507 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26508 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26509 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26510 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26511 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26512 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26515 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26516 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26517 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26518 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26519 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26520 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26521 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26522 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26523 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26524 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26525 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26526 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26527 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26528 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26529 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26530 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26531 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26532 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26533 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26534 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26535 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26536 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26537 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26538 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26539 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26540 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26541 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26542 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26543 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26544 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26545 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26546 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26547 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26548 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26549 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26550 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26551 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26552 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26553 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26554 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26555 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26556 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26557 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26558 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26559 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26560 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26561 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26562 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26563 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26564 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26565 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26566 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26567 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26568 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26569 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26570 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26571 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26572 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26573 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26574 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26575 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26576 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26577 * sysdeps/ieee754/k_standard.c: Likewise.
26578 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26580 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26582 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26584 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26585 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26586 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26587 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26588 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26589 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26590 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26591 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26592 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26593 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26594 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26595 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26596 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26597 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26598 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26599 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26600 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26601 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26602 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26603 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26604 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26605 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26606 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26607 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26609 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26610 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26611 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26612 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26613 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26614 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26629 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26630 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26631 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26632 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26633 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26634 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26635 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26636 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26639 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26641 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26644 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26645 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26650 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26651 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26652 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26654 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26655 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26657 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26658 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26660 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26664 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26665 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26666 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26667 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26669 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26670 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26672 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26676 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26677 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26678 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26680 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26681 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26682 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26683 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26684 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26685 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26687 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26688 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26689 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26690 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26691 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26692 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26693 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26694 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26695 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26696 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26697 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26698 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26699 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26700 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26701 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26702 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26703 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26704 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26705 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26707 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26708 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26709 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26710 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26711 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26712 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26714 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26715 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26716 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26717 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26718 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26719 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26721 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26722 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26723 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26724 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26726 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26727 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26728 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26729 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26731 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26732 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26733 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26734 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26735 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26736 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26737 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26738 * sysdeps/ieee754/s_lib_version.c: Likewise.
26739 * sysdeps/ieee754/s_matherr.c: Likewise.
26740 * sysdeps/ieee754/s_signgam.c: Likewise.
26741 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26742 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26743 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26744 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26745 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26746 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26747 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26748 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26749 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26750 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26751 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26752 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26753 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26754 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26755 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26756 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26757 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26758 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26759 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26760 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26761 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26762
1991fa03
JM
267632012-03-09 Joseph Myers <joseph@codesourcery.com>
26764
26765 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26766 * sunrpc/rpc_main.c: Likewise.
26767 * sunrpc/rpc_svcout.c: Likewise.
26768
60d6f5a6
DM
267692012-03-09 David S. Miller <davem@davemloft.net>
26770
26771 * include/math_private.h: New file.
26772
4962050e
JM
267732012-03-09 Joseph Myers <joseph@codesourcery.com>
26774
02a6f887
JM
26775 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26776 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26777 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26778 from <bits/socket_type.h>.
26779 (enum __socket_type): Don't define here.
26780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26782 bits/socket_type.h.
26783
c6e013c1
JM
26784 [BZ #13566]
26785 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26786 checking __USE_GNU.
26787
4962050e
JM
26788 * Makerules ($(inst_includedir)/%.h): New rule.
26789 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26790 (install-others): Remove variable setting.
26791 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26792
38842f45
RH
267932012-03-08 Richard Henderson <rth@twiddle.net>
26794
67bb6da6
RH
26795 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26796 from macro to inline function; merge with the
26797 !__LIBC_INTERNAL_MATH_INLINES version.
26798 (__ieee754_sqrtf): Likewise.
26799
15194b4b
RH
26800 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26801 to inline function.
26802 (__rintf, __floor, __floorf): Likewise.
26803
64e21ede
RH
26804 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26805 macro to inline function.
26806 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26807
38842f45
RH
26808 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26809 not <math/math_private.h>.
26810
c64bf5fe
DM
268112012-03-08 David S. Miller <davem@davemloft.net>
26812
26813 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26814 copyright year.
26815 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26816
82d86f28
TS
268172012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26818
26819 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26820 normalization.
26821 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26822 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26823
aea5d727
UD
268242012-03-08 Ulrich Drepper <drepper@gmail.com>
26825
26826 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26827 be defined individually, they must be defined as a block. Define
26828 S for printing a string instead of hidint the different by using a
26829 macro for adding the 'l'.
26830 * stdio-common/tst-fphex-wide.c: Adjust.
26831
70bca0a3
MP
268322012-03-07 Marek Polacek <polacek@redhat.com>
26833
26834 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26835
65b81130
MP
268362012-03-08 Marek Polacek <polacek@redhat.com>
26837
26838 [BZ #13806]
26839 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26840 * stdio-common/tst-fphex.c: Define a few macros to make the
26841 test reusable. Use them.
26842 * stdio-common/tst-fphex-wide.c: New file.
26843
07037eeb
JM
268442012-03-08 Joseph Myers <joseph@codesourcery.com>
26845
a7a93d50
JM
26846 [BZ #6911]
26847 * manual/macros.texi (gnusystems): New macro.
26848 (nongnusystems): Likewise.
26849 (gnulinuxhurdsystems): Likewise.
26850 (gnuhurdsystems): Likewise..
26851 (gnulinuxsystems): Likewise.
26852 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26853 variants of the GNU system, not "GNU system".
26854 * manual/conf.texi: Likewise.
26855 * manual/errno.texi: Likewise. Update example of errno macro
26856 expansion.
26857 * manual/filesys.texi: Likewise.
26858 (getumask): Document as specific to GNU/Hurd.
26859 * manual/install.texi: Likewise. Reword some references to
26860 GNU/Linux.
26861 * manual/intro.texi: Likewise.
26862 * manual/io.texi: Likewise.
26863 (File Name Portability): Detail which constraints are inapplicable
26864 to all GNU systems and which are only inapplicable to GNU/Hurd.
26865 * manual/job.texi: Likewise.
26866 * manual/llio.texi: Likewise.
26867 (O_NOCTTY): Document as present on GNU/Linux.
26868 * manual/maint.texi: Likewise.
26869 * manual/memory.texi: Likewise.
26870 * manual/pattern.texi: Likewise.
26871 * manual/pipe.texi: Likewise.
26872 * manual/process.texi: Likewise.
26873 * manual/resource.texi: Likewise.
26874 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26875 child on GNU/Hurd.
26876 * manual/setjmp.texi: Likewise.
26877 * manual/signal.texi: Likewise.
26878 * manual/startup.texi: Likewise.
26879 * manual/stdio.texi: Likewise.
26880 * manual/terminal.texi: Likewise.
26881 (ONLCR): Document as POSIX.
26882 (OXTABS): Document availability on GNU/Linux as XTABS.
26883 (ONOEOT): Document availability separately from other bits.
26884 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26885 * manual/time.texi: Likewise.
26886 * manual/users.texi: Likewise.
26887 * INSTALL: Regenerated.
26888 * sysdeps/gnu/errlist.c: Regenerated.
26889
07037eeb
JM
26890 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26891 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26892 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26893 puts.
26894 * configure: Regenerated.
26895
d1d3431a
JM
268962012-03-07 Joseph Myers <joseph@codesourcery.com>
26897
af6a1e37
JM
26898 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26899 default includes instead of AC_HEADER_CHECK.
26900 * sysdeps/i386/configure: Regenerated.
26901
d1d3431a
JM
26902 [BZ #10716]
26903 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26904 * math/s_cacoshf.c (__cacoshf): Likewise.
26905 * math/s_cacoshl.c (__cacoshl): Likewise.
26906 * math/s_casinh.c (__casinh): Set signs of result from argument.
26907 * math/s_casinhf.c (__casinhf): Likewise.
26908 * math/s_casinhl.c (__casinhl): Likewise.
26909 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26910 (casinh_test): Add more tests.
26911 * sysdeps/i386/fpu/libm-test-ulps: Update.
26912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26913
482ff4da
UD
269142012-03-07 Ulrich Drepper <drepper@gmail.com>
26915
872fda05
UD
26916 * po/zh_TW.po: Update from translation team.
26917
a4300c7a
UD
26918 * login/Makefile (distribute): Remove variable.
26919 * catgets/Makefile: Likewise.
26920 * mach/Makefile: Likewise.
26921 * malloc/Makefile: Likewise.
26922 * misc/Makefile: Likewise.
26923 * iconv/Makefile: Likewise.
26924 * nscd/Makefile: Likewise.
26925 * hurd/Makefile: Likewise.
26926 * manual/Makefile: Likewise.
26927 * locale/Makefile: Likewise.
26928 * intl/Makefile: Likewise.
26929 * conform/Makefile: Likewise.
26930 * nss/Makefile: Likewise.
26931 * time/Makefile: Likewise.
26932 * soft-fp/Makefile: Likewise.
26933 * dirent/Makefile: Likewise.
26934 * gmon/Makefile: Likewise.
26935 * po/Makefile: Likewise.
26936 * rt/Makefile: Likewise.
26937 * socket/Makefile: Likewise.
26938 * math/Makefile: Likewise.
26939 * signal/Makefile: Likewise.
26940 * debug/Makefile: Likewise.
26941 * elf/Makefile: Likewise.
26942 * timezone/Makefile: Likewise.
26943 * stdlib/Makefile: Likewise.
26944 * iconvdata/Makefile: Likewise.
26945 * sunrpc/Makefile: Likewise.
26946 * io/Makefile: Likewise.
26947 * argp/Makefile: Likewise.
26948 * inet/Makefile: Likewise.
26949 * hesiod/Makefile: Likewise.
26950 * grp/Makefile: Likewise.
26951 * csu/Makefile: Likewise.
26952 * wctype/Makefile: Likewise.
26953 * crypt/Makefile: Likewise.
26954 * libio/Makefile: Likewise.
26955 * string/Makefile: Likewise.
26956 * nis/Makefile: Likewise.
26957 * resolv/Makefile: Likewise.
26958 * stdio-common/Makefile: Likewise.
26959 * wcsmbs/Makefile: Likewise.
26960 * dlfcn/Makefile: Likewise.
26961 * posix/Makefile: Likewise.
26962
3b7c4e74 26963 [BZ #6959]
482ff4da
UD
26964 * timezone/Makefile: Don't install timezone files, just the programs
26965 and scripts.
26966
f72ed77d
UD
269672012-03-06 Ulrich Drepper <drepper@gmail.com>
26968
a000466f
UD
26969 * nss/databases.def: Add missing gshadow entry.
26970
f72ed77d
UD
26971 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26972
a53b7a4e
MP
269732012-03-06 Marek Polacek <polacek@redhat.com>
26974
26975 [BZ #13726]
26976 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26977 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26978 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26979 * stdio-common/tst-long-dbl-fphex.c: New file.
26980
e9258400
DM
269812012-03-06 David S. Miller <davem@davemloft.net>
26982
26983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26984 (set_obp_int): New function.
26985 (get_obp_int): New function.
26986 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26987 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26988 Avoid unused variable warnings on 'val' and use builtin_expect.
26989 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26990 __builtin_expect.
e9258400
DM
26991 (INLINE_CLONE_SYSCALL): Likewise.
26992
3bd2c723
DM
269932012-03-05 David S. Miller <davem@davemloft.net>
26994
26995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26996
bbb78d03
AS
269972012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26998
884c5db4
AS
26999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27000
bbb78d03
AS
27001 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27002 only for |x| >= 40.
27003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27004
1c9f702a 270052012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27006
27007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27008 Replace gettimeofday with __vdso_gettimeofday.
27009
7be16f82
RM
27010 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27011 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27012 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27013
27014 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27015 time with __vdso_time.
27016
ed58a00f
JM
270172012-03-05 Joseph Myers <joseph@codesourcery.com>
27018
27019 * manual/lang.texi (size_t): Note types to which size_t may be
27020 equivalent with the GNU C Library, but do not describe when
27021 differences between them are significant.
27022
30ee4ced
AJ
270232012-03-05 Andreas Jaeger <aj@suse.de>
27024
27025 * sysdeps/i386/fpu/libm-test-ulps: Update.
27026
b7cd39e8
JM
270272012-03-05 Joseph Myers <joseph@codesourcery.com>
27028
27029 [BZ #3976]
27030 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27031 (__ieee754_pow): Save and restore rounding mode and use
27032 round-to-nearest for main computations.
27033 * math/libm-test.inc (pow_test_tonearest): New function.
27034 (pow_test_towardzero): Likewise.
27035 (pow_test_downward): Likewise.
27036 (pow_test_upward): Likewise.
27037 (main): Call the new functions.
27038 * sysdeps/i386/fpu/libm-test-ulps: Update.
27039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27040
27041 [BZ #3976]
27042 * math/libm-test.inc (cosh_test_tonearest): New function.
27043 (cosh_test_towardzero): Likewise.
27044 (cosh_test_downward): Likewise.
27045 (cosh_test_upward): Likewise.
27046 (sinh_test_tonearest): Likewise.
27047 (sinh_test_towardzero): Likewise.
27048 (sinh_test_downward): Likewise.
27049 (sinh_test_upward): Likewise.
27050 (main): Call the new functions.
27051 * sysdeps/i386/fpu/libm-test-ulps: Update.
27052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27053
6c6a98c9
TV
270542012-03-05 Tom de Vries <tom@codesourcery.com>
27055
27056 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27057 default stack guard is set in last bytes.
27058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27059
21bb2d2e 270602012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27061
21bb2d2e 27062 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27063
21bb2d2e
AJ
27064 [BZ #13656]
27065 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27066 possibly allocate from heap instead of stack.
27067 * stdio-common/bug-vfprintf-nargs.c: New file.
27068 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27069
c6922934
AS
270702012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27071
27072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27073
bc957d53
MP
270742012-03-03 Marek Polacek <polacek@redhat.com>
27075
27076 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27077 * math/math_private.h: Likewise.
27078 * stdlib/tst-strtod.c: Likewise.
27079 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27080 * sysdeps/x86_64/bits/atomic.h: Likewise.
27081
6358490d
DM
270822012-03-02 David S. Miller <davem@davemloft.net>
27083
27084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27088 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27089 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27090 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27091 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27092
01ae168d
RM
270932012-03-02 Roland McGrath <roland@hack.frob.com>
27094
d9a17c07
RM
27095 [BZ #13792]
27096 * manual/examples/README: New file, says the example source files
27097 can be used under GPL>=2.
27098 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27099 line containing just "*/".
27100 * manual/examples/add.c: Add copyright header (GPL>=2).
27101 * manual/examples/argp-ex1.c: Likewise.
27102 * manual/examples/argp-ex2.c: Likewise.
27103 * manual/examples/argp-ex3.c: Likewise.
27104 * manual/examples/argp-ex4.c: Likewise.
27105 * manual/examples/atexit.c: Likewise.
27106 * manual/examples/db.c: Likewise.
27107 * manual/examples/dir.c: Likewise.
27108 * manual/examples/dir2.c: Likewise.
27109 * manual/examples/execinfo.c: Likewise.
27110 * manual/examples/filecli.c: Likewise.
27111 * manual/examples/filesrv.c: Likewise.
27112 * manual/examples/fmtmsgexpl.c: Likewise.
27113 * manual/examples/genpass.c: Likewise.
27114 * manual/examples/inetcli.c: Likewise.
27115 * manual/examples/inetsrv.c: Likewise.
27116 * manual/examples/isockad.c: Likewise.
27117 * manual/examples/longopt.c: Likewise.
27118 * manual/examples/memopen.c: Likewise.
27119 * manual/examples/memstrm.c: Likewise.
27120 * manual/examples/mkfsock.c: Likewise.
27121 * manual/examples/mkisock.c: Likewise.
27122 * manual/examples/mygetpass.c: Likewise.
27123 * manual/examples/pipe.c: Likewise.
27124 * manual/examples/popen.c: Likewise.
27125 * manual/examples/rprintf.c: Likewise.
27126 * manual/examples/search.c: Likewise.
27127 * manual/examples/select.c: Likewise.
27128 * manual/examples/setjmp.c: Likewise.
27129 * manual/examples/sigh1.c: Likewise.
27130 * manual/examples/sigusr.c: Likewise.
27131 * manual/examples/stpcpy.c: Likewise.
27132 * manual/examples/strdupa.c: Likewise.
27133 * manual/examples/strftim.c: Likewise.
27134 * manual/examples/strncat.c: Likewise.
27135 * manual/examples/subopt.c: Likewise.
27136 * manual/examples/swapcontext.c: Likewise.
27137 * manual/examples/termios.c: Likewise.
27138 * manual/examples/testopt.c: Likewise.
27139 * manual/examples/testpass.c: Likewise.
27140 * manual/examples/timeval_subtract.c: Likewise.
27141
01ae168d
RM
27142 [BZ #13792]
27143 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27144 function to ...
27145 * manual/timeval_subtract.c.texi: ... here, new file.
27146
49efa33d
DM
271472012-03-02 David S. Miller <davem@davemloft.net>
27148
27149 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27150
28afd92d
JM
271512012-03-02 Joseph Myers <joseph@codesourcery.com>
27152
804360ed
JM
27153 [BZ #3976]
27154 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27155 (__sin): Save and restore rounding mode and use round-to-nearest
27156 for all computations.
27157 (__cos): Save and restore rounding mode and use round-to-nearest
27158 for all computations.
27159 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27160 <fenv.h>.
27161 (tan): Save and restore rounding mode and use round-to-nearest for
27162 all computations.
27163 * math/libm-test.inc (cos_test_tonearest): New function.
27164 (cos_test_towardzero): Likewise.
27165 (cos_test_downward): Likewise.
27166 (cos_test_upward): Likewise.
27167 (sin_test_tonearest): Likewise.
27168 (sin_test_towardzero): Likewise.
27169 (sin_test_downward): Likewise.
27170 (sin_test_upward): Likewise.
27171 (tan_test_tonearest): Likewise.
27172 (tan_test_towardzero): Likewise.
27173 (tan_test_downward): Likewise.
27174 (tan_test_upward): Likewise.
27175 (main): Call the new functions.
27176 * sysdeps/i386/fpu/libm-test-ulps: Update.
27177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27178
a6d06d7b
JM
27179 [BZ #10135]
27180 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27181 small n, then large n, before computing and testing k+n.
27182 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27184 Likewise.
27185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27186 Likewise.
27187 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27188 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27189 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27190 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27192 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27193 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27194 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27195 * math/libm-test.inc (scalbn_test): Add more tests.
27196 (scalbln_test): Likewise.
27197
07e12bb3
JM
27198 * manual/filesys.texi (mode_t): Describe constraints on size and
27199 signedness, not exact equivalence to a particular type.
27200 (ino_t): Likewise.
27201 (ino64_t): Likewise.
27202 (dev_t): Likewise.
27203 (nlink_t): Likewise.
27204 (blkcnt_t): Likewise.
27205 (blkcnt64_t): Likewise.
27206 * manual/llio.texi (off_t): Likewise.
27207
28afd92d
JM
27208 [BZ #3976]
27209 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27210 (__ieee754_exp): Save and restore rounding mode and use
27211 round-to-nearest for all computations.
27212 * math/libm-test.inc (exp_test_tonearest): New function.
27213 (exp_test_towardzero): Likewise.
27214 (exp_test_downward): Likewise.
27215 (exp_test_upward): Likewise.
27216 (main): Call the new functions.
27217 * sysdeps/i386/fpu/libm-test-ulps: Update.
27218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27219
b1eeb65d
CD
272202012-03-01 Chris Demetriou <cgd@google.com>
27221
27222 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27223 have predictable order.
27224
53362a4b
DM
272252012-03-01 David S. Miller <davem@davemloft.net>
27226
3c969083
DM
27227 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27228
759707de
DM
27229 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27230 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27231 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27232 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27233
dfdb8ff2
DM
27234 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27235 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27236 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27238 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27239 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27240 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27241 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27242 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27243
ead89f96
DM
27244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27245
7f66bd07
DM
27246 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27247 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27248 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27249
53362a4b
DM
27250 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27251 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27252 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27253 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27254 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27255 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27256 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27257 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27258 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27259 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27260 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27261 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27263 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27264 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27266 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27267 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27268 * sysdeps/sparc/elf/configure: Regenerated.
27269
7b1902cb
JM
272702012-03-01 Joseph Myers <joseph@codesourcery.com>
27271
bec039bc
JM
27272 * configure.in (AS, LD): Require binutils 2.20 or later.
27273 * configure: Regenerated.
27274 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27275 as required minimum version.
27276 * INSTALL: Regenerated.
27277
7b1902cb
JM
27278 [BZ #2541]
27279 [BZ #4108]
27280 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27281 before squaring exponent.
27282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27283 bottom long double and 27 bits of top long double before squaring
27284 exponent.
27285 * math/libm-test.inc (erfc_test): Add more tests.
27286 * sysdeps/i386/fpu/libm-test-ulps: Update.
27287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27289
f775c276
KT
272902012-03-01 Kai Tietz <ktietz@redhat.com>
27291
27292 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27293 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27294 containing bit-fields.
27295 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27296 * soft-fp/single.h (_FP_UNION_S): Likewise.
27297 * soft-fp/double.h (_FP_UNION_D): Likewise.
27298
5b8a4d4a
JM
272992012-02-29 Joseph Myers <joseph@codesourcery.com>
27300
0bab47b6
JM
27301 [BZ #13786]
27302 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27303 not include ../strcmp.S.
27304 [USE_AS_STRNCASECMP_L]: Likewise.
27305 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27306 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27307 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27308 (__strncasecmp_l_ia32): Define as alias to
27309 __strncasecmp_l_nonascii.
27310
0fcad3e2
JM
27311 [BZ #5794]
27312 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27313 * sysdeps/i386/fpu/libm-test-ulps: Update.
27314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27315
5b8a4d4a
JM
27316 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27318
8fdceb2e
JL
273192012-02-29 Jeff Law <law@redhat.com>
27320
27321 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27322 out of bounds read.
27323
1f393a11
MP
273242012-02-29 Marek Polacek <polacek@redhat.com>
27325
27326 [BZ #13706]
27327 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27328 * elf/Makefile: Add rules to run tst-unused-dep.out.
27329
8847f037
DM
273302012-02-28 David S. Miller <davem@davemloft.net>
27331
27332 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27333 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27334 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27335 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27336 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27337 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27338
169d7f11
JM
273392012-02-29 Joseph Myers <joseph@codesourcery.com>
27340
27341 * math/libm-test.inc (llround_test): Move one test from
27342 lround_test. Use TEST_f_L in moved test.
27343 (lround_test): Move misplaced test to llround_test. Add testcase
27344 from bug 2561.
27345
39adf059
UD
273462012-02-28 Ulrich Drepper <drepper@gmail.com>
27347
27348 * sysdeps/x86_64/fpu/e_expf.S: New file.
27349 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27350
71b5d1c5
SB
273512012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27352
27353 [BZ #13637]
27354 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27355 of remain_len that may cause incomplete multi-byte character and
27356 false match.
27357 * posix/bug-regex33.c: New file.
27358 * posix/Makefile (tests): Add bug-regex33.
27359
1f77f049
JM
273602012-02-28 Joseph Myers <joseph@codesourcery.com>
27361
27362 * manual/macros.texi: New file.
27363 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27364 * manual/libc.texinfo: Include macros.texi.
27365 * manual/creatute.texi: Likewise.
27366 * manual/install.texi: Likewise.
27367 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27368 @glibcadj{} in references to the GNU C Library.
27369 * manual/charset.texi: Likewise.
27370 * manual/conf.texi: Likewise.
27371 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27372 when not using those macros.
27373 * manual/creature.texi: Likewise.
27374 * manual/crypt.texi: Likewise.
27375 * manual/errno.texi: Likewise.
27376 * manual/filesys.texi: Likewise.
27377 * manual/header.texi: Likewise.
27378 * manual/install.texi: Likewise.
27379 * manual/intro.texi: Likewise.
27380 * manual/io.texi: Likewise.
27381 * manual/job.texi: Likewise.
27382 * manual/lang.texi: Likewise.
27383 * manual/libc.texiinfo: Likewise.
27384 * manual/llio.texi: Likewise.
27385 * manual/locale.texi: Likewise.
27386 * manual/maint.texi: Likewise.
27387 * manual/math.texi: Likewise.
27388 * manual/memory.texi: Likewise.
27389 * manual/message.texi: Likewise.
27390 * manual/nss.texi: Likewise.
27391 * manual/pattern.texi: Likewise.
27392 * manual/process.texi: Likewise.
27393 * manual/resource.texi: Likewise.
27394 * manual/search.texi: Likewise.
27395 * manual/setjmp.texi: Likewise.
27396 * manual/signal.texi: Likewise.
27397 * manual/socket.texi: Likewise.
27398 * manual/startup.texi: Likewise.
27399 * manual/stdio.texi: Likewise.
27400 * manual/string.texi: Likewise.
27401 * manual/sysinfo.texi: Likewise.
27402 * manual/syslog.texi: Likewise.
27403 * manual/terminal.texi: Likewise.
27404 * manual/time.texi: Likewise.
27405 * manual/users.texi: Likewise.
27406 * INSTALL: Regenerated.
27407 * NOTES: Regenerated.
d40c5d54 27408 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27409
450bf206
AS
274102012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27411
27412 * include/dirent.h: Include <dirstream.h> before
27413 <dirent/dirent.h>.
27414
741a235b
DM
274152012-02-28 David S. Miller <davem@davemloft.net>
27416
27417 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27418 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27419 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27420 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27421
d6b5aa58
DM
274222012-02-27 David S. Miller <davem@davemloft.net>
27423
1aff59a3
DM
27424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27426 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27427 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27428
d6b5aa58
DM
27429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27430 frame pointer instead of stack pointer relative arg slot.
27431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27432 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27433 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27434
433f48bf
CD
274352012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27436
27437 [BZ #3992]
27438 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27439
d674b76d
DM
274402012-02-27 David S. Miller <davem@davemloft.net>
27441
27442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27446 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27447 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27448 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27449 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27450
0e7727f7
JM
274512012-02-27 Joseph Myers <joseph@codesourcery.com>
27452
27453 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27454 later. Allow versions 5-9.
43be4ca2 27455 * configure: Regenerated.
0e7727f7
JM
27456 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27457 required minimum version and 4.6 as recommended version. Do not
27458 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27459 * INSTALL: Regenerated.
0e7727f7 27460
a78bc654
DM
274612012-02-27 David S. Miller <davem@davemloft.net>
27462
428d5830
DM
27463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27467 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27468 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27469 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27470 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27471
a78bc654
DM
27472 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27473 manipulate bits before adding and subtracting TWO112[sx].
27474 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27475
4579f81c
RM
274762012-02-27 Roland McGrath <roland@hack.frob.com>
27477
36c8acb4
RM
27478 [BZ #13775]
27479 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27480 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27481 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27482 being in POSIX, because they are in 1003.1-2008.
27483
84ad622b
RM
27484 * rt/tst-aio.c: Include <fcntl.h>.
27485 * rt/tst-aio7.c: Likewise.
27486 * rt/tst-aio64.c: Likewise.
27487
4579f81c
RM
27488 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27489
abd923db
JM
274902012-02-27 Joseph Myers <joseph@codesourcery.com>
27491
27492 * manual/install.texi (--with-headers): Describe headers as
27493 interface headers, not private headers.
27494 (Specific advice for GNU/Linux systems): Describe use of headers
27495 from "make headers_install", not private headers from older
27496 kernels.
43be4ca2 27497 * INSTALL: Regenerated.
abd923db
JM
27498 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27499 Change to 2.6.19.
27500 * sysdeps/unix/sysv/linux/configure: Regenerated.
27501
6664049b
JM
27502 * manual/llio.texi (fclean): Remove documentation.
27503
bb8b6697
JM
27504 * manual/Makefile (libc-texi-generated): New variable. Include
27505 version.texi.
27506 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27507 $(libc-texi-generated), not duplicated list of files.
27508 (version.texi, stamp-version): New rules.
27509 (realclean): Remove $(libc-texi-generated), not individual files
27510 from that list. Do not remove dir-add.texinfo.
27511 * manual/libc.texinfo: Comment out uses of edition numbers and
27512 references to printed manual. Remove last-updated dates.
27513 (EDITION): Comment out.
27514 (ISBN): Likewise.
27515 (VERSION, UPDATED): Remove.
27516 (version.texi): Include.
27517
12e5c3b9
AS
275182012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27519
27520 * sysdeps/posix/spawni.c: Include <signal.h>.
27521 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27522 * sysdeps/pthread/aio_fsync.c: Likewise.
27523
4efeffc1 275242012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27525
ba63ba08
UD
27526 * conform/Makefile (tests): Run only when not cross-compiling and
27527 when fast-check is not defined.
27528
d94a4670
UD
27529 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27530 * conform/data/limits.h-data: Fixes for POSIX2008.
27531 * conform/run-conformtest.sh: Run all tests.
27532 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27533 headers.
27534 * include/bits/dlfcn.h: Likewise.
27535 * include/langinfo.h: Likewise.
27536 * include/monetary.h: Likewise.
27537 * include/sys/poll.h: Likewise.
27538
27539 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27540 for __USE_GNU.
27541 * posix/spawn.h: Define __need_sigset_t.
27542 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27543 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27544 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27545 to get sigevent_t only.
27546 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27547 only for __USE_GNU.
27548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27549 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27550 process_vm_writev only for __USE_GNU.
27551 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27552
27553 * conform/Makefile: For now ignore errors from run-conformtest.
27554 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27555 POSIX to avoid namespace pollution. Don't prepend headers.
27556 * conform/data/aio.h-data: Fixes for POSIX testing.
27557 * conform/data/fcntl.h-data: Likewise.
27558 * conform/data/glob.h-data: Likewise.
27559 * conform/data/grp.h-data: Likewise.
27560 * conform/data/pthread.h-data: Likewise.
27561 * conform/data/pwd.h-data: Likewise.
27562 * conform/data/signal.h-data: Likewise.
27563 * conform/data/spawn.h-data: Likewise.
27564 * conform/data/stdio.h-data: Likewise.
27565 * conform/data/stdlib.h-data: Likewise.
27566 * conform/data/stropts.h-data: Likewise.
27567 * conform/data/sys/mman.h-data: Likewise.
27568 * conform/data/sys/stat.h-data: Likewise.
27569 * conform/data/sys/types.h-data: Likewise.
27570 * conform/data/sys/wait.h-data: Likewise.
27571 * conform/data/time.h-data: Likewise.
27572 * conform/data/unistd.h-data: Likewise.
27573 * conform/data/utime.h-data: Likewise.
27574
27575 * io/sys/stat.h: fchmod was always in POSIX.
27576 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27577 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27578 * rt/aio.h: Define __need_timespec before including <time.h>.
27579 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27580 struct. Add forward declaration of pthread_attr_t and use it in
27581 sigevent.
27582 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27583 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27584 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27585 always remove CLK_TCK definition.
27586
c20105c3
AS
275872012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27588
27589 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27590
7a270350
UD
275912012-02-25 Ulrich Drepper <drepper@gmail.com>
27592
31341567
UD
27593 * conform/run-conformtest.sh: New file.
27594 * conform/Makefile: Run run-conformtest for tests.
27595 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27596 support.
27597
27598 * conform/data/uchar.h-data: New file.
27599 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27600 * conform/data/arpa/inet.h-data: Likewise.
27601 * conform/data/assert.h-data: Likewise.
27602 * conform/data/complex.h-data: Likewise.
27603 * conform/data/cpio.h-data: Likewise.
27604 * conform/data/ctype.h-data: Likewise.
27605 * conform/data/dirent.h-data: Likewise.
27606 * conform/data/dlfcn.h-data: Likewise.
27607 * conform/data/errno.h-data: Likewise.
27608 * conform/data/fcntl.h-data: Likewise.
27609 * conform/data/float.h-data: Likewise.
27610 * conform/data/fmtmsg.h-data: Likewise.
27611 * conform/data/fnmatch.h-data: Likewise.
27612 * conform/data/ftw.h-data: Likewise.
27613 * conform/data/glob.h-data: Likewise.
27614 * conform/data/grp.h-data: Likewise.
27615 * conform/data/iconv.h-data: Likewise.
27616 * conform/data/inttypes.h-data: Likewise.
27617 * conform/data/langinfo.h-data: Likewise.
27618 * conform/data/libgen.h-data: Likewise.
27619 * conform/data/limits.h-data: Likewise.
27620 * conform/data/locale.h-data: Likewise.
27621 * conform/data/math.h-data: Likewise.
27622 * conform/data/monetary.h-data: Likewise.
27623 * conform/data/mqueue.h-data: Likewise.
27624 * conform/data/ndbm.h-data: Likewise.
27625 * conform/data/net/if.h-data: Likewise.
27626 * conform/data/netdb.h-data: Likewise.
27627 * conform/data/netinet/in.h-data: Likewise.
27628 * conform/data/nl_types.h-data: Likewise.
27629 * conform/data/poll.h-data: Likewise.
27630 * conform/data/pthread.h-data: Likewise.
27631 * conform/data/pwd.h-data: Likewise.
27632 * conform/data/regex.h-data: Likewise.
27633 * conform/data/sched.h-data: Likewise.
27634 * conform/data/search.h-data: Likewise.
27635 * conform/data/semaphore.h-data: Likewise.
27636 * conform/data/setjmp.h-data: Likewise.
27637 * conform/data/signal.h-data: Likewise.
27638 * conform/data/spawn.h-data: Likewise.
27639 * conform/data/stdarg.h-data: Likewise.
27640 * conform/data/stdio.h-data: Likewise.
27641 * conform/data/stdlib.h-data: Likewise.
27642 * conform/data/string.h-data: Likewise.
27643 * conform/data/strings.h-data: Likewise.
27644 * conform/data/stropts.h-data: Likewise.
27645 * conform/data/sys/ipc.h-data: Likewise.
27646 * conform/data/sys/mman.h-data: Likewise.
27647 * conform/data/sys/msg.h-data: Likewise.
27648 * conform/data/sys/resource.h-data: Likewise.
27649 * conform/data/sys/select.h-data: Likewise.
27650 * conform/data/sys/sem.h-data: Likewise.
27651 * conform/data/sys/shm.h-data: Likewise.
27652 * conform/data/sys/socket.h-data: Likewise.
27653 * conform/data/sys/stat.h-data: Likewise.
27654 * conform/data/sys/statvfs.h-data: Likewise.
27655 * conform/data/sys/time.h-data: Likewise.
27656 * conform/data/sys/timeb.h-data: Likewise.
27657 * conform/data/sys/times.h-data: Likewise.
27658 * conform/data/sys/types.h-data: Likewise.
27659 * conform/data/sys/uio.h-data: Likewise.
27660 * conform/data/sys/un.h-data: Likewise.
27661 * conform/data/sys/utsname.h-data: Likewise.
27662 * conform/data/sys/wait.h-data: Likewise.
27663 * conform/data/syslog.h-data: Likewise.
27664 * conform/data/tar.h-data: Likewise.
27665 * conform/data/termios.h-data: Likewise.
27666 * conform/data/utime.h-data: Likewise.
27667 * conform/data/utmpx.h-data: Likewise.
27668 * conform/data/varargs.h-data: Likewise.
27669 * conform/data/wchar.h-data: Likewise.
27670 * conform/data/wctype.h-data: Likewise.
27671 * conform/data/wordexp.h-data: Likewise.
27672
27673 * include/stropts.h: New file.
27674 * include/uchar.h: New file.
27675 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27676 * include/assert.h: Likewise.
27677 * include/ctype.h: Likewise.
27678 * include/dirent.h: Likewise.
27679 * include/dlfcn.h: Likewise.
27680 * include/fcntl.h: Likewise.
27681 * include/fnmatch.h: Likewise.
27682 * include/glob.h: Likewise.
27683 * include/grp.h: Likewise.
27684 * include/libio.h: Likewise.
27685 * include/locale.h: Likewise.
27686 * include/math.h: Likewise.
27687 * include/net/if.h: Likewise.
27688 * include/netdb.h: Likewise.
27689 * include/netinet/in.h: Likewise.
27690 * include/pthread.h: Likewise.
27691 * include/pwd.h: Likewise.
27692 * include/regex.h: Likewise.
27693 * include/sched.h: Likewise.
27694 * include/search.h: Likewise.
27695 * include/setjmp.h: Likewise.
27696 * include/signal.h: Likewise.
27697 * include/stdio.h: Likewise.
27698 * include/stdlib.h: Likewise.
27699 * include/string.h: Likewise.
27700 * include/sys/cdefs.h: Likewise.
27701 * include/sys/mman.h: Likewise.
27702 * include/sys/msg.h: Likewise.
27703 * include/sys/resource.h: Likewise.
27704 * include/sys/select.h: Likewise.
27705 * include/sys/socket.h: Likewise.
27706 * include/sys/stat.h: Likewise.
27707 * include/sys/statvfs.h: Likewise.
27708 * include/sys/time.h: Likewise.
27709 * include/sys/times.h: Likewise.
27710 * include/sys/uio.h: Likewise.
27711 * include/sys/utsname.h: Likewise.
27712 * include/sys/wait.h: Likewise.
27713 * include/termios.h: Likewise.
27714 * include/time.h: Likewise.
27715 * include/ulimit.h: Likewise.
27716 * include/unistd.h: Likewise.
27717 * include/utime.h: Likewise.
27718 * include/wchar.h: Likewise.
27719 * include/wctype.h: Likewise.
27720 * include/wordexp.h: Likewise.
27721
27722 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27723
7a270350
UD
27724 * time/time.h: TIME_UTC must be a macro.
27725 Make timespec_get available for ISO C11 only as well.
27726
7724defc
UD
277272012-02-24 Ulrich Drepper <drepper@gmail.com>
27728
27729 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27730 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27731
6b1d1d46
JM
277322012-02-24 Joseph Myers <joseph@codesourcery.com>
27733
27734 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27735
0f8bbd69
JM
277362012-02-24 Joseph Myers <joseph@codesourcery.com>
27737
27738 * manual/texinfo.tex: Update to version 2012-01-19.16.
27739
66ab80bc
JM
277402012-02-24 Joseph Myers <joseph@codesourcery.com>
27741
27742 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27743
74981cc5
RM
277442012-02-24 Roland McGrath <roland@hack.frob.com>
27745
ee968201
RM
27746 [BZ #13738]
27747 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27748 * manual/fdl-1.3.texi: New file.
27749 * manual/fdl-1.1.texi: File removed.
27750
74981cc5
RM
27751 [BZ #13738]
27752 * manual/libc.texinfo (FDL_VERSION): New @set.
27753 Use it for mention of FDL in cover text.
27754 (Documentation License): Use it in @include file name.
27755
7bb764bc
JM
277562012-02-22 Joseph Myers <joseph@codesourcery.com>
27757 Roland McGrath <roland@hack.frob.com>
27758
27759 [BZ #5461]
27760 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27761 not LONG_LONG_MAX and LONG_LONG_MIN.
27762 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27763 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27764 name.
27765 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27766
6cbeae47
JM
277672012-02-22 Joseph Myers <joseph@codesourcery.com>
27768
27769 [BZ #2547]
27770 [BZ #11365]
27771 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27772 manipulate bits before adding and subtracting TWO23[sx].
27773 * math/libm-test.inc (nearbyint_test): Add more tests.
27774
fe45ce09
JM
277752012-02-22 Joseph Myers <joseph@codesourcery.com>
27776
27777 [BZ #2548]
27778 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27779 bits before adding and subtracting TWO23[sx].
27780 * math/libm-test.inc (rint_test): Add more tests.
27781 (rint_test_tonearest): Likewise.
27782 (rint_test_towardzero): Likewise.
27783 (rint_test_downward): Likewise.
27784 (rint_test_upward: Likewise.
27785
ff3b3d82
JM
277862012-02-22 Joseph Myers <joseph@codesourcery.com>
27787
27788 [BZ #10110]
27789 * include/stdc-predef.h: New file. Extracted from features.h.
27790 * include/features.h: Include stdc-predef.h.
27791 * Makefile (headers): Add stdc-predef.h.
27792 * CONFORMANCE (Compiler limitations): Update.
27793
ef0aab35
JM
277942012-02-22 Joseph Myers <joseph@codesourcery.com>
27795
27796 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27797
58639409
DM
277982012-02-21 David S. Miller <davem@davemloft.net>
27799
27800 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27801 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27802
c0e70b25
DM
278032012-02-20 David S. Miller <davem@davemloft.net>
27804
27805 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27806 using a normal save/restore sequence, rather than allocating a
27807 dummy stack frame just to store a frame pointer and restore.
27808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27809
fb06851d
JM
278102012-02-21 Joseph Myers <joseph@codesourcery.com>
27811
27812 * manual/install.texi: Fix stray word in line-wrapped comment.
27813
7a8b71c3
DM
278142012-02-20 David S. Miller <davem@davemloft.net>
27815
d510c123
DM
27816 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27817 both binutils and gcc support GOTDATA.
27818
0722d7c2
DM
27819 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27820 "rd %pc" in the PIC register setup sequences.
27821
3d2b3019
DM
27822 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27823 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27824 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27825 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27826 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27828 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27829 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27830 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27831 (SYSCALL_ERROR_HANDLER): Likewise.
27832 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27833 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27835 (SYSCALL_ERROR_HANDLER): Likewise.
27836
c80098a9
DM
27837 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27838 (HAVE_GCC_GOTDATA): New.
27839 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27840 relocation support in both binutils and gcc.
27841 * sysdeps/sparc/elf/configure: Regenerate.
27842
3a2545a0
DM
27843 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27844 * sysdeps/sparc/sparc32/elf/configure: Delete.
27845 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27846 * sysdeps/sparc/sparc64/elf/configure: Delete.
27847 * sysdeps/sparc/elf/configure.in: New file.
27848 * sysdeps/sparc/elf/configure: Generate.
27849
7a8b71c3
DM
27850 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27851 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27852 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27853 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27854 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27855
f1e86fca
JM
278562012-02-21 Joseph Myers <joseph@codesourcery.com>
27857
27858 * manual/install.texi: Do not mention specific glibc version
27859 numbers.
27860 * manual/libc.texinfo (VERSION, UPDATED): Update.
27861 (@copying): Use @copyright{} and range of years.
27862
0e7dfaef
JM
278632012-02-21 Joseph Myers <joseph@codesourcery.com>
27864
27865 [BZ #13695]
27866 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27867 [crti.S not in sysdirs] (generated): Do not append.
27868 [crti.S not in sysdirs] (omit-deps): Likewise.
27869 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27870 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27871 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27872 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27873 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27874 Likewise.
27875 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27876 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27877 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27878 * csu/defs.awk: Remove file.
27879 * sysdeps/generic/initfini.c: Likewise.
27880 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27881 variable.
27882 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27883 Likewise.
27884
599af3ca
JM
278852012-02-20 Joseph Myers <joseph@codesourcery.com>
27886
27887 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27888 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27889 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27890 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27891 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27892 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27893 <bits/epoll.h>.
27894 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27895 (__EPOLL_PACKED): Define to empty if not defined by
27896 <bits/epoll.h>.
27897 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27899 bits/epoll.h.
27900
0e499750
JM
279012012-02-20 Joseph Myers <joseph@codesourcery.com>
27902
27903 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27904 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27905 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27906 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27907 <bits/timerfd.h>.
27908 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27910 bits/timerfd.h.
27911
5ad91f6e
JM
279122012-02-20 Joseph Myers <joseph@codesourcery.com>
27913
27914 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27915 in C locale.
27916 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27917 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27920
06b99b02
AJ
279212012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27922
27923 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27924 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27925
7638c0fd
AS
279262012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27927
27928 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27929 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27930 defined.
27931 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27932 Likewise.
27933 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27934 entry for 2.16.
27935
92221550
AJ
279362012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27937
27938 * math/w_acos.c: Use non-signaling floating-point comparisons.
27939 * math/w_acosf.c: Likewise.
27940 * math/w_acosh.c: Likewise.
27941 * math/w_acoshf.c: Likewise.
27942 * math/w_acoshl.c: Likewise.
27943 * math/w_acosl.c: Likewise.
27944 * math/w_asin.c: Likewise.
27945 * math/w_asinf.c: Likewise.
27946 * math/w_asinl.c: Likewise.
27947 * math/w_atanh.c: Likewise.
27948 * math/w_atanhf.c: Likewise.
27949 * math/w_atanhl.c: Likewise.
27950 * math/w_exp2.c: Likewise.
27951 * math/w_exp2f.c: Likewise.
27952 * math/w_exp2l.c: Likewise.
27953 * math/w_j0.c: Likewise.
27954 * math/w_j0f.c: Likewise.
27955 * math/w_j0l.c: Likewise.
27956 * math/w_j1.c: Likewise.
27957 * math/w_j1f.c: Likewise.
27958 * math/w_j1l.c: Likewise.
27959 * math/w_jn.c: Likewise.
27960 * math/w_jnf.c: Likewise.
27961 * math/w_log.c: Likewise.
27962 * math/w_log10.c: Likewise.
27963 * math/w_log10f.c: Likewise.
27964 * math/w_log10l.c: Likewise.
27965 * math/w_log2.c: Likewise.
27966 * math/w_log2f.c: Likewise.
27967 * math/w_log2l.c: Likewise.
27968 * math/w_logf.c: Likewise.
27969 * math/w_logl.c: Likewise.
27970 * math/w_sqrt.c: Likewise.
27971 * math/w_sqrtf.c: Likewise.
27972 * math/w_sqrtl.c: Likewise.
27973 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27974 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27975 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27976 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27977 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27978
ebaf36eb
JM
279792012-02-19 Joseph Myers <joseph@codesourcery.com>
27980
27981 [BZ #9739]
27982 * manual/string.texi (strnlen): Use correct parameter name in
27983 equivalent expression.
27984
71c254a6
JM
279852012-02-19 Joseph Myers <joseph@codesourcery.com>
27986
27987 [BZ #11174]
27988 * manual/users.texi (seteuid): Consistently use neweuid for
27989 argument name.
27990
16d2c631
JM
279912012-02-19 Joseph Myers <joseph@codesourcery.com>
27992
27993 [BZ #13704]
27994 * manual/nss.texi (Services in the NSS configuration): Correct
27995 list of services in example configuration file.
27996
cd837b09
NB
279972012-02-19 Nick Bowler <nbowler@draconx.ca>
27998
27999 [BZ #11322]
28000 * manual/arith.texi: Remove statements about negative zero
28001 behaving identically to zero.
28002
02c4bbad
JM
280032012-02-18 Joseph Myers <joseph@codesourcery.com>
28004
28005 [BZ #5993]
28006 * manual/install.texi: Do not document upgrading from libc5.
28007
366842e7
JM
280082012-02-18 Joseph Myers <joseph@codesourcery.com>
28009
28010 [BZ #4596]
28011 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28012
dd54084d
DM
280132012-02-18 David S. Miller <davem@davemloft.net>
28014
28015 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28016 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28017 %o7 across the call.
28018 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28019 instead.
28020 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28021 SETUP_PIC_REG_LEAF.
28022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28023 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28024 * sysdeps/sparc/crtn.S: Likewise.
28025
2bcc53a3
UD
280262012-02-17 Ulrich Drepper <drepper@gmail.com>
28027
28028 * aout/Makefile: Remove.
28029
09c093b5
RK
280302012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28031
28032 [BZ #13058]
28033 * manual/examples/argp-ex1.c (main): Format definition in GNU
28034 style.
28035 * manual/examples/argp-ex2.c (main): Likewise.
28036 * manual/examples/argp-ex3.c (main): Likewise.
28037 * manual/examples/argp-ex4.c (main): Likewise.
28038 * manual/examples/longopt.c (main): Use new-style prototype
28039 definition.
28040 * manual/examples/strncat.c (main): Specify return type and use
28041 (void) for arguments.
28042 * manual/examples/subopt.c (main): Use char **argv argument.
28043
2ee633a2
JM
280442012-02-17 Joseph Myers <joseph@codesourcery.com>
28045
28046 [BZ #5077]
28047 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28048 rounding modes.
28049
0520adde
FB
280502012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28051
28052 [BZ #6907]
28053 * manual/string.texi (strchr): Change when strchrnul is
28054 recommended.
28055
3f4081cd
DGM
280562012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28057
28058 [BZ #174]
28059 * manual/locale.texi (setlocale): Document LOCPATH.
28060
d1b10e78
JM
280612012-02-17 Joseph Myers <joseph@codesourcery.com>
28062
28063 [BZ #10210]
28064 * manual/process.texi (execle): Move @dots{} before last argument.
28065
79c6869c
PB
280662012-02-17 Paul Bolle <pebolle@tiscali.nl>
28067
28068 [BZ #12047]
28069 * manual/charset.texi (Generic Charset Conversion): Fix typo
28070 (LC_TYPE -> LC_CTYPE).
28071
cc6e48bc
NB
280722012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28073
28074 [BZ #5805]
28075 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28076 (scalbnf): Likewise.
28077 (scalbnl): Likewise.
28078 (scalbln): Likewise.
28079 (scalblnf): Likewise.
28080 (scalblnl): Likewise.
28081 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28082 (vwarnx): Likewise.
28083 (verr): Likewise.
28084 (verrx): Likewise.
28085 * manual/filesys.texi (telldir): Use braces around return type.
28086 * manual/llio.texi (mmap): Add space after comma.
28087 (mmap64): Likewise.
28088 * manual/math.texi (jn): Use @var{} on parameter names.
28089 (jnf): Likewise.
28090 (jnl): Likewise.
28091 (yn): Likewise.
28092 (ynf): Likewise.
28093 (ynl): Likewise.
28094 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28095 line.
28096 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28097 "...".
28098 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28099 (sched_get_priority_max): Likewise.
28100 * manual/signal.texi (sigvec): Add space after comma.
28101 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28102 names.
28103 (if_indextoname): Likewise.
28104 (if_freenameindex): Likewise.
28105 (sendto): Use ',' instead of '.' in prototype.
28106 * manual/startup.texi (syscall): Use @dots{} instead of literal
28107 "...".
28108 * manual/stdio.texi (__fpending): Separate initial words of
28109 paragraph from @deftypefun line.
28110 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28111 "...".
28112 (vsyslog): Use @var{} on parameter names.
28113 * manual/terminal.texi (stty): Use @var{} on parameter names.
28114 * manual/users.texi (getutmp): Use @var{} on parameter names.
28115 (getutmpx): Likewise.
28116
5b23062f
JM
281172012-02-17 Joseph Myers <joseph@codesourcery.com>
28118
28119 [BZ #6884]
28120 * manual/stdio.texi (fopen): Fix typos in description of
28121 ",ccs=STRING".
28122
8dee4833
AJ
281232012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28124
28125 [BZ #4026]
28126 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28127 get clock_id definition.
28128
9078ce93
TS
281292012-02-17 Thomas Schwinge <thomas@schwinge.name>
28130
28131 [BZ #4822]
28132 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28133 (madvise): Cast every argument to void on its own.
28134
3835c55f
JM
281352012-02-17 Joseph Myers <joseph@codesourcery.com>
28136
28137 [BZ #9902]
28138 * manual/startup.texi (Exit Status): Fix typo.
28139
35c47e37
JM
281402012-02-17 Joseph Myers <joseph@codesourcery.com>
28141
28142 [BZ #10140]
28143 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28144 * manual/examples/argp-ex2.c: Likewise.
28145 * manual/examples/argp-ex3.c: Likewise.
28146
e3b69ca7
RH
281472012-02-16 Richard Henderson <rth@redhat.com>
28148
28149 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28150 * sysdeps/s390/s390-32/initfini.c: Remove.
28151 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28152 * sysdeps/s390/s390-64/initfini.c: Remove.
28153
df83af67
KK
281542012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28155
28156 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28157 compiler output for sysdeps/generic/initfini.c.
28158 * sysdeps/sh/elf/initfini.c: Remove file.
28159
f63f3380
DM
281602012-02-16 David S. Miller <davem@davemloft.net>
28161
fb59b3a4
DM
28162 [BZ #11494]
28163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28164
f63f3380
DM
28165 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28166 * sysdeps/sparc/crti.S: New file.
28167 * sysdeps/sparc/crtn.S: New file.
28168 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28169 * sysdeps/sparc/sparc64/Makefile: Likewise.
28170
df6a4a4a
MF
281712012-02-15 Mike Frysinger <vapier@gentoo.org>
28172
6dd8f3dc 28173 [BZ #3335]
df6a4a4a
MF
28174 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28175
1cac7236
RM
281762012-02-15 Roland McGrath <roland@hack.frob.com>
28177
d2c736f8
RM
28178 [BZ #4822]
28179 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28180
1cac7236
RM
28181 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28182 (write, read, close): Likewise.
28183 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28184
8e475601
JM
281852012-02-15 Joseph Myers <joseph@codesourcery.com>
28186
28187 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28188 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28189 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28190 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28191 <bits/signalfd.h>.
28192 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28194 bits/signalfd.h.
28195
ed656b40
MP
281962012-02-14 Marek Polacek <polacek@redhat.com>
28197
28198 * sysdeps/x86_64/crti.S: New file.
28199 * sysdeps/x86_64/crtn.S: New file.
28200 * sysdeps/x86_64/elf/initfini.c: Remove file.
28201
2a979d3a
JM
282022012-02-13 Joseph Myers <joseph@codesourcery.com>
28203
28204 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28205 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28206 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28207 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28208 <bits/inotify.h>.
28209 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28211 bits/inotify.h.
28212
2a418ac3
JM
282132012-02-13 Joseph Myers <joseph@codesourcery.com>
28214
28215 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28216 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28217 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28218 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28219 <bits/eventfd.h>.
28220 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28222 bits/eventfd.h.
28223
fb779be7
TS
282242012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28225
e19e83c5
RM
28226 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28227 __feraiseexcept instead of feraiseexcept.
7c35ffed 28228
fb779be7
TS
28229 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28230 nanosleep invocations.
28231 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28232 strings, and add error checking for a nanosleep invocations.
28233
59ba27a6
PE
282342012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28235
28236 Replace FSF snail mail address with URLs, as per GNU coding standards.
28237 Most of the snail mail addresses were wrong anyway, and omitting
28238 them makes the source code easier to maintain. Almost all of the
28239 changes are to license notices and to locale LC_IDENTIFICATION
28240 addresses, except for this one:
28241 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28242 not its snail mail address.
28243
57b957eb
RH
282442012-02-09 Richard Henderson <rth@twiddle.net>
28245
af850b1c
RH
28246 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28247 of kernel-features.h.
28248
57b957eb
RH
28249 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28250
6b73181a
MP
282512012-02-08 Marek Polacek <polacek@redhat.com>
28252
28253 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28254 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28255 * sysdeps/gnu/_G_config.h: Likewise.
28256 * sysdeps/generic/_G_config.h: Likewise.
28257
26ecc33a
AS
282582012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28259
6c6dbc63
AS
28260 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28261 tests.
28262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28263
e216c012
AS
28264 * sysdeps/powerpc/powerpc32/crti.S: New file.
28265 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28266 * sysdeps/powerpc/powerpc64/crti.S: New file.
28267 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28268
26ecc33a
AS
28269 * Makeconfig (have-initfini): Don't set.
28270 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28271 * configure.in (nopic_initfini): Don't substitute.
28272 * config.h.in (HAVE_INITFINI): Don't #undef.
28273 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28274 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28275
3add8e13
JM
282762012-02-08 Joseph Myers <joseph@codesourcery.com>
28277
28278 Support crti.S and crtn.S provided directly by architectures.
28279 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28280 [crti.S in sysdirs] (omit-deps): Likewise.
28281 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28282 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28283 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28284 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28285 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28286 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28287 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28288 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28289 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28290 compiler output for sysdeps/generic/initfini.c.
28291 * sysdeps/i386/elf/Makefile: Remove file.
28292 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28293
a22f12b4
MP
282942012-02-07 Marek Polacek <polacek@redhat.com>
28295
28296 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28297 * sysdeps/gnu/_G_config.h: Likewise.
28298 * sysdeps/mach/hurd/_G_config.h: Likewise.
28299
148cf100
MP
283002012-02-07 Marek Polacek <polacek@redhat.com>
28301
28302 * math/Makefile (tests): Add tst-CMPLX2.
28303 * math/tst-CMPLX2.c: New file.
28304
cfdc0dd7
AS
283052012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28306
84ba42c4
AS
28307 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28308
cfdc0dd7
AS
28309 * math/libm-test.inc (jn_test): Add missing L suffix.
28310
622c86f4
MP
283112012-02-06 Marek Polacek <polacek@redhat.com>
28312
28313 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28314 * sysdeps/i386/fpu/e_powf.S: Likewise.
28315 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28316 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28317 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28318 * sysdeps/i386/fpu/e_pow.S: Likewise.
28319 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28320 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28321 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28322 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28323 * sysdeps/i386/fpu/e_log2.S: Likewise.
28324 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28325 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28326 * sysdeps/i386/fpu/e_powl.S: Likewise.
28327 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28328 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28329 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28330 * sysdeps/i386/fpu/e_logl.S: Likewise.
28331 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28332 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28333 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28334 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28335 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28336 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28337 * sysdeps/i386/fpu/e_log.S: Likewise.
28338 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28339 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28340 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28341 * sysdeps/i386/fpu/e_logf.S: Likewise.
28342 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28343 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28344 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28345 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28346 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28347 * sysdeps/i386/fpu/e_log10.S: Likewise.
28348 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28349 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28350 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28351 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28352 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28353 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28354 * sysdeps/i386/asm-syntax.h: Likewise.
28355 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28356 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28357 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28358 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28359 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28360 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28361 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28362 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28363 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28364 * sysdeps/powerpc/sysdep.h: Likewise.
28365 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28366 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28367
d4a54ac6
JM
283682012-02-06 Joseph Myers <joseph@codesourcery.com>
28369
28370 [BZ #411]
28371 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28372
314054ea
JM
283732012-02-06 Joseph Myers <joseph@codesourcery.com>
28374
28375 * sysdeps/i386/sysdep.h: Include <features.h>.
28376 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28377 version.
28378
d8e0ca50
JM
283792012-02-05 Joseph Myers <joseph@codesourcery.com>
28380
28381 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28382 Define.
28383 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28384 LOAD_PIC_REG_STR.
28385
b1da7dd9
JM
283862012-02-03 Joseph Myers <joseph@codesourcery.com>
28387
28388 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28389 (SETUP_PIC_REG): Use GET_PC_THUNK.
28390 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28391 macro.
28392
9a1d9254
JM
283932012-02-03 Joseph Myers <joseph@codesourcery.com>
28394
28395 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28396 for non-PIC compilation.
28397 (SETUP_PIC_REG): Add .p2align directive.
28398 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28399 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28400 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28401 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28402 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28403 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28404 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28405 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28406 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28407 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28408 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28409 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28410 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28411 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28412 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28413 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28414 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28415 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28416 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28417 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28418 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28419 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28420 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28421 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28424 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28425 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28426 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28427 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28428 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28430 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28431 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28432 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28433 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28434 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28435 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28436 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28437 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28438 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28439
65dc3b75
JM
284402012-02-03 Joseph Myers <joseph@codesourcery.com>
28441
28442 * math/tst-CMPLX.c: Include <stdio.h>.
28443
d55bf177
JM
284442012-01-31 Joseph Myers <joseph@codesourcery.com>
28445
28446 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28447 float.
28448 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28449 * sysdeps/sparc/bits/mathdef.h: Likewise.
28450
69db4f8f
MP
284512012-01-31 Marek Polacek <polacek@redhat.com>
28452
28453 * libio/libio.h: Don't define _PARAMS.
28454 * locale/programs/config.h: Don't define PARAMS.
28455 * stdlib/strtol_l.c: Likewise.
28456 (__strtol_l): Remove PARAMS from the prototype.
28457
41b81892
UD
284582012-01-31 Ulrich Drepper <drepper@gmail.com>
28459
3b49edc0
UD
28460 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28461 names. Just use the correct names. Remove unnecessary wrapper
28462 functions.
28463 * malloc/arena.c: Likewise.
28464 * malloc/hooks.c: Likewise.
28465
41b81892
UD
28466 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28467 ARENA_TEST says not to. Simplify test for creation of a new arena.
28468 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28469
27a25b6e
UD
284702012-01-30 Ulrich Drepper <drepper@gmail.com>
28471
28472 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28473 into tail calls.
28474 (update_get_addr): New function.
28475 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28476 GET_ADDR_MODULE parameter.
28477
c8a89e7d
JM
284782012-01-30 Joseph Myers <joseph@codesourcery.com>
28479
28480 * crypt/cert.c: Remove __STDC__ conditionals.
28481 * crypt/crypt-entry.c: Likewise.
28482 * crypt/crypt_util.c: Likewise.
28483 * libio/filedoalloc.c: Likewise.
28484 * libio/fileops.c: Likewise.
28485 * libio/genops.c: Likewise.
28486 * libio/iofclose.c: Likewise.
28487 * libio/iofdopen.c: Likewise.
28488 * libio/iofopen.c: Likewise.
28489 * libio/iofopen64.c: Likewise.
28490 * libio/iogetdelim.c: Likewise.
28491 * libio/iopopen.c: Likewise.
28492 * libio/obprintf.c: Likewise.
28493 * libio/oldfileops.c: Likewise.
28494 * libio/oldiofclose.c: Likewise.
28495 * libio/oldiofdopen.c: Likewise.
28496 * libio/oldiofopen.c: Likewise.
28497 * libio/oldiopopen.c: Likewise.
28498 * libio/wfiledoalloc.c: Likewise.
28499 * libio/wgenops.c: Likewise.
28500 * locale/programs/xmalloc.c: Likewise.
28501 * misc/syslog.c: Likewise.
28502 * stdio-common/xbug.c: Likewise.
28503 * string/memchr.c: Likewise.
28504 * string/memcmp.c: Likewise.
28505 * string/memrchr.c: Likewise.
28506 * string/rawmemchr.c: Likewise.
28507 * sysdeps/posix/getcwd.c: Likewise.
28508 * time/strftime_l.c: Likewise.
28509
3b100462
JM
285102012-01-30 Joseph Myers <joseph@codesourcery.com>
28511
28512 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28513 * config.make.in (config-cflags-sse2avx): Define.
28514 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28515 Fix typo.
28516
607998af
CM
285172012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28518
28519 * scripts/config.guess: Update from upstream config git repository.
28520 * scripts/config.sub: Likewise.
28521
3601428f
CM
285222012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28523
3ac8b282
CM
28524 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28525 (EM_NUM): Update.
28526 (R_TILEPRO_*, R_TILEGX_*): New macros.
28527
e034841e
CM
28528 * scripts/firstversions.awk: Fix bug in version range handling.
28529
540d7568
CM
28530 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28531
3601428f
CM
28532 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28533
463de862
CM
28534 * include/sys/epoll.h: New file.
28535 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28536 libc_hidden_def.
28537
73139a76
UD
285382012-01-28 Ulrich Drepper <drepper@gmail.com>
28539
96bc5b45
UD
28540 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28541 Avoid unnecessary __WORDSIZE == 64 test.
28542 (fmaxf): Use VEX format if possible.
28543 (fmax): Likewise.
28544 (fminf): Likewise.
28545 (fmin): Likewise.
28546
56f6f6a2
UD
28547 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28548 * math/math_private.h: Remove libc_fegetround* and
28549 libc_fesetround*.
28550 * sysdeps/i386/configure.in: Check for -msse2avx.
28551 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28552 also if SSE2AVX is defined.
28553 Remove libc_fegetround* and libc_fesetround*.
28554 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28555 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28557 of HAS_YMM_USABLE.
28558 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28559 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28560 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28561 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28562 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28563
73139a76
UD
28564 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28565
d73f93a4
AZ
285662012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28567
28568 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28569 size is not set.
28570 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28571
6ee65ed6
UD
285722012-01-27 Ulrich Drepper <drepper@gmail.com>
28573
28574 [BZ #13618]
28575 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28576 relocation.
28577 * Makeconfig (libm): Define.
28578 * elf/Makefile: Add rules to build and run tst-relsort1.
28579 * elf/tst-relsort1.c: New file.
28580 * elf/tst-relsort1mod1.c: New file.
28581 * elf/tst-relsort1mod2.c: New file.
28582
8db21882
JM
285832012-01-27 Joseph Myers <joseph@codesourcery.com>
28584
28585 * math/s_ldexp.c: Remove __STDC__ conditionals.
28586 * math/s_ldexpf.c: Likewise.
28587 * math/s_ldexpl.c: Likewise.
28588 * math/s_nextafter.c: Likewise.
28589 * math/s_nexttowardf.c: Likewise.
28590 * math/s_significand.c: Likewise.
28591 * math/s_significandf.c: Likewise.
28592 * math/s_significandl.c: Likewise.
28593 * math/w_jnl.c: Likewise.
28594 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28595 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28596 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28597 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28598 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28615 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28616 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28617 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28618 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28619 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28620 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28621 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28622 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28623 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28624 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28625 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28626 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28627 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28628 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28629 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28630 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28631 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28632 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28633 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28634 * sysdeps/ieee754/k_standard.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28644 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28645 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28648 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28650 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28653 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28654 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28657 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28658 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28659 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28660 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28661 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28664 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28665 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28666 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28667 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28668 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28670 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28671 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28672 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28673 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28674 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28676 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28677 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28681 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28682 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28683 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28684 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28685 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28686 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28687 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28688 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28691 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28693 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28694 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28695 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28696 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28701 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28709 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28710 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28714 * sysdeps/ieee754/s_matherr.c: Likewise.
28715 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28716 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28719
965a54a4
JM
287202012-01-26 Joseph Myers <joseph@codesourcery.com>
28721
28722 * crypt/md5.h: Remove __STDC__ conditionals.
28723 * libio/libioP.h: Likewise.
28724 * locale/programs/config.h: Likewise.
28725 * sysdeps/generic/sysdep.h: Likewise.
28726 * sysdeps/i386/asm-syntax.h: Likewise.
28727 * sysdeps/s390/asm-syntax.h: Likewise.
28728 * sysdeps/unix/sysdep.h: Likewise.
28729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28731
7071ad79
JM
287322012-01-26 Joseph Myers <joseph@codesourcery.com>
28733
28734 * libio/libio.h: Remove __STDC__ conditionals.
28735 * malloc/obstack.h: Likewise.
28736 * math/complex.h: Likewise.
28737 * math/math.h: Likewise.
28738 * sysdeps/generic/_G_config.h: Likewise.
28739 * sysdeps/gnu/_G_config.h: Likewise.
28740 * sysdeps/mach/hurd/_G_config.h: Likewise.
28741 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28742 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28743 * sysdeps/sparc/bits/mathdef.h: Likewise.
28744
afc5ed09
UD
287452012-01-26 Ulrich Drepper <drepper@gmail.com>
28746
28747 [BZ #13583]
28748 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28749 Clean up HAS_* macros.
afc5ed09 28750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28751 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28752 possible.
28753 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28754 HAS_AVX.
28755 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28756 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28758 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28759 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28760
bdb6de1d
JM
287612012-01-25 Joseph Myers <joseph@codesourcery.com>
28762
28763 * elf/tst-unique3.cc (gets): Remove declaration.
28764 * elf/tst-unique3lib.cc (gets): Likewise.
28765 * elf/tst-unique3lib2.cc (gets): Likewise.
28766 * elf/tst-unique4.cc (gets): Likewise.
28767
b15549e6
UD
287682012-01-24 Ulrich Drepper <drepper@gmail.com>
28769
28770 * include/stdio.h: Add C++ protection. Add gets declarations and
28771 definitions.
28772 * debug/tst-chk1.c: Don't declare gets here.
28773 * stdio-common/tst-gets.c: Likewise.
28774
a037381f
JM
287752012-01-24 Joseph Myers <joseph@codesourcery.com>
28776
28777 * posix/glob: Remove directory.
28778
f1d4aa75
JM
287792012-01-24 Joseph Myers <joseph@codesourcery.com>
28780
28781 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28782
81c0c964
PT
287832012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28784
28785 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28786 of the non-standard EPFNOSUPPORT.
28787
0ea698ae
ST
287882011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28789
28790 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28791 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28792 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28793
d220b117
UD
287942012-01-21 Ulrich Drepper <drepper@gmail.com>
28795
28796 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28797
3e1aa84e
UD
287982012-01-20 Ulrich Drepper <drepper@gmail.com>
28799
28800 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28801 transient errors.
28802 * nscd/grpcache.c (cache_addgr): Likewise.
28803 * nscd/hstcache.c (cache_addhst): Likewise.
28804 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28805 * nscd/pwdcache.c (cache_addpw): Likewise.
28806 * nscd/servicescache.c (cache_addserv): Likewise.
28807
400aa020
UD
288082012-01-16 Ulrich Drepper <drepper@gmail.com>
28809
d77e7869
UD
28810 * malloc/malloc.c: Various cleanups.
28811 * malloc/hooks.c: Likewise.
28812
400aa020
UD
28813 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28814 * stdlib/bug-fmtmsg1.c: New file.
28815
28816 * stdlib/fmtmsg.c (init): Add missing unlock.
28817 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28818
e0a309cf
MP
288192012-01-12 Marek Polacek <polacek@redhat.com>
28820
28821 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28822 and _GNU_SOURCE.
28823
929d11c7
WS
288242012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28825
28826 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28827 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28828 macro to ensure uniqueness of label name.
28829 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28830 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28831
41d0e869
UD
288322012-01-11 Ulrich Drepper <drepper@gmail.com>
28833
0cc5ed3b
UD
28834 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28835
41d0e869
UD
28836 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28837 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28838 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28839 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28840
a47a831a
UD
288412012-01-10 Ulrich Drepper <drepper@gmail.com>
28842
daa891c0
UD
28843 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28844
28845 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28846 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28847 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28848
e58ef0f2
UD
28849 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28850
a47a831a 28851 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28852 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28853 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28855
28856 * math/bits/math-finite.h: Add ldexp support.
28857
a0bfc9c7
MP
288582012-01-10 Marek Polacek <polacek@redhat.com>
28859
28860 * locale/programs/localedef.h (show_archive_content): Add noreturn
28861 attribute.
28862
d6e97a1d
UD
288632012-01-09 Ulrich Drepper <drepper@gmail.com>
28864
28865 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28866
d5835c26
UD
288672012-01-08 Ulrich Drepper <drepper@gmail.com>
28868
e5f484c6
UD
28869 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28870
d5835c26
UD
28871 * io/Makefile (headers): Add bits/poll2.h.
28872
d1f741e9
WS
288732011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28874
28875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28876 typo #include statement.
28877
ec09c1c4
UD
288782012-01-08 Ulrich Drepper <drepper@gmail.com>
28879
28880 * include/sys/cdefs.h: Define __attribute_alloc_size.
28881 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28882 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28883 * elf/pldd.c: Likewise.
28884 * iconv/iconv_charmap.c: Likewise.
28885 * iconv/iconvconfig.c: Likewise.
28886 * iconv/strtab.c: Likewise.
28887 * locale/programs/locale.c: Likewise.
28888 * locale/programs/localedef.h: Likewise.
28889 * locale/programs/simple-hash.c: Likewise.
28890 * nscd/nscd.h: Likewise.
28891 * nss/makedb.c: Likewise.
28892 * sysdeps/generic/ldconfig.h: Likewise.
28893 * locale/programs/localedef.c: Remove xmalloc prototype.
28894 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28895
20b38e03
PP
288962012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28897
28898 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28899 appropriate.
28900
a0da5fe1
UD
289012012-01-08 Ulrich Drepper <drepper@gmail.com>
28902
1d5a644a 28903 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28904 * math/tst-CMPLX.c: New file.
1d5a644a 28905
8784a6db
UD
28906 * math/complex.h (CMPLXL): Fix typo.
28907
d9a216c0
UD
28908 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28909 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28910 GLIBC_2.16.
28911 * debug/tst-chk1.c: Add poll and ppoll tests.
28912 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28913 * include/sys/poll.h: Add hidden proto for ppoll.
28914 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28915 * sysdeps/mach/hurd/ppoll.c: Likewise.
28916 * io/ppoll.c: Likewise.
28917 * debug/poll_chk.c: New file.
28918 * debug/ppoll_chk.c: New file.
28919 * include/bits/poll2.h: New file.
28920 * io/bits/poll2.h: New file.
28921
ac097f5c
UD
28922 [BZ #1350]
28923 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28924
2119dcfa
UD
28925 * configure.in: static is always set to yes. Remove.
28926 * config.make.in: Don't set build-static.
28927 * Makeconfig: Remove use of build-static.
28928 * dlfcn/Makefile: Likewise.
28929 * elf/Makefile: Likewise.
28930 * math/Makefile: Likewise.
28931 * misc/Makefile: Likewise.
28932 * nptl/Makefile: Likewise.
28933 * sysdeps/mach/hurd/Makefile: Likewise.
28934
121766a9
UD
28935 * configure.in: PWD_P is not used anymore.
28936 * config.make.in: Remove PWD_P entry.
28937
51a1d39c 28938 * configure.in: Remove last remnants of RANLIB.
8720d066 28939 No need to check for signed size_t anymore.
215f4bdc
UD
28940 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28941 and IA-64.
3857022a 28942 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28943 * aclocal.m4: Likewise.
28944
d3ed7225
UD
28945 * wcsmbs/mbrtoc16.c: Implement using towc function.
28946 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28947 * wcsmbs/wcsmbsload.c: Likewise.
28948 * iconv/gconv_simple.c: Likewise.
28949 * iconv/gconv_int.h: Likewise.
28950 * iconv/gconv_builtin.h: Likewise.
28951 * iconv/iconv_prog.c: Remove CHAR16 handling.
28952
28953 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28954
28955 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28956
a0da5fe1
UD
28957 * configure.in: Remove --with-elf and --enable-bounded options.
28958 Dont set base_machine for ia64. More non-ELF conditions removed.
28959 Remove testing and setting of leading underscore information.
28960 * config.make.in (build-bounded): Set to no.
28961 * config.h.in: Remove NO_UNDERSCORES entry.
28962 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28963 them.
28964 * csu/start.c: Remove !NO_UNDERSCORE code.
28965 * locale/localeinfo.h: Likewise.
28966 * sysdeps/generic/machine-gmon.h: Likewise.
28967 * sysdeps/generic/sysdep.h: Likewise.
28968 * sysdeps/i386/sysdep.h: Likewise.
28969 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28970 * sysdeps/mach/sysdep.h: Likewise.
28971 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28972 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28973 * sysdeps/sh/sysdep.h: Likewise.
28974 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28975 * sysdeps/unix/i386/sysdep.S: Likewise.
28976 * sysdeps/unix/sparc/start.c: Likewise.
28977 * sysdeps/unix/sparc/sysdep.S: Likewise.
28978 * sysdeps/unix/sparc/sysdep.h: Likewise.
28979 * sysdeps/unix/start.c: Likewise.
28980 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28981 * sysdeps/x86_64/sysdep.h: Likewise.
28982
df78418a
UD
289832012-01-07 Ulrich Drepper <drepper@gmail.com>
28984
a784e502
UD
28985 [BZ #13553]
28986 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28987 for non-gcc.
28988 * argp/argp-fmtstream.h: Use const instead __const.
28989 * argp/argp.h: Likewise.
28990 * assert/assert.h: Likewise.
28991 * bits/fenv.h: Likewise.
28992 * bits/sched.h: Likewise.
28993 * bits/sigset.h: Likewise.
28994 * bits/sigthread.h: Likewise.
28995 * catgets/nl_types.h: Likewise.
28996 * conform/data/pthread.h-data: Likewise.
28997 * crypt/crypt-private.h: Likewise.
28998 * crypt/crypt.h: Likewise.
28999 * crypt/crypt_util.c: Likewise.
29000 * ctype/ctype.h: Likewise.
29001 * debug/execinfo.h: Likewise.
29002 * debug/mbsnrtowcs_chk.c: Likewise.
29003 * debug/mbsrtowcs_chk.c: Likewise.
29004 * debug/wcsnrtombs_chk.c: Likewise.
29005 * debug/wcsrtombs_chk.c: Likewise.
29006 * debug/wcstombs_chk.c: Likewise.
29007 * dirent/dirent.h: Likewise.
29008 * dlfcn/dlfcn.h: Likewise.
29009 * elf/neededtest4.c: Likewise.
29010 * grp/grp.h: Likewise.
29011 * gshadow/gshadow.h: Likewise.
29012 * iconv/gconv.h: Likewise.
29013 * iconv/gconv_int.h: Likewise.
29014 * iconv/gconv_simple.c: Likewise.
29015 * iconv/iconv.h: Likewise.
29016 * iconv/loop.c: Likewise.
29017 * iconv/skeleton.c: Likewise.
29018 * include/aio.h: Likewise.
29019 * include/aliases.h: Likewise.
29020 * include/argz.h: Likewise.
29021 * include/arpa/inet.h: Likewise.
29022 * include/assert.h: Likewise.
29023 * include/dirent.h: Likewise.
29024 * include/dlfcn.h: Likewise.
29025 * include/execinfo.h: Likewise.
29026 * include/fcntl.h: Likewise.
29027 * include/fenv.h: Likewise.
29028 * include/glob.h: Likewise.
29029 * include/grp.h: Likewise.
29030 * include/libintl.h: Likewise.
29031 * include/mntent.h: Likewise.
29032 * include/netdb.h: Likewise.
29033 * include/pwd.h: Likewise.
29034 * include/rpc/netdb.h: Likewise.
29035 * include/sched.h: Likewise.
29036 * include/search.h: Likewise.
29037 * include/shadow.h: Likewise.
29038 * include/signal.h: Likewise.
29039 * include/stdio.h: Likewise.
29040 * include/stdlib.h: Likewise.
29041 * include/string.h: Likewise.
29042 * include/sys/socket.h: Likewise.
29043 * include/sys/stat.h: Likewise.
29044 * include/sys/statfs.h: Likewise.
29045 * include/sys/statvfs.h: Likewise.
29046 * include/sys/syslog.h: Likewise.
29047 * include/sys/time.h: Likewise.
29048 * include/sys/uio.h: Likewise.
29049 * include/time.h: Likewise.
29050 * include/unistd.h: Likewise.
29051 * include/utmp.h: Likewise.
29052 * include/wchar.h: Likewise.
29053 * include/wctype.h: Likewise.
29054 * inet/aliases.h: Likewise.
29055 * inet/arpa/inet.h: Likewise.
29056 * inet/netinet/ether.h: Likewise.
29057 * inet/netinet/in.h: Likewise.
29058 * intl/libintl.h: Likewise.
29059 * io/bits/fcntl2.h: Likewise.
29060 * io/fcntl.h: Likewise.
29061 * io/ftw.h: Likewise.
29062 * io/sys/poll.h: Likewise.
29063 * io/sys/stat.h: Likewise.
29064 * io/sys/statfs.h: Likewise.
29065 * io/sys/statvfs.h: Likewise.
29066 * io/utime.h: Likewise.
29067 * libio/bits/stdio.h: Likewise.
29068 * libio/bits/stdio2.h: Likewise.
29069 * libio/libio.h: Likewise.
29070 * libio/libioP.h: Likewise.
29071 * libio/stdio.h: Likewise.
29072 * locale/lc-ctype.c: Likewise.
29073 * locale/locale.h: Likewise.
29074 * login/utmp.h: Likewise.
29075 * malloc/arena.c: Likewise.
29076 * malloc/malloc.c: Likewise.
29077 * malloc/malloc.h: Likewise.
29078 * malloc/mcheck.c: Likewise.
29079 * malloc/mtrace.c: Likewise.
29080 * math/bits/mathcalls.h: Likewise.
29081 * math/fenv.h: Likewise.
29082 * math/math_private.h: Likewise.
29083 * misc/bits/error.h: Likewise.
29084 * misc/bits/syslog.h: Likewise.
29085 * misc/err.h: Likewise.
29086 * misc/error.h: Likewise.
29087 * misc/fstab.h: Likewise.
29088 * misc/mntent.h: Likewise.
29089 * misc/regexp.h: Likewise.
29090 * misc/search.h: Likewise.
29091 * misc/sgtty.h: Likewise.
29092 * misc/sys/mman.h: Likewise.
29093 * misc/sys/syslog.h: Likewise.
29094 * misc/sys/uio.h: Likewise.
29095 * misc/sys/xattr.h: Likewise.
29096 * misc/ttyent.h: Likewise.
29097 * nis/rpcsvc/ypclnt.h: Likewise.
29098 * nss/nss.h: Likewise.
29099 * posix/bits/unistd.h: Likewise.
29100 * posix/fnmatch.h: Likewise.
29101 * posix/glob.h: Likewise.
29102 * posix/sched.h: Likewise.
29103 * posix/spawn.h: Likewise.
29104 * posix/sys/wait.h: Likewise.
29105 * posix/unistd.h: Likewise.
29106 * posix/wordexp.h: Likewise.
29107 * pwd/pwd.h: Likewise.
29108 * resolv/netdb.h: Likewise.
29109 * resource/sys/resource.h: Likewise.
29110 * rt/aio.h: Likewise.
29111 * rt/bits/mqueue2.h: Likewise.
29112 * rt/mqueue.h: Likewise.
29113 * shadow/shadow.h: Likewise.
29114 * signal/signal.h: Likewise.
29115 * socket/send.c: Likewise.
29116 * socket/sendto.c: Likewise.
29117 * socket/sys/socket.h: Likewise.
29118 * stdio-common/printf.h: Likewise.
29119 * stdlib/bits/stdlib.h: Likewise.
29120 * stdlib/fmtmsg.h: Likewise.
29121 * stdlib/monetary.h: Likewise.
29122 * stdlib/stdlib.h: Likewise.
29123 * stdlib/ucontext.h: Likewise.
29124 * streams/stropts.h: Likewise.
29125 * string/argz.h: Likewise.
29126 * string/bits/string2.h: Likewise.
29127 * string/string.h: Likewise.
29128 * string/strings.h: Likewise.
29129 * sunrpc/rpc/auth.h: Likewise.
29130 * sunrpc/rpc/auth_des.h: Likewise.
29131 * sunrpc/rpc/clnt.h: Likewise.
29132 * sunrpc/rpc/netdb.h: Likewise.
29133 * sunrpc/rpc/pmap_clnt.h: Likewise.
29134 * sunrpc/rpc/xdr.h: Likewise.
29135 * sysdeps/generic/inttypes.h: Likewise.
29136 * sysdeps/generic/net/if.h: Likewise.
29137 * sysdeps/generic/sys/swap.h: Likewise.
29138 * sysdeps/gnu/net/if.h: Likewise.
29139 * sysdeps/gnu/utmpx.h: Likewise.
29140 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29141 * sysdeps/i386/i486/bits/string.h: Likewise.
29142 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29143 * sysdeps/s390/bits/string.h: Likewise.
29144 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29145 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29146 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29147 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29148 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29149 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29150 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29151 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29152 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29153 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29154 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29155 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29156 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29157 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29158 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29159 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29160 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29162 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29163 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29164 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29165 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29166 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29167 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29168 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29169 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29170 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29171 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29172 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29173 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29174 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29175 * sysvipc/sys/ipc.h: Likewise.
29176 * sysvipc/sys/msg.h: Likewise.
29177 * sysvipc/sys/sem.h: Likewise.
29178 * sysvipc/sys/shm.h: Likewise.
29179 * termios/termios.h: Likewise.
29180 * time/sys/time.h: Likewise.
29181 * time/time.h: Likewise.
29182 * wcsmbs/bits/wchar2.h: Likewise.
29183 * wcsmbs/uchar.h: Likewise.
29184 * wcsmbs/wchar.h: Likewise.
29185 * wctype/wctype.h: Likewise.
29186
0269750c
UD
29187 [BZ #13551]
29188 * Makeconfig: Remove all but ELF support including AIX support.
29189 * Makerules: Likewise.
29190 * config.h.in: Likewise.
29191 * config.make.in: Likewise.
29192 * configure: Likewise.
29193 * configure.in: Likewise.
29194 * csu/Makefile: Likewise.
29195 * csu/version.c: Likewise.
29196 * debug/Makefile: Likewise.
29197 * dlfcn/Makefile: Likewise.
29198 * elf/Makefile: Likewise.
29199 * extra-lib.mk: Likewise.
29200 * iconv/Makefile: Likewise.
29201 * include/libc-symbols.h: Likewise.
29202 * include/shlib-compat.h: Likewise.
29203 * resolv/Makefile: Likewise.
29204 * resolv/res_libc.c: Likewise.
29205 * rt/Makefile: Likewise.
29206 * sysdeps/i386/asm-syntax.h: Likewise.
29207 * sysdeps/i386/sysdep.h: Likewise.
29208 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29209 * sysdeps/mach/sysdep.h: Likewise.
29210 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29211 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29212 * sysdeps/s390/asm-syntax.h: Likewise.
29213 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29214 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29215 * sysdeps/sh/sysdep.h: Likewise.
29216 * sysdeps/unix/sparc/sysdep.h: Likewise.
29217 * sysdeps/wordsize-32/divdi3.c: Likewise.
29218 * sysdeps/x86_64/sysdep.h: Likewise.
29219
00bbd29b
UD
29220 * argp/Versions: Remove _argp_unlock_xxx.
29221
29222 [BZ #13559]
29223 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29224 * abilist/libBrokenLocale.abilist: Likewise.
29225 * abilist/libanl.abilist: Likewise.
29226 * abilist/libc.abilist: Likewise.
29227 * abilist/libcrypt.abilist: Likewise.
29228 * abilist/libdl.abilist: Likewise.
29229 * abilist/libm.abilist: Likewise.
29230 * abilist/libnsl.abilist: Likewise.
29231 * abilist/libpthread.abilist: Likewise.
29232 * abilist/libresolv.abilist: Likewise.
29233 * abilist/librt.abilist: Likewise.
29234 * abilist/libthread_db.abilist: Likewise.
29235 * abilist/libutil.abilist: Likewise.
29236 * abilist/libnss_db.abilist: New file.
29237
29238 * scripts/abilist.awk: Add support for indirect functions.
29239
a2693a0e
UD
29240 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29241
3f05895f
UD
29242 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29243
ecb6fb48
UD
29244 * shlib-versions: Remove entries for ports architectures.
29245
664f8cb9
UD
29246 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29247 files in ports.
29248 * elf/stackguard-macros.h: Remove support for IA-64.
29249 * elf/tst-auditmod1.c: Likewise.
29250 * sysdeps/generic/ldsodefs.h: Likewise.
29251
7ae81d88
UD
29252 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29253 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29254 configure files.
29255
bdeba135
UD
29256 [BZ #13552]
29257 * configure.in: Remove --enable-omitfp support.
29258 * FAQ.in: Adjust.
29259 * config.make.in: Likewise.
29260 * Makeconfig: Likewise.
29261 * manual/install.texi: Likewise.
29262
d75a0a62
UD
29263 In case anyone cares, the IA-64 architecture could move to ports.
29264 * sysdeps/ia64/*: Removed.
29265 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29266 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29267
dcc9756b
UD
29268 [BZ #13555]
29269 * configure.in: Remove entries for unsupported architectures.
29270
d3761ebc 29271 [BZ #13533]
9954432e
UD
29272 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29273 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29274 routines.
29275 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29276 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29277 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29278 fall back to using wcrtomb.
29279 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29280 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29281 renaming.
29282 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29283 * wcsmbs/tst-c16c32-1.c: New file.
29284
29285 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29286 local variable.
29287
c3a87236
UD
29288 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29289
28926a1b
UD
29290 * elf/tst-unique3.cc: Add explicit declaration of gets.
29291 * elf/tst-unique3lib.cc: Likewise.
29292 * elf/tst-unique3lib2.cc: Likewise.
29293 * elf/tst-unique4.cc: Likewise.
29294
df78418a
UD
29295 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29296
8ecd6b2a
JM
292972012-01-06 Joseph Myers <joseph@codesourcery.com>
29298
29299 [BZ #13566]
29300 * assert/assert.h (static_assert): Don't define for C++.
29301 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29302 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29303
9f115170
UD
293042012-01-03 Ulrich Drepper <drepper@gmail.com>
29305
5e0d0300
UD
29306 * iconv/loop.c (single loop): Fix assertion in storing of
29307 remaining bytes.
29308
9f115170
UD
29309 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29310
81fb02b0
UD
293112012-01-01 Ulrich Drepper <drepper@gmail.com>
29312
29313 * posix/getconf.c: Update copyright year.
29314 * nss/getent.c: Likewise.
a316c1f6 29315 * nss/makedb.c: Likewise.
81fb02b0
UD
29316 * iconv/iconvconfig.c: Likewise.
29317 * iconv/iconv_prog.c: Likewise.
29318 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29319 * elf/pldd.c: Likewise.
29320 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29321 * catgets/gencat.c: Likewise.
29322 * csu/version.c: Likewise.
29323 * elf/ldd.bash.in: Likewise.
29324 * elf/sprof.c (print_version): Likewise.
29325 * locale/programs/locale.c: Likewise.
29326 * locale/programs/localedef.c: Likewise.
a316c1f6 29327 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29328 * nscd/nscd.c (print_version): Likewise.
29329 * debug/xtrace.sh: Likewise.
29330 * malloc/memusage.sh: Likewise.
29331 * malloc/mtrace.pl: Likewise.
29332 * debug/catchsegv.sh: Likewise.
29333
2ba92745
JJ
293342011-12-30 Jakub Jelinek <jakub@redhat.com>
29335
29336 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29337 pure attribute.
29338
dadebdae
UD
293392011-12-24 Ulrich Drepper <drepper@gmail.com>
29340
d3761ebc 29341 [BZ #13533]
db6af3eb
UD
29342 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29343 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29344 transformations.
29345 * iconv/gconv_int.h: Likewise.
29346 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29347 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29348 from libc for GLIBC_2.16.
29349 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29350 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29351 * wcsmbs/uchar.h: Really define mbstate_t.
29352 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29353 * wcsmbs/c16rtomb.c: New file.
29354 * wcsmbs/mbrtoc16.c: New file.
29355 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29356 for C/POSIX locale.
29357 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29358 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29359
dadebdae
UD
29360 * wcsmbs/wchar.h: Add missing __restrict.
29361
67371b56
UD
293622011-12-23 Ulrich Drepper <drepper@gmail.com>
29363
74033a25
UD
29364 [BZ #13532]
29365 * time/Makefile (routines): Add timespec_get.
29366 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29367 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29368 timespec for ISO C11.
29369 * time/timespec_get.c: New file.
29370 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29371 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29372
380d7e87
UD
29373 [BZ #13531]
29374 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29375 * stdlib/stdlib.h: Declare aligned_alloc.
29376 * Versions.def: Add GLIBC_2.16 for libc.
29377 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29378
4e9e7a35
UD
29379 [BZ 13527]
29380 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29381 ISO C11.
29382
380d7e87 29383 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29384 code.
29385
03a71829
UD
29386 [BZ #13528]
29387 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29388
839e283e
UD
29389 [BZ #13529]
29390 * assert/assert.h (static_assert): Define.
29391
ce5294e2 29392 * version.h: Update for 2.16 development version.
90fa7312 29393
8d44e150 29394 [BZ #13526]
d7809905
UD
29395 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29396 _ISOC11_SOURCE.
29397
c0da14cd
UD
29398 * version.h (RELEASE): Bump for 2.15 release.
29399 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29400
530a3249
MP
29401 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29402 Patch by Marek Polacek <mpolacek@redhat.com>.
29403
67371b56
UD
29404 * bits/byteswap.h: Protect long long constants with __extension__.
29405 * sysdeps/i386/bits/byteswap.h: Likewise.
29406 * sysdeps/ia64/bits/byteswap.h: Likewise.
29407 * sysdeps/s390/bits/byteswap.h: Likewise.
29408 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29409
15db4de1
LD
294102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29411
29412 [BZ #13540]
bbe315ea
LD
29413 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29414 destination buffer.
15db4de1
LD
29415 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29416
2b2596b1
MP
294172011-12-23 Marek Polacek <polacek@redhat.com>
29418
29419 * elf/dl-addr.c (determine_info): Add inline keyword.
29420 * elf/tst-auditmod4b.c (check_avx): Likewise.
29421 * elf/tst-auditmod6b.c (check_avx): Likewise.
29422 * elf/tst-auditmod6c.c (check_avx): Likewise.
29423 * elf/tst-auditmod7b.c (check_avx): Likewise.
29424
70c6c246
UD
294252011-12-23 Ulrich Drepper <drepper@gmail.com>
29426
29427 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29428 !__SSE_MATH__.
29429
c044cf14
LD
294302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29431
15db4de1 29432 [BZ #13540]
c044cf14
LD
29433 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29434 processing for last bytes.
29435
6b13d9d9
BH
294362011-08-06 Bruno Haible <bruno@clisp.org>
29437
d455f537
BH
29438 [BZ #13061]
29439 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29440 U+0385, not to U+1FEE.
29441
6b13d9d9
BH
29442 [BZ #13062]
29443 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29444 entry for U+00A5 U+0301.
29445
db910efd
UD
294462011-12-22 Ulrich Drepper <drepper@gmail.com>
29447
27deeafc
UD
29448 [BZ #13166]
29449 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29450 buffer for the output is too small.
29451
aed9d171
UD
29452 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29453 optimization.
29454
db910efd
UD
29455 [BZ #13185]
29456 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29457 SSE flags if possible.
29458
2bd779ae
LD
294592011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29460
e7f9dac3 29461 [BZ #13540]
2bd779ae
LD
29462 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29463 processing for last bytes.
29464
154bfc16
JM
294652011-12-22 Joseph Myers <joseph@codesourcery.com>
29466
29467 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29468 (syscall-list-default-options, syscall-list-default-condition)
29469 (syscall-list-includes): Define.
29470 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29471 list of ABIs and options and #if conditions for each ABI. Do not
29472 handle common syscalls between ABIs specially.
29473 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29474 Remove.
29475 (syscall-list-variants, syscall-list-32bit-options)
29476 (syscall-list-32bit-condition, syscall-list-64bit-options)
29477 (syscall-list-64bit-condition): Define.
29478 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29479 (syscall-list-variants, syscall-list-32bit-options)
29480 (syscall-list-32bit-condition, syscall-list-64bit-options)
29481 (syscall-list-64bit-condition): Define.
29482 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29483 Remove.
29484 (syscall-list-variants, syscall-list-32bit-options)
29485 (syscall-list-32bit-condition, syscall-list-64bit-options)
29486 (syscall-list-64bit-condition): Define.
29487 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29488 Remove.
29489 (syscall-list-variants, syscall-list-32bit-options)
29490 (syscall-list-32bit-condition, syscall-list-64bit-options)
29491 (syscall-list-64bit-condition): Define.
29492
21eaf3a5
UD
294932011-12-22 Ulrich Drepper <drepper@gmail.com>
29494
16c6f992
UD
29495 * locale/iso-639.def: Add brx entry.
29496
41043168
UD
29497 [BZ #13328]
29498 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29499 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29500
21eaf3a5
UD
29501 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29502 __feraiseexcept_renamed.
29503
e3a851a2
UD
295042011-12-21 Ulrich Drepper <drepper@gmail.com>
29505
4920765e
UD
29506 [BZ #13538]
29507 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29508 EPOLLET with unsigned values.
29509 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29510 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29511
e3a851a2
UD
29512 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29513 to large cancellation.
29514 * math/s_cacoshf.c: Likewise.
29515 * math/s_cacoshl.c: Likewise.
29516
b27e24b8
RK
295172011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29518
29519 [BZ #13305]
aebefeee 29520 [BZ #12786]
b27e24b8
RK
29521 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29522 * math/s_cacoshf.c: Likewise.
29523 * math/s_cacoshl.c: Likewise.
29524
ee190f67
UD
295252011-12-21 Ulrich Drepper <drepper@gmail.com>
29526
29527 [BZ #13439]
29528 * iconv/gconv.h: Define __GCONV_SWAP.
29529 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29530 * iconvdata/utf-16.c: Likewise.
29531 * iconvdata/utf-32.c: Likewise.
29532
707f25df
AS
295332011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29534
29535 [BZ #13524]
29536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29537 numerator after shifting it by one limb.
29538
d2daaa1e
RÁE
295392011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29540
29541 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29542 under [__USE_EXTERN_INLINES].
29543
a4647e72
UD
295442011-12-17 Ulrich Drepper <drepper@gmail.com>
29545
29546 [BZ #13446]
29547 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29548
f0b264f1
AZ
295492011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29550
29551 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29552 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29553 optimized code.
29554 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29555 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29556 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29557 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29558 for strncasecmp/strncasecmp_l compilation.
29559 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29560 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29561
8ef4f244
MP
295622011-12-08 Marek Polacek <mpolacek@redhat.com>
29563
29564 [BZ #13484]
29565 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29566 of __asm__.
29567
97ac2654
UD
295682011-12-17 Ulrich Drepper <drepper@gmail.com>
29569
29570 [BZ #13506]
29571 * time/tzfile.c (__tzfile_read): Check values from file header.
29572
91d2a845
WS
295732011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29574
29575 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29576 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29577 * powerpc/powerpc32/dl-start.S: Likewise.
29578 * powerpc/powerpc32/elf/start.S: Likewise.
29579 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29580 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29581 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29582 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29583 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29584 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29585 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29586 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29587 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29588 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29589 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29590 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29591 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29592 * powerpc/powerpc32/memset.S: Likewise.
29593 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29594 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29595 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29596 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29597 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29598 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29599 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29600 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29601 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29602 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29603 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29604 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29605 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29606
a1267ba1
AZ
296072011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29608
29609 * math/libm-test.inc: Added more nearbyint tests.
29610 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29611 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29612 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29613 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29614
ad8ac1bd
RL
296152011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29616
29617 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29618 FD_CLOEXEC.
29619
1d3e4b61
UD
296202011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29621
29622 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29623 Add wcscpy-ssse3 wcscpy-c.
29624 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29625 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29626 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29627 * sysdeps/x86_64/wcschr.S: New file.
29628 * sysdeps/x86_64/wcsrchr.S: New file.
29629 * string/test-strcmp.c: Remove checking of wcscmp function for
29630 wrong alignments.
29631 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29632 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29633 wcsrchr-sse2 wcsrchr-c.
29634 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29635 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29636 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29637 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29638 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29639 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29640 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29641 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29642 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29643 * wcsmbc/wcschr.c (WCSCHR): New macro.
29644
5b330a2d
UD
296452011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29646
29647 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29648 * wcsmbs/test-wcsrchr.c: New file.
29649 * string/test-strrchr.c: Add wcsrchr support.
29650 (WIDE): New macro.
29651 * wcsmbs/test-wcscpy.c: New file.
29652 * string/test-strcpy.c: Add wcscpy support.
29653 (WIDE): New macro.
26428b7c 29654
f039c043
UD
296552011-12-10 Ulrich Drepper <drepper@gmail.com>
29656
29657 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29658 the inner loop.
29659
850fb039
AS
296602011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29661
29662 [BZ #13472]
29663 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29664
4efbd5cb
UD
296652011-12-04 Ulrich Drepper <drepper@gmail.com>
29666
52ff5dd0 29667 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29668 Minor optimizations.
52ff5dd0 29669
4efbd5cb
UD
29670 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29671 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29672 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29673
8a426e12
UD
296742011-12-03 Ulrich Drepper <drepper@gmail.com>
29675
aff2453d
UD
29676 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29677 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29678 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29679 for gcc to avoid warnings.
29680 * inet/Makefile (tests): Add tst-checks.
29681 * inet/tst-checks.c: New file.
29682
29683 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29684 warning.
29685
29686 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29687 __wmemcmp_sse2.
29688
29689 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29690 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29691
8a426e12
UD
29692 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29693
9bea3473
UD
296942011-12-02 Ulrich Drepper <drepper@gmail.com>
29695
3a965496
UD
29696 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29697 problem.
29698
9bea3473
UD
29699 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29700
f101631b
UD
297012011-11-29 Joseph Myers <joseph@codesourcery.com>
29702
29703 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29704 conditional on GCC version.
29705 (__arch_compare_and_exchange_val_8_acq)
29706 (__arch_compare_and_exchange_val_16_acq)
29707 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29708 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29709 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29710
a98275aa
UD
297112011-12-02 Joseph Myers <joseph@codesourcery.com>
29712
29713 * sysdeps/sh/backtrace.c: New file.
29714
d4cc29a2
AS
297152011-12-02 Andreas Schwab <schwab@redhat.com>
29716
29717 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29718 parenthesis.
29719
6257af2d
AS
297202011-12-01 Andreas Schwab <schwab@redhat.com>
29721
29722 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29723 falling back to utime.
29724
b5f44c1a
AS
297252011-11-30 Andreas Schwab <schwab@redhat.com>
29726
29727 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29728 expectations for float.
29729
f3a6cc0a
AS
297302011-11-29 Andreas Schwab <schwab@redhat.com>
29731
29732 * locale/weight.h (findidx): Add parameter len.
29733 * locale/weightwc.h (findidx): Likewise.
29734 * posix/fnmatch_loop.c (FCT): Adjust caller.
29735 * posix/regcomp.c (build_equiv_class): Likewise.
29736 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29737 * posix/regexec.c (check_node_accept_bytes): Likewise.
29738 * string/strcoll_l.c (STRCOLL): Likewise.
29739 * string/strxfrm_l.c (STRXFRM): Likewise.
29740
9d65ea3a
UD
297412011-11-17 Ulrich Drepper <drepper@gmail.com>
29742
29743 * Makefile.in: Remove CVSOPT handling.
29744 * configure.in: Remove use of AC_REVISION.
29745 * iconvdata/Makefile (distribute): No need to filter out CVS.
29746 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29747 handling.
29748
5583a086
AS
297492011-11-16 Andreas Schwab <schwab@redhat.com>
29750
29751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29752 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29753 [USE_AS_STRNCASECMP_L]: Likewise.
29754 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29755 NO_TLS_DIRECT_SEG_REFS.
29756 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29757 Fix argument offsets for non-PIC.
29758 [USE_AS_STRNCASECMP_L]: Likewise.
29759 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29760 NO_TLS_DIRECT_SEG_REFS.
29761
d62a8200
UD
297622011-11-15 Ulrich Drepper <drepper@gmail.com>
29763
9d65ea3a 29764 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29765 O_CLOEXEC.
29766 * locale/loadlocale.c (_nl_load_locale): Likewise.
29767
09f93bd3
AS
297682011-11-15 Andreas Schwab <schwab@redhat.com>
29769
446514f9
AS
29770 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29771 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29772 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29773 (SYSCALL_GETTIME): Set errno on error.
29774
09f93bd3
AS
29775 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29776 count references to noai6ai_cached.
29777
312be3f9
UD
297782011-11-15 Ulrich Drepper <drepper@gmail.com>
29779
29780 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29781
29782 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29783 FD_CLOEXEC for /proc/self/maps.
29784
29785 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29786 FD_CLOEXEC for /proc/meminfo.
29787
29788 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29789 gai.conf.
29790
29791 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29792 FD_CLOEXEC for given file.
29793
29794 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29795
29796 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29797 FD_CLOEXEC for /etc/hosts.
29798 (_gethtent): Likewise.
29799
29800 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29801
29802 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29803 cancellation and set FD_CLOEXEC for /etc/netgroup.
29804
29805 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29806 reading /etc/publickey.
29807
29808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29809 allow cancellation when reading /etc/group.
29810
29811 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29812 cancellation.
29813 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29814
29815 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29816 when using data file.
29817
29818 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29819
29820 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29821 (write_nis_obj): Use "c" and "e" in fopen.
29822
29823 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29824
29825 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29826
29827 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29828
29829 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29830
29831 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29832 locale.alias.
29833
29834 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29835
29836 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29837
29838 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29839
29840 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29841 file parsing and set FD_CLOEXEC.
29842
82af0fa8
UD
298432011-11-14 Ulrich Drepper <drepper@gmail.com>
29844
29845 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29846
a5fb313c
AS
298472011-11-14 Andreas Schwab <schwab@redhat.com>
29848
29849 * malloc/arena.c (arena_get2): Don't call reused_arena when
29850 _int_new_arena failed.
29851
6abf3465
UD
298522011-11-14 Ulrich Drepper <drepper@gmail.com>
29853
29854 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29855 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29856 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29857 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29858 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29859 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29860 to compile strcasecmp and strncasecmp.
29861 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29862 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29863
29864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29865
76e3966e
UD
298662011-11-13 Ulrich Drepper <drepper@gmail.com>
29867
29868 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29869 locale-defines.sym to gen-as-const-headers.
29870 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29871 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29873 to compile strcasecmp and strncasecmp.
29874 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29875 strcasecmp_l and strncasecmp_l.
29876 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29877 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29878 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29879 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29880 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29881 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29882 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29883 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29884 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29885 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29886 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29887
ab26144e
UD
298882011-11-12 Ulrich Drepper <drepper@gmail.com>
29889
7edb22ef
UD
29890 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29891 result of SYSDEP_GETTIME_CPU to retval.
29892 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29893 parameter list to macro. Remove trailing semicolon. Adjust users.
29894
9694fc44
UD
29895 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29896 variable.
29897
8ad89ef8
UD
29898 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29899 mantissa words.
29900 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29901
0c822ef9
UD
29902 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29903 from unused variable.
29904
874e0564
UD
29905 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29906 DWARF definitions.
29907 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29908 for assembling.
29909
3a2edc79
UD
29910 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29911 over namespaces.
29912
f3c2577f
UD
29913 * sunrpc/rpc_prot.c (rejected): Fix case value.
29914
294ce126
UD
29915 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29916 unsigned long long int to avoid warnings in shift.
29917
5e2b63c6
UD
29918 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29919 of use of trans.
29920 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29921 variable tmp.
29922
e7f4b08e
UD
29923 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29924 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29925 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29926
ab26144e
UD
29927 * nis/nis_table.c (nis_list): Use variable of correct type for
29928 result of __follow_path call.
29929
8a6d5255
AZ
299302011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29931
29932 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29933 of math functions ceil, trunc, floor, round, and sqrt, when
29934 avaliable on the platform.
29935 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29936 name clash.
29937 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29938 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29939 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29940
aaddc98c
MP
299412011-10-30 Marek Polacek <mpolacek@redhat.com>
29942
29943 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29944 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29945
95b7042b
RM
299462011-11-11 Roland McGrath <roland@hack.frob.com>
29947
29948 * include/unistd.h: Fix __readlink return type.
29949 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29950
57769839
UD
299512011-11-11 Ulrich Drepper <drepper@gmail.com>
29952
29953 * stdlib/ucontext.h: Undo last change for makecontext.
29954
edc5984d
AS
299552011-11-11 Andreas Schwab <schwab@redhat.com>
29956
98591e58
AS
29957 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29958
edc5984d
AS
29959 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29960 * setjmp/setjmp.h: Mark functions as non-leaf.
29961 * setjmp/bits/setjmp2.h: Likewise.
29962 * stdlib/ucontext.h: Likewise.
29963
77cdc054
AS
299642011-11-10 Andreas Schwab <schwab@redhat.com>
29965
29966 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29967 (reused_arena): Don't check arena limit.
29968 (arena_get2): Atomically check arena limit.
29969
fe72eebd
UD
299702011-11-08 Ulrich Drepper <drepper@gmail.com>
29971
5f078c32
UD
29972 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29973 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29974
fe72eebd
UD
29975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29976 instructions.
29977
ae1bc2fa
AS
299782011-11-07 Andreas Schwab <schwab@redhat.com>
29979
7583a88d
AS
29980 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29981 handler when locking.
29982
ae1bc2fa
AS
29983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29984 Fix size of allocated buffer.
29985
10fb0bfa
AS
299862011-11-04 Andreas Schwab <schwab@redhat.com>
29987
998832a4
AS
29988 [BZ #10103]
29989 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29990 declarations for long double functions.
29991 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29992
10fb0bfa
AS
29993 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29994
3d7ba52b
AS
299952011-11-03 Andreas Schwab <schwab@redhat.com>
29996
a9ae54a1
AS
29997 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29998 installed.
29999
3d7ba52b
AS
30000 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30001 is disabled.
30002
bc8db248
ST
300032011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30004
30005 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30006
45b96dd6
AS
300072011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30008
647776f6
AS
30009 * include/alloca.h (stackinfo_alloca_round): Define.
30010 (extend_alloca): Use it.
30011 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30012 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30013 here.
30014
d91a8b93
AS
30015 * scripts/check-local-headers.sh: Ignore libaudit.h.
30016
45b96dd6
AS
30017 * nscd/Makefile (extra-objs): Make recursively expanded.
30018
432d41ce
UD
300192011-11-01 Ulrich Drepper <drepper@gmail.com>
30020
34372fc6
UD
30021 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30022 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30023
fadb59f8
UD
30024 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30025 * posix/tst-rfc3484-2.c: Likewise.
30026 * posix/tst-rfc3484-3.c: Likewise.
30027
78239589
UD
30028 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30029 process_vm_writev.
30030 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30031 process_vm_writev.
30032 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30033 process_vm_writev from libc using GLIBC_2.15 version.
30034
432d41ce
UD
30035 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30036
02f9c6cf
PP
300372011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30038
30039 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30040 stack usage.
30041
3a2c0242
UD
300422011-10-31 Ulrich Drepper <drepper@gmail.com>
30043
f4ec4833
UD
30044 [BZ #13367]
30045 * nss/getent.c (initgroups_keys): Show error message in case no group
30046 names are given.
30047
3a2c0242
UD
30048 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30049 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30050 __bump_nl_timestamp.
30051 * nscd/connections (nscd_init): When host database is served open
30052 netlink socket and request notification about configuration changes.
30053 (main_loop_poll): Track netlink file descriptor and bump timestamp
30054 in case data becomes available.
30055 (main_loop_epoll): Likewise.
30056 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30057 (database_pers_head): Add extra_data fileds.
30058 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30059 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30060 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30061 Adjust caller.
30062 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30063 in6ai data, call __free_in6ai.
30064 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30065 Add -DHAVE_NETLINK.
30066 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30067 interface information. Reuse previous data if netlink timestamp
30068 is not changed.
30069 (__bump_nl_timestamp): New function.
30070 (__free_in6ai): New function.
30071
636064eb
UD
300722011-10-30 Ulrich Drepper <drepper@gmail.com>
30073
30074 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30075 close_not_cancel_no_status here.
30076 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30077
9beb2334
UD
300782011-10-29 Ulrich Drepper <drepper@gmail.com>
30079
6ef76f3b
UD
30080 [BZ #13276]
30081 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30082 return value.
30083
0ffc4f3e 30084 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30085 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30086 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30087
cb95113e
UD
300882011-07-03 Andreas Jaeger <aj@suse.de>
30089
30090 [BZ #10709]
30091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30092 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30093 * math/libm-test.inc (sin_test): Add test case.
30094
a1b560ff
UD
300952011-10-29 Ulrich Drepper <drepper@gmail.com>
30096
c9aaface
UD
30097 [BZ #13337]
30098 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30099 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30100
d272e7f1
UD
30101 * elf/chroot_canon.c (chroot_canon): Cleanups.
30102
1bc33071
UD
30103 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30104
1760874d
TJ
30105 [BZ #13335]
30106 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30107 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30108
51d91b18
UD
30109 * string/test-strchr.c: Make usable for strchrnul testing.
30110 * string/test-strchrnul.c: New file.
30111 * string/Makefile (strop-tests): Add strchrnul.
30112
a1b560ff 30113 * po/it.po: Update from translation team.
b611fb81 30114 * po/es.po: Likewise.
a1b560ff 30115
a5b81e1f
UD
301162011-10-28 Ulrich Drepper <drepper@gmail.com>
30117
fd52bc6d
UD
30118 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30119 the three constants needed as parameters. Drop the others.
30120 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30121 __m128i_strloadu_tolower.
52e4b9eb
UD
30122 Create and initialize variable zero and use it in all the places
30123 where _mm_setzero_si128 was used.
fd52bc6d 30124
a5b81e1f
UD
30125 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30126 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30127 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30128 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30129 anymore.
30130 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30131 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30132 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30133 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30134 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30135 __mpranred, __mptan.
30136 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30137 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30138 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30139 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30140 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30141 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30142 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30143 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30144 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30145
b4343346
AS
301462011-10-28 Andreas Schwab <schwab@redhat.com>
30147
0c92d8a8
AS
30148 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30149 redefine if SHARED.
30150 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30151
b4343346
AS
30152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30153 wide char related routines to wcsmbs subdir.
30154
3871f58f
AS
301552011-10-27 Andreas Schwab <schwab@redhat.com>
30156
30157 [BZ #13344]
30158 * misc/sys/cdefs.h (__THROWNL): Define.
30159 * posix/unistd.h: Use __THREADNL instead of __THREAD
30160 for memory synchronization functions.
30161
94d44d9f
RM
301622011-10-26 Roland McGrath <roland@hack.frob.com>
30163
21b64b15 30164 [BZ #13349]
94d44d9f
RM
30165 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30166 doesn't exist.
30167 * manual/stdio.texi (Obstack Streams): Node removed.
30168
f6ce9294
AS
301692011-10-26 Andreas Schwab <schwab@redhat.com>
30170
80479147
AS
30171 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30173 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30174
f6ce9294
AS
30175 * math/math_private.h (math_force_eval): Allow non-addressable
30176 arguments.
30177 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30178
618280a1
UD
301792011-10-25 Ulrich Drepper <drepper@gmail.com>
30180
e0016b11
UD
30181 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30182 file is not needed.
30183
30184 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30185 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30186 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30187 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30188 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30190 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30191 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30192 Add AVX variants.
30193 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30194 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30195 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30196 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30197 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30198 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30199 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30200 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30201 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30202 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30203 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30204 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30205 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30206 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30207 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30208 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30209 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30210 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30211 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30212
30213 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30214 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30215
618280a1
UD
30216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30217 place. Use VEX encoding when compiling for AVX.
30218
37822576
AS
302192011-10-25 Andreas Schwab <schwab@redhat.com>
30220
1f1e1947
AS
30221 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30222 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30223
37822576
AS
30224 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30225
31ea014d
UD
302262011-10-25 Ulrich Drepper <drepper@gmail.com>
30227
d7826aa1 30228 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30229 useless if() expression.
d7826aa1
UD
30230 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30235 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30236 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30237 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30238 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30239 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30240 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30241 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30242 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30243 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30244 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30245 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30246 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30247 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30248 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30249
31ea014d
UD
30250 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30251
16437fec
AS
302522011-10-25 Andreas Schwab <schwab@redhat.com>
30253
30254 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30255 condition.
30256 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30257
31d3cc00
UD
302582011-10-25 Ulrich Drepper <drepper@gmail.com>
30259
30260 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30261 .text section. Avoid duplicate constants.
30262 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30264 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30266 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30268 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30269 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30270 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30271 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30272 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30273 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30274 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30275 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30276 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30277 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30278 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30279 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30280 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30281 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30282 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30283 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30284 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30285 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30286 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30287 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30288 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30289 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30290 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30291 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30292 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30293 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30294 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30295 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30296 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30297 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30298 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30300 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30301 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30302 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30303 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30304 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30305 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30306 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30307
58985aa9
UD
303082011-10-24 Ulrich Drepper <drepper@gmail.com>
30309
202c9deb
UD
30310 * sysdeps/x86_64/dla.h: Move to ...
30311 * sysdeps/x86_64/fpu/dla.h: ...here.
30312 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30313 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30314
af968f62
UD
30315 * config.make.in: Add have-mfma4 entry.
30316 * configure.in: Substitute libc_cv_cc_fma4.
30317 * math/Makefile (dbl-only-routines): Add sincostab.
30318 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30319 Use __sincostab not sincos.
30320 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30321 name is a macro.
30322 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30326 using __copysign.
30327 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30328 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30329 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30330 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30331 and __inv.
30332 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30333 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30334 __copysign.
30335 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30336 define aliases when function name is a macro.
30337 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30338 sysdeps/ieee754/dbl-64/sincos.tbl.
30339 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30340 fma4-enabled routines.
30341 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30342 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30343 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30344 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30345 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30346 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30347 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30348 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30349 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30350 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30351 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30352 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30353 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30354 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30355 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30356 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30357 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30358 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30359 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30360 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30361 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30362 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30363 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30364 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30365 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30366 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30367 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30368 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30369 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30370 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30371
58985aa9
UD
30372 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30373 rename.
30374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30382
a201fbcf
AS
303832011-10-24 Andreas Schwab <schwab@redhat.com>
30384
30385 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30386
fc2ee42a
LD
303872011-10-23 Ulrich Drepper <drepper@gmail.com>
30388
bb3129bd
UD
30389 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30390
0275fff8
UD
30391 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30392 prediction.
30393 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30394
2fa2ae85
UD
30395 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30396 Remove unused variable magic_bits.
30397 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30398
fc2ee42a
LD
30399 * string/strnlen.c: Define and use STRNLEN macro.
30400 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30401 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30402 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30403 * wcsmbs/wcslen.c: Define and use WCSLEN.
30404 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30405 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30406 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30407 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30408 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30409 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30410 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30411
ce7dd29f
LD
304122011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30413
30414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30415 strnlen-sse2-no-bsf.
30416 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30418 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30419 Add strnlen support.
30420 (USE_AS_STRNLEN): New macro.
30421 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30422 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30423 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30424 * sysdeps/x86_64/wcslen.S: New file.
30425
979c70a3
MZ
304262011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30427
30428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30429 XMM-moves are used for copying on small sizes.
30430
2d09f82f
LD
304312011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30432
30433 * wcsmbs/Makefile (strop-tests): Add wcschr.
30434 * wcsmbs/test-wcschr.c: New file.
30435 * string/test-strchr.c: Update.
30436 Add wcschr support.
30437 (WIDE): New macro.
30438
619fccca
LD
304392011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30440
2d09f82f 30441 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30442 * wcsmbs/test-wcslen.c: New file.
30443 * string/test-strlen.c: Update.
30444 Add wcslen support.
30445 (WIDE): New macro.
30446
09f699ea
UD
304472011-10-23 Ulrich Drepper <drepper@gmail.com>
30448
30449 * po/it.po: Update from translation team.
30450
95584d3b
LD
304512011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30452
30453 * sysdeps/x86_64/wcscmp.S: Update.
30454 Fix wrong comparison semantics.
30455 wcscmp shall use signed comparison not unsigned.
30456 Don't use substraction to avoid overflow bug.
30457 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30458 * wcsmbc/wcscmp.c: Likewise.
30459 * string/test-strcmp.c: Likewise.
30460 Add new tests to check cases with negative values.
30461
c8b3296b
UD
304622011-10-23 Ulrich Drepper <drepper@gmail.com>
30463
30464 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30465 * sysdeps/x86_64/dla.h: ...here. New file.
30466 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30469 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30471 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30472 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30473 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30474 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30475
246ad57a
AS
304762011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30477
30478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30479 __ynl_finite aliases.
30480
a1a87169
UD
304812011-10-22 Ulrich Drepper <drepper@gmail.com>
30482
0d355eb7
UD
30483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30484
a1a87169
UD
30485 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30486 define DLA_FMA.
30487 [DLA_FMA] (EMULV): Use DLA_FMA.
30488 [DLA_FMA] (MUL12): Use EMULV.
30489 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30490 that are not needed.
30491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30493 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30498
ee2aafe0
AS
304992011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30500
30501 * math/s_nan.c: Undef __nan.
30502 * math/s_nanf.c: Undef __nanf.
30503 * math/s_nanl.c: Undef __nanl.
30504 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30505 "math_private.h".
30506
bc62c2fb
UD
305072011-10-22 Ulrich Drepper <drepper@gmail.com>
30508
77425c63
UD
30509 * math/s_catan.c: Add branch predictions.
30510 * math/s_catanf.c: Likewise.
30511 * math/s_catanh.c: Likewise.
30512 * math/s_catanhf.c: Likewise.
30513 * math/s_catanhl.c: Likewise.
30514 * math/s_catanl.c: Likewise.
30515 * math/s_cexp.c: Likewise.
30516 * math/s_cexpf.c: Likewise.
30517 * math/s_cexpl.c: Likewise.
30518 * math/s_clog.c: Likewise.
30519 * math/s_clog10.c: Likewise.
30520 * math/s_clog10f.c: Likewise.
30521 * math/s_clog10l.c: Likewise.
30522 * math/s_clogf.c: Likewise.
30523 * math/s_clogl.c: Likewise.
30524 * math/s_csqrt.c: Likewise.
30525 * math/s_csqrtf.c: Likewise.
30526 * math/s_csqrtl.c: Likewise.
30527 * math/s_ctanf.c: Likewise.
30528 * math/s_ctanh.c: Likewise.
30529 * math/s_ctanhf.c: Likewise.
30530 * math/s_ctanhl.c: Likewise.
30531 * math/s_ctanl.c: Likewise.
30532
bc62c2fb
UD
30533 * math/math_private.h: Define __nan, __nanf, __nanl.
30534 * math/s_cacosh.c: Include <math_private.h>.
30535 * math/s_cacoshl.c: Likewise.
30536 * math/s_casinh.c: Likewise.
30537 * math/s_casinhf.c: Likewise.
30538 * math/s_casinhl.c: Likewise.
30539 * math/s_ccos.c: Rely entire on ccosh.
30540 * math/s_ccosf.c: Rely entire on ccoshf.
30541 * math/s_ccosl.c: Rely entirely on ccoshl.
30542 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30543 Remove tests for FE_INVALID.
30544 * math/s_ccoshf.c: Likewise.
30545 * math/s_ccoshl.c: Likewise.
30546 * math/s_csin.c: Likewise.
30547 * math/s_csinf.c: Likewise.
30548 * math/s_csinh.c Likewise.
30549 * math/s_csinhf.c: Likewise.
30550 * math/s_csinhl.c: Likewise.
30551 * math/s_csinl.c: Likewise.
30552 * math/s_ctan.c: Likewise.
30553 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30554 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30555 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30556
8ec250a4
UD
305572011-10-21 Ulrich Drepper <drepper@gmail.com>
30558
c196fed8
UD
30559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30560 compilation problems.
30561
8ec250a4
UD
30562 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30563 __builtin_expect.
30564
8d4f46c6
UD
305652011-10-20 Ulrich Drepper <drepper@gmail.com>
30566
ed72b654
UD
30567 * sysdeps/i386/configure.in: Test for -mfma4 option.
30568 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30569 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30570 COMMON_CPUID_INDEX_80000001.
30571 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30572 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30573 use it if FMA3 is not supported.
30574 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30575
8d4f46c6
UD
30576 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30577 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30578
d45c60c2
AS
305792011-10-20 Andreas Schwab <schwab@redhat.com>
30580
30581 [BZ #12892]
30582 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30583 it would create a cycle with a link time dependency.
30584
d9a4d2ab
UD
305852011-10-19 Ulrich Drepper <drepper@gmail.com>
30586
855d1560
UD
30587 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30588 instruction.
30589 * string/Makefile (strop-tests): Add rawmemchr.
30590 * string/test-rawmemchr.c: New file.
30591
d9a4d2ab
UD
30592 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30594 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30595 when compiling str{,n}casecmp and when AVX is available. Hook up
30596 new optimized code in initializers.
30597
8f3b1ffe
AS
305982011-10-19 Andreas Schwab <schwab@redhat.com>
30599
30600 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30601 __feraiseexcept instead of feraiseexcept.
30602
d38f1dba
UD
306032011-10-18 Ulrich Drepper <drepper@gmail.com>
30604
d9a8d0ab
UD
30605 * math/math_private.h: Define defaults for libc_fetestexcept and
30606 libc_feupdateenv.
30607 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30608 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30609 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30610 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30611 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30612 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30613 libc_fetestexcept and libc_feupdateenv.
30614
4855e3dd
UD
30615 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30616 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30617 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30618 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30619 libc_feholdexcept_setround.
30620
581d30e3
UD
30621 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30622 Add s_nearbyint-c and s_nearbyintf-c.
30623 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30624 nearbyintf inlines.
30625 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30626 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30627 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30628 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30629
d38f1dba
UD
30630 * math/math_private.h: Define defaults for libc_fegetround,
30631 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30632 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30633 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30634 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30635 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30636 standard functions.
30637 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30638 Remove comments and hacks for old compiler versions.
30639 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30640 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30641 libc_feholdexceptl.
30642
caa6c9d8
AS
306432011-10-18 Andreas Schwab <schwab@redhat.com>
30644
30645 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30646 (__feraiseexcept_renamed): Add __NTH.
30647 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30648 namespace violations.
30649
97c066e6
UD
306502011-10-17 Ulrich Drepper <drepper@gmail.com>
30651
99ce7b04
UD
30652 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30653
1004d182
UD
30654 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30655
228a984d
UD
30656 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30657 recently added interfaces.
30658 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30659
c8553a6a
UD
30660 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30661 about macro parameter expansion.
30662
ed22dcf6
UD
30663 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30664 __NO_MATH_INLINES is defined. Cleanups.
30665
30666 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30667 and __floorf is target has SSE4.1.
30668 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30669 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30670 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30671 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30672
b171c137
UD
30673 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30674 name.
30675 (floorf): Likewise.
30676
97c066e6
UD
30677 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30678
629f62ef
AS
306792011-10-17 Andreas Schwab <schwab@redhat.com>
30680
49a43d80
AS
30681 * misc/sys/cdefs.h: Fix last change.
30682
629f62ef
AS
30683 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30684 database lookup.
30685
e453f6cd
UD
306862011-10-16 Ulrich Drepper <drepper@gmail.com>
30687
aa78043a
UD
30688 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30689
ad0f5cad
UD
30690 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30691 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30692 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30693 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30695 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30696 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30697 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30698 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30699 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30700 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30701 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30702 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30703 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30704 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30705 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30706 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30707 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30708 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30709 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30710 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30711 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30712
30713 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30714 ceil, ceilf, floor, floorf.
30715
30716 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30717 Perform IRELATIVE relocations last.
30718
e453f6cd
UD
30719 * elf/do-rel.h: Add another parameter nrelative, replacing the
30720 local variable with the same name. Change name of the function
30721 to end in Rel or Rela (uppercase).
30722 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30723 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30724 elf_dynamic_do_##reloc function.
30725
fd5bdc09
UD
307262011-10-15 Ulrich Drepper <drepper@gmail.com>
30727
79b195b5
UD
30728 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30729 is sufficient, at least on modern CPUs.
30730
d4a28569
UD
30731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30732
b61099b5
UD
30733 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30734 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30735
bcf01e6d
UD
30736 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30737 __expl_finite.
30738 * math/bits/math-finite.h: Add entries for exp.
30739 * math/e_expl.c: Add __*_finite alias.
30740 * sysdeps/i386/fpu/e_exp.S: Likewise.
30741 * sysdeps/i386/fpu/e_expf.S: Likewise.
30742 * sysdeps/i386/fpu/e_expl.c: Likewise.
30743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30744 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30747 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30748 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30749 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30750
ba1a0d59
UD
30751 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30752 is sufficient, at least on modern CPUs.
30753
fd5bdc09
UD
30754 * ctype/ctype-info.c (__ctype_init): Define.
30755 * include/ctype.h (__ctype_init): Declare.
30756 (__ctype_b_loc): The variable is always initialized.
30757 (__ctype_toupper_loc): Likewise.
30758 (__ctype_tolower_loc): Likewise.
30759 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30760 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30761
7872cfb0
AS
307622011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30763
b468825a
AS
30764 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30765
7872cfb0
AS
30766 * configure.in: Also look in $cxxmachine/include for C++ system
30767 headers.
30768
be13f7bf
LD
307692011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30770
30771 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30772 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30773 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30774 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30775 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30776 (USE_AS_WMEMCMP): New macro.
30777 Fixing indents.
30778 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30779 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30780 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30781 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30782 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30783 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30784 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30785 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30786 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30787 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30788 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30789 (USE_AS_WMEMCMP): New macro.
30790 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30791 * sysdeps/string/test-memcmp.c: Update.
30792 Fix simple_wmemcmp.
30793 Add new tests.
30794 * wcsmbs/wmemcmp.c: Update.
30795 (WMEMCMP): New macro.
30796 Fix overflow bug.
30797
556a2007
AJ
307982011-10-12 Andreas Jaeger <aj@suse.de>
30799
30800 [BZ #13268]
30801 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30802
538faaa7
UD
308032011-10-15 Ulrich Drepper <drepper@gmail.com>
30804
ab6737ff
UD
30805 * libio/iofwide.c (do_length): Avoid warning.
30806
538faaa7
UD
30807 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30808
396a21b1
UD
308092011-10-14 Ulrich Drepper <drepper@gmail.com>
30810
cdf2901f
UD
30811 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30812
38ad40ce
UD
30813 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30814 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30815 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30816 * sysdeps/i386/i686/fpu/e_log.S: New file.
30817 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30818 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30819
396a21b1
UD
30820 * ctype/ctype.h: Add support for inlined isXXX functions when
30821 compiling C++ code.
30822
6b1f68c9
AS
308232011-10-14 Andreas Schwab <schwab@redhat.com>
30824
349290c0
AS
30825 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30826
6b1f68c9
AS
30827 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30828
f2282d42
RM
308292011-10-13 Roland McGrath <roland@hack.frob.com>
30830
30831 [BZ #13291]
30832 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30833
5298ffa8
AS
308342011-10-13 Andreas Schwab <schwab@redhat.com>
30835
714fad23
AS
30836 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30837 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30838 feraiseexcept.
30839
81dcc7fb
AS
30840 * sysdeps/x86_64/memrchr.S: Check for zero size.
30841
5298ffa8
AS
30842 * string/stratcliff.c: Add memrchr tests.
30843
951fbcec
LD
308442011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30845
30846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30847 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30848 rawmemchr-sse2 rawmemchr-sse2-bsf.
30849 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30850 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30851 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30852 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30853 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30854 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30855 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30856 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30857 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30858 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30859 * string/memrchr.c (MEMRCHR): New macro.
30860
0ac5ae23
UD
308612011-10-12 Ulrich Drepper <drepper@gmail.com>
30862
30863 Add integration with gcc's -ffinite-math-only and optimize wrapper
30864 functions in libm.
30865 * Versions.def: Define GLIBC_2.15 version for libm.
30866 * math/Makefile (headers): Add bits/math-finite.h.
30867 * math/bits/math-finite.h: New file.
30868 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30869 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30870 * math/e_acoshl.c: Add __*_finite alias.
30871 * math/e_acosl.c: Likewise.
30872 * math/e_asinl.c: Likewise.
30873 * math/e_atan2l.c: Likewise.
30874 * math/e_atanhl.c: Likewise.
30875 * math/e_coshl.c: Likewise.
30876 * math/e_exp10.c: Likewise.
30877 * math/e_exp10f.c: Likewise.
30878 * math/e_exp10l.c: Likewise.
30879 * math/e_exp2l.c: Likewise.
30880 * math/e_fmodl.c: Likewise.
30881 * math/e_gammal_r.c: Likewise.
30882 * math/e_hypotl.c: Likewise.
30883 * math/e_j0l.c: Likewise.
30884 * math/e_j1l.c: Likewise.
30885 * math/e_jnl.c: Likewise.
30886 * math/e_lgammal_r.c: Likewise.
30887 * math/e_log10l.c: Likewise.
30888 * math/e_log2l.c: Likewise.
30889 * math/e_logl.c: Likewise.
30890 * math/e_powl.c: Likewise.
30891 * math/e_sinhl.c: Likewise.
30892 * math/e_sqrtl.c: Likewise.
30893 * math/e_scalb.c: Completely rewritten and optimized.
30894 * math/e_scalbf.c: Likewise.
30895 * math/e_scalbl.c: Likewise.
30896 * math/w_acos.c: Likewise.
30897 * math/w_acosf.c: Likewise.
30898 * math/w_acosl.c: Likewise.
30899 * math/w_acosh.c: Likewise.
30900 * math/w_acoshf.c: Likewise.
30901 * math/w_acoshl.c: Likewise.
30902 * math/w_asin.c: Likewise.
30903 * math/w_asinf.c: Likewise.
30904 * math/w_asinl.c: Likewise.
30905 * math/w_atan2.c: Likewise.
30906 * math/w_atan2f.c: Likewise.
30907 * math/w_atan2l.c: Likewise.
30908 * math/w_atanh.c: Likewise.
30909 * math/w_atanhf.c: Likewise.
30910 * math/w_atanhl.c: Likewise.
30911 * math/w_exp10.c: Likewise.
30912 * math/w_exp10f.c: Likewise.
30913 * math/w_exp10l.c: Likewise.
30914 * math/w_fmod.c: Likewise.
30915 * math/w_fmodf.c: Likewise.
30916 * math/w_fmodl.c: Likewise.
30917 * math/w_j0.c: Likewise.
30918 * math/w_j0f.c: Likewise.
30919 * math/w_j0l.c: Likewise.
30920 * math/w_j1.c: Likewise.
30921 * math/w_j1f.c: Likewise.
30922 * math/w_j1l.c: Likewise.
30923 * math/w_jn.c: Likewise.
30924 * math/w_jnf.c: Likewise.
30925 * math/w_log.c: Likewise.
30926 * math/w_logf.c: Likewise.
30927 * math/w_logl.c: Likewise.
30928 * math/w_log10.c: Likewise.
30929 * math/w_log10f.c: Likewise.
30930 * math/w_log10l.c: Likewise.
30931 * math/w_log2.c: Likewise.
30932 * math/w_log2f.c: Likewise.
30933 * math/w_log2l.c: Likewise.
30934 * math/w_pow.c: Likewise.
30935 * math/w_powf.c: Likewise.
30936 * math/w_powl.c: Likewise.
30937 * math/w_remainder.c: Likewise.
30938 * math/w_remainderf.c: Likewise.
30939 * math/w_remainderl.c: Likewise.
30940 * math/w_scalb.c: Likewise.
30941 * math/w_scalbf.c: Likewise.
30942 * math/w_scalbl.c: Likewise.
30943 * math/w_sqrt.c: Likewise.
30944 * math/w_sqrtf.c: Likewise.
30945 * math/w_sqrtl.c: Likewise.
30946 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30947 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30948 used.
30949 * math/math_private.h: Declare __kernel_standard_f.
30950 * math/w_cosh.c: Remove cruft and optimize a bit.
30951 * math/w_coshf.c: Likewise.
30952 * math/w_coshl.c: Likewise.
30953 * math/w_exp2.c: Likewise.
30954 * math/w_exp2f.c: Likewise.
30955 * math/w_exp2l.c: Likewise.
30956 * math/w_hypot.c: Likewise.
30957 * math/w_hypotf.c: Likewise.
30958 * math/w_hypotl.c: Likewise.
30959 * math/w_lgamma.c: Likewise.
30960 * math/w_lgamma_r.c: Likewise.
30961 * math/w_lgammaf.c: Likewise.
30962 * math/w_lgammaf_r.c: Likewise.
30963 * math/w_lgammal.c: Likewise.
30964 * math/w_lgammal_r.c: Likewise.
30965 * math/w_sinh.c: Likewise.
30966 * math/w_sinhf.c: Likewise.
30967 * math/w_sinhl.c: Likewise.
30968 * math/w_tgamma.c: Likewise.
30969 * math/w_tgammaf.c: Likewise.
30970 * math/w_tgammal.c: Likewise.
30971 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30972 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30973 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30974 Minor optimizations. Pretty printing. Remove cruft.
30975 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30976 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30977 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30978 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30979 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30980 * sysdeps/i386/fpu/e_asin.S: Likewise.
30981 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30982 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30983 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30984 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30985 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30986 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30988 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30989 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30990 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30991 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30992 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30993 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30994 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30995 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30996 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30997 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30998 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30999 * sysdeps/i386/fpu/e_log.S: Likewise.
31000 * sysdeps/i386/fpu/e_log10.S: Likewise.
31001 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31002 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31003 * sysdeps/i386/fpu/e_log2.S: Likewise.
31004 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31005 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31006 * sysdeps/i386/fpu/e_logf.S: Likewise.
31007 * sysdeps/i386/fpu/e_logl.S: Likewise.
31008 * sysdeps/i386/fpu/e_pow.S: Likewise.
31009 * sysdeps/i386/fpu/e_powf.S: Likewise.
31010 * sysdeps/i386/fpu/e_powl.S: Likewise.
31011 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31012 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31013 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31014 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31015 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31016 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31017 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31018 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31019 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31020 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31021 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31023 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31024 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31025 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31026 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31027 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31028 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31029 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31030 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31031 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31033 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31034 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31037 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31038 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31040 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31041 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31042 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31043 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31044 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31045 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31046 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31047 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31048 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31049 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31050 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31051 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31052 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31053 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31054 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31055 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31056 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31057 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31058 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31059 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31060 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31061 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31062 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31064 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31065 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31066 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31067 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31069 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31070 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31071 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31072 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31073 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31074 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31075 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31076 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31077 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31078 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31079 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31080 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31081 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31082 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31083 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31084 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31085 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31086 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31087 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31088 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31089 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31090 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31091 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31092 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31093 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31094 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31095 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31096 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31097 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31098 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31099 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31100 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31101 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31102 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31103 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31104 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31105 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31106 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31107 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31108 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31109 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31110 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31111 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31112 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31113 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31114 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31115 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31116 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31117 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31118 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31119 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31120 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31121 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31122 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31123 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31124 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31125 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31126 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31127 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31128 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31129 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31130 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31131 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31132 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31133 (__isnanf): Likewise.
31134 (__isinf_ns): Likewise.
31135 (__isinf_nsf): Likewise.
31136 (__finite): Likewise.
31137 (__finitef): Likewise.
31138 (__ieee754_sqrt): Define as macro.
31139 (__ieee754_sqrtf): Define as macro.
31140 (__ieee754_sqrtl): Define as macro.
31141 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31142 inlined copy.
31143 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31144 __FINITE_MATH_ONLY__ consistent.
31145 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31146
12cc2fcd
AS
311472011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31148
a843a204
AS
31149 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31150 of rawmemchr.
31151
12cc2fcd
AS
31152 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31153
c853acd5
UD
311542011-10-09 Ulrich Drepper <drepper@gmail.com>
31155
31156 * po/ja.po: Update from translation team.
31157
c658d255
RM
311582011-10-08 Roland McGrath <roland@hack.frob.com>
31159
110946e4
RM
31160 * locale/programs/locarchive.c (prepare_address_space): New function.
31161 (create_archive, enlarge_archive, open_archive): Use it.
31162
50604220
RM
31163 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31164 inside [SHARED], where it is used.
31165
c658d255
RM
31166 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31167
31168 * nss/getent.c (netgroup_keys): Remove unused variable.
31169 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31170
6a621eb7
UD
311712011-10-08 Ulrich Drepper <drepper@gmail.com>
31172
7edb55ce
UD
31173 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31174 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31176 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31177 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31178 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31179 * math/Makefile (libm-calls): Add s_isinf_ns.
31180 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31181 * math/multc3.c: Likewise.
31182 * math/s_casin.c: Likewise.
31183 * math/s_casinf.c: Likewise.
31184 * math/s_casinl.c: Likewise.
31185 * math/s_ccos.c: Likewise.
31186 * math/s_ccosf.c: Likewise.
31187 * math/s_ccosl.c: Likewise.
31188 * math/s_ctan.c: Likewise.
31189 * math/s_ctanf.c: Likewise.
31190 * math/s_ctanh.c: Likewise.
31191 * math/s_ctanhf.c: Likewise.
31192 * math/s_ctanhl.c: Likewise.
31193 * math/s_ctanl.c: Likewise.
31194 * math/w_fmod.c: Likewise.
31195 * math/w_fmodf.c: Likewise.
31196 * math/w_fmodl.c: Likewise.
31197 * math/w_remainder.c: Likewise.
31198 * math/w_remainderf.c: Likewise.
31199 * math/w_remainderl.c: Likewise.
31200 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31201 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31202 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31204 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31205 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31206 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31207 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31208
187da0ae
UD
31209 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31210 of the number.
31211 * stdio-common/printf_fphex.c: Likewise.
31212 * stdio-common/printf_size.c: Likewise.
31213
9277c064
UD
31214 * math/e_exp10.c: Include math_private.h using <...> not "...".
31215 * math/e_exp10f.c: Likewise.
31216 * math/e_exp10l.c: Likewise.
31217 * math/e_exp2l.c: Likewise.
31218 * math/e_j0l.c: Likewise.
31219 * math/e_j1l.c: Likewise.
31220 * math/e_jnl.c: Likewise.
31221 * math/e_lgammal_r.c: Likewise.
31222 * math/e_rem_pio2l.c: Likewise.
31223 * math/e_scalb.c: Likewise.
31224 * math/e_scalbf.c: Likewise.
31225 * math/e_scalbl.c: Likewise.
31226 * math/k_cosl.c: Likewise.
31227 * math/k_sinl.c: Likewise.
31228 * math/k_tanl.c: Likewise.
31229 * math/s_cacoshf.c: Likewise.
31230 * math/s_catan.c: Likewise.
31231 * math/s_catanf.c: Likewise.
31232 * math/s_catanh.c: Likewise.
31233 * math/s_catanhf.c: Likewise.
31234 * math/s_catanhl.c: Likewise.
31235 * math/s_catanl.c: Likewise.
31236 * math/s_ccosh.c: Likewise.
31237 * math/s_ccoshf.c: Likewise.
31238 * math/s_ccoshl.c: Likewise.
31239 * math/s_cexp.c: Likewise.
31240 * math/s_cexpf.c: Likewise.
31241 * math/s_cexpl.c: Likewise.
31242 * math/s_clog.c: Likewise.
31243 * math/s_clog10.c: Likewise.
31244 * math/s_clog10f.c: Likewise.
31245 * math/s_clog10l.c: Likewise.
31246 * math/s_clogf.c: Likewise.
31247 * math/s_clogl.c: Likewise.
31248 * math/s_csin.c: Likewise.
31249 * math/s_csinf.c: Likewise.
31250 * math/s_csinh.c: Likewise.
31251 * math/s_csinhf.c: Likewise.
31252 * math/s_csinhl.c: Likewise.
31253 * math/s_csinl.c: Likewise.
31254 * math/s_csqrt.c: Likewise.
31255 * math/s_csqrtf.c: Likewise.
31256 * math/s_csqrtl.c: Likewise.
31257 * math/s_ctan.c: Likewise.
31258 * math/s_ctanf.c: Likewise.
31259 * math/s_ctanh.c: Likewise.
31260 * math/s_ctanhf.c: Likewise.
31261 * math/s_ctanhl.c: Likewise.
31262 * math/s_ctanl.c: Likewise.
31263 * math/s_ldexp.c: Likewise.
31264 * math/s_ldexpf.c: Likewise.
31265 * math/s_ldexpl.c: Likewise.
31266 * math/s_significand.c: Likewise.
31267 * math/s_significandf.c: Likewise.
31268 * math/s_significandl.c: Likewise.
31269 * math/w_acos.c: Likewise.
31270 * math/w_acosf.c: Likewise.
31271 * math/w_acosh.c: Likewise.
31272 * math/w_acoshf.c: Likewise.
31273 * math/w_acoshl.c: Likewise.
31274 * math/w_acosl.c: Likewise.
31275 * math/w_asin.c: Likewise.
31276 * math/w_asinf.c: Likewise.
31277 * math/w_asinl.c: Likewise.
31278 * math/w_atan2.c: Likewise.
31279 * math/w_atan2f.c: Likewise.
31280 * math/w_atan2l.c: Likewise.
31281 * math/w_atanh.c: Likewise.
31282 * math/w_atanhf.c: Likewise.
31283 * math/w_atanhl.c: Likewise.
31284 * math/w_cosh.c: Likewise.
31285 * math/w_coshf.c: Likewise.
31286 * math/w_coshl.c: Likewise.
31287 * math/w_dremf.c: Likewise.
31288 * math/w_exp10.c: Likewise.
31289 * math/w_exp10f.c: Likewise.
31290 * math/w_exp10l.c: Likewise.
31291 * math/w_exp2.c: Likewise.
31292 * math/w_exp2f.c: Likewise.
31293 * math/w_fmod.c: Likewise.
31294 * math/w_fmodf.c: Likewise.
31295 * math/w_fmodl.c: Likewise.
31296 * math/w_hypot.c: Likewise.
31297 * math/w_hypotf.c: Likewise.
31298 * math/w_hypotl.c: Likewise.
31299 * math/w_j0.c: Likewise.
31300 * math/w_j0f.c: Likewise.
31301 * math/w_j0l.c: Likewise.
31302 * math/w_j1.c: Likewise.
31303 * math/w_j1f.c: Likewise.
31304 * math/w_j1l.c: Likewise.
31305 * math/w_jn.c: Likewise.
31306 * math/w_jnf.c: Likewise.
31307 * math/w_jnl.c: Likewise.
31308 * math/w_lgamma.c: Likewise.
31309 * math/w_lgamma_r.c: Likewise.
31310 * math/w_lgammaf.c: Likewise.
31311 * math/w_lgammaf_r.c: Likewise.
31312 * math/w_lgammal.c: Likewise.
31313 * math/w_lgammal_r.c: Likewise.
31314 * math/w_log.c: Likewise.
31315 * math/w_log10.c: Likewise.
31316 * math/w_log10f.c: Likewise.
31317 * math/w_log10l.c: Likewise.
31318 * math/w_log2.c: Likewise.
31319 * math/w_log2f.c: Likewise.
31320 * math/w_log2l.c: Likewise.
31321 * math/w_logf.c: Likewise.
31322 * math/w_logl.c: Likewise.
31323 * math/w_pow.c: Likewise.
31324 * math/w_powf.c: Likewise.
31325 * math/w_powl.c: Likewise.
31326 * math/w_remainder.c: Likewise.
31327 * math/w_remainderf.c: Likewise.
31328 * math/w_remainderl.c: Likewise.
31329 * math/w_scalb.c: Likewise.
31330 * math/w_scalbf.c: Likewise.
31331 * math/w_scalbl.c: Likewise.
31332 * math/w_sinh.c: Likewise.
31333 * math/w_sinhf.c: Likewise.
31334 * math/w_sinhl.c: Likewise.
31335 * math/w_sqrt.c: Likewise.
31336 * math/w_sqrtf.c: Likewise.
31337 * math/w_sqrtl.c: Likewise.
31338 * math/w_tgamma.c: Likewise.
31339 * math/w_tgammaf.c: Likewise.
31340 * math/w_tgammal.c: Likewise.
31341
6a621eb7
UD
31342 * po/ja.po: Update from translation team.
31343
bf582445
AJ
313442011-09-29 Andreas Jaeger <aj@suse.de>
31345
f9efbf3a
AJ
31346 [BZ #13179]
31347 * sunrpc/netname.c (netname2host): Fix logic.
31348
bf582445
AJ
31349 [BZ #6779]
31350 [BZ #6783]
31351 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31352 correctly.
31353 * math/w_remainder.c (__remainder): Likewise.
31354 * math/w_remainderf.c (__remainderf): Likewise.
31355 * math/libm-test.inc (remainder_test): Add test cases.
31356
48693bea
AK
313572011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31358
31359 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31360 sdiv_qrnnd.
31361
42622229
LD
313622011-10-07 Ulrich Drepper <drepper@gmail.com>
31363
31364 * string/test-memcmp.c: Avoid unncessary #defines.
31365 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31366
093ecf92
LD
313672011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31368
31369 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31370 Use new sse2 version for core i3 - i7 as it's faster
31371 than sse42 version.
31372 (bit_Prefer_PMINUB_for_stringop): New.
31373 * sysdeps/x86_64/rawmemchr.S: Update.
31374 Replace with faster SSE2 version.
31375 * sysdeps/x86_64/memrchr.S: New file.
31376 * sysdeps/x86_64/memchr.S: Update.
31377 Replace with faster SSE2 version.
31378
fde56e5c
MP
313792011-09-12 Marek Polacek <mpolacek@redhat.com>
31380
31381 * elf/dl-load.c (lose): Add cast to avoid warning.
31382
21fd49a9
UD
313832011-10-07 Ulrich Drepper <drepper@gmail.com>
31384
5a06e643
UD
31385 * po/ca.po: Update from translation team.
31386
684ae515
UD
31387 * inet/getnetgrent_r.c: Hook up nscd.
31388 * nscd/Makefile (routines): Add nscd_netgroup.
31389 (nscd-modules): Add netgroupcache.
31390 (CFLAGS-netgroupcache.c): Define.
31391 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31392 (cache_search): Add const to second parameter.
31393 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31394 INNETGR.
31395 (dbs): Add netgrdb entry.
31396 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31397 (verify_persistent_db): Handle netgrdb.
31398 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31399 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31400 GETFDNETGR.
31401 (netgroup_response_header): Define.
31402 (innetgroup_response_header): Define.
31403 (datahead): Add netgroup_response_header and innetgroup_response_header
31404 elements.
31405 * nscd/nscd.conf: Add entries for netgroup cache.
31406 * nscd/nscd.h (dbtype): Add netgrdb.
31407 (_PATH_NSCD_NETGROUP_DB): Define.
31408 (netgroup_iov_disabled): Declare.
31409 (xmalloc, xcalloc, xrealloc): Move declarations here.
31410 (cache_search): Adjust prototype.
31411 Add netgroup-related prototypes.
31412 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31413 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31414 (__nscd_innetgr): Declare.
31415 * nscd/selinux.c (perms): Use access_vector_t as element type and
31416 add netgroup-related initializers.
31417 * nscd/netgroupcache.c: New file.
31418 * nscd/nscd_netgroup.c: New file.
31419 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31420 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31421 For four parameters use innetgr.
31422 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31423 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31424 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31425 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31426
21fd49a9
UD
31427 * nscd/connections.c (register_traced_file): Don't register file
31428 for disabled databases.
31429
054c0457
UD
314302011-10-06 Ulrich Drepper <drepper@gmail.com>
31431
32b63198
UD
31432 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31433
054c0457
UD
31434 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31435 from tree and freeing node.
31436
64031225
JO
314372011-09-25 Jiri Olsa <jolsa@redhat.com>
31438
31439 * nss/nsswitch.c (__nss_database_lookup): Handle
31440 nss_parse_service_list out of memory case.
31441
0490345c
JO
314422011-09-15 Jiri Olsa <jolsa@redhat.com>
31443
31444 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31445 out of memory case.
31446
3a62d00d
AS
314472011-10-04 Andreas Schwab <schwab@redhat.com>
31448
31449 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31450 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31451 pass it down.
31452 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31453 elf_machine_rela, elf_machine_lazy_rel.
31454 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31455 (ELF_DYNAMIC_DO_REL): Likewise.
31456 (ELF_DYNAMIC_DO_RELA): Likewise.
31457 (ELF_DYNAMIC_RELOCATE): Likewise.
31458 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31459 to ELF_DYNAMIC_DO_REL.
31460 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31461 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31462 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31463 elf_machine_rela.
31464 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31465 skip_ifunc, don't call ifunc function if non-zero.
31466 (elf_machine_rela): Likewise.
31467 (elf_machine_lazy_rel): Likewise.
31468 (elf_machine_lazy_rela): Likewise.
31469 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31470 (elf_machine_lazy_rel): Likewise.
31471 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31472 Likewise.
31473 (elf_machine_lazy_rel): Likewise.
31474 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31475 Likewise.
31476 (elf_machine_lazy_rel): Likewise.
31477 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31478 (elf_machine_lazy_rel): Likewise.
31479 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31480 (elf_machine_lazy_rel): Likewise.
31481 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31482 (elf_machine_lazy_rel): Likewise.
31483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31484 (elf_machine_lazy_rel): Likewise.
31485 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31486 (elf_machine_lazy_rel): Likewise.
31487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31488 (elf_machine_lazy_rel): Likewise.
31489
68577918
UD
314902011-09-28 Ulrich Drepper <drepper@gmail.com>
31491
31492 * nss/nss_files/files-init.c (_nss_files_init): Use static
31493 initialization for all the *_traced_file variables.
31494
68822d74
AS
314952011-09-28 Andreas Schwab <schwab@redhat.com>
31496
31497 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31498
2056100b
RM
314992011-09-27 Roland McGrath <roland@hack.frob.com>
31500
31501 [BZ #13226]
31502 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31503
32c76b63
AS
315042011-09-27 Andreas Schwab <schwab@redhat.com>
31505
31506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31507 Reread the line before reparsing it.
31508
bf972c9d
AS
315092011-09-26 Andreas Schwab <schwab@redhat.com>
31510
31511 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31512
e057a1b5
JM
315132011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31514 Maxim Kuvyrkov <maxim@codesourcery.com>
31515 Joseph Myers <joseph@codesourcery.com>
31516
31517 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31518 if needed for __stack_chk_guard.
31519
bc7e1c36
RM
315202011-09-19 Roland McGrath <roland@hack.frob.com>
31521
ecb1482f
RM
31522 * sysdeps/posix/spawni.c (script_execute): Always define it.
31523 It will be optimized away if unused.
31524 (maybe_script_execute): New function.
31525 (__spawni): Call it.
31526
bc7e1c36
RM
31527 * Makerules: Don't include tls.make.
31528 (config-tls): Always set to thread.
31529 * tls.make.c: File removed.
31530
1c3b002b
MF
315312011-09-19 Mike Frysinger <vapier@gentoo.org>
31532
31533 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31534 * config.make.in (CPPFLAGS-config): New substituted variable.
31535
2840865d
UD
315362011-09-15 Ulrich Drepper <drepper@gmail.com>
31537
88738eb6
UD
31538 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31539
cbf645a6 31540 [BZ #13192]
2840865d
UD
31541 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31542 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31543
b402e91a
RM
315442011-09-15 Roland McGrath <roland@hack.frob.com>
31545
31546 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31547 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31549 (CALL_FAIL): Likewise.
31550 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31551 (CALL_FAIL): Macro removed.
31552 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31553
4c1a1f71
UD
315542011-09-15 Ulrich Drepper <drepper@gmail.com>
31555
31556 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31557 for __FINITE_MATH_ONLY__ == 1.
31558
edc121be
AS
315592011-09-15 Andreas Schwab <schwab@redhat.com>
31560
31561 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31562 __ieee754_sqrt instead of sqrt.
31563 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31564 __ieee754_sqrtf instead of sqrtf.
31565 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31566 __floorf instead of floorf.
31567 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31568 __floorf, __truncf instead of floorf, truncf.
31569
cd205654
UD
315702011-09-14 Ulrich Drepper <drepper@gmail.com>
31571
ee4d0315
UD
31572 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31573
cd205654
UD
31574 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31575 __extern_always_inline.
31576 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31577 32-bit.
31578
48b67d71
AS
315792011-09-14 Andreas Schwab <schwab@redhat.com>
31580
31581 * elf/rtld.c (dl_main): Also relocate in dependency order when
31582 doing symbol dependency testing.
31583
1ae12c75
AS
315842011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31585
31586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31587 Always define `refsym'.
31588
995a80df
AS
315892011-09-13 Andreas Schwab <schwab@redhat.com>
31590
e529793b
AS
31591 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31592 (__FD_ELT): Renamed from __FDELT.
31593 * misc/bits/select2.h (__FD_ELT): Likewise.
31594 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31595 __FD_MASK instead of __FDELT, __FDMASK.
31596 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31597 Likewise.
31598 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31599 Likewise.
31600
52d4fef8
AS
31601 * elf/Makefile (gen-ldd): Fix pattern.
31602
995a80df
AS
31603 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31604 (init_tls): Likewise.
31605
8682f8b0
UD
316062011-09-12 Ulrich Drepper <drepper@gmail.com>
31607
31608 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31609
de82006d
AS
316102011-09-12 Andreas Schwab <schwab@redhat.com>
31611
a7c8e6a1
AS
31612 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31613 `struct cmsghdr *' instead of `void *'.
31614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31615 Likewise.
31616
0f31fe77
AS
316172011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31618
31619 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31620 if non-absolute.
31621 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31622 ldd_rewrite_script.
0f31fe77 31623
32b4c839
UD
316242011-09-11 Ulrich Drepper <drepper@gmail.com>
31625
83cd1420
UD
31626 * configure.in: Remove --with-tls option.
31627 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31628 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31629 out in case it is missing.
31630 * sysdeps/ia64/elf/configure.in: Likewise.
31631 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31632 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31633 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31634 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31635 * sysdeps/sh/elf/configure.in: Likewise.
31636 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31637 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31638 * sysdeps/x86_64/elf/configure.in: Likewise.
31639 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31640 * sysdeps/mach/hurd/tls.h: Likewise.
31641
633f745d
UD
31642 [BZ #13067]
31643 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31644
f318beb8
UD
31645 [BZ #13090]
31646 * configure.in: Fix use of AC_INIT.
31647
32b4c839
UD
31648 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31649
3ce1f295
UD
316502011-09-10 Ulrich Drepper <drepper@gmail.com>
31651
bb016596
UD
31652 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31653 __set_errno.
8e58439c
UD
31654 * malloc/hooks.c: Likewise.
31655
aebae053 31656 [BZ #11929]
02d46fc4
UD
31657 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31658 variables statically.
31659 (narenas): Initialize.
31660 (list_lock): Initialize.
bb016596
UD
31661 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31662 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31663 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31664 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31665 Add initializers to main_arena and mp_.
31666 (malloc_state): Remove pagesize member. Change all users to use
31667 GLRO(dl_pagesize).
31668
31669 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31670 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31671 is always initialized.
31672
22a89187
UD
31673 * malloc/malloc.c: Removed unused configurations and dead code.
31674 * malloc/arena.c: Likewise.
31675 * malloc/hooks.c: Likewise.
02d46fc4 31676 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31677
d063d164
UD
31678 * include/tls.h: Removed. USE___THREAD must always be defined.
31679 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31680 * elf/dl-libc.c: Likewise.
31681 * elf/dl-tsd.c: Likewise.
31682 * include/errno.h: Likewise.
31683 * include/netdb.h: Likewise.
31684 * include/resolv.h: Likewise.
31685 * inet/herrno-loc.c: Likewise.
31686 * inet/herrno.c: Likewise.
31687 * malloc/arena.c: Likewise.
31688 * malloc/hooks.c: Likewise.
31689 * malloc/malloc.c: Likewise.
31690 * resolv/res-state.c: Likewise.
31691 * resolv/res_libc.c: Likewise.
31692 * sysdeps/i386/dl-machine.h: Likewise.
31693 * sysdeps/ia64/dl-machine.h: Likewise.
31694 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31695 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31696 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31697 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31698 * sysdeps/sh/dl-machine.h: Likewise.
31699 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31700 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31701 * sysdeps/unix/i386/sysdep.S: Likewise.
31702 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31703 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31704 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31707 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31708 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31709 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31712 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31713 * sysdeps/x86_64/dl-machine.h: Likewise.
31714 * tls.make.c: Likewise.
31715
3ce1f295
UD
31716 * configure.in: Remove --with-__thread option. Make tests for
31717 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31718 tls_model attribute fail if no support is available. Remove
31719 USE_IN_LIBIO.
31720 * Makeconfig: Adjust for dropped configure option. All features are
31721 now mandatory.
31722 * Makerules: Likewise.
31723 * Versions.def: Likewise.
31724 * argp/argp-fmtstream.c: Likewise.
31725 * argp/argp-fmtstream.h: Likewise.
31726 * argp/argp-help.c: Likewise.
31727 * assert/assert.c: Likewise.
31728 * config.h.in: Likewise.
31729 * config.make.in: Likewise.
31730 * configure: Likewise.
31731 * configure.in: Likewise.
31732 * csu/Versions: Likewise.
31733 * csu/init.c: Likewise.
31734 * elf/tst-audit2.c: Likewise.
31735 * elf/tst-tls10.c: Likewise.
31736 * elf/tst-tls10.h: Likewise.
31737 * elf/tst-tls11.c: Likewise.
31738 * elf/tst-tls12.c: Likewise.
31739 * elf/tst-tls14.c: Likewise.
31740 * elf/tst-tlsmod11.c: Likewise.
31741 * elf/tst-tlsmod12.c: Likewise.
31742 * elf/tst-tlsmod13.c: Likewise.
31743 * elf/tst-tlsmod13a.c: Likewise.
31744 * elf/tst-tlsmod14a.c: Likewise.
31745 * elf/tst-tlsmod15b.c: Likewise.
31746 * elf/tst-tlsmod16a.c: Likewise.
31747 * elf/tst-tlsmod16b.c: Likewise.
31748 * elf/tst-tlsmod7.c: Likewise.
31749 * elf/tst-tlsmod8.c: Likewise.
31750 * elf/tst-tlsmod9.c: Likewise.
31751 * gmon/gmon.c: Likewise.
31752 * grp/fgetgrent_r.c: Likewise.
31753 * grp/putgrent.c: Likewise.
31754 * hurd/fopenport.c: Likewise.
31755 * include/libc-symbols.h: Likewise.
31756 * include/tls.h: Likewise.
31757 * intl/gettextP.h: Likewise.
31758 * intl/loadinfo.h: Likewise.
31759 * locale/global-locale.c: Likewise.
31760 * locale/localeinfo.h: Likewise.
31761 * mach/devstream.c: Likewise.
31762 * malloc/arena.c: Likewise.
31763 * malloc/set-freeres.c: Likewise.
31764 * misc/err.c: Likewise.
31765 * misc/getttyent.c: Likewise.
31766 * misc/mntent_r.c: Likewise.
31767 * posix/getopt.c: Likewise.
31768 * posix/wordexp.c: Likewise.
31769 * pwd/fgetpwent_r.c: Likewise.
31770 * resolv/Versions: Likewise.
31771 * resolv/res_hconf.c: Likewise.
31772 * shadow/fgetspent_r.c: Likewise.
31773 * shadow/putspent.c: Likewise.
31774 * stdio-common/printf_fphex.c: Likewise.
31775 * stdio-common/tmpfile.c: Likewise.
31776 * stdlib/abort.c: Likewise.
31777 * stdlib/fmtmsg.c: Likewise.
31778 * sunrpc/auth_unix.c: Likewise.
31779 * sunrpc/clnt_perr.c: Likewise.
31780 * sunrpc/clnt_tcp.c: Likewise.
31781 * sunrpc/clnt_udp.c: Likewise.
31782 * sunrpc/clnt_unix.c: Likewise.
31783 * sunrpc/openchild.c: Likewise.
31784 * sunrpc/svc_simple.c: Likewise.
31785 * sunrpc/svc_tcp.c: Likewise.
31786 * sunrpc/svc_udp.c: Likewise.
31787 * sunrpc/svc_unix.c: Likewise.
31788 * sunrpc/xdr.c: Likewise.
31789 * sunrpc/xdr_array.c: Likewise.
31790 * sunrpc/xdr_rec.c: Likewise.
31791 * sunrpc/xdr_ref.c: Likewise.
31792 * sunrpc/xdr_stdio.c: Likewise.
31793
1248c1c4
PB
317942011-09-09 Ulrich Drepper <drepper@gmail.com>
31795
31796 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31797
317982011-07-03 Andreas Jaeger <aj@suse.de>
31799
31800 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31801 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31802 regenerate with gen-libm-tests.pl.
31803
318042010-05-12 Petr Baudis <pasky@suse.cz>
31805
31806 [BZ #11589]
31807 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31808 around j0() zero points by switching to j1().
31809 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31810 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31811 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31812 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31813
f22e1074
UD
318142011-09-09 Ulrich Drepper <drepper@gmail.com>
31815
f19009c1
UD
31816 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31817 instead of 0.
31818 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31819 instead of 0.
f19009c1
UD
31820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31821 Patch in part by Pavel Roskin <proski@gnu.org>.
31822
3f8cc204
UD
31823 [BZ #13138]
31824 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31825 realloc.
31826 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31827 Free memory block if necessary.
31828
f22e1074
UD
31829 [BZ #12847]
31830 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31831 be NULL. Don't lock in this case.
31832
0a2349f9
RM
318332011-09-09 Roland McGrath <roland@hack.frob.com>
31834
31835 * elf/elf.h (ELFOSABI_GNU): New macro.
31836 (ELFOSABI_LINUX): Define to that.
31837
f3cdd467
DZ
318382011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31839
31840 * string/strncat.c (strncat): Undef the symbol in case it has been
31841 defined in bits/string.h.
31842
74718d13
UD
318432011-09-09 Ulrich Drepper <drepper@gmail.com>
31844
633e9e0f
UD
31845 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31846
0a2349f9 31847 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31848 link map.
31849
f9924780
AJ
318502011-08-17 Andreas Jaeger <aj@suse.de>
31851
31852 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31853
7f5517aa
PP
318542011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31855 Ian Lance Taylor <iant@google.com>
31856
31857 * math/libm-test.inc (lround_test): New testcase.
31858 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31859
762011fe
UD
318602011-09-08 Ulrich Drepper <drepper@gmail.com>
31861
92963737
UD
31862 * Makefile: Remove support for automatic cvs check-ins.
31863 * Makerules: Likewise.
31864 * config.make.in: Likewise.
31865 * configure.in: Likewise.
31866 * intl/Makefile: Likewise.
31867 * locale/Makefile: Likewise.
31868 * po/Makefile: Likewise.
31869 * posix/Makefile: Likewise.
31870 * sysdeps/gnu/Makefile: Likewise.
31871 * sysdeps/mach/hurd/Makefile: Likewise.
31872 * sysdeps/sparc/sparc32/Makefile: Likewise.
31873
b0727fd8
JS
31874 [BZ #13118]
31875 * posix/Makefile (bug-regex32-ENV): Define.
31876 Patch by John Stanley <jpsinthemix@verizon.net>.
31877
a0f33f99
UD
31878 * misc/Makefile (headers): Add bits/select2.h.
31879 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31880 * misc/bits/select2.h: New file.
31881 * include/bits/select2.h: New file.
31882 * debug/Makefile (routines): Add fdelt_chk.
31883 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31884 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31885 FD_ISSET.
31886 * debug/fdelt_chk.c: New file.
31887
762011fe
UD
31888 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31889 * wcsmbs/test-wmemcmp.c: Likewise.
31890 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31891 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31892
318932011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31894
31895 * string/Makefile (strop-tests): Add memcmp.
31896 * string/test-wmemcmp.c: New file.
31897 * string/test-memcmp.c: Add wmemcmp support.
31898
7f513ec8
RM
318992011-09-08 Roland McGrath <roland@hack.frob.com>
31900
0442afb4
RM
31901 [BZ #13153]
31902 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31903 2011-07-19 change.
31904
7f513ec8
RM
31905 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31906 garbage value in a __mach_port_mod_refs call in the cases of the
31907 task-self and thread-self ports.
31908
a12b2239
ST
319092011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31910
31911 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31912
610f9ab4
AS
319132011-09-08 Andreas Schwab <schwab@redhat.com>
31914
7f513ec8 31915 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31916
48882a1a
LD
319172011-09-07 Ulrich Drepper <drepper@gmail.com>
31918
b49865be
UD
31919 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31920
fdc86bc9
UD
31921 * elf/dl-libc.c (dlerror_run): Pass back error code from
31922 dl_catch_error.
31923
c966526a
UD
31924 [BZ #13123]
31925 * elf/dl-load.c (lose): Free l_origin if it is valid.
31926
48882a1a
LD
31927 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31928 names.
31929 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31930 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31931 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31932 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31933 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31934 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31935
77a2a8b4
AZ
319362011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31937
31938 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31939 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31940 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31941 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31942 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31943 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31944 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31945 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31946 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31947 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31948
24f579d8
AM
319492011-08-15 Alan Modra <amodra@gmail.com>
31950
31951 [BZ #13092]
31952 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31953 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31954 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31955 ppc_mcount to static-only-routines.
31956 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31957 __mcount_internal.
31958 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31959 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31960
3d4837df
UD
319612011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31962
31963 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31964 for finite and infinity parameters.
31965
22700377
WS
319662011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31967
31968 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31969 and add nop instructions for throughput optimization.
31970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31971
5025581e
WS
319722011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31973
31974 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31975 aligned copy for power7 with vector-scalar instructions.
31976 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31977
08a300c9
L
319782011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31979
31980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31981 AVX check.
31982
59178ef9
AS
319832011-09-07 Andreas Schwab <schwab@redhat.com>
31984
31985 [BZ #13144]
31986 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31987 last change.
31988
e38ba7ab
UD
319892011-09-07 Ulrich Drepper <drepper@gmail.com>
31990
31991 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31992 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31993 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31994 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31995 clock_gettime.
31996
d53a73ac
UD
319972011-09-06 Ulrich Drepper <drepper@gmail.com>
31998
fc8bffcc
UD
31999 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32000 Forgot to demangle the pointer.
32001
ceaa0c5d
UD
32002 * sysdeps/i386/sysdep.h: Define atom_text_section.
32003 * sysdeps/x86_64/sysdep.h: Likewise.
32004 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32005 section with atom_text_section.
32006 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32007 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32008 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32009 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32010 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32011
a77d3c17
UD
32012 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32013 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32014 already be defined. Change to take two parameters and don't assign
32015 result to variable. Adjust all users.
32016 Define INTERNAL_GETTIME if not already defined.
32017 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32018 call.
32019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32020 HAVE_CLOCK_GETTIME_VSYSCALL.
32021 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32022
d53a73ac
UD
32023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32024 gettimeofday vsyscall, just use time.
32025
a8f84144
AS
320262011-09-06 Andreas Schwab <schwab@redhat.com>
32027
32028 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32029 <errno.h>.
32030
ef606249
UD
320312011-09-06 Ulrich Drepper <drepper@gmail.com>
32032
32033 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32034 syscall on x86-64.
32035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32036 syscall.
32037 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32038 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32039 syscall if possible.
32040
6585cb60
UD
320412011-09-05 Ulrich Drepper <drepper@gmail.com>
32042
32043 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32044 e_ident. Don't pass to find_mapsXX.
32045 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32046
a5f524e4
LD
320472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32048
32049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32050 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32051 * sysdeps/x86_64/multiarch/strchr.S: Update.
32052 Check bit_slow_BSF bit.
32053 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32054 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32055 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32056
554881ef
UD
320572011-09-05 Ulrich Drepper <drepper@gmail.com>
32058
d96de963
UD
32059 [BZ #13134]
32060 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32061 before glibc 2.15.
32062 (tryshell): Define.
32063 (__spawni): Change last parameter to be flag. Test
32064 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32065 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32066 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32067 * posix/spawni.c: Likewise.
32068 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32069 * posix/spawnp.c: Likewise. Change normal version to use
32070 SPAWN_XFLAGS_USE_PATH.
32071 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32072 SPAWN_XFLAGS_TRY_SHELL.
32073
d48e5868
UD
32074 [BZ #13150]
32075 * posix/glob.h: Remove gcc 1.x support.
32076
554881ef
UD
32077 [BZ #13068]
32078 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32079
693fb948
LD
320802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32081
32082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32083 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32084 strrchr-sse2-bsf
32085 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32086 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32087 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32089 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32090 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32091
1b48c537
UD
320922011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32093
49d42c37
UD
32094 * sysdeps/x86_64/wcscmp.S: New file.
32095
1b48c537
UD
32096 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32097 wcscmp-c wcscmp-sse2
32098 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32099 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32100 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32101 * wcsmbs/wcscmp.c: Allow renaming.
32102
15c95c5d
DM
321032011-09-05 David S. Miller <davem@davemloft.net>
32104
32105 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32106 stack slot, rather than the struct return pointer slot.
32107 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32108 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32110 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32111
2f0ad8f3
UD
321122011-09-05 Ulrich Drepper <drepper@gmail.com>
32113
d88ae418
UD
32114 * po/ja.po: Update from translation team.
32115
2f0ad8f3
UD
32116 [BZ #13144]
32117 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32118 kernel in 64-bit binaries.
32119
5f4318d1
DM
321202011-09-01 David S. Miller <davem@davemloft.net>
32121
32122 * elf/elf.h (HWCAP_SPARC_*): Move to..
32123 * sysdeps/sparc/sysdep.h: this new file and add new values.
32124 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32125 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32126 _DL_HWCAP_COUNT to 24.
32127 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32128 entries.
32129 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32130 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32131 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32133 instead of magic constants.
32134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32135
3ba57516
DM
321362011-08-31 David S. Miller <davem@davemloft.net>
32137
32138 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32140 Reimplement to do errno handling inline.
32141 (SYSCALL_ERROR_HANDLER): New macro.
32142 (__SYSCALL_STRING): Do not do errno handling in asm.
32143 (__CLONE_SYSCALL_STRING): Delete.
32144 (__INTERNAL_SYSCALL_STRING): Delete.
32145 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32146 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32147 (PSEUDO): Reimplement to do errno handling inline.
32148 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32149 (SYSCALL_ERROR_HANDLER): New macro.
32150 (__SYSCALL_STRING): Do not do errno handling in asm.
32151 (__CLONE_SYSCALL_STRING): Delete.
32152 (__INTERNAL_SYSCALL_STRING): Delete.
32153 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32154 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32155 i386.
32156 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32157 (inline_syscall*): Add 'err' argument.
32158 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32159 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32160 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32161 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32162
32163 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32164 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32165
2bc17433
AS
321662011-08-30 Andreas Schwab <schwab@redhat.com>
32167
32168 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32169
fbeb5f4d
JO
321702011-08-29 Jiri Olsa <jolsa@redhat.com>
32171
32172 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32173 directive.
32174
ad69cc26
DM
321752011-08-24 David S. Miller <davem@davemloft.net>
32176
32177 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32178
39dd69df
AS
321792011-08-24 Andreas Schwab <schwab@redhat.com>
32180
32181 * elf/Makefile: Add rules to build and run unload8 test.
32182 * elf/unload8.c: New file.
32183 * elf/unload8mod1.c: New file.
32184 * elf/unload8mod1x.c: New file.
32185 * elf/unload8mod2.c: New file.
32186 * elf/unload8mod3.c: New file.
32187
32188 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32189 it wasn't used.
32190
2c0b250a
DM
321912011-08-23 David S. Miller <davem@davemloft.net>
32192
32193 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32194 subtract stack bias.
32195 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32196 %sp not %fp in calculations.
32197 (_JMPBUF_UNWINDS_ADJ): Likewise.
32198
22044b48
DM
32199 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32200 (aio_suspend): Call it to force an exception region around the
32201 AIO_MISC_WAIT() invocation.
32202
2cae4995
AS
322032011-08-23 Andreas Schwab <schwab@redhat.com>
32204
32205 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32206 backslash.
32207
873a772e
AJ
322082011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32209
32210 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32211 protection macro.
32212 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32213 and <dl-machine.h>.
32214 (Elf64_FuncDesc): Remove.
32215
25ad0df1
DM
322162011-08-22 David S. Miller <davem@davemloft.net>
32217
32218 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32219 sigaltstack check, add missing cfi directives.
32220 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32221 missing cfi directives, and sigaltstack handling.
32222
e888bcbe
AS
322232011-08-16 Andreas Schwab <schwab@redhat.com>
32224
32225 [BZ #11724]
32226 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32227 object is seen twice.
32228 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32229
32230 * elf/Makefile (distribute): Add tst-initorder2.c.
32231 (tests): Add tst-initorder2.
32232 (modules-names): Add tst-initorder2a tst-initorder2b
32233 tst-initorder2c tst-initorder2d. Add rules to build them.
32234 ($(objpfx)tst-initorder2.out): New rule.
32235 * elf/tst-initorder2.c: New file.
32236 * elf/tst-initorder2.exp: New file.
32237
87162f46
AS
322382011-08-22 Andreas Schwab <schwab@redhat.com>
32239
70538b7f
AS
32240 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32241
f55ffe58
AS
32242 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32243 dependencies back to end of function.
32244
87162f46
AS
32245 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32246 $(elfobjdir)/ld.so.
32247
91b392a4
UD
322482011-08-21 Ulrich Drepper <drepper@gmail.com>
32249
32250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32251 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32252 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32253 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32254 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32255 of __vdso_gettimeofday.
32256 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32257 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32258 attribute_hidden.
32259 (_libc_vdso_platform_setup): Remove initialization of
32260 __vdso_gettimeofday and __vdso_time.
32261
5c43483f
UD
322622011-08-20 Ulrich Drepper <drepper@gmail.com>
32263
775a77e7
UD
32264 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32265 and fgetc_unlocked.
32266 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32267 getc_unlocked.
89f447ed 32268
49c74ba9
UD
32269 * elf/dl-open.c (add_to_global): Report additions to the global scope
32270 for LD_DEBUG=scopes.
32271 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32272 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32273
5c43483f
UD
32274 [BZ #13114]
32275 * stdio-common/Makefile (tests): Add bug24.
32276 * stdio-common/bug24.c: New file.
32277
a101b025
AJ
322782011-08-19 Andreas Jaeger <aj@suse.de>
32279
32280 [BZ #13114]
32281 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32282 non-existant file when using close-on-exec mode.
32283
c88f1766
UD
322842011-08-20 Ulrich Drepper <drepper@gmail.com>
32285
0276a718
UD
32286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32287 the very first instruction.
32288
c88f1766
UD
32289 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32290 the CFI state in the end.
32291 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32292 inclusion of dl-trampoline.h.
32293 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32294
51ccffa0
AS
322952011-08-19 Andreas Schwab <schwab@redhat.com>
32296
94d7165f
AS
32297 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32298 expectations for long double.
32299
51ccffa0
AS
32300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32301 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32302
fd708658 323032011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32304
32305 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32306 artificual limit depends upon the system page size.
32307
44f0a71e
UD
323082011-08-17 Ulrich Drepper <drepper@gmail.com>
32309
32310 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32311 * resolv/Makefile: Define CFLAGS-libresolv.
32312
8de79a24
AS
323132011-08-17 Andreas Schwab <schwab@redhat.com>
32314
32315 * nss/makedb.c (compute_tables): Make variables used in nested
32316 function static.
32317
27724598
UD
323182011-08-17 Ulrich Drepper <drepper@gmail.com>
32319
c5305d88
UD
32320 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32321 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32322 if buffer was too small.
32323
27724598
UD
32324 * elf/pldd.c (main): Attach to all threads in the process.
32325 Rewrite /proc handling to use *at functions.
32326
076fe015
UD
323272011-08-16 Ulrich Drepper <drepper@gmail.com>
32328
174baab3
UD
32329 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32330 specifies first scope to show.
32331 (dl_open_worker): Update callers. Move printing scope of new
32332 object to before the relocation.
44f0a71e 32333 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32334 * sysdeps/generic/ldsodefs.h: Update declaration.
32335
076fe015
UD
32336 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32337 string for the scope number.
32338
a60df2c3
UD
323392011-08-14 Ulrich Drepper <drepper@gmail.com>
32340
32341 * nscd/servicescache.c (cache_addserv): Make sure written is always
32342 initialized.
32343
5e4287d1
RM
323442011-08-14 Roland McGrath <roland@hack.frob.com>
32345
85ae0589
RM
32346 * sysdeps/i386/i486/bits/atomic.h
32347 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32348 statement expression, so as to suppress "set but not used" warning.
32349 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32350
69f63097
RM
32351 * string/strncat.c (STRNCAT): Use prototype definition.
32352
675456ef
RM
32353 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32354 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32355 -Iprograms here.
32356 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32357 (localedef-modules): Add localedef.
32358 (locale-modules): Add locale.
32359
5e4287d1
RM
32360 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32361 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32362 to avoid a warning.
32363
9c96ff23
DM
323642011-08-14 David S. Miller <davem@davemloft.net>
32365
32366 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32367 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32368
f9ddf089
UD
323692011-08-13 Ulrich Drepper <drepper@gmail.com>
32370
44f0a71e 32371 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32372 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32373 * elf/rtld.c (dl_main): Set l_name of vDSO.
32374 Call _dl_show_scope when DL_DEBUG_SCOPES.
32375 (process_dl_debug): Recognize scopes flag and also set it for all.
32376 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32377 Declare _dl_show_scope.
32378
1dc27704
UD
32379 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32380 (do_dlopen): Pass caller_dlopen to dl_open.
32381 (__libc_dlopen_mode): Initialize caller_dlopen.
32382
f9ddf089
UD
32383 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32384 of libc. Make tolower call locale-independent. Optimize a bit by
32385 using isdigit instead of isalnum.
32386 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32387
9ac533d3
UD
323882011-08-12 Ulrich Drepper <drepper@gmail.com>
32389
32390 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32391 was a dependency or dynamically loaded.
32392
89edf2e9
UD
323932011-08-11 Ulrich Drepper <drepper@gmail.com>
32394
8e999d29
UD
32395 * intl/l10nflist.c: Allow architecture-specific pop function.
32396 * sysdeps/x86_64/l10nflist.c: New file.
32397
89edf2e9
UD
32398 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32399 classification.
32400
14d96785
AS
324012011-08-10 Andreas Schwab <schwab@redhat.com>
32402
32403 * include/dirent.h: Add libc_hidden_proto for scandirat and
32404 scandirat64. Don't declare __scandirat64.
32405 * dirent/scandirat.c: Add libc_hidden_def.
32406 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32407 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32408
6761ac04
DM
324092011-08-10 David S. Miller <davem@davemloft.net>
32410
32411 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32412 enum.
32413 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32414 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32415 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32416
c55fbd1e
UD
324172011-08-09 Ulrich Drepper <drepper@gmail.com>
32418
32419 * Versions.def [libc]: Add GLIBC_2.15.
32420 * dirent/Makefile (routines): Add scandirat and scandirat64.
32421 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32422 GLIBC_2.15.
32423 * dirent/dirent.h: Declare scandirat and scandirat64.
32424 * dirent/scandirat.c: New file.
32425 * dirent/scandirat64.c: New file.
32426 * sysdeps/wordsize-64/scandirat.c: New file.
32427 * sysdeps/wordsize-64/scandirat64.c: New file.
32428 * dirent/opendir.c: Define opendirat.
32429 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32430 using scandirat.
32431 * dirent/scandir64.c: Adjust for scandir.c change.
32432 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32433 __scandirat64, and __scandir_cancel_handler.
32434 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32435 additional parameter and use openat instead of open (outside of ld.so).
32436 Add new __opendir as wrapper around __opendirat.
32437 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32438 here without requiring old scandirat implementation.
32439
879165f2
UD
324402011-08-08 Ulrich Drepper <drepper@gmail.com>
32441
32442 * dirent/scandir.c (cancel_handler): Renamed to
32443 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32444 defined. Adjust users.
32445 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32446 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32447
cb7e923b
UD
324482011-08-04 Ulrich Drepper <drepper@gmail.com>
32449
16292edd
UD
32450 * string/test-string.h (IMPL): Use __STRING to expand name and then
32451 stringify it.
32452
cb7e923b
UD
32453 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32454 of cleanups.
32455
cff82933
LD
324562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32457
32458 * string/Makefile: Update.
32459 (strop-tests): Append strncat.
32460 * string/test-wcscmp.c: New file.
32461 New comprehensive test for wcscmp.
32462 * string/test-strcmp.c: Update.
32463 (WIDE): New define.
32464
9be9bfcc
AS
324652011-07-22 Andreas Schwab <schwab@redhat.com>
32466
32467 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32468 line.
32469
2e96f1c7
AS
324702011-07-26 Andreas Schwab <schwab@redhat.com>
32471
32472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32473 encoding to ACE if AI_IDN.
32474
85188888
JJ
324752011-08-01 Jakub Jelinek <jakub@redhat.com>
32476
32477 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32478 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32479
5fa16e9b
LD
324802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32481
32482 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32483 Fix overflow bug in strncat.
32484 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32485
32486 * string/test-strncat.c: Update.
32487 Add new tests for checking overflow bugs.
32488
324892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32490
32491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32492 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32493 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32494 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32495 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32496 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32497 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32498 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32499 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32500
32501 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32502 (USE_AS_STRCAT): Define.
32503 Add strcat and strncat support.
32504 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32505
8c1a459f
AS
325062011-07-25 Andreas Schwab <schwab@redhat.com>
32507
32508 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32509 __n bigger than INT_MAX+1.
32510 (__strncmp_g): Likewise.
32511
bba33c28
UD
325122011-07-23 Ulrich Drepper <drepper@gmail.com>
32513
798be72d
UD
32514 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32515 * libio/stido.h: Likewise.
32516
8accd4dc
UD
32517 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32518 (AF_NFC): Define.
32519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32520 (AF_NFC): Define.
32521
cbff0d96
UD
32522 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32525 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32526 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32527
9191c04a
UD
32528 [BZ #13021]
32529 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32530 installed.
32531
bba33c28
UD
32532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32533 typo.
32534 (_dl_x86_64_save_sse): Likewise.
32535
90f139dd
UD
325362011-07-22 Ulrich Drepper <drepper@gmail.com>
32537
1aae088a
UD
32538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32539 OSXSAVE.
32540 (_dl_x86_64_save_sse): Likewise.
32541
8e2045f5
UD
32542 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32543
90f139dd
UD
32544 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32545
1d002f25
AS
325462011-07-21 Andreas Schwab <schwab@redhat.com>
32547
32548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32549 change.
32550 (_dl_x86_64_save_sse): Use correct AVX check.
32551
21137f89
UD
325522011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32553
32554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32555 bug in strncpy/strncat.
32556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32557
a65c0b7a
UD
325582011-07-21 Ulrich Drepper <drepper@gmail.com>
32559
32560 * string/tester.c (test_strcat): Add tests for different alignments
32561 of source and destination.
32562 (test_strncat): Likewise.
32563
6986b98a
UD
325642011-07-20 Ulrich Drepper <drepper@gmail.com>
32565
90bb2039
UD
32566 [BZ #12852]
32567 * posix/glob.c (glob): Check passed in values before using them in
32568 expressions to avoid some overflows.
32569 (glob_in_dir): Likewise.
32570
5644ef54
UD
32571 [BZ #13007]
32572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32573 check for AVX enablement so that we don't crash with old kernels and
32574 new hardware.
32575 * elf/tst-audit4.c: Add same checks here.
32576 * elf/tst-audit6.c: Likewise.
32577
32578 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32579
bfc9dc9b
AS
325802011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32581
32582 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32583
702e64bb
UD
325842011-07-20 Ulrich Drepper <drepper@gmail.com>
32585
32586 * po/cs.po: Update from translation team.
32587 * po/bg.po: Likewise.
32588
295e904f
MP
325892011-07-12 Marek Polacek <mpolacek@redhat.com>
32590
32591 * misc/sys/cdefs.h: Add support for const attribute.
32592 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32593 to gnu_dev_{major,minor,makedev} functions.
32594
3ff94596
MP
325952011-07-20 Marek Polacek <mpolacek@redhat.com>
32596
32597 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32598
28b59fca
AS
325992011-07-20 Andreas Schwab <schwab@redhat.com>
32600
32601 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32602 strlen results.
32603
19df733e
AK
326042011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32605
32606 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32607 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32608 register in order to avoid conflicts with the soft frame pointer
32609 being held in r11 when necessary.
32610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32611 (INTERNAL_VSYSCALL_NCS): Likewise.
32612
c8835729
MP
326132011-07-14 Marek Polacek <mpolacek@redhat.com>
32614
32615 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32616 * elf/dl-fini.c (_dl_fini): Adjust caller.
32617 * elf/dl-close.c (_dl_close_worker): Likewise.
32618 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32619
b902330c
MP
326202011-07-15 Marek Polacek <mpolacek@redhat.com>
32621
8991e135
MP
32622 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32623 "aux_cache->nlibs < 0".
32624
b902330c
MP
32625 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32626 in the reload-count case.
32627
99710781
LD
326282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32629
32630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32631 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32632 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32633 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32634 * sysdeps/x86_64/multiarch/strcat.S: New file.
32635 * sysdeps/x86_64/multiarch/strncat.S: New file.
32636 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32637 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32638 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32639 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32641 (USE_AS_STRCAT): Define.
32642 Add strcat and strncat support.
32643 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32644 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32645 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32646 * string/strncat.c: Update.
32647 (USE_AS_STRNCAT): Define.
32648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32649 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32650 and i7.
32651 * sysdeps/x86_64/multiarch/init-arch.h
32652 (bit_Prefer_PMINUB_for_stringop): New.
32653 (index_Prefer_PMINUB_for_stringop): Likewise.
32654 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32655 bit_Prefer_PMINUB_for_stringop.
32656
7dc6bd90
UD
326572011-07-19 Ulrich Drepper <drepper@gmail.com>
32658
32659 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32660 buffer64.
32661 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32662 of casting of buffer.
32663 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32664 buffer32 and buffer64.
32665 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32666 writes instead of casting of buffer.
32667 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32668 buffer32.
32669 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32670 casting of buffer.
32671
e0e72284
AS
326722011-07-19 Andreas Schwab <schwab@redhat.com>
32673
32674 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32675
feb1eb0b
UD
326762011-07-19 Ulrich Drepper <drepper@gmail.com>
32677
32678 * nscd/nscd.c (termination_handler): Don't do anything for a database
32679 if it has not yet been initialized.
32680
298711ff
UD
326812011-07-18 Ulrich Drepper <drepper@gmail.com>
32682
32683 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32684
326852011-07-15 Marek Polacek <mpolacek@redhat.com>
32686
32687 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32688
f9d68389
UD
326892011-07-18 Ulrich Drepper <drepper@gmail.com>
32690
32691 * po/nl.po: Update from translation team.
32692 * po/sv.po: Likewise.
32693
db290cf5
RM
326942011-07-16 Roland McGrath <roland@hack.frob.com>
32695
32696 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32697 now disallowed by GCC.
5c550700 32698
fd5e21c7
RM
32699 * configure.in (use-default-link): Default to yes if a test -shared
32700 link meets our qualifications.
32701 * configure: Regenerated.
32702
5c550700
RM
32703 * config.make.in (output-format): New variable.
32704 * configure.in: Check for ld --print-output-format support.
32705 * configure: Regenerated.
32706 * Makerules ($(common-objpfx)format.lds)
32707 [$(output-format) != unknown]: Just use $(output-format),
32708 instead of the linker-script munging.
32709
9fa2c032
RM
327102011-07-14 Roland McGrath <roland@hack.frob.com>
32711
a6928d51
RM
32712 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32713 of $(common-objpfx)shlib.lds.
32714 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32715
661607b3
RM
32716 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32717 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32718
9fa2c032
RM
32719 * configure.in (-z relro check): Adjust test code to add a large
32720 writable data section after it.
32721 * configure: Regenerated.
32722
defe9061
RM
327232011-07-11 Roland McGrath <roland@hack.frob.com>
32724
32725 * configure.in (-z relro check): Fix test code to make the variable
32726 truly const.
32727 * configure: Regenerated.
32728
319b9ad4
UD
327292011-07-11 Ulrich Drepper <drepper@gmail.com>
32730
32731 * nscd/nscd.h (struct traced_file): Define.
32732 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32733 elements. Add traced_files.
32734 (inotify_fd): Declare.
32735 (register_traced_file): Declare.
32736 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32737 (inotify_fd): Export.
32738 (resolv_conf_descr): Remove.
32739 (nscd_init): Move inotify descriptor creation to main.
32740 Don't register files for notification here.
32741 (register_traced_file): New function.
32742 (invalidate_cache): Don't use reset_res to determine whether to call
32743 res_init, go through the list of registered files.
32744 (main_loop_poll): The inotify descriptors are now stored in the
32745 structures for the traced files.
32746 (main_loop_epoll): Likewise
32747 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32748 to __nss_disable_nscd.
32749 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32750 for a database anymore. Check the records for all the registered
32751 files instead.
32752 * nss/Makefile (libnss_files-routines): Add files-init.
32753 (libnss_db-routines): Add db-init.
32754 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32755 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32756 * nss/nss_db/db-init.c: New file.
32757 * nss/nss_files/files-init.c: New file.
32758 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32759 __nss_lookup_function.
32760 (__nss_lookup_function): Call nss_load_library.
32761 (nss_load_all_libraries): New function.
32762 (__nss_disable_nscd): Take parameter with callback function for files
32763 to register. Set is_nscd. Load all the DSOs for the NSS modules
32764 used for the cached services.
32765 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32766 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32767 options for features to all the files in nscd.
32768
32769 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32770
23bee3e8
RM
327712011-07-10 Roland McGrath <roland@hack.frob.com>
32772
32773 * csu/elf-init.c (__libc_csu_init): Comment typo.
32774
46a5b7f0
UD
327752011-07-09 Ulrich Drepper <drepper@gmail.com>
32776
32777 * po/pl.po: Update from translation team.
32778 * po/ja.po: Likewise.
32779 * po/ru.po: Likewise.
32780 * po/ko.po: Likewise.
32781 * po/fr.po: Likewise.
32782
d30cf5bb
RM
327832011-07-09 Roland McGrath <roland@hack.frob.com>
32784
113ddea4
RM
32785 * configure.in (.ctors/.dtors header and trailer check):
32786 Use an empirical test on a built program.
32787 * configure: Regenerated.
32788
574920b4
RM
32789 * configure.in (-z relro check): Use an empirical test on a built DSO.
32790 Detect, but do not require, on ia64.
32791 * configure: Regenerated.
32792
d30cf5bb
RM
32793 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32794 Update tests that use readelf to use $READELF instead.
32795 * configure: Regenerated.
32796
8538fdb3
UD
327972011-07-08 Ulrich Drepper <drepper@gmail.com>
32798
32799 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32800 if the result is not used.
32801
04d08991
AJ
328022011-07-05 Andreas Jaeger <aj@suse.de>
32803
32804 [BZ#9696]
32805 * stdlib/tst-strtod.c: Add testcase.
32806
de283087
AD
328072011-07-07 Ulrich Drepper <drepper@gmail.com>
32808
4e5f31c8 32809 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32810 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32811 The latter has a higher limit. Take additional parameter to pass to
32812 the new function.
32813 (__pathconf): Pass file to __statfs_link_max.
32814 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32815 __statfs_link_max.
32816 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32817 __statfs_link_max.
32818
de283087
AD
32819 [BZ #12868]
32820 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32821 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32822 Handle Lustre.
32823 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32824 (__statfs_filesize_max): Likewise.
32825 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32826
c75fa153
AJ
328272011-07-05 Andreas Jaeger <aj@suse.de>
32828
32829 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32830
1a544854
UD
328312011-07-06 Marek Polacek <mpolacek@redhat.com>
32832
32833 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32834 `status' variable.
32835 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32836 Likewise.
32837
6f0eec67
UD
328382011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32839
32840 * Makefile (strop-tests): Add strncat.
32841 * string/test-strncat.c: New file.
32842
aae30307
UD
328432011-06-30 Marek Polacek <mpolacek@redhat.com>
32844
32845 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32846
c0cfb5eb
UD
328472011-06-21 Andreas Jaeger <aj@suse.de>
32848
32849 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32850 Copy rule from iconvdata/Makefile.
32851
01636b21
UD
328522011-07-06 Ulrich Drepper <drepper@gmail.com>
32853
32854 [BZ #12922]
32855 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32856 but no long options are defined, just return 'W'.
32857
9895c8bc
UD
328582011-06-22 Marek Polacek <mpolacek@redhat.com>
32859
32860 [BZ #9696]
32861 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32862
5d4cf042
UD
328632011-07-06 Ulrich Drepper <drepper@gmail.com>
32864
32865 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32866 netgroups to read.
960e5535 32867 (innetgr): Likewise.
5d4cf042 32868
751eb97e
RM
328692011-07-05 Roland McGrath <roland@hack.frob.com>
32870
32871 * config.make.in (install_root): Default to $(DESTDIR).
32872
f15f1e45
UD
328732011-07-05 Ulrich Drepper <drepper@gmail.com>
32874
32875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32876
4e34ac6a
RM
328772011-07-02 Roland McGrath <roland@hack.frob.com>
32878
5e9b6af4
RM
32879 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32880
84f9ea0f
RM
32881 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32882 containing directory rather than embedding absolute directory names.
32883
ea5ee9f7
RM
32884 * scripts/check-local-headers.sh: Rewritten using awk.
32885 Match by word, not by line. Print error messages for matches.
32886 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32887
1b74661a
RM
32888 * Makerules [shlib-lds-flags empty]:
32889 ($(common-objpfx)libc_pic.opts): New target.
32890 ($(common-objpfx)libc_pic.os.clean): New target.
32891 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32892
32893 * config.make.in (OBJCOPY): New variable.
32894 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32895 * configure: Regenerated.
32896
f781ef40
RM
32897 * config.make.in (use-default-link): New variable.
32898 * configure.in (use_default_link): Grok --with-default-link to set it.
32899 * configure: Regenerated.
32900 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32901 (shlib-lds, shlib-lds-flags): Define to empty.
32902
2d4fa81e
RM
32903 * Makerules (shlib-lds): New variable.
32904 (shlib-lds-flags): New variable.
32905 (build-shlib, build-moduile, build-module-asneeded): Use it.
32906 ($(common-objpfx)libc.so): Use $(shlib-lds).
32907 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32908 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32909
31fffa6b
RM
32910 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32911 DT_FLAGS/DT_FLAGS_1 with zero flags.
32912
4e34ac6a
RM
32913 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32914 linker script munging.
32915
fcfc776b
UD
329162011-07-02 Ulrich Drepper <drepper@gmail.com>
32917
32918 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32919 as 128-bit value.
32920 * crypt/sha512.c (sha512_process_block): Perform total addition using
32921 128-bit if possible.
32922 (__sha512_finish_ctx): Likewise.
32923 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32924 as 64-bit value.
32925 * crypt/sha256.c (SWAP64): Define.
32926 (sha256_process_block): Perform total addition using 64-bit if
32927 possible.
32928 (__sha256_finish_ctx): Likewise.
32929
99231d9a
UD
329302011-07-01 Ulrich Drepper <drepper@gmail.com>
32931
32932 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32933 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32934 * nscd/hstcache.c (cache_addhst): Likewise.
32935 * nscd/grpcache.c (cache_addgr): Likewise.
32936 * nscd/aicache.c (addhstaiX): Likewise
32937 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32938
445b4a53
TK
329392011-07-01 Thorsten Kukuk <kukuk@suse.de>
32940
32941 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32942 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32943 * nscd/hstcache.c (cache_addhst): Likewise.
32944 * nscd/grpcache.c (cache_addgr): Likewise.
32945 * nscd/aicache.c (addhstaiX): Likewise
32946
6d4d8e8e
AS
329472011-07-01 Andreas Schwab <schwab@redhat.com>
32948
32949 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32950 domain only when needed.
32951
89f654c5
AS
329522011-06-30 Andreas Schwab <schwab@redhat.com>
32953
32954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32955 is always restored.
32956
cf3b23ff
UD
329572011-06-29 Ulrich Drepper <drepper@gmail.com>
32958
32959 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32960 are re-adding the entry.
32961 * nscd/servicescache.c (cache_addserv): Likewise.
32962
751626f9
AJ
329632011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32964
32965 * sysdeps/generic/dl-irel.h: fix protection against multiple
32966 inclusions.
32967 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32968
9113ea1f
UD
329692011-06-28 Ulrich Drepper <drepper@gmail.com>
32970
5c0b8d90
UD
32971 [BZ #12935]
32972 * malloc/memusage.sh: Fix quoting in message.
32973 * debug/xtrace.sh: Likewise.
32974
9113ea1f
UD
32975 * configure.in: Remove support for --experimental-malloc option, make
32976 it the default.
32977 * config.make.in: Likewise.
32978 * malloc/Makefile: Likewise.
32979
a4172181
AS
329802011-06-27 Andreas Schwab <schwab@redhat.com>
32981
32982 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32983 two-byte characters.
32984
78a7eee7
RM
329852011-06-27 Roland McGrath <roland@hack.frob.com>
32986
62bede13
RM
32987 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32988 AC_CACHE_CHECK invocation.
32989 * configure: Regenerated.
32990
78a7eee7
RM
32991 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32992
5ce33a62
UD
329932011-06-27 Ulrich Drepper <drepper@gmail.com>
32994
034807a9
UD
32995 [BZ #12350]
32996 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32997 bit from old_res_options.
32998
4902da17
UD
32999 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33000
5ce33a62
UD
33001 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33002 value type for setfct.
33003
c2344f56
L
330042011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33005
33006 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33007 __gettimeofday instead of gettimeofday.
33008
68468076
UD
330092011-06-26 Ulrich Drepper <drepper@gmail.com>
33010
33011 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33012
acb0d739
L
330132011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33014
33015 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33016
33017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33018 info.
33019
8912479f
L
330202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33021
33022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33023 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33024 strcpy-sse2-unaligned strncpy-sse2-unaligned
33025 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33026 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33027 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33028 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33029 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33030 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33032 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33033 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33034 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33035 (STRCPY): Support SSE2 and SSSE3 versions.
33036
d5495a11
UD
330372011-06-24 Ulrich Drepper <drepper@gmail.com>
33038
33039 [BZ #12874]
33040 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33041 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33042 kernels which artificially limit size of requests.
33043
0b1cbaae
L
330442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33045
33046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33047 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33048 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33049 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33050 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33051 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33052 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33053 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33054 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33056 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33057 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33058 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33059 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33060 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33062 Enable unaligned load optimization for Intel Core i3, i5 and i7
33063 processors.
33064 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33065 Define.
33066 (index_Fast_Unaligned_Load): Define.
33067 (HAS_FAST_UNALIGNED_LOAD): Define.
33068
07f494a0
MP
330692011-06-23 Marek Polacek <mpolacek@redhat.com>
33070
33071 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33072
fa3fc0fe
UD
330732011-06-22 Ulrich Drepper <drepper@gmail.com>
33074
33075 [BZ #12907]
33076 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33077 until it is clear that the information is realy needed.
33078 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33079
e12df166
AS
330802011-06-22 Andreas Schwab <schwab@redhat.com>
33081
33082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33083
852eb34d
UD
330842011-06-22 Ulrich Drepper <drepper@gmail.com>
33085
84e2a551
UD
33086 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33087 /sys/devices/system/cpu/online if it is usable.
33088
852eb34d
UD
33089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33090 reading the information from the /proc filesystem to once a second.
33091
6e502e19
UD
330922011-06-21 Andreas Jaeger <aj@suse.de>
33093
33094 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33095 NULL after inclusion of kernel headers.
33096
75d39ff2
UD
330972011-06-21 Ulrich Drepper <drepper@gmail.com>
33098
51f9aa6a
UD
33099 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33100 calls to internal_setent.
33101
c0244a9d
UD
33102 [BZ #12885]
33103 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33104 addresses using gethostbyname4_r ignore IPv4 addresses.
33105
c5e3c2ae
UD
33106 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33107 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33108
75d39ff2
UD
33109 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33110
42675c6f
DM
331112011-06-20 David S. Miller <davem@davemloft.net>
33112
33113 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33114 inclusions.
33115 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33116
33117 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33118 (elf_irel): Use it.
33119 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33120 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33121 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33122 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33123 * sysdeps/x86_64/dl-irel.h: Likewise.
33124
33125 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33126 * elf/dl-sym.c: Likewise.
33127
57912a71
UD
331282011-06-15 Ulrich Drepper <drepper@gmail.com>
33129
33130 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33131 need to dereference resplen2.
33132
ee22793d
AS
331332011-06-14 Andreas Schwab <schwab@redhat.com>
33134
33135 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33136
a9e836b0
UD
331372011-06-15 Ulrich Drepper <drepper@gmail.com>
33138
77fb9117
UD
33139 * Makeconfig: Define vardbdir and inst_vardbdir.
33140 * nss/Makefile: Add rules to install db-Makefile.
33141
40c1b22c
UD
33142 * nss/nss_db/db-XXX.c: Cleanup.
33143
9f2da732
UD
33144 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33145 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33146 GLIBC_PRIVATE.
33147 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33148 * nss/makedb.c: Implement -g option to specify that value strings
33149 are generated and should not be added to table iterated over for
33150 get*ent calls.
33151 * nss/nss_db/db-initgroups.c: New file.
33152
82e9a1f7
UD
33153 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33154 interface.
33155
c41af17e
UD
33156 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33157 (internal_getgrouplist): Adjust to name change.
33158 Update use_initgroups_entry if this is not the first call.
33159 * nss/databases.def: Add initgroups entry.
33160
a9e836b0
UD
33161 * nss/makedb.c (compute_tables): Check result of multiple hash table
33162 sizes to minimize maximum chain length.
33163
2666d441
UD
331642011-06-14 Ulrich Drepper <drepper@gmail.com>
33165
33166 * Versions.def: Add entry for libnss_db.
33167 * shlib-versions: Likewise.
33168 * nss/Makefile: Add rules to build libnss_db.
33169 * nss/Versions: Add libnss_db information. Organize libnss_files
33170 entries better.
33171 * nss/db-Makefile: Add gshadow support. Change rules for the new
33172 makedb progra. Some minor improvements to generate smaller files.
33173 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33174 here from...
33175 * nss/makedb.c: ...here.
33176 Improve database format to be smaller and require less memory at
33177 runtime.
33178 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33179 db anymore.
33180 * nss/nss_db/db-netgrp.c: Likewise.
33181 * nss/nss_db/db-open.c: Likewise.
33182 * nss/nss_files/flies-XXX.x: Adjust comments.
33183 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33184 * nss/nss_files/files-grp.c: Likewise.
33185 * nss/nss_files/files-hosts.c: Likewise.
33186 * nss/nss_files/files-network.c: Likewise.
33187 * nss/nss_files/files-proto.c: Likewise.
33188 * nss/nss_files/files-pwd.c: Likewise.
33189 * nss/nss_files/files-rpc.c: Likewise.
33190 * nss/nss_files/files-service.c: Likewise.
33191 * nss/nss_files/files-sgrp.c: Likewise.
33192 * nss/nss_files/files-spwd.c: Likewise.
33193 * nss/nss_db/db-alias.c: Removed.
33194 * nss/nss_db/dummy-db.h: Removed.
33195
9ee76b5a
UD
331962011-06-02 Ulrich Drepper <drepper@gmail.com>
33197
33198 * nss/makedb.c: Rewritten to not use database library.
33199 * nss/Makefile: Update to build new makedb program.
33200
c71ca1f8
AJ
332012011-06-14 Andreas Jaeger <aj@suse.de>
33202
33203 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33204 memset declaration.
33205
3154bfb8
UD
332062011-06-10 Andreas Schwab <schwab@redhat.com>
33207
33208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33209 tmpbuf.
33210
b350afab
RM
332112011-06-10 Roland McGrath <roland@hack.frob.com>
33212
decd4e50
RM
33213 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33214 * elf/Makefile ($(objpfx)ld.so): Likewise.
33215
5615eaf2
RM
33216 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33217 Don't list ld.so twice in dependencies.
33218
33219 * posix/bug-regex31.c: Include <stdlib.h>.
33220
33221 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33222
33223 * nis/nss_compat/compat-spwd.c
33224 (getspent_next_nss_netgr): Remove unused variable.
33225 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33226
33227 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33228 nonmembers" output to use the right array.
33229
33230 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33231
33232 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33233
33234 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33235 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33236 * catgets/gencat.c (read_input_file): Likewise.
33237 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33238
33239 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33240 variable definition inside #if's controlling its use.
33241
33242 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33243
33244 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33245
33246 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33247
33248 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33249 unreachable code.
33250
33251 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33252
b68e08db
RM
33253 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33254 * configure: Regenerated.
33255
b350afab
RM
33256 * Makerules: Revert last change.
33257 * elf/Makefile: Likewise.
33258
28368601
RM
332592011-06-09 Roland McGrath <roland@hack.frob.com>
33260
33261 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33262 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33263 (reloc-link): Likewise.
33264
11988f8f
UD
332652011-06-09 Ulrich Drepper <drepper@gmail.com>
33266
33267 * elf/Makefile: Add rules to build pldd.
33268 * elf/pldd.c: New file.
33269 * elf/pldd-xx.c: New file.
33270
e80fab37
UD
332712011-06-07 Ulrich Drepper <drepper@gmail.com>
33272
33273 * version.h: Update for 2.15 development version.
33274
9b849836
DM
332752011-06-07 David S. Miller <davem@davemloft.net>
33276
33277 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33278 ifuncs.
33279 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33280 elf_machine_lazy_rel): Likewise.
33281 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33283 elf_machine_lazy_rel): Likewise.
33284 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33285 dl_hwcap via passed in argument.
33286 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33287 Likewise.
33288
5a31b283
AK
332892011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33290
33291 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33292
069e52f8
RM
332932011-06-06 Roland McGrath <roland@hack.frob.com>
33294
33295 [BZ #12849]
33296 * manual/fdl-1.1.texi: New file, verbatim from:
33297 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33298 * manual/lgpl-2.1.texi: New file, verbatim from:
33299 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33300 * manual/Makefile (licenses): New variable, list those new file names.
33301 (texis): Use it.
33302 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33303
33304 * manual/fdl.texi: File removed.
33305 * manual/lesser.texi: File removed.
33306 * manual/libc.texinfo (Copying, Documentation License):
33307 Use new @include file names, put @appendix directive before @include.
33308
f16846a5
JJ
333092011-06-04 Jakub Jelinek <jakub@redhat.com>
33310
33311 [BZ #12841]
33312 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33313 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33314 (mq_open): Add __NTH.
33315
3d29045b
L
333162011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33317
33318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33319 Assume Intel Core i3/i5/i7 processor if AVX is available.
33320
8c297311
UD
333212011-05-31 Ulrich Drepper <drepper@gmail.com>
33322
33323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33324 typo.
33325
c8fc0c91
UD
333262011-05-31 Andreas Schwab <schwab@redhat.com>
33327
33328 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33329 memory. Use alloca_account. Fix memory leak when retrying.
33330
5b27a807
UD
333312011-05-31 Ulrich Drepper <drepper@gmail.com>
33332
356f8bc6
UD
33333 * version.h (RELEASE): Bump for 2.14 release.
33334 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33335
5b27a807
UD
33336 * config.make.in (RANLIB): Remove entry.
33337
01f16ab0
UD
333382011-05-30 Ulrich Drepper <drepper@gmail.com>
33339
41fce8bd
UD
33340 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33341 (libc.pot): Work around missing support for .ksh extension in xgettext.
33342
4769ae77
UD
33343 [BZ #12684]
33344 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33345 if both request failed.
33346 (send_dg): In case of server errors clear resplen or *resplen2.
33347
6b1e7d19
UD
33348 [BZ #12454]
33349 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33350 when there are multiple maps.
33351 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33352 (_dl_fini): Remove test here.
33353
01f16ab0
UD
33354 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33355
b1ebd700
UD
333562011-05-29 Ulrich Drepper <drepper@gmail.com>
33357
7ae22829
UD
33358 [BZ #12350]
33359 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33360 bit from old_res_options.
33361 (gaih_inet): Likewise.
33362
553149f6 33363 [BZ #11099]
18a84741 33364 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33365 as signed.
33366
652ffab1
UD
33367 * resolv/res_init.c (res_setoptions): Make the code more compact.
33368
16985fd0
UD
33369 [BZ #11558]
33370 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33371 set RES_USEVC.
33372
0464f746
UD
33373 [BZ #11634]
33374 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33375
7d17596c
UD
33376 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33377
cf6bbbd7
UD
33378 [BZ #11781]
33379 * malloc/malloc.h: Declare malloc hook variables as volatile.
33380
13f1ab36
UD
33381 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33382 in last patch.
33383
b1ebd700
UD
33384 [BZ #11799]
33385 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33386 raise in the comment.
80e2212d
UD
33387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33388 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33389 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33390
ce67228d
UD
333912011-05-28 Ulrich Drepper <drepper@gmail.com>
33392
8887a920
UD
33393 [BZ #12811]
33394 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33395 grow the buffers more if it already has to be sufficient.
33396 (build_wcs_upper_buffer): Likewise.
33397 * posix/regexec.c (check_matching): Likewise.
33398 (clean_state_log_if_needed): Likewise.
33399 (extend_buffers): Don't enlarge buffers beyond size of the input
33400 buffer.
33401 Patches mostly by Emil Wojak <emil@wojak.eu>.
33402 * posix/bug-regex32.c: New file.
33403 * posix/Makefile (tests): Add bug-regex32.
33404
4f031072
UD
33405 * locale/findlocale.c (_nl_find_locale): Return right away if
33406 _nl_explode_name failed.
33407 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33408
d0478f0c
UD
33409 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33410
de81b246
UD
33411 * debug/xtrace.sh: Unify messages.
33412 * malloc/memusage.sh: Likewise.
33413
c738465a
UD
33414 [BZ #12813]
33415 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33416 time symbol from vDSO. Substitute with vsyscall if not available.
33417 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33418 __vdso_time.
33419
f1f929d7
UD
33420 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33421 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33422 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33423 Add sendmmsg and internal_sendmmsg.
33424 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33425 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33426 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33427
ce67228d
UD
33428 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33429 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33430 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33431
e57420c6
UD
334322011-05-27 Ulrich Drepper <drepper@gmail.com>
33433
a8509ca5
UD
33434 [BZ #12813]
33435 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33436 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33437 available.
33438 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33439 __vdso_getcpu.
33440
e57420c6
UD
33441 [BZ #12814]
33442 * iconvdata/Makefile (tests): Add bug-iconv9.
33443 * iconvdata/bug-iconv9.c: New file.
33444
4d07db15
AS
334452011-05-27 Andreas Schwab <schwab@redhat.com>
33446
33447 [BZ #12814]
33448 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33449
ea486f69
JJ
334502011-05-25 Jakub Jelinek <jakub@redhat.com>
33451
33452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33453 (struct user_regs_struct): Change intcs field back to cs.
33454
6f038433
UD
334552011-05-25 Ulrich Drepper <drepper@gmail.com>
33456
33457 * po/ja.po: Update from translation team.
33458
67f86a25
UD
334592011-05-23 Ulrich Drepper <drepper@gmail.com>
33460
33461 [BZ #12795]
33462 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33463 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33464
def7fbd6
AS
334652011-05-20 Andreas Schwab <schwab@redhat.com>
33466
33467 * stdlib/longlong.h: Update from GCC.
33468
f50ef8f1
AS
334692011-05-23 Andreas Schwab <schwab@redhat.com>
33470
33471 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33472 parameter name.
33473 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33474 Add parameter name.
33475 (__sysconf): Pass it down.
33476
de7ce8f1
UD
334772011-05-22 Ulrich Drepper <drepper@gmail.com>
33478
f2962a71
UD
33479 [BZ #12671]
33480 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33481 some situations.
33482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33483 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33484 add in in __libc_use_alloca calls. Adjust callers.
33485 (glob): Use malloc in some situations.
33486
de7ce8f1
UD
33487 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33488 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33489 pltexit.
33490
aec84f53
UD
334912011-05-21 Ulrich Drepper <drepper@gmail.com>
33492
05bb4a68
UD
33493 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33494 and CLOCK_BOOTTIME_ALARM.
33495
7ea72f99
UD
33496 [BZ #12782]
33497 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33498 is returned.
33499
7e4afad5
UD
33500 * string/_strerror.c (__strerror_r): Print negative errors as signed
33501 numbers.
33502
8e211fec
UD
33503 [BZ #12777]
33504 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33505 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33506 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33507
f7d82dc9
UD
33508 * configure.in: Fix typo in redirection and correct removal of test
33509 files in two cases.
33510
cc9e536d
UD
33511 [BZ #12788]
33512 * locale/setlocale.c (new_composite_name): Fix test to check for
33513 identical name of all categories.
33514
aec84f53
UD
33515 [BZ #12792]
33516 * libio/filedoalloc.c (local_isatty): New function.
33517 (_IO_file_doallocate): Use local_isatty.
33518 * stdio-common/perror.c (perror): In case a new stream is used
33519 forward the stream error.
33520 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33521 error flag.
33522
78e64fdc
RT
335232011-05-20 Ulrich Drepper <drepper@gmail.com>
33524
34a9094f
UD
33525 [BZ #11869]
33526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33527 alloca.
33528 * include/alloca.h (extend_alloca_account): Define.
33529
78e64fdc
RT
33530 [BZ #11857]
33531 * posix/regex.h: Fix comments with documentation of user-accessible
33532 fields after compilation and describe correct free'ing of pattern
33533 after re_compile_pattern.
33534 Patch by Reuben Thomas <rrt@sc3d.org>.
33535
457bddfc
RA
335362011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33537
33538 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33539 and -mno-altivec to prevent the compiler from using Altivec and/or
33540 VSX instructions when the corresponding registers are not available.
33541
a4527b51
AS
335422011-05-19 Andreas Schwab <schwab@redhat.com>
33543
33544 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33545
ed690b2f
UD
335462011-05-19 Ulrich Drepper <drepper@gmail.com>
33547
33548 * libio/freopen.c (freopen): Use __dup2, not dup2.
33549 * libio/freopen64.c (freopen64): Likewise.
33550
8db73634
L
335512011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33552
33553 [BZ #12775]
33554 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33555 * math/Makefile (tests): Add test-powl.
33556 (CFLAGS-test-powl.c): Define.
33557 * math/test-powl.c: New file.
33558
0a197a9d
L
335592011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33560
33561 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33562
ee30c380
UD
335632011-05-17 Ulrich Drepper <drepper@gmail.com>
33564
33565 [BZ #11837]
33566 * iconvdata/gb18030.c: Update to GB18020-2005.
33567
6ce75379
UD
335682011-05-16 Ulrich Drepper <drepper@gmail.com>
33569
a4b89fd8
AR
33570 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33571 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33572 Patch by Aharon Robbins <arnold@skeeve.com>.
33573
ea389b12
UD
33574 [BZ #11892]
33575 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33576 on the stack.
33577
68a3f91f
UD
33578 [BZ #11895]
33579 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33580 through underflows.
33581
15cc7dd1
UD
33582 [BZ #12766]
33583 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33584 point to strings before performing equality test for error_one_per_line
33585 mode.
33586
f3799213
UD
33587 [BZ #11697]
33588 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33589
d79a9c94
UD
33590 [BZ #11820]
33591 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33592 (struct user_fpregs_struct): Avoid __uint*_t types.
33593
56e5eb46
UD
33594 [BZ #6420]
33595 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33596 symbol info. Use it instead of calling _dl_addr locally.
33597 (lock_and_info): New function.
33598 (tr_freehook): Call lock_and_info and pass symbol info as additional
33599 parameter to tr_where.
33600 (tr_mallochook): Likewise.
33601 (tr_reallochook): Likewise.
33602 (tr_memalignhook): Likewise.
33603
6ce75379
UD
33604 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33605 used and couldn't be at all thread-safe.
33606
f8a3b5bf
UD
336072011-05-15 Ulrich Drepper <drepper@gmail.com>
33608
94b7cc37
UD
33609 * libio/freopen.c (freopen): Don't close old file descriptor
33610 before the new one is opened. Instead dup the new file descriptor
33611 to the old one after the new stream is created.
33612 * libio/freopen64.c (freopen64): Likewise.
33613 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33614 * libio/fileops.c (_IO_new_file_close_it): Handle new
33615 _IO_FLAGS2_NOCLOSE flag.
33616 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33617 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33618 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33619 _IO_FLAGS2_NOCLOSE flag.
33620 * include/unistd.h: Add hidden_proto for dup3.
33621 Define __have_dup3.
33622 * io/dup3.c: Define hidden symbol.
33623 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33624
bd25564e
UD
33625 [BZ #7101]
33626 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33627 when an incomplete long option is used.
33628 * posix/tst-getopt_long1.c: New file.
33629 * posix/Makefile (tests): Add tst-getopt_long1.
33630
c84cfef4
UD
33631 [BZ #10138]
33632 * scripts/config.guess: Update from autoconf-2.68.
33633 * scripts/config.sub: Likewise.
33634
3b85df27
UD
33635 [BZ #10157]
33636 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33637 tests into ...
33638 (has_cpuclock): ...this. New function.
33639 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33640 macro here based on has_cpuclock code.
33641
15a856b1
UD
33642 [BZ #10149]
33643 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33644 First byte (not low byte) is now always NUL.
33645 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33646
05f399e6
UD
33647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33648 Use non-cancelable interfaces.
33649
10a52685 33650 [BZ #9809]
94ecc67d
UD
33651 * locale/iso-639.def: Add entry for Sorani.
33652
f8a3b5bf
UD
33653 [BZ #11901]
33654 * include/stdlib.h: Move include protection to the right place.
33655 Define abort_msg_s. Declare __abort_msg with it.
33656 * stdlib/abort.c (__abort_msg): Adjust type.
33657 * assert/assert.c (__assert_fail_base): New function. Majority
33658 of code from __assert_fail. Allocate memory for __abort_msg with
33659 mmap.
33660 (__assert_fail): Now call __assert_fail_base.
33661 * assert/assert-perr.c: Remove bulk of implementation. Use
33662 __assert_fail_base.
33663 * include/assert.hL Declare __assert_fail_base.
33664 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33665 mmap.
33666 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33667
1af4e298
UD
336682011-05-14 Ulrich Drepper <drepper@gmail.com>
33669
f8a3b5bf 33670 [BZ #11952]
d26dfc60
MG
33671 [BZ #12453]
33672 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33673 until all modules are registered in the DTV.
33674 * elf/Makefile: Add rules to build and run tst-tls19.
33675 * elf/tst-tls19.c: New file.
33676 * elf/tst-tls19mod1.c: New file.
33677 * elf/tst-tls19mod2.c: New file.
33678 * elf/tst-tls19mod3.c: New file.
33679 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33680
2fc54d6f
UD
33681 [BZ #12083]
33682 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33683 correctly.
33684
98d76b46
UD
33685 [BZ #12601]
33686 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33687 two-byte sequence errors.
33688 * iconvdata/Makefile (tests): Add bug-iconv8.
33689 * iconvdata/bug-iconv8.c: New file.
33690
da3c19ef
UD
33691 [BZ #12626]
33692 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33693 buf2 definition.
33694
ca408c15
UD
33695 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33696
d6f67f7d
UD
33697 [BZ #12432]
33698 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33699 (dummy_getcfa): New function.
33700 (init): Get _Unwind_GetCFA address, use dummy if not found.
33701 (backtrace_helper): In recursion check, also check whether CFA changes.
33702 (__backtrace): Completely initialize arg.
33703
1af4e298 33704 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33705 storing incomplete byte sequence in state object. Avoid testing for
33706 guaranteed too small input if we know there is enough data available.
1af4e298 33707
da62f81b
AS
337082011-05-11 Andreas Schwab <schwab@redhat.com>
33709
33710 * Makeconfig (+link-pie): Indent.
33711 * Rules (binaries-pie): Define if $(have-fpie) and
33712 $(build-shared).
33713 (binaries-shared): Also filter out $(binaries-pie).
33714 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33715 * nscd/Makefile (others-pie): Add nscd.
33716 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33717 ($(objpfx)nscd): Remove command override.
33718 * login/Makefile (others-pie): Add pt_chown.
33719 ($(objpfx)pt_chown): Remove command override.
33720 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33721 remove command overrides.
33722
fcabc0f8
UD
337232011-05-13 Ulrich Drepper <drepper@gmail.com>
33724
20030ae6
UD
33725 * libio/tst_putwc.c: Fix error messages.
33726
fcabc0f8
UD
33727 [BZ #12724]
33728 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33729 currently writing and seek to current position when not.
33730 * libio/Makefile (tests): Add bug-fclose1.
33731 * libio/bug-fclose1.c: New file.
33732
320a5dc0
PB
337332011-05-12 Ulrich Drepper <drepper@gmail.com>
33734
33735 [BZ #12511]
33736 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33737 don't set DF_1_NODELETE here.
33738 (do_lookup_x): When entering new entry test for copy relocation
33739 and if necessary set DF_1_NODELETE flag.
33740 * elf/tst-unique4.cc: New file.
33741 * elf/tst-unique4.h: New file.
33742 * elf/tst-unique4lib.cc: New file.
33743 * elf/Makefile: Add rules to build and run tst-unique4.
33744 Patch by Piotr Bury <pbury@goahead.com>.
33745
22836f52
UD
337462011-05-11 Ulrich Drepper <drepper@gmail.com>
33747
f574184a
UD
33748 [BZ #12052]
33749 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33750
e1fb097f
UD
33751 [BZ #12625]
33752 * misc/mntent_r.c (addmntent): Flush the stream after the output
33753
22836f52
UD
33754 [BZ #12393]
33755 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33756 (is_trusted_path_normalize): Skip initial colon. Append slash
33757 to empty buffer. Duplicate is_trusted_path code but allow
33758 constructed patch to be prefix.
33759 (is_dst): Allow $ORIGIN followed by /.
33760 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33761 Correct testing of result of is_trusted_path_normalize
33762 (decompose_rpath): Fix warning.
33763
7b3b0b2a
UD
337642011-05-10 Ulrich Drepper <drepper@gmail.com>
33765
33766 [BZ #11257]
33767 * grp/initgroups.c (internal_getgrouplist): When we found the service
33768 list through the initgroups entry in nsswitch.conf do not always
33769 continue on a successful lookup. Don't always use the
eac80ce2 33770 __nss_group_database value if it is set.
7b3b0b2a
UD
33771 * nss/nsswitch.conf (initgroups): Change action for successful db
33772 lookup to continue for compatibility.
33773
2a81eaa5
UD
337742011-05-09 Ulrich Drepper <drepper@gmail.com>
33775
be97a69e
UD
33776 [BZ #11532]
33777 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33778 and CP774 modules.
33779 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33780 and CP774 modules.
33781 * iconvdata/tst-tables.sh: Likewise.
33782 * iconvdata/cp770.c: New file.
33783 * iconvdata/cp771.c: New file.
33784 * iconvdata/cp772.c: New file.
33785 * iconvdata/cp773.c: New file.
33786 * iconvdata/cp774.c: New file.
33787 * iconvdata/testdata/CP770: New file.
33788 * iconvdata/testdata/CP770..UTF8: New file.
33789 * iconvdata/testdata/CP771: New file.
33790 * iconvdata/testdata/CP771..UTF8: New file.
33791 * iconvdata/testdata/CP772: New file.
33792 * iconvdata/testdata/CP772..UTF8: New file.
33793 * iconvdata/testdata/CP773: New file.
33794 * iconvdata/testdata/CP773..UTF8: New file.
33795 * iconvdata/testdata/CP774: New file.
33796 * iconvdata/testdata/CP774..UTF8: New file.
33797
33798 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33799 END CHARMAP line.
33800 * iconvdata/gen-8bit-gap.sh: Likewise.
33801 * iconvdata/gen-8bit.sh: Likewise.
33802
c1e9e399
UD
33803 * locale/iso-639.def: Add ary entry.
33804
24c55fb3 33805 [BZ #11258]
96b4b1b0
UD
33806 * locale/C-translit.h.in: Add U20A1 transliteration.
33807
bdc2f971
KB
33808 [BZ #12178]
33809 * locale/iso-639.def: Add wae entry.
33810 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33811
2952b117
UD
33812 [BZ #12545]
33813 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33814 for n.
33815
2a81eaa5
UD
33816 [BZ #12711]
33817 * locale/C-translit.h.in: Add entry for U20B9.
33818 Patch by pravin.d.s@gmail.com.
33819
28377d1b
UD
338202011-05-08 Ulrich Drepper <drepper@gmail.com>
33821
7fb90fb8
UD
33822 [BZ #12713]
33823 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33824 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33825 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33826 in rtld. Use *stat64.
7fb90fb8 33827 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33828 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33829 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33830 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33831 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33832 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33833 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33834 __fstatat64 macros.
7fb90fb8
UD
33835 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33836 * dirent/rewinddir.c: Add libc_hidden_def.
33837 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33838 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33839
28377d1b
UD
33840 * include/dirent.h (__alloc_dir): Add flags parameter.
33841 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33842 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33843 __alloc_dir.
33844 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33845 from fdopendir if O_CLOEXEC is already set.
33846
66bdbaa4
AM
338472011-03-15 Alan Modra <amodra@gmail.com>
33848
33849 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33850 l_tls_firstbyte_offset non-zero. Save padding offset in
33851 l_tls_firstbyte_offset for later use.
33852 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33853 freeing static tls block.
33854
95721191
JN
338552011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33856
33857 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33858 where #ifdef was intended. The intent is to prevent ARG_MAX from
33859 being defined by the kernel headers.
33860
f87dfb1f
UD
338612011-05-07 Ulrich Drepper <drepper@gmail.com>
33862
33863 [BZ #12734]
33864 * resolv/resolv.h: Define RES_NOTLDQUERY.
33865 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33866 no-tld-query and set RES_NOTLDQUERY.
33867 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33868 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33869 modern BIND to search name as TLD unless forbidden.
33870
47c3cd7a
UD
338712011-05-07 Petr Baudis <pasky@suse.cz>
33872 Ulrich Drepper <drepper@gmail.com>
33873
33874 [BZ #12393]
33875 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33876 (is_trusted_path): ...to here.
c1e9ea35 33877 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33878 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33879 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33880
8a35c912
PP
338812011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33882
33883 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33884 __BEGIN/__END_DECLS.
33885
acd41f47
UD
338862011-05-06 Ulrich Drepper <drepper@gmail.com>
33887
33888 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33889 NSS_STATUS_NOTFOUND if no record was found.
33890
597df647
AS
338912011-05-05 Andreas Schwab <schwab@redhat.com>
33892
33893 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33894 (headers-not-in-tirpc): Remove rpc/netdb.h
33895 * resolv/netdb.h: Revert last change.
33896
b9af1301
PP
338972011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33898
33899 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33900 circular dependency between libgcc.a and libc.a.
33901
4e34d5f5
AS
339022011-05-05 Andreas Schwab <schwab@redhat.com>
33903
33904 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33905 * nis/Makefile: Don't install rpcsvc/*.
33906 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33907 instead of <rpc/types.h>.
33908 (MAXHOSTNAMELEN): Define.
33909
00ee369c
AS
339102011-05-03 Andreas Schwab <schwab@redhat.com>
33911
33912 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33913
0b592a30
MB
339142011-04-28 Maciej Babinski <mbabinski@google.com>
33915
33916 [BZ #12714]
33917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33918 gethostbyname4_r when IPv6 results are possible.
33919
6e04cbbe
UD
339202011-05-02 Ulrich Drepper <drepper@gmail.com>
33921
33922 [BZ #12723]
33923 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33924 _PC_PIPE_BUF handling.
33925
e4ecafe0
BH
339262011-04-30 Bruno Haible <bruno@clisp.org>
33927
33928 [BZ #12717]
33929 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33930 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33931 to 'int'.
33932 * inet/getnameinfo.c (getnameinfo): Likewise.
33933
125ee683
UD
339342011-04-29 Ulrich Drepper <drepper@gmail.com>
33935
33936 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33937 to groups setting in database lookup.
33938 * nss/nsswitch.conf: Add initgroups entry.
33939
b722481a
EB
339402011-04-22 Ulrich Drepper <drepper@gmail.com>
33941
33942 [BZ #12685]
33943 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33944 mode string.
33945 Patch by Eric Blake <eblake@redhat.com>.
33946
4df46dbd
L
339472011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33948
33949 * sunrpc/Makefile (need-export-routines): Add svc_run.
33950 (routines): Remove svc_run.
33951 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33952 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33953 * sunrpc/svc_run.c (svc_run): Likewise.
33954 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33955
e84142d2
UD
339562011-04-21 Ulrich Drepper <drepper@gmail.com>
33957
33958 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33959 problem in reallocation in last patch.
33960
877175d8
UD
339612011-04-20 Ulrich Drepper <drepper@gmail.com>
33962
33963 * sunrpc/Makefile: Move inclusion of Rules.
33964
ab8eed78
UD
339652011-04-19 Ulrich Drepper <drepper@gmail.com>
33966
33967 * nss/nss_files/files-initgroups.c: New file.
33968 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33969 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33970 _nss_files_initgroups_dyn.
33971
e3d8f584
RS
339722011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33973
33974 * elf/elf.h (R_ARM_IRELATIVE): Define.
33975
af190f45
UD
339762011-04-19 Ulrich Drepper <drepper@gmail.com>
33977
33978 * po/ru.po: Update from translation team.
33979
53cf59ef
UD
339802011-04-17 Ulrich Drepper <drepper@gmail.com>
33981
33982 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33983 dependencies.
33984
4c559bcd
MF
339852011-02-06 Mike Frysinger <vapier@gentoo.org>
33986
33987 [BZ #12653]
33988 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33989 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33990 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33991 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33992 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33993
4420675c
AS
339942011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33995
33996 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33997 differing bytes.
33998 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33999 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34001
75ea32ab
UD
340022011-04-17 Ulrich Drepper <drepper@gmail.com>
34003
34004 [BZ #12420]
34005 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34006 storing it.
34007 * stdlib/bug-getcontext.c: New file.
34008 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34009
27390476
AK
340102011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34011
34012 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34013 instructions into .machine "z9-109".
34014 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34015 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34016
10442705
AK
340172011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34018
34019 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34020 between environment variables and auxiliary vector.
34021
7b57bfe5
UD
340222011-04-16 Ulrich Drepper <drepper@gmail.com>
34023
34024 * Makefile: Add rules to build linkobj/libc.so.
34025 * include/libc-symbols.h: Define libc_hidden_nolink.
34026 * include/rpc/auth.h: Mark functions which are to be hidden.
34027 * include/rpc/auth_des.h: Likewise.
34028 * include/rpc/auth_unix.h: Likewise.
34029 * include/rpc/clnt.h: Likewise.
34030 * include/rpc/des_crypt.h: Likewise.
34031 * include/rpc/key_prot.h: Likewise.
34032 * include/rpc/pmap_clnt.h: Likewise.
34033 * include/rpc/pmap_prot.h: Likewise.
34034 * include/rpc/pmap_rmt.h: Likewise.
34035 * include/rpc/rpc_msg.h: Likewise.
34036 * include/rpc/svc.h: Likewise.
34037 * include/rpc/svc_auth.h: Likewise.
34038 * include/rpc/xdr.h: Likewise.
34039 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34040 * nss/Makefile: Likewise.
34041 * sunrpc/Makefile: Don't install headers. Build library with normal
34042 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34043 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34044 for the compat linking library. Remove use of INTDEF/INTUSE.
34045 * sunrpc/auth_none.c: Likewise.
34046 * sunrpc/auth_unix.c: Likewise.
34047 * sunrpc/authdes_prot.c: Likewise.
34048 * sunrpc/authuxprot.c: Likewise.
34049 * sunrpc/clnt_gen.c: Likewise.
34050 * sunrpc/clnt_perr.c: Likewise.
34051 * sunrpc/clnt_raw.c: Likewise.
34052 * sunrpc/clnt_simp.c: Likewise.
34053 * sunrpc/clnt_tcp.c: Likewise.
34054 * sunrpc/clnt_udp.c: Likewise.
34055 * sunrpc/clnt_unix.c: Likewise.
34056 * sunrpc/des_crypt.c: Likewise.
34057 * sunrpc/des_soft.c: Likewise.
34058 * sunrpc/get_myaddr.c: Likewise.
34059 * sunrpc/key_call.c: Likewise.
34060 * sunrpc/key_prot.c: Likewise.
34061 * sunrpc/netname.c: Likewise.
34062 * sunrpc/pm_getmaps.c: Likewise.
34063 * sunrpc/pm_getport.c: Likewise.
34064 * sunrpc/pmap_clnt.c: Likewise.
34065 * sunrpc/pmap_prot.c: Likewise.
34066 * sunrpc/pmap_prot2.c: Likewise.
34067 * sunrpc/pmap_rmt.c: Likewise.
34068 * sunrpc/publickey.c: Likewise.
34069 * sunrpc/rpc_cmsg.c: Likewise.
34070 * sunrpc/rpc_common.c: Likewise.
34071 * sunrpc/rpc_dtable.c: Likewise.
34072 * sunrpc/rpc_prot.c: Likewise.
34073 * sunrpc/rpc_thread.c: Likewise.
34074 * sunrpc/rtime.c: Likewise.
34075 * sunrpc/svc.c: Likewise.
34076 * sunrpc/svc_auth.c: Likewise.
34077 * sunrpc/svc_authux.c: Likewise.
34078 * sunrpc/svc_raw.c: Likewise.
34079 * sunrpc/svc_run.c: Likewise.
34080 * sunrpc/svc_simple.c: Likewise.
34081 * sunrpc/svc_tcp.c: Likewise.
34082 * sunrpc/svc_udp.c: Likewise.
34083 * sunrpc/svc_unix.c: Likewise.
34084 * sunrpc/svcauth_des.c: Likewise.
34085 * sunrpc/xcrypt.c: Likewise.
34086 * sunrpc/xdr.c: Likewise.
34087 * sunrpc/xdr_array.c: Likewise.
34088 * sunrpc/xdr_float.c: Likewise.
34089 * sunrpc/xdr_intXX_t.c: Likewise.
34090 * sunrpc/xdr_mem.c: Likewise.
34091 * sunrpc/xdr_rec.c: Likewise.
34092 * sunrpc/xdr_ref.c: Likewise.
34093 * sunrpc/xdr_sizeof.c: Likewise.
34094 * sunrpc/xdr_stdio.c: Likewise.
34095
e6c61494
UD
340962011-04-10 Ulrich Drepper <drepper@gmail.com>
34097
34098 [BZ #12650]
34099 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34100 * sysdeps/ia64/dl-tls.h: Likewise.
34101 * sysdeps/powerpc/dl-tls.h: Likewise.
34102 * sysdeps/s390/dl-tls.h: Likewise.
34103 * sysdeps/sh/dl-tls.h: Likewise.
34104 * sysdeps/sparc/dl-tls.h: Likewise.
34105 * sysdeps/x86_64/dl-tls.h: Likewise.
34106 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34107
34fe483e
AS
341082011-03-14 Andreas Schwab <schwab@redhat.com>
34109
34110 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34111 rpath element also skip the following colon.
34112 (expand_dynamic_string_token): Add is_path parameter and pass
34113 down to DL_DST_REQUIRED and _dl_dst_substitute.
34114 (decompose_rpath): Call expand_dynamic_string_token with
34115 non-zero is_path. Ignore empty rpaths.
34116 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34117 with zero is_path.
34118
f12a32e6
AS
341192011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34120
34121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34122 Make cancelable.
34123
38a7d692
UD
341242011-04-09 Ulrich Drepper <drepper@gmail.com>
34125
34126 [BZ #12655]
34127 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34128 Patch by Filipe David Manana <fdmanana@apache.org>.
34129
e451d22b
AS
341302011-04-07 Andreas Schwab <schwab@redhat.com>
34131
34132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34133 Maintain aligned stack.
34134 (CHECK_RSP): Remove unused macro.
34135
dedc7c7b
UD
341362011-04-03 Ulrich Drepper <drepper@gmail.com>
34137
34138 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34139 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34140
94521213
UD
341412011-04-02 Ulrich Drepper <drepper@gmail.com>
34142
34143 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34144
8cb700c0 34145 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34146
0354e355
L
341472011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34148
34149 [BZ #12518]
34150 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34151 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34152 * sysdeps/x86_64/memmove.c: New file.
34153 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34154 (memcpy): Renamed to ...
34155 (__new_memcpy): This.
34156 (memcpy): Provide GLIBC_2_14 memcpy.
34157 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34158 (memcpy): Provide GLIBC_2_2_5 memcpy.
34159
8593482f
UD
341602011-04-01 Ulrich Drepper <drepper@gmail.com>
34161
34162 [BZ #12631]
34163 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34164
81a5726b
AS
341652011-03-30 Andreas Schwab <schwab@redhat.com>
34166
34167 * misc/syncfs.c: New file.
34168 * misc/Makefile (routines): Add syncfs.
34169 * posix/unistd.h: Declare syncfs.
34170 * sysdeps/unix/syscalls.list: Add syncfs.
34171
00e5419f
AS
341722011-04-01 Andreas Schwab <schwab@redhat.com>
34173
34174 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34175 open_by_handle_at.
34176 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34177 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34179 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34181 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34182 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34183
748876bf
UD
341842011-04-01 Ulrich Drepper <drepper@gmail.com>
34185
658e451d
UD
34186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34188 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34193
748876bf
UD
34194 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34195 sync_file_range.c with -fexceptions.
34196 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34197 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34198 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34199 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34200 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34201 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34202 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34203 sync_file_range as cancellation point
34204 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34205 now a wrapper around __call_sync_file_range with cancellation handling.
34206 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34207 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34208 function name to __call_sync_file_range.
34209 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34210 Add call_sync_file_range.
748876bf 34211
6e63d5e1
AS
342122011-04-01 Andreas Schwab <schwab@redhat.com>
34213
34214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34215 bits/timex.h.
6e63d5e1 34216
46998f74
UD
342172011-04-01 Ulrich Drepper <drepper@gmail.com>
34218
4c1423ed
UD
34219 * iconv/iconv.h: Fix typo in comment.
34220 * io/fcntl.h: Likewise.
34221 * libio/stdio.h: Likewise.
34222 * posix/spawn.h: Likewise.
34223 * posix/unistd.h: Likewise.
34224 * stdlib/stdlib.h: Likewise.
34225 * time/time.h: Likewise.
34226 * wcsmbs/wchar.h: Likewise.
34227
158648c0
UD
34228 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34229 open_by_handle): Add.
34230 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34231 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34232 Augment a few comments.
34233 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34234 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34235 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34238 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34239 open_by_handle.
34240
46998f74
UD
34241 * io/fcntl.h (AT_EMPTY_PATH): Define.
34242
83fe108b
UD
342432011-03-30 Ulrich Drepper <drepper@gmail.com>
34244
34245 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34246 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34247 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34248 to...
34249 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34250 * Versions.def: Add GLIBC_2.14.
34251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34252 Export.
83fe108b 34253
bb242059
UD
342542011-03-22 Ulrich Drepper <drepper@gmail.com>
34255
34256 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34257 round counter.
34258 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34259
c97a1282
L
342602011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34261
34262 [BZ #12597]
34263 * string/test-strncmp.c (do_page_test): New function.
34264 (check2): Likewise.
34265 (test_main): Call check2.
34266 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34267
2a115601
UD
342682011-03-20 Ulrich Drepper <drepper@gmail.com>
34269
34270 [BZ #12587]
34271 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34272 Handle cache information in CPU leaf 4.
34273 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34274
8126d904
UD
342752011-03-18 Ulrich Drepper <drepper@gmail.com>
34276
042c49c6 34277 [BZ #12583]
8126d904
UD
34278 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34279 character representation.
34280 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34281
ccfe366e
RA
342822011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34283
34284 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34285 END(__isnan) to END(__isnanf) to match function entry point/label
34286 EALIGN(__isnanf,...).
34287
c6e13027
JJ
342882011-03-10 Jakub Jelinek <jakub@redhat.com>
34289
34290 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34291
33f85a3f
UD
342922011-03-10 Ulrich Drepper <drepper@gmail.com>
34293
028478fa
UD
34294 [BZ #12510]
34295 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34296 copy from the symbol referenced in the relocation to initialize the
34297 used variable.
34298 Patch by Piotr Bury <pbury@goahead.com>.
34299 * elf/Makefile: Add rules to build and tst-unique3.
34300 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34301 * elf/tst-unique3.cc: New file.
34302 * elf/tst-unique3.h: New file.
34303 * elf/tst-unique3lib.cc: New file.
34304 * elf/tst-unique3lib2.cc: New file.
34305
33f85a3f
UD
34306 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34307
03592fc7
MF
343082011-03-10 Mike Frysinger <vapier@gentoo.org>
34309
34310 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34311 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34312 to _start.
03592fc7 34313
6a5ee102
UD
343142011-03-06 Ulrich Drepper <drepper@gmail.com>
34315
34316 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34317 to-be-loaded object along a path to loader is ld.so.
34318
7e4ba49c
HJ
343192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34320 Ulrich Drepper <drepper@gmail.com>
34321
34322 * sysdeps/x86_64/memset.S: After aligning destination, code
34323 branches to different locations depending on the value of
34324 misalignment, when multiarch is enabled. Fix this.
34325
343262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34327
34328 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34329 Set _x86_64_preferred_memory_instruction for AMD processsors.
34330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34331 Set bit_Prefer_SSE_for_memop for AMD processors.
34332
13a804de
UD
343332011-03-04 Ulrich Drepper <drepper@gmail.com>
34334
34335 * libio/fmemopen.c (fmemopen): Optimize a bit.
34336
9d25c392
AS
343372011-03-03 Andreas Schwab <schwab@redhat.com>
34338
34339 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34340
a5543c6a
RM
343412011-03-03 Roland McGrath <roland@redhat.com>
34342
34343 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34344
012d35f7
DM
343452011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34346
7e4ba49c 34347 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34348 __bzero_ultra1 instead of __memset_ultra1.
34349
4bff6e01
AS
343502011-02-23 Andreas Schwab <schwab@redhat.com>
34351 Ulrich Drepper <drepper@gmail.com>
34352
34353 [BZ #12509]
34354 * include/link.h (struct link_map): Add l_orig_initfini.
34355 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34356 returning unsuccessfully.
34357 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34358 close of a file loaded at startup, restore the original l_initfini
34359 list.
34360 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34361 list, store the pointer.
34362 * elf/Makefile ($(objpfx)noload-mem): New rule.
34363 (noload-ENV): Define.
34364 (tests): Add $(objpfx)noload-mem.
34365 * elf/noload.c: Include <memcheck.h>.
34366 (main): Call mtrace. Close all opened handles.
34367
f2092faf
AS
343682011-02-17 Andreas Schwab <schwab@redhat.com>
34369
34370 [BZ #12454]
34371 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34372 dependencies are missing.
34373
6c8a2e88
ST
343742011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34375
f2092faf 34376 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34377 Hurd needs munmap.
34378 * sysdeps/mach/hurd/ifreq.h: New file.
34379
84a42118
PB
343802011-01-27 Petr Baudis <pasky@suse.cz>
34381 Ulrich Drepper <drepper@gmail.com>
34382
071f805e 34383 [BZ 12445]#
84a42118
PB
34384 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34385 to extend_alloca().
34386 * stdio-common/bug23.c: New file.
34387 * stdio-common/Makefile (tests): Add bug23.
34388
e23fe25b
AS
343892010-09-28 Andreas Schwab <schwab@redhat.com>
34390 Ulrich Drepper <drepper@gmail.com>
34391
34392 [BZ #12489]
34393 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34394 before performing relro protection. At old place add assertion
34395 to make sure nothing changed.
34396
d3f02e10
NS
343972011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34398 Glauber de Oliveira Costa <glommer@gmail.com>
34399
34400 * elf/elf.h: Add new ARM TLS relocs.
34401
d55fd7a5
RA
344022011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34403
34404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34405 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34406 cast from r3.
34407 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34408 'tests' variable.
34409 * sysdeps/wordsize-64/tst-writev.c: New file.
34410
2206397e
RA
344112011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34412
34413 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34414 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34415 insns in _dl_start to prevent a TOC reference before relocs are
34416 resolved.
34417
e9433893
UD
344182011-02-15 Ulrich Drepper <drepper@gmail.com>
34419
34420 [BZ #12469]
34421 * Makeconfig: Remove RANLIB definition.
34422 * Makerules: Don't use RANLIB.
34423 * aclocal.m4: Remove ranlib test.
34424 * configure.in: No need to check for ranlib.
34425 * elf/rtld-Rules: Don't use RANLIB.
34426
f75286c6
ST
344272011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34428
8e31c82d
ST
34429 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34430 protection macro.
34431 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34432 inclusion protection macro.
34433
f75286c6
ST
34434 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34435 SIGRTMIN and SIGRTMAX and print information in that case only when
34436 SIGRTMIN is defined.
34437
c1d0e639
JJ
344382011-02-11 Jakub Jelinek <jakub@redhat.com>
34439
34440 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34441 arginfo fn returning -1.
34442
34443 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34444 and thousands string is zero terminated.
34445
edf9294e
AS
344462011-02-03 Andreas Schwab <schwab@redhat.com>
34447
34448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34449 sysdeps/unix/sysv/linux/bits/socket.h.
34450
2b7e92df
ST
344512011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34452
edf9294e
AS
34453 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34454 (__CPU_COUNT): Remove old macros.
34455 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34456 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34457 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34458 (__sched_cpualloc, __sched_cpufree): Add declarations.
34459
a4c7ea7b
UD
344602011-02-05 Ulrich Drepper <drepper@gmail.com>
34461
34462 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34463 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34464 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34465 (readdhstai): Return value of addhstaiX call.
34466 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34467 (addgrbyX): Return value returned by cache_addgr.
34468 (readdgrbyname): Return value returned by addgrbyX.
34469 (readdgrbygid): Likewise.
34470 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34471 (addpwbyX): Return value returned by cache_addpw.
34472 (readdpwbyname): Return value returned by addhstbyX.
34473 (readdpwbyuid): Likewise.
34474 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34475 (addservbyX): Return value returned by cache_addserv.
34476 (readdservbyname): Return value returned by addservbyX:
34477 (readdservbyport): Likewise.
34478 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34479 (addhstbyX): Return value returned by cache_addhst.
34480 (readdhstbyname): Return value returned by addhstbyX.
34481 (readdhstbyaddr): Likewise.
34482 (readdhstbynamev6): Likewise.
34483 (readdhstbyaddrv6): Likewise.
34484 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34485 (readdinitgroups): Return value returned by addinitgroupsX.
34486 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34487 (prune_cache): Keep track of timeout value of re-added entries.
34488 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34489 * nscd/nscd.h: Adjust prototypes of readd* functions.
34490
a0bf67cc
RM
344912011-02-04 Roland McGrath <roland@redhat.com>
34492
34493 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34494 (nis_stats): Likewise.
34495 * nis/nis_modify.c (nis_modify): Likewise.
34496 * nis/nis_remove.c (nis_remove): Likewise.
34497 * nis/nis_add.c (nis_add): Likewise.
34498
34499 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34500
34501 * posix/fnmatch_loop.c: Add some consts.
34502
34503 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34504
435b95eb
L
345052011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34506
34507 [BZ #12460]
34508 * config.make.in (config-cflags-novzeroupper): Define.
34509 * configure.in: Substitute libc_cv_cc_novzeroupper.
34510 * elf/Makefile (AVX-CFLAGS): Define.
34511 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34512 (CFLAGS-tst-auditmod4a.c): Likewise.
34513 (CFLAGS-tst-auditmod4b.c): Likewise.
34514 (CFLAGS-tst-auditmod6b.c): Likewise.
34515 (CFLAGS-tst-auditmod6c.c): Likewise.
34516 (CFLAGS-tst-auditmod7b.c): Likewise.
34517 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34518
8517b15e
UD
345192011-02-02 Ulrich Drepper <drepper@gmail.com>
34520
34521 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34522 function to the callback.
34523 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34524
10a656fe
AS
345252011-02-02 Andreas Schwab <schwab@redhat.com>
34526
34527 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34528 of errno.
34529
968dad0a
UD
345302011-01-19 Ulrich Drepper <drepper@gmail.com>
34531
9f94d2ea 34532 [BZ #11724]
968dad0a
UD
34533 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34534 of constructors.
34535 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34536 of destructors.
34537 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34538
34539 [BZ #11724]
34540 * elf/Makefile: Add rules to build and run new test.
34541 * elf/tst-initorder.c: New file.
34542 * elf/tst-initorder.exp: New file.
34543 * elf/tst-initordera1.c: New file.
34544 * elf/tst-initordera2.c: New file.
34545 * elf/tst-initordera3.c: New file.
34546 * elf/tst-initordera4.c: New file.
34547 * elf/tst-initorderb1.c: New file.
34548 * elf/tst-initorderb2.c: New file.
34549 * elf/tst-order-a1.c: New file.
34550 * elf/tst-order-a2.c: New file.
34551 * elf/tst-order-a3.c: New file.
34552 * elf/tst-order-a4.c: New file.
34553 * elf/tst-order-b1.c: New file.
34554 * elf/tst-order-b2.c: New file.
34555 * elf/tst-order-main.c: New file.
34556 New test case by George Gensure <werkt0@gmail.com>.
34557
86e92359
UD
345582010-10-01 Andreas Schwab <schwab@redhat.com>
34559
34560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34561 decoding ACE if AI_CANONIDN.
34562
5d5732b0
UD
345632011-01-18 Ulrich Drepper <drepper@gmail.com>
34564
34565 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34566
a77e8cbc
UD
345672011-01-17 Ulrich Drepper <drepper@gmail.com>
34568
6392473f
UD
34569 * version.h (RELEASE): Bump for 2.13 release.
34570 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34571
620a0529
UD
34572 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34573
18ba70a5
UD
34574 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34575 MADV_NOHUGEPAGE.
32465c3e
UD
34576 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34577 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34578 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34579 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34580 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34581 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34582
c0dafcf1
UD
34583 * posix/getconf.c: Update copyright year.
34584 * catgets/gencat.c: Likewise.
34585 * csu/version.c: Likewise.
34586 * debug/catchsegv.sh: Likewise.
34587 * debug/xtrace.sh: Likewise.
34588 * elf/ldconfig.c: Likewise.
34589 * elf/ldd.bash.in: Likewise.
34590 * elf/sprof.c (print_version): Likewise.
34591 * iconv/iconv_prog.c: Likewise.
34592 * iconv/iconvconfig.c: Likewise.
34593 * locale/programs/locale.c: Likewise.
34594 * locale/programs/localedef.c: Likewise.
34595 * malloc/memusage.sh: Likewise.
34596 * malloc/mtrace.pl: Likewise.
34597 * nscd/nscd.c (print_version): Likewise.
34598 * nss/getent.c: Likewise.
34599
a77e8cbc
UD
34600 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34601 PF_CAIF, and PF_ALG.
34602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34603
77e8bddf
AS
346042011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34605
1f20b93a
AS
34606 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34607 (modules-names): Use them.
34608 (ifunc-test-modules, ifunc-pie-tests): Define.
34609 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34610 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34611 (test-extras): Likewise.
34612 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34613 $(compile-command.c).
34614 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34615 (all-built-dso): Define.
34616 (check-textrel.out, check-execstack.out): Depend on it.
34617
77e8bddf
AS
34618 * configure.in: Don't override --enable-multi-arch.
34619
bc425b33
UD
346202011-01-15 Ulrich Drepper <drepper@gmail.com>
34621
34622 [BZ #6812]
34623 * nscd/hstcache.c (tryagain): Define.
34624 (cache_addhst): Return tryagain not notfound for temporary errors.
34625 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34626 failed.
34627
794c3ad3
UD
346282011-01-14 Ulrich Drepper <drepper@gmail.com>
34629
70181fdd
UD
34630 [BZ #10563]
34631 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34632 to make the syscall.
34633 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34634
794c3ad3
UD
34635 [BZ #12378]
34636 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34637 and fall back to matching as normal character if the string ends before
34638 the matching ']' is found. This is what POSIX requires.
34639 * posix/testfnm.c: Adjust test result.
34640 * posix/globtest.sh: Adjust test result. Add new test.
34641 * posix/tst-fnmatch.input: Likewise.
34642 * posix/tst-fnmatch2.c: Add new test.
34643
68dc9497
AS
346442010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34645
34646 * elf/Makefile (check-execstack): Revert last change. Depend on
34647 check-execstack.h.
34648 (check-execstack.h): New target.
34649 (generated): Add check-execstack.h.
34650 * elf/check-execstack.c: Include "check-execstack.h".
34651 (main): Revert last change.
34652 (handle_file): Return zero if GNU_STACK is absent and
34653 DEFAULT_STACK_PERMS doesn't include PF_X.
34654
451f001b
UD
346552011-01-13 Ulrich Drepper <drepper@gmail.com>
34656
cfa28e56
UD
34657 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34658 in child fails because the descriptor is already closed.
8cf8ce17
UD
34659 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34660 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34661 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34662
1086d70d
UD
34663 [BZ #12397]
34664 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34665 syscall.
34666
451f001b
UD
34667 [BZ #10484]
34668 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34669 temporary buffer used to handle multi lookups locally.
a85b5cb4 34670 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34671
08769175
UD
346722011-01-12 Ulrich Drepper <drepper@gmail.com>
34673
34674 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34675 loader is ld.so.
34676
5e49c52e
UD
346772011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34678
34679 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34680 alignment for SSE2.
34681
60522a5f
UD
346822011-01-12 Ulrich Drepper <drepper@gmail.com>
34683
34684 [BZ #12394]
34685 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34686 characters. When rounding increased number of integer digits recompute
34687 number of groups.
34688 * stdio-common/tst-grouping.c: New file.
34689 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34690
f257bbd7
UD
346912011-01-09 Ulrich Drepper <drepper@gmail.com>
34692
34693 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34694 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34695
34696 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34697 void.
34698 * bits/select.h: Likewise.
34699
fa9c15cb
UD
347002011-01-08 Ulrich Drepper <drepper@gmail.com>
34701
34702 * po/ja.po: Update from translation team.
34703
16c2895f
DM
347042011-01-04 David S. Miller <davem@sunset.davemloft.net>
34705
34706 [BZ #11155]
34707 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34708 implementation just like for lxstat, fxstatat, et al.
34709
2543fef2
JM
347102010-12-27 Jim Meyering <meyering@redhat.com>
34711
34712 [BZ #12348]
34713 * posix/regexec.c (build_trtable): Return failure indication upon
34714 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34715
98727dbe
UD
347162010-12-25 Ulrich Drepper <drepper@gmail.com>
34717
5bd6dc5c
UD
34718 [BZ #12201]
34719 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34720 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34721 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34722 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34723
97983464
UD
34724 [BZ #12207]
34725 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34726
98727dbe
UD
34727 [BZ #12204]
34728 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34729 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34730
4a531bb0
L
347312010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34732
34733 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34734 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34735 script has SORT_BY_INIT_PRIORITY.
34736 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34737 NO_CTORS_DTORS_SECTIONS is defined.
34738 * elf/soinit.c: Likewise.
34739 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34740 NO_CTORS_DTORS_SECTIONS is defined.
34741 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34742 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34743 * sysdeps/sh/init-first.c: Likewise.
34744 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34745
07eb4b71
UD
347462010-12-24 Ulrich Drepper <drepper@gmail.com>
34747
34748 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34749 always use the slow path.
34750
30950a5f
RA
347512010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34752
34753 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34754 similar rule which adds the sysdep directories to the header search in
34755 order to pick up the correct platform stackinfo.h.
34756 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34757 perform test if it is, otherwise return successfully without testing.
34758 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34759 DEFAULT_STACK_PERMS define in stackinfo.h.
34760 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34761 defined in stackinfo.h.
34762 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34763 DEFAULT_STACK_PERMS defined in stackinfo.h.
34764 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34765 * sysdeps/ia64/stackinfo.h: Likewise.
34766 * sysdeps/s390/stackinfo.h: Likewise.
34767 * sysdeps/sh/stackinfo.h: Likewise.
34768 * sysdeps/sparc/stackinfo.h: Likewise.
34769 * sysdeps/x86_64/stackinfo.h: Likewise.
34770 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34771 PF_X for powerpc64. Retain PF_X for powerpc32.
34772
db753e2c
UD
347732010-12-19 Ulrich Drepper <drepper@gmail.com>
34774
14b697f7
UD
34775 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34776 accurately.
db753e2c
UD
34777 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34778 GETDENTS_64BIT_ALIGNED.
34779
28300719
UD
347802010-12-14 Ulrich Drepper <dreper@gmail.com>
34781
14b697f7 34782 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34783
4f197237
AS
347842010-12-10 Andreas Schwab <schwab@redhat.com>
34785
dbb0472f
AS
34786 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34787 _GNU_SOURCE.
34788
4f197237
AS
34789 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34790 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34791 Remove __restrict.
34792 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34793 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34794
fb88ac72
UD
347952010-12-09 Ulrich Drepper <drepper@gmail.com>
34796
34797 [BZ #11655]
34798 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34799 are initialized.
34800
42acbb92
JJ
348012010-12-09 Jakub Jelinek <jakub@redhat.com>
34802
34803 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34804
c038d98d
UD
348052010-12-03 Ulrich Drepper <drepper@gmail.com>
34806
34807 * po/it.po: Update from translation team.
34808
3a4a2499
L
348092010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34810
34811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34812 unused codes.
34813
1e24cf6e
UD
348142010-11-30 Ulrich Drepper <drepper@gmail.com>
34815
34816 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34817
a7690819
AS
348182010-11-24 Andreas Schwab <schwab@redhat.com>
34819
34820 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34821 specially.
34822 (gaih_getanswer_slice): Likewise.
34823
3bf8d1b1
JJ
348242010-10-20 Jakub Jelinek <jakub@redhat.com>
34825
34826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34827
6db52fbb
PB
348282010-05-31 Petr Baudis <pasky@suse.cz>
34829
34830 [BZ #11149]
34831 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34832 silently even in the chroot mode.
34833
eaca7569
UD
348342010-11-22 Ulrich Drepper <drepper@gmail.com>
34835
34836 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34837 last patch a bit. Pretty printing
34838
3056dcdb
UD
348392010-05-31 Petr Baudis <pasky@suse.cz>
34840
34841 [BZ #10085]
34842 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34843 initialization of skip_initgroups_dyn.
34844
cf7c9078
UD
348452010-11-19 Ulrich Drepper <drepper@gmail.com>
34846
34847 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34848 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34849
a1fb5e3e
UD
348502010-11-16 Ulrich Drepper <drepper@gmail.com>
34851
34852 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34853
3540d66b
AS
348542010-11-11 Andreas Schwab <schwab@redhat.com>
34855
34856 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34857 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34858 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34859 ($(objpfx)tst-fnmatch-mem): New rule.
34860 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34861 * posix/tst-fnmatch.c (main): Call mtrace.
34862
13b69574
L
348632010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34864
34865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34866 Support Intel processor model 6 and model 0x2c.
34867
da93d214
LM
348682010-11-10 Luis Machado <luisgpm@br.ibm.com>
34869
34870 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34871 signed comparison.
34872
8ca52c6e
L
348732010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34874
34875 [BZ #12205]
34876 * string/test-strncasecmp.c (check_result): New function.
34877 (do_one_test): Use it.
34878 (check1): New function.
34879 (test_main): Use it.
34880 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34881 Support strcasecmp and strncasecmp.
34882
69da074d
UD
348832010-11-08 Ulrich Drepper <drepper@gmail.com>
34884
34885 [BZ #12194]
34886 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34887 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34888
ff02d528
L
348892010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34890
34891 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34892 IFUNC support.
34893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34894 memset-x86-64.
34895 * sysdeps/x86_64/multiarch/bzero.S: New file.
34896 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34897 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34898 * sysdeps/x86_64/multiarch/memset.S: New file.
34899 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34901 Set bit_Prefer_SSE_for_memop for Intel processors.
34902 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34903 Define.
34904 (index_Prefer_SSE_for_memop): Define.
34905 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34906
344d0b54
LM
349072010-11-04 Luis Machado <luisgpm@br.ibm.com>
34908
34909 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34910 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34911
c0dde15b
UD
349122010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34913
34914 [BZ #12191]
34915 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34916 (__x86_64_raw_data_cache_size_half): Likewise.
34917 (__x86_64_raw_shared_cache_size): Likewise.
34918 (__x86_64_raw_shared_cache_size_half): Likewise.
34919
34920 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34921 (__x86_64_raw_data_cache_size_half): Likewise.
34922 (__x86_64_raw_shared_cache_size): Likewise.
34923 (__x86_64_raw_shared_cache_size_half): Likewise.
34924 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34925 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34926 and __x86_64_raw_shared_cache_size_half. Round
34927 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34928 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34929 to multiple of 256 bytes.
34930
0e516e0e
MS
349312010-11-03 Ulrich Drepper <drepper@gmail.com>
34932
34933 [BZ #12167]
34934 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34935 of inacessible symlinks. Verify result of symlink before returning it.
34936 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34937 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34938
0e012e87
ER
349392010-10-28 Erich Ritz <erichritz@gmail.com>
34940
34941 * math/math.h (isinf): Fix typo in comment.
34942
de0ff7bc
UD
349432010-11-01 Ulrich Drepper <drepper@gmail.com>
34944
34945 * po/da.po: Update from translation team.
34946
fa41c84d
UD
349472010-10-26 Ulrich Drepper <drepper@gmail.com>
34948
34949 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34950 is added to the list.
34951
f0967738
AK
349522010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34953 Ulrich Drepper <drepper@gmail.com>
34954
34955 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34956 the global list here. Move code to...
34957 (_dl_add_to_namespace_list): ...here. New function.
34958 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34959 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34960 * elf/dl-load.c (lose): Don't remove the element from the list.
34961 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34962 (_dl_map_object): Likewise.
34963
349642010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34965
34966 [BZ #12159]
34967 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34968 into all bytes of SSE register.
34969 Patch by Richard Li <richardpku@gmail.com>.
34970
f0967738 349712010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34972
34973 [BZ #12140]
34974 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34975 perturbing.
34976
d0b9e94f
MB
349772010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34978
34979 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34980 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34981 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34982 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34984 submachine.
34985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34986
8e9f92e9
AS
349872010-10-22 Andreas Schwab <schwab@redhat.com>
34988
34989 * include/dlfcn.h (__RTLD_SECURE): Define.
34990 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34991 mode & __RTLD_SECURE instead.
34992 (open_path): Rename preloaded parameter to secure.
34993 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34994 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34995 * elf/dl-deps.c (openaux): Likewise.
34996 * elf/rtld.c (struct map_args): Remove is_preloaded.
34997 (map_doit): Don't use it.
34998 (dl_main): Likewise.
34999 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35000 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35001
bc96fbda
AS
350022010-09-09 Andreas Schwab <schwab@redhat.com>
35003
35004 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35005 (sysd-rules-targets): Remove duplicates.
35006 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35007 rtld-%.$o dependency.
35008
22cd1c9b
AS
350092010-10-18 Andreas Schwab <schwab@redhat.com>
35010
35011 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35012 _dl_map_object do it.
35013
18edac48
UD
350142010-10-19 Ulrich Drepper <drepper@gmail.com>
35015
35016 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35017 fast fma builtins, define the macros in the C99 standard.
35018 (FP_FAST_FMAF): Likewise.
35019 (FP_FAST_FMAL): Likewise.
35020 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35021
35022 * bits/mathdef.h: Update copyright year.
35023 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35024
d2050124
MM
350252010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35026
35027 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35028 builtins, define the macros in the C99 standard.
35029 (FP_FAST_FMAF): Likewise.
35030 (FP_FAST_FMAL): Likewise.
35031 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35032 multiply/add.
35033 (FP_FAST_FMAF): Likewise.
35034
475facd1
JJ
350352010-10-15 Jakub Jelinek <jakub@redhat.com>
35036
35037 [BZ #3268]
35038 * math/libm-test.inc (fma_test): Some new testcases.
35039 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35040 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35041 y and infinite z. Do multiplication by C already in long double.
35042 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35044 y and infinite z. Do bitwise or of inexact bit into u.d.
35045 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35046 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35047 * sysdeps/i386/fpu/s_fma.S: Removed.
35048 * sysdeps/i386/fpu/s_fmal.S: Removed.
35049
7c08a05c
JJ
350502010-10-16 Jakub Jelinek <jakub@redhat.com>
35051
35052 [BZ #3268]
35053 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35055 computation is not scheduled after fetestexcept. Fix value
35056 of minimum denormal long double.
35057
f3f7372d
JJ
350582010-10-14 Jakub Jelinek <jakub@redhat.com>
35059
35060 [BZ #3268]
35061 * math/libm-test.inc (fma_test): Add some more tests.
35062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35063 correctly.
35064
14d43591
AS
350652010-10-15 Andreas Schwab <schwab@redhat.com>
35066
35067 * scripts/data/localplt-s390-linux-gnu.data: New file.
35068 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35069
5e908464
JJ
350702010-10-13 Jakub Jelinek <jakub@redhat.com>
35071
35072 [BZ #3268]
35073 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35074 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35075 instead of dbl-64.
35076 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35077 inlines.
35078 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35080 if one of x and y is very large and the other is subnormal.
35081 * sysdeps/s390/fpu/s_fmaf.c: New file.
35082 * sysdeps/s390/fpu/s_fma.c: New file.
35083 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35084 * sysdeps/powerpc/fpu/s_fma.S: New file.
35085 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35086 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35087 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35088
350892010-10-12 Jakub Jelinek <jakub@redhat.com>
35090
35091 [BZ #3268]
35092 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35093 fma tests.
35094 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35095 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35096 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35097 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35098 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35099 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35100 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35101
b833d51f
UD
351022010-10-12 Ulrich Drepper <drepper@redhat.com>
35103
35104 [BZ #12078]
35105 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35106 * posix/bug-regex31.input: Add test case.
35107
1751705d
UD
351082010-10-11 Ulrich Drepper <drepper@gmail.com>
35109
e9b9cbf5
UD
35110 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35111 * posix/bug-regex31.input: New file.
35112
35113 [BZ #12078]
35114 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35115 (parse_sub_exp): Fix last change, use postorder.
35116
ef06edbe
UD
35117 * posix/bug-regex31.c: New file.
35118 * posix/Makefile: Add rules to build and run bug-regex31.
35119
a129c80d
UD
35120 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35121
35122 [BZ #12078]
35123 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35124
b76b818e
UD
35125 [BZ #12108]
35126 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35127 to have entries in sys_siglist.
35128
1751705d
UD
35129 [BZ #12093]
35130 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35131 be NULL.
35132
9ff8d36f
JJ
351332010-10-07 Jakub Jelinek <jakub@redhat.com>
35134
35135 [BZ #3268]
35136 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35137 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35138 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35139 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35140 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35141 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35142 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35143 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35144 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35145 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35146 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35147 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35148 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35149 * math/ftestexcept.c (fetestexcept): Likewise.
35150 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35151 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35152 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35153 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35154 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35155 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35156 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35157
af325969
UD
351582010-10-11 Ulrich Drepper <drepper@gmail.com>
35159
c579b202 35160 [BZ #12107]
af325969
UD
35161 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35162 newline.
35163
67a67b95
UD
351642010-10-06 Ulrich Drepper <drepper@gmail.com>
35165
35166 * string/bug-strstr1.c: New file.
35167 * string/Makefile: Add rules to build and run bug-strstr1.
35168
5fb308bc
EB
351692010-10-05 Eric Blake <eblake@redhat.com>
35170
35171 [BZ #12092]
35172 * string/str-two-way.h (two_way_long_needle): Always clear memory
35173 when skipping input due to the shift table.
35174
45db99c7
UD
351752010-10-03 Ulrich Drepper <drepper@gmail.com>
35176
3b111893
UD
35177 [BZ #12005]
35178 * malloc/mcheck.c: Handle large requests.
35179
45db99c7
UD
35180 [BZ #12077]
35181 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35182 for strncmp and strncasecmp.
35183 * string/stratcliff.c: Add tests for strcmp and strncmp.
35184 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35185
cf7a1eb8
NI
351862010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35187
35188 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35189 __set_fpscr.
35190
6484ba5e
AJ
351912010-09-30 Andreas Jaeger <aj@suse.de>
35192
35193 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35194 (CGROUP_SUPER_MAGIC): Define.
35195 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35196 Handle btrfs and cgroup file systems.
35197 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35198 Likewise.
35199
91c42559
LM
352002010-09-27 Luis Machado <luisgpm@br.ibm.com>
35201
35202 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35203 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35204
87a97932
AK
352052010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35206
35207 [BZ #12067]
35208 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35209 trying to locate the ELF header.
35210
c21cc9bc
AS
352112010-09-27 Andreas Schwab <schwab@redhat.com>
35212
35213 [BZ #11611]
35214 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35215 Mask out sign-bit copies when constructing f_fsid.
35216
315970f6
PB
352172010-09-24 Petr Baudis <pasky@suse.cz>
35218
35219 * debug/stack_chk_fail_local.c: Add missing licence exception.
35220 * debug/warning-nop.c: Likewise.
35221
1ac7a2c7
JM
352222010-09-15 Joseph Myers <joseph@codesourcery.com>
35223
35224 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35225 implementing getdents64 using getdents syscall, set d_type if
35226 __ASSUME_GETDENTS32_D_TYPE.
35227
56801c50
AS
352282010-09-16 Andreas Schwab <schwab@redhat.com>
35229
35230 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35231 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35232
dda51327
UD
352332010-09-21 Ulrich Drepper <drepper@redhat.com>
35234
35235 [BZ #12037]
35236 * posix/unistd.h: Undo change of feature selection for ftruncate from
35237 2010-01-11.
35238
8ffcee4a
UD
352392010-09-20 Ulrich Drepper <drepper@redhat.com>
35240
a545ecd9 35241 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35242 detection.
35243
e24f0a8b
AS
352442010-09-20 Andreas Schwab <schwab@redhat.com>
35245
35246 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35247 fanotify_mark.
35248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35249
7291c56f
AS
352502010-09-14 Andreas Schwab <schwab@redhat.com>
35251
35252 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35253 variables after CHECK_SP call.
35254 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35255
bc5fb037
AS
352562010-09-13 Andreas Schwab <schwab@redhat.com>
35257 Ulrich Drepper <drepper@redhat.com>
35258
35259 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35260 re-relocationg ld.so.
35261 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35262 _dl_init_paths call.
35263 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35264 here anymore.
35265
e66e7419
UD
352662010-09-14 Ulrich Drepper <drepper@redhat.com>
35267
35268 * resolv/res_init.c (__res_vinit): Count the default server we added.
35269
c044aa75
CLT
352702010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35271 Ulrich Drepper <drepper@redhat.com>
35272
35273 [BZ #11968]
35274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35275 (____longjmp_chk): Use %ebx for saving value across system call.
35276 Add unwind info.
35277
32cf4069
AS
352782010-09-06 Andreas Schwab <schwab@redhat.com>
35279
35280 * manual/Makefile: Don't mix pattern rules with normal rules.
35281
817328ee
AS
352822010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35283
35284 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35285 operation.
35286 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35287 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35288 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35289 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35291 Likewise.
35292
29fddf61
UD
352932010-09-04 Ulrich Drepper <drepper@redhat.com>
35294
35295 [BZ #11979]
35296 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35297 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35298
0959ffc9
UD
352992010-09-02 Ulrich Drepper <drepper@redhat.com>
35300
35301 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35302 * sysdeps/x86_64/addmul_1.S: Likewise.
35303 * sysdeps/x86_64/lshift.S: Likewise.
35304 * sysdeps/x86_64/mul_1.S: Likewise.
35305 * sysdeps/x86_64/rshift.S: Likewise.
35306 * sysdeps/x86_64/sub_n.S: Likewise.
35307 * sysdeps/x86_64/submul_1.S: Likewise.
35308
ece29840
ST
353092010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35310
0959ffc9
UD
35311 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35312 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35313 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35314 * bits/sched.h [__need_schedparam]
ece29840 35315 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35316 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35317 (__defined_schedparam): Define to 1.
ece29840
ST
35318 (__sched_param): New structure, identical to sched_param.
35319 (__need_schedparam): Undefine.
35320
e53a31fe
MF
353212010-08-31 Mike Frysinger <vapier@gentoo.org>
35322
fdc0c10d
MF
35323 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35324 (epoll_create1): Declare.
35325
e53a31fe
MF
35326 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35327
a726d796
AS
353282010-08-31 Andreas Schwab <schwab@redhat.com>
35329
35330 [BZ #7066]
35331 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35332 shifting retval into place.
35333
2f3e3dc7
UD
353342010-09-01 Ulrich Drepper <drepper@redhat.com>
35335
f2933da9
UD
35336 * nis/rpcsvc/nis.h: Update copyright notice.
35337 * nis/rpcsvc/nis.x: Likewise.
35338 * nis/rpcsvc/nis_callback.h: Likewise.
35339 * nis/rpcsvc/nis_callback.x: Likewise.
35340 * nis/rpcsvc/nis_object.x: Likewise.
35341 * nis/rpcsvc/nis_tags.h: Likewise.
35342 * nis/rpcsvc/yp.h: Likewise.
35343 * nis/rpcsvc/yp.x: Likewise.
35344 * nis/rpcsvc/ypupd.h: Likewise.
35345 * nis/yp_xdr.c: Likewise.
35346 * nis/ypupdate_xdr.c: Likewise.
35347
2f3e3dc7
UD
35348 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35349 mainly the body of pmap_getport. Add parameters to specify timeouts.
35350 (pmap_getport): Use __libc_rpc_getport.
35351 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35352 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35353 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35354
f3dcc2f9
AS
353552010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35356
35357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35358 fanotify_mark.
35359
6d34eb5b
RM
353602010-08-27 Roland McGrath <roland@redhat.com>
35361
35362 * sysdeps/i386/i686/multiarch/Makefile
35363 (CFLAGS-varshift.c): New variable.
35364
9ea3de11
UD
353652010-08-27 Ulrich Drepper <drepper@redhat.com>
35366
c96d23fc
UD
35367 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35368 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35369
9ea3de11
UD
35370 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35371
35372 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35373
623aac7f
L
353742010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35375
35376 * sysdeps/x86_64/strlen.S: Unroll the loop.
35377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35378 strlen-sse2 strlen-sse2-bsf.
35379 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35380 __strlen_no_bsf if bit_Slow_BSF is set.
35381 (__strlen_sse42): Removed.
35382 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35383 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35384
8b2b7715
RM
353852010-08-25 Roland McGrath <roland@redhat.com>
35386
35387 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35388 * sysdeps/x86_64/multiarch/varshift.c: New file.
35389 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35390 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35391 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35392 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35393
e73015f2
L
353942010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35395
35396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35397 strlen-sse2 strlen-sse2-bsf.
35398 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35399 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35400 (__strlen_sse2): Removed.
35401 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35402 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35404 bit_Slow_BSF for Atom.
35405 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35406 (index_Slow_BSF): Define.
35407 (HAS_SLOW_BSF): Define.
35408
df24a73e
UD
354092010-08-25 Ulrich Drepper <drepper@redhat.com>
35410
35411 [BZ #10851]
35412 * resolv/res_init.c (__res_vinit): When no server address at all
35413 is given default to loopback.
35414
f2ac4868
RM
354152010-08-24 Roland McGrath <roland@redhat.com>
35416
09055553
RM
35417 * configure.in: Remove config-name.h generation.
35418 * configure: Regenerated.
35419 * config-name.in: File removed.
35420 * scripts/config-uname.sh: New file.
35421 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35422 ($(objdir)config-name.h): New target.
35423
f2ac4868
RM
35424 * sunrpc/rpc_parse.h: Avoid nested comment.
35425
73f27d5e
RH
354262010-08-24 Richard Henderson <rth@redhat.com>
35427 Ulrich Drepper <drepper@redhat.com>
35428 H.J. Lu <hongjiu.lu@intel.com>
35429
35430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35432 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35433 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35434 _mm_alignr_epi8 with _mm_loadu_si128.
35435 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35436 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35437 (__m128i_shift_right): Removed.
35438 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35439 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35440 * sysdeps/x86_64/multiarch/varshift.h: New file.
35441 * sysdeps/x86_64/multiarch/varshift.S: New file.
35442
84b9230c
MF
354432010-08-21 Mike Frysinger <vapier@gentoo.org>
35444
35445 * configure.in: Move assembler checks to before sysdep dir checking.
35446
9bbd0ddc
PB
354472010-08-20 Petr Baudis <pasky@suse.cz>
35448
35449 * LICENSES: Sync the sunrpc license.
35450
9da4bb31
UD
354512010-08-19 Ulrich Drepper <drepper@redhat.com>
35452
a7ab6ec8
UD
35453 * sunrpc/auth_des.c: Update copyright notice once again.
35454 * sunrpc/auth_none.c: Likewise.
35455 * sunrpc/auth_unix.c: Likewise.
35456 * sunrpc/authdes_prot.c: Likewise.
35457 * sunrpc/authuxprot.c: Likewise.
35458 * sunrpc/bindrsvprt.c: Likewise.
35459 * sunrpc/clnt_gen.c: Likewise.
35460 * sunrpc/clnt_perr.c: Likewise.
35461 * sunrpc/clnt_raw.c: Likewise.
35462 * sunrpc/clnt_simp.c: Likewise.
35463 * sunrpc/clnt_tcp.c: Likewise.
35464 * sunrpc/clnt_udp.c: Likewise.
35465 * sunrpc/clnt_unix.c: Likewise.
35466 * sunrpc/des_crypt.c: Likewise.
35467 * sunrpc/des_soft.c: Likewise.
35468 * sunrpc/get_myaddr.c: Likewise.
35469 * sunrpc/getrpcport.c: Likewise.
35470 * sunrpc/key_call.c: Likewise.
35471 * sunrpc/key_prot.c: Likewise.
35472 * sunrpc/openchild.c: Likewise.
35473 * sunrpc/pm_getmaps.c: Likewise.
35474 * sunrpc/pm_getport.c: Likewise.
35475 * sunrpc/pmap_clnt.c: Likewise.
35476 * sunrpc/pmap_prot.c: Likewise.
35477 * sunrpc/pmap_prot2.c: Likewise.
35478 * sunrpc/pmap_rmt.c: Likewise.
35479 * sunrpc/rpc/auth.h: Likewise.
35480 * sunrpc/rpc/auth_unix.h: Likewise.
35481 * sunrpc/rpc/clnt.h: Likewise.
35482 * sunrpc/rpc/des_crypt.h: Likewise.
35483 * sunrpc/rpc/key_prot.h: Likewise.
35484 * sunrpc/rpc/netdb.h: Likewise.
35485 * sunrpc/rpc/pmap_clnt.h: Likewise.
35486 * sunrpc/rpc/pmap_prot.h: Likewise.
35487 * sunrpc/rpc/pmap_rmt.h: Likewise.
35488 * sunrpc/rpc/rpc.h: Likewise.
35489 * sunrpc/rpc/rpc_des.h: Likewise.
35490 * sunrpc/rpc/rpc_msg.h: Likewise.
35491 * sunrpc/rpc/svc.h: Likewise.
35492 * sunrpc/rpc/svc_auth.h: Likewise.
35493 * sunrpc/rpc/types.h: Likewise.
35494 * sunrpc/rpc/xdr.h: Likewise.
35495 * sunrpc/rpc_clntout.c: Likewise.
35496 * sunrpc/rpc_cmsg.c: Likewise.
35497 * sunrpc/rpc_common.c: Likewise.
35498 * sunrpc/rpc_cout.c: Likewise.
35499 * sunrpc/rpc_dtable.c: Likewise.
35500 * sunrpc/rpc_hout.c: Likewise.
35501 * sunrpc/rpc_main.c: Likewise.
35502 * sunrpc/rpc_parse.c: Likewise.
35503 * sunrpc/rpc_parse.h: Likewise.
35504 * sunrpc/rpc_prot.c: Likewise.
35505 * sunrpc/rpc_sample.c: Likewise.
35506 * sunrpc/rpc_scan.c: Likewise.
35507 * sunrpc/rpc_scan.h: Likewise.
35508 * sunrpc/rpc_svcout.c: Likewise.
35509 * sunrpc/rpc_tblout.c: Likewise.
35510 * sunrpc/rpc_util.c: Likewise.
35511 * sunrpc/rpc_util.h: Likewise.
35512 * sunrpc/rpcinfo.c: Likewise.
35513 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35514 * sunrpc/rpcsvc/key_prot.x: Likewise.
35515 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35516 * sunrpc/rpcsvc/mount.x: Likewise.
35517 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35518 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35519 * sunrpc/rpcsvc/rex.x: Likewise.
35520 * sunrpc/rpcsvc/rstat.x: Likewise.
35521 * sunrpc/rpcsvc/rusers.x: Likewise.
35522 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35523 * sunrpc/rpcsvc/spray.x: Likewise.
35524 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35525 * sunrpc/rtime.c: Likewise.
35526 * sunrpc/svc.c: Likewise.
35527 * sunrpc/svc_auth.c: Likewise.
35528 * sunrpc/svc_authux.c: Likewise.
35529 * sunrpc/svc_raw.c: Likewise.
35530 * sunrpc/svc_run.c: Likewise.
35531 * sunrpc/svc_simple.c: Likewise.
35532 * sunrpc/svc_tcp.c: Likewise.
35533 * sunrpc/svc_udp.c: Likewise.
35534 * sunrpc/svc_unix.c: Likewise.
35535 * sunrpc/svcauth_des.c: Likewise.
35536 * sunrpc/xcrypt.c: Likewise.
35537 * sunrpc/xdr.c: Likewise.
35538 * sunrpc/xdr_array.c: Likewise.
35539 * sunrpc/xdr_float.c: Likewise.
35540 * sunrpc/xdr_mem.c: Likewise.
35541 * sunrpc/xdr_rec.c: Likewise.
35542 * sunrpc/xdr_ref.c: Likewise.
35543 * sunrpc/xdr_sizeof.c: Likewise.
35544 * sunrpc/xdr_stdio.c: Likewise.
35545
9da4bb31
UD
35546 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35547 handling.
35548
bdaa77bc
AS
355492010-08-19 Andreas Schwab <schwab@redhat.com>
35550
35551 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35552
fe2f79db
LM
355532010-08-19 Luis Machado <luisgpm@br.ibm.com>
35554
35555 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35556 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35557 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35558 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35559 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35560 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35561 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35562 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35563 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35564 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35565 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35566 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35567 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35568 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35569
b9b42ee0
AB
355702010-07-26 Anton Blanchard <anton@samba.org>
35571
35572 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35573 * malloc/arena.c (heap_trim): Likewise.
35574
1c06ba31
UD
355752010-08-16 Ulrich Drepper <drepper@redhat.com>
35576
35577 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35578 here. Not...
35579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35580 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35581
f8392f40
L
355822010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35583
35584 * sysdeps/i386/elf/Makefile: New file.
35585
3162f12e
AS
355862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35587
35588 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35589 from fanotify_init.
35590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35591 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35592
28c90b2c
UD
355932010-08-15 Ulrich Drepper <drepper@redhat.com>
35594
35595 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35596 of strncasecmp_l.
1feccb6c 35597 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35598
ca6bb004
UD
355992010-08-14 Ulrich Drepper <drepper@redhat.com>
35600
e9f82e0d
UD
35601 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35602 strncase_l-nonascii.
35603 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35604 Add strncase_l-ssse3.
35605 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35606 * sysdeps/x86_64/strcmp.S: Likewise.
35607 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35608 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35609 * sysdeps/x86_64/strncase.S: New file.
35610 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35611 * sysdeps/x86_64/strncase_l.S: New file.
35612 * string/Makefile (strop-tests): Add strncasecmp.
35613 * string/test-strncasecmp.c: New file.
35614
35615 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35616 warning.
35617
ca6bb004
UD
35618 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35619 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35620
052fa7b3
AS
356212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35622
35623 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35624
962dba78
UD
356252010-08-12 Ulrich Drepper <drepper@redhat.com>
35626
35627 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35628 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35629 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35630
bebff237
AM
356312010-05-01 Alan Modra <amodra@gmail.com>
35632
35633 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35634 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35635 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35636 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35637 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35638 tidying. Don't tail-call __sigjmp_save for static lib.
35639 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35640 save location.
35641 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35642 (CALL_MCOUNT): Add eh info, and nop after bl.
35643 (TAIL_CALL_SYSCALL_ERROR): New macro.
35644 (PSEUDO_RET): Use it.
35645 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35646 Correct save location of integer regs and cr.
35647 (_dl_profile_resolve): Correct cr save location. Delete nops
35648 after bl when SHARED. Reduce cfi size a little by better
35649 placement of cfi directives.
35650 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35651 make a stack frame. Instead use parm save area as a temp.
35652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35653 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35655 Don't make a stack frame for parent, use parm save area.
35656 Increase child stack frame to 112 bytes. Don't save unused reg,
35657 and adjust reg usage. Set up cfi on error recovery and
35658 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35660 (__makecontext): Add dummy nop after jump to exit.
35661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35662 Use correct parm save area and cr save, reduce stack frame.
35663 Correct cfi for possible PSEUDO_RET frame setup.
35664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35665 Branch to local label emitted by PSEUDO_RET rather than
35666 __syscall_error.
35667
02637374
AS
356682010-08-12 Andreas Schwab <schwab@redhat.com>
35669
35670 [BZ #11904]
35671 * locale/programs/locale.c (print_assignment): New function.
35672 (show_locale_vars): Use it.
35673
c3e2f19b
UD
356742010-08-11 Ulrich Drepper <drepper@redhat.com>
35675
3cdaa6ad
UD
35676 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35677 field.
35678 (struct statfs64): Likewise.
35679 (_STATFS_F_FLAGS): Define.
35680 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35681 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35682 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35683 (ST_VALID): Define locally.
35684 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35685 __statvfs_getflags, use the provided value.
35686 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35687 __ASSUME_STATFS_F_FLAGS.
35688
754f7da3
UD
35689 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35690
10b3bedc
UD
35691 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35692 Add sys/fanotify.h.
35693 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35694 fanotify_mask for GLIBC_2.13.
35695 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35696 fanotify_init and fanotify_mark.
35697 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35698 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35699
c08fb0d7
UD
35700 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35701 Add prlimit.
35702 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35703 prlimit64 for GLIBC_2.13.
35704 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35705 prlimit64.
35706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35707 syscall.
35708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35709 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35710 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35711 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35712 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35713 add prlimit alias.
35714 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35715
15bac72b
UD
35716 [BZ #11903]
35717 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35718 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35719
c3e2f19b
UD
35720 * nss/Makefile: Add rules to build and run tst-nss-test1.
35721 * shlib-versions: Add entry for libnss_test1.
35722 * nss/nss_test1.c: New file.
35723 * nss/tst-nss-test1.c: New file.
35724
35725 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35726 (__nss_configure_lookup): Set appropriate entry in
35727 __nss_configure_lookup to true.
35728 * nss/nsswitch.h: Define enum with indeces of databases in
35729 databases and __nss_database_custom arrays. Declare
35730 __nss_database_custom.
35731 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35732 to avoid using nscd when custom rules are installed.
35733 * nss/getXXbyYY_r.c: Likewise.
35734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35735
35736 * nss/nss_files/files-parse.c: Whitespace fixes.
35737
f15ce4d8
UD
357382010-08-09 Ulrich Drepper <drepper@redhat.com>
35739
35740 [BZ #11883]
35741 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35742 * posix/fnmatch_loop.c: Likewise.
35743
d22e4cc9
AK
357442010-07-17 Andi Kleen <ak@linux.intel.com>
35745
35746 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35747 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35748 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35749 * Versions.def [GLIBC_2.13]: Add.
35750
805bc17d
UD
357512010-08-06 Ulrich Drepper <drepper@redhat.com>
35752
35753 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35754 Also fail if tpwd after pwuid call is NULL.
35755
5a42321d
ST
357562010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35757
35758 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35759 when converting to ms.
35760
fd3ebeda
ST
357612010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35762
35763 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35764 EOPNOTSUPP errors with ENOTTY.
35765 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35766 EOPNOTSUPP errors with ENOTTY.
35767
73507d3a
UD
357682010-07-31 Ulrich Drepper <drepper@redhat.com>
35769
35770 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35771 Add strcasecmp_l-ssse3.
35772 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35773 strcasecmp.
35774 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35775 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35776 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35777
fe36dd02
UD
357782010-07-30 Ulrich Drepper <drepper@redhat.com>
35779
66f6765a
UD
35780 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35781
42e08a54
UD
35782 * string/Makefile (strop-tests): Add strcasecmp.
35783 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35784 strcasecmp_l-nonascii.
35785 (gen-as-const-headers): Add locale-defines.sym.
35786 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35787 * sysdeps/x86_64/strcasecmp.S: New file.
35788 * sysdeps/x86_64/strcasecmp_l.S: New file.
35789 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35790 * sysdeps/x86_64/locale-defines.sym: New file.
35791 * string/test-strcasecmp.c: New file.
35792
fe36dd02
UD
35793 * string/test-strcasestr.c: Test both ends of the range of characters.
35794 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35795
48cbc0d6
RM
357962010-07-29 Roland McGrath <roland@redhat.com>
35797
76e6d6bc 35798 [BZ #11856]
48cbc0d6
RM
35799 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35800
880113d9
UD
358012010-07-27 Ulrich Drepper <drepper@redhat.com>
35802
35803 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35804 for ld.so.
35805
deb9cabb
AS
358062010-07-27 Andreas Schwab <schwab@redhat.com>
35807
35808 * manual/memory.texi (Malloc Tunable Parameters): Document
35809 M_PERTURB.
35810
1c7570ff
RM
358112010-07-26 Roland McGrath <roland@redhat.com>
35812
35813 [BZ #11840]
35814 * configure.in (-fgnu89-inline check): Set and substitute
35815 gnu89_inline, not libc_cv_gnu89_inline.
35816 * configure: Regenerated.
35817 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35818
24fb0f88
UD
358192010-07-26 Ulrich Drepper <drepper@redhat.com>
35820
35821 * string/test-strnlen.c: New file.
35822 * string/Makefile (strop-tests): Add strnlen.
35823 * string/tester.c (test_strnlen): Add a few more test cases.
35824 * string/tst-strlen.c: Better error reporting.
35825
35826 * sysdeps/x86_64/strnlen.S: New file.
35827
8e96b93a
UD
358282010-07-24 Ulrich Drepper <drepper@redhat.com>
35829
35830 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35831 lower-latency instructions.
35832
dbc676d4
UD
358332010-07-23 Ulrich Drepper <drepper@redhat.com>
35834
35835 * string/test-strcasestr.c: New file.
35836 * string/test-strstr.c: New file.
35837 * string/Makefile (strop-tests): Add strstr and strcasestr.
35838 * string/str-two-way.h: Don't undefine MAX.
35839 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35840
f6a31e0e
AS
358412010-07-21 Andreas Schwab <schwab@redhat.com>
35842
35843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35844 strcasestr-nonascii.
35845 (CFLAGS-strcasestr-nonascii.c): Define.
35846 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35847 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35848 Remove unused attribute.
35849
5dbc3b6c
RM
358502010-07-20 Roland McGrath <roland@redhat.com>
35851
35852 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35853 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35854 ld.so.cache was broken. With it, there is no way to disable dsocaps
35855 like LD_HWCAP_MASK can disable hwcaps.
35856
23d101d8
EPM
358572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35858
35859 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35860
cc9f2e47
UD
358612010-07-16 Ulrich Drepper <drepper@redhat.com>
35862
35863 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35864 call in strcasestr.
35865 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35866 __strcasestr_sse42_nonascii.
35867 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35868 strcasestr-nonascii.c.
35869 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35870
77c1b069
LM
358712010-06-15 Luis Machado <luisgpm@br.ibm.com>
35872
35873 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35874 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35875 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35876 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35877
440566c3
UD
358782010-07-09 Ulrich Drepper <drepper@redhat.com>
35879
35880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35881 fcntl.
35882
5be9d05d
AS
358832010-07-06 Andreas Schwab <schwab@redhat.com>
35884
c30b7ee2 35885 [BZ #11577]
5be9d05d
AS
35886 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35887 dl_signal_cerror.
35888
8a492a67
UD
358892010-07-06 Ulrich Drepper <drepper@redhat.com>
35890
35891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35892 _PC_PIPE_BUF using F_GETPIPE_SZ.
35893
713df3d5
RM
358942010-07-05 Roland McGrath <roland@redhat.com>
35895
35896 * manual/arith.texi (Rounding Functions): Fix rint description
35897 implicit in round description.
35898
702e8f14
UD
358992010-07-02 Ulrich Drepper <drepper@redhat.com>
35900
35901 * elf/Makefile: Fix linking for a few tests to make recent linker
35902 happy.
35903
52ed8be9
AS
359042010-06-30 Andreas Schwab <schwab@redhat.com>
35905
35906 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35907 $(common-objpfx)libc_nonshared.a.
35908
f47c9a11
LM
359092010-06-21 Luis Machado <luisgpm@br.ibm.com>
35910
35911 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35912 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35913 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35914 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35915 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35916 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35917 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35918 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35933 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35934 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35935 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35936 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35937 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35938 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35939 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35940 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35941 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35942 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35943 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35944 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35959
6fb8cbcb
L
359602010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35961
35962 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35963 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35964 * string/memmove.c (memmove): Renamed to ...
35965 (MEMMOVE): ...this. Default to memmove.
35966 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35967 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35968 (END_CHK): Define.
35969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35970 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35971 mempcpy-ssse3-back memmove-ssse3-back.
35972 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35973 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35974 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35975 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35976 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35977 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35978 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35979 * sysdeps/x86_64/multiarch/memmove.c: New file.
35980 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35981 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35982 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35983 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35984 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35985 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35986 Define.
35987 (index_Fast_Copy_Backward): Define.
35988 (HAS_ARCH_FEATURE): Define.
35989 (HAS_FAST_REP_STRING): Define.
35990 (HAS_FAST_COPY_BACKWARD): Define.
35991
4e733bac 359922010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35993
35994 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35995 Restore proper fallback handling.
35996
63c4ed22
UD
359972010-06-19 Ulrich Drepper <drepper@redhat.com>
35998
ac2b484c
UD
35999 [BZ #11701]
36000 * posix/group_member.c (__group_member): Correct checking loop.
36001
63c4ed22
UD
36002 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36003 OOM in getpwuid_r correctly. Return error number when the caller
36004 should return, otherwise -1.
36005 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36006 call returning > 0 value.
36007 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36008
765ade4b
AS
360092010-06-07 Andreas Schwab <schwab@redhat.com>
36010
36011 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36012 libc_nonshared.a from targets in modules-names.
36013
80da2e09
KS
360142010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36015
36016 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36017 requires it.
36018
158db122
LM
360192010-06-10 Luis Machado <luisgpm@br.ibm.com>
36020
36021 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36022 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36023 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36024 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36025
caa78cf8
AS
360262010-06-02 Andreas Schwab <schwab@redhat.com>
36027
36028 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36029
b2ef2c01
UD
360302010-06-14 Ulrich Drepper <drepper@redhat.com>
36031
36032 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36033 and F_GETPIPE_SZ.
36034 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36035 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36039 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36040
fbd643b6
RM
360412010-06-14 Roland McGrath <roland@redhat.com>
36042
36043 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36044
f32f2869
JJ
360452010-06-07 Jakub Jelinek <jakub@redhat.com>
36046
36047 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36048 __REDIRECT followed by __THROW.
36049 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36050 * posix/getopt.h (getopt): Likewise.
36051
2a50c078
EPM
360522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36053
36054 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36055 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36056 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36057 in AT_FLAGS.
36058 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36059 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36060
eb5ad2eb
LM
360612010-05-28 Luis Machado <luisgpm@br.ibm.com>
36062
36063 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36064
3c88fe1e
L
360652010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36066
36067 [BZ #11640]
36068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36069 Properly check family and model.
36070
d2f73151
TY
360712010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36072
36073 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36074
ebd2e13d
LM
360752010-05-24 Luis Machado <luisgpm@br.ibm.com>
36076
36077 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36078
b32b8b45
UD
360792010-05-21 Ulrich Drepper <drepper@redhat.com>
36080
36081 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36082 symbol reference.
36083
9acbe24d
AS
360842010-05-19 Andreas Schwab <schwab@redhat.com>
36085
36086 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36087 symbol reference.
36088
f0ccf6ea
AS
360892010-05-21 Andreas Schwab <schwab@redhat.com>
36090
3d04ff3a
AS
36091 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36092 and internal_recvmmsg.
36093 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36094 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36095 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36096 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36097
f0ccf6ea
AS
36098 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36099 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36100 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36101
5b08ac57
AS
361022010-05-20 Andreas Schwab <schwab@redhat.com>
36103
36104 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36105
4828935d
LM
361062010-05-17 Luis Machado <luisgpm@br.ibm.com>
36107
36108 POWER7 optimizations.
36109 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36110 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36111
373d545e
UD
361122010-05-19 Ulrich Drepper <drepper@redhat.com>
36113
36114 * version.h: Update for 2.13 development version.
36115
21a2b1ae
AS
361162010-05-12 Andrew Stubbs <ams@codesourcery.com>
36117
36118 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36119 exceptions. Return 0.
36120
3f7dcb2b
RM
361212010-05-07 Roland McGrath <roland@redhat.com>
36122
36123 * elf/ldconfig.c (main): Add a const.
36124
5f24d53a 361252010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36126
a160f8d8
UD
36127 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36128 (args_options): Add no-idn option.
36129 (ahosts_keys_int): Add idn_flags to ai_flags.
36130 (parse_option): Handle 'i' option to clear idn_flags.
36131
5f24d53a
UD
36132 * malloc/malloc.c (_int_free): Possible race in the most recently
36133 added check. Only act on the data if no current modification
36134 happened.
265bb1ce
UD
36135
36136See ChangeLog.17 for earlier changes.
This page took 4.745725 seconds and 5 git commands to generate.