]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
benchtests: Append volatile keyword to type instead of prepending
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f4479220
SP
12013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * scripts/bench.pl: Append volatile keyword to type.
4
8517800f
KK
52013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6
7 * sysdeps/sh/sotruss-lib.c: New file.
8 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9
180138f1
AZ
102013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11
12 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13
bbf37bdc
JM
142013-12-05 Joseph Myers <joseph@codesourcery.com>
15
e47cc4e0
JM
16 [BZ #6810]
17 * math/w_tgamma.c: Include <errno.h>.
18 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19 * math/w_tgammaf.c: Include <errno.h>.
20 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21 * math/w_tgammal.c: Include <errno.h>.
22 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
23 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24 underflow. Add more tgamma tests.
25 * math/auto-libm-test-out: Regenerated.
26 * sysdeps/i386/fpu/libm-test-ulps: Update.
27 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28
bbf37bdc
JM
29 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30 sin, sinh, tan, tanh, tgamma, y0 and y1.
31 * math/auto-libm-test-out: Regenerated.
32 * math/libm-test.inc (TEST_COND_x86_64): New macro.
33 (TEST_COND_x86): Likewise.
34 (M_E2l): Remove macro.
35 (M_E3l): Likewise.
36 (M_2_SQRT_PIl): Likewise.
37 (M_SQRT_PIl): Likewise.
38 (M_1_DIV_El): Likewise.
39 (log_test_data): Use AUTO_TESTS_f_f.
40 (log10_test_data): Likewise.
41 (log1p_test_data): Likewise.
42 (log2_test_data): Likewise.
43 (sin_test_data): Likewise.
44 (sin_tonearest_test_data): Likewise.
45 (sin_towardzero_test_data): Likewise.
46 (sin_downward_test_data): Likewise.
47 (sin_upward_test_data): Likewise.
48 (sinh_test_data): Likewise.
49 (sinh_tonearest_test_data): Likewise.
50 (sinh_towardzero_test_data): Likewise.
51 (sinh_downward_test_data): Likewise.
52 (sinh_upward_test_data): Likewise.
53 (tan_test_data): Likewise.
54 (tan_tonearest_test_data): Likewise.
55 (tan_towardzero_test_data): Likewise.
56 (tan_downward_test_data): Likewise.
57 (tan_upward_test_data): Likewise.
58 (tanh_test_data): Likewise.
59 (tgamma_test_data): Likewise.
60 (y0_test_data): Likewise.
61 (y1_test_data): Likewise.
62 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
63 (special_real_inputs): Add pi/4.
64 * sysdeps/i386/fpu/libm-test-ulps: Update.
65 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66
eb5ad6b9
AZ
672013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68
69 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
70 "longjmp_target" static probes.
71 (__longjmp): Rename to __longjmp_symbol.
72 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
74 on which longjmp to generate.
75 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
76 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
77 probe.
78 (__sigsetjmp): Rename to __sigsetjmp_symbol.
79 (__sigjmp_save): Rename to __sigjmp_save_symbol.
80 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
81 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
82 and __sigjmp_save_symbol based on which sigsetjmp to generated.
83 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
84 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
85 __longjmp_symbol based on which __longjmp to generate.
86 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
87 probe.
88 (setjmp): Rename to setjmp_symbol.
89 (__sigsetjmp): Rename to __sigsetjmp_symbol.
90 (_setjmp): Rename to _setjmp_symbol.
91 (__sigsetjmp): Rename to __sigsetjmp_symbol.
92 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
93 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
94 which setjmp to generate.
95 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
96 "longjmp_target" static probes.
97
d136c6dc
SP
982013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
99
9298ecba
SP
100 * benchtests/README: Add note about output arguments.
101 * benchtests/bench-sincos.c: Remove file.
102 * benchtests/sincos-inputs: New file.
103 * scripts/bench.pl: Identify output arguments and define
104 static variables for them.
105
232983e9
SP
106 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
107
d136c6dc
SP
108 [BZ #15941]
109 * Makefile (INSTALL): Add install-plain.texi as the primary
110 dependency.
111 * manual/install-plain.texi: New file.
112 * manual/install.texi: Include node directive only for
113 non-plaintext output.
114
699ff837
JM
1152013-12-04 Joseph Myers <joseph@codesourcery.com>
116
ab07cea8
JM
117 * stdlib/longlong.h: Update from GCC.
118
699ff837
JM
119 [BZ #6807]
120 [BZ #15901]
121 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
122 * math/w_j0f.c (y0f): Likewise.
123 * math/w_j0l.c (__y0l): Likewise.
124 * math/w_j1.c (y1): Likewise.
125 * math/w_j1f.c (y1f): Likewise.
126 * math/w_j1l.c (__y1l): Likewise
127 * math/w_jn.c (yn): Likewise.
128 * math/w_jnf.c (ynf): Likewise.
129 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
130 Bessel function pole errors in _POSIX_ mode. Use NAN as return
131 value for Bessel function domain errors outside _SVID_ mode.
132 Adjust sign of return value for yn (negative integer, 0).
133 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
134 by zero in return for negative x and set sign appropriately for
135 negative n.
136 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
137 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
138 * math/libm-test.inc (y0_test_data): Add more tests and adjust
139 expectations in error cases.
140 (y1_test_data): Likewise.
141 (yn_test_data): Likewise.
142 * sysdeps/i386/fpu/libm-test-ulps: Update.
143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
144
5b118558
UW
1452013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
146
147 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
148 "64" to "64-v1". Add "64-v2".
149 (abi-64-options): Rename to ...
150 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
151 (abi-64-condition): Rename to ...
152 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
153 (abi-64-ld-soname): Rename to ...
154 (abi-64-v1-ld-soname): ... this.
155 (abi-64-v2-options): Define.
156 (abi-64-v2-condition): Likewise.
157 (abi-64-v2-ld-soname): Likewise.
158 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
159 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
163
61cd8fe4
UW
1642013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
165 Alan Modra <amodra@gmail.com>
166
167 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
168 New versions for use with the ELFv2 ABI.
169 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
170 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
171 declaration.
172 (struct La_ppc64v2_retval): Likewise.
173 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
174 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
175 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
176 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
177 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
178 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
179 Do not save or restore CR.
180 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
181 (_dl_profile_resolve): Do no save or restore CR. Support extended
182 return values for ELFv2 ABI. Fix location of FPR return registers.
183 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
184 updated values for _CALL_ELF == 2.
185 (La_regs, La_retval, int_retval): Likewise.
186
8b8a692c
UW
1872013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
188
189 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
190 (FRAME_MIN_SIZE_PARM): Likewise.
191 (FRAME_BACKCHAIN): Likewise.
192 (FRAME_CR_SAVE): Likewise.
193 (FRAME_LR_SAVE): Likewise.
194 (FRAME_TOC_SAVE): Likewise.
195 (FRAME_PARM_SAVE): Likewise.
196 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
197 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
198 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
199 (call_mcount_parm_offset): New macro.
200 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
201 (PROF): Use symbolic stack frame offsets.
202 (TAIL_CALL_SYSCALL_ERROR): Likewise.
203 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
204 Redefine in terms of FRAME_MIN_SIZE.
205 (_dl_runtime_resolve): Use symbolic stack frame offsets.
206 (_dl_profile_resolve): Likewise. Update comment.
207 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
208 symbols stack frame offsets.
209 (__sigsetjmp): Likewise.
210 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
211 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
212 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
213 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
214
215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
216 (FRAME_BACKCHAIN): Remove.
217 (FRAME_CR_SAVE): Likewise.
218 (FRAME_LR_SAVE): Likewise.
219 (FRAME_COMPILER_DW): Likewise.
220 (FRAME_LINKER_DW): Likewise.
221 (FRAME_TOC_SAVE): Likewise.
222 (FRAME_PARM_SAVE): Likewise.
223 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
224 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
225 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
227 (CHECK_SP): Use symbolic stack frame offsets.
228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
229 zone" instead of caller's parameter save area for temp storage.
230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
231 Likewise. Also, use symbolic stack frame offsets.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
233 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
234 our own stack frame instead of the caller's.
235 (__socket): Use symbolic stack frame offsets.
236
122b66de
UW
2372013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
238 Alan Modra <amodra@gmail.com>
239
240 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
241 Define.
242 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
243 PPC64_LOCAL_ENTRY_OFFSET): Define.
244 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
245 New function.
246 (elf_machine_fixup_plt): Call it.
247 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
248 reloc arguments.
249 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
250 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
251 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
252 r2 before calling target.
253
696caf1d
UW
2542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
255 Alan Modra <amodra@gmail.com>
256
257 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
258 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
259 versions of macros to support ELFv2 ABI.
260 (LOCALENTRY): New macro.
261 (ENTRY, EALIGN): Use it.
262 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
263 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
264 fall through into ENTRY entry point.
265 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
266 Only define if _CALL_ELF != 2.
267
268 (elf_machine_matches_host): Verify ABI version matches.
269 (RTLD_START): Use LOCALENTRY.
270 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
271 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
272 (PLT_ENTRY_WORDS): New macro.
273 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
274 (elf_machine_runtime_setup): Support ELFv2 ABI.
275 (elf_machine_fixup_plt): Likewise.
276 (elf_machine_plt_conflict): Likewise.
277 (resolve_ifunc): Likewise.
278 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
279 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
280 Likewise.
281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
282 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
284 (makecontext): Support ELFv2 ABI.
285 * elf/elf.h (EF_PPC64_ABI): Define.
286
d31beafa
UW
2872013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
288
289 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
290 New assembler macro.
291 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
292 [ASSEMBLER] (ENTRY): ... but instead here ...
293 [ASSEMBLER] (EALIGN): ... and here.
294 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
295 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
296 [!ASSEMBLER] (ENTRY_2): Use it.
297 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
298 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
299 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
300 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
301 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
303 Use PPC64_LOAD_FUNCPTR.
304
b525166b
UW
3052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
306
307 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
308
7ec07d9a
AM
3092013-12-04 Alan Modra <amodra@gmail.com>
310
311 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
312 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
313 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
314 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
315
316 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
317 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
318 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
319 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
320 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
321 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
322
5162e7dd
UW
3232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
324
325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
326 (__makecontext): Fix incorrect CFI when backtracing out of
327 context created via makecontext.
328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
329 (__setcontext): Fix incorrect CFI during switch to new context.
330 (__novec_setcontext): Likewise.
331
19e3372b
OB
3322013-12-04 Ondřej Bílka <neleai@seznam.cz>
333
334 [BZ #4772]
335 * time/strptime_l.c (__strptime_internal): Allow modifiers
336 in strptime.
337 * time/tst-strptime.c (day_tests): Add testcase.
338
339
ecaf142d
SP
3402013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
341
342 * scripts/bench.pl: Skip over blank lines.
343
fbf964ae
PE
3442013-12-04 Paul Eggert <eggert@cs.ucla.edu>
345
346 [BZ #926]
347 * manual/time.texi (Calendar Time): Clarify what timezone functions
348 use.
349
fa60a674
AZ
3502013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
351
352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
353
d674f0ef
OB
3542013-12-04 Ondřej Bílka <neleai@seznam.cz>
355
356 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
357 implementation.
358 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
359 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
360 * debug/memset_chk.c (__memset_chk): Likewise.
361 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
362 * debug/strncpy_chk.c: Likewise.
363
17dea188
JM
3642013-12-03 Joseph Myers <joseph@codesourcery.com>
365
749008ff
JM
366 [BZ #15268]
367 [BZ #15425]
368 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
369 (__ieee754_exp): For possibly underflowing results, check size of
370 result and force underflow exception if required.
371 * math/auto-libm-test-in: Add more tests of exp.
372 * math/auto-libm-test-out: Regenerated.
373 * sysdeps/i386/fpu/libm-test-ulps: Update.
374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
375
17dea188
JM
376 [BZ #16283]
377 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
378 * math/w_exp2f.c (__exp2f): Likewise.
379 * math/w_exp2l.c (__exp2l): Likewise.
380 * math/auto-libm-test-in: Do not allow missing errno on exp2
381 underflow.
382 * math/auto-libm-test-out: Regenerated.
383
b20de2c3
OB
3842013-12-03 Ondřej Bílka <neleai@seznam.cz>
385
386 [BZ #16274]
387 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
388 handle filename validation.
389 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
390 (do_open): Delete.
391
d8e2dbe3
JM
3922013-12-03 Joseph Myers <joseph@codesourcery.com>
393
34e16df5
JM
394 [BZ #6786]
395 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
396 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
397 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
398 <float.h>.
399 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
400 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
401 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
402 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
403 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
404 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
405 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
406 * math/auto-libm-test-in: Don't allow missing errno from erfc.
407 Add more erfc tests.
408 * math/auto-libm-test-out: Regenerated.
409 * sysdeps/i386/fpu/libm-test-ulps: Update.
410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
411
d8e2dbe3
JM
412 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
413 exp2, expm1, j0 and j1.
414 * math/auto-libm-test-out: Regenerated.
415 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
416 (erfc_test_data): Likewise.
417 (exp_test_data): Likewise.
418 (exp_tonearest_test_data): Likewise.
419 (exp_towardzero_test_data): Likewise.
420 (exp_downward_test_data): Likewise.
421 (exp_upward_test_data): Likewise.
422 (exp10_test_data): Likewise.
423 (exp2_test_data): Likewise.
424 (expm1_test_data): Likewise.
425 (j0_test_data): Likewise.
426 (j1_test_data): Likewise.
427 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
428 (input_flag_type): Add flag_xfail_rounding.
429 (input_flags): Add xfail-rounding.
430 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
431 (output_for_one_input_case): Handle flag_xfail_rounding.
432 * sysdeps/i386/fpu/libm-test-ulps: Update.
433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
434
18d14251
AJ
4352013-12-03 Aurelien Jarno <aurelien@aurel32.net>
436
3d2e6075 437 [BZ #16289]
18d14251
AJ
438 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
439 division by 0.
440
520d437b
SP
4412013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
442
443 [BZ #16195]
444 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
445 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
446 (STAP_PROBE0): New macro.
447 (STAP_PROBE1): Likewise.
448 (STAP_PROBE2): Likewise.
449 (STAP_PROBE3): Likewise.
450 (STAP_PROBE4): Likewise.
451
416e0145
OB
4522013-12-02 Ondřej Bílka <neleai@seznam.cz>
453
454 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
455
9d17796a
SE
4562013-12-02 Steve Ellcey <sellcey@mips.com>
457
458 * benchtests/Makefile (bench): Add sqrt.
459 (LDLIBS-bench-sqrt): New.
460 * benchtests/sqrt-input: New.
461
f524d6a8
PS
4622013-12-02 Pavel Simerda <psimerda@redhat.com>
463
639a0ef8
PS
464 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
465 (GAIH_EAI): Likewise.
466 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
467 (gaih_inet): Likewise.
468 (getaddrinfo): Don't use GAIH_EAI.
469
f524d6a8
PS
470 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
471 (struct gaih): Remove definition.
472
df3aedaf
SP
4732013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
474
475 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
476 Use HERRNOP directly.
477
1ab19dec
AZ
4782013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
479
b42ad38d 480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 481
176b0c79
JM
4822013-11-30 Joseph Myers <joseph@codesourcery.com>
483
484 * math/gen-auto-libm-tests.c (test_functions): Add more
485 single-argument functions.
486 (special_fill_pi_2): New function.
487 (special_fill_minus_pi_2): Likewise.
488 (special_fill_pi_6): Likewise.
489 (special_fill_minus_pi_6): Likewise.
490 (special_fill_pi_3): Likewise.
491 (special_fill_2pi_3): Likewise.
492 (special_fill_e): Likewise.
493 (special_fill_1_e): Likewise.
494 (special_fill_e_minus_1): Likewise.
495 (special_real_inputs): Add more special inputs.
496 (output_for_one_input_case): Do not require ERANGE on underflow to
497 zero if round-to-nearest result does not underflow to zero, unless
498 exact results required.
499 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
500 atan, atanh, cbrt, cos and cosh.
501 * math/auto-libm-test-out: Regenerated.
502 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
503 (acos_tonearest_test_data): Likewise.
504 (acos_towardzero_test_data): Likewise.
505 (acos_downward_test_data): Likewise.
506 (acos_upward_test_data): Likewise.
507 (acosh_test_data): Likewise.
508 (asin_test_data): Likewise.
509 (asin_tonearest_test_data): Likewise.
510 (asin_towardzero_test_data): Likewise.
511 (asin_upward_test_data): Likewise.
512 (asinh_test_data): Likewise.
513 (atan_test_data): Likewise.
514 (atanh_test_data): Likewise.
515 (cbrt_test_data): Likewise.
516 (cos_test_data): Likewise.
517 (cos_tonearest_test_data): Likewise.
518 (cos_towardzero_test_data): Likewise.
519 (cos_downward_test_data): Likewise.
520 (cos_upward_test_data): Likewise.
521 (cosh_test_data): Likewise.
522 (cosh_tonearest_test_data): Likewise.
523 (cosh_towardzero_test_data): Likewise.
524 (cosh_downward_test_data): Likewise.
525 (cosh_upward_test_data): Likewise.
526 * sysdeps/i386/fpu/libm-test-ulps: Update.
527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
528
ffb536d0
JM
5292013-11-29 Joseph Myers <joseph@codesourcery.com>
530
2a77a467
JM
531 [BZ #6787]
532 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
533 * math/w_exp10f.c (__exp10f): Likewise.
534 * math/w_exp10l.c (__exp10l): Likewise.
535 * math/libm-test.inc (exp10_test_data): Add more tests and expect
536 errno settings in existing tests.
537
ea3bc4e8
JM
538 [BZ #14032]
539 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
540 precision control set to double precision.
541 * sysdeps/i386/fpu/w_sqrt.c: New file.
542 * math/auto-libm-test-in: Add more tests.
543 * math/auto-libm-test-out: Update.
544
0712c9d8
JM
545 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
546 (sqrt_test_tonearest): New function.
547 (sqrt_towardzero_test_data): New variable.
548 (sqrt_test_towardzero): New function.
549 (sqrt_downward_test_data): New variable.
550 (sqrt_test_downward): New function.
551 (sqrt_upward_test_data): New variable.
552 (sqrt_test_upward): New function.
553 (main): Call the new functions.
554
ffb536d0
JM
555 * math/gen-auto-libm-tests.c: New file.
556 * math/auto-libm-test-in: Likewise.
557 * math/auto-libm-test-out: New generated file.
558 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
559 variables.
560 (%beautify): Add generated representations of zero.
561 (top level): Set $auto_input and call parse_auto_input.
562 (beautify): Remove trailing "f" from hex float constants.
563 (parse_args): Handle XFAIL_TEST.
564 (convert_condition): New function.
565 (or_value): Likewise.
566 (or_cond_value): Likewise.
567 (generate_testfile): Handle AUTO_TESTS_* lines.
568 (parse_auto_input): New function.
569 * math/libm-test.inc (XFAIL_TEST): New macro.
570 (ERRNO_UNCHANGED): Update value.
571 (ERRNO_EDOM): Likewise.
572 (ERRNO_ERANGE): Likewise.
573 (IGNORE_RESULT): Likewise.
574 (TEST_COND_flt_32): New macro.
575 (TEST_COND_dbl_64): Likewise.
576 (TEST_COND_ldbl_96_intel): Likewise.
577 (TEST_COND_ldbl_96_m68k): Likewise.
578 (TEST_COND_ldbl_128): Likewise.
579 (TEST_COND_ldbl_128ibm): Likewise.
580 (TEST_COND_long32): Likewise.
581 (TEST_COND_long64): Likewise.
582 (TEST_COND_before_rounding): Likewise.
583 (TEST_COND_after_rounding): Likewise.
584 (enable_test): Handle XFAIL_TEST flag.
585 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
586 with finite results.
587 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
588 auto-libm-test-out.
589
acd98a8e
AK
5902013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
591 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
592
593 [BZ #16214]
594 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
595 __tls_get_addr_internal instead of __tls_get_offset in order to
596 avoid GOT pointer dependency. Make rtld export
597 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
598 __tls_get_addr since we are a __tls_get_offset platform.
599 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
600 GOT pointer being set up before.
601 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
602
3c1c46a6
JM
6032013-11-28 Joseph Myers <joseph@codesourcery.com>
604
7475aef5
JM
605 * manual/math.texi (Errors in Math Functions): Document accuracy
606 goals.
607
8bca7cd8
JM
608 [BZ #15004]
609 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
610 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
611 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
612 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
613 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
614 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
615 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
616 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
617 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
618 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
619 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
620 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
621 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
622 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
623 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
624 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
625
91a1f3fe
JM
626 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
627 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
628 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
629 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
630 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
631 Likewise.
632 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
633 Likewise.
634 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
635 Likewise.
636 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
637 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
638 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
639 atomic-feupdateenv and flt-rounds.
640 * sysdeps/powerpc/nofpu/Versions (libc): Add
641 __atomic_feholdexcept, __atomic_feclearexcept,
642 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
643 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
644 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
645 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
646 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
647 here.
648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
649 Update.
650
c5df7609
JM
651 * manual/arith.texi (FP Exceptions): Document that exceptions may
652 not be raised when matherr is used.
653 (Math Error Reporting): Document overflow in directed rounding
654 modes. Document that errno may not be set when finite values are
655 returned on overflow. Document intent to set errno on underflow
656 only for underflow to zero.
657
3c1c46a6
JM
658 [BZ #16271]
659 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
660 round-to-nearest then adjust result for other rounding modes.
661 * include/fenv.h (fegetround): Use libm_hidden_proto.
662 * math/fegetround.c (fegetround): Use libm_hidden_def.
663 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
664 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
665 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
666 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
667 Likewise.
668 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
669 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
670 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
671 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
672
5a4c6d53
SP
6732013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
674
675 [BZ #16077]
676 * nss/Versions (libnss_files): Add
677 _nss_files_gethostbyname3_r.
678 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
679 New function.
680 (HOST_DB_LOOKUP): Remove macro.
681 (_nss_files_gethostbyname_r): Implement function without the
682 HOST_DB_LOOKUP macro.
683 (_nss_files_gethostbyname2_r): Likewise.
684
897b98ba
OB
6852013-11-28 Ondřej Bílka <neleai@seznam.cz>
686
687 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
688
6f476861
UB
6892013-11-26 Uros Bizjak <ubizjak@gmail.com>
690
691 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
692 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
693 warning.
694
bd12ab55
AZ
6952013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
696
697 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
698 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
699 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
700 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
701 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
702 __fe_nomask_env_priv and attribute_hidden.
703 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
704 (libc_feupdateenv_test_ppc): Likewise.
705 (libc_feresetround_ppc): Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
707 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
708 compat_symbol macro.
709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
710 (__fe_nomask_env): Likewise.
711 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
712
52bb6543
OB
7132013-11-26 Ondřej Bílka <neleai@seznam.cz>
714
715 * string/Makefile: Remove ifunc tests.
716 * string/test-string.h: Define TEST_IFUNC.
717 * string/test-bcopy-ifunc.c: Remove.
718 * string/test-bzero-ifunc.c: Likewise.
719 * string/test-memccpy-ifunc.c: Likewise.
720 * string/test-memchr-ifunc.c: Likewise.
721 * string/test-memcmp-ifunc.c: Likewise.
722 * string/test-memcpy-ifunc.c: Likewise.
723 * string/test-memmem-ifunc.c: Likewise.
724 * string/test-memmove-ifunc.c: Likewise.
725 * string/test-mempcpy-ifunc.c: Likewise.
726 * string/test-memrchr-ifunc.c: Likewise.
727 * string/test-memset-ifunc.c: Likewise.
728 * string/test-rawmemchr-ifunc.c: Likewise.
729 * string/test-stpcpy-ifunc.c: Likewise.
730 * string/test-stpncpy-ifunc.c: Likewise.
731 * string/test-strcasecmp-ifunc.c: Likewise.
732 * string/test-strcasestr-ifunc.c: Likewise.
733 * string/test-strcat-ifunc.c: Likewise.
734 * string/test-strchr-ifunc.c: Likewise.
735 * string/test-strchrnul-ifunc.c: Likewise.
736 * string/test-strcmp-ifunc.c: Likewise.
737 * string/test-strcpy-ifunc.c: Likewise.
738 * string/test-strcspn-ifunc.c: Likewise.
739 * string/test-strlen-ifunc.c: Likewise.
740 * string/test-strncasecmp-ifunc.c: Likewise.
741 * string/test-strncat-ifunc.c: Likewise.
742 * string/test-strncmp-ifunc.c: Likewise.
743 * string/test-strncpy-ifunc.c: Likewise.
744 * string/test-strnlen-ifunc.c: Likewise.
745 * string/test-strpbrk-ifunc.c: Likewise.
746 * string/test-strrchr-ifunc.c: Likewise.
747 * string/test-strspn-ifunc.c: Likewise.
748 * string/test-strstr-ifunc.c: Likewise.
749
ab260039 7502013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
751
752 * benchtests/Makefile: Remove ifunc tests.
753 * benchtests/bench-string.h: Define TEST_IFUNC.
754 * benchtests/bench-bcopy-ifunc.c: Remove.
755 * benchtests/bench-bzero-ifunc.c: Likewise.
756 * benchtests/bench-memccpy-ifunc.c: Likewise.
757 * benchtests/bench-memchr-ifunc.c: Likewise.
758 * benchtests/bench-memcmp-ifunc.c: Likewise.
759 * benchtests/bench-memcpy-ifunc.c: Likewise.
760 * benchtests/bench-memmem-ifunc.c: Likewise.
761 * benchtests/bench-memmove-ifunc.c: Likewise.
762 * benchtests/bench-mempcpy-ifunc.c: Likewise.
763 * benchtests/bench-memrchr-ifunc.c: Likewise.
764 * benchtests/bench-memset-ifunc.c: Likewise.
765 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
766 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
767 * benchtests/bench-stpcpy-ifunc.c: Likewise.
768 * benchtests/bench-stpncpy-ifunc.c: Likewise.
769 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
770 * benchtests/bench-strcasestr-ifunc.c: Likewise.
771 * benchtests/bench-strcat-ifunc.c: Likewise.
772 * benchtests/bench-strchr-ifunc.c: Likewise.
773 * benchtests/bench-strchrnul-ifunc.c: Likewise.
774 * benchtests/bench-strcmp-ifunc.c: Likewise.
775 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
776 * benchtests/bench-strcpy-ifunc.c: Likewise.
777 * benchtests/bench-strcspn-ifunc.c: Likewise.
778 * benchtests/bench-strlen-ifunc.c: Likewise.
779 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
780 * benchtests/bench-strncat-ifunc.c: Likewise.
781 * benchtests/bench-strncmp-ifunc.c: Likewise.
782 * benchtests/bench-strncpy-ifunc.c: Likewise.
783 * benchtests/bench-strnlen-ifunc.c: Likewise.
784 * benchtests/bench-strpbrk-ifunc.c: Likewise.
785 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 786 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
787 * benchtests/bench-strspn-ifunc.c: Likewise.
788 * benchtests/bench-strstr-ifunc.c: Likewise.
789
7902013-11-26 Ondřej Bílka <neleai@seznam.cz>
791
ab260039
OB
792 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
793
d1d9eaf4 7942013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 795
d1d9eaf4
OB
796 * resolv/netdb.h: Use __glibc_reserved instead __unused.
797 * rt/aio.h: Likewise.
798 * sysdeps/gnu/bits/utmp.h: Likewise.
799 * sysdeps/gnu/bits/utmpx.h: Likewise.
800 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
801 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
802 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
803 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
804 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
805 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
806 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
807 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
808 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
809 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
810 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
811 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
812 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
814 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
815 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
816 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
817 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
818 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
819 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
820 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
821 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
822 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
823 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
824 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
826 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
827 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
828 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
829 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
830 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
831 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
832 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
833 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
834 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
835 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
836 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
837 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
838 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
839 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
840 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
841 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
842
a7624ed9
CD
8432013-11-25 Carlos O'Donell <carlos@redhat.com>
844
845 [BZ #16245]
846 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
847 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
848
63cfe52b
JM
8492013-11-25 Joseph Myers <joseph@codesourcery.com>
850
851 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
852 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
853 Likewise.
854
41e8926a
AZ
8552013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
856
857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
858 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
859 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
860 (__fesetround): Remove define.
861 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
862 rounding and exceptions handling.
863 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
864 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
865 (__fe_nomask_env): Likewise.
866 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
867 __fegetround instead of fegetround.
868 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
869 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
870
6851bd4d
RM
8712013-11-21 Roland McGrath <roland@hack.frob.com>
872
070906ff
RM
873 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
874 it's there.
875
6851bd4d
RM
876 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
877
84ae135d
MI
8782013-11-21 Meador Inge <meadori@codesourcery.com>
879
880 [BZ #11157]
881 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
882 (encrypt_r): Likewise.
883 * malloc/obstack.h (obstack_free): Likewise.
884 * posix/unistd.h (encrypt): Likewise.
885
daf75146
GM
8862013-11-21 Guy Martin <gmsoft@tuxicoman.be>
887
888 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
889 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
890 DL_CALL_DT_FINI() that call the functions directly.
891 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
892 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
893 * elf/dl-fini.c: Likewise.
894
10ad46bc
OB
8952013-11-20 Ondřej Bílka <neleai@seznam.cz>
896
897 * malloc/hooks.c (memalign_check): Add alignment rounding.
898 * malloc/malloc.c (_mid_memalign): New function.
899 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
900 Implement by calling _mid_memalign.
901 * manual/probes.texi (Memory Allocation Probes): Remove
902 memory_valloc_retry and memory_pvalloc_retry.
903
f3fd2628
SP
9042013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
905
4712799f
SP
906 * locale/programs/locarchive.c (open_archive): Add const
907 qualifier to ARCHIVEFNAME and copy default fname to
908 DEFAULT_FNAME.
909
0417b20f
SP
910 [BZ #15601]
911 * libio/tst-widetext.input: Rename Oriya to Odia.
912 * locale/iso-639.def: Likewise.
913
f3fd2628
SP
914 * manual/probes.texi (Mathematical Function Probes): Add
915 documentation for sin, cos, asin and acos probes.
916 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
917 (__sin32): Add slowasin probe.
918 (__cos32): Add slowacos probe.
919 (__mpsin): Add slowsin probe.
920 (__mpcos): Add slowcos probe.
921
73c1ce4f
JM
9222013-11-19 Joseph Myers <joseph@codesourcery.com>
923
924 [BZ #15483]
925 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
926 thread-local __sim_exceptions_thread and global
927 __sim_exceptions_global.
928 (__sim_disabled_exceptions): Change to thread-local
929 __sim_disabled_exceptions_thread and global
930 __sim_disabled_exceptions_global.
931 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
932 and global __sim_round_mode_global.
933 (__simulate_exceptions): Use thread-local floating-point state and
934 set global state from it as needed.
935 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
936 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
937 __sim_round_mode_thread.
938 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
939 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
940 and global __sim_exceptions_global.
941 (__sim_disabled_exceptions): Change to thread-local
942 __sim_disabled_exceptions_thread and global
943 __sim_disabled_exceptions_global.
944 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
945 and global __sim_round_mode_global.
946 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
947 (SIM_SET_GLOBAL): Likewise.
948 * sysdeps/powerpc/soft-fp/sfp-machine.h
949 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
950 __sim_round_mode_thread.
951 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
952 __sim_disabled_exceptions_thread.
953 (__sim_exceptions): Change to __sim_exceptions_thread.
954 (__sim_disabled_exceptions): Change to
955 __sim_disabled_exceptions_thread.
956 (__sim_round_mode): Change to __sim_round_mode_thread.
957 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
958 thread-local floating-point state and set global state from it as
959 needed.
960 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
961 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
962 (__sim_disabled_exceptions): Remove extern declaration.
963 (feenableexcept): Use thread-local floating-point state and set
964 global state from it as needed.
965 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
966 extern declaration.
967 (__sim_disabled_exceptions): Likewise.
968 (__sim_round_mode): Likewise.
969 (__fegetenv): Use thread-local floating-point state.
970 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
971 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
972 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
973 floating-point state and set global state from it as needed.
974 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
975 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
976 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
977 Likewise.
978 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
979 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
980 Likewise.
981 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
982 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
983 Use __sim_round_mode_thread.
984 * math/test-fenv-tls.c: New file.
985 * math/Makefile (tests): Add test-fenv-tls.
986 ($(objpfx)test-fenv-tls): Depend on
987 $(common-objpfx)nptl/libpthread.so.
988
b5449b12
AS
9892013-11-19 Andreas Schwab <schwab@suse.de>
990
991 * locale/programs/locale.c (show_info): Decode wordarray elements.
992 * locale/categories.def (LC_MONETARY): Add element for
993 _NL_MONETARY_CRNCYSTR.
994 * locale/C-monetary.c (conversion_rate): New variable.
995 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
996 element.
997
e186536b
CM
9982013-11-18 Chris Metcalf <cmetcalf@tilera.com>
999
1000 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1001 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1002
5c349950
PP
10032013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1004
1005 * elf/Makefile (tst-auxv): New test.
1006 * elf/tst-auxv.c: New
1007 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1008
699df45b
JM
10092013-11-18 Joseph Myers <joseph@codesourcery.com>
1010
1011 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1012 (hidden_proto): Caller changed.
1013 (hidden_tls_proto): New macro.
1014 (libc_hidden_tls_proto): Likewise.
1015 (rtld_hidden_tls_proto): Likewise.
1016 (libm_hidden_tls_proto): Likewise.
1017 (libresolv_hidden_tls_proto): Likewise.
1018 (librt_hidden_tls_proto): Likewise.
1019 (libdl_hidden_tls_proto): Likewise.
1020 (libnss_files_hidden_tls_proto): Likewise.
1021 (libnsl_hidden_tls_proto): Likewise.
1022 (libnss_nisplus_hidden_tls_proto): Likewise.
1023 (libutil_hidden_tls_proto): Likewise.
1024
b7589107
OB
10252013-11-18 Ondřej Bílka <neleai@seznam.cz>
1026
1027 [BZ #10253]
1028 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1029 (decompose_rpath): Defer expansion to fillin_rpath.
1030 (_dl_init_paths): Pass linkmap to fillin_rpath.
1031
250c23bd
RS
10322013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1033
1034 * benchtests/Makefile: Add strsep.
1035 * benchtests/bench-strsep.c: New file: strsep benchtest.
1036 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1037
a7931fcf
AS
10382013-11-18 Andreas Schwab <schwab@suse.de>
1039
1040 * locale/programs/locale.c (show_info) [case byte]: Check for
1041 '\377' instead of '\177'.
1042 * locale/C-monetary.c (not_available): Always use "\377".
1043 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1044 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1045 detect unavailable sign_posn locale elements.
1046 * locale/localeconv.c (__localeconv): For grouping and
1047 mon_grouping handle "\177" and "\377" like no grouping.
1048 (INT_ELEM): New macro. Use it to set all numeric members.
1049 * locale/programs/ld-monetary.c (monetary_read)
1050 <tok_mon_grouping>: Normalize single -1 to the empty string.
1051 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1052 Likewise.
1053
728dab0e
OB
10542013-11-07 Ondřej Bílka <neleai@seznam.cz>
1055
1056 [BZ #16055]
1057 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1058 when we match (nil).
1059 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1060
66294491
JM
10612013-11-16 Joseph Myers <joseph@codesourcery.com>
1062
ce665817
JM
1063 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1064 (NO_TEST_INLINE): Update value.
1065 (ERRNO_UNCHANGED): Likewise.
1066 (ERRNO_EDOM): Likewise.
1067 (ERRNO_ERANGE): Likewise.
1068 (IGNORE_RESULT): Likewise.
1069 (check_float_internal): Check signs of NaN results if
1070 TEST_NAN_SIGN used.
1071 (check_complex): Pass TEST_NAN_SIGN flag through to second
1072 check_float_internal call.
1073 (copysign_test_data): Add tests with quiet NaNs as second
1074 argument. Use TEST_NAN_SIGN.
1075 (fabs_test_data): Add test of negative quiet NaN argument. Use
1076 TEST_NAN_SIGN.
1077 (signbit_test_data): Add tests of quiet NaN argument.
1078 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1079
ee1466a9
JM
1080 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1081 $ignore_result.
1082 (parse_args): Handle function results specified as IGNORE.
1083 * math/libm-test.inc (IGNORE_RESULT): New macro.
1084 (check_float_internal): Do not check numerical result if flag
1085 IGNORE_RESULT set.
1086 (check_complex): Pass through IGNORE_RESULT to second
1087 check_float_internal call.
1088 (check_int): Do not check numerical result if flag IGNORE_RESULT
1089 set.
1090 (check_long): Likewise.
1091 (check_bool): Likewise.
1092 (check_longlong): Likewise.
1093 (lrint_test_data): Add tests of infinite and NaN arguments.
1094 (lrint_tonearest_test_data): Likewise.
1095 (lrint_towardzero_test_data): Likewise.
1096 (lrint_downward_test_data): Likewise.
1097 (lrint_upward_test_data): Likewise.
1098 (llrint_test_data): Likewise.
1099 (llrint_tonearest_test_data): Likewise.
1100 (llrint_towardzero_test_data): Likewise.
1101 (llrint_downward_test_data): Likewise.
1102 (llrint_upward_test_data): Likewise.
1103 (lround_test_data): Likewise.
1104 (llround_test_data): Likewise.
1105
14407b7e
JM
1106 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1107 (ERRNO_UNCHANGED): Update value.
1108 (ERRNO_EDOM): Likewise.
1109 (ERRNO_ERANGE): Likewise.
1110 (NO_TEST_INLINE_FLOAT): New macro.
1111 (NO_TEST_INLINE_DOUBLE): Likewise.
1112 (enable_test): New function.
1113 (RUN_TEST_f_f): Check enable_test before running test.
1114 (RUN_TEST_2_f): Likewise.
1115 (RUN_TEST_fff_f): Likewise.
1116 (RUN_TEST_c_f): Likewise.
1117 (RUN_TEST_f_f1): Likewise.
1118 (RUN_TEST_fF_f1): Likewise.
1119 (RUN_TEST_fI_f1): Likewise.
1120 (RUN_TEST_ffI_f1): Likewise.
1121 (RUN_TEST_c_c): Likewise.
1122 (RUN_TEST_cc_c): Likewise.
1123 (RUN_TEST_f_i): Likewise.
1124 (RUN_TEST_f_i_tg): Likewise.
1125 (RUN_TEST_ff_i_tg): Likewise.
1126 (RUN_TEST_f_b): Likewise.
1127 (RUN_TEST_f_b_tg): Likewise.
1128 (RUN_TEST_f_l): Likewise.
1129 (RUN_TEST_f_L): Likewise.
1130 (RUN_TEST_fFF_11): Likewise.
1131 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1132 conditionals.
1133 (cosh_test_data): Likewise.
1134 (exp_test_data): Likewise.
1135 (expm1_test_data): Likewise.
1136 (hypot_test_data): Likewise.
1137 (pow_test_data): Likewise.
1138 (sinh_test_data): Likewise.
1139 (tanh_test_data): Likewise.
1140 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1141 flags argument.
1142
ca07f197
JM
1143 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1144 tests with quiet NaN input and output.
1145 (acosh_test_data): Likewise.
1146 (asin_test_data): Likewise.
1147 (asinh_test_data): Likewise.
1148 (atan_test_data): Likewise.
1149 (atanh_test_data): Likewise.
1150 (atan2_test_data): Likewise.
1151 (cbrt_test_data): Likewise.
1152 (cos_test_data): Likewise.
1153 (cosh_test_data): Likewise.
1154 (erf_test_data): Likewise.
1155 (erfc_test_data): Likewise.
1156 (exp_test_data): Likewise.
1157 (exp10_test_data): Likewise.
1158 (exp2_test_data): Likewise.
1159 (expm1_test_data): Likewise.
1160 (hypot_test_data): Likewise.
1161 (j0_test_data): Likewise.
1162 (j1_test_data): Likewise.
1163 (jn_test_data): Likewise.
1164 (lgamma_test_data): Likewise.
1165 (log_test_data): Likewise.
1166 (log10_test_data): Likewise.
1167 (log1p_test_data): Likewise.
1168 (log2_test_data): Likewise.
1169 (pow_test_data): Likewise.
1170 (scalb_test_data): Likewise.
1171 (sin_test_data): Likewise.
1172 (sincos_test_data): Likewise.
1173 (sinh_test_data): Likewise.
1174 (tan_test_data): Likewise.
1175 (tanh_test_data): Likewise.
1176 (tgamma_test_data): Likewise.
1177 (y0_test_data): Likewise.
1178 (y1_test_data): Likewise.
1179 (yn_test_data): Likewise.
1180
66294491
JM
1181 [BZ #16167]
1182 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1183 argument being NaN and avoid computations with second argument in
1184 that case.
1185 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1186 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1187 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1188
1820b143
CL
11892013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1190
1191 * locale/iso-639.def: Add Chitwani Tharu (the).
1192
714bd261
AS
11932013-11-14 Andreas Schwab <schwab@suse.de>
1194
1195 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1196 word instead of empty string.
1197
7ab44563
AZ
11982013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1199
1200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1201 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1203 (__fe_nomask_env): Likewise.
1204
e8470ea2
SE
12052013-11-13 Steve Ellcey <sellcey@mips.com>
1206
1207 * benchtests/bench-timing.h: Include time.h.
1208
17c1d9f0
L
12092013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1210
1211 [BZ #15997]
1212 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1213 to 3.4.0 for x32.
1214 * sysdeps/unix/sysv/linux/configure: Regenerated.
1215
9310c284
JM
12162013-11-13 Joseph Myers <joseph@codesourcery.com>
1217
1218 [BZ #16151]
1219 * stdlib/strtod_l.c (round_and_return): Do not consider
1220 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1221 exponent one less than half the least subnormal exponent.
1222 * stdlib/test-strtod-round-data: Add more tests.
1223 * stdlib/tst-strtod-round.c (tests): Regenerated.
1224
7a2ad8cf
AZ
12252013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1226
1227 [BZ #14143]
1228 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1229 (__fe_mask_env): Likewise.
1230 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1231 libm_hidden_proto and add function prototype.
1232 (__fe_mask_env): Add function prototype.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1234 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1236 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1238 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1239
50727aa7
MS
12402013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1241
b2f386c1 1242 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1243 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1244
a615be46
MS
12452013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1246
1247 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1248 of htab_find_slot().
1249
7ddace62
DM
12502013-11-11 David S. Miller <davem@davemloft.net>
1251
1252 [BZ #16150]
1253 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1254 symbol in the non-vis3 case in static builds.
1255 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1256 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1257 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1258 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1259
9182aa67
JK
12602013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1261
1262 [BZ #387]
1263 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1264 it is empty.
1265
450a2e2d
AZ
12662013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1267
b2f386c1
SP
1268 * benchtests/Makefile: Add bench-strtod.
1269 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1270
8ec3f656
AS
12712013-11-11 Andreas Schwab <schwab@suse.de>
1272
1273 [BZ #16153]
1274 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1275 terminating NUL in key length.
1276
76a9b998
AZ
12772013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1278
1279 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1280 Add artificial ODP entry for vDSO symbol for PPC64.
1281 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1282 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1283
e4368156
OB
12842013-11-07 Ondřej Bílka <neleai@seznam.cz>
1285
1286 [BZ #15374]
1287 * nss/getent.c (services_keys): Recognize services starting with digit.
1288
8d6bb57c
DM
12892013-11-06 David S. Miller <davem@davemloft.net>
1290
1291 [BZ #15985]
1292 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1293 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1294
e256c421
WN
12952013-11-06 Will Newton <will.newton@linaro.org>
1296
1297 * manual/memory.texi (Malloc Examples): Remove register
1298 keyword from examples.
1299
f6e12daa 13002013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1301
f6e12daa 1302 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1303
9d880655
AS
13042013-11-04 Joseph Myers <joseph@codesourcery.com>
1305
1306 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1307 depending on [__GCC_IEC_559 > 0].
1308 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1309 depending on [__GCC_IEC_559_COMPLEX > 0].
1310
ae129d3c
CL
13112013-11-03 Chris Leonard <cjl@sugarlabs.org>
1312
1313 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1314 to iso-639.def.
1315
4a15c2a4 13162013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1317
1318 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1319
8b35e35d
OB
13202013-11-01 Ondřej Bílka <neleai@seznam.cz>
1321
1322 [BZ #16112]
1323 * malloc/malloc (malloc_info): Do not handle first bin as
1324 special case.
1325
1d70fd6c
CL
13262013-11-01 Chris Leonard <cjl@sugarlabs.org>
1327
1328 * locale/iso-639.def: Add Central Nahuatl (nhn).
1329
8c5c2600
BH
13302013-11-01 Bruno Haible <bruno@clisp.org>
1331
1332 [BZ #7003]
1333 * manual/math.texi (BSD Random): Specify range upper bound as
1334 in POSIX.
1335
da5579c2
CL
13362013-10-31 Chris Leonard <cjl@sugarlabs.org>
1337
1338 * locale/iso-639.def: Add Meadow Mari (mhr).
1339
5d30d853
OB
13402013-10-31 Ondřej Bílka <neleai@seznam.cz>
1341
1342 [BZ #14752], [BZ #15763]
1343 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1344 Validate name.
1345 * rt/tst_shm.c: Add test for escaping directory.
1346
a4966c61
AS
13472013-10-31 Andreas Schwab <schwab@suse.de>
1348
8a43e768 1349 [BZ #15917]
a4966c61
AS
1350 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1351 followed by 'x' as part of digit sequence.
1352 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1353
28d708c4
MAP
13542013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1355
1356 [BZ #16037]
1357 * configure.ac: allow GNU Make 4.0 and greater.
1358 * configure: Regenerated.
1359
a56ee40b
WN
13602013-10-30 Will Newton <will.newton@linaro.org>
1361
1362 [BZ #16038]
1363 * malloc/hooks.c (memalign_check): Limit alignment to the
1364 maximum representable power of two.
1365 * malloc/malloc.c (__libc_memalign): Likewise.
1366 * malloc/tst-memalign.c (do_test): Add test for very
1367 large alignment values.
1368 * malloc/tst-posix_memalign.c (do_test): Likewise.
1369
c6e4925d
OB
13702013-10-30 Ondřej Bílka <neleai@seznam.cz>
1371
1372 [BZ #11087]
1373 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1374 (munmap_chunk): Likewise.
1375 (mremap_chunk): Likewise.
1376
13772013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1378
8a43e768 1379 [BZ #15799]
bbea82f7
OB
1380 * stdlib/div.c (div): Remove obsolete code.
1381 * stdlib/ldiv.c (ldiv): Likewise.
1382 * stdlib/lldiv.c (lldiv): Likewise.
1383
977f4b31
SP
13842013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1385
1386 [BZ #16071]
1387 * nss/nss_files/files-XXX.c (get_contents_ret): New
1388 enumerator.
1389 (get_contents): New function.
1390 (internal_getent): Use it. Expand size of LINEBUFLEN.
1391
cb8a6dbd
MF
13922013-10-30 Mike Frysinger <vapier@gentoo.org>
1393
1394 * configure.in: Moved to ...
1395 * configure.ac: ... here. Change reference to configure.in
1396 to configure.ac.
1397 * sysdeps/arm/preconfigure.ac: ... here.
1398 configure.in to configure.ac.
1399 * sysdeps/gnu/configure.in: Moved to ...
1400 * sysdeps/gnu/configure.ac: ... here.
1401 * sysdeps/i386/configure.in: Moved to ...
1402 * sysdeps/i386/configure.ac: ... here.
1403 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1404 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1405 * sysdeps/mach/configure.in: Moved to ...
1406 * sysdeps/mach/configure.ac: ... here.
1407 * sysdeps/mach/hurd/configure.in: Moved to ...
1408 * sysdeps/mach/hurd/configure.ac: ... here.
1409 * sysdeps/powerpc/configure.in: Moved to ...
1410 * sysdeps/powerpc/configure.ac: ... here.
1411 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1412 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1413 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1414 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1415 * sysdeps/s390/s390-32/configure.in: Moved to ...
1416 * sysdeps/s390/s390-32/configure.ac: ... here.
1417 * sysdeps/s390/s390-64/configure.in: Moved to ...
1418 * sysdeps/s390/s390-64/configure.ac: ... here.
1419 * sysdeps/sh/configure.in: Moved to ...
1420 * sysdeps/sh/configure.ac: ... here.
1421 * sysdeps/sparc/configure.in: Moved to ...
1422 * sysdeps/sparc/configure.ac: ... here.
1423 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1424 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1425 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1426 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1427 * sysdeps/x86_64/configure.in: Moved to ...
1428 * sysdeps/x86_64/configure.ac: ... here.
1429 * sysdeps/x86_64/preconfigure.in: Moved to ...
1430 * sysdeps/x86_64/preconfigure.ac: ... here.
1431 * aclocal.m4: Change reference to configure.in to configure.ac.
1432 * config.h.in: Likewise.
1433 * manual/install.texi: Likewise.
1434 * manual/maint.texi: Likewise.
1435 * Makefile: Likewise.
1436 * malloc/Makefile: Likewise.
1437 * nscd/Makefile: Likewise.
1438 * Makeconfig: Change reference to configure.in and
1439 preconfigure.in to configure.ac and preconfigure.ac
1440 respectively.
1441 * INSTALL: Regenerated.
1442 * configure: Likewise.
1443 * sysdeps/gnu/configure: Likewise.
1444 * sysdeps/i386/configure: Likewise.
1445 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1446 * sysdeps/mach/configure: Likewise.
1447 * sysdeps/mach/hurd/configure: Likewise.
1448 * sysdeps/powerpc/configure: Likewise.
1449 * sysdeps/powerpc/powerpc32/configure: Likewise.
1450 * sysdeps/powerpc/powerpc64/configure: Likewise.
1451 * sysdeps/s390/s390-32/configure: Likewise.
1452 * sysdeps/s390/s390-64/configure: Likewise.
1453 * sysdeps/sh/configure: Likewise.
1454 * sysdeps/sparc/configure: Likewise.
1455 * sysdeps/unix/sysv/linux/configure: Likewise.
1456 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1457 * sysdeps/x86_64/configure: Likewise.
1458 * sysdeps/x86_64/preconfigure: Likewise.
1459
36a4953a
AS
14602013-10-29 Andreas Schwab <schwab@suse.de>
1461
1462 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1463
c79a1204
SP
14642013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1465
dfa1b402
SP
1466 * benchtests/pow-inputs: Add new inputs.
1467
54f73d9c
SP
1468 * benchtests/exp-inputs: Add new inputs.
1469
c79a1204
SP
1470 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1471 conditional check for return value.
1472 (__cos32): Likewise.
1473
67beb545 14742013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1475
1476 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1477 to provide a boost for large inputs with word alignment.
1478 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1479 implementation based on optimized PPC64 strcpy.
1480 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1481 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1482 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1483 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1484
151659f6
OB
14852013-10-25 Ondřej Bílka <neleai@seznam.cz>
1486
482a077e 1487 [BZ #2801]
151659f6
OB
1488 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1489
10b0f26b
OB
14902013-10-25 Ondřej Bílka <neleai@seznam.cz>
1491
1492 [BZ #14876]
1493 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1494 * time/tst-strptime.c (day_tests): Add testcase.
1495
ca42d35e
OB
14962013-10-25 Ondřej Bílka <neleai@seznam.cz>
1497
482a077e 1498 [BZ #14029]
ca42d35e
OB
1499 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1500
52e6d801
FB
15012013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1502
1503 [BZ #16074]
1504 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1505 MAP_FAILED on error.
1506
7cbcdb36
SP
15072013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1508
1509 [BZ #16072]
1510 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1511 heap for large requests.
1512
894f3f10
AM
15132013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1514
1515 [BZ #9954]
1516 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1517 result if the result has no associated interface.
1518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1519 interface for all 127.X.Y.Z addresses.
1520
b85545a6
CL
15212013-10-24 Chris Leonard <cjl@sugarlabs.org>
1522
1523 * locale/iso-639.def: Add Ligurian (lij)
1524
d1f23d46
OB
15252013-10-21 Ondřej Bílka <neleai@seznam.cz>
1526
1527 [BZ #15825]
1528 * sunrpc/rpc_main.c: Document rpcgen -5.
1529
4db5b08f
MS
15302013-10-19 Michael Stahl <mstahl@redhat.com>
1531
1532 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1533
a471e96a
OB
15342013-10-19 Ondřej Bílka <neleai@seznam.cz>
1535
d1f23d46 1536 [BZ #10278]
a471e96a
OB
1537 * posix/glob.c: Match only directories when trailing slash is present.
1538 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1539 (main): Add testcase.
1540
45c30c61
OB
15412013-10-19 Ondřej Bílka <neleai@seznam.cz>
1542
1543 [BZ #15670]
1544 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1545
484c12fb
CD
15462013-10-18 Carlos O'Donell <carlos@redhat.com>
1547
3d7dc513
CD
1548 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1549 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1550 AUTH_DES and cindex for FIPS 140-2.
1551 (DES Encryption): Add cindex FIPS 46-3.
1552
484c12fb
CD
1553 * locale/locarchive.h (struct locarhandle): Add fname.
1554 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1555 if an optional argument was specified to --list-archive,
1556 otherwise NULL.
1557 * locale/programs/locarchive.c (show_archive_content): Take new
1558 argument fname and pass it via ah.fname to open_archive.
1559 * locale/programs/localedef.h: Update decl.
1560 (open_archive): If AH->fname is non-null, open that file
1561 rather than the default file name, and don't ignore ENOENT.
1562 (create_archive): Set AH.fname to NULL.
1563 (delete_locales_from_archive): Likewise.
1564 (add_locales_to_archive): Likewise.
1565 * locale/programs/locfile.c (write_all_categories): Likewise.
1566
3c8325fb
JM
15672013-10-18 Joseph Myers <joseph@codesourcery.com>
1568 Aldy Hernandez <aldyh@redhat.com>
1569
1570 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1571 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1572 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1573 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1574 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1575 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1576 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1577 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1578 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1579 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1580 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1581 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1582 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1583 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1584 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1585 Likewise.
1586 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1587 Likewise.
1588 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1589 Likewise.
1590 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1591 Likewise.
1592 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1593 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1594 Likewise.
1595 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1596 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1597 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1598 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1599 Likewise.
1600 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1601 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1602 * sysdeps/powerpc/preconfigure: Likewise.
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1604 Likewise.
1605 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1606 Replace contents of file by #include of <fenv_libc.h>.
1607 * sysdeps/powerpc/soft-fp/sfp-machine.h
1608 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1609 and <sys/prctl.h>.
1610 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1617 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1619 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1623 Allow copysignl PLT reference to be missing.
1624
5abe0682
RS
16252013-10-18 Richard Sandiford <richard@codesourcery.com>
1626 Joseph Myers <joseph@codesourcery.com
1627
1628 [BZ #15948]
1629 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1630 single character.
1631 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1632
c7738d08
SP
16332013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1634
1635 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1636 * elf/tst-tls1.c: Likewise.
1637 * elf/tst-tls10.h: Likewise.
1638 * elf/tst-tls14.c: Likewise.
1639 * elf/tst-tls2.c: Likewise.
1640 * elf/tst-tls3.c: Likewise.
1641 * elf/tst-tls4.c: Likewise.
1642 * elf/tst-tls5.c: Likewise.
1643 * elf/tst-tls6.c: Likewise.
1644 * elf/tst-tls7.c: Likewise.
1645 * elf/tst-tls8.c: Likewise.
1646 * elf/tst-tls9.c: Likewise.
1647 * elf/tst-tlsmod1.c: Likewise.
1648 * elf/tst-tlsmod13.c: Likewise.
1649 * elf/tst-tlsmod13a.c: Likewise.
1650 * elf/tst-tlsmod14a.c: Likewise.
1651 * elf/tst-tlsmod16a.c: Likewise.
1652 * elf/tst-tlsmod16b.c: Likewise.
1653 * elf/tst-tlsmod2.c: Likewise.
1654 * elf/tst-tlsmod3.c: Likewise.
1655 * elf/tst-tlsmod4.c: Likewise.
1656 * elf/tst-tlsmod5.c: Likewise.
1657 * elf/tst-tlsmod6.c: Likewise.
1658
0bfcf2c7
OB
16592013-10-18 Ondřej Bílka <neleai@seznam.cz>
1660
1661 [BZ #12486]
1662 * malloc/malloc.c: remove checks for statistics.
1663
264aad1e
OB
16642013-10-17 Ondřej Bílka <neleai@seznam.cz>
1665
1666 [BZ #15277]
1667 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1668 * inet/tst-network.c: Add testcase.
1669
b957ced8
AS
16702013-10-17 Andreas Schwab <schwab@suse.de>
1671
1672 [BZ #15218]
1673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1674 to determine canonical name.
1675
c5d5d574
OB
16762013-10-17 Ondřej Bílka <neleai@seznam.cz>
1677
1678 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1679 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1681 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1683 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1685 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1686 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1687 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1688 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1691 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1692 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1693 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1695 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1696 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1697 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1698 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1699 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1702 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1703 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1736
e5c2c2d0
JM
17372013-10-17 Joseph Myers <joseph@codesourcery.com>
1738
1739 [BZ #16041]
1740 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1741 make result into a quiet NaN.
1742
51ca9e29
JM
17432013-10-16 Joseph Myers <joseph@codesourcery.com>
1744
1745 * soft-fp/adddf3.c: Fix horizontal whitespace.
1746 * soft-fp/addsf3.c: Likewise.
1747 * soft-fp/addtf3.c: Likewise.
1748 * soft-fp/divdf3.c: Likewise.
1749 * soft-fp/divsf3.c: Likewise.
1750 * soft-fp/divtf3.c: Likewise.
1751 * soft-fp/double.h: Likewise.
1752 * soft-fp/eqdf2.c: Likewise.
1753 * soft-fp/eqsf2.c: Likewise.
1754 * soft-fp/eqtf2.c: Likewise.
1755 * soft-fp/extenddftf2.c: Likewise.
1756 * soft-fp/extended.h: Likewise.
1757 * soft-fp/extendsfdf2.c: Likewise.
1758 * soft-fp/extendsftf2.c: Likewise.
1759 * soft-fp/extendxftf2.c: Likewise.
1760 * soft-fp/fixdfdi.c: Likewise.
1761 * soft-fp/fixdfsi.c: Likewise.
1762 * soft-fp/fixdfti.c: Likewise.
1763 * soft-fp/fixsfdi.c: Likewise.
1764 * soft-fp/fixsfsi.c: Likewise.
1765 * soft-fp/fixsfti.c: Likewise.
1766 * soft-fp/fixtfdi.c: Likewise.
1767 * soft-fp/fixtfsi.c: Likewise.
1768 * soft-fp/fixtfti.c: Likewise.
1769 * soft-fp/fixunsdfdi.c: Likewise.
1770 * soft-fp/fixunsdfsi.c: Likewise.
1771 * soft-fp/fixunsdfti.c: Likewise.
1772 * soft-fp/fixunssfdi.c: Likewise.
1773 * soft-fp/fixunssfsi.c: Likewise.
1774 * soft-fp/fixunssfti.c: Likewise.
1775 * soft-fp/fixunstfdi.c: Likewise.
1776 * soft-fp/fixunstfsi.c: Likewise.
1777 * soft-fp/fixunstfti.c: Likewise.
1778 * soft-fp/floatdidf.c: Likewise.
1779 * soft-fp/floatdisf.c: Likewise.
1780 * soft-fp/floatditf.c: Likewise.
1781 * soft-fp/floatsidf.c: Likewise.
1782 * soft-fp/floatsisf.c: Likewise.
1783 * soft-fp/floatsitf.c: Likewise.
1784 * soft-fp/floattidf.c: Likewise.
1785 * soft-fp/floattisf.c: Likewise.
1786 * soft-fp/floattitf.c: Likewise.
1787 * soft-fp/floatundidf.c: Likewise.
1788 * soft-fp/floatundisf.c: Likewise.
1789 * soft-fp/floatunditf.c: Likewise.
1790 * soft-fp/floatunsidf.c: Likewise.
1791 * soft-fp/floatunsisf.c: Likewise.
1792 * soft-fp/floatunsitf.c: Likewise.
1793 * soft-fp/floatuntidf.c: Likewise.
1794 * soft-fp/floatuntisf.c: Likewise.
1795 * soft-fp/floatuntitf.c: Likewise.
1796 * soft-fp/fmadf4.c: Likewise.
1797 * soft-fp/fmasf4.c: Likewise.
1798 * soft-fp/fmatf4.c: Likewise.
1799 * soft-fp/gedf2.c: Likewise.
1800 * soft-fp/gesf2.c: Likewise.
1801 * soft-fp/getf2.c: Likewise.
1802 * soft-fp/ledf2.c: Likewise.
1803 * soft-fp/lesf2.c: Likewise.
1804 * soft-fp/letf2.c: Likewise.
1805 * soft-fp/muldf3.c: Likewise.
1806 * soft-fp/mulsf3.c: Likewise.
1807 * soft-fp/multf3.c: Likewise.
1808 * soft-fp/negdf2.c: Likewise.
1809 * soft-fp/negsf2.c: Likewise.
1810 * soft-fp/negtf2.c: Likewise.
1811 * soft-fp/op-1.h: Likewise.
1812 * soft-fp/op-2.h: Likewise.
1813 * soft-fp/op-4.h: Likewise.
1814 * soft-fp/op-8.h: Likewise.
1815 * soft-fp/op-common.h: Likewise.
1816 * soft-fp/quad.h: Likewise.
1817 * soft-fp/single.h: Likewise.
1818 * soft-fp/soft-fp.h: Likewise.
1819 * soft-fp/sqrtdf2.c: Likewise.
1820 * soft-fp/sqrtsf2.c: Likewise.
1821 * soft-fp/sqrttf2.c: Likewise.
1822 * soft-fp/subdf3.c: Likewise.
1823 * soft-fp/subsf3.c: Likewise.
1824 * soft-fp/subtf3.c: Likewise.
1825 * soft-fp/truncdfsf2.c: Likewise.
1826 * soft-fp/trunctfdf2.c: Likewise.
1827 * soft-fp/trunctfsf2.c: Likewise.
1828 * soft-fp/trunctfxf2.c: Likewise.
1829 * soft-fp/unorddf2.c: Likewise.
1830 * soft-fp/unordsf2.c: Likewise.
1831 * soft-fp/unordtf2.c: Likewise.
1832
9ebb0332
JM
18332013-10-15 Joseph Myers <joseph@codesourcery.com>
1834
1835 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1836 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1837
4b1a6d8b
OB
18382013-10-15 Ondřej Bílka <neleai@seznam.cz>
1839
1840 * elf/dl-libc.c: Clear initfini list after freeing.
1841
1e145589
JM
18422013-10-14 Joseph Myers <joseph@codesourcery.com>
1843
1844 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1845 * soft-fp/addsf3.c: Likewise.
1846 * soft-fp/addtf3.c: Likewise.
1847 * soft-fp/divdf3.c: Likewise.
1848 * soft-fp/divsf3.c: Likewise.
1849 * soft-fp/divtf3.c: Likewise.
1850 * soft-fp/double.h: Likewise.
1851 * soft-fp/eqdf2.c: Likewise.
1852 * soft-fp/eqsf2.c: Likewise.
1853 * soft-fp/eqtf2.c: Likewise.
1854 * soft-fp/extenddftf2.c: Likewise.
1855 * soft-fp/extended.h: Likewise.
1856 * soft-fp/extendsfdf2.c: Likewise.
1857 * soft-fp/extendsftf2.c: Likewise.
1858 * soft-fp/extendxftf2.c: Likewise.
1859 * soft-fp/fixdfdi.c: Likewise.
1860 * soft-fp/fixdfsi.c: Likewise.
1861 * soft-fp/fixdfti.c: Likewise.
1862 * soft-fp/fixsfdi.c: Likewise.
1863 * soft-fp/fixsfsi.c: Likewise.
1864 * soft-fp/fixsfti.c: Likewise.
1865 * soft-fp/fixtfdi.c: Likewise.
1866 * soft-fp/fixtfsi.c: Likewise.
1867 * soft-fp/fixtfti.c: Likewise.
1868 * soft-fp/fixunsdfdi.c: Likewise.
1869 * soft-fp/fixunsdfsi.c: Likewise.
1870 * soft-fp/fixunsdfti.c: Likewise.
1871 * soft-fp/fixunssfdi.c: Likewise.
1872 * soft-fp/fixunssfsi.c: Likewise.
1873 * soft-fp/fixunssfti.c: Likewise.
1874 * soft-fp/fixunstfdi.c: Likewise.
1875 * soft-fp/fixunstfsi.c: Likewise.
1876 * soft-fp/fixunstfti.c: Likewise.
1877 * soft-fp/floatdidf.c: Likewise.
1878 * soft-fp/floatdisf.c: Likewise.
1879 * soft-fp/floatditf.c: Likewise.
1880 * soft-fp/floatsidf.c: Likewise.
1881 * soft-fp/floatsisf.c: Likewise.
1882 * soft-fp/floatsitf.c: Likewise.
1883 * soft-fp/floattidf.c: Likewise.
1884 * soft-fp/floattisf.c: Likewise.
1885 * soft-fp/floattitf.c: Likewise.
1886 * soft-fp/floatundidf.c: Likewise.
1887 * soft-fp/floatundisf.c: Likewise.
1888 * soft-fp/floatunsidf.c: Likewise.
1889 * soft-fp/floatunsisf.c: Likewise.
1890 * soft-fp/floatuntidf.c: Likewise.
1891 * soft-fp/floatuntisf.c: Likewise.
1892 * soft-fp/floatuntitf.c: Likewise.
1893 * soft-fp/fmadf4.c: Likewise.
1894 * soft-fp/fmasf4.c: Likewise.
1895 * soft-fp/fmatf4.c: Likewise.
1896 * soft-fp/gedf2.c: Likewise.
1897 * soft-fp/gesf2.c: Likewise.
1898 * soft-fp/getf2.c: Likewise.
1899 * soft-fp/ledf2.c: Likewise.
1900 * soft-fp/lesf2.c: Likewise.
1901 * soft-fp/letf2.c: Likewise.
1902 * soft-fp/muldf3.c: Likewise.
1903 * soft-fp/mulsf3.c: Likewise.
1904 * soft-fp/multf3.c: Likewise.
1905 * soft-fp/negdf2.c: Likewise.
1906 * soft-fp/negsf2.c: Likewise.
1907 * soft-fp/negtf2.c: Likewise.
1908 * soft-fp/op-1.h: Likewise.
1909 * soft-fp/op-2.h: Likewise.
1910 * soft-fp/op-4.h: Likewise.
1911 * soft-fp/op-8.h: Likewise.
1912 * soft-fp/op-common.h: Likewise.
1913 * soft-fp/quad.h: Likewise.
1914 * soft-fp/single.h: Likewise.
1915 * soft-fp/soft-fp.h: Likewise.
1916 * soft-fp/sqrtdf2.c: Likewise.
1917 * soft-fp/sqrtsf2.c: Likewise.
1918 * soft-fp/sqrttf2.c: Likewise.
1919 * soft-fp/subdf3.c: Likewise.
1920 * soft-fp/subsf3.c: Likewise.
1921 * soft-fp/subtf3.c: Likewise.
1922 * soft-fp/truncdfsf2.c: Likewise.
1923 * soft-fp/trunctfdf2.c: Likewise.
1924 * soft-fp/trunctfsf2.c: Likewise.
1925 * soft-fp/trunctfxf2.c: Likewise.
1926 * soft-fp/unorddf2.c: Likewise.
1927 * soft-fp/unordsf2.c: Likewise.
1928 * soft-fp/unordtf2.c: Likewise.
1929
17c48a60
OB
19302013-10-14 Ondřej Bílka <neleai@seznam.cz>
1931
1932 [BZ #15672]
1933 * misc/error.c (error_tail): Fix possible buffer overflow.
1934
cabba934
OB
19352013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1936
1937 [BZ #13028]
1938 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1939 address.
1940
94bf958a
PM
19412013-10-14 P. J. McDermott <pj@pehjota.net>
1942
1943 [BZ #832]
1944 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1945 testing pipefail option.
1946
71b4dea7
JM
19472013-10-12 Joseph Myers <joseph@codesourcery.com>
1948
1949 * soft-fp/double.h: Indent preprocessor directives inside #if.
1950 * soft-fp/extended.h: Likewise.
1951 * soft-fp/op-2.h: Likewise.
1952 * soft-fp/op-4.h: Likewise.
1953 * soft-fp/op-common.h: Likewise.
1954 * soft-fp/quad.h: Likewise.
1955 * soft-fp/single.h: Likewise.
1956 * soft-fp/soft-fp.h: Likewise.
1957
55602758
YC
19582013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1959
1960 * iconv/iconv_prog.c: Fix typos.
1961 * stdio-common/psiginfo-data.h: Likewise.
1962
9cd83302
RT
19632013-10-12 Reuben Thomas <rrt@sc3d.org>
1964
1965 [BZ #15764]
1966 * locale/setlocale.c: Fix typo.
1967
99fd9f47
JM
19682013-10-12 Joseph Myers <joseph@codesourcery.com>
1969
b7ea74f0
JM
1970 [BZ #16036]
1971 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1972 signaling NaN arguments.
1973 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1974 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1975
8a509447
JM
1976 [BZ #14910]
1977 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1978 unordered operands.
1979 * soft-fp/gesf2.c (__gesf2): Likewise.
1980 * soft-fp/getf2.c (__getf2): Likewise.
1981 * soft-fp/ledf2.c (__ledf2): Likewise.
1982 * soft-fp/lesf2.c (__lesf2): Likewise.
1983 * soft-fp/letf2.c (__letf2): Likewise.
1984
98998e9f
JM
1985 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1986 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1987 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1988 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1989 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1990 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1991 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1992 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1993 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1994 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1995 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1996 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1997 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1998 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1999 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2000 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2001 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2002 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2003 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2004 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2005 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2006 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2007 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2008 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2009 * soft-fp/floattidf.c (__floattidf): Likewise.
2010 * soft-fp/floattisf.c (__floattisf): Likewise.
2011 * soft-fp/floattitf.c (__floattitf): Likewise.
2012 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2013 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2014 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2015 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2016 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2017 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2018 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2019 * soft-fp/gesf2.c (__gesf2): Likewise.
2020 * soft-fp/getf2.c (__getf2): Likewise.
2021 * soft-fp/ledf2.c (__ledf2): Likewise.
2022 * soft-fp/lesf2.c (__lesf2): Likewise.
2023 * soft-fp/letf2.c (__letf2): Likewise.
2024
8edc4a11
JM
2025 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2026 Undefine and redefine.
2027 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2028 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2029 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2030 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2031 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2032 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2033 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2034 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2035 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2036 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2037 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2038 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2039 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2040 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2041 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2042
8399acaf
JM
2043 [BZ #16032]
2044 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2045 without decrementing exponent if mantissa >= that for the
2046 denominator, not >.
2047 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2048 denominator, not >. Decrement exponent in < case instead of
2049 incrementing in >= case.
2050 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2051 without decrementing exponent if mantissa >= that for the
2052 denominator, not >.
2053
99fd9f47
JM
2054 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2055 computing saturated result for unsigned overflow.
2056
10e1cf6b
SP
20572013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2058 Jeff Law <law@redhat.com>
2059
2060 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2061 (atan2Mp): Add systemtap probe marker.
2062 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2063 (__ieee754_log): Add systemtap probe marker.
2064 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2065 (atanMp): Add systemtap probe marker.
2066 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2067 (tanMp): Add systemtap probe marker.
2068 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2069 (__slowexp): Add systemtap probe marker.
2070 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2071 (__slowpow): Add systemtap probe marker.
2072 * manual/probes.texi: Document probes.
2073
3d110c7c
EB
20742013-10-11 Eric Biggers <ebiggers3@gmail.com>
2075
2076 [BZ #15362]
2077 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2078 written.
2079 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2080 written.
2081 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2082 written to buffer but not flushed.
2083 * libio/iofwrite_u.c: Likewise.
2084 * libio/iopadn.c: Return bytes returned even if EOF was
2085 encountered.
2086 * libio/iowpadn.c: Likewise.
2087 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2088 if _IO_padn does not write the whole buffer.
2089 [!COMPILE_WPRINTF] (PAD): Likewise.
2090
75b4202a
DM
20912013-10-10 David S. Miller <davem@davemloft.net>
2092
2093 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2094 directory block.
2095
6c6352e6
JM
20962013-10-10 Joseph Myers <joseph@codesourcery.com>
2097
33b853c3
JM
2098 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2099 instead of FSF address.
2100 * soft-fp/fixdfti.c: Likewise.
2101 * soft-fp/fixsfti.c: Likewise.
2102 * soft-fp/fixtfti.c: Likewise.
2103 * soft-fp/fixunsdfti.c: Likewise.
2104 * soft-fp/fixunssfti.c: Likewise.
2105 * soft-fp/fixunstfti.c: Likewise.
2106 * soft-fp/floattidf.c: Likewise.
2107 * soft-fp/floattisf.c: Likewise.
2108 * soft-fp/floattitf.c: Likewise.
2109 * soft-fp/floatuntidf.c: Likewise.
2110 * soft-fp/floatuntisf.c: Likewise.
2111 * soft-fp/floatuntitf.c: Likewise.
2112 * soft-fp/trunctfxf2.c: Likewise.
2113
6c6352e6
JM
2114 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2115 * soft-fp/fixdfti.c: Likewise.
2116 * soft-fp/fixsfti.c: Likewise.
2117 * soft-fp/fixtfti.c: Likewise.
2118 * soft-fp/fixunsdfti.c: Likewise.
2119 * soft-fp/fixunssfti.c: Likewise.
2120 * soft-fp/fixunstfti.c: Likewise.
2121 * soft-fp/floattidf.c: Likewise.
2122 * soft-fp/floattisf.c: Likewise.
2123 * soft-fp/floattitf.c: Likewise.
2124 * soft-fp/floatuntidf.c: Likewise.
2125 * soft-fp/floatuntisf.c: Likewise.
2126 * soft-fp/floatuntitf.c: Likewise.
2127 * soft-fp/trunctfxf2.c: Likewise.
2128
3bf78b71
DM
21292013-10-10 David S. Miller <davem@davemloft.net>
2130
2131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2132
6f10289e
JM
21332013-10-10 Joseph Myers <joseph@codsourcery.com>
2134
bd878fc0
JM
2135 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2136 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2137 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2138 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2139 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2140 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2141 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2142
6f10289e
JM
2143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2144 for NaNs before doing comparisons on argument.
2145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2146 Likewise.
2147
321e2684
WN
21482013-10-10 Will Newton <will.newton@linaro.org>
2149
2150 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2151 passed to _int_memalign does not overflow.
2152
40fefba1
TR
21532013-10-10 Torvald Riegel <triegel@redhat.com>
2154
2155 * scripts/bench.pl: Add include-sources directive.
2156 * benchtests/README: Update documentation.
2157
2ae21ed2
JM
21582013-10-10 Joseph Myers <joseph@codesourcery.com>
2159
dcc2dd3f
JM
2160 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2161 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2162 instead of FP_INIT_ROUNDMODE.
2163 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2164 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2165
2ae21ed2
JM
2166 [BZ #16034]
2167 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2168 copy class of input value.
2169 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2170 not handle exceptions.
2171 * soft-fp/negsf2.c (__negsf2): Likewise.
2172 * soft-fp/negtf2.c (__negtf2): Likewise.
2173 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2174
cb8f9562
JM
21752013-10-09 Joseph Myers <joseph@codesourcery.com>
2176
2177 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2178 semicolon. From Linux kernel.
2179
5b60c59d
AB
21802013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2181
2182 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2183
b86835ca
YC
21842013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2185
2186 [BZ #156]
2187 * manual/socket.texi: Added statement about buffer
2188 for gethostbyname2_r.
2189
e7044ea7
OB
21902013-10-08 Ondřej Bílka <neleai@seznam.cz>
2191
2192 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2193 Use .p2align directive instead, throughout.
2194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2195 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2196 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2197 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2199 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2200 * sysdeps/x86_64/strchr.S: Likewise.
2201 * sysdeps/x86_64/strrchr.S: Likewise.
2202
09544cbc
SP
22032013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2204
88576635
SP
2205 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2206
e7b2d1dd
SP
2207 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2208
09544cbc
SP
2209 * sysdeps/generic/math_private.h (__mpsin1): Remove
2210 declaration.
2211 (__mpcos1): Likewise.
2212 (__mpsin): New argument __range_reduce.
2213 (__mpcos): Likewise.
2214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2215 (slow): Use __mpsin and __mpcos.
2216 (slow1): Likewise.
2217 (slow2): Likewise.
2218 (sloww): Likewise.
2219 (sloww1): Likewise.
2220 (sloww2): Likewise.
2221 (bsloww): Likewise.
2222 (bsloww1): Likewise.
2223 (bsloww2): Likewise.
2224 (cslow2): Likewise.
2225 (csloww): Likewise.
2226 (csloww1): Likewise.
2227 (csloww2): Likewise.
2228 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2229 range_reduce. Merge in __mpsin1.
2230 (__mpcos): Likewise.
2231 (__mpsin1): Remove.
2232 (__mpcos1): Likewise.
2233
7602d070
JM
22342013-10-07 Joseph Myers <joseph@codesourcery.com>
2235
2236 * locale/loadlocale.c (_nl_intern_locale_data): Use
2237 LOCFILE_ALIGNED_P.
2238 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2239 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2240 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2241 obstack data is appropriately aligned.
2242 (obstack_int32_grow_fast): Likewise.
2243 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2244 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2245 (add_locale_uint32_array): Likewise.
2246
a357259b
SP
22472013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2248
2249 * benchtests/Makefile: Remove ARGLIST and RET variables.
2250 ($(objpfx)bench-%.c): Pass only function name to the script.
2251 * benchtests/README: Update documentation.
2252 * benchtests/acos-inputs: Add new directives.
2253 * benchtests/acosh-inputs: Likewise.
2254 * benchtests/asin-inputs: Likewise.
2255 * benchtests/asinh-inputs: Likewise.
2256 * benchtests/atan-inputs: Likewise.
2257 * benchtests/atanh-inputs: Likewise.
2258 * benchtests/cos-inputs: Likewise.
2259 * benchtests/cosh-inputs: Likewise.
2260 * benchtests/exp-inputs: Likewise.
2261 * benchtests/log-inputs: Likewise.
2262 * benchtests/pow-inputs: Likewise.
2263 * benchtests/rint-inputs: Likewise.
2264 * benchtests/sin-inputs: Likewise.
2265 * benchtests/sinh-inputs: Likewise.
2266 * benchtests/tan-inputs: Likewise.
2267 * benchtests/tanh-inputs: Likewise.
2268 * scripts/bench.pl: Add support for new directives.
2269
9ec1b13d
AM
22702013-10-07 Alan Modra <amodra@gmail.com>
2271
2272 * README: Fix careless merge.
2273
8b7d57cd
AM
22742013-10-05 Alan Modra <amodra@gmail.com>
2275
2276 * NEWS: Mention powerpc64le support and bugs fixed.
2277 * README: Both big-endian and little-endian powerpc64 supported.
2278
7b7bab13
ST
22792013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2280
2281 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2282 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2283 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2284 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2285
d39baad1
RA
22862013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2287
2288 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2289 match prototype.
2290
cd78f7e7
JM
22912013-10-04 Joseph Myers <joseph@codesourcery.com>
2292
29d73d86
JM
2293 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2294 Move -mhard-float appending from
2295 ports/sysdeps/powerpc/powerpc32/Makefile.
2296 [$(with-fp) = yes] (ASFLAGS): Likewise.
2297 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2298 * sysdeps/powerpc/nofpu: Move directory from
2299 ports/sysdeps/powerpc/nofpu.
2300 * sysdeps/powerpc/soft-fp: Move directory from
2301 ports/sysdeps/powerpc/soft-fp.
2302 * sysdeps/powerpc/powerpc32/405: Move directory from
2303 ports/sysdeps/powerpc/powerpc32/405.
2304 * sysdeps/powerpc/powerpc32/440: Move directory from
2305 ports/sysdeps/powerpc/powerpc32/440.
2306 * sysdeps/powerpc/powerpc32/464: Move directory from
2307 ports/sysdeps/powerpc/powerpc32/464.
2308 * sysdeps/powerpc/powerpc32/476: Move directory from
2309 ports/sysdeps/powerpc/powerpc32/476.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2311 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2313 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2315 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2317 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2319 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2320 * README: Update for powerpc-*-linux-gnu software floating point
2321 support in libc.
2322
e246b347
JM
2323 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2324 case to powerpc/powerpc32*.
2325 * sysdeps/unix/sysv/linux/configure: Regenerated.
2326
89c2003e
JM
2327 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2328 (_FPU_MASK_OM): Define as 0x04.
2329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2331 0x00c10080.
2332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2333 0x0000003c.
2334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2335
cd78f7e7
JM
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2337 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2338 getcontext_e500.
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2340 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2341 setcontext_e500.
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2343 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2344 and setcontext_e500.
2345
c755294d
CL
23462013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2347
2348 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2349
e16d221c
SP
23502013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2351
2352 * manual/threads.texi (Default Thread Attributes): Fix typo.
2353
215c7d43
WN
23542013-10-04 Will Newton <will.newton@linaro.org>
2355
2356 * malloc/Makefile: Add tst-memalign.
2357 * malloc/tst-memalign.c: New file.
2358
27d0461b
WN
2359 * malloc/tst-posix_memalign.c: Add comments.
2360 (do_test): Add comments and call free on all potentially
2361 allocated pointers. Add space after cast.
2362
1bc92709
WN
2363 * malloc/tst-pvalloc.c: Add comments.
2364 (do_test): Add comments and call free on all potentially
2365 allocated pointers. Remove duplicate check for NULL pointer.
2366 Add space after cast.
2367
66a9be9d
WN
2368 * malloc/tst-valloc.c: Add comments.
2369 (do_test): Add comments and call free on all potentially
2370 allocated pointers. Remove duplicate check for NULL pointer.
2371 Add space after cast.
2372
4cb81307
AM
23732013-10-04 Alan Modra <amodra@gmail.com>
2374
2375 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2376 Use stdint types in rather than __attribute__((mode())).
2377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2378
f8e3e9f3
AM
23792013-10-04 Alan Modra <amodra@gmail.com>
2380
2381 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2382 Correct handling of unaligned relocs for little-endian.
2383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2384
8f9ebb08
AM
23852013-10-04 Alan Modra <amodra@gmail.com>
2386
2387 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2388 * configure: Regenerate.
2389 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2390 * shlib-versions: Likewise.
2391
0edf96c2
AM
23922013-10-04 Alan Modra <amodra@gmail.com>
2393
2394 * string/tester.c (test_memrchr): Increment reported test cycle.
2395
e0f7a380
AM
23962013-10-04 Alan Modra <amodra@gmail.com>
2397
2398 * string/test-memcpy.c (do_one_test): When reporting errors, print
2399 string address and don't overrun end of string.
2400
466b0393
AM
24012013-10-04 Alan Modra <amodra@gmail.com>
2402
2403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2404 insrdi. Make better use of reg selection to speed exit slightly.
2405 Schedule entry path a little better. Remove useless "are we done"
2406 checks on entry to main loop. Handle wrapping around zero address.
2407 Correct main loop count. Handle single left-over word from main
2408 loop inline rather than by using loop_small. Remove extra word
2409 case in loop_small caused by wrong loop count. Add little-endian
2410 support.
2411 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2412 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2413 cache hint.
2414 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2415 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2416 support. Avoid rlwimi.
2417 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2418
3be87c77
AM
24192013-10-04 Alan Modra <amodra@gmail.com>
2420
2421 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2422 insrdi. Formatting.
3be87c77
AM
2423 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2424 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2425 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2426 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2427 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2428 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2429
759cfef3
AM
24302013-10-04 Alan Modra <amodra@gmail.com>
2431
2432 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2433 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2435 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2436 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2437 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2438 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2439 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2440 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2441 use of regs. Use power7 mtocrf. Tidy function tails.
2442
fe6e95d7
AM
24432013-10-04 Alan Modra <amodra@gmail.com>
2444
2445 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2446 Formatting. Consistently use rXXX register defines or rN defines.
2447 Use early exit labels that avoid restoring unused non-volatile regs.
2448 Make cr field use more consistent with rWORDn compares. Rename
2449 regs used as shift registers for unaligned loop, using rN defines
2450 for short lifetime/multiple use regs.
2451 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2452 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2453 addi 1,1,64 to pop stack frame. Simplify return value code.
2454 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2455
664318c3
AM
24562013-10-04 Alan Modra <amodra@gmail.com>
2457
2458 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2459 support. Correct typos, formatting. Optimize tail. Use insrdi
2460 rather than rlwimi.
2461 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2463 little-endian support. Correct typos.
2464 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2465 rather than rlwimi.
2466 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2467 in loop and entry code to keep "and." results.
2468 (strchr): Add little-endian support. Comment. Move cntlzd
2469 earlier in tail.
2470 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2471
43b84013
AM
24722013-10-04 Alan Modra <amodra@gmail.com>
2473
2474 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2475 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2476 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2477 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2478
8a7413f9
AM
24792013-10-04 Alan Modra <amodra@gmail.com>
2480
2481 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2482 (rTMP): Define as r11.
2483 (strcmp): Add little-endian support. Optimise tail.
2484 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2485 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2486 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2488 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2490 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2491
33ee81de
AM
24922013-10-04 Alan Modra <amodra@gmail.com>
2493
2494 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2495 little-endian support. Remove unnecessary "are we done" tests.
2496 Handle "s" wrapping around zero and extremely large "size".
2497 Correct main loop count. Handle single left-over word from main
2498 loop inline rather than by using small_loop. Correct comments.
2499 Delete "zero" tail, use "end_max" instead.
2500 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2501
db9b4570
AM
25022013-10-04 Alan Modra <amodra@gmail.com>
2503
2504 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2505 support. Don't branch over align.
2506 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2507 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2508 support. Rearrange tmp reg use to suit. Comment.
2509 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2510
f7c399cf
AM
25112013-10-04 Alan Modra <amodra@gmail.com>
2512
2513 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2514
0b2c2ace
AM
25152013-10-04 Alan Modra <amodra@gmail.com>
2516
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2518 conditional form of branch and link when obtaining pc.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2520
02f04a6c
AM
25212013-10-04 Alan Modra <amodra@gmail.com>
2522
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2524 HIWORD/LOWORD.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2527
9b874b2f
AM
25282013-10-04 Alan Modra <amodra@gmail.com>
2529
2530 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2531 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2532 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2533 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2534 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2535 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2536 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2537 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2538 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2539 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2540
be1e5d31
AB
25412013-10-04 Anton Blanchard <anton@au1.ibm.com>
2542 Alistair Popple <alistair@ozlabs.au.ibm.com>
2543 Alan Modra <amodra@gmail.com>
2544
2545 [BZ #15723]
2546 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2548 _dl_hwcap access for little-endian.
2549 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2550 destroy vmx regs when saving unaligned.
2551 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2552 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2553 destroy vmx regs when saving unaligned.
2554
fef13a78
AM
25552013-10-04 Alan Modra <amodra@gmail.com>
2556
2557 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2558 Don't use a union to pack hi/low value.
2559
76a66d51
AB
25602013-10-04 Anton Blanchard <anton@au1.ibm.com>
2561
2562 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2563 for little-endian.
2564 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2566 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2567 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2568 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2569
6a31fe7f
AM
25702013-10-04 Alan Modra <amodra@gmail.com>
2571
2572 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2573 constants to usual value for .cst8 section, and remove redundant
2574 high address load.
2575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2576 constant for 0x1p52. Load little-endian words of double from
2577 correct stack offsets.
2578
7b88401f
AM
25792013-10-04 Alan Modra <amodra@gmail.com>
2580
2581 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2582 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2583 words of double from correct stack offsets.
2584 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2585 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2586 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2588 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2590 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2591 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2592 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2595 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2596 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2597 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2598 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2599 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2600 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2601
9c008155
AM
26022013-10-04 Alan Modra <amodra@gmail.com>
2603
2604 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2605 64-bit int/double union.
2606 (_FPU_SETCW): Likewise.
2607 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2608 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2609
da13146d
AM
26102013-10-04 Alan Modra <amodra@gmail.com>
2611
2612 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2613 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2614
603e8410
AM
26152013-10-04 Alan Modra <amodra@gmail.com>
2616
2617 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2618 use vector int constants.
2619 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2620
4a28b3ca
AB
26212013-10-04 Anton Blanchard <anton@au1.ibm.com>
2622
2623 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2624 array with long long.
2625 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2626 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2627 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2628 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2629 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2630 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2631 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2632 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2633 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2634 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2635 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2636 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2637 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2638
2ca85d2b
AB
26392013-10-04 Anton Blanchard <anton@au1.ibm.com>
2640
2641 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2642 (__signbit): Likewise. Correct for little-endian.
2643 (__signbitl): Call __signbit.
2644 (lrint): Correct for little-endian.
2645 (lrintf): Call lrint.
2646
62a728ae
AM
26472013-10-04 Alan Modra <amodra@gmail.com>
2648
2649 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2650 union 32-bit int array member with 64-bit int array.
2651 (t515, tm256): Double rather than long double.
2652 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2653
32c301df
AM
26542013-10-04 Alan Modra <amodra@gmail.com>
2655
2656 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2657 Delete.
2658 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2660 version of math_ldbl.h.
2661
650ef4bd
AM
26622013-10-04 Alan Modra <amodra@gmail.com>
2663
2664 [BZ #15734], [BZ #15735]
2665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2666 all uses of ieee875 long double macros and unions. Simplify test
2667 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2668 ldbl_extract_mantissa value for ix,iy exponents. Properly
2669 normalize after ldbl_extract_mantissa, and don't add hidden bit
2670 already handled. Don't treat low word of ieee854 mantissa like
2671 low word of IBM long double and mask off bit when testing for
2672 zero.
2673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2674 all uses of ieee875 long double macros and unions. Simplify tests
2675 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2676 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2677 two1022, instead use their values. Recognise that tests for large
2678 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2679 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2680 Rewrite all uses of ieee875 long double macros and unions. Simplify
2681 test for 0.0L and nan. Correct negation.
2682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2683 ieee875 long double macros and unions. Correct output for large
2684 magnitude x. Correct absolute value calculation.
2685 (__erfcl): Likewise.
2686 * math/libm-test.inc: Add tests for errors discovered in IBM long
2687 double versions of fmodl, remainderl, erfl and erfcl.
2688
765714ca
AM
26892013-10-04 Alan Modra <amodra@gmail.com>
2690
2691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2692 all uses of ieee854 long double macros and unions. Simplify tests
2693 for long doubles that are fully specified by the high double.
2694 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2695 Likewise.
2696 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2697 Remove dead code too.
2698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2699 (__ieee754_ynl): Likewise.
2700 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2701 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2703 Remove dead code too.
2704 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2706 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2707 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2708 Simplify.
2709 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2710 Simplify.
2711 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2712 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2713 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2714 Comment on variable precision.
2715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2716 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2717 Likewise.
2718 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2721 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2722 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2723
4ebd120c
AM
27242013-10-04 Alan Modra <amodra@gmail.com>
2725
2726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2728 all uses of ieee854 long double macros and unions.
2729 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2730 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2732 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2733 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2734 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2735 Likewise.
2736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2737 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2739 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2740 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2741 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2742 Simplify sign and nan test too.
2743 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2744 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2745 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2746 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2747 Likewise.
2748 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2749 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2750 Likewise.
2751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2752 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2753 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2757
1b6adf88
AM
27582013-10-04 Alan Modra <amodra@gmail.com>
2759
2760 * stdio-common/printf_size.c (__printf_size): Don't use
2761 union ieee854_long_double in fpnum union.
2762 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2763 signbit macro to retrieve sign from long double.
2764 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2765 retrieve sign from long double.
2766 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2767 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2768 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2769 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2770 * math/test-misc.c (main): Don't use union ieee854_long_double.
2771
4cf69995
AM
27722013-10-04 Alan Modra <amodra@gmail.com>
2773
2774 [BZ #15680]
2775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2776 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2777 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2778 calculation. Remove unnecessary test for denormal exponent.
2779 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2780 Correct handling of denormals. Avoid undefined shift behaviour.
2781 Correct normalisation of low mantissa when low double is denormal.
2782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2783 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2784 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2785 Correct normalisation of low mantissa. Test for overflow of high
2786 mantissa and normalise.
2787 (ldbl_nearbyint): Use more readable constant for two52.
2788 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2789 (__mpn_construct_long_double): Fix test for overflow of high
2790 mantissa and correct normalisation. Avoid undefined shift.
2791
9605ca6c
AM
27922013-10-04 Alan Modra <amodra@gmail.com>
2793
2794 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2795 (union ibm_extended_long_double): Define as an array of ieee754_double.
2796 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2798 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2799 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2800 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2801 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2804 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2805 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2806 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2807
975569d0
JM
28082013-10-03 Joseph Myers <joseph@codesourcery.com>
2809
d3d23756
JM
2810 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2811 page size instead of calling getpagesize.
2812
975569d0
JM
2813 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2814 (LOCFILE_ALIGN_MASK): Likewise.
2815 (LOCFILE_ALIGN_UP): Likewise.
2816 (LOCFILE_ALIGNED_P): Likewise.
2817 * locale/programs/ld-collate.c (collate_output): Use the new
2818 macros instead of __alignof__ (int32_t).
2819 * locale/weight.h (findidx): Likewise.
2820
b1fe1f2b
OB
28212013-10-03 Ondřej Bílka <neleai@seznam.cz>
2822
2823 [BZ #431]
2824 * manual/string.texi: Fix strncat and wcsncat.
2825
5f855e35
BM
28262013-10-03 Brooks Moses <bmoses@google.com>
2827
2828 [BZ #15915]
2829 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2830 * Makerules: ...here, and adjust associated comments.
2831
3cef6009
WN
28322013-10-02 Will Newton <will.newton@linaro.org>
2833
2834 * malloc/Makefile: Add tst-pvalloc.
2835 * malloc/tst-pvalloc.c: New file.
2836
7815420b
WN
28372013-10-02 Will Newton <will.newton@linaro.org>
2838
2839 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2840 improve test coverage.
2841
4868b204
WN
28422013-10-02 Will Newton <will.newton@linaro.org>
2843
2844 * malloc/Makefile: Add tst-posix_memalign.
2845 * malloc/tst-posix_memalign.c: New file.
2846
29c793b3
EB
28472013-10-01 Eric Blake <eblake@redhat.com>
2848
2849 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2850 Use __THROWNL rather than __THROW on static functions.
2851
fd967522
PM
28522013-09-30 Petr Machata <pmachata@redhat.com>
2853
2854 * elf/elf.h (R_AARCH64_ABS16): New macro.
2855 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2856 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2857 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2858 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2859 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2860 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2861 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2862 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2863 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2864 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2865 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2866 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2867 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2868 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2869 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2870 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2871 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2872 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2873 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2874 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2875 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2876 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2877 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2878 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2879 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2880 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2881 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2882 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2883 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2884 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2885 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2886 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2887 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2888 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2889 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2890 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2891 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2892 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2893 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2894 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2895 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2896 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2897 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2898 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2899 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2900 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2901 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2902 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2903 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2904 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2905 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2906 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2907 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2908 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2909 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2910 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2911 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2912 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2913 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2914 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2915 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2916 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2917 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2918 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2919 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2920 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2921 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2922 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2923 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2924 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2925 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2926 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2927 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2928 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2929 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2930 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2931 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2932 (R_AARCH64_TLSDESC_LDR): Likewise.
2933 (R_AARCH64_TLSDESC_ADD): Likewise.
2934 (R_AARCH64_TLSDESC_CALL): Likewise.
2935
b2179107
AS
29362013-09-30 Andreas Schwab <schwab@suse.de>
2937
2938 [BZ #15048]
2939 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2940 the nss database lookup.
2941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2943
47f28d0a
MF
29442013-09-28 Mike Frysinger <vapier@gentoo.org>
2945
2946 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2947
29482013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2949
2950 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2951 ${Bash-specific parameter/pattern/string} parameter expansion.
2952 * sysdeps/unix/make-syscalls.sh: Likewise.
2953
f4518a17
KK
29542013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2955
2956 * sysdeps/sh/stackguard-macros.h: New file.
2957
dc1a95c7
OB
29582013-09-26 Ondřej Bílka <neleai@seznam.cz>
2959
2960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2962 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2964 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2965 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2966
5ebbff8f
AZ
29672013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2968
2969 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2970 Fix thread ID register.
2971
4fd2cf9f
JM
29722013-09-25 Joseph Myers <joseph@codesourcery.com>
2973
2974 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2975 [POSIX || UNIX98]: Require rather than permitting all symbols from
2976 <time.h>.
2977 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2978 element of struct sched_param.
2979 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2980 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2981 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2982 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2983 constant.
2984
12c22bc4
OL
29852013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2986
2987 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2988 argument calculation.
2989
a03d8ea7
JM
29902013-09-24 Joseph Myers <joseph@codesourcery.com>
2991
2992 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2993 Expect macro.
2994 [POSIX] (pthread_attr_t): Do not require type.
2995 [POSIX] (pthread_cond_t): Likewise.
2996 [POSIX] (pthread_condattr_t): Likewise.
2997 [POSIX] (pthread_key_t): Likewise.
2998 [POSIX] (pthread_mutex_t): Likewise.
2999 [POSIX] (pthread_mutexattr_t): Likewise.
3000 [POSIX] (pthread_once_t): Likewise.
3001 [POSIX] (pthread_t): Likewise.
3002 [POSIX-based standards] (pthread_atfork): Expect function.
3003
6055173a
JM
30042013-09-24 Joseph Myers <joseph@codesourcery.com>
3005 Richard Sandiford <richard@codesourcery.com>
3006
3007 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3008 (swap_endianness_p): New extern variable.
3009 (set_big_endian): New inline function.
3010 (maybe_swap_uint32): Likewise.
3011 (maybe_swap_uint32_array): Likewise.
3012 (maybe_swap_uint32_obstack): Likewise.
3013 * locale/programs/locfile.c: Include <stdbool.h>.
3014 (swap_endianness_p): New variable.
3015 (add_locale_uint32): Call maybe_swap_uint32.
3016 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3017 (write_locale_data): Call maybe_swap_uint32_array.
3018 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3019 maybe_swap_uint32.
3020 (obstack_int32_grow_fast): Likewise.
3021 (output_weightwc): Call maybe_swap_uint32_obstack.
3022 (collate_output): Likewise.
3023 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3024 (OPT_LITTLE_ENDIAN): Likewise.
3025 (options): Add --little-endian and --big-endian options.
3026 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3027 * locale/programs/locarchive.c: Include "locfile.h".
3028 (GET): New macro.
3029 (SET): Likewise.
3030 (INC): Likewise.
3031 (create_archive): Use the new macros to access fields of
3032 structures directly mapped from or written to locale archives.
3033 (oldlocrecentcmp): Likewise.
3034 (enlarge_archive): Likewise.
3035 (insert_name): Likewise.
3036 (add_alias): Likewise.
3037 (add_locale): Likewise.
3038 (delete_locales_from_archive): Likewise.
3039 (show_archive_content): Likewise.
3040 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3041 locale data.
3042
39bf0bb4
RM
30432013-09-24 Roland McGrath <roland@hack.frob.com>
3044
3045 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3046 http://www.gnu.org/doc/freemanuals.texi.
3047 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3048
f02eed10
WN
30492013-09-24 Will Newton <will.newton@linaro.org>
3050
3051 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3052 macro.
3053
a3a6c312
JM
30542013-09-23 Joseph Myers <joseph@codesourcery.com>
3055
3056 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3057 unsigned char.
3058
107375ac
MR
30592013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3060
3061 * manual/threads.texi (POSIX Threads): Fix a typo.
3062
141f3a77
SP
30632013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3064
303e567a
SP
3065 [BZ #14547]
3066 * string/tst-strcoll-overflow.c: New test case.
3067 * string/Makefile (xtests): Add tst-strcoll-overflow.
3068 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3069 cache if string sizes may cause integer overflow.
3070
141f3a77
SP
3071 [BZ #14547]
3072 * string/strcoll_l.c (coll_seq): New members rule, idx,
3073 save_idx and back_us.
3074 (get_next_seq_nocache): New function.
3075 (do_compare_nocache): New function.
3076 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3077 when malloc fails.
3078
c61b4d41
CD
30792013-09-23 Carlos O'Donell <carlos@redhat.com>
3080
0b1f8e35
CD
3081 [BZ #15754]
3082 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3083 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3084 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3085
c61b4d41
CD
3086 [BZ #15754]
3087 * elf/Makefile (tests): Add tst-ptrguard1.
3088 (tests-static): Add tst-ptrguard1-static.
3089 (tst-ptrguard1-ARGS): Define.
3090 (tst-ptrguard1-static-ARGS): Define.
3091 * elf/tst-ptrguard1.c: New file.
3092 * elf/tst-ptrguard1-static.c: New file.
3093 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3094 * sysdeps/i386/stackguard-macros.h: Likewise.
3095 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3096 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3097 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3098 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3099 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3100 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3101
31022013-09-23 Hector Marco <hecmargi@upv.es>
3103 Ismael Ripoll <iripoll@disca.upv.es>
3104 Carlos O'Donell <carlos@redhat.com>
3105
3106 [BZ #15754]
3107 * sysdeps/generic/stackguard-macros.h: Define
3108 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3109 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3110 Define __pointer_chk_guard_local.
3111 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3112 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3113
f5f4e7b4
VV
31142013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3115
3116 [BZ #15859]
3117 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3118
5bb43a43
AS
31192013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3120
3121 * include/string.h (__ffs): Declare as hidden.
3122 * string/ffs.c (__ffs): Define as hidden.
3123 * sysdeps/i386/ffs.c (__ffs): Likewise.
3124 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3125 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3126 * sysdeps/s390/ffs.c (__ffs): Likewise.
3127 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3128
3ea5be54
AO
31292013-09-20 Alexandre Oliva <aoliva@redhat.com>
3130
ffb89e53
AO
3131 * NEWS: Mention malloc probes.
3132
322dea08
AO
3133 * malloc/arena.c (new_heap): New memory_heap_new probe.
3134 (grow_heap): New memory_heap_more probe.
3135 (shrink_heap): New memory_heap_less probe.
3136 (heap_trim): New memory_heap_free probe.
3137 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3138 (systrim): New memory_sbrk_less probe.
3139 * manual/probes.texi: Document them.
3140
655673f3
AO
3141 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3142 * manual/probes.texi: Document it.
3143
35fed6f1
AO
3144 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3145 (__libc_realloc): Add memory_realloc_retry probe.
3146 (__libc_memalign): Add memory_memalign_retry probe.
3147 (__libc_valloc): Add memory_valloc_retry probe.
3148 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3149 (__libc_calloc): Add memory_calloc_retry probe.
3150 * manual/probes.texi: Document them.
3151
6999d38c
AO
3152 * malloc/arena.c (get_free_list): Add probe
3153 memory_arena_reuse_free_list.
3154 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3155 and memory_arena_reuse.
3156 (arena_get2) [!PER_THREAD]: Likewise.
3157 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3158 memory_arena_reuse_realloc.
3159 * manual/probes.texi: Document them.
3160
0653427f
AO
3161 * malloc/malloc.c (__libc_free): Add
3162 memory_mallopt_free_dyn_thresholds probe.
3163 (__libc_mallopt): Add multiple memory_mallopt probes.
3164 * manual/probes.texi: Document them.
3165
3ea5be54
AO
3166 * malloc/malloc.c: Include stap-probe.h.
3167 (__libc_mallopt): Add memory_mallopt probe.
3168 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3169 * manual/probes.texi: New.
3170 * manual/Makefile (chapters): Add probes.
3171 * manual/threads.texi: Set next node.
3172
e35696c3 31732013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3174
e35696c3
CL
3175 [BZ #15963, #13985]
3176 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3177 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3178 Add `Chinese' to `nan' entry name.
3179
4aafb73c
SP
31802013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3181
3182 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3183 (POLYNOMIAL): Likewise.
3184 (TAYLOR_SINCOS): Likewise.
3185 (TAYLOR_SLOW): Likewise.
3186 (__sin): Use TAYLOR_SINCOS.
3187 (__cos): Likewise.
3188 (slow): Use TAYLOR_SLOW.
3189 (sloww): Likewise.
3190 (bsloww): Likewise.
3191 (csloww): Likewise.
3192
d84f25c7
LD
31932013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3194
3195 * stdlib/strtod_l.c: Fix buffer overrun.
3196
5eea0404
SP
31972013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3198
7849ff93
SP
3199 * benchtests/Makefile (bench): Add sincos.
3200 * benchtests/bench-sincos.c: New file.
3201
cfa3c886
SP
3202 * math/libm-test.inc (cos_test_data): New test inputs.
3203 (sin_test_data): Likewise.
3204
b348e1e3
SP
3205 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3206 macro.
3207 (__sin): Use it.
3208 (__cos): Likewise.
3209 (slow1): Likewise.
3210 (slow2): Likewise.
3211 (sloww1): Likewise.
3212 (sloww2): Likewise.
3213 (bsloww1): Likewise.
3214 (bsloww2): Likewise.
3215 (cslow2): Likewise.
3216 (csloww1): Likewise.
3217 (csloww2): Likewise.
3218
6cce25f8
SP
3219 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3220 function.
3221 (__sin): Use it.
3222 (__cos): Likewise.
3223
5eea0404
SP
3224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3225 gotos.
3226 (__cos): Likewise.
3227
9c21573c
MR
32282013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3229
3230 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3231 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3232 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3233 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3234 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3235 * elf/cache.c (print_entry): Handle the new cache flags.
3236
24d22e65
JM
32372013-09-18 Joseph Myers <joseph@codesourcery.com>
3238 Aldy Hernandez <aldyh@redhat.com>
3239
3240 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3241 Change condition to [_SOFT_FLOAT].
3242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3254 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3257 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3258 declaration.
3259
d13ef066
JM
32602013-09-18 Joseph Myers <joseph@codesourcery.com>
3261
2e071de0
JM
3262 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3263 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3264 (__longjmp): Use LOAD_GP to load saved GPRs.
3265 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3266 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3267 (__sigsetjmp): Use SAVE_GP to save GPRs.
3268
d13ef066
JM
3269 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3270 Do not append -msoft-float.
3271 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3272
97a0650b
SP
32732013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3274
3275 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3276
11ca09e9
JM
32772013-09-17 Joseph Myers <joseph@codesourcery.com>
3278
3279 [BZ #15966]
3280 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3281 (_FPU_GETCW): Use initial "__" on variable and field names but not
3282 on macro parameter name.
3283 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3284 parentheses around reference to macro parameter.
3285
08ffcf34
RS
32862013-09-13 Richard Sandiford <richard@codesourcery.com>
3287
3288 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3289 prototype.
3290 (ctype_startup): Use uint32_t in cast and sizeof for
3291 ctype->charnames.
3292
ae7080d3
JL
32932013-09-11 Jia Liu <proljc@gmail.com>
3294
3295 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3296 __daddr_t_defined.
3297 [__FreeBSD__]: Likewise.
3298
5905e7b3
OB
32992013-09-11 Ondřej Bílka <neleai@seznam.cz>
3300
3301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3302 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3303 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3304 (strchr): Remove __strchr_sse42 ifunc selection.
3305 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3306 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3307
b987c776
WN
33082013-09-11 Will Newton <will.newton@linaro.org>
3309
3310 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3311 parameter to RES. Remove hardcoded 1000 value.
3312 * benchtests/bench-skeleton.c (main): Pass RES parameter
3313 to TIMING_INIT and multiply result by 1000.
3314
ddf985af
AZ
33152013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3316
3317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3318
ffdd3181
AS
33192013-09-11 Andreas Schwab <schwab@suse.de>
3320
3321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3322 if not defined.
3323 (O_TMPFILE) [__USE_GNU]: Define.
3324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3325 Define.
3326
b73ed247
WN
33272013-09-11 Will Newton <will.newton@linaro.org>
3328
3329 [BZ #15857]
3330 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3331 does not overflow.
3332
55e17aad
WN
33332013-09-11 Will Newton <will.newton@linaro.org>
3334
3335 [BZ #15856]
3336 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3337 does not overflow.
3338
1159a193
WN
33392013-09-11 Will Newton <will.newton@linaro.org>
3340
3341 [BZ #15855]
3342 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3343 does not overflow.
3344
5905e7b3 33452013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3346
3347 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3348 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3349 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3350 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3351 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3352
cdfc721b
AM
33532013-09-10 Allan McRae <allan@archlinux.org>
3354
aa04af00
AM
3355 [BZ #15748]
3356 * manual/arith.texi (Parsing of Floats): Clarify
3357 cross-reference.
3358
cdfc721b
AM
3359 [BZ #15849]
3360 * manual/install.texi (Running make install): Mention
3361 --enable-pt-chown.
3362 * INSTALL: Regenerated.
3363
95e7cf29
MR
33642013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3365
3366 * csu/init-first.c (_init): Remove the !SHARED condition around
3367 FPU control word initialization.
3368 * elf/dl-support.c (_dl_fpu_control): New variable.
3369 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3370 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3371 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3372 * math/test-fpucw-static.c: New file.
3373 * math/test-fpucw-ieee.c: New file.
3374 * math/test-fpucw-ieee-static.c: New file.
3375 * math/Makefile (tests): Add `test-fpucw-ieee' and
3376 `$(tests-static)'.
3377 (tests-static): New variable.
3378 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3379 dependency to...
3380 [($(build-shared),yes)]
3381 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3382 ... this.
3383 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3384 New dependency.
3385
83e43bf0
AM
33862013-09-09 Allan McRae <allan@archlinux.org>
3387
a9f5ce09
AM
3388 [BZ #15939]
3389 * manual/string.texi (Collation Functions): Fix typo in
3390 strcoll example.
3391 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3392
34829bc2
AM
3393 [BZ #15893]
3394 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3395
3932737d
AM
3396 [BZ #15892]
3397 * libio/memstream.c (open_memstream): Fix memory leak.
3398 * libio/wmemstream.c (open_wmemstream): Likewise.
3399
83e43bf0
AM
3400 [BZ #15895]
3401 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3402
0c66b8e9
WN
34032013-09-09 Will Newton <will.newton@linaro.org>
3404
3405 * malloc/Makefile: Add tst-realloc to tests.
3406 * malloc/tst-realloc.c: New file.
3407
f6b00fd1
AM
34082013-09-09 Allan McRae <allan@archlinux.org>
3409
3410 [BZ #15844]
3411 * COPYING: Update from GNU website to fix FSF address.
3412 * COPYING.LIB: Likewise.
3413
eec55e16
DM
34142013-09-06 David S. Miller <davem@davemloft.net>
3415
3416 * po/zh_TW.po: Update Chinese (traditional) translation from
3417 translation project.
3418
1ecbb381
RS
34192013-09-06 Richard Sandiford <richard@codesourcery.com>
3420 Joseph Myers <joseph@codesourcery.com>
3421
3422 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3423 "localeinfo.h".
3424 (obstack_chunk_alloc): New macro.
3425 (obstack_chunk_free): Likewise.
3426 (record_offset): New function.
3427 (init_locale_data): Likewise.
3428 (align_locale_data): Likewise.
3429 (add_locale_empty): Likewise.
3430 (add_locale_raw_data): Likewise.
3431 (add_locale_raw_obstack): Likewise.
3432 (add_locale_string): Likewise.
3433 (add_locale_wstring): Likewise.
3434 (add_locale_uint32): Likewise.
3435 (add_locale_uint32_array): Likewise.
3436 (add_locale_char): Likewise.
3437 (start_locale_structure): Likewise.
3438 (end_locale_structure): Likewise.
3439 (start_locale_prelude): Likewise.
3440 (end_locale_prelude): Likewise.
3441 (write_locale_data): Take locale_file structure rather than an
3442 iovec.
3443 * locale/programs/locfile.h: Include "obstack.h".
3444 (struct locale_file): Change to store locale file contents instead
3445 of header.
3446 (init_locale_data): New prototype.
3447 (align_locale_data): Likewise.
3448 (add_locale_empty): Likewise.
3449 (add_locale_raw_data): Likewise.
3450 (add_locale_raw_obstack): Likewise.
3451 (add_locale_string): Likewise.
3452 (add_locale_wstring): Likewise.
3453 (add_locale_uint32): Likewise.
3454 (add_locale_uint32_array): Likewise.
3455 (add_locale_char): Likewise.
3456 (start_locale_structure): Likewise.
3457 (end_locale_structure): Likewise.
3458 (start_locale_prelude): Likewise.
3459 (end_locale_prelude): Likewise.
3460 (write_locale_data): Update prototype.
3461 * locale/programs/3level.h (struct TABLE): Remove result field.
3462 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3463 Use new locale_file interface.
3464 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3465 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3466 * locale/programs/ld-address.c (address_output): Use new
3467 locale_file interface.
3468 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3469 NO_ADD_LOCALE.
3470 (collate_finish): Don't call collseq_table_finalize.
3471 (collate_output): Use new locale_file interface.
3472 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3473 in file.
3474 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3475 (TABLE): Move defines earlier in file.
3476 (ELEMENT): Likewise.
3477 (DEFAULT): Likewise.
3478 (wctrans_table_add): Move macro and inline function earlier in
3479 file.
3480 (struct wctype_table): Move type earlier in file.
3481 (add_locale_wctype_table): New static prototype.
3482 (struct locale_ctype_t): Use logical types instead of struct iovec
3483 pointers for members.
3484 (ctype_output): Use new locale_file interface.
3485 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3486 new locale_file interface.
3487 (allocate_arrays): Update for use of new locale_file interface.
3488 * locale/programs/ld-identification.c (identification_output): Use
3489 new locale_file interface.
3490 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3491 * locale/programs/ld-messages.c (messages_output): Likewise.
3492 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3493 * locale/programs/ld-name.c (name_output): Likewise.
3494 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3495 * locale/programs/ld-paper.c (paper_output): Likewise.
3496 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3497 * locale/programs/ld-time.c (time_output): Likewise.
3498
e029e2e5
AZ
34992013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3500
3501 * benchtests/Makefile: Add memrchr benchmark.
3502 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3503 benchmark as memrchr.
3504 * benchtests/bench-memrchr-ifunc.c: New file.
3505 * benchtests/bench-memrchr.c: New file.
3506
bbf6e8e4
WN
35072013-09-06 Will Newton <will.newton@linaro.org>
3508
3509 * benchtests/Makefile (string-bench): Add memcpy.
3510
6c82a2f8
CD
35112013-09-05 Carlos O'Donell <carlos@redhat.com>
3512 Cong Wang <amwang@redhat.com>
3513
3514 * sysdeps/unix/sysv/linux/bits/in.h
3515 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3516 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3517 before __USE_KERNEL_IPV6_DEFS uses.
3518 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3519 IPPROTO_BEETPH.
3520 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3521 sockaddr_in6, or ipv6_mreq.
3522
5430fc65
AZ
35232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3524
3525 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3526 memory access for final bytes in some large inputs.
3527 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3528
4660856c
AZ
35292013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3530
3531 * string/test-memrchr.c: New file.
3532 * string/test-memrchr-ifunc.c: New file.
3533 * string/Makefile: Add new memrchr testcase.
3534
bb8ea713
MF
35352013-09-05 Mike Frysinger <vapier@gentoo.org>
3536
3537 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3538 fanotify_init returns EPERM.
3539
b92a20b5
JM
35402013-09-04 Joseph Myers <joseph@codesourcery.com>
3541
3542 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3543 errors.
3544 (top level): Treat second token from macro or constant entries for
3545 allowed headers as allowed.
3546 * include/complex.h: Condition internal declarations on
3547 [!_ISOMAC].
3548 * include/fenv.h: Condition include of <stdbool.h> and internal
3549 declarations on [!_ISOMAC].
7447ccd9
CL
3550
35512013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3552
3e181dda 3553 [BZ #15923]
7447ccd9
CL
3554 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3555
3f2e46a4
JM
35562013-09-04 Joseph Myers <joseph@codesourcery.com>
3557
3558 * configure.in (--enable-versioning): Remove configure option.
3559 (libc_cv_asm_symver_directive): Remove configure test.
3560 (libc_cv_ld_version_script_option): Likewise.
3561 (VERSIONING): Remove variable and AC_SUBST.
3562 (DO_VERSIONING): Remove AC_DEFINE.
3563 * configure: Regenerated.
3564 * config.h.in (DO_VERSIONING): Remove macro.
3565 * Makerules [$(versioning) = yes]: Change conditionals to
3566 [$(build-shared) = yes].
3567 * config.make.in (versioning): Remove variable.
3568 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3569 [$(build-shared) = yes].
3570 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3571 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3572 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3573 [$(build-shared) = yes].
3574 * extra-lib.mk [$(versioning) = yes]: Likewise.
3575 * hurd/Makefile [$(versioning) = yes]: Likewise.
3576 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3577 [SHARED].
3578 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3579 [SHARED].
3580 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3581 [SHARED && !NO_HIDDEN].
3582 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3583 [SHARED].
3584 [SHARED && DO_VERSIONING]: Likewise..
3585 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3586 [$(build-shared) = yes].
3587 * manual/install.texi (--disable-versioning): Remove
3588 documentation.
3589 * INSTALL: Regenerated.
3590 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3591 to [SHARED].
3592 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3593 [$(build-shared) = yes].
3594 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3595 * sysdeps/i386/i686/multiarch/strstr-c.c
3596 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3597 [SHARED && !NO_HIDDEN].
3598 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3599 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3600 * sysdeps/powerpc/powerpc32/dl-machine.c
3601 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3602 * sysdeps/powerpc/powerpc32/sysdep.h
3603 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3604 to [SHARED && PIC && !NO_HIDDEN].
3605 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3606 conditional to [SHARED].
3607
44558701
WN
36082013-09-04 Will Newton <will.newton@linaro.org>
3609
3610 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3611 * benchtests/bench-string.h: Include bench-timing.h instead
3612 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3613 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3614 call to HP_TIMING_DIFF_INIT.
3615 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3616 instead of hp-timing.h macros.
3617 * benchtests/bench-memchr.c: Likewise.
3618 * benchtests/bench-memcmp.c: Likewise.
3619 * benchtests/bench-memcpy.c: Likewise.
3620 * benchtests/bench-memmem.c: Likewise.
3621 * benchtests/bench-memmove.c: Likewise.
3622 * benchtests/bench-memset.c: Likewise.
3623 * benchtests/bench-rawmemchr.c: Likewise.
3624 * benchtests/bench-strcasecmp.c: Likewise.
3625 * benchtests/bench-strcasestr.c: Likewise.
3626 * benchtests/bench-strcat.c: Likewise.
3627 * benchtests/bench-strchr.c: Likewise.
3628 * benchtests/bench-strcmp.c: Likewise.
3629 * benchtests/bench-strcpy.c: Likewise.
3630 * benchtests/bench-strcpy_chk.c: Likewise.
3631 * benchtests/bench-strlen.c: Likewise.
3632 * benchtests/bench-strncasecmp.c: Likewise.
3633 * benchtests/bench-strncat.c: Likewise.
3634 * benchtests/bench-strncmp.c: Likewise.
3635 * benchtests/bench-strncpy.c: Likewise.
3636 * benchtests/bench-strnlen.c: Likewise.
3637 * benchtests/bench-strpbrk.c: Likewise.
3638 * benchtests/bench-strrchr.c: Likewise.
3639 * benchtests/bench-strspn.c: Likewise.
3640 * benchtests/bench-strstr.c: Likewise.
3641
cae16d66
WN
36422013-09-04 Will Newton <will.newton@linaro.org>
3643
3644 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3645
ffa3cd7f
JM
36462013-09-03 Joseph Myers <joseph@codesourcery.com>
3647
3648 [BZ #15427]
3649 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3650 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3651 * math/libm-test.inc (lgamma_test_data): Add more tests.
3652 * sysdeps/i386/fpu/libm-test-ulps: Update.
3653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3654
8f02859f
OB
36552013-09-03 Ondřej Bílka <neleai@seznam.cz>
3656
3657 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3658 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3659 Add ifunc.
3660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3661 Add strcmp-sse2-unaligned
3662 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3663
18d43716
MF
36642013-09-02 Mike Frysinger <vapier@gentoo.org>
3665
3666 * Versions.def (libc): Add GLIBC_2.19.
3667
ac444012
MF
36682013-09-02 Mike Frysinger <vapier@gentoo.org>
3669
3670 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3671 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3672
b7835e32
JM
36732013-09-02 Joseph Myers <joseph@codesourcery.com>
3674
3675 [BZ #14155]
3676 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3677 intermediate calculations in recurrence.
3678 (__ieee754_ynf): Likewise.
3679 * math/libm-test.inc (jn_test_data): Do not allow spurious
3680 underflow exception. Add more tests.
3681 (yn_test_data): Add more tests.
3682 * sysdeps/i386/fpu/libm-test-ulps: Update.
3683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3684
8220f4f0
OB
36852013-09-02 Ondřej Bílka <neleai@seznam.cz>
3686
3687 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3688
f24a6d08
OB
36892013-08-30 Ondřej Bílka <neleai@seznam.cz>
3690
3691 * csu/init-first.c: Fix then/than typos.
3692 * locale/programs/ld-collate.c: Likewise.
3693 * locale/programs/linereader.h: Likewise.
3694 * manual/charset.texi: Likewise.
3695 * manual/filesys.texi: Likewise.
3696 * manual/stdio.texi: Likewise.
3697 * manual/string.texi: Likewise.
3698 * stdlib/fmtmsg.c: Likewise.
3699 * sysdeps/i386/stpncpy.S: Likewise.
3700 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3701 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3702 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3703 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3704
382466e0
OB
37052013-08-30 Ondřej Bílka <neleai@seznam.cz>
3706
3707 * elf/dl-open.c: Fix typos.
3708 * iconvdata/gbbig5.c: Likewise.
3709 * iconvdata/iso-2022-jp.c: Likewise.
3710 * iconv/gconv_int.h: Likewise.
3711 * iconv/loop.c: Likewise.
3712 * nis/rpcsvc/nis.h: Likewise.
3713 * resolv/ns_name.c: Likewise.
3714 * stdio-common/vfscanf.c: Likewise.
3715 * streams/stropts.h: Likewise.
3716 * sunrpc/rpc_thread.c: Likewise.
3717 * sysdeps/i386/strpbrk.S: Likewise.
3718 * sysdeps/ieee754/k_standard.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3721 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3722 * sysdeps/mach/hurd/profil.c: Likewise.
3723 * sysdeps/s390/dl-procinfo.h: Likewise.
3724 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3725 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3726 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3727 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3729
0186c6e9
OB
37302013-08-30 Ondřej Bílka <neleai@seznam.cz>
3731
3732 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3734
d4e16af1
OB
37352013-08-29 Ondřej Bílka <neleai@seznam.cz>
3736
3737 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3738 aix specific files.
3739 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3740 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3741 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3742 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3743 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3744 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3745 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3746 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3747
88335980
TS
37482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3749 Roland McGrath <roland@hack.frob.com>
3750
3751 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3752 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3753
ed479b02
ST
37542013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3755
3756 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3757 __executable_start symbol instead of _start.
3758
f1cc4c86
TS
37592013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3760
d821f07c
TS
3761 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3762 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3763 Move macros to...
3764 * sysdeps/gnu/ldsodefs.h: ... this new file.
3765
c54290cf
TS
3766 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3767 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3768 instead of ELFOSABI_LINUX.
3769
0007fc9b 3770 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3771 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3772 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3773 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3774 Likewise.
3775 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3776 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3777 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3778 Likewise.
3779 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3780 (ibm_extended_long_double): Add ieee_nan member.
3781 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3782 (do_test): New function.
3783
f1cc4c86
TS
3784 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3785 TEST_TRUNC.
3786 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3787 functions, renamed from truncdfsf_test, trunctfsf_test,
3788 trunctfdf_test.
3789 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3790 functions.
3791 (do_test): Run all these.
3792
6f65e668
OB
37932013-08-29 Ondřej Bílka <neleai@seznam.cz>
3794
3795 * argp/argp-help.c: Fix typos.
3796 * argp/argp-parse.c: Likewise.
3797 * debug/backtracesyms.c: Likewise.
3798 * elf/elf.h: Likewise.
3799 * malloc/malloc.c: Likewise.
3800 * nis/nis_print.c: Likewise.
3801 * resolv/res_comp.c: Likewise.
3802 * stdlib/stdlib.h: Likewise.
3803 * sunrpc/clnt_tcp.c: Likewise.
3804 * sunrpc/clnt_udp.c: Likewise.
3805 * sunrpc/clnt_unix.c: Likewise.
3806 * sysdeps/unix/bsd/ptsname.c: Likewise.
3807 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3808 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3810 Likewise.
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3812 Likewise.
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3814 Likewise.
6f65e668
OB
3815 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3816
3a309239
SP
38172013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3818
3819 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3821
3b813b29
MF
38222013-08-27 Mike Frysinger <vapier@gentoo.org>
3823
3824 [BZ #15897]
3825 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3826 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3827 ($(objpfx)bug-dl-leaf): New rule.
3828 ($(objpfx)bug-dl-leaf.so): Likewise.
3829 ($(objpfx)bug-dl-leaf.out): Likewise.
3830 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3831 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3832 * dlfcn/bug-dl-leaf.c: New test.
3833 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3834 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3835 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3836 (dlclose): Likewise.
3837 (dlmopen): Likewise.
3838
8cc3269f
RM
38392013-08-27 Roland McGrath <roland@hack.frob.com>
3840
7f9d0034
RM
3841 * include/netdb.h [!_ISOMAC]:
3842 Don't include <tls.h>.
3843 (h_errno, __libc_h_errno): Move declaration and macros out of
3844 [_LIBC_REENTRANT].
3845
fb431262
RM
3846 * include/resolv.h [_RESOLV_H_]:
3847 Don't include <tls.h>.
3848 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3849 * resolv/res_libc.c: Don't include <tls.h>.
3850 (_res): Use __attribute__ ((nocommon)) in place of
3851 __attribute__ ((section (".bss"))).
3852
bd81123a
RM
3853 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3854 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3855
c4e42566
RM
3856 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3857
f890a59b
RM
3858 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3859 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3860
3861 * resolv/res_mkquery.c: Include <sys/time.h>.
3862
5d1f0a09
RM
3863 * inet/ifreq.c: Moved to ...
3864 * sysdeps/unix/ifreq.c: ... here.
3865 * inet/ifreq.c: New file, true stub version.
3866
6fcf28b3
RM
3867 * socket/sa_len.c: New file.
3868 * socket/Makefile (aux): Add it.
3869 * sysdeps/unix/sysv/linux/Makefile
3870 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3871 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3872 and #include <socket/sa_len.c>.
3873 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3874 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3875
e041fb8b
RM
3876 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3877 * bits/socket.h: ... here.
3878
8cc3269f
RM
3879 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3880 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3881 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3882
5d228a43
AS
38832013-08-27 Andreas Schwab <schwab@suse.de>
3884
45b8accc
AS
3885 [BZ #15736]
3886 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3887 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3888 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3889 * string/test-strcasecmp.c (test_main): Run tests in several
3890 locales.
3891 * string/test-strncasecmp.c (test_main): Likewise.
3892
5d228a43
AS
3893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3894 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3895 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3897 (__strncasecmp_ssse3) [PIC]: Likewise.
3898
59d112a4
RM
38992013-08-26 Roland McGrath <roland@hack.frob.com>
3900
53234cc3
RM
3901 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3902
59d112a4
RM
3903 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3904 instead of explicitly declaring xdecrypt.
3905 * nis/nss_nis/nis-publickey.c: Likewise.
3906
595aba70
SP
39072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3908
3909 [BZ #15890]
3910 * nscd/aicache.c: Include res_hconf.h.
3911 (addhstaiX): Initialize res_hconf.
3912
ffabd393
AS
39132013-08-26 Andreas Schwab <schwab@suse.de>
3914
3915 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3916 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3917
e0a69f5c
SP
39182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3919
3920 * nscd/aicache.c (addhstaiX): Fix indentation.
3921
8c12f01d
MF
39222013-08-25 Mike Frysinger <vapier@gentoo.org>
3923
3924 * configure.ac: Quote $build_pt_chown test.
3925 * configure: Regenerated.
3926
8fe89494
JM
39272013-08-23 Joseph Myers <joseph@codesourcery.com>
3928
3929 [BZ #15532]
3930 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3931 * math/s_cexpf.c (__cexpf): Likewise.
3932 * math/s_cexpl.c (__cexpl): Likewise.
3933 * math/libm-test.inc (cexp_test_data): Correct expected return
3934 value for NaN + i0. Add another test.
3935
75b181d6
DM
39362013-08-22 David S. Miller <davem@davemloft.net>
3937
3938 * po/ca.po: Update Catalan translation from translation project.
936241e4 3939 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3940
acd06bb1
JM
39412013-08-21 Joseph Myers <joseph@codesourcery.com>
3942
3943 [BZ #15797]
3944 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3945 is infinite, not alongside NaN test.
3946 * math/s_fdimf.c (__fdimf): Likewise.
3947 * math/s_fdiml.c (__fdiml): Likewise.
3948 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3949 errno is unchanged.
3950
c0c3f78a
OB
39512013-08-21 Ondřej Bílka <neleai@seznam.cz>
3952
3953 * argp/argp-help.c: Fix typos.
3954 * crypt/speeds.c: Likewise.
3955 * csu/check_fds.c: Likewise.
3956 * elf/dl-load.c: Likewise.
3957 * elf/dl-open.c: Likewise.
3958 * elf/reldep3.c: Likewise.
3959 * elf/reldep.c: Likewise.
3960 * elf/sprof.c: Likewise.
3961 * iconv/iconv_charmap.c: Likewise.
3962 * iconv/skeleton.c: Likewise.
3963 * iconv/strtab.c: Likewise.
3964 * io/lockf64.c: Likewise.
3965 * libio/libioP.h: Likewise.
3966 * resolv/gai_notify.c: Likewise.
3967 * resolv/ns_name.c: Likewise.
3968 * resolv/ns_samedomain.c: Likewise.
3969 * resolv/res_send.c: Likewise.
3970 * stdlib/random.c: Likewise.
3971 * sunrpc/rpc/xdr.h: Likewise.
3972 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3974 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3975 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3976 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3977 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3979 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3980 * sysdeps/mach/hurd/check_fds.c: Likewise.
3981 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3982 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3983 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3984 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3985 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3986 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3987 * sysdeps/pthread/aio_notify.c: Likewise.
3988 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3989 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3990 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3991 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3992 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3993
46ed1038
LD
39942013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3995
3996 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3997 version if bit_Slow_SSE4_2 is set.
3998 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3999 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4000
d400dcac
AZ
40012013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4002
4003 [BZ #15867]
4004 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4005 trampoline stack frame information.
4006 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4007 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4008 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4009 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4010 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4011 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4012 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4013 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4014 sa_flags value.
4015 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4016 interrupting a syscall and set with option SA_SIGINFO.
4017
42c8fdd8
JM
40182013-08-20 Joseph Myers <joseph@codesourcery.com>
4019
c980f2f4
JM
4020 [BZ #15531]
4021 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4022 argument is infinite.
4023 * math/s_cprojf.c (__cprojf): Likewise.
4024 * math/s_cprojl.c (__cprojl): Likewise.
4025 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4026 * math/libm-test.inc (cproj_test_data): Add more tests.
4027
0716c4fc
JM
4028 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4029
42c8fdd8
JM
4030 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4031 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4032 size. Use __ffs to determine corresponding shift.
4033
b31469d0
JM
40342013-08-20 Joseph Myers <joseph@codesourcery.com>
4035 Roland McGrath <roland@hack.frob.com>
4036
4037 * Makefile (INSTALL): Remove trailing blank lines from output of
4038 makeinfo.
4039
4e39af6e
AK
40402013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4041
4042 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4043 Align 32 bit compat elf_greg to 8 bytes.
4044
f315524e
AA
40452013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4046
4047 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4048
1326ba1a
SP
40492013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4050
4051 * string/strcoll_l.c (coll_seq): New structure.
4052 (get_next_seq_cached): New function.
4053 (get_next_seq): New function.
4054 (do_compare): New function.
4055 (STRCOLL): Use GNU style definition. Simplify implementation
4056 by using get_next_seq, get_next_seq_cached and do_compare.
4057
91ce4085
FW
40582013-08-16 Florian Weimer <fweimer@redhat.com>
4059
4060 [BZ #14699]
4061 CVE-2013-4237
4062 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4063 member.
4064 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4065 member.
4066 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4067 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4068 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4069 conditional.
4070 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4071 GETDENTS_64BIT_ALIGNED.
4072 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4073 * manual/filesys.texi (Reading/Closing Directory): Document
4074 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4075 strongly.
4076 * manual/conf.texi (Limits for Files): Add portability note to
4077 NAME_MAX, PATH_MAX.
4078 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4079
ca0a6bc4
AS
40802013-08-13 Andreas Schwab <schwab@suse.de>
4081
4082 [BZ #15749]
4083 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4084 of fabs.
4085 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4086 LDBL_MAX_EXP >= 16384]: Add tests for it.
4087
6c1fd795
DM
40882013-08-12 David S. Miller <davem@davemloft.net>
4089
4090 * version.h (RELEASE): Set to "development".
4091 (VERSION): Set to "2.18.90".
4092 * NEWS: Add 2.19 section.
4093
31ad488d
DM
40942013-08-03 David S. Miller <davem@davemloft.net>
4095
4096 * po/ko.po: Update Korean translation from translation project.
4097
db24e684
DM
40982013-08-01 David S. Miller <davem@davemloft.net>
4099
4100 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4101 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4102 Bilka.
4103
f723285b
DM
41042013-07-30 David S. Miller <davem@davemloft.net>
4105
4106 * po/fr.po: Update French translation from translation project.
4107
3cbc52db
DM
41082013-07-28 David S. Miller <davem@davemloft.net>
4109
30bbc0cc
DM
4110 * po/cs.po: Update Czech translation from translation project.
4111
3cbc52db
DM
4112 * po/sv.po: Update Swedish translation from translation project.
4113
d492e6d0
DM
41142013-07-27 David S. Miller <davem@davemloft.net>
4115
f1a7f492
DM
4116 * po/eo.po: Update Esperanto translation from translation project.
4117
90e62a4a
DM
4118 * po/vi.po: Update Vietnamese translation from translation project.
4119
d492e6d0
DM
4120 * po/de.po: Update German translation from translation project.
4121
d4baa62d
DM
41222013-07-26 David S. Miller <davem@davemloft.net>
4123
641aa7b4
DM
4124 * po/bg.po: Update Bulgarian translation from translation project.
4125
d4baa62d
DM
4126 * po/nl.po: Update Dutch translation from translation project.
4127 * po/pl.po: Update Polish translation from translation project.
4128 * po/ru.po: Update Russian translation from translation project.
4129
61a9dcb9
DM
41302013-07-24 David S. Miller <davem@davemloft.net>
4131
4132 * po/libc.pot: Update.
4133
7b1f8b58
AZ
41342013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4135
4136 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4137 variable page size.
4138 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4139 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4140 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4141
a8fc7a03
AK
41422013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4143
4144 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4145
e4608715
CD
41462013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4147 Andreas Schwab <schwab@suse.de>
4148 Roland McGrath <roland@hack.frob.com>
4149 Joseph Myers <joseph@codesourcery.com>
4150 Carlos O'Donell <carlos@redhat.com>
4151
4152 [BZ #15755]
4153 * config.h.in: Define HAVE_PT_CHOWN.
4154 * config.make.in (build-pt-chown): New variable.
4155 * configure.in (--enable-pt_chown): New configure option.
4156 * configure: Regenerate.
4157 * login/Makefile: Include Makeconfig. Build pt_chown only if
4158 build-pt-chown is enabled.
4159 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4160 pt_chown to fix pty ownership.
4161 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4162 CLOSE_ALL_FDS.
4163 * manual/install.texi (Configuring and compiling): Mention
4164 --enable-pt_chown. Add @findex for grantpt.
4165 * INSTALL: Regenerate.
4166
da2d62df
DM
41672013-07-20 David S. Miller <davem@davemloft.net>
4168
4169 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4170 difference between 32-bit and 64-bit.
4171
d7e06450
CD
41722013-07-15 Carlos O'Donell <carlos@redhat.com>
4173
4174 [BZ #15711]
4175 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4176 Avoid system header dependency with -ffreestanding.
4177 ($(objpfx)bits/syscall%d): Likewise.
4178
f959cfd7
DM
41792013-07-13 David S. Miller <davem@davemloft.net>
4180
4181 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4182 underflows from atanl/atan2l due to bug 15319.
4183 (casinh_test_data): Likewise.
4184
c61f8513
DM
41852013-07-07 David S. Miller <davem@davemloft.net>
4186
4187 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4188
72c90ed0
JA
41892013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4190
4191 * sysdeps/i386/fpu/libm-test-ulps: Update.
4192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4193
52dfbe13
SP
41942013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4195
4196 * configure.in (--enable-lock-elision): Fix message text.
4197 * INSTALL: Regenerate.
4198 * configure: Regenerate.
4199
3f169543
AZ
42002013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4201
4202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4203
521c6785
AJ
42042013-07-03 Andreas Jaeger <aj@suse.de>
4205
4206 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4207 define.
4208 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4209 (ptrace_peeksiginfo_args): Add.
4210 (__ptrace_peeksiginfo_flags): Add.
4211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4213 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4214
d2cc15cb
AM
42152013-07-03 Allan McRae <allan@archlinux.org>
4216
4217 * sysdeps/i386/fpu/libm-test-ulps: Update.
4218
3aaeeca7
DM
42192013-07-02 David S. Miller <davem@davemloft.net>
4220
4221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4222
5314ed1a
MT
42232013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4224
4225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4226
67338156
JM
42272013-07-02 Joseph Myers <joseph@codesourcery.com>
4228
4229 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4231
1717da59
AK
42322013-07-02 Andi Kleen <ak@linux.intel.com>
4233
4234 * config.h.in (ENABLE_LOCK_ELISION): Add.
4235 * configure.in (--enable-lock-elision): Add option.
4236 * manual/install.texi: Document --enable lock elision.
4237 * configure: Regenerate
4238 * INSTALL: Regenerate.
4239
1c81621c
L
42402013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4241
4242 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4243 SSE4.2 strcasecmp for libc.a.
4244 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4245
77f01ab5
JM
42462013-07-02 Joseph Myers <joseph@codesourcery.com>
4247
4248 [BZ #13304]
4249 * soft-fp/op-common.h (_FP_FMA): New macro.
4250 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4251 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4252 (_FP_MUL_MEAT_1_imm): ... here.
4253 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4254 (_FP_MUL_MEAT_1_wide): ... here.
4255 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4256 (_FP_MUL_MEAT_1_hard): ... here.
4257 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4258 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4259 (_FP_MUL_MEAT_2_wide): ... here.
4260 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4261 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4262 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4263 (_FP_MUL_MEAT_2_gmp): ... here.
4264 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4265 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4266 (_FP_MUL_MEAT_4_wide): ... here.
4267 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4268 (_FP_MUL_MEAT_4_gmp): ... here.
4269 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4270 (_FP_WFRACBITS_DW_S): Likewise.
4271 (_FP_WFRACXBITS_DW_S): Likewise.
4272 (_FP_HIGHBIT_DW_S): Likewise.
4273 (FP_FMA_S): Likewise.
4274 (_FP_FRAC_HIGH_DW_S): Likewise.
4275 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4276 (_FP_WFRACBITS_DW_D): Likewise.
4277 (_FP_WFRACXBITS_DW_D): Likewise.
4278 (_FP_HIGHBIT_DW_D): Likewise.
4279 (FP_FMA_D): Likewise.
4280 (_FP_FRAC_HIGH_DW_D): Likewise.
4281 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4282 (_FP_WFRACBITS_DW_E): Likewise.
4283 (_FP_WFRACXBITS_DW_E): Likewise.
4284 (_FP_HIGHBIT_DW_E): Likewise.
4285 (FP_FMA_E): Likewise.
4286 (_FP_FRAC_HIGH_DW_E): Likewise.
4287 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4288 (_FP_WFRACBITS_DW_Q): Likewise.
4289 (_FP_WFRACXBITS_DW_Q): Likewise.
4290 (_FP_HIGHBIT_DW_Q): Likewise.
4291 (FP_FMA_Q): Likewise.
4292 (_FP_FRAC_HIGH_DW_Q): Likewise.
4293 * soft-fp/fmasf4.c: New file.
4294 * soft-fp/fmadf4.c: Likewise.
4295 * soft-fp/fmatf4.c: Likewise.
4296
6308fd9a
LD
42972013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4298
4299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4300 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4301 Silvermont.
4302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4303 macro.
4304 (index_Slow_SSE4_2): Likewise.
4305 (index_Prefer_PMINUB_for_stringop): Likewise.
4306 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4307 bit_Slow_SSE4_2 is set.
4308 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4309 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4310
89cd9569
RA
43112013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4312
4313 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4314 rtld_global._dl_hwcap2.
4315 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4316 POWER8.
4317 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4318 POWER8 feature descriptions defined in _dl_hwcap2.
4319 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4320 string handling for POWER8 feature bits.
4321 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4322 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4323 _dl_powerpc_cap_flags.
4324 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4325 * sysdeps/powerpc/rtld-global-offsets.sym
4326 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4327 _dl_hwcap2 in the rtld_global_ro structure.
4328
1ae8bfe0
RA
43292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4330
4331 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4332 hardware capabilities in support of AT_HWCAP2.
4333 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4334 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4335 GLRO(dl_hwcap2).
4336 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4337 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4338 explicitly the unknown a_type display mechanism is used.
4339 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4340 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4341 struct member.
4342 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4343 to macro prototype for AT_HWCAP2 support.
4344 * sysdeps/i386/dl-procinfo.h: Likewise.
4345 * sysdeps/s390/dl-procinfo.h: Likewise.
4346 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4347 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4348 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4349 return -1 for unknown a_type display fallback.
4350 * sysdeps/sparc/dl-procinfo.h: Likewise.
4351 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4352 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4353
8fbec010
JM
43542013-06-28 Joseph Myers <joseph@codesourcery.com>
4355
4356 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4357 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4358
0432680e
PY
43592013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4360
4361 [BZ #12492]
4362 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4363 mprotect making __stack_prot writable.
4364
ce61a2ad
NF
43652013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4366 Joseph Myers <joseph@codesourcery.com>
4367
4368 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4369 as being properly aligned.
4370
f91f1c0f
MR
43712013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4372
3d0f5d0c
MR
4373 * dlfcn/modstatic5.c: New file.
4374 * dlfcn/tststatic5.c: New file.
4375 * dlfcn/Makefile (tests): Add tststatic5.
4376 (tests-static): Likewise.
4377 (modules-names): Add modstatic5.
4378 (tststatic5-ENV): New variable.
4379 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4380
f91f1c0f
MR
4381 [BZ #15022]
4382 * elf/dl-support.c (_dl_main_map): New variable.
4383 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4384 (_dl_nns, _dl_load_adds): Set to 1.
4385 (_dl_initial_searchlist): Refer to _dl_main_map.
4386 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4387 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4388 call to _dl_get_origin.
4389 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4390 around call_map.
4391 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4392 * dlfcn/modstatic3.c: New file.
4393 * dlfcn/tststatic3.c: New file.
4394 * dlfcn/tststatic4.c: New file.
4395 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4396 (tests-static): Likewise.
4397 (modules-names): Add modstatic3.
4398 (tststatic3-ENV, tststatic4-ENV): New variables.
4399 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4400 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4401
cbe7d24b
JM
44022013-06-26 Joseph Myers <joseph@codesourcery.com>
4403
4404 * configure.in (CC): Require GCC version 4.4 or later.
4405 * configure: Regenerated.
4406 * manual/install.texi (Tools for Compilation): Update GCC version
4407 requirement.
4408 * INSTALL: Regenerated.
4409
11b8a0e1
LD
44102013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4411
4412 [BZ #15674]
bb5bb87c
L
4413 * string/test-memcmp.c (check2): New.
4414 (main): Call check2.
4415
11b8a0e1
LD
4416 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4417
b0037103
MR
44182013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4419
4420 [BZ #15022]
4421 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4422 over to...
4423 (dl_open_worker) [!SHARED]: ... here.
4424
c18c701d
RA
44252013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4426
4427 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4428
1d17fa5f
RH
44292013-06-25 Richard Henderson <rth@redhat.com>
4430
4431 * locale/programs/locarchive.c: Include <libc-internal.h>
4432
8fcb833a
JM
44332013-06-25 Joseph Myers <joseph@codesourcery.com>
4434
4435 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4436 trailing whitespace removed.
4437
17db6e8d
MF
44382013-06-24 Mike Frysinger <vapier@gentoo.org>
4439
4440 [BZ #10283]
17db6e8d
MF
4441 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4442 * locale/programs/locarchive.c: Include libc-mmap.h.
4443 (prepare_address_space): Take two new outputs (the mmap base and len).
4444 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4445 values.
4446 (create_archive): Declare new mmap base and len values for
4447 prepare_address_space, and store the result in ah.
4448 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4449 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4450 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4451 Declare new mmap base and len values for
4452 prepare_address_space, and store the result in new_ah.
4453 (open_archive): Declare new mmap base and len values for
4454 prepare_address_space, and store the result in ah.
4455 (close_archive): If ah->mmap_base is not NULL, use that and
4456 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4457 * sysdeps/generic/libc-mmap.h: New file.
4458
d605071e
MF
44592013-06-24 Mike Frysinger <vapier@gentoo.org>
4460
4461 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4462 (ALIGN_UP): Likewise.
4463 (PTR_ALIGN_DOWN): Likewise.
4464 (PTR_ALIGN_UP): Likewise.
4465
2f063a6e
RA
44662013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4467
4468 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4469 entry mapped to PPC_PLATFORM_POWER8.
4470 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4471 POWER8.
4472 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4473 (_dl_string_platform): Add case for exporting platform position for
4474 POWER8.
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4476 search path to sysdeps/powerpc/powerpc32/power8 directory.
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4478 search path to sysdeps/powerpc/powerpc64/power8 directory.
4479 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4480 power7 directories.
4481 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4482 power7 directories.
4483
a31ee4b3
SP
44842013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4485
a74ca98f
SP
4486 * INSTALL: Regenerate.
4487
a31ee4b3
SP
4488 * nscd/connections.c (nscd_init): Fix comment.
4489
695c378f
JM
44902013-06-22 Joseph Myers <joseph@codesourcery.com>
4491
d8412221
JM
4492 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4493
695c378f
JM
4494 [BZ #15667]
4495 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4496 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4497
d1d54715
MR
44982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4499
4500 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4501 DL_DST_REQ_STATIC.
4502 (DL_DST_REQ_STATIC): Remove macro.
4503
8fdda7af
JM
45042013-06-21 Joseph Myers <joseph@codesourcery.com>
4505
4506 [BZ #7006]
4507 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4508 with a shift of 0 bits.
4509
f3bc5e5a
MR
45102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4511
4512 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4513 $(tststatic-ENV).
4514
be09e8c9
KK
45152013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4516
4517 [BZ #15655]
4518 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4519
85c2e611
AZ
45202013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4521
4522 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4523 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4524 accepts -fno-tree-loop-distribute-patterns.
4525 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4526 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4527 recursive call.
4528 * string/memset.c (memset): Likewise.
4529 * string/test-memmove.c (simple_memmove): Disable loop transformation
4530 to library calls.
4531 * string/test-memset.c (simple_memset): Likewise.
4532 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4533 * benchtests/bench-memset.c (simple_memset): Likewise.
4534 * configure: Regenerated.
4535
c91e0825
JM
45362013-06-20 Joseph Myers <joseph@codesourcery.com>
4537
b8c792af
JM
4538 * math/test-misc.c (main): Ignore fesetround failure when failures
4539 of subsequent rounding tests would be ignored.
4540
c91e0825
JM
4541 [BZ #15654]
4542 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4543 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4544 * math/fegetenv.c (__fegetenv): Return 0.
4545 * math/fegetexcept.c (fegetexcept): Return 0.
4546 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4547 FE_TONEAREST.
4548 * math/feholdexcpt.c (feholdexcept): Return 0.
4549 * math/fesetenv.c (__fesetenv): Return 0.
4550 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4551 argument FE_TONEAREST.
4552 * math/feupdateenv.c (__feupdateenv): Return 0.
4553 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4554
bfcacbde
RM
45552013-06-18 Roland McGrath <roland@hack.frob.com>
4556
4557 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4558 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4559 ($(objpfx)rtld-%.os rules): Use them.
4560
e55a9b25
AZ
45612013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4562
4563 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4564 fields.
4565
346d65b3
RM
45662013-06-17 Roland McGrath <roland@hack.frob.com>
4567
12086fb4
RM
4568 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4569 length of target pattern, then descending length of dependency pattern.
4570 * configure.in (AWK): Require gawk 3.1.2 or newer.
4571 * manual/install.texi (Tools for Compilation): Say that we do.
4572 * configure: Regenerated.
4573
346d65b3
RM
4574 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4575 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4576 * scripts/sysd-rules.awk: ... this new script.
4577 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4578 than a glob-style pattern.
4579
1a846317
JM
45802013-06-17 Joseph Myers <joseph@codesourcery.com>
4581
4582 * math/test-misc.c (main): Do not treat incorrectly rounded
4583 conversions as failure unless ROUNDING_TESTS passes.
4584
8fc75e6f
JM
45852013-06-15 Joseph Myers <joseph@codesourcery.com>
4586
3711a167
JM
4587 [BZ #15631]
4588 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4589 restore exception state around main square root computation, then
4590 check for inexactness explicitly.
4591
8fc75e6f
JM
4592 * math/libm-test.inc (fma_test_data): Add another test.
4593
61dd6208
SP
45942013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4595
adf23d2c
SP
4596 * manual/threads.texi (Non-POSIX Extensions): New document
4597 node. Document pthread_getattr_default_np and
4598 pthread_setattr_default_np.
4599
61dd6208
SP
4600 * Versions.def (libpthread): Add GLIBC_2.18.
4601 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4603 Likewise.
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4605 Likewise.
4606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4607 Likewise.
4608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4609 Likewise.
4610 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4611 Likewise.
4612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4613 Likewise.
4614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4615 Likewise.
4616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4617 Likewise.
4618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4619 Likewise.
4620
d086fc7b
LD
46212013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4622
4623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4624 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4625
747ef469
SP
46262013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4627 H.J. Lu <hjl.tools@gmail.com>
4628
4629 [BZ #15627]
4630 * sysdeps/x86_64/rtld-memset.c: Remove file.
4631 * sysdeps/x86_64/rtld-memset.S: New file.
4632
1b2feed2
JM
46332013-06-14 Joseph Myers <joseph@codesourcery.com>
4634
4635 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4636 (test_in_one_mode): Take arguments for whether the rounding mode
4637 is supported for each floating-point type.
4638 (do_test): Pass new arguments to test_in_one_mode using
4639 ROUNDING_TESTS.
4640
a58ad3f8
RM
46412013-06-13 Roland McGrath <roland@hack.frob.com>
4642
4643 * posix/tst-waitid.c (do_test): Distinguish different instances of
4644 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4645 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4646 before entering the kernel for waitpid.
4647
c204ab28
SP
46482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4649
4650 * NEWS: Fix note on clock function precision. Text by Roland
4651 McGrath.
4652
f4a29fba
RM
46532013-06-13 Roland McGrath <roland@hack.frob.com>
4654
4655 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4656 it into place only when and if the sanity check passes.
4657
1f24b9ad
JM
46582013-06-13 Joseph Myers <joseph@codesourcery.com>
4659
4660 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4661 output for whether conversion result is exact. Take argument
4662 indicating whether type is IBM long double.
4663 (round_for_all): Change need_exact field to ibm_ld.
4664 * stdlib/tst-strtod-round.c (struct exactness): New type.
4665 (struct test): Change bool ld_ok field to struct exactness exact.
4666 (TEST): Update all definitions for change to field.
4667 (tests): Regenerate array contents.
4668 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4669 field value. Check for IBM long double here.
4670 (do_test): Update calls to test_in_one_mode.
4671
58206c68
SP
46722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4673
4674 [BZ #12515]
4675 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4676 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4677
2d6f4c5b 46782013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4679
4680 [BZ #15605]
4681 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4682 generated by the compiler on loop optimizations.
4683 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4684 general definitions.
4685
94f2c076
JM
46862013-06-12 Joseph Myers <joseph@codesourcery.com>
4687
4688 * math/bug-nextafter.c: Include <math-tests.h>.
4689 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4690 the relevant type.
4691 * math/bug-nexttoward.c: Include <math-tests.h>.
4692 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4693 the relevant type.
4694 * math/test-misc.c: Include <math-tests.h>.
4695 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4696 the relevant type.
4697
e0e50a0a
AJ
46982013-06-12 Andreas Jaeger <aj@suse.de>
4699
4700 * po/ia.po: Update Interlingua translation from translation
4701 project.
4702
25061094
SP
47032013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4704
4705 * include/fenv.h: Include stdbool.h.
4706 (struct rm_ctx): New structure.
4707 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4708 Define macro.
4709 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4710 (SET_RESTORE_ROUNDF): Likewise.
4711 (SET_RESTORE_ROUNDL): Likewise.
4712 (SET_RESTORE_ROUND_NOEX): Likewise.
4713 (SET_RESTORE_ROUND_NOEXF): Likewise.
4714 (SET_RESTORE_ROUND_NOEXL): Likewise.
4715 (SET_RESTORE_ROUND_53BIT): Likewise.
4716 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4717 (libc_feresetround_noexf_ctx): Likewise.
4718 (libc_feresetround_noexl_ctx): Likewise.
4719 (libc_feholdsetround_53bit_ctx): Likewise.
4720 (libc_feresetround_53bit_ctx): Likewise.
4721 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4722 (libc_feholdexcept_setround_sse_ctx): New function.
4723 (libc_fesetenv_sse_ctx): Likewise.
4724 (libc_feupdateenv_sse_ctx): Likewise.
4725 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4726 (libc_feholdexcept_setround_387_ctx): Likewise.
4727 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4728 (libc_feholdsetround_387_prec_ctx): Likewise.
4729 (libc_feholdsetround_387_ctx): Likewise.
4730 (libc_feholdsetround_387_53bit_ctx): Likewise.
4731 (libc_feholdsetround_sse_ctx): Likewise.
4732 (libc_feresetround_sse_ctx): Likewise.
4733 (libc_feresetround_387_ctx): Likewise.
4734 (libc_feupdateenv_387_ctx): Likewise.
4735 (libc_feholdexcept_setroundf_ctx): Define macro.
4736 (libc_fesetenvf_ctx): Likewise.
4737 (libc_feupdateenvf_ctx): Likewise.
4738 (libc_feholdsetroundf_ctx): Likewise.
4739 (libc_feresetroundf_ctx): Likewise.
4740 (libc_feholdexcept_setround_ctx): Likewise.
4741 (libc_fesetenv_ctx): Likewise.
4742 (libc_feupdateenv_ctx): Likewise.
4743 (libc_feholdsetround_ctx): Likewise.
4744 (libc_feresetround_ctx): Likewise.
4745 (libc_feholdexcept_setroundl_ctx): Likewise.
4746 (libc_feupdateenvl_ctx): Likewise.
4747 (libc_feholdsetroundl_ctx): Likewise.
4748 (libc_feresetroundl_ctx): Likewise.
4749 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4750 (libc_feresetround_53bit_ctx): Likewise.
4751
59b30555
SP
47522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4753
4754 * locale/iso-639.def: Convert to UTF-8.
4755
f1d73d30
JM
47562013-06-11 Joseph Myers <joseph@codesourcery.com>
4757
4758 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4759 (EXCEPTION_TESTS_double): Likewise.
4760 (EXCEPTION_TESTS_long_double): Likewise.
4761 (EXCEPTION_TESTS): Likewise.
4762 * math/libm-test.inc (test_exceptions): Only test exceptions if
4763 EXCEPTION_TESTS (FLOAT).
4764
94aca5e7
SP
47652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4766
4767 * benchtests/Makefile (string-bench): Add strcpy_chk and
4768 stpcpy_chk.
4769 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4770 * benchtests/bench-stpcpy_chk.c: New file.
4771 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4772 * benchtests/bench-strcpy_chk.c: New file.
4773 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4774 code.
4775 (do_test): Likewise.
4776
fac0c5f2
RA
47772013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4778
4779 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4780 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4781 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4782 with tabs where appropriate.
4783 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4784 dl-procinfo.h.
4785 [PPC_PLATFORM_PPC440]: Likewise.
4786 [PPC_PLATFORM_PPC464]: Likewise.
4787 [PPC_PLATFORM_PPC476]: Likewise.
4788 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4789 ppc464, and ppc476 platform strings merging from ports/
4790 dl-procinfo.h.
4791
f22bc486
AS
47922013-06-11 Andreas Schwab <schwab@suse.de>
4793
4794 [BZ #14991]
4795 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4796 (from_ucs4_idx): Regenerate.
4797 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4798 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4799 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4800 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4801 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4802 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4803 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4804 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4805 from FROM_LOOP and TO_LOOP specific macros.
4806 (BODY): Handle combining characters.
4807 * iconvdata/BIG5HKSCS.irreversible: Update.
4808 * iconvdata/BIG5HKSCS.precomposed: New file.
4809 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4810 characters.
4811 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4812
c1f75dc3
SP
48132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4814
4eacded2
SP
4815 * include/sys/time.h: Fix indentation and add copyright header.
4816
fec799f8
SP
4817 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4818 (do_test): Likewise.
4819 * string/test-memchr.c (do_one_test): Likewise.
4820 (do_test): Likewise.
4821 * string/test-memcmp.c (do_one_test): Likewise.
4822 (do_test): Likewise.
4823 * string/test-memcpy.c (do_one_test): Likewise.
4824 (do_test): Likewise.
4825 * string/test-memmem.c (do_one_test): Likewise.
4826 (do_test): Likewise.
4827 (do_random_tests): Likewise.
4828 * string/test-memmove.c (do_one_test): Likewise.
4829 (do_test): Likewise.
4830 * string/test-memset.c (do_one_test): Likewise.
4831 (do_test): Likewise.
4832 * string/test-rawmemchr.c (do_one_test): Likewise.
4833 (do_test): Likewise.
4834 * string/test-strcasecmp.c (do_one_test): Likewise.
4835 (do_test): Likewise.
4836 * string/test-strcasestr.c (do_one_test): Likewise.
4837 (do_test): Likewise.
4838 * string/test-strcat.c (do_one_test): Likewise.
4839 (do_test): Likewise.
4840 * string/test-strchr.c (do_one_test): Likewise.
4841 (do_test): Likewise.
4842 * string/test-strcmp.c (do_one_test): Likewise.
4843 (do_test): Likewise.
4844 * string/test-strcpy.c (do_one_test): Likewise.
4845 (do_test): Likewise.
4846 * string/test-string.h: Likewise.
4847 (test_init): Likewise.
4848 * string/test-strlen.c (do_one_test): Likewise.
4849 (do_test): Likewise.
4850 * string/test-strncasecmp.c (do_one_test): Likewise.
4851 (do_test): Likewise.
4852 * string/test-strncat.c (do_one_test): Likewise.
4853 (do_test): Likewise.
4854 * string/test-strncmp.c (do_one_test): Likewise.
4855 (do_test_limit): Likewise.
4856 (do_test): Likewise.
4857 * string/test-strncpy.c (do_one_test): Likewise.
4858 (do_test): Likewise.
4859 * string/test-strnlen.c (do_one_test): Likewise.
4860 (do_test): Likewise.
4861 * string/test-strpbrk.c (do_one_test): Likewise.
4862 (do_test): Likewise.
4863 * string/test-strrchr.c (do_one_test): Likewise.
4864 (do_test): Likewise.
4865 * string/test-strspn.c (do_one_test): Likewise.
4866 (do_test): Likewise.
4867 * string/test-strstr.c (do_one_test): Likewise.
4868 (do_test): Likewise.
4869
97020474
SP
4870 * benchtests/Makefile (string-bench): Add string benchmarks.
4871 * benchtests/bench-bcopy-ifunc.c: New file.
4872 * benchtests/bench-bcopy.c: New file.
4873 * benchtests/bench-bzero-ifunc.c: New file.
4874 * benchtests/bench-bzero.c: New file.
4875 * benchtests/bench-memccpy-ifunc.c: New file.
4876 * benchtests/bench-memccpy.c: New file.
4877 * benchtests/bench-memchr-ifunc.c: New file.
4878 * benchtests/bench-memchr.c: New file.
4879 * benchtests/bench-memcmp-ifunc.c: New file.
4880 * benchtests/bench-memcmp.c: New file.
4881 * benchtests/bench-memmem-ifunc.c: New file.
4882 * benchtests/bench-memmem.c: New file.
4883 * benchtests/bench-memmove-ifunc.c: New file.
4884 * benchtests/bench-memmove.c: New file.
4885 * benchtests/bench-mempcpy-ifunc.c: New file.
4886 * benchtests/bench-mempcpy.c: New file.
4887 * benchtests/bench-memset-ifunc.c: New file.
4888 * benchtests/bench-memset.c: New file.
4889 * benchtests/bench-rawmemchr-ifunc.c: New file.
4890 * benchtests/bench-rawmemchr.c: New file.
4891 * benchtests/bench-stpcpy-ifunc.c: New file.
4892 * benchtests/bench-stpcpy.c: New file.
4893 * benchtests/bench-stpncpy-ifunc.c: New file.
4894 * benchtests/bench-stpncpy.c: New file.
4895 * benchtests/bench-strcasecmp-ifunc.c: New file.
4896 * benchtests/bench-strcasecmp.c: New file.
4897 * benchtests/bench-strcasestr-ifunc.c: New file.
4898 * benchtests/bench-strcasestr.c: New file.
4899 * benchtests/bench-strcat-ifunc.c: New file.
4900 * benchtests/bench-strcat.c: New file.
4901 * benchtests/bench-strchr-ifunc.c: New file.
4902 * benchtests/bench-strchr.c: New file.
4903 * benchtests/bench-strchrnul-ifunc.c: New file.
4904 * benchtests/bench-strchrnul.c: New file.
4905 * benchtests/bench-strcmp-ifunc.c: New file.
4906 * benchtests/bench-strcmp.c: New file.
4907 * benchtests/bench-strcpy-ifunc.c: New file.
4908 * benchtests/bench-strcpy.c: New file.
4909 * benchtests/bench-strcspn-ifunc.c: New file.
4910 * benchtests/bench-strcspn.c: New file.
4911 * benchtests/bench-strlen-ifunc.c: New file.
4912 * benchtests/bench-strlen.c: New file.
4913 * benchtests/bench-strncasecmp-ifunc.c: New file.
4914 * benchtests/bench-strncasecmp.c: New file.
4915 * benchtests/bench-strncat-ifunc.c: New file.
4916 * benchtests/bench-strncat.c: New file.
4917 * benchtests/bench-strncmp-ifunc.c: New file.
4918 * benchtests/bench-strncmp.c: New file.
4919 * benchtests/bench-strncpy-ifunc.c: New file.
4920 * benchtests/bench-strncpy.c: New file.
4921 * benchtests/bench-strnlen-ifunc.c: New file.
4922 * benchtests/bench-strnlen.c: New file.
4923 * benchtests/bench-strpbrk-ifunc.c: New file.
4924 * benchtests/bench-strpbrk.c: New file.
4925 * benchtests/bench-strrchr-ifunc.c: New file.
4926 * benchtests/bench-strrchr.c: New file.
4927 * benchtests/bench-strspn-ifunc.c: New file.
4928 * benchtests/bench-strspn.c: New file.
4929 * benchtests/bench-strstr-ifunc.c: New file.
4930 * benchtests/bench-strstr.c: New file.
4931
c1f75dc3
SP
4932 * benchtests/Makefile: Disable parallel execution of targets.
4933 (string-bench): Add memcpy.
4934 (benchset): New variable to store a list of benchmark sets.
4935 (bench-func): Renamed from bench.
4936 (bench-set): New target.
4937 (bench): Depend on bench-func and bench-set.
4938 * benchtests/README: Add section on benchmark sets.
4939 * benchtests/bench-memcpy-ifunc.c: New file.
4940 * benchtests/bench-memcpy.c: New file.
4941 * benchtests/bench-string.h: New file.
4942
50fd745b
AS
49432013-06-11 Andreas Schwab <schwab@suse.de>
4944
4945 [BZ #15577]
4946 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4947 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4948 values in the triple.
4949 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4950 terminator in the group key.
4951
3ee7e9fe
AJ
49522013-06-11 Andreas Jaeger <aj@suse.de>
4953
4954 * po/zh_TW.po: Update Chinese (traditional) translation from
4955 translation project.
4956
89fb6835
SP
49572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4958
4959 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4960 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4961 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4962 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4963 (clock_getcpuclockid): Likewise.
4964 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4965 Add weak_alias and libc_hidden_def.
4966 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4967 * rt/clock_gettime.c (clock_gettime): Rename to
4968 __clock_gettime. Add weak_alias and libc_hidden_def.
4969 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4970 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4971 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4972 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4973 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4974 Likewise.
4975 * rt/clock_settime.c (clock_settime): Rename to
4976 __clock_settime. Add weak_alias and libc_hidden_def.
4977 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4978
0efa6f8b
JM
49792013-06-10 Joseph Myers <joseph@codesourcery.com>
4980
b8c61b4b
JM
4981 * mach/err_boot.sub: Remove trailing whitespace.
4982 * mach/err_ipc.sub: Likewise.
4983 * mach/err_mach.sub: Likewise.
4984
0efa6f8b
JM
4985 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4986 (ROUNDING_TESTS_double): Likewise.
4987 (ROUNDING_TESTS_long_double): Likewise.
4988 (ROUNDING_TESTS): Likewise.
4989 * math/libm-test.inc: Include <math-tests.h>.
4990 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4991 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4992 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4993 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4994
50b818bf
SP
49952013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4996
4997 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4998 of assigning.
4999
60d2f8f3
JM
50002013-06-08 Joseph Myers <joseph@codesourcery.com>
5001
4902d2c3
JM
5002 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5003 otherwise empty TRANS lines.
5004 * sysdeps/gnu/errlist.c: Regenerated.
5005
60d2f8f3
JM
5006 * catgets/gencat.c (error_print): Use (void) in function
5007 definition.
5008 * crypt/crypt_util.c (__init_des): Likewise.
5009 * crypt/speeds.c (Stop): Likewise.
5010 (main): Likewise.
5011 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5012 * inet/ruserpass.c (token): Likewise.
5013 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5014 * intl/localealias.c (extend_alias_table): Likewise.
5015 * intl/plural-exp.c (init_germanic_plural): Likewise.
5016 * libio/fcloseall.c (__fcloseall): Likewise.
5017 * libio/genops.c (_IO_flush_all): Likewise.
5018 (_IO_flush_all_linebuffered): Likewise.
5019 (_IO_cleanup): Likewise.
5020 (_IO_iter_begin): Likewise.
5021 (_IO_iter_end): Likewise.
5022 (_IO_list_lock): Likewise.
5023 (_IO_list_unlock): Likewise.
5024 (_IO_list_resetlock): Likewise.
5025 * libio/getchar.c (getchar): Likewise.
5026 * libio/getchar_u.c (getchar_unlocked): Likewise.
5027 * libio/getwchar.c (getwchar): Likewise.
5028 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5029 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5030 * login/getpt.c (__getpt): Likewise.
5031 * login/tst-utmp.c (main): Likewise.
5032 * malloc/hooks.c (__malloc_check_init): Likewise.
5033 * malloc/malloc.c (__malloc_stats): Likewise.
5034 * malloc/mtrace.c (tr_break): Likewise.
5035 (mtrace): Likewise.
5036 (muntrace): Likewise.
5037 * misc/fstab.c (endfsent): Likewise.
5038 * misc/getclktck.c (__getclktck): Likewise.
5039 * misc/getdtsz.c (__getdtablesize): Likewise.
5040 * misc/gethostid.c (gethostid): Likewise.
5041 * misc/getpagesize.c (__getpagesize): Likewise.
5042 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5043 (__get_nprocs): Likewise.
5044 (__get_phys_pages): Likewise.
5045 (__get_avphys_pages): Likewise.
5046 * misc/getttyent.c (getttyent): Likewise.
5047 (setttyent): Likewise.
5048 (endttyent): Likewise.
5049 * misc/getusershell.c (getusershell): Likewise.
5050 (endusershell): Likewise.
5051 (setusershell): Likewise.
5052 (initshells): Likewise.
5053 * misc/hsearch.c (__hdestroy): Likewise.
5054 * misc/sync.c (sync): Likewise.
5055 * misc/syslog.c (closelog_internal): Likewise.
5056 (closelog): Likewise.
5057 * misc/ttyslot.c (ttyslot): Likewise.
5058 * misc/vhangup.c (vhangup): Likewise.
5059 * posix/fork.c (__fork): Likewise.
5060 * posix/getegid.c (__getegid): Likewise.
5061 * posix/geteuid.c (__geteuid): Likewise.
5062 * posix/getgid.c (__getgid): Likewise.
5063 * posix/getpid.c (__getpid): Likewise.
5064 * posix/getppid.c (__getppid): Likewise.
5065 * posix/getuid.c (__getuid): Likewise.
5066 * posix/pause.c (pause): Likewise.
5067 * posix/setpgrp.c (setpgrp): Likewise.
5068 * posix/setsid.c (__setsid): Likewise.
5069 * posix/test-vfork.c (noop): Likewise.
5070 * resolv/gethnamaddr.c (_endhtent): Likewise.
5071 (_gethtent): Likewise.
5072 (ht_endhostent): Likewise.
5073 (gethostent): Likewise.
5074 (dns_service): Likewise.
5075 * stdlib/drand48.c (drand48): Likewise.
5076 * stdlib/lrand48.c (lrand48): Likewise.
5077 * stdlib/mrand48.c (mrand48): Likewise.
5078 * stdlib/rand.c (rand): Likewise.
5079 * stdlib/random.c (__random): Likewise.
5080 * stdlib/setenv.c (clearenv): Likewise.
5081 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5082 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5083 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5084 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5085 (__get_nprocs): Likewise.
5086 (__get_phys_pages): Likewise.
5087 (__get_avphys_pages): Likewise.
5088 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5089 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5090 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5091 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5092 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5093 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5094 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5095 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5096 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5097 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5098 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5099 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5100 * sysdeps/posix/clock.c (clock): Likewise.
5101 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5102 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5103 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5104 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5105 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5106 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5107 (__get_nprocs_conf): Likewise.
5108 (__get_phys_pages): Likewise.
5109 (__get_avphys_pages): Likewise.
5110 * time/clock.c (clock): Likewise.
5111 * time/tzset.c (__tzname_max): Likewise.
5112
2e09a79a
JM
51132013-06-07 Joseph Myers <joseph@codesourcery.com>
5114
5115 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5116 (__bswap_32): Do not use "register".
5117 * crypt/crypt.c (_ufc_doit_r): Likewise.
5118 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5119 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5120 * gmon/gmon.c (__monstartup): Likewise.
5121 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5122 * hurd/hurdmalloc.c (more_memory): Likewise.
5123 (malloc): Likewise.
5124 (free): Likewise.
5125 (realloc): Likewise.
5126 (malloc_fork_prepare): Likewise.
5127 (malloc_fork_parent): Likewise.
5128 (malloc_fork_child): Likewise.
5129 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5130 (_svcauth_des): Likewise.
5131 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5132 * inet/inet_net.c (inet_network): Likewise.
5133 * inet/inet_netof.c (inet_netof): Likewise.
5134 * inet/rcmd.c (__validuser2_sa): Likewise.
5135 * io/fts.c (fts_open): Likewise.
5136 (fts_load): Likewise.
5137 (fts_close): Likewise.
5138 (fts_read): Likewise.
5139 (fts_children): Likewise.
5140 (fts_build): Likewise.
5141 (fts_stat): Likewise.
5142 (fts_sort): Likewise.
5143 (fts_alloc): Likewise.
5144 (fts_lfree): Likewise.
5145 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5146 (_IO_file_xsgetn): Likewise.
5147 (_IO_file_xsgetn_mmap): Likewise.
5148 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5149 (_IO_cookie_write): Likewise.
5150 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5151 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5152 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5153 * malloc/obstack.c (_obstack_begin): Likewise.
5154 (_obstack_begin_1): Likewise.
5155 (_obstack_newchunk): Likewise.
5156 (_obstack_allocated_p): Likewise.
5157 (obstack_free): Likewise.
5158 (_obstack_memory_used): Likewise.
5159 * misc/getttyent.c (getttynam): Likewise.
5160 (getttyent): Likewise.
5161 (skip): Likewise.
5162 (value): Likewise.
5163 * misc/getusershell.c (initshells): Likewise.
5164 * misc/syslog.c (__vsyslog_chk): Likewise.
5165 * misc/ttyslot.c (ttyslot): Likewise.
5166 * nis/nis_hash.c (__nis_hash): Likewise.
5167 * posix/fnmatch_loop.c (FCT): Likewise.
5168 * posix/getconf.c (print_all): Likewise.
5169 (main): Likewise.
5170 * posix/getopt.c (exchange): Likewise.
5171 * posix/glob.c (globfree): Likewise.
5172 (prefix_array): Likewise.
5173 (__glob_pattern_type): Likewise.
5174 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5175 (NS_GET32): Likewise.
5176 (NS_PUT16): Likewise.
5177 (NS_PUT32): Likewise.
5178 * resolv/gethnamaddr.c (getanswer): Likewise.
5179 (gethostbyname2): Likewise.
5180 (gethostbyaddr): Likewise.
5181 (_gethtent): Likewise.
5182 (_gethtbyname2): Likewise.
5183 (_gethtbyaddr): Likewise.
5184 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5185 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5186 * resolv/res_init.c (__res_vinit): Likewise.
5187 (net_mask): Likewise.
5188 * resolv/res_mkquery.c (outchar): Likewise.
5189 (PRINT): Likewise.
5190 * stdio-common/printf_fp.c (outchar): Likewise.
5191 (PRINT): Likewise.
5192 * stdio-common/printf_fphex.c (outchar): Likewise.
5193 (PRINT): Likewise.
5194 * stdio-common/printf_size.c (outchar): Likewise.
5195 (PRINT): Likewise.
5196 * stdio-common/test_rdwr.c (main): Likewise.
5197 * stdio-common/tfformat.c (matches): Likewise.
5198 * stdio-common/vfprintf.c (outchar): Likewise.
5199 (printf_unknown): Likewise.
5200 (buffered_vfprintf): Likewise.
5201 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5202 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5203 (ReadFile): Likewise.
5204 * stdlib/qsort.c (SWAP): Likewise.
5205 (_quicksort): Likewise.
5206 * stdlib/setenv.c (__add_to_environ): Likewise.
5207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5208 * stdlib/strtol_l.c (__strtol_l): Likewise.
5209 * stdlib/tst-strtod.c (main): Likewise.
5210 * stdlib/tst-strtol.c (main): Likewise.
5211 * stdlib/tst-strtoll.c (main): Likewise.
5212 * string/bits/string2.h (__strcmp_cc): Likewise.
5213 (__strcmp_cg): Likewise.
5214 (__strcspn_c1): Likewise.
5215 (__strcspn_c2): Likewise.
5216 (__strcspn_c3): Likewise.
5217 (__strspn_c1): Likewise.
5218 (__strspn_c2): Likewise.
5219 (__strspn_c3): Likewise.
5220 (__strsep_1c): Likewise.
5221 (__strsep_2c): Likewise.
5222 (__strsep_3c): Likewise.
5223 * string/memccpy.c (__memccpy): Likewise.
5224 * string/stpcpy.c (__stpcpy): Likewise.
5225 * string/strcmp.c (strcmp): Likewise.
5226 * string/strrchr.c (strrchr): Likewise.
5227 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5228 Likewise.
5229 * sysdeps/mach/hurd/getcwd.c
5230 (_hurd_canonicalize_directory_name_internal): Likewise.
5231 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5232 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5233 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5234 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5235 Likewise, in both definitions.
5236 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5237 definitions.
5238 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5239 64] (__bswap_64): Likewise.
5240 * time/test_time.c (main): Likewise.
5241 * time/tzfile.c (__tzfile_read): Likewise.
5242 (__tzfile_compute): Likewise.
5243 * time/tzset.c (__tzset_parse_tz): Likewise.
5244 (tzset_internal): Likewise.
5245 (compute_change): Likewise.
5246 * wcsmbs/wcscat.c (__wcscat): Likewise.
5247 * wcsmbs/wcschr.c (wcschr): Likewise.
5248 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5249 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5250 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5251 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5252 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5253 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5254 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5255 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5256 * wcsmbs/wmemset.c (wmemset): Likewise.
5257
9e54314b
JM
52582013-06-06 Joseph Myers <joseph@codesourcery.com>
5259
5260 * scripts/config.guess: Update to version 2013-05-16.
5261 * scripts/config.sub: Update to version 2013-04-24.
5262 * scripts/install-sh: Update to version 2011-11-20.07.
5263 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5264 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5265
350635a5
OB
52662013-06-06 Ondřej Bílka <neleai@seznam.cz>
5267
5268 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5269 * elf/sln.c: Likewise.
5270 * hurd/hurd/ioctl.h: Likewise.
5271 * hurd/hurdmalloc.c: Likewise.
5272 * hurd/xattr.c: Likewise.
5273 * include/shlib-compat.h: Likewise.
5274 * inet/ruserpass.c: Likewise.
5275 * libio/iofgets_u.c: Likewise.
5276 * libio/iofgetws_u.c: Likewise.
5277 * locale/programs/ld-identification.c: Likewise.
5278 * locale/programs/ld-time.c: Likewise.
5279 * mach/msg-destroy.c: Likewise.
5280 * nss/nss_files/files-netgrp.c: Likewise.
5281 * resolv/res_data.c: Likewise.
5282 * soft-fp/op-1.h: Likewise.
5283 * soft-fp/op-2.h: Likewise.
5284 * soft-fp/op-4.h: Likewise.
5285 * soft-fp/op-common.h: Likewise.
5286 * stdio-common/printf_fphex.c: Likewise.
5287 * stdlib/strtod_l.c: Likewise.
5288 * sunrpc/rpc/clnt.h: Likewise.
5289 * sysdeps/generic/framestate.c: Likewise.
5290 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5291 * sysdeps/i386/bsd-setjmp.S: Likewise.
5292 * sysdeps/i386/__longjmp.S: Likewise.
5293 * sysdeps/i386/setjmp.S: Likewise.
5294 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5295 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5297 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5312 * sysdeps/ieee754/support.c: Likewise.
5313 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5314 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5315 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5316 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5317 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5318 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5319 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5320 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5321 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5322 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5323 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5324 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5325 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5326 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5327 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5328 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5329 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5331
44a988af
OB
53322013-06-05 Ondřej Bílka <neleai@seznam.cz>
5333
25506f09 5334 * posix/transbug.c: Remove executable mode.
44a988af 5335
9c84384c
JM
53362013-06-05 Joseph Myers <joseph@codesourcery.com>
5337
5338 * crypt/speeds.c: Remove trailing whitespace.
5339 * dlfcn/default.c: Likewise.
5340 * elf/ifuncdep2.c: Likewise.
5341 * elf/ifuncmain1.c: Likewise.
5342 * elf/ifuncmain1vis.c: Likewise.
5343 * elf/testobj.h: Likewise.
5344 * elf/tst-stackguard1.c: Likewise.
5345 * gmon/sys/gmon.h: Likewise.
5346 * hurd/hurdmsg.c: Likewise.
5347 * hurd/new-fd.c: Likewise.
5348 * hurd/ports-get.c: Likewise.
5349 * iconvdata/ibm1008_420.c: Likewise.
5350 * inet/tst-getni1.c: Likewise.
5351 * inet/tst-getni2.c: Likewise.
5352 * libio/ioungetc.c: Likewise.
5353 * libio/wfiledoalloc.c: Likewise.
5354 * manual/libm-err-tab.pl: Likewise.
5355 * math/w_dremf.c: Likewise.
5356 * misc/ftruncate.c: Likewise.
5357 * posix/bug-glob2.c: Likewise.
5358 * posix/tst-pcre.c: Likewise.
5359 * posix/wait4.c: Likewise.
5360 * resolv/README: Likewise.
5361 * resolv/res_debug.h: Likewise.
5362 * resolv/tst-inet_ntop.c: Likewise.
5363 * setjmp/bug269-setjmp.c: Likewise.
5364 * soft-fp/extended.h: Likewise.
5365 * soft-fp/op-1.h: Likewise.
5366 * soft-fp/op-2.h: Likewise.
5367 * soft-fp/op-4.h: Likewise.
5368 * soft-fp/op-8.h: Likewise.
5369 * soft-fp/testit.c: Likewise.
5370 * stdio-common/bug16.c: Likewise.
5371 * stdlib/random.c: Likewise.
5372 * sunrpc/rpcsvc/rquota.x: Likewise.
5373 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5374 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5375 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5376 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5377 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5378 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5379 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5380 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5381 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5382 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5383 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5389 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5402 * sysdeps/ieee754/s_lib_version.c: Likewise.
5403 * sysdeps/mach/hurd/check_fds.c: Likewise.
5404 * sysdeps/mach/hurd/getsockname.c: Likewise.
5405 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5406 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5407 * sysdeps/powerpc/bits/link.h: Likewise.
5408 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5409 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5410 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5411 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5412 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5413 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5414 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5415 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5416 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5417 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5418 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5419 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5420 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5421 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5422 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5423 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5424 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5427 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5429 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5430 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5431 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5432 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5433 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5435 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5437 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5438 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5439 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5440 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5441 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5442 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5443 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5444 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5445 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5446 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5447 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5448 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5449 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5450 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5451 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5452 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5453 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5454 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5455 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5456 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5457 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5458 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5460 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5461 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5462 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5463 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5464 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5465 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5466 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5467 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5468 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5469 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5470 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5471 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5472 * sysdeps/powerpc/sysdep.h: Likewise.
5473 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5474 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5475 * sysdeps/sh/dl-trampoline.S: Likewise.
5476 * sysdeps/sh/memset.S: Likewise.
5477 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5478 * sysdeps/sh/strlen.S: Likewise.
5479 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5480 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5481 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5482 * sysdeps/sparc/sparc32/rem.S: Likewise.
5483 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5484 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5485 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5486 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5487 * sysdeps/sparc/sparc32/urem.S: Likewise.
5488 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5489 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5490 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5491 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5493 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5494 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5495 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5496 * sysdeps/unix/bsd/times.c: Likewise.
5497 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5498 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5502 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5503 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5504 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5505 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5506 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5507 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5508 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5509 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5510 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5511 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5512 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5513 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5514 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5515 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5516 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5517 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5518 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5519 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5520 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5521 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5522 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5523 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5524 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5525 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5526 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5527 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5528 * sysdeps/x86_64/strcspn.S: Likewise.
5529
869378a5
RA
55302013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5531
5532 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5533 generated file. Regenerate properly from gen-translit.pl.
5534 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5535 locale/C-translit.h.
5536
840e2943
AS
55372013-06-05 Andreas Schwab <schwab@suse.de>
5538
5539 [BZ #15100]
5540 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5541 week as 6 instead of -1.
5542 * time/tst-strptime.c (day_tests): Add test case.
5543
4c60cb0c
SP
55442013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5545
5546 * sysdeps/generic/math_private.h
5547 (libc_feholdexcept_setround_53bit): Replace with
5548 libc_feholdsetround_53bit.
5549 (libc_feupdateenv_53bit): Replace with
5550 libc_feresetround_53bit.
5551 (SET_RESTORE_ROUND_53BIT): Adjust.
5552
d180203e
SP
55532013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5554
96df079a
SP
5555 * string/test-strchrnul.c: Add copyright header.
5556
d180203e
SP
5557 * posix/tst-getaddrinfo4.c: Increase test timeout.
5558
8b0ccb2d
CD
55592013-06-03 Carlos O'Donell <carlos@redhat.com>
5560
5561 [BZ #15536]
5562 * math/libm-test.inc (MAX_EXP): Remove
5563 (MIN_EXP): Define.
5564 (ulp): Use MIN_EXP - MANT_DIG.
5565 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5566
3b3c4d40
CD
55672013-05-31 Carlos O'Donell <carlos@redhat.com>
5568
5569 * po/be.po: Revert last change.
5570 * po/zh_CN.po: Likewise.
5571 * po/header.pot: Likewise.
5572
fab7ce3f
JM
55732013-05-31 Joseph Myers <joseph@codesourcery.com>
5574
5575 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5576 link-libc-deps to empty as target-specific variable.
5577 * Makerules (link-libc-args): New variable.
5578 (libc-for-link): Likewise.
5579 (link-libc-deps): Likewise.
5580 (lib%.so): Depend on $(link-libc-deps). Link with
5581 $(link-libc-args).
5582 (build-module): Link with $(link-libc-args).
5583 (build-module-asneeded): Likewise.
5584 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5585 list of objects.
5586 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5587 target-specific variable.
5588 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5589 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5590 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5591 libc.
5592 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5593 libc and ld.so.
5594 ($(objpfx)libpcprofile.so): Likewise.
5595 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5596 libc_nonshared.a.
5597 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5598 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5599 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5600 $(link-libc-deps).
5601 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5602 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5603 * login/Makefile ($(objpfx)libutil.so): Likewise.
5604 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5605 * math/Makefile ($(objpfx)libm.so): Likewise.
5606 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5607 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5608 variable instead of depending directly on libc.
5609 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5610 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5611 $(link-libc-deps).
5612 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5613 libc.
5614 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5615 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5616 ($(objpfx)libanl.so): Likewise.
5617 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5618 ld.so.
5619 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5620 $(link-libc-deps).
5621 * sysdeps/i386/fpu/Makefile: Remove file.
5622 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5623 ($(objpfx)libm.so): Remove dependency on ld.so.
5624
eca5920c
PF
56252013-05-30 Patsy Franklin <pfrankli@redhat.com>
5626
5627 [BZ # 15553]
5628 * nis/yp_xdr.c (XDRMAXNAME): Define.
5629 (XDRMAXRECORD): Define.
5630 (xdr_domainname): Use XDRMAXNAME.
5631 (xdr_mapname): Likewise.
5632 (xdr_peername): Likewise.
5633 (xdr_keydat): Use XDRMAXRECORD.
5634 (xdr_valdat): Likewise.
5635
56362013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5637
5638 [BZ #14256]
5639 * manual/errno.texi (ESTALE): Update to account for more than
5640 just NFS file systems.
5641 * sysdeps/gnu/errlist.c: Regenerated.
5642
b9375348
SP
56432013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5644
5645 [BZ #15465]
5646 * elf/Makefile (tests): Add tst-null-argv.
5647 (modules-names): Add tst-null-argv-lib.
5648 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5649 (tst-null-argv-ENV): Set environment for tst-null-argv.
5650 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5651 (RTLD_PROGNAME): New macro.
5652 * elf/tst-null-argv.c: New test case.
5653 * elf/tst-null-argv-lib.c: Library for test case.
5654 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5655 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5656 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5657 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5658 * elf/dl-init.c (call_init): Likewise.
5659 (_dl_init): Likewise.
5660 * elf/dl-load.c (print_search_path): Likewise.
5661 (_dl_map_object): Likewise.
5662 * elf/dl-lookup.c (do_lookup_x): Likewise.
5663 (add_dependency): Likewise.
5664 (_dl_lookup_symbol_x): Likewise.
5665 (_dl_debug_bindings): Likewise.
5666 * elf/dl-open.c (_dl_show_scope): Likewise.
5667 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5668 * elf/dl-version.c (match_symbol): Likewise.
5669 (_dl_check_map_versions): Likewise.
5670 * elf/rtld.c (dl_main): Likewise.
5671 (print_unresolved): Use RTLD_PROGNAME.
5672 (print_missing_version): Likewise.
5673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5674 (elf_machine_rela): Likewise.
5675 * sysdeps/powerpc/powerpc32/dl-machine.c
5676 (__process_machine_rela): Likewise.
5677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5678 Likewise.
5679 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5680 Likewise.
5681 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5682 Likewise.
5683 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5685 Likewise.
5686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5687 Likewise.
5688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5689
8a9f20c8
CD
56902013-05-28 Carlos O'Donell <carlos@redhat.com>
5691
5692 * po/be.po: Add descriptive title.
5693 * po/zh_CN.po: Likewise.
5694 * po/header.pot: Likewise.
5695
0e60d68e
MF
56962013-05-28 Mike Frysinger <vapier@gentoo.org>
5697
5698 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5699 error message.
5700 (enlarge_archive): Likewise.
5701
56b672e9
BN
57022013-05-28 Ben North <ben@redfrontdoor.org>
5703
5704 * manual/arith.texi (frexp): It is the magnitude of the return
5705 value which lies in [0.5, 1), not the return value itself.
5706
5e056687
AZ
57072013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5708
5709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5710
2b66ef5d
TS
57112013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5712
528c2405
TS
5713 * stdio-common/bug26.c (main): Correct fscanf template.
5714
07b4c13d
TS
5715 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5716 declare _dl_skip_args.
5717
ec9dd97c
TS
5718 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5719 Don't declare.
5720
2b66ef5d
TS
5721 * manual/platform.texi: Add missing @end deftypefun.
5722
4f8dfe27
JM
57232013-05-24 Joseph Myers <joseph@codesourcery.com>
5724
0323d086
JM
5725 [BZ #15529]
5726 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5727 bit of mantissa of 2^16382.
5728 * math/libm-test.inc (hypot_test_data): Add more tests.
5729
dd4259b9
JM
5730 * math/libm-test.inc: Add drem and pow10 to list of tested
5731 functions.
5732 (pow10_test): New function.
5733 (drem_test): Likewise.
5734 (drem_test_tonearest): Likewise.
5735 (drem_test_towardzero): Likewise.
5736 (drem_test_downward): Likewise.
5737 (drem_test_upward): Likewise.
5738 (main): Call the new functions.
5739
4f8dfe27
JM
5740 * math/libm-test.inc (finite_test_data): Remove.
5741 (finite_test): Run tests from isfinite_test_data.
5742 (gamma_test_data): Remove.
5743 (gamma_test): Run tests from lgamma_test_data.
5744 * sysdeps/i386/fpu/libm-test-ulps: Update.
5745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5746
d116b7c4
AZ
57472013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5748
5749 * manual/platform.texi: Add PowerPC PPR function set documentation.
5750 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5751 implementation.
5752
e96e3767
CD
57532013-05-24 Carlos O'Donell <carlos@redhat.com>
5754
5755 * math/libm-test.inc (MAX_EXP): Define.
5756 (ULPDIFF): Define.
5757 (ulp): New function.
5758 (check_float_internal): Use ULPDIFF.
5759 (cpow_test): Disable failing test.
5760 (check_ulp): Test ulp() implemetnation.
5761 (main): Call check_ulp before starting tests.
5762
b679a606
JM
57632013-05-24 Joseph Myers <joseph@codesourcery.com>
5764
e8bdba36
JM
5765 * math/gen-libm-test.pl (generate_testfile): Do not handle
5766 START_DATA and END_DATA.
5767 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5768 END_DATA.
5769 (acos_tonearest_test_data): Likewise.
5770 (acos_towardzero_test_data): Likewise.
5771 (acos_downward_test_data): Likewise.
5772 (acos_upward_test_data): Likewise.
5773 (acosh_test_data): Likewise.
5774 (asin_test_data): Likewise.
5775 (asin_tonearest_test_data): Likewise.
5776 (asin_towardzero_test_data): Likewise.
5777 (asin_downward_test_data): Likewise.
5778 (asin_upward_test_data): Likewise.
5779 (asinh_test_data): Likewise.
5780 (atan_test_data): Likewise.
5781 (atanh_test_data): Likewise.
5782 (atan2_test_data): Likewise.
5783 (cabs_test_data): Likewise.
5784 (cacos_test_data): Likewise.
5785 (cacosh_test_data): Likewise.
5786 (carg_test_data): Likewise.
5787 (casin_test_data): Likewise.
5788 (casinh_test_data): Likewise.
5789 (catan_test_data): Likewise.
5790 (catanh_test_data): Likewise.
5791 (cbrt_test_data): Likewise.
5792 (ccos_test_data): Likewise.
5793 (ccosh_test_data): Likewise.
5794 (ceil_test_data): Likewise.
5795 (cexp_test_data): Likewise.
5796 (cimag_test_data): Likewise.
5797 (clog_test_data): Likewise.
5798 (clog10_test_data): Likewise.
5799 (conj_test_data): Likewise.
5800 (copysign_test_data): Likewise.
5801 (cos_test_data): Likewise.
5802 (cos_tonearest_test_data): Likewise.
5803 (cos_towardzero_test_data): Likewise.
5804 (cos_downward_test_data): Likewise.
5805 (cos_upward_test_data): Likewise.
5806 (cosh_test_data): Likewise.
5807 (cosh_tonearest_test_data): Likewise.
5808 (cosh_towardzero_test_data): Likewise.
5809 (cosh_downward_test_data): Likewise.
5810 (cosh_upward_test_data): Likewise.
5811 (cpow_test_data): Likewise.
5812 (cproj_test_data): Likewise.
5813 (creal_test_data): Likewise.
5814 (csin_test_data): Likewise.
5815 (csinh_test_data): Likewise.
5816 (csqrt_test_data): Likewise.
5817 (ctan_test_data): Likewise.
5818 (ctan_tonearest_test_data): Likewise.
5819 (ctan_towardzero_test_data): Likewise.
5820 (ctan_downward_test_data): Likewise.
5821 (ctan_upward_test_data): Likewise.
5822 (ctanh_test_data): Likewise.
5823 (ctanh_tonearest_test_data): Likewise.
5824 (ctanh_towardzero_test_data): Likewise.
5825 (ctanh_downward_test_data): Likewise.
5826 (ctanh_upward_test_data): Likewise.
5827 (erf_test_data): Likewise.
5828 (erfc_test_data): Likewise.
5829 (exp_test_data): Likewise.
5830 (exp_tonearest_test_data): Likewise.
5831 (exp_towardzero_test_data): Likewise.
5832 (exp_downward_test_data): Likewise.
5833 (exp_upward_test_data): Likewise.
5834 (exp10_test_data): Likewise.
5835 (exp2_test_data): Likewise.
5836 (expm1_test_data): Likewise.
5837 (fabs_test_data): Likewise.
5838 (fdim_test_data): Likewise.
5839 (finite_test_data): Likewise.
5840 (floor_test_data): Likewise.
5841 (fma_test_data): Likewise.
5842 (fma_towardzero_test_data): Likewise.
5843 (fma_downward_test_data): Likewise.
5844 (fma_upward_test_data): Likewise.
5845 (fmax_test_data): Likewise.
5846 (fmin_test_data): Likewise.
5847 (fmod_test_data): Likewise.
5848 (fpclassify_test_data): Likewise.
5849 (frexp_test_data): Likewise.
5850 (gamma_test_data): Likewise.
5851 (hypot_test_data): Likewise.
5852 (ilogb_test_data): Likewise.
5853 (isfinite_test_data): Likewise.
5854 (isgreater_test_data): Likewise.
5855 (isgreaterequal_test_data): Likewise.
5856 (isinf_test_data): Likewise.
5857 (isless_test_data): Likewise.
5858 (islessequal_test_data): Likewise.
5859 (islessgreater_test_data): Likewise.
5860 (isnan_test_data): Likewise.
5861 (isnormal_test_data): Likewise.
5862 (issignaling_test_data): Likewise.
5863 (isunordered_test_data): Likewise.
5864 (j0_test_data): Likewise.
5865 (j1_test_data): Likewise.
5866 (jn_test_data): Likewise.
5867 (ldexp_test_data): Likewise.
5868 (lgamma_test_data): Likewise.
5869 (lrint_test_data): Likewise.
5870 (lrint_tonearest_test_data): Likewise.
5871 (lrint_towardzero_test_data): Likewise.
5872 (lrint_downward_test_data): Likewise.
5873 (lrint_upward_test_data): Likewise.
5874 (llrint_test_data): Likewise.
5875 (llrint_tonearest_test_data): Likewise.
5876 (llrint_towardzero_test_data): Likewise.
5877 (llrint_downward_test_data): Likewise.
5878 (llrint_upward_test_data): Likewise.
5879 (log_test_data): Likewise.
5880 (log10_test_data): Likewise.
5881 (log1p_test_data): Likewise.
5882 (log2_test_data): Likewise.
5883 (logb_test_data): Likewise.
5884 (logb_downward_test_data): Likewise.
5885 (lround_test_data): Likewise.
5886 (llround_test_data): Likewise.
5887 (modf_test_data): Likewise.
5888 (nearbyint_test_data): Likewise.
5889 (nextafter_test_data): Likewise.
5890 (nexttoward_test_data): Likewise.
5891 (pow_test_data): Likewise.
5892 (pow_tonearest_test_data): Likewise.
5893 (pow_towardzero_test_data): Likewise.
5894 (pow_downward_test_data): Likewise.
5895 (pow_upward_test_data): Likewise.
5896 (remainder_test_data): Likewise.
5897 (remainder_tonearest_test_data): Likewise.
5898 (remainder_towardzero_test_data): Likewise.
5899 (remainder_downward_test_data): Likewise.
5900 (remainder_upward_test_data): Likewise.
5901 (remquo_test_data): Likewise.
5902 (rint_test_data): Likewise.
5903 (rint_tonearest_test_data): Likewise.
5904 (rint_towardzero_test_data): Likewise.
5905 (rint_downward_test_data): Likewise.
5906 (rint_upward_test_data): Likewise.
5907 (round_test_data): Likewise.
5908 (scalb_test_data): Likewise.
5909 (scalbn_test_data): Likewise.
5910 (scalbln_test_data): Likewise.
5911 (signbit_test_data): Likewise.
5912 (sin_test_data): Likewise.
5913 (sin_tonearest_test_data): Likewise.
5914 (sin_towardzero_test_data): Likewise.
5915 (sin_downward_test_data): Likewise.
5916 (sin_upward_test_data): Likewise.
5917 (sincos_test_data): Likewise.
5918 (sinh_test_data): Likewise.
5919 (sinh_tonearest_test_data): Likewise.
5920 (sinh_towardzero_test_data): Likewise.
5921 (sinh_downward_test_data): Likewise.
5922 (sinh_upward_test_data): Likewise.
5923 (sqrt_test_data): Likewise.
5924 (tan_test_data): Likewise.
5925 (tan_tonearest_test_data): Likewise.
5926 (tan_towardzero_test_data): Likewise.
5927 (tan_downward_test_data): Likewise.
5928 (tan_upward_test_data): Likewise.
5929 (tanh_test_data): Likewise.
5930 (tgamma_test_data): Likewise.
5931 (trunc_test_data): Likewise.
5932 (y0_test_data): Likewise.
5933 (y1_test_data): Likewise.
5934 (yn_test_data): Likewise.
5935 (significand_test_data): Likewise.
5936
b679a606
JM
5937 * math/gen-libm-test.pl (@functions): Remove variable.
5938 (generate_testfile): Don't handle START and END lines.
5939 * math/libm-test.inc (START): New macro.
5940 (END): Likewise.
5941 (END_COMPLEX): Likewise.
5942 (acos_test): Use END macro without arguments.
5943 (acos_test_tonearest): Likewise.
5944 (acos_test_towardzero): Likewise.
5945 (acos_test_downward): Likewise.
5946 (acos_test_upward): Likewise.
5947 (acosh_test): Likewise.
5948 (asin_test): Likewise.
5949 (asin_test_tonearest): Likewise.
5950 (asin_test_towardzero): Likewise.
5951 (asin_test_downward): Likewise.
5952 (asin_test_upward): Likewise.
5953 (asinh_test): Likewise.
5954 (atan_test): Likewise.
5955 (atanh_test): Likewise.
5956 (atan2_test): Likewise.
5957 (cabs_test): Likewise.
5958 (cacos_test): Use END_COMPLEX macro without arguments.
5959 (cacosh_test): Likewise.
5960 (carg_test): Use END macro without arguments.
5961 (casin_test): Use END_COMPLEX macro without arguments.
5962 (casinh_test): Likewise.
5963 (catan_test): Likewise.
5964 (catanh_test): Likewise.
5965 (cbrt_test): Use END macro without arguments.
5966 (ccos_test): Use END_COMPLEX macro without arguments.
5967 (ccosh_test): Likewise.
5968 (ceil_test): Use END macro without arguments.
5969 (cexp_test): Use END_COMPLEX macro without arguments.
5970 (cimag_test): Use END macro without arguments.
5971 (clog_test): Use END_COMPLEX macro without arguments.
5972 (clog10_test): Likewise.
5973 (conj_test): Likewise.
5974 (copysign_test): Use END macro without arguments.
5975 (cos_test): Likewise.
5976 (cos_test_tonearest): Likewise.
5977 (cos_test_towardzero): Likewise.
5978 (cos_test_downward): Likewise.
5979 (cos_test_upward): Likewise.
5980 (cosh_test): Likewise.
5981 (cosh_test_tonearest): Likewise.
5982 (cosh_test_towardzero): Likewise.
5983 (cosh_test_downward): Likewise.
5984 (cosh_test_upward): Likewise.
5985 (cpow_test): Use END_COMPLEX macro without arguments.
5986 (cproj_test): Likewise.
5987 (creal_test): Use END macro without arguments.
5988 (csin_test): Use END_COMPLEX macro without arguments.
5989 (csinh_test): Likewise.
5990 (csqrt_test): Likewise.
5991 (ctan_test): Likewise.
5992 (ctan_test_tonearest): Likewise.
5993 (ctan_test_towardzero): Likewise.
5994 (ctan_test_downward): Likewise.
5995 (ctan_test_upward): Likewise.
5996 (ctanh_test): Likewise.
5997 (ctanh_test_tonearest): Likewise.
5998 (ctanh_test_towardzero): Likewise.
5999 (ctanh_test_downward): Likewise.
6000 (ctanh_test_upward): Likewise.
6001 (erf_test): Use END macro without arguments.
6002 (erfc_test): Likewise.
6003 (exp_test): Likewise.
6004 (exp_test_tonearest): Likewise.
6005 (exp_test_towardzero): Likewise.
6006 (exp_test_downward): Likewise.
6007 (exp_test_upward): Likewise.
6008 (exp10_test): Likewise.
6009 (exp2_test): Likewise.
6010 (expm1_test): Likewise.
6011 (fabs_test): Likewise.
6012 (fdim_test): Likewise.
6013 (finite_test): Likewise.
6014 (floor_test): Likewise.
6015 (fma_test): Likewise.
6016 (fma_test_towardzero): Likewise.
6017 (fma_test_downward): Likewise.
6018 (fma_test_upward): Likewise.
6019 (fmax_test): Likewise.
6020 (fmin_test): Likewise.
6021 (fmod_test): Likewise.
6022 (fpclassify_test): Likewise.
6023 (frexp_test): Likewise.
6024 (gamma_test): Likewise.
6025 (hypot_test): Likewise.
6026 (ilogb_test): Likewise.
6027 (isfinite_test): Likewise.
6028 (isgreater_test): Likewise.
6029 (isgreaterequal_test): Likewise.
6030 (isinf_test): Likewise.
6031 (isless_test): Likewise.
6032 (islessequal_test): Likewise.
6033 (islessgreater_test): Likewise.
6034 (isnan_test): Likewise.
6035 (isnormal_test): Likewise.
6036 (issignaling_test): Likewise.
6037 (isunordered_test): Likewise.
6038 (j0_test): Likewise.
6039 (j1_test): Likewise.
6040 (jn_test): Likewise.
6041 (ldexp_test): Likewise.
6042 (lgamma_test): Likewise.
6043 (lrint_test): Likewise.
6044 (lrint_test_tonearest): Likewise.
6045 (lrint_test_towardzero): Likewise.
6046 (lrint_test_downward): Likewise.
6047 (lrint_test_upward): Likewise.
6048 (llrint_test): Likewise.
6049 (llrint_test_tonearest): Likewise.
6050 (llrint_test_towardzero): Likewise.
6051 (llrint_test_downward): Likewise.
6052 (llrint_test_upward): Likewise.
6053 (log_test): Likewise.
6054 (log10_test): Likewise.
6055 (log1p_test): Likewise.
6056 (log2_test): Likewise.
6057 (logb_test): Likewise.
6058 (logb_test_downward): Likewise.
6059 (lround_test): Likewise.
6060 (llround_test): Likewise.
6061 (modf_test): Likewise.
6062 (nearbyint_test): Likewise.
6063 (nextafter_test): Likewise.
6064 (nexttoward_test): Likewise.
6065 (pow_test): Likewise.
6066 (pow_test_tonearest): Likewise.
6067 (pow_test_towardzero): Likewise.
6068 (pow_test_downward): Likewise.
6069 (pow_test_upward): Likewise.
6070 (remainder_test): Likewise.
6071 (remainder_test_tonearest): Likewise.
6072 (remainder_test_towardzero): Likewise.
6073 (remainder_test_downward): Likewise.
6074 (remainder_test_upward): Likewise.
6075 (remquo_test): Likewise.
6076 (rint_test): Likewise.
6077 (rint_test_tonearest): Likewise.
6078 (rint_test_towardzero): Likewise.
6079 (rint_test_downward): Likewise.
6080 (rint_test_upward): Likewise.
6081 (round_test): Likewise.
6082 (scalb_test): Likewise.
6083 (scalbn_test): Likewise.
6084 (scalbln_test): Likewise.
6085 (signbit_test): Likewise.
6086 (sin_test): Likewise.
6087 (sin_test_tonearest): Likewise.
6088 (sin_test_towardzero): Likewise.
6089 (sin_test_downward): Likewise.
6090 (sin_test_upward): Likewise.
6091 (sincos_test): Likewise.
6092 (sinh_test): Likewise.
6093 (sinh_test_tonearest): Likewise.
6094 (sinh_test_towardzero): Likewise.
6095 (sinh_test_downward): Likewise.
6096 (sinh_test_upward): Likewise.
6097 (sqrt_test): Likewise.
6098 (tan_test): Likewise.
6099 (tan_test_tonearest): Likewise.
6100 (tan_test_towardzero): Likewise.
6101 (tan_test_downward): Likewise.
6102 (tan_test_upward): Likewise.
6103 (tanh_test): Likewise.
6104 (tgamma_test): Likewise.
6105 (trunc_test): Likewise.
6106 (y0_test): Likewise.
6107 (y1_test): Likewise.
6108 (yn_test): Likewise.
6109 (significand_test): Likewise.
6110
bae143d2
OB
61112013-05-24 Ondřej Bílka <neleai@seznam.cz>
6112
6113 [BZ #15381]
6114 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6115
9323d39b
EM
61162013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6117
d4ea44a0 6118 [BZ #14894]
9323d39b
EM
6119 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6120 __ppc_mdoio and __ppc_mdoom.
6121 * manual/platform.texi: Document new functions __ppc_yield,
6122 __ppc_mdoio and __ppc_mdoom.
6123
13e23af7
CD
61242013-05-22 Carlos O'Donell <carlos@redhat.com>
6125
6126 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6127 (main): Mention "tls" pseudo-hwcap is legacy.
6128 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6129
351fe550
JM
61302013-05-22 Joseph Myers <joseph@codesourcery.com>
6131
6132 * math/gen-libm-test.pl (parse_args): Output only string of
6133 arguments as text for test name, not full call or descriptions of
6134 tests for extra outputs.
6135 (generate_testfile): Do not pass function name to parse_args.
6136 Generate this_func variable from START.
6137 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6138 field to arg_str.
6139 (struct test_ff_f_data): Likewise.
6140 (test_ff_f_data_nexttoward): Likewise.
6141 (struct test_fi_f_data): Likewise.
6142 (struct test_fl_f_data): Likewise.
6143 (struct test_if_f_data): Likewise.
6144 (struct test_fff_f_data): Likewise.
6145 (struct test_c_f_data): Likewise.
6146 (struct test_f_f1_data): Likewise. Remove field extra_name.
6147 (struct test_fF_f1_data): Likewise.
6148 (struct test_ffI_f1_data): Likewise.
6149 (struct test_c_c_data): Rename test_name field to arg_str.
6150 (struct test_cc_c_data): Likewise.
6151 (struct test_f_i_data): Likewise.
6152 (struct test_ff_i_data): Likewise.
6153 (struct test_f_l_data): Likewise.
6154 (struct test_f_L_data): Likewise.
6155 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6156 and extra2_name.
6157 (COMMON_TEST_SETUP): New macro.
6158 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6159 (COMMON_TEST_CLEANUP): Likewise.
6160 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6161 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6162 macros.
6163 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6164 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6165 macros.
6166 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6167 (RUN_TEST_fff_f): Take argument string. Call new setup and
6168 cleanup macros.
6169 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6170 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6171 macros.
6172 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6173 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6174 macros.
6175 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6176 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6177 cleanup macros.
6178 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6179 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6180 cleanup macros.
6181 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6182 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6183 cleanup macros.
6184 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6185 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6186 macros.
6187 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6188 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6189 macros.
6190 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6191 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6192 macros.
6193 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6194 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6195 cleanup macros.
6196 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6197 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6198 cleanup macros.
6199 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6200 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6201 macros.
6202 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6203 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6204 cleanup macros.
6205 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6206 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6207 macros.
6208 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6209 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6210 macros.
6211 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6212 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6213 cleanup macros.
6214 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6215
85118d4d
EBM
62162013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6217
6218 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6219 to _sifields.sigfault.
6220 (si_addr_lsb): Define new macro.
6221 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6222 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6223 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6224
7a44c18f
CD
62252013-05-03 Carlos O'Donell <carlos at redhat.com>
6226
6227 [BZ #15441]
6228 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6229 returns -1.
6230 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6231 null return -1.
6232 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6233 loading the domain.
6234
b50a7181
JM
62352013-05-22 Joseph Myers <joseph@codesourcery.com>
6236
6237 * math/gen-libm-test.pl (parse_args): Do not include expected
6238 result in test name.
6239 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6240 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6241 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6242 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6243 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6245
051063c8
SP
62462013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6247
3ce9e010
SP
6248 * benchtests/Makefile: Sort function entries.
6249
051063c8
SP
6250 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6251 tanh, asinh, acosh, atanh.
6252 * benchtests/acos-inputs: New file.
6253 * benchtests/acosh-inputs: New file.
6254 * benchtests/asin-inputs: New file.
6255 * benchtests/asinh-inputs: New file.
6256 * benchtests/atanh-inputs: New file.
6257 * benchtests/cosh-inputs: New file.
6258 * benchtests/log-inputs: New file.
6259 * benchtests/sinh-inputs: New file.
6260 * benchtests/tanh-inputs: New file.
6261
47c22455
DL
62622013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6263
6264 [BZ #15339]
6265 * posix/tst-getaddrinfo4.c: New test.
6266 * posix/Makefile (tests): Add it.
6267
3d04f5db
SP
62682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6269
6270 [BZ #15339]
6271 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6272 when no services were used.
6273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6274 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6275
d5dd6189
AS
62762013-05-21 Andreas Schwab <schwab@suse.de>
6277
6278 [BZ #15014]
6279 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6280 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6281 successful.
6282 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6283 redundant variable declarations and reallocation of buffer when
6284 parsing as IPv6 address. Always set NSS status when called from
6285 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6286 buffer too small. Correct computation of needed size.
6287 * nss/Makefile (tests): Add test-digits-dots.
6288 * nss/test-digits-dots.c: New test.
6289
fef94eab
SP
62902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6291
6292 * benchtests/Makefile: Remove instructions for adding
6293 benchmark tests.
6294 * benchtests/README: New file to explain how to execute and
6295 enhance the benchmark tests.
6296
e39adf43
AS
62972013-05-21 Andreas Schwab <schwab@suse.de>
6298
6299 [BZ #15493]
6300 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6301 * setjmp/tst-sigsetjmp.c: New test.
6302
b2b671b6
OB
63032013-05-20 Ondřej Bílka <neleai@seznam.cz>
6304
6305 * sysdeps/x86_64/memset.S (memset): New implementation.
6306 (__bzero): Likewise.
6307 (__memset_tail): New function.
6308
2d48b41c
OB
63092013-05-20 Ondřej Bílka <neleai@seznam.cz>
6310
6311 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6312 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6313 __memcpy_sse2_unaligned ifunc selection.
6314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6315 Add memcpy-sse2-unaligned.S.
6316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6317 Add: __memcpy_sse2_unaligned.
6318
f16cc3eb
JM
63192013-05-19 Joseph Myers <joseph@codesourcery.com>
6320
3e694268
JM
6321 [BZ #15490]
6322 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6323 math_force_eval before restoring floating-point envrionment.
6324 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6326 Likewise.
6327 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6328 <math_private.h>.
6329 (__nearbyintl): Use math_force_eval before restoring
6330 floating-point environment.
6331 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6332
db62a907
JM
6333 * math/gen-libm-test.pl (special_functions): Remove.
6334 (parse_args): Don't handle TEST_extra. Handle functions with no
6335 return value.
6336 * math/libm-test.inc (struct test_sincos_data): Replace with
6337 struct test_fFF_11_data.
6338 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6339 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6340 (sincos_test_data): Change element type to struct
6341 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6342 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6343 RUN_TEST_LOOP_sincos.
6344 * math/README.libm-test: Don't mention special handling of
6345 individual functions.
6346 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6348 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6349 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6350 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6352
f16cc3eb
JM
6353 * math/gen-libm-test.pl (get_variable): Remove function.
6354 (parse_args): Don't show pointer parameters to call in test
6355 names. Use "extra output N" in test names for extra outputs
6356 rather than naming variables.
6357
3779b5b6
JM
63582013-05-18 Joseph Myers <joseph@codesourcery.com>
6359
2ee094ff
JM
6360 [BZ #15488]
6361 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6362 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6363 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6364 double tests.
6365 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6366 disable.
6367 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6368 check_long_double.
6369
3779b5b6
JM
6370 * math/gen-libm-test.pl (@tests): Remove variable.
6371 ($count): Likewise.
6372 (new_test): Remove function.
6373 (show_exceptions): New function.
6374 (special_functions): Use show_exceptions instead of new_test.
6375 (parse_args): Likewise.
6376 (generate_testfile): Pass only function name in generated call to
6377 print_max_error or print_complex_max_error.
6378 (get_ulps): Do not handle complex tests specially.
6379 (output_test): Rename to ...
6380 (get_all_ulps_for_test): ... this. Return a string rather than
6381 printing to a file. Require ulps to be present.
6382 (output_ulps): Generate arrays rather than #defines.
6383 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6384 (struct ulp_data): New type.
6385 (BUILD_COMPLEX_ULP): Remove macro.
6386 (compare_ulp_data): New function.
6387 (find_ulps): Likewise.
6388 (find_test_ulps): Likewise.
6389 (find_function_ulps): Likewise.
6390 (find_complex_function_ulps): Likewise.
6391 (print_max_error): Determine allowed ulps using
6392 find_function_ulps.
6393 (print_complex_max_error): Determine allowed ulps using
6394 find_complex_function_ulps.
6395 (check_float_internal): Determine max ulps using find_test_ulps.
6396 (check_float): Do not take max_ulp parameter. Update call to
6397 check_float_internal.
6398 (check_complex): Likewise.
6399 (check_int): Do not take max_ulp parameter.
6400 (check_long): Likewise.
6401 (check_bool): Likewise.
6402 (check_longlong): Likewise.
6403 (struct test_f_f_data): Remove max_ulp field.
6404 (struct test_ff_f_data): Likewise.
6405 (struct test_ff_f_data_nexttoward): Likewise.
6406 (struct test_fi_f_data): Likewise.
6407 (struct test_fl_f_data): Likewise.
6408 (struct test_if_f_data): Likewise.
6409 (struct test_fff_f_data): Likewise.
6410 (struct test_c_f_data): Likewise.
6411 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6412 (struct test_fF_f1_data): Likewise.
6413 (struct test_ffI_f1_data): Likewise.
6414 (struct test_c_c_data): Remove max_ulp field.
6415 (struct test_cc_c_data): Likewise.
6416 (struct test_f_i_data): Likewise.
6417 (struct test_ff_i_data): Likewise.
6418 (struct test_f_l_data): Likewise.
6419 (struct test_f_L_data): Likewise.
6420 (struct test_sincos_data): Likewise.
6421 (RUN_TEST_f_f): Do not handle ulps.
6422 (RUN_TEST_LOOP_f_f): Likewise.
6423 (RUN_TEST_2_f): Likewise.
6424 (RUN_TEST_LOOP_2_f): Likewise.
6425 (RUN_TEST_fff_f): Likewise.
6426 (RUN_TEST_LOOP_fff_f): Likewise.
6427 (RUN_TEST_c_f): Likewise.
6428 (RUN_TEST_LOOP_c_f): Likewise.
6429 (RUN_TEST_f_f1): Likewise.
6430 (RUN_TEST_LOOP_f_f1): Likewise.
6431 (RUN_TEST_fF_f1): Likewise.
6432 (RUN_TEST_LOOP_fF_f1): Likewise.
6433 (RUN_TEST_fI_f1): Likewise.
6434 (RUN_TEST_LOOP_fI_f1): Likewise.
6435 (RUN_TEST_ffI_f1): Likewise.
6436 (RUN_TEST_LOOP_ffI_f1): Likewise.
6437 (RUN_TEST_c_c): Likewise.
6438 (RUN_TEST_LOOP_c_c): Likewise.
6439 (RUN_TEST_cc_c): Likewise.
6440 (RUN_TEST_LOOP_cc_c): Likewise.
6441 (RUN_TEST_f_i): Likewise.
6442 (RUN_TEST_LOOP_f_i): Likewise.
6443 (RUN_TEST_f_i_tg): Likewise.
6444 (RUN_TEST_LOOP_f_i_tg): Likewise.
6445 (RUN_TEST_ff_i_tg): Likewise.
6446 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6447 (RUN_TEST_f_b): Likewise.
6448 (RUN_TEST_LOOP_f_b): Likewise.
6449 (RUN_TEST_f_b_tg): Likewise.
6450 (RUN_TEST_LOOP_f_b_tg): Likewise.
6451 (RUN_TEST_f_l): Likewise.
6452 (RUN_TEST_LOOP_f_l): Likewise.
6453 (RUN_TEST_f_L): Likewise.
6454 (RUN_TEST_LOOP_f_L): Likewise.
6455 (RUN_TEST_sincos): Likewise.
6456 (RUN_TEST_LOOP_sincos): Likewise.
6457
8269107f
JM
64582013-05-17 Joseph Myers <joseph@codesourcery.com>
6459
bb38759d
JM
6460 [BZ #15480]
6461 [BZ #15485]
6462 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6463 main case of finite arguments, set rounding mode to FE_TONEAREST
6464 and discard exceptions.
6465 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6466 exceptions.
6467 (remainder_tonearest_test_data): New variable.
6468 (remainder_test_tonearest): New function.
6469 (remainder_towardzero_test_data): New variable.
6470 (remainder_test_towardzero): New function.
6471 (remainder_downward_test_data): New variable.
6472 (remainder_test_downward): New function.
6473 (remainder_upward_test_data): New variable.
6474 (remainder_test_upward): New function.
6475 (main): Call the new test functions.
6476
a00bdcf0
JM
6477 * math/libm-test.inc (struct test_f_f1_data): Remove field
6478 extra_init.
6479 (struct test_fF_f1_data): Likewise.
6480 (struct test_ffI_f1_data): Likewise.
6481 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6482 based on value of EXTRA_EXPECTED.
6483 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6484 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6485 EXTRA_VAR based on value of EXTRA_EXPECTED.
6486 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6487 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6488 EXTRA_VAR based on value of EXTRA_EXPECTED.
6489 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6490 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6491 EXTRA_VAR based on value of EXTRA_EXPECTED.
6492 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6493 * math/gen-libm-test.pl (parse_args): Don't output initializers
6494 for extra output values.
6495
de407f79
JM
6496 * math/libm-test.inc (check_int): Expect result to be exactly
6497 equal to expected value and do not handle ulps.
6498 (check_long): Likewise.
6499 (check_longlong): Likewise.
6500
8269107f
JM
6501 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6502 exceptions.
6503 (cimag_test_data): Likewise.
6504 (conj_test_data): Likewise.
6505 (copysign_test_data): Likewise.
6506 (cproj_test_data): Likewise.
6507 (creal_test_data): Likewise.
6508 (fabs_test_data): Likewise.
6509 (fdim_test_data): Likewise.
6510 (finite_test_data): Likewise.
6511 (floor_test_data): Likewise.
6512 (fmax_test_data): Likewise.
6513 (fmin_test_data): Likewise.
6514 (fmod_test_data): Likewise.
6515 (fpclassify_test_data): Likewise.
6516 (frexp_test_data): Likewise.
6517 (ilogb_test_data): Likewise.
6518 (isfinite_test_data): Likewise.
6519 (isgreater_test_data): Likewise.
6520 (isgreaterequal_test_data): Likewise.
6521 (isinf_test_data): Likewise.
6522 (isless_test_data): Likewise.
6523 (islessequal_test_data): Likewise.
6524 (islessgreater_test_data): Likewise.
6525 (isnan_test_data): Likewise.
6526 (isnormal_test_data): Likewise.
6527 (issignaling_test_data): Likewise.
6528 (isunordered_test_data): Likewise.
6529 (ldexp_test_data): Likewise.
6530 (lrint_test_data): Likewise.
6531 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6532 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6533 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6534 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6535 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6536 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6537 test input.
6538 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6539 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6540 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6541 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6542 that test input.
6543 (lrint_downward_test_data): Test for "inexact" exceptions.
6544 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6545 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6546 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6547 test input.
6548 (lrint_upward_test_data): Test for "inexact" exceptions.
6549 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6550 test input.
6551 (llrint_test_data): Test for "inexact" exceptions.
6552 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6553 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6554 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6555 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6556 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6557 (llrint_downward_test_data): Test for "inexact" exceptions.
6558 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6559 (llrint_upward_test_data): Test for "inexact" exceptions.
6560 (logb_test_data): Likewise.
6561 (logb_downward_test_data): Likewise.
6562 (nextafter_test_data): Likewise.
6563 (nexttoward_test_data): Likewise.
6564 (remainder_test_data): Likewise.
6565 (remquo_test_data): Likewise.
6566 (scalbn_test_data): Likewise.
6567 (scalbln_test_data): Likewise.
6568 (signbit_test_data): Likewise.
6569 (sqrt_test_data): Likewise.
6570 (significand_test_data): Likewise.
6571
48a18de1
SP
65722013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6573
6574 [BZ #15424]
6575 * benchtests/bench-modf.c (struct args): Mark arg0 as
6576 volatile.
6577 * scripts/bench.pl: Mark members of struct args as volatile.
6578
13d3b41a
AZ
65792013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6580
68191c1d 6581 [BZ # 15497]
13d3b41a
AZ
6582 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6583 negative infinity on POWER6 or lower.
6584 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6585
2848b105
MR
65862013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6587
6588 [BZ #15442]
6589 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6590 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6591 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6592 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6593 (_FP_SETQNAN): New macro.
6594 (_FP_SETQNAN_SEMIRAW): Likewise.
6595 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6596 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6597 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6598 (FP_EXTEND): Use _FP_FRAC_SNANP.
6599 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6600 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6601 into account.
6602 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6603 New macro.
6604 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6605 Likewise.
6606
323e5cb7
JM
66072013-05-16 Joseph Myers <joseph@codesourcery.com>
6608
c58b274f
JM
6609 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6610 with DIVIDE_BY_ZERO_EXCEPTION.
6611 (gamma_test_data): Likewise.
6612 (lgamma_test_data): Likewise.
6613 (log_test_data): Likewise.
6614 (log10_test_data): Likewise.
6615 (log2_test_data): Likewise.
6616 (tgamma_test_data): Likewise.
6617
0ab34904
JM
6618 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6619 (acos_test_tonearest): Likewise.
6620 (acos_test_towardzero): Likewise.
6621 (acos_test_downward): Likewise.
6622 (acos_test_upward): Likewise.
6623 (acosh_test): Likewise.
6624 (asin_test): Likewise.
6625 (asin_test_tonearest): Likewise.
6626 (asin_test_towardzero): Likewise.
6627 (asin_test_downward): Likewise.
6628 (asin_test_upward): Likewise.
6629 (asinh_test): Likewise.
6630 (atan_test): Likewise.
6631 (atanh_test): Likewise.
6632 (atan2_test): Likewise.
6633 (cabs_test): Likewise.
6634 (cacos_test): Likewise.
6635 (cacosh_test): Likewise.
6636 (casin_test): Likewise.
6637 (casinh_test): Likewise.
6638 (catan_test): Likewise.
6639 (catanh_test): Likewise.
6640 (cbrt_test): Likewise.
6641 (ccos_test): Likewise.
6642 (ccosh_test): Likewise.
6643 (cexp_test): Likewise.
6644 (clog_test): Likewise.
6645 (clog10_test): Likewise.
6646 (cos_test): Likewise.
6647 (cos_test_tonearest): Likewise.
6648 (cos_test_towardzero): Likewise.
6649 (cos_test_downward): Likewise.
6650 (cos_test_upward): Likewise.
6651 (cosh_test): Likewise.
6652 (cosh_test_tonearest): Likewise.
6653 (cosh_test_towardzero): Likewise.
6654 (cosh_test_downward): Likewise.
6655 (cosh_test_upward): Likewise.
6656 (cpow_test): Likewise.
6657 (csin_test): Likewise.
6658 (csinh_test): Likewise.
6659 (csqrt_test): Likewise.
6660 (ctan_test): Likewise.
6661 (ctan_test_tonearest): Likewise.
6662 (ctan_test_towardzero): Likewise.
6663 (ctan_test_downward): Likewise.
6664 (ctan_test_upward): Likewise.
6665 (ctanh_test): Likewise.
6666 (ctanh_test_tonearest): Likewise.
6667 (ctanh_test_towardzero): Likewise.
6668 (ctanh_test_downward): Likewise.
6669 (ctanh_test_upward): Likewise.
6670 (erf_test): Likewise.
6671 (erfc_test): Likewise.
6672 (exp_test): Likewise.
6673 (exp_test_tonearest): Likewise.
6674 (exp_test_towardzero): Likewise.
6675 (exp_test_downward): Likewise.
6676 (exp_test_upward): Likewise.
6677 (exp10_test): Likewise.
6678 (exp2_test): Likewise.
6679 (expm1_test): Likewise.
6680 (fmod_test): Likewise.
6681 (gamma_test): Likewise.
6682 (hypot_test): Likewise.
6683 (j0_test): Likewise.
6684 (j1_test): Likewise.
6685 (jn_test): Likewise.
6686 (lgamma_test): Likewise.
6687 (log_test): Likewise.
6688 (log10_test): Likewise.
6689 (log1p_test): Likewise.
6690 (log2_test): Likewise.
6691 (logb_test_downward): Likewise.
6692 (pow_test): Likewise.
6693 (pow_test_tonearest): Likewise.
6694 (pow_test_towardzero): Likewise.
6695 (pow_test_downward): Likewise.
6696 (pow_test_upward): Likewise.
6697 (remainder_test): Likewise.
6698 (remquo_test): Likewise.
6699 (sin_test): Likewise.
6700 (sin_test_tonearest): Likewise.
6701 (sin_test_towardzero): Likewise.
6702 (sin_test_downward): Likewise.
6703 (sin_test_upward): Likewise.
6704 (sincos_test): Likewise.
6705 (sinh_test): Likewise.
6706 (sinh_test_tonearest): Likewise.
6707 (sinh_test_towardzero): Likewise.
6708 (sinh_test_downward): Likewise.
6709 (sinh_test_upward): Likewise.
6710 (sqrt_test): Likewise.
6711 (tan_test): Likewise.
6712 (tan_test_tonearest): Likewise.
6713 (tan_test_towardzero): Likewise.
6714 (tan_test_downward): Likewise.
6715 (tan_test_upward): Likewise.
6716 (tanh_test): Likewise.
6717 (tgamma_test): Likewise.
6718 (y0_test): Likewise.
6719 (y1_test): Likewise.
6720 (yn_test): Likewise.
6721
323e5cb7
JM
6722 * math/gen-libm-test.pl (adjust_arg): Remove function.
6723 (special_function): Remove argument $in_func. Only handle
6724 generating output for tables of tests, not inside functions.
6725 (parse_args): Likewise.
6726 (generate_testfile): Remove variable $in_func. Update call to
6727 parse_args.
6728 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6729 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6730 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6731 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6732 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6733 (MAX_VALUE_INIT): Rename macro to max_value.
6734 (MIN_VALUE_INIT): Rename macro to min_value.
6735 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6736 (plus_zero): Remove variable.
6737 (minus_zero): Likewise.
6738 (plus_infty): Likewise.
6739 (minus_infty): Likewise.
6740 (qnan_value): Likewise.
6741 (max_value): Likewise.
6742 (min_value): Likewise.
6743 (min_subnorm_value): Likewise.
6744
e054f494
RA
67452013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6746
6747 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6748 uint64_t or uint32_t usage.
6749 * crypt/sha256-block.c: Likewise.
6750 * crypt/sha256-crypt.c: Likewise.
6751 * crypt/sha256.c: Likewise.
6752 * crypt/sha512-block.c: Likewise.
6753 * crypt/sha512-crypt.c: Likewise.
6754 * crypt/sha512.c: Likewise.
6755 * debug/backtrace-tst.c: Likewise.
6756 * debug/pcprofiledump.c: Likewise.
6757 * elf/cache.c: Likewise.
6758 * elf/dl-cache.c: Likewise.
6759 * elf/dl-misc.c: Likewise.
6760 * elf/dl-profile.c: Likewise.
6761 * elf/dl-support.c: Likewise.
6762 * elf/ldconfig.c: Likewise.
6763 * elf/sprof.c: Likewise.
6764 * iconv/dummy-repertoire.c: Likewise.
6765 * iconv/iconv_charmap.c: Likewise.
6766 * iconv/skeleton.c: Likewise.
6767 * iconvdata/8bit-generic.c: Likewise.
6768 * iconvdata/cp737.h: Likewise.
6769 * iconvdata/cp775.h: Likewise.
6770 * iconvdata/ibm1008.h: Likewise.
6771 * iconvdata/ibm1025.h: Likewise.
6772 * iconvdata/ibm1046.h: Likewise.
6773 * iconvdata/ibm1097.h: Likewise.
6774 * iconvdata/ibm1112.h: Likewise.
6775 * iconvdata/ibm1122.h: Likewise.
6776 * iconvdata/ibm1123.h: Likewise.
6777 * iconvdata/ibm1124.h: Likewise.
6778 * iconvdata/ibm1129.h: Likewise.
6779 * iconvdata/ibm1130.h: Likewise.
6780 * iconvdata/ibm1132.h: Likewise.
6781 * iconvdata/ibm1133.h: Likewise.
6782 * iconvdata/ibm1137.h: Likewise.
6783 * iconvdata/ibm1140.h: Likewise.
6784 * iconvdata/ibm1141.h: Likewise.
6785 * iconvdata/ibm1142.h: Likewise.
6786 * iconvdata/ibm1143.h: Likewise.
6787 * iconvdata/ibm1144.h: Likewise.
6788 * iconvdata/ibm1145.h: Likewise.
6789 * iconvdata/ibm1146.h: Likewise.
6790 * iconvdata/ibm1147.h: Likewise.
6791 * iconvdata/ibm1148.h: Likewise.
6792 * iconvdata/ibm1149.h: Likewise.
6793 * iconvdata/ibm1153.h: Likewise.
6794 * iconvdata/ibm1154.h: Likewise.
6795 * iconvdata/ibm1155.h: Likewise.
6796 * iconvdata/ibm1156.h: Likewise.
6797 * iconvdata/ibm1157.h: Likewise.
6798 * iconvdata/ibm1158.h: Likewise.
6799 * iconvdata/ibm1160.h: Likewise.
6800 * iconvdata/ibm1161.h: Likewise.
6801 * iconvdata/ibm1162.h: Likewise.
6802 * iconvdata/ibm1163.h: Likewise.
6803 * iconvdata/ibm1164.h: Likewise.
6804 * iconvdata/ibm1166.h: Likewise.
6805 * iconvdata/ibm1167.h: Likewise.
6806 * iconvdata/ibm12712.h: Likewise.
6807 * iconvdata/ibm1390.h: Likewise.
6808 * iconvdata/ibm1399.h: Likewise.
6809 * iconvdata/ibm16804.h: Likewise.
6810 * iconvdata/ibm4517.h: Likewise.
6811 * iconvdata/ibm4899.h: Likewise.
6812 * iconvdata/ibm4909.h: Likewise.
6813 * iconvdata/ibm4971.h: Likewise.
6814 * iconvdata/ibm5347.h: Likewise.
6815 * iconvdata/ibm803.h: Likewise.
6816 * iconvdata/ibm856.h: Likewise.
6817 * iconvdata/ibm901.h: Likewise.
6818 * iconvdata/ibm902.h: Likewise.
6819 * iconvdata/ibm9030.h: Likewise.
6820 * iconvdata/ibm9066.h: Likewise.
6821 * iconvdata/ibm921.h: Likewise.
6822 * iconvdata/ibm922.h: Likewise.
6823 * iconvdata/ibm9448.h: Likewise.
6824 * iconvdata/isiri-3342.h: Likewise.
6825 * iconvdata/jis0201.h: Likewise.
6826 * include/link.h: Likewise.
6827 * include/netdb.h: Likewise.
6828 * inet/check_native.c: Likewise.
6829 * inet/check_pf.c: Likewise.
6830 * inet/getipv4sourcefilter.c: Likewise.
6831 * inet/getnameinfo.c: Likewise.
6832 * inet/getsourcefilter.c: Likewise.
6833 * inet/htonl.c: Likewise.
6834 * inet/setipv4sourcefilter.c: Likewise.
6835 * inet/setsourcefilter.c: Likewise.
6836 * inet/test-inet6_opt.c: Likewise.
6837 * inet/tst-network.c: Likewise.
6838 * locale/C-collate.c: Likewise.
6839 * locale/C-ctype.c: Likewise.
6840 * locale/C-time.c: Likewise.
6841 * locale/C-translit.h: Likewise.
6842 * locale/loadarchive.c: Likewise.
6843 * locale/programs/3level.h: Likewise.
6844 * locale/programs/charmap.c: Likewise.
6845 * locale/programs/charmap.h: Likewise.
6846 * locale/programs/ld-address.c: Likewise.
6847 * locale/programs/ld-collate.c: Likewise.
6848 * locale/programs/ld-ctype.c: Likewise.
6849 * locale/programs/ld-identification.c: Likewise.
6850 * locale/programs/ld-measurement.c: Likewise.
6851 * locale/programs/ld-messages.c: Likewise.
6852 * locale/programs/ld-monetary.c: Likewise.
6853 * locale/programs/ld-name.c: Likewise.
6854 * locale/programs/ld-numeric.c: Likewise.
6855 * locale/programs/ld-paper.c: Likewise.
6856 * locale/programs/ld-telephone.c: Likewise.
6857 * locale/programs/ld-time.c: Likewise.
6858 * locale/programs/linereader.c: Likewise.
6859 * locale/programs/locale.c: Likewise.
6860 * locale/programs/locarchive.c: Likewise.
6861 * locale/programs/locfile.h: Likewise.
6862 * locale/programs/repertoire.c: Likewise.
6863 * locale/programs/simple-hash.c: Likewise.
6864 * locale/programs/simple-hash.h: Likewise.
6865 * malloc/memusage.c: Likewise.
6866 * malloc/memusagestat.c: Likewise.
6867 * nis/nis_defaults.c: Likewise.
6868 * nis/nis_hash.c: Likewise.
6869 * nis/nis_print.c: Likewise.
6870 * nis/nis_xdr.c: Likewise.
6871 * nscd/connections.c: Likewise.
6872 * nscd/hstcache.c: Likewise.
6873 * nscd/nscd_gethst_r.c: Likewise.
6874 * nscd/nscd_getserv_r.c: Likewise.
6875 * nscd/nscd_helper.c: Likewise.
6876 * nscd/servicescache.c: Likewise.
6877 * nss/makedb.c: Likewise.
6878 * nss/nss_db/db-XXX.c: Likewise.
6879 * nss/nss_db/db-initgroups.c: Likewise.
6880 * nss/nss_db/db-netgrp.c: Likewise.
6881 * nss/nss_files/files-network.c: Likewise.
6882 * nss/nss_files/files-parse.c: Likewise.
6883 * posix/bug-regex5.c: Likewise.
6884 * posix/fnmatch_loop.c: Likewise.
6885 * posix/regcomp.c: Likewise.
6886 * posix/regexec.c: Likewise.
6887 * posix/tst-rfc3484-2.c: Likewise.
6888 * posix/tst-rfc3484-3.c: Likewise.
6889 * posix/tst-rfc3484.c: Likewise.
6890 * resolv/nss_dns/dns-canon.c: Likewise.
6891 * resolv/nss_dns/dns-network.c: Likewise.
6892 * resolv/res_init.c: Likewise.
6893 * resolv/res_mkquery.c: Likewise.
6894 * resolv/tst-aton.c: Likewise.
6895 * stdlib/cxa_atexit.c: Likewise.
6896 * stdlib/cxa_finalize.c: Likewise.
6897 * stdlib/gen-fpioconst.c: Likewise.
6898 * stdlib/strtol_l.c: Likewise.
6899 * string/tst-endian.c: Likewise.
6900 * sunrpc/auth_des.c: Likewise.
6901 * sunrpc/clnt_udp.c: Likewise.
6902 * sunrpc/rtime.c: Likewise.
6903 * sunrpc/svcauth_des.c: Likewise.
6904 * sunrpc/xdr.c: Likewise.
6905 * sunrpc/xdr_intXX_t.c: Likewise.
6906 * sunrpc/xdr_rec.c: Likewise.
6907 * sysdeps/generic/ldconfig.h: Likewise.
6908 * sysdeps/generic/ldsodefs.h: Likewise.
6909 * sysdeps/generic/memusage.h: Likewise.
6910 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6912 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6916 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6918 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6920 * sysdeps/posix/getaddrinfo.c: Likewise.
6921 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6922 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6923 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6924 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6925 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6926 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6927 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6928 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6929 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6930 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6931 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6932 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6933 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6934 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6935 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6936 * sysdeps/x86_64/dl-tls.h: Likewise.
6937 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6938 * time/alt_digit.c: Likewise.
6939 * time/era.c: Likewise.
6940 * wcsmbs/tst-c16c32-1.c: Likewise.
6941
8c75f674
JM
69422013-05-16 Joseph Myers <joseph@codesourcery.com>
6943
6944 * math/libm-test.inc (struct test_sincos_data): New type.
6945 (RUN_TEST_LOOP_sincos): New macro.
6946 (sincos_test_data): New variable.
6947 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6948
e6e49e59
RH
69492013-05-16 Richard Henderson <rth@redhat.com>
6950
6951 * math/atest-exp2.c (LIMB64): New macro.
6952 (CONSTSZ): New macro.
6953 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6954 (hexdig): Move ...
6955 (print_mpn_fp): ... to function scope.
6956 (read_mpn_hex): Remove.
6957 (get_log2): Remove.
6958 (exp2_mpn): Use mp_log2.
6959 (main): Use mp_exp1.
6960
15c7c18d
JM
69612013-05-16 Joseph Myers <joseph@codesourcery.com>
6962
105a07df
JM
6963 * math/libm-test.inc: Remove comment about not testing "inexact"
6964 exceptions.
6965 (INEXACT_EXCEPTION): New macro.
6966 (NO_INEXACT_EXCEPTION): Likewise.
6967 (INVALID_EXCEPTION_OK): Update value.
6968 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6969 (OVERFLOW_EXCEPTION_OK): Likewise.
6970 (UNDERFLOW_EXCEPTION_OK): Likewise.
6971 (IGNORE_ZERO_INF_SIGN): Likewise.
6972 (ERRNO_UNCHANGED): Likewise.
6973 (ERRNO_EDOM): Likewise.
6974 (ERRNO_ERANGE): Likewise.
6975 (test_exceptions): Handle testing "inexact" exceptions.
6976 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6977 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6978 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6979 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6980 INEXACT_EXCEPTION.
6981 (rint_towardzero_test_data): Likewise.
6982 (rint_downward_test_data): Likewise.
6983 (rint_upward_test_data): Likewise.
6984
e9eee333
JM
6985 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6986 with OVERFLOW_EXCEPTION.
6987 (exp10_test_data): Likewise.
6988 (exp2_test_data): Likewise.
6989 (expm1_test_data): Likewise.
6990 (lgamma_test_data): Likewise.
6991 (pow_test_data): Likewise.
6992 (tgamma_test_data): Likewise.
6993 (yn_test_data): Remove duplicate test of overflow.
6994
1c38ff73
JM
6995 * math/libm-test.inc (struct test_cc_c_data): New type.
6996 (RUN_TEST_LOOP_cc_c): New macro.
6997 (cpow_test_data): New variable.
6998 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6999
15c7c18d
JM
7000 * math/libm-test.inc (struct test_f_L_data): New type.
7001 (RUN_TEST_LOOP_f_L): New macro.
7002 (llrint_test_data): New variable.
7003 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7004 (llrint_tonearest_test_data): New variable.
7005 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7006 (llrint_towardzero_test_data): New variable.
7007 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7008 (llrint_downward_test_data): New variable.
7009 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7010 (llrint_upward_test_data): New variable.
7011 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7012 (llround_test_data): New variable.
7013 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7014
f137ff13
PC
70152013-05-13 Peter Collingbourne <pcc@google.com>
7016
7017 * math/atest-exp2.c (get_log2): Remove const attribute.
7018
3608cb24
JM
70192013-05-15 Joseph Myers <joseph@codesourcery.com>
7020
7021 * math/libm-test.inc (struct test_f_l_data): New type.
7022 (RUN_TEST_LOOP_f_l): New macro.
7023 (lrint_test_data): New variable.
7024 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7025 (lrint_tonearest_test_data): New variable.
7026 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7027 (lrint_towardzero_test_data): New variable.
7028 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7029 (lrint_downward_test_data): New variable.
7030 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7031 (lrint_upward_test_data): New variable.
7032 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7033 (lround_test_data): New variable.
7034 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7035
39b1f617
PC
70362013-05-15 Peter Collingbourne <pcc@google.com>
7037
1deff3dc
PC
7038 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7039 (EXTRACT_WORDS64) Use where appropriate.
7040 (INSERT_WORDS64) Likewise.
7041
791f3ba0
PC
7042 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7043 constraints with x constraints.
7044 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7045
39b1f617
PC
7046 * malloc/obstack.c (_obstack_compat): Add initializer.
7047
12fba011
EM
70482013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7049
7050 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7051 si_trapno and add si_addr_lsb to _sifields.sigfault.
7052 (si_trapno): Remove macro.
7053 (si_addr_lsb): Define new macro.
7054 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7055
d369f531
JM
70562013-05-15 Joseph Myers <joseph@codesourcery.com>
7057
b861c6c4
JM
7058 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7059 instead of TEST_f_l.
7060 (llrint_test_tonearest): Likewise.
7061 (llrint_test_towardzero): Likewise.
7062 (llrint_test_downward): Likewise.
7063 (llrint_test_upward): Likewise.
7064 (llround_test): Likewise.
7065
7abeee12
JM
7066 * math/libm-test.inc (struct test_f_i_data): Add comment.
7067 (RUN_TEST_LOOP_f_b): New macro.
7068 (RUN_TEST_LOOP_f_b_tg): Likewise.
7069 (finite_test_data): New variable.
7070 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7071 (isfinite_test_data): New variable.
7072 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7073 (isinf_test_data): New variable.
7074 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7075 (isnan_test_data): New variable.
7076 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7077 (isnormal_test_data): New variable.
7078 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7079 (issignaling_test_data): New variable.
7080 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7081 (signbit_test_data): New variable.
7082 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7083
cbe8c4d3
JM
7084 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7085 with INVALID_EXCEPTION.
7086 (acosh_test_data): Likewise.
7087 (asin_test_data): Likewise.
7088 (atanh_test_data): Likewise.
7089 (fmod_test_data): Likewise.
7090 (log_test_data): Likewise.
7091 (log10_test_data): Likewise.
7092 (log2_test_data): Likewise.
7093 (pow_test_data): Likewise.
7094 (sqrt_test_data): Likewise.
7095 (y0_test_data): Likewise.
7096 (y1_test_data): Likewise.
7097 (yn_test_data): Likewise.
7098
5575c0e5
JM
7099 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7100 function contents.
7101
d369f531
JM
7102 * math/libm-test.inc (struct test_ff_i_data): New type.
7103 (RUN_TEST_LOOP_ff_i_tg): New macro.
7104 (isgreater_test_data): New variable.
7105 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7106 (isgreaterequal_test_data): New variable.
7107 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7108 (isless_test_data): New variable.
7109 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7110 (islessequal_test_data): New variable.
7111 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7112 (islessgreater_test_data): New variable.
7113 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7114 (isunordered_test_data): New variable.
7115 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7116
781fd748
DM
71172013-05-14 David S. Miller <davem@davemloft.net>
7118
7119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7120
87aa21df
JM
71212013-05-14 Joseph Myers <joseph@codesourcery.com>
7122
5e908270
JM
7123 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7124
f71172e5
JM
7125 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7126 extra_test to int.
7127 (struct test_f_i_data): Change type of max_ulp to int.
7128
8cfa635a
JM
7129 * math/libm-test.inc (test_ffI_f1_data): New type.
7130 (RUN_TEST_LOOP_ffI_f1): New macro.
7131 (remquo_test_data): New variable.
7132 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7133
2bcb36b2
JM
7134 * setjmp/tst-setjmp-fp.c: New file.
7135 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7136 (link-libm): New variable.
7137 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7138
acbd839a
JM
7139 * math/libm-test.inc (struct test_f_i_data): New type.
7140 (RUN_TEST_LOOP_f_i): New macro.
7141 (RUN_TEST_LOOP_f_i_tg): Likewise.
7142 (fpclassify_test_data): New variable.
7143 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7144 (ilogb_test_data): New variable.
7145 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7146
e414d745
JM
7147 * math/libm-test.inc (scalbln_test): Correct function name in END
7148 call.
7149
d9c2a0fd
JM
7150 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7151 (RUN_TEST_LOOP_fI_f1): New macro.
7152 (frexp_test_data): New variable.
7153 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7154
9dc9095d
JM
7155 * math/libm-test.inc (struct test_fF_f1_data): New type.
7156 (RUN_TEST_LOOP_fF_f1): New macro.
7157 (modf_test_data): New variable.
7158 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7159
87aa21df
JM
7160 * math/libm-test.inc (struct test_f_f1_data): New type.
7161 (RUN_TEST_LOOP_f_f1): New macro.
7162 (gamma_test_data): New variable.
7163 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7164 (lgamma_test_data): New variable.
7165 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7166
141af660
CD
71672013-05-13 Carlos O'Donell <carlos@redhat.com>
7168
7169 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7170 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7171 (main): Comment "tls" pseudo-hwcap.
7172
6d33265c
JM
71732013-05-13 Joseph Myers <joseph@codesourcery.com>
7174
68fc074c
JM
7175 * math/libm-test.inc (struct test_fl_f_data): New type.
7176 (RUN_TEST_LOOP_fl_f): New variable.
7177 (scalbln_test_data): New variable.
7178 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7179
243216e1
JM
7180 * math/libm-test.inc (struct test_fi_f_data): New type.
7181 (RUN_TEST_LOOP_fi_f): New macro.
7182 (ldexp_test_data): New variable.
7183 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7184 (scalbn_test_data): New variable.
7185 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7186
6a1992e2
JM
7187 * math/libm-test.inc (struct test_c_f_data): New type.
7188 (RUN_TEST_LOOP_c_f): New macro.
7189 (cabs_test_data): New variable.
7190 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7191 (carg_test_data): New variable.
7192 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7193 (cimag_test_data): New variable.
7194 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7195 (creal_test_data): New variable.
7196 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7197
0e400df5
JM
7198 * math/libm-test.inc (struct test_if_f_data): New type.
7199 (RUN_TEST_LOOP_if_f): New macro.
7200 (jn_test_data): New variable.
7201 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7202 (yn_test_data): New variable.
7203 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7204
6d33265c
JM
7205 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7206
f98ece5f
AZ
72072013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7208
7209 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7210 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7211
0f7d347b
SP
72122013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7213
43fe811b
SP
7214 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7215 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7216 (bench-deps): Add bench-timing.h.
7217 * benchtests-bench-skeleton.c: Include bench-timing.h.
7218 (main): Use TIMING_* macros instead of clock_gettime.
7219 * benchtests/bench-timing.h: New file.
7220
0f7d347b
SP
7221 [BZ #14582]
7222 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7223 Renamed from _LIB_VERSION.
7224 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7225
601a3a5f
JM
72262013-05-12 Joseph Myers <joseph@codesourcery.com>
7227
4f184d30
JM
7228 * math/libm-test.inc (struct test_fff_f_data): New type.
7229 (RUN_TEST_LOOP_fff_f): New macro.
7230 (fma_test_data): New variable.
7231 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7232 (fma_towardzero_test_data): New variable.
7233 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7234 (fma_downward_test_data): New variable.
7235 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7236 (fma_upward_test_data): New variable.
7237 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7238
08198877
JM
7239 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7240 (struct test_c_c_data): New type.
7241 (RUN_TEST_LOOP_c_c): New macro.
7242 (cacos_test_data): New variable.
7243 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7244 (cacosh_test_data): New variable.
7245 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7246 (casin_test_data): New variable.
7247 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7248 (casinh_test_data): New variable.
7249 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7250 (catan_test_data): New variable.
7251 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7252 (catanh_test_data): New variable.
7253 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7254 (ccos_test_data): New variable.
7255 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7256 (ccosh_test_data): New variable.
7257 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7258 (cexp_test_data): New variable.
7259 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7260 (clog_test_data): New variable.
7261 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7262 (clog10_test_data): New variable.
7263 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7264 (conj_test_data): New variable.
7265 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7266 (cproj_test_data): New variable.
7267 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7268 (csin_test_data): New variable.
7269 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7270 (csinh_test_data): New variable.
7271 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7272 (csqrt_test_data): New variable.
7273 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7274 (ctan_test_data): New variable.
7275 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7276 (ctan_tonearest_test_data): New variable.
7277 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7278 (ctan_towardzero_test_data): New variable.
7279 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7280 (ctan_downward_test_data): New variable.
7281 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7282 (ctan_upward_test_data): New variable.
7283 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7284 (ctanh_test_data): New variable.
7285 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7286 (ctanh_tonearest_test_data): New variable.
7287 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7288 (ctanh_towardzero_test_data): New variable.
7289 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7290 (ctanh_downward_test_data): New variable.
7291 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7292 (ctanh_upward_test_data): New variable.
7293 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7294 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7295 of BUILD_COMPLEX.
7296
601a3a5f
JM
7297 * math/libm-test.inc (struct test_ff_f_data): New type.
7298 (struct test_ff_f_data_nexttoward): Likewise.
7299 (RUN_TEST_LOOP_2_f): New macro.
7300 (RUN_TEST_LOOP_ff_f): Likewise.
7301 (atan2_test_data): New variable.
7302 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7303 (copysign_test_data): New variable.
7304 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7305 (fdim_test_data): New variable.
7306 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7307 (fmax_test_data): New variable.
7308 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7309 (fmin_test_data): New variable.
7310 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7311 (fmod_test_data): New variable.
7312 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7313 (hypot_test_data): New variable.
7314 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7315 (nextafter_test_data): New variable.
7316 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7317 (nexttoward_test_data): New variable.
7318 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7319 (pow_test_data): New variable.
7320 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7321 (pow_tonearest_test_data): New variable.
7322 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7323 (pow_towardzero_test_data): New variable.
7324 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7325 (pow_downward_test_data): New variable.
7326 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7327 (pow_upward_test_data): New variable.
7328 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7329 (remainder_test_data): New variable.
7330 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7331 (scalb_test_data): New variable.
7332 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7333 * sysdeps/i386/fpu/libm-test-ulps: Update.
7334
74c57478
JM
73352013-05-11 Joseph Myers <joseph@codesourcery.com>
7336
8329e4da
JM
7337 * math/libm-test.inc (fma_test): Use max_value instead of local
7338 variable fltmax.
7339 (nextafter_test): Likewise.
7340
74c57478
JM
7341 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7342 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7343 (acos_downward_test_data): New variable.
7344 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7345 (acos_upward_test_data): New variable.
7346 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7347 (acosh_test_data): New variable.
7348 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7349 (asin_test_data): New variable.
7350 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7351 (asin_tonearest_test_data): New variable.
7352 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7353 (asin_towardzero_test_data): New variable.
7354 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7355 (asin_downward_test_data): New variable.
7356 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7357 (asin_upward_test_data): New variable.
7358 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7359 (asinh_test_data): New variable.
7360 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7361 (atan_test_data): New variable.
7362 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7363 (atanh_test_data): New variable.
7364 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7365 (cbrt_test_data): New variable.
7366 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7367 (ceil_test_data): New variable.
7368 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7369 (cos_test_data): New variable.
7370 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7371 (cos_tonearest_test_data): New variable.
7372 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7373 (cos_towardzero_test_data): New variable.
7374 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7375 (cos_downward_test_data): New variable.
7376 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7377 (cos_upward_test_data): New variable.
7378 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7379 (cosh_test_data): New variable.
7380 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7381 (cosh_tonearest_test_data): New variable.
7382 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7383 (cosh_towardzero_test_data): New variable.
7384 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7385 (cosh_downward_test_data): New variable.
7386 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7387 (cosh_upward_test_data): New variable.
7388 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7389 (erf_test_data): New variable.
7390 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7391 (erfc_test_data): New variable.
7392 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7393 (exp_test_data): New variable.
7394 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7395 (exp_tonearest_test_data): New variable.
7396 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7397 (exp_towardzero_test_data): New variable.
7398 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7399 (exp_downward_test_data): New variable.
7400 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7401 (exp_upward_test_data): New variable.
7402 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7403 (exp10_test_data): New variable.
7404 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7405 (exp2_test_data): New variable.
7406 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7407 (expm1_test_data): New variable.
7408 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7409 (fabs_test_data): New variable.
7410 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7411 (floor_test_data): New variable.
7412 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7413 (j0_test_data): New variable.
7414 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7415 (j1_test_data): New variable.
7416 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7417 (log_test_data): New variable.
7418 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7419 (log10_test_data): New variable.
7420 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7421 (log1p_test_data): New variable.
7422 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7423 (log2_test_data): New variable.
7424 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7425 (logb_test_data): New variable.
7426 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7427 (logb_downward_test_data): New variable.
7428 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7429 (nearbyint_test_data): New variable.
7430 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7431 (rint_test_data): New variable.
7432 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7433 (rint_tonearest_test_data): New variable.
7434 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7435 (rint_towardzero_test_data): New variable.
7436 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7437 (rint_downward_test_data): New variable.
7438 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7439 (rint_upward_test_data): New variable.
7440 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7441 (round_test_data): New variable.
7442 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7443 (sin_test_data): New variable.
7444 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7445 (sin_tonearest_test_data): New variable.
7446 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7447 (sin_towardzero_test_data): New variable.
7448 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7449 (sin_downward_test_data): New variable.
7450 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7451 (sin_upward_test_data): New variable.
7452 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7453 (sinh_test_data): New variable.
7454 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7455 (sinh_tonearest_test_data): New variable.
7456 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7457 (sinh_towardzero_test_data): New variable.
7458 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7459 (sinh_downward_test_data): New variable.
7460 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7461 (sinh_upward_test_data): New variable.
7462 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7463 (sqrt_test_data): New variable.
7464 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7465 (tan_test_data): New variable.
7466 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7467 (tan_tonearest_test_data): New variable.
7468 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7469 (tan_towardzero_test_data): New variable.
7470 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7471 (tan_downward_test_data): New variable.
7472 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7473 (tan_upward_test_data): New variable.
7474 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7475 (tanh_test_data): New variable.
7476 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7477 (tgamma_test_data): New variable.
7478 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7479 (trunc_test_data): New variable.
7480 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7481 (y0_test_data): New variable.
7482 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7483 (y1_test_data): New variable.
7484 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7485 (significand_test_data): New variable.
7486 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7487
7187d844
CG
74882013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7489
7490 [BZ #12387]
7491 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7492
f63fae73
PT
74932013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7494
7495 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7496
8a67a4b3
AJ
74972013-05-10 Andreas Jaeger <aj@suse.de>
7498
7499 [BZ #15448]
7500 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7501 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7502
51df539d
JM
75032013-05-10 Joseph Myers <joseph@codesourcery.com>
7504
7505 * math/gen-libm-test.pl (adjust_arg): New function.
7506 (special_functions): Handle generating output in both functions
7507 and arrays.
7508 (parse_args): Likewise.
7509 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7510 $in_func argument to parse_args.
7511 * math/libm-test.inc (struct test_f_f_data): New type.
7512 (IF_ROUND_INIT_): New macro.
7513 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7514 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7515 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7516 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7517 (ROUND_RESTORE_): Likewise.
7518 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7519 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7520 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7521 (ROUND_RESTORE_FE_UPWARD): Likewise.
7522 (RUN_TEST_LOOP_f_f): New macro.
7523 (acos_test_data): New variable.
7524 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7525 (acos_tonearest_test_data): New variable.
7526 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7527
5c637fe5
SP
75282013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7529
7530 * benchtests/bench-skeleton.c (startup): Fix coding style.
7531
ab2b9461
JM
75322013-05-10 Joseph Myers <joseph@codesourcery.com>
7533
7534 [BZ #6809]
7535 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7536 negative infinity argument.
7537 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7538 negative infinity argument.
7539 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7540 negative infinity argument.
7541 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7542 domain errors.
7543
4c0fe6fe
FW
75442013-05-10 Florian Weimer <fweimer@redhat.com>
7545
7546 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7547 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7548 * iconv/iconv_prog.c (main): Likewise.
7549 * locale/programs/charmap-dir.c (charmap_readdir)
7550 (fopen_uncompressed): Likewise.
7551 * locale/programs/locfile.c (siblings_uncached)
7552 (write_locale_data): Use lstat64 instead of lstat.
7553 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7554 stat.
7555
a3375d29
AJ
75562013-05-10 Andreas Jaeger <aj@suse.de>
7557
7558 [BZ #15395]
7559 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7560 localization.
7561 Include <locale.h>.
7562
36129722
CD
75632013-05-09 Carlos O'Donell <carlos@redhat.com>
7564
7565 * elf/dl-close.c (_dl_close_worker): Add comments.
7566
faa7f811
JM
75672013-05-09 Joseph Myers <joseph@codesourcery.com>
7568
ed41ffef
JM
7569 [BZ #15359]
7570 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7571 high part of pi/2.
7572 (__ieee754_rem_pio2l): Update comments.
7573
d0213cd0
JM
7574 [BZ #15429]
7575 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7576 high part of pi/2.
7577 (__ieee754_rem_pio2l): Update comments.
7578
0d3e777a
JM
7579 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7580 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7581
24f56066
JM
7582 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7583 M_PI_4l.
7584
faa7f811
JM
7585 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7586 (M_PI_34_LOG10El): Likewise.
7587 (M_PI2_LOG10El): Likewise.
7588 (M_PI4_LOG10El): Likewise.
7589 (M_PI_LOG10El): Likewise.
7590
e9a5e0fd
AZ
75912013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7592
7593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7594
d8cd06db
JM
75952013-05-08 Joseph Myers <joseph@codesourcery.com>
7596
a0d9f9d7
JM
7597 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7598 (MINUS_ZERO_INIT): Likewise.
7599 (PLUS_INFTY_INIT): Likewise.
7600 (MINUS_INFTY_INIT): Likewise.
7601 (QNAN_VALUE_INIT): Likewise.
7602 (MAX_VALUE_INIT): Likewise.
7603 (MIN_VALUE_INIT): Likewise.
7604 (MIN_SUBNORM_VALUE_INIT): Likewise.
7605 (plus_zero): Initialize with PLUS_ZERO_INIT.
7606 (minus_zero): Initialize with MINUS_ZERO_INIT.
7607 (plus_infty): Initialize with PLUS_INFTY_INIT.
7608 (minus_infty): Initialize with MINUS_INFTY_INIT.
7609 (qnan_value): Initialize with QNAN_VALUE_INIT.
7610 (max_value): Initialize with MAX_VALUE_INIT.
7611 (min_value): Initialize with MIN_VALUE_INIT.
7612 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7613
ae08db3b
JM
7614 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7615 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7616 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7617 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7618
f44bf14a
JM
7619 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7620 (RUN_TEST_2_f): Likewise.
7621 (RUN_TEST_ff_f): Likewise.
7622 (RUN_TEST_fi_f): Likewise.
7623 (RUN_TEST_fl_f): Likewise.
7624 (RUN_TEST_fff_f): Likewise.
7625 (RUN_TEST_c_f): Likewise.
7626 (RUN_TEST_f_f1): Likewise.
7627 (RUN_TEST_fF_f1): Likewise.
7628 (RUN_TEST_fI_f1): Likewise.
7629 (RUN_TEST_ffI_f1): Likewise.
7630 (RUN_TEST_c_c): Likewise.
7631 (RUN_TEST_cc_c): Likewise.
7632 (RUN_TEST_f_i): Likewise.
7633 (RUN_TEST_f_i_tg): Likewise.
7634 (RUN_TEST_ff_i_tg): Likewise.
7635 (RUN_TEST_f_b): Likewise.
7636 (RUN_TEST_f_b_tg): Likewise.
7637 (RUN_TEST_f_l): Likewise.
7638 (RUN_TEST_f_L): Likewise.
7639 (RUN_TEST_sincos): Likewise.
7640 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7641 whether to show exceptions. Do not include ");\n" in return
7642 value.
7643 (special_functions): Output call to RUN_TEST_sincos instead of
7644 check_float calls. Update calls to new_test.
7645 (parse_args): Output call to single RUN_TEST_* macro instead of
7646 check_* calls and other assignments. Update calls to new_test.
7647
d8cd06db
JM
7648 [BZ #2546]
7649 [BZ #2560]
7650 [BZ #5159]
7651 [BZ #15426]
7652 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7653 input to result for tgamma overflow.
7654 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7655 (gamma_coeff): New variable.
7656 (NCOEFF): New macro.
7657 (gamma_positive): New function.
7658 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7659 underflow here. Use gamma_positive instead of exp (lgamma) for
7660 other arguments.
7661 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7662 (gamma_coeff): New variable.
7663 (NCOEFF): New macro.
7664 (gammaf_positive): New function.
7665 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7666 underflow here. Use gamma_positive instead of exp (lgamma) for
7667 other arguments.
7668 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7669 (gamma_coeff): New variable.
7670 (NCOEFF): New macro.
7671 (gammal_positive): New function.
7672 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7673 underflow here. Use gamma_positive instead of exp (lgamma) for
7674 other arguments.
7675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7676 (gamma_coeff): New variable.
7677 (NCOEFF): New macro.
7678 (gammal_positive): New function.
7679 (__ieee754_gammal_r): Handle positive infinity, overflow and
7680 underflow here. Handle NaN the same as positive infinity. Remove
7681 check x < 0xffffffff for negative integers. Use gamma_positive
7682 instead of exp (lgamma) for other arguments.
7683 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7684 (gamma_coeff): New variable.
7685 (NCOEFF): New macro.
7686 (gammal_positive): New function.
7687 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7688 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7691 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7692 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7693 * sysdeps/generic/math_private.h (__gamma_productf): New
7694 prototype.
7695 (__gamma_product): Likewise.
7696 (__gamma_productl): Likewise.
7697 * math/Makefile (libm-calls): Add gamma_product.
7698 * math/libm-test.inc (tgamma_test): Add more tests.
7699 * sysdeps/i386/fpu/libm-test-ulps: Update.
7700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7701
bb7cf681
OB
77022013-05-08 Ondřej Bílka <neleai@seznam.cz>
7703
7704 * benchtests/bench-skeleton.c (main): Preheat CPU.
7705
ba853947
AJ
77062013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7707
7708 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7709
8347c74c
RM
77102013-05-07 Roland McGrath <roland@hack.frob.com>
7711
7712 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7713 and _dl_skip_args_internal.
7714
e8dd4791
CD
77152013-05-07 Carlos O'Donell <carlos@redhat.com>
7716
7717 * manual/message.texi (Message Translation): Talk about users.
7718 Message to key mapping impacts design.
7719
c7405830
RM
77202013-05-06 Roland McGrath <roland@hack.frob.com>
7721
a9173057
RM
7722 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7723
976e2f03
RM
7724 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7725
9723ffc5
RM
7726 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7727 * sysdeps/wordsize-64/glob64.c: ... here.
7728
962e6658
RM
7729 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7730 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7731 New macros.
7732
ee586a6d
RM
7733 * debug/getlogin_r_chk.c: Moved to ...
7734 * login/getlogin_r_chk.c: ... here.
7735 * debug/Makefile (routines): Move getlogin_r_chk to ...
7736 * login/Makefile (routines): ... here.
7737 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7738 * login/Versions (libc: GLIBC_2.4): ... here.
7739
355f9165
RM
7740 * io/poll.c (__poll): Renamed from poll.
7741 Add libc_hidden_def.
7742 (poll): Define as weak alias.
7743
bd9ffde6
RM
7744 * debug/ptsname_r_chk.c: Moved to ...
7745 * login/ptsname_r_chk.c: ... here.
7746 * debug/Makefile (routines): Move ptsname_r_chk to ...
7747 * login/Makefile (routines): ... here.
7748 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7749 * login/Versions (libc: GLIBC_2.4): ... here.
7750
8fb16a04
RM
7751 * posix/getlogin.c: Moved to ...
7752 * login/getlogin.c: ... here.
7753 * posix/getlogin_r.c: Moved to ...
7754 * login/getlogin_r.c: ... here.
7755 * posix/getlogin_r.c: Moved to ...
7756 * login/getlogin_r.c: ... here.
7757 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7758 * login/Makefile (routines): ... here.
7759 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7760 * login/Versions (libc: GLIBC_2.0): ... here.
7761
b99b892f
RM
7762 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7763 (setrlimit): Define as weak alias.
7764
c7405830
RM
7765 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7766 Call __ names for open, ftruncate, and close.
7767 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7768 (truncate): Define as weak alias.
7769
5bf96de5
JM
77702013-05-06 Joseph Myers <joseph@codesourcery.com>
7771
9ea3513c
JM
7772 * math/gen-libm-test.pl (parse_args): Initialize x before each
7773 test of frexp, modf and remquo.
7774
5bf96de5
JM
7775 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7776 test signgam value.
7777
16e616a7
AZ
77782013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7779
7780 [BZ #15418]
7781 [BZ #15419]
7782 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7783 internal tests.
7784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7785
d5e82754
RM
77862013-05-06 Roland McGrath <roland@hack.frob.com>
7787
7788 * elf/dl-writev.h: New file.
7789 * elf/dl-misc.c: Include it.
7790 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7791 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7792
a7548d41
JM
77932013-05-04 Joseph Myers <joseph@codesourcery.com>
7794
b7dab1e4
JM
7795 * math/libm-test.inc (noXFails): Remove variable.
7796 (noXPasses): Likewise.
7797 (BUILD_COMPLEX_INT): Remove macro.
7798 (print_screen): Remove xfail argument.
7799 (print_screen_max_error): Likewise.
7800 (update_stats): Likewise.
7801 (print_max_error): Likewise. Update calls to other affected
7802 functions.
7803 (print_complex_max_error): Likewise.
7804 (test_single_exception): Update calls to print_screen.
7805 (test_single_errno): Likewise.
7806 (check_float_internal): Remove xfail argument. Update calls to
7807 other affected functions.
7808 (check_float): Likewise.
7809 (check_complex): Likewise.
7810 (check_int): Likewise.
7811 (check_long): Likewise.
7812 (check_bool): Likewise.
7813 (check_longlong): Likewise.
7814 (main): Don't print noXFails and noXPasses.
7815 * math/gen-libm-test.pl (top level): Don't mention expected
7816 failure handling in comment.
7817 (new_test): Don't handle expected failures.
7818 (parse_args): Don't mention expected failure handling in comment.
7819 (generate_testfile): Don't handle expected failures.
7820 (parse_ulps): Likewise.
7821 (print_ulps_file): Likewise.
7822 (get_failure): Remove function.
7823 (output_test): Don't handle expected failures.
7824 * make/README.libm-test: Don't mention expected failure handling.
7825
a7548d41
JM
7826 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7827 (minus_zero): Likewise.
7828 (plus_infty): Likewise.
7829 (minus_infty): Likewise.
7830 (qnan_value): Likewise.
7831 (max_value): Likewise.
7832 (min_value): Likewise.
7833 (min_subnorm_value): Likewise.
7834 (initialize): Do not initialize those variables dynamically.
7835
60bfd54c
RM
78362013-05-03 Roland McGrath <roland@hack.frob.com>
7837
cc0e6ed8
RM
7838 * io/open.c (__open_2): Moved to ...
7839 * io/open_2.c: ... this new file.
7840 * io/open64.c (__open64_2): Moved to ...
7841 * io/open64_2.c: ... this new file.
7842 * io/openat.c (__openat_2): Moved to ...
7843 * io/openat_2.c: ... this new file.
7844 * io/openat64.c (__openat64_2): Moved to ...
7845 * io/openat64_2.c: ... this new file.
7846 * io/Makefile (routines): Add them.
7847 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7848 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7849 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7850 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7851 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7852 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7853 (__openat64): Add hidden_ver.
7854 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7855 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7856
60bfd54c
RM
7857 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7858 Separately conditionalize setting of GLRO(dl_sysinfo) so
7859 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7860 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7861
83e7640f
AZ
78622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7863
7864 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7865 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7866 definition.
7867 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7868 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7869 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7870 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7871 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7872
d5dc2af3
JM
78732013-05-03 Joseph Myers <joseph@codesourcery.com>
7874
c31a5b1e
JM
7875 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7876 test signgam value.
7877
d5dc2af3
JM
7878 * math/libm-test.inc (hypot_test): Do not use
7879 IGNORE_ZERO_INF_SIGN.
7880
164fd39d
AJ
78812013-05-03 Andreas Jaeger <aj@suse.de>
7882
7883 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7884 Linux 3.9.
7885 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7886 (PF_MAX): Adjust for VSOCK change.
7887
8237f48c
AZ
78882013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7889
7890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7891
9df02941
CD
78922013-05-02 Carlos O'Donell <carlos@redhat.com>
7893
7894 [BZ #15264]
7895 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7896 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7897 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7898
d422395e
DM
78992013-05-02 David S. Miller <davem@davemloft.net>
7900
7901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7902
a07c5731
OB
79032013-05-01 Ondřej Bílka <neleai@seznam.cz>
7904
7905 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7906
1324e37f
RM
79072013-05-01 Roland McGrath <roland@hack.frob.com>
7908
7909 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7910
0695940b
RS
79112013-05-01 Richard Smith <richard@metafoo.co.uk>
7912
bb5f27ad 7913 [BZ #14952]
0695940b
RS
7914 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7915 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7916 Use __attribute__ ((__gnu_inline__)).
7917 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7918 Don't use __attribute__ ((__gnu_inline__)).
7919
10de07f5
JM
79202013-05-01 Joseph Myers <joseph@codesourcery.com>
7921
7922 [BZ #15423]
7923 * math/s_catan.c (__catan): Handle small real or imaginary part of
7924 input specially to avoid spurious underflow.
7925 * math/s_catanf.c (__catanf): Likewise.
7926 * math/s_catanh.c (__catanh): Likewise.
7927 * math/s_catanhf.c (__catanhf): Likewise.
7928 * math/s_catanhl.c (__catanhl): Likewise.
7929 * math/s_catanl.c (__catanl): Likewise.
7930 * math/libm-test.inc (catan_test): Add more tests.
7931 (catanh_test): Likewise.
7932 * sysdeps/i386/fpu/libm-test-ulps: Update.
7933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7934
cb4d5414
AZ
79352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7936
7937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7938
caf84319
JM
79392013-04-30 Joseph Myers <joseph@codesourcery.com>
7940
7941 [BZ #15416]
7942 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7943 accurately for denominator in atan2.
7944 * math/s_catanf.c (__catanf): Likewise.
7945 * math/s_catanh.c (__catanh): Likewise.
7946 * math/s_catanhf.c (__catanhf): Likewise.
7947 * math/s_catanhl.c (__catanhl): Likewise.
7948 * math/s_catanl.c (__catanl): Likewise.
7949 * math/libm-test.inc (catan_test): Add more tests.
7950 (catanh_test): Likewise.
7951 * sysdeps/i386/fpu/libm-test-ulps: Update.
7952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7953
d569c6ee
SP
79542013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7955
6dbe713d
SP
7956 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7957
f0ee064b
SP
7958 * benchtests/Makefile (bench): Remove slow benchmarks.
7959 * benchtests/atan-inputs: Add slow benchmark inputs.
7960 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7961 (BENCH_FUNC): Accept variant offset.
7962 (VARIANT): Define.
7963 * benchtests/bench-skeleton.c (main): Run benchmark for each
7964 variant.
7965 * benchtests/cos-inputs: Add slow benchmark inputs.
7966 * benchtests/exp-inputs: Likewise.
7967 * benchtests/pow-inputs: Likewise.
7968 * benchtests/sin-inputs: Likewise.
7969 * benchtests/slowatan-inputs: Remove.
7970 * benchtests/slowatan.c: Remove.
7971 * benchtests/slowcos-inputs: Remove.
7972 * benchtests/slowcos.c: Remove.
7973 * benchtests/slowexp-inputs: Remove.
7974 * benchtests/slowexp.c: Remove.
7975 * benchtests/slowpow-inputs: Remove.
7976 * benchtests/slowpow.c: Remove.
7977 * benchtests/slowsin-inputs: Remove.
7978 * benchtests/slowsin.c: Remove.
7979 * benchtests/slowtan-inputs: Remove.
7980 * benchtests/slowtan.c: Remove.
7981 * benchtests/tan-inputs: Add slow benchmark inputs.
7982 * scripts/bench.pl: Parse comments and directives.
7983
d569c6ee
SP
7984 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7985 in CPPFLAGS.
7986 ($(objpfx)bench-%.c): Remove *-ITER.
7987 * benchtests/bench-modf.c: Remove definition of ITER.
7988 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7989 (main): Loop for DURATION seconds instead of fixed number of
7990 iterations.
7991 * scripts/bench.pl: Don't expect iterations in parameters.
7992
a6a242fe
RM
79932013-04-29 Roland McGrath <roland@hack.frob.com>
7994
7995 * io/fchdir.c (__fchdir): Renamed from fchdir.
7996 (fchdir): Define as weak alias.
7997
f2da7793
JM
79982013-04-29 Joseph Myers <joseph@codesourcery.com>
7999
8000 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8001 (ERRNO_EDOM): Likewise.
8002 (ERRNO_ERANGE): Likewise.
8003 (noErrnoTests): New variable.
8004 (init_max_error): Set errno to 0.
8005 (test_single_errno): New function.
8006 (test_errno): Likewise.
8007 (check_float_internal): Call test_errno. Set errno to 0.
8008 (check_complex): Refer to errno tests in comment.
8009 (check_int): Call test_errno. Set errno to 0.
8010 (check_long): Likewise.
8011 (check_bool): Likewise.
8012 (check_longlong): Likewise.
8013 (cos_test): Use ERRNO_* flags for errno tests instead of
8014 check_int.
8015 (expm1_test): Likewise.
8016 (fmod_test): Likewise.
8017 (ilogb_test): Likewise.
8018 (lgamma_test): Likewise.
8019 (pow_test): Likewise.
8020 (remainder_test): Likewise.
8021 (sin_test): Likewise.
8022 (tan_test): Likewise.
8023 (yn_test): Likewise.
8024 (initialize): Set errno to 0.
8025 (main): Print number of errno tests.
8026 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8027
b1a36ceb
AJ
80282013-04-29 Andreas Jaeger <aj@suse.de>
8029
c3ed8088
AJ
8030 [BZ #15084]
8031 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8032 and RES_USEVC.
8033
f1a24198
AJ
8034 [BZ #15085]
8035 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8036 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8037 unimplemented.
8038
9ce3b2cb
AJ
8039 [BZ #15380]
8040 * stdlib/random.c (__initstate): Return NULL if
8041 __initstate fails.
8042
f1a24198 8043 [BZ #15086]
b1a36ceb
AJ
8044 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8045 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8046 RES_SNGLKUPREOP.
8047
7e7b6f36
AZ
80482013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8049
8050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8051
4d14f449
JM
80522013-04-29 Joseph Myers <joseph@codesourcery.com>
8053
8054 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8055 of individual tests.
8056 (casin_test): Likewise.
8057 (casinh_test): Likewise.
8058
5b4217d7
JM
80592013-04-27 Joseph Myers <joseph@codesourcery.com>
8060
8061 [BZ #15409]
8062 * math/s_catan.c (__catan): Handle arguments with large real or
8063 imaginary part separately without squaring.
8064 * math/s_catanf.c (__catanf): Likewise.
8065 * math/s_catanh.c (__catanh): Likewise.
8066 * math/s_catanhf.c (__catanhf): Likewise.
8067 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8068 and redefine.
8069 (__catanhl): Handle arguments with large real or imaginary part
8070 separately without squaring.
8071 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8072 and redefine.
8073 (__catanl): Handle arguments with large real or imaginary part
8074 separately without squaring.
8075 * math/libm-test.inc (catan_test): Add more tests.
8076 (catanh_test): Likewise.
8077 * sysdeps/i386/fpu/libm-test-ulps: Update.
8078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8079
4220c3ef
AJ
80802013-04-27 Andreas Jaeger <aj@suse.de>
8081
8082 [BZ #15007]
8083 * stdlib/stdlib.h: Update guards for qecvt.
8084 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8085 <stdlib.h>.
8086
4721b2d1
AM
80872013-04-27 Allan McRae <allan@archlinux.org>
8088
8089 * sysdeps/i386/fpu/libm-test-ulps: Update.
8090
f0302940
JM
80912013-04-26 Joseph Myers <joseph@codesourcery.com>
8092
9457fd95
JM
8093 [BZ #15406]
8094 * math/s_catan.c: Include <float.h>.
8095 (__catan): Ensure underflow exception occurs for underflowed
8096 result.
8097 * math/s_catanf.c: Include <float.h>.
8098 (__catanf): Ensure underflow exception occurs for underflowed
8099 result.
8100 * math/s_catanh.c: Include <float.h>.
8101 (__catanh): Ensure underflow exception occurs for underflowed
8102 result.
8103 * math/s_catanhf.c: Include <float.h>.
8104 (__catanhf): Ensure underflow exception occurs for underflowed
8105 result.
8106 * math/s_catanhl.c: Include <float.h>.
8107 (__catanhl): Ensure underflow exception occurs for underflowed
8108 result.
8109 * math/s_catanl.c: Include <float.h>.
8110 (__catanl): Ensure underflow exception occurs for underflowed
8111 result.
8112 * math/libm-test.inc (catan_test): Add more tests.
8113 (catanh_test): Likewise.
8114
f0302940
JM
8115 [BZ #15405]
8116 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8117 underflowed result.
8118 * math/s_ccoshf.c (__ccoshf): Likewise.
8119 * math/s_ccoshl.c (__ccoshl): Likewise.
8120 * math/s_csin.c (__csin): Likewise.
8121 * math/s_csinf.c (__csinf): Likewise.
8122 * math/s_csinh.c (__csinh): Likewise.
8123 * math/s_csinhf.c (__csinhf): Likewise.
8124 * math/s_csinhl.c (__csinhl): Likewise.
8125 * math/s_csinl.c (__csinl): Likewise.
8126 * math/libm-test.inc (ccos_test): Add more tests.
8127 (ccosh_test): Likewise.
8128 (csin_test): Likewise.
8129 (csinh_test): Likewise.
8130
aa630f59
AZ
81312013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8132
8133 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8134 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8135 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8136 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8137 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8138 powerpc/power5+/fpu folders.
8139 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8140
8141
1b835983
MT
81422013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8143
8144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8145
73709b26
JM
81462013-04-25 Joseph Myers <joseph@codesourcery.com>
8147
8148 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8149 additions to variable.
8150 [$(config-machine) = x86_64] (modules-names): Likewise.
8151 ($(objpfx)tst-audit3): Remove dependency.
8152 ($(objpfx)tst-audit3.out): Likewise.
8153 ($(objpfx)tst-audit4): Likewise.
8154 ($(objpfx)tst-audit4.out): Likewise.
8155 ($(objpfx)tst-audit5): Likewise.
8156 ($(objpfx)tst-audit5.out): Likewise.
8157 ($(objpfx)tst-audit6): Likewise.
8158 ($(objpfx)tst-audit6.out): Likewise.
8159 ($(objpfx)tst-audit7): Likewise.
8160 ($(objpfx)tst-audit7.out): Likewise.
8161 (tst-audit3-ENV): Remove variable.
8162 (tst-audit4-ENV): Likewise.
8163 (tst-audit5-ENV): Likewise.
8164 (tst-audit6-ENV): Likewise.
8165 (tst-audit7-ENV): Likewise.
8166 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8167 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8168 addition to variable.
8169 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8170 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8171 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8172 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8173 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8174 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8175 tst-audit3, tst-audit4 and tst-audit5.
8176 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8177 tst-audit6 and tst-audit7.
8178 [$(subdir) = elf] (modules-names): Add audit modules for those
8179 tests.
8180 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8181 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8182 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8183 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8184 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8185 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8186 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8187 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8188 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8189 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8190 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8191 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8192 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8193 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8194 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8195 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8196 Likewise.
8197 [$(subdir) = elf && $(config-cflags-avx) = yes]
8198 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8199 [$(subdir) = elf && $(config-cflags-avx) = yes]
8200 (CFLAGS-tst-auditmod4a.c): Likewise.
8201 [$(subdir) = elf && $(config-cflags-avx) = yes]
8202 (CFLAGS-tst-auditmod4b.c): Likewise.
8203 [$(subdir) = elf && $(config-cflags-avx) = yes]
8204 (CFLAGS-tst-auditmod6b.c): Likewise.
8205 [$(subdir) = elf && $(config-cflags-avx) = yes]
8206 (CFLAGS-tst-auditmod6c.c): Likewise.
8207 [$(subdir) = elf && $(config-cflags-avx) = yes]
8208 (CFLAGS-tst-auditmod7b.c): Likewise.
8209 * elf/tst-audit3.c: Move to ...
8210 * sysdeps/x86_64/tst-audit3.c: ... here.
8211 * elf/tst-audit4.c: Move to ...
8212 * sysdeps/x86_64/tst-audit4.c: ... here.
8213 * elf/tst-audit5.c: Move to ...
8214 * sysdeps/x86_64/tst-audit5.c: ... here.
8215 * elf/tst-audit6.c: Move to ...
8216 * sysdeps/x86_64/tst-audit6.c: ... here.
8217 * elf/tst-audit7.c: Move to ...
8218 * sysdeps/x86_64/tst-audit7.c: ... here.
8219 * elf/tst-auditmod3a.c: Move to ...
8220 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8221 * elf/tst-auditmod3b.c: Move to ...
8222 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8223 * elf/tst-auditmod4a.c: Move to ...
8224 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8225 * elf/tst-auditmod4b.c: Move to ...
8226 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8227 * elf/tst-auditmod5a.c: Move to ...
8228 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8229 * elf/tst-auditmod5b.c: Move to ...
8230 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8231 * elf/tst-auditmod6a.c: Move to ...
8232 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8233 * elf/tst-auditmod6b.c: Move to ...
8234 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8235 * elf/tst-auditmod6c.c: Move to ...
8236 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8237 * elf/tst-auditmod7a.c: Move to ...
8238 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8239 * elf/tst-auditmod7b.c: Move to ...
8240 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8241
1ef74943
PP
82422013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8243
8244 [BZ #15366]
8245 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8246 define unconditionally.
8247 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8248 define unconditionally.
8249 (INT8_C, INT16_C, etc.): Likewise.
8250
93fd48c5
MR
82512013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8252
ae9552cf
MR
8253 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8254 __ehdr_start with hidden visibility.
8255
93fd48c5
MR
8256 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8257
418601aa
CD
82582013-04-24 Carlos O'Donell <carlos@redhat.com>
8259
8260 * math/libm-test.inc (cos_test): Use accurate hex constants.
8261 (sincost_test): Likewise.
8262
2f38fbfe
JM
82632013-04-24 Joseph Myers <joseph@codesourcery.com>
8264
5e221800
JM
8265 * math/libm-test.inc (catan_test): Add more tests.
8266 (catanh_test): Likewise.
8267
77f143fd
JM
8268 * math/s_catanf.c (__catanf): Use suffixed floating-point
8269 constants.
8270 * math/s_catanhf.c (__catanhf): Likewise.
8271 * math/s_catanhl.c (__catanhl): Likewise.
8272 * math/s_catanl.c (__catanl): Likewise.
8273
2f38fbfe
JM
8274 [BZ #15394]
8275 * math/s_catan.c (__catan): Calculate imaginary part of result
8276 with log1p not log unless computing log of number close to 0.
8277 * math/s_catanf.c (__catanf): Likewise.
8278 * math/s_catanl.c (__catanl): Likewise.
8279 * math/s_catanh.c (__catanh): Calculate real part of result with
8280 log1p not log unless computing log of number close to 0.
8281 * math/s_catanhf.c (__catanhf): Likewise.
8282 * math/s_catanhl.c (__catanhl): Likewise.
8283 * math/libm-test.inc (catan_test): Add more tests.
8284 (catanh_test): Likewise.
8285 * sysdeps/i386/fpu/libm-test-ulps: Update.
8286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8287
45d69176
SP
82882013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8289
8290 * benchtests/Makefile: Mention files in which fast and slow
8291 paths of math functions are implemented.
8292
87f51853
RM
82932013-04-23 Roland McGrath <roland@hack.frob.com>
8294
8295 * sysdeps/posix/timespec_get.c: New file.
8296
3c026539
AZ
82972013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8298
8299 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8300 POWER.
8301 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8302 for POWER.
8303 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8304 powerpc/power5/fpu folders.
8305 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8306 * benchtests/Makefile: Add modf testcase.
8307 * benchtests/bench-modf.c: New file: Benchmark test for mo
8308
ff491d14
SP
83092013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8310
8311 [BZ #14888]
8312 * time/Makefile (tests): Add tst-strptime-whitespace.
8313 * time/strptime_l.c (get_number): Use ISSPACE.
8314 (__strptime_internal): Likewise.
8315 * time/tst-strptime-whitespace.c: New test case.
8316
7ed3f4e8
AS
83172013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8318
8319 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8320 member.
8321 (_nss_files_init): Set it here.
8322
5c95f7b6
HC
83232013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8324
8325 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8326 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8327 unsigned.
8328
d34c9158
JBG
83292013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8330
8331 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8332
2169712d
SP
83332013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8334
8335 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8336 size just once.
8337
29c5de99
DM
83382013-04-21 David S. Miller <davem@davemloft.net>
8339
8340 * po/ru.po: Update Russion translation from translation project.
8341
ccdad15d
AC
83422013-04-17 Adam Conrad <adconrad@0c3.net>
8343
8344 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8345 and setfsgid.
8346
0f122b8d
CD
83472013-04-17 Carlos O'Donell <carlos@redhat.com>
8348
5c5b07da 8349 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8350 * configure: Regenerate.
5c5b07da 8351 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8352 Add example to error message.
8353 * sysdeps/i386/configure: Regenerate.
8354
037714dd
SP
83552013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8356
8357 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8358 slowtan.
8359 * benchtests/cos-inputs: New file.
8360 * benchtests/slowcos-inputs: New file.
8361 * benchtests/slowcos.c: New file.
8362 * benchtests/slowtan-inputs: New file.
8363 * benchtests/slowtan.c: New file.
8364 * benchtests/tan-inputs: New file.
8365
e913141d
RM
83662013-04-16 Roland McGrath <roland@hack.frob.com>
8367
8368 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8369 considered kosher.
8370
a2964074
SP
83712013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8372
4856bcd2
SP
8373 * benchtests/Makefile: Include cppflags-iterator.mk to add
8374 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8375
a2964074
SP
8376 * Makefile.in (bench-clean): New target.
8377 * benchtests/Makefile (bench-clean): Likewise.
8378
9fbf9aca
DH
83792013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8380
8381 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8382
207d1e2a
TS
83832013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8384
8385 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8386
306dfba9
AS
83872013-04-15 Andreas Schwab <schwab@suse.de>
8388
8389 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8391 * nscd/pwdcache.c (cache_addpw): Likewise.
8392 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8393 more than recsize.
8394
206a6699
SP
83952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8396
8397 * benchtests/Makefile (bench): Write all output to
8398 bench-out.tmp together.
8399
0582f6b3
AS
84002013-04-15 Andreas Schwab <schwab@suse.de>
8401
8402 * nscd/nscd.c (main): Don't fork again after closing files.
8403
acb4325f
SP
84042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8405
5cb26d0a
SP
8406 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8407
acb4325f
SP
8408 * benchtests/Rules (bench-deps): Collect dependencies into a
8409 single variable. Add Makefile to dependencies.
8410 ($(objpfx)bench-%.c): Depend on bench-deps.
8411
47792506
RM
84122013-04-12 Roland McGrath <roland@hack.frob.com>
8413 Xavier Roche <roche+kml2@exalead.com>
8414
8415 [BZ #15361]
8416 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8417 just that it's a file descriptor.
8418 * manual/llio.texi (Synchronizing AIO Operations): Update description
8419 for EBADF error from aio_fsync.
8420
8fc1bee5
SP
84212013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8422
8423 * Rules (bench): Move target definition...
8424 * benchtests/Makefile: ... here.
8425
aba5e333
CD
84262013-04-11 Carlos O'Donell <carlos@redhat.com>
8427
8428 * math/libm-test.inc (cos_test): Fix PI/2 test.
8429 (sincos_test): Likewise.
8430 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8431 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8432
273cdee8
AS
84332013-04-11 Andreas Schwab <schwab@suse.de>
8434
6ecec3b6
AS
8435 [BZ #13988]
8436 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8437 accept exponent character only when digits were seen.
8438 * stdio-common/Makefile (tests): Add bug26.
8439 * stdio-common/bug26.c: New file.
8440
273cdee8
AS
8441 [BZ #14293]
8442 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8443 non-freeable.
8444
8da491f5
SP
84452013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8446
01dc6df9
SP
8447 * Makeconfig (rtld-prefix): Define built linker prefix.
8448 * Rules (run-bench): Use it.
8449 * math/Makefile (run-regen-ulps): Likewise.
8450
8da491f5
SP
8451 * Rules (bench): Remove eval.
8452
abe7f530
SP
84532013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8454 Roland McGrath <roland@hack.frob.com>
8455 Ondrej Bilka <neleai@seznam.cz>
8456
8457 [BZ #15346]
8458 * time/getdate.c: Include ctype.h and alloca.h.
8459 (__getdate_r): Trim leading and trailing spaces of input.
8460 * time/tst-getdate.c (tests): Add tests with leading and
8461 trailing spaces.
8462
61c23e62
RM
84632013-04-08 Roland McGrath <roland@hack.frob.com>
8464
8465 [BZ #14280]
8466 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8467 when computing value.
8468
7208a313
CD
84692013-04-06 Carlos O'Donell <carlos@redhat.com>
8470
085b2d41
CD
8471 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8472 Use testrun.sh to run libm tests.
8473
7208a313
CD
8474 [BZ #15309]
8475 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8476
872c0acd
MM
84772013-04-06 Marko Myllynen <myllynen@redhat.com>
8478
8479 [BZ #15264]
8480 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8481
26510bdd
CD
84822013-04-06 Carlos O'Donell <carlos@redhat.com>
8483
8484 * Makefile.in (regen-ulps): New target.
8485 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8486 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8487 [ifneq (no,$(PERL)] (regen-ulps): New target.
8488 [ifeq (no,$(PERL)] (regen-ulps): New target.
8489 * math/libm-test.inc (ulps_file_name): Define.
8490 (output_dir): New variable.
8491 (options): Add "output-dir" option.
8492 (parse_opt): Handle 'o' case.
8493 (main): If output_dir is non-NULL use it as a prefix
8494 otherwise use "".
8495 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8496
a01f19c8
CD
84972013-04-06 Carlos O'Donell <carlos@redhat.com>
8498
8499 [BZ #10060, #10062]
8500 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8501 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8502 fail configure if __sync_val_compare_and_swap is not inlined.
8503 * sysdeps/i386/configure: Regenerate.
8504 * configure.in: Build for i686 when configured for i386.
8505 * configure: Regenerate.
8506 * README: Remove i386 reference.
8507
b7a329a5
CD
85082013-04-06 Carlos O'Donell <carlos@redhat.com>
8509
8510 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8511 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8512
bf0f50df
TS
85132013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8514
ee091edf
TS
8515 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8516 (lmsnanval): New variables.
8517 (F): Add conversion tests.
8518 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8519 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8520
a8b792d6
TS
8521 * stdio-common/tstdiomisc.c (F): Properly collect individual
8522 tests' results.
8523
a1cbf437
TS
8524 [BZ #14686, #15336]
8525 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8526 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8527 Instead, use input NaN values or generate a qNaN by arithmetic
8528 operation. Also fix bugs to comply with the standard.
8529 * math/libm-test.inc (remainder_test): Add more tests.
8530
8b43a0c9
TS
8531 [BZ #15335, #15342]
8532 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8534 input NaN values or generate a qNaN by arithmetic operation.
8535
d91da4ce
TS
8536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8537 unreachable code.
8538
bf0f50df
TS
8539 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8540 definitions.
8541
05e166c8
JM
85422013-04-03 Joseph Myers <joseph@codesourcery.com>
8543
8544 [BZ #14478]
8545 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8546 underflowed result.
8547 * math/s_cexpf.c (__cexpf): Likewise.
8548 * math/s_cexpl.c (__cexpl): Likewise.
8549 * math/libm-test.inc (cexp_test): Add more tests.
8550
1cef1b19
AS
85512013-04-03 Andreas Schwab <schwab@suse.de>
8552
8553 [BZ #15330]
8554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8555 order arrays from heap if bigger than alloca cutoff.
8556
74d87055
TS
85572013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8558
8559 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8560 (SNAN_TESTS_double): Refer to GCC PR56831.
8561 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8562 GCC PR56828.
8563
d755bba4
SP
85642013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8565
90d5d5bb
SP
8566 * Rules (bench): Move bench.out after the run is complete.
8567
73e0cd5d
SP
8568 * Rules (bench): Echo currently running benchmark.
8569
64aabd4b
SP
8570 * benchtests/Makefile (bench): Add atan and slowatan.
8571 * benchtests/atan-inputs: New file.
8572 * benchtests/slowatan-inputs: New file.
8573 * benchtests/slowatan.c: New file.
8574
c871eccd
SP
8575 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8576 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8577 its value.
8578
d755bba4
SP
8579 [BZ #15305]
8580 * sysdeps/unix/sysv/linux/kernel-features.h
8581 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8582 __ASSUME_XFS_RESTRICTED_CHOWN.
8583 * sysdeps/unix/sysv/linux/pathconf.c
8584 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8585 Save and restore errno.
8586
52ce4860
JM
85872013-04-02 Joseph Myers <joseph@codesourcery.com>
8588
8589 [BZ #15327]
8590 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8591 arguments using __kernel_casinh.
8592 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8593 arguments using __kernel_casinhf.
8594 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8595 arguments using __kernel_casinhl.
8596 * math/libm-test.inc (cacosh_test): Add more tests.
8597 * sysdeps/i386/fpu/libm-test-ulps: Update.
8598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8599
81f311c2
SP
86002013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8601
e7906a47
SP
8602 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8603 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8604
92e3664b
SP
8605 * bench/Makefile (bench): Add sin and slowsin.
8606 * benchtests/sin-inputs: New file.
8607 * benchtests/slowsin-inputs: New file.
8608 * benchtests/slowsin.c: New file.
8609
81f311c2
SP
8610 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8611 (bench): Add slowexp and slowpow.
8612 (exp-ITER): Increase iterations.
8613 (pow-ITER): Likewise.
8614 * benchtests/exp-inputs: Change input.
8615 * benchtests/pow-inputs: Likewise.
8616 * benchtests/slowexp-inputs: New file.
8617 * benchtests/slowexp.c: New file.
8618 * benchtests/slowpow-inputs: New file.
8619 * benchtests/slowpow.c: New file.
8620
ab0f1aa9
AZ
86212013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8622
8623 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8624 instructions.
8625 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8626 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8627 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8628 * benchtests/Makefile: Add rint benchtest.
8629 * benchtests/rint-inputs: Input for rint benchtest.
8630
57267616
TS
86312013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8632
8633 * Versions.def (libm): Add GLIBC_2.18.
8634 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8635 hidden libm prototypes.
8636 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8637 * math/Makefile (libm-calls): Add s_issignaling.
8638 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8639 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8640 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8641 declaration.
8642 * math/math.h [__USE_GNU] (issignaling): New macro.
8643 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8644 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8646 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8649 * manual/arith.texi (issignaling): New section.
8650 * manual/libm-err-tab.pl (@all_functions): Update comment.
8651 * math/gen-libm-test.pl (parse_args): Apply special handling for
8652 issignaling.
8653 * math/libm-test.inc (print_float, issignaling_test): New
8654 functions.
8655 (check_float_internal): Add issignaling checks.
8656 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8657 default definition.
8658 * sysdeps/powerpc/math-tests.h: New file.
8659 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8660 tests.
8661 * math/test-snan.c (TEST_FUNC): Likewise.
8662
6142896d
DM
86632013-03-30 David S. Miller <davem@davemloft.net>
8664
8665 * po/de.po: Update from translation team.
8666
ccc8cadf
JM
86672013-03-30 Joseph Myers <joseph@codesourcery.com>
8668
8669 [BZ #10357]
8670 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8671 imaginary part less than 1.0 and real part less than 0.5
8672 specially.
8673 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8674 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8675 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8676 (cacos_test): Add more tests.
8677 (casin_test): Likewise.
8678 (casinh_test): Likewise.
8679 * sysdeps/i386/fpu/libm-test-ulps: Update.
8680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8681
0f6a8d4b
SP
86822013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8683
0d1029de
SP
8684 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8685 ONE with its value.
8686
c2d94018
SP
8687 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8688 (__pow_mp): Replace ONE and MONE with their values.
8689 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8691 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8692 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8693 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8694 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8695
27ec37f1
SP
8696 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8697
a64d7e0e
SP
8698 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8699 (__pow_mp): Replace ZERO and MZERO with their values.
8700 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8702 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8704 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8705 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8706 (__sqr): Likewise.
8707
d26dd3eb
SP
8708 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8709
0f6a8d4b
SP
8710 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8711
e57b0c61
RM
87122013-03-28 Roland McGrath <roland@hack.frob.com>
8713
8714 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8715 Declare with __attribute__ ((weak)).
8716 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8717 Call __call_tls_dtors only if it's not NULL.
8718
356b3480
RM
87192013-03-28 Roland McGrath <roland@hack.frob.com>
8720
288f7d79
RM
8721 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8722 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8723 magic __ehdr_start linker symbol if it's defined.
8724 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8725 them up here if it was already done.
8726
dc0a0263
RM
8727 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8728 (_dl_aux_init): Use const in cast when setting it.
8729 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8730 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8731 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8732
3d3436ae
RM
8733 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8734 Declare them here.
8735 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8736 * csu/libc-tls.c: Nor here.
8737 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8738
356b3480
RM
8739 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8740 (__libc_message): Never call vsyslog.
8741
b0f1246a
AM
87422013-03-28 Alan Modra <amodra@gmail.com>
8743
8744 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8745 Define as empty.
8746 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8747 Likewise.
8748
fbbe2b9a
AZ
87492013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8750
8751 [BZ #15214]
8752 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8753 underflow.
8754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8755
1728ab37
SP
87562013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8757
7a86be6e
SP
8758 [BZ #15304]
8759 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8760 Don't add gid passed as argument.
8761
1728ab37
SP
8762 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8763
3a7182a1
JM
87642013-03-27 Joseph Myers <joseph@codesourcery.com>
8765
8766 [BZ #15307]
8767 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8768 imaginary part between 1.0 and 1.5 and real part less than 0.5
8769 specially.
8770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8772 * math/libm-test.inc (cacos_test): Add more tests.
8773 (casin_test): Likewise.
8774 (casinh_test): Likewise.
8775 * sysdeps/i386/fpu/libm-test-ulps: Update.
8776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8777
6f2e90e7
SP
87782013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8779
5739f705
SP
8780 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8781 constants.
8782 (norm): Likewise.
8783 (denorm): Likewise.
8784 (__dbl_mp): Likewise.
8785 (add_magnitudes): Likewise.
8786 (sub_magnitudes): Likewise.
8787 (__add): Likewise.
8788 (__sub): Likewise.
8789 (__mul): Likewise.
8790 (__sqr): Likewise.
8791 (__inv): Likewise.
8792 (__dvd): Likewise.
8793
e375e83d
SP
8794 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8795 commented code.
8796 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8797 (__dubcos): Likewise.
8798 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8799 (__ieee754_acos): Likewise.
8800 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8801 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8802 (__exp1): Likewise.
8803 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8805 (log1): Likewise.
8806 (my_log2): Likewise.
8807 (checkint): Likewise.
8808 * sysdeps/ieee754/dbl-64/e_remainder.c
8809 (__ieee754_remainder): Likewise.
8810 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8812 (bsloww): Likewise.
8813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8814
6f2e90e7
SP
8815 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8816 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8817 MANTISSA_STORE_T to store computations on mantissa. Use
8818 macros for rounding and division.
8819 (denorm): Likewise.
8820 (__dbl_mp): Likewise.
8821 (add_magnitudes): Likewise.
8822 (sub_magnitudes): Likewise.
8823 (__mul): Likewise.
8824 (__sqr): Likewise.
8825 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8826 powers of two in terms of TWOPOW macro.
8827 (mp_no): Make type of mantissa as MANTISSA_T.
8828 [!RADIXI]: Define RADIXI.
8829 [!TWO52]: Define TWO52.
8830 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8831
fce14d4e
AZ
88322013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8833
8834 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8835 llroundl symbol when building for PPC32.
8836
9ad027fb
MW
88372013-03-24 Mark H Weaver <mhw@netris.org>
8838
8839 * manual/arith.texi (Normalization Functions): Fix prototypes for
8840 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8841
e42a38dd
AZ
88422013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8843
8844 [BZ #13889]
8845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8846 high value to check if expl overflow.
8847 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8848 to check for underflow and overflow.
8849 * math/libm-test.inc: Add exp test.
8850
2e0fb521
DL
88512013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8852
8853 [BZ #11120]
8854 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8855 with NOT_IN_libc.
8856
b5784d95
AZ
88572013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8858
8859 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8860 symbol.
8861
5aa4a1a1
TS
88622013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8863
bdef0be7
TS
8864 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8865 wrap blocks consisting of several statements.
8866
5aa4a1a1
TS
8867 * sysdeps/generic/math-tests.h: New file.
8868 * sysdeps/i386/fpu/math-tests.h: Likewise.
8869 * math/test-snan.c: Include it.
8870 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8871
98c48fe5
JM
88722013-03-21 Joseph Myers <joseph@codesourcery.com>
8873
8874 [BZ #15285]
8875 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8876 (__ieee754_j0l): Do not improve calculations using cos of twice
8877 input for inputs above LDBL_MAX / 2.0L.
8878 (__ieee754_y0l): Likewise.
8879 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8880 (__ieee754_j1l): Do not improve calculations using cos of twice
8881 input for inputs above LDBL_MAX / 2.0L.
8882 (__ieee754_y1l): Likewise.
8883 * math/libm-test.inc (j0_test): Add another test.
8884 (j1_test): Likewise.
8885 (y0_test): Likewise.
8886 (y1_test): Likewise.
8887 * sysdeps/i386/fpu/libm-test-ulps: Update.
8888
3775a8bc
SP
88892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8890
8891 * Rules ($(objpfx)bench-%.c): Include code from a C source
8892 file.
8893
0a1b2ae6
JM
88942013-03-21 Joseph Myers <joseph@codesourcery.com>
8895
8896 [BZ #15287]
8897 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8898 imaginary part 1.0 and real part less than 0.5 specially.
8899 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8900 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8901 * math/libm-test.inc (cacos_test): Add more tests.
8902 (casin_test): Likewise.
8903 (casinh_test): Likewise.
8904 * sysdeps/i386/fpu/libm-test-ulps: Update.
8905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8906
b33d4ce4
SP
89072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8908
8909 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8910 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8911
bef0b507
JM
89122013-03-20 Joseph Myers <joseph@codesourcery.com>
8913
8914 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8915 * config.make.in (config-cflags-sse4): Remove variable.
8916 (config-cflags-avx): Likewise.
8917 (config-cflags-sse2avx): Likewise.
8918 (config-cflags-novzeroupper): Likewise.
8919 (config-asflags-i686): Likewise.
8920 (have-mfma4): Likewise.
8921 (have-as-vis3): Likewise.
8922 (MIG): Likewise.
8923 * configure.in (MIG): Do not AC_SUBST.
8924 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8925 (libc_cv_cc_sse4): Do not AC_SUBST.
8926 (libc_cv_cc_avx): Likewise.
8927 (libc_cv_cc_sse2avx): Likewise.
8928 (libc_cv_cc_novzeroupper): Likewise.
8929 (libc_cv_cc_fma4): Likewise.
8930 (libc_cv_as_i686): Likewise.
8931 (libc_cv_sparc_as_vis3): Likewise.
8932 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8933 LIBC_CONFIG_VAR.
8934 (config-asflags-i686): Likewise.
8935 (config-cflags-avx): Likewise.
8936 (config-cflags-sse2avx): Likewise.
8937 (have-mfma4): Likewise.
8938 (config-cflags-novzeroupper): Likewise.
8939 * sysdeps/mach/configure.in (MIG): Likewise.
8940 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8941 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8942 LIBC_CONFIG_VAR.
8943 (config-cflags-avx): Likewise.
8944 (config-cflags-sse2avx): Likewise.
8945 (have-mfma4): Likewise.
8946 (config-cflags-novzeroupper): Likewise.
8947 * configure: Regenerated.
8948 * sysdeps/i386/configure: Likewise.
8949 * sysdeps/mach/configure: Likewise.
8950 * sysdeps/sparc/configure: Likewise.
8951 * sysdeps/x86_64/configure: Likewise.
8952
912cc4b3
RM
89532013-03-20 Roland McGrath <roland@hack.frob.com>
8954
8955 [BZ #14812]
8956 * locale/programs/localedef.c (options): Put N_ translation marker
8957 on argument names, not just descriptions.
8958
04eed2b0
MS
89592013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8960
8961 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8962
a065ceff
OB
89632013-03-20 Ondřej Bílka <neleai@seznam.cz>
8964
9bb2a810 8965 [BZ #14176]
a065ceff
OB
8966 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8967
a600e5ce
RM
89682013-03-19 Roland McGrath <roland@hack.frob.com>
8969
8970 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8971 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8972 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8973 [!BEFORE_ABORT] (before_abort): New function.
8974 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8975 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8976 (writev_for_fatal): New function.
8977 (WRITEV_FOR_FATAL): New macro; call that.
8978 (backtrace_and_maps): New function.
8979 (BEFORE_ABORT): New macro; call that.
8980 (struct str_list): Type removed.
8981 (__libc_message, __libc_fatal): Functions removed.
8982 Include <sysdeps/posix/libc_fatal.c> instead.
8983
6b18bea6
JM
89842013-03-19 Joseph Myers <joseph@codesourcery.com>
8985
8986 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8987 constants.
8988 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8989 double constants.
8990
aaa8cb4b
AS
89912013-03-19 Andreas Schwab <schwab@suse.de>
8992
44673770
AS
8993 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8994 * sysdeps/gnu/configure: Regenerate.
8995
aaa8cb4b
AS
8996 * configure.in: Substitute libc_cv_rtlddir.
8997 * configure: Regenerate.
8998 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8999 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9000 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9001 * elf/Makefile (install-others, CFLAGS-interp.c)
9002 (ldso_install, common-ldd-rewrite): Likewise.
9003 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9004 $(inst_slibdir)/$(rtld-installed-name).
9005 * scripts/rellns-sh: Add -p option.
9006 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9007 for source.
9008
d3cfc668
SP
90092013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9010
9011 * manual/nptl.texi: Renamed to ...
9012 * manual/threads.texi: ... this.
9013 * manual/Makefile (chapters): Update.
9014
0e2b9cdd
RM
90152013-03-18 Roland McGrath <roland@hack.frob.com>
9016
9017 [BZ #14812]
9018 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9019 on argument names, not just descriptions.
0e2b9cdd
RM
9020 * malloc/memusagestat.c (options): Likewise.
9021 * nss/getent.c (options): Likewise.
63270c24
RM
9022
90232013-03-18 Benno Schulenberg <bensberg@justemail.net>
9024
9025 [BZ #14812]
9026 * iconv/iconv_prog.c (options): Put N_ translation marker
9027 on argument names, not just descriptions.
9028 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9029
b2e1393c
OB
90302013-03-18 Ondrej Bilka <neleai@seznam.cz>
9031
9032 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9033 implementation which is faster on all x86_64 architectures.
9034 Tested on AMD, Intel Nehalem, SNB, IVB.
9035 * sysdeps/x86_64/strnlen.S: Likewise.
9036
9037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9038 Remove all multiarch strlen and strnlen versions.
9039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9040 Remove strlen and strnlen related parts.
9041
9042 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9043 Inline strlen part.
9044 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9045
9046 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9047 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9048 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9049 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9050 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9051 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9052
ec4ff04d
CD
90532013-03-17 Carlos O'Donell <carlos@redhat.com>
9054
9055 * manual/memory.texi (Malloc Tunable Parameters):
9056 Sort parameters alphabetically. Add comments for missing entries.
9057
cd18e90a
DM
90582013-03-17 David S. Miller <davem@davemloft.net>
9059
9060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9061
2a185d32
JM
90622013-03-16 Joseph Myers <joseph@codesourcery.com>
9063
d2f9799e
JM
9064 [BZ #15283]
9065 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9066 for arguments at most half maximum finite value.
9067 * math/libm-test.inc (j0_test): Add more tests.
9068 (j1_test): Likewise.
9069 (y0_test): Likewise.
9070 (y1_test): Likewise.
9071 * sysdeps/i386/fpu/libm-test-ulps: Update.
9072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9073
2a185d32
JM
9074 [BZ #14155]
9075 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9076 1 / x and functions P and Q for arguments above 0x1p256L.
9077 (__ieee754_y0l): Likewise.
9078 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9079 (__ieee754_y1l): Likewise.
9080 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9081 (j1_test): Likewise.
9082 (y0_test): Likewise.
9083 (y1_test): Likewise.
9084
6cbec759
TS
90852013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9086
9087 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9088 variable.
9089
bc16e260
RM
90902013-03-15 Roland McGrath <roland@hack.frob.com>
9091
aefc9b8c
RM
9092 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9093 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9094 zero since it's initialized to EXEC_PAGESIZE.
9095
bc16e260
RM
9096 * sysdeps/unix/sysv/linux/ldsodefs.h
9097 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9098 * sysdeps/generic/ldsodefs.h: ... here.
9099
a57da955
TS
91002013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9101
af00a34d
TS
9102 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9103
495ded2c
TS
9104 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9105 math/test-snan.c.
9106 * math/test-snan.c: Renamed from
9107 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9108 * math/Makefile (tests): Add test-snan.
9109 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9110 test-powerpc-snan.
9111
777b0332
TS
9112 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9113 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9114 functions.
9115 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9116 __builtin_nan family of functions.
9117 * math/libm-test.inc (initialize): Initialize qnan_value with
9118 __builtin_nan family of functions.
9119 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9120 Remove variables.
9121 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9122 Remove functions.
9123 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9124 storage class. Initialize qNaN_var and sNaN_var with
9125 __builtin_nan and __builtin_nans families of functions,
9126 respectively.
9127
64d063b8
TS
9128 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9129 (sqrt_test): Remove duplicate test with qNaN input.
9130 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9131 (round_test, signbit_test, significand_test): Note missing +/-Inf
9132 as well as qNaN tests.
9133
67e971f1
TS
9134 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9135 qNaN_var. Fix a few strings, too.
9136 * math/libm-test.inc (nan_value): Rename to qnan_value.
9137 * math/gen-libm-test.pl (%beautify): Adjust to that.
9138 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9139 * math/test-misc.c (main): Likewise.
9140 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9141 to __qnan_bytes, and __qnan_union, respectively.
9142 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9143 Likewise.
9144 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9145 and lqnanval, respectively.
9146 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9147 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9148 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9149 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9150
64487e12
TS
9151 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9152 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9153 doubles.
9154
e015e27b
TS
9155 * math/test-misc.c (main): Fix copy'n'pastos.
9156 * misc/tst-efgcvt.c (special): Likewise.
9157
a57da955
TS
9158 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9159 Remove declarations.
9160
1e380345
SP
91612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9162
9163 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9164 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9165 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9166 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9167
ef26eece
AZ
91682013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9169
9170 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9171 macro to return vdso values correctly in IFUNC implementations.
9172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9173 Optimization by using IFUNC.
9174
8cfdb7e0
SP
91752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9176 Richard Henderson <rth@redhat.com>
9177 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9178
9179 * Makefile.in (bench): New target.
9180 * NEWS: Mention the benchmark framework.
9181 * Rules (bench): Likewise.
9182 (binaries-bench): Generate binaries for functions to
9183 benchmark.
9184 * benchtests/Makefile: New makefile for benchmark tests.
9185 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9186 programs.
9187 * benchtests/exp-inputs: New input file for EXP function.
9188 * benchtests/pow-inputs: New input file for POW function.
9189 * scripts/bench.pl: New script to generate source files for
9190 benchmark programs.
9191
bcda9880
SP
91922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9193
d22ca8cd
SP
9194 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9195 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9196 computations on mantissa. Use macros for rounding and
9197 division.
9198 (denorm): Likewise.
9199 (__dbl_mp): Likewise.
9200 (add_magnitudes): Likewise.
9201 (sub_magnitudes): Likewise.
9202 (__mul): Likewise.
9203 (__sqr): Likewise.
9204 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9205 powers of two in terms of TWOPOW macro.
9206 (mp_no): Make type of mantissa as MANTISSA_T.
9207 [!RADIXI]: Define RADIXI.
9208 [!TWO52]: Define TWO52.
9209 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9210
bcda9880
SP
9211 * manual/nptl.texi (cindex): Modify threads to pthreads.
9212
06d5adfb
JM
92132013-03-15 Joseph Myers <joseph@codesourcery.com>
9214
9215 * sysdeps/x86_64/preconfigure: Regenerated.
9216
41c7328e
JM
92172013-03-14 Joseph Myers <joseph@codesourcery.com>
9218
9219 [BZ #14155]
9220 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9221 0x1p28 and above.
9222 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9223 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9224 0x1p28 and above.
9225 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9226 * math/libm-test.inc (j0_test): Do not allow one spurious
9227 underflow exception.
9228 (y1_test): Likewise.
9229
e25cfa60
SP
92302013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9231
0409959c
SP
9232 * manual/Makefile (chapters): Add nptl.
9233 * manual/debug.texi (Debugging Support): Add link to Threads
9234 chapter.
9235 * manual/nptl.texi: New file.
9236
e25cfa60
SP
9237 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9238
58a1335e
PB
92392013-03-14 Petr Baudis <pasky@ucw.cz>
9240
9241 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9242 for non-NULL pointer before the memory validity test. Pointed
9243 out by Holger Brunck <holger.brunck@keymile.com>.
9244
9dc7c64f
AS
92452013-03-13 Andreas Schwab <schwab@suse.de>
9246
9247 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9248 instead of .os.
9249
54206aa6
JM
92502013-03-13 Joseph Myers <joseph@codesourcery.com>
9251
9252 * timezone/zic.c: Update from tzcode 2013b.
9253
e98cdb38
CD
92542013-03-12 Carlos O'Donell <carlos@redhat.com>
9255
9256 * manual/install.texi (Configuring and compiling):
9257 Mention i686 and i586.
9258 * INSTALL: Regenerate.
9259
9967e003
RM
92602013-03-12 Roland McGrath <roland@hack.frob.com>
9261
9262 * sysdeps/init_array/elf-init.c: New file.
9263 * csu/elf-init.c
9264 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9265 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9266
9267 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9268 __gmon_start__ as global, but as static with a .preinit_array pointer.
9269 * sysdeps/init_array/gmon-start.c: New file. Use that.
9270 * sysdeps/init_array/crti.S: New file, empty except for comments.
9271 * sysdeps/init_array/crtn.S: Likewise.
9272
e6b5a293 92732013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9274
9275 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9276 definining bcopy.
80f844c9
OB
9277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9278 Remove Prefer_SSE_for_memop.
9279 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9280 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9281 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9283 memset-x86-64.
80f844c9 9284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9285 Remove bzero, memset ifunc support.
80f844c9
OB
9286 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9287 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9288 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9289 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9290
fb6b0fcb
AS
92912013-03-11 Andreas Schwab <schwab@suse.de>
9292
9293 [BZ #15234]
9294 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9295 by SHLIB_COMPAT.
9296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9297 (GLIBC_2.16): Remove pthread_atfork.
9298
3e6bd4b1
PP
92992013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9300
9301 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9302 (ptestcases.h): Likewise.
9303
222d7f00
RM
93042013-03-08 Roland McGrath <roland@hack.frob.com>
9305
9306 * Makeconfig ($(common-objpfx)config.status): Depend on
9307 sysdeps/*/preconfigure{,.in} too.
9308
1ba4f030
JM
93092013-03-08 Joseph Myers <joseph@codesourcery.com>
9310
a222d91a
JM
9311 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9312 (__free_hook): Use void * instead of __malloc_ptr_t.
9313 (__malloc_hook): Likewise.
9314 (__realloc_hook): Likewise.
9315 (__memalign_hook): Likewise.
9316 (__after_morecore_hook): Likewise.
9317 * malloc/arena.c (save_malloc_hook): Likewise.
9318 (save_free_hook): Likewise.
9319 * malloc/hooks.c (malloc_hook_ini): Likewise.
9320 (realloc_hook_ini): Likewise.
9321 (memalign_hook_ini): Likewise.
9322 * malloc/malloc.c (malloc_hook_ini): Likewise.
9323 (realloc_hook_ini): Likewise.
9324 (memalign_hook_ini): Likewise.
9325 (__free_hook): Likewise.
9326 (__malloc_hook): Likewise.
9327 (__realloc_hook): Likewise.
9328 (__memalign_hook): Likewise.
9329 (__libc_malloc): Likewise.
9330 (__libc_free): Likewise.
9331 (__libc_realloc): Likewise.
9332 (__libc_memalign): Likewise.
9333 (__libc_valloc): Likewise.
9334 (__libc_pvalloc): Likewise.
9335 (__libc_calloc): Likewise.
9336 (__posix_memalign): Likewise.
9337 * malloc/morecore.c (__sbrk): Likewise.
9338 (__default_morecore): Likewise.
9339
5cc45e10
JM
9340 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9341
dd54b864
JM
9342 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9343 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9344 __malloc_ptrdiff_t.
9345
1ba4f030
JM
9346 * malloc/malloc.h (__malloc_size_t): Remove macro.
9347 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9348 __malloc_size_t.
9349 (old_memalign_hook): Likewise.
9350 (old_realloc_hook): Likewise.
9351 (struct hdr): Likewise.
9352 (flood): Likewise.
9353 (mallochook): Likewise.
9354 (memalignhook): Likewise.
9355 (reallochook): Likewise.
9356 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9357 (tr_old_realloc_hook): Likewise.
9358 (tr_old_memalign_hook): Likewise.
9359 (tr_mallochook): Likewise.
9360 (tr_reallochook): Likewise.
9361 (tr_memalignhook): Likewise.
9362
edf66e57
AZ
93632013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9364
9365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9366 default_ldbl_pack and using as default implementation.
9367 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9368 implementation.
9369 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9370 redundant definition.
9371 (ldbl_insert_mantissa): Likewise.
9372 (ldbl_canonicalize): Likewise.
9373 (ldbl_nearbyint): Likewise.
9374 (ldbl_pack): Rename to ldbl_pack_ppc.
9375 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9376 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9377 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9378
6d9145d8
SP
93792013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9380
9381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9382 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9383 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9384 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9386 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9387 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9388 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9389
4dd4e157
AJ
93902013-03-07 Andreas Jaeger <aj@suse.de>
9391
9392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9393 bits/mman-linux.h.
9394
adbb8027
SP
93952013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9396
ce544b5b
SP
9397 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9398 Include mpa.h and declare __MPEXP.
9399 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9400 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9401 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9402 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9403 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9404 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9405 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9406
4cc149fd
SP
9407 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9408 (__slowpow): Use long double EXPL and LOGL functions to
9409 compute POW.
9410 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9411 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9412 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9413 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9414 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9415 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9416
e6ebd4a7
SP
9417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9418 intermediate variable to calculate exponent.
9419 (__sqr): Likewise.
9420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9421 Likewise.
9422 (__sqr): Likewise.
9423
82a9811d
SP
9424 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9425 [!NO__SQR]: Define __sqr.
9426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9427 and NO__SQR. Remove all code except __mul and __sqr. Include
9428 sysdeps/ieee754/dbl-64/mpa.c.
9429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9430
adbb8027
SP
9431 [BZ #12723]
9432 * posix/Makefile (tests): Add tst-pathconf.
9433 * posix/tst-pathconf.c: New test case.
9434 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9435 _PC_PIPE_BUF.
9436 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9437
39120df9
PF
94382013-03-06 Patsy Franklin <pfrankli@redhat.com>
9439
9440 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9441
67525cb8
AJ
94422013-03-06 Andreas Jaeger <aj@suse.de>
9443
664a9ce4
AJ
9444 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9445 definition via __MAP_ANONYMOUS.
9446
8e39047d
AJ
9447 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9448 it's not part of Linux headers.
9449
67525cb8
AJ
9450 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9451 (MAP_HUGE_MASK): Define.
9452
9453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9454 Define.
9455 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9457 Define.
9458 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9459 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9460 Define.
9461 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9463 Define.
9464 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9465
9466 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9467 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9468 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9469 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9470 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9471 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9472
9473 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9474 Handle f2fs.
9475
9476 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9477 Handle f2fs and efivarfs.
9478
9479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9480 f2fs.
9481
9482 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9483 (EFIVARFS_MAGIC): Add.
9484 (F2FS_LINK_MAX): Add.
9485
e1b42695
PP
94862013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9487
9488 * stdio-common/vfprintf.c: Replace __builtin_expect with
9489 __glibc_unlikely.
9490
2d67d91a
JM
94912013-03-06 Joseph Myers <joseph@codesourcery.com>
9492
9493 [BZ #13550]
9494 * sysdeps/generic/bp-sym.h: Remove file.
9495 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9496 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9497 <bp-sym.h> and <bp-asm.h>.
9498 (__longjmp): Don't use BP_SYM.
9499 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9500 and <bp-asm.h>.
9501 (memcpy): Don't use BP_SYM.
9502 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9503 <bp-sym.h> and <bp-asm.h>.
9504 (memcpy): Don't use BP_SYM.
9505 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9506 <bp-asm.h>.
9507 (memcpy): Don't use BP_SYM.
9508 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9509 <bp-asm.h>.
9510 (memset): Don't use BP_SYM.
9511 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9512 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9513 (__bzero): Don't use BP_SYM.
9514 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9515 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9516 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9517 <bp-sym.h> and <bp-asm.h>.
9518 (memcmp): Don't use BP_SYM. Remove comment about bounded
9519 pointers.
9520 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9521 <bp-sym.h> and <bp-asm.h>.
9522 (memcpy): Don't use BP_SYM.
9523 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9524 <bp-sym.h> and <bp-asm.h>.
9525 (memset): Don't use BP_SYM.
9526 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9527 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9528 (__bzero): Don't use BP_SYM.
9529 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9530 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9531 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9532 <bp-sym.h> and <bp-asm.h>.
9533 (strncmp): Don't use BP_SYM. Remove comment about bounded
9534 pointers.
9535 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9536 <bp-sym.h> and <bp-asm.h>.
9537 (memcpy): Don't use BP_SYM.
9538 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9539 <bp-sym.h> and <bp-asm.h>.
9540 (memset): Don't use BP_SYM.
9541 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9542 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9543 (__bzero): Don't use BP_SYM.
9544 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9545 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9547 <bp-sym.h> and <bp-asm.h>.
9548 (__memchr): Don't use BP_SYM.
9549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9550 <bp-sym.h> and <bp-asm.h>.
9551 (memcmp): Don't use BP_SYM. Remove comment about bounded
9552 pointers.
9553 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9554 <bp-sym.h> and <bp-asm.h>.
9555 (memcpy): Don't use BP_SYM.
9556 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9557 <bp-sym.h> and <bp-asm.h>.
9558 (__mempcpy): Don't use BP_SYM.
9559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9560 <bp-sym.h> and <bp-asm.h>.
9561 (__memrchr): Don't use BP_SYM.
9562 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9563 <bp-sym.h> and <bp-asm.h>.
9564 (memset): Don't use BP_SYM.
9565 (__bzero): Likewise.
9566 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9567 <bp-sym.h> and <bp-asm.h>.
9568 (__rawmemchr): Don't use BP_SYM.
9569 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9570 <bp-sym.h> and <bp-asm.h>.
9571 (__STRCMP): Don't use BP_SYM.
9572 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9573 <bp-sym.h> and <bp-asm.h>.
9574 (strchr): Don't use BP_SYM.
9575 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9576 <bp-sym.h> and <bp-asm.h>.
9577 (__strchrnul): Don't use BP_SYM.
9578 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9579 <bp-sym.h> and <bp-asm.h>.
9580 (strlen): Don't use BP_SYM.
9581 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9582 <bp-sym.h> and <bp-asm.h>.
9583 (strncmp): Don't use BP_SYM. Remove comment about bounded
9584 pointers.
9585 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9586 <bp-sym.h> and <bp-asm.h>.
9587 (__strnlen): Don't use BP_SYM.
9588 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9589 <bp-sym.h> and <bp-asm.h>.
9590 (__GI__setjmp): Don't use BP_SYM.
9591 (_setjmp): Likewise.
9592 (__sigsetjmp): Likewise.
9593 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9594 (L(start_addresses)): Don't use BP_SYM.
9595 (_start): Likewise.
9596 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9597 <bp-asm.h>.
9598 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9599 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9600 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9601 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9602 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9603 <bp-asm.h>.
9604 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9605 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9606 about bounded pointers.
9607 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9608 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9609 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9610 <bp-asm.h>.
9611 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9612 about bounded pointers. Remove GKM FIXME comments.
9613 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9614 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9615 <bp-asm.h>.
9616 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9617 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9618 Remove GKM FIXME comments.
9619 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9620 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9621 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9622 <bp-asm.h>.
9623 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9624 about bounded pointers. Remove GKM FIXME comment.
9625 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9626 and <bp-asm.h>.
9627 (strncmp): Don't use BP_SYM. Remove comment about bounded
9628 pointers.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9630 <bp-sym.h> and <bp-asm.h>.
9631 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9633 <bp-sym.h> and <bp-asm.h>.
9634 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9635 comment.
9636
cdcf361f
PP
96372013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9638
9639 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9640 call free(NULL).
9641
3c4a2b15
DM
96422013-03-05 David S. Miller <davem@davemloft.net>
9643
9644 * po/es.po: Update from translation team.
9645
cdcf361f 96462013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9647
9648 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9649 <bits/mman-linux.h>.
9650 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9651 is fine.
9652 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9653 <bits/mman-linux.h> to end of file.
9654 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9655 is fine.
9656 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9657 <bits/mman-linux.h> to end of file.
9658 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9659 is fine.
9660 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9661 <bits/mman-linux.h> to end of file.
9662
9663 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9664 (MCL_CURRENT, MCL_FUTURE): Define here.
9665
5f67c04f
AK
96662013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9667
8a4473cc 9668 [BZ #15232]
5f67c04f
AK
9669 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9670 attribute_hidden.
9671 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9672
c3e94a95
AK
96732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9674
9675 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9676 fourth parameter needed for rt_sigprocmask syscall.
9677 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9678 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9679 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9680 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9681 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9682 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9683
cfb6382a
JM
96842013-03-04 Joseph Myers <joseph@codesourcery.com>
9685
9686 [BZ #13550]
9687 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9688 comment about bounded pointers.
9689 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9690 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9691
539d8e01
AJ
96922013-03-04 Andreas Jaeger <aj@suse.de>
9693
9694 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9695 common definitions.
9696
9697 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9698 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9699 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9700 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9701 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9703
2e167a70 97042013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9705
9706 [BZ #15055]
9707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9708 __ieee754_sqrl instead of __sqrl.
9709
68508633
JM
97102013-03-01 Joseph Myers <joseph@codesourcery.com>
9711
9712 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9713 * sysdeps/powerpc/fpu_control.h: ... here.
9714 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9715 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9716 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9717 * sysdeps/powerpc/bits/mathinline.h: ... here.
9718
7775448e
RM
97192013-03-01 Roland McGrath <roland@hack.frob.com>
9720
9721 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9722 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9723 to just [NEED_DL_SYSINFO_DSO].
9724 * elf/dl-support.c: Likewise.
9725 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9726 * elf/rtld.c (dl_main): Likewise.
9727 * elf/setup-vdso.h (setup_vdso): Likewise.
9728 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9729 * sysdeps/unix/sysv/linux/dl-sysdep.c
9730 (_dl_discover_osversion): Likewise.
9731
4e9b5995
CD
97322013-03-01 Carlos O'Donell <carlos@redhat.com>
9733
9734 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9735 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9736
e23872c8
SP
97372013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9738
e5c74c63
SP
9739 * NEWS: Mention libm performance improvements and non-x86 PI
9740 futex support.
9741
e23872c8
SP
9742 * csu/libc-start.c (__pthread_initialize_minimal): Change
9743 function arguments.
9744 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9745
b5510883
JM
97462013-02-28 Joseph Myers <joseph@codesourcery.com>
9747
9748 [BZ #13550]
9749 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9750 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9751 <bp-sym.h> and <bp-asm.h>.
9752 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9753 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9754 and <bp-asm.h>.
9755 (memcpy): Don't use BP_SYM.
9756 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9757 <bp-asm.h>.
9758 (__mpn_add_n): Don't use BP_SYM.
9759 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9760 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9761 and <bp-asm.h>.
9762 (__mpn_addmul_1): Don't use BP_SYM.
9763 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9764 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9765 <bp-sym.h>.
9766 (_setjmp): Don't use BP_SYM.
9767 (__novmx_setjmp): Likewise.
9768 (__GI__setjmp): Likewise.
9769 (__vmx_setjmp): Likewise.
9770 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9771 <bp-sym.h>.
9772 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9773 (__bzero): Don't use BP_SYM.
9774 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9775 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9776 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9777 <bp-sym.h> and <bp-asm.h>.
9778 (memcpy): Don't use BP_SYM.
9779 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9780 <bp-sym.h> and <bp-asm.h>.
9781 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9782 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9783 <bp-sym.h> and <bp-asm.h>.
9784 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9785 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9786 <bp-asm.h>.
9787 (__mpn_lshift): Don't use BP_SYM.
9788 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9789 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9790 <bp-asm.h>.
9791 (memset): Don't use BP_SYM.
9792 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9793 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9794 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9795 <bp-asm.h>.
9796 (__mpn_mul_1): Don't use BP_SYM.
9797 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9798 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9799 <bp-sym.h> and <bp-asm.h>.
9800 (memcmp): Don't use BP_SYM.
9801 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9802 <bp-sym.h> and <bp-asm.h>.
9803 (memcpy): Don't use BP_SYM.
9804 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9805 <bp-sym.h> and <bp-asm.h>.
9806 (memset): Don't use BP_SYM.
9807 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9808 <bp-sym.h> and <bp-asm.h>.
9809 (strncmp): Don't use BP_SYM.
9810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9811 <bp-sym.h> and <bp-asm.h>.
9812 (memcpy): Don't use BP_SYM.
9813 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9814 <bp-sym.h> and <bp-asm.h>.
9815 (memset): Don't use BP_SYM.
9816 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9817 <bp-sym.h> and <bp-asm.h>.
9818 (__memchr): Don't use BP_SYM.
9819 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9820 <bp-sym.h> and <bp-asm.h>.
9821 (memcmp): Don't use BP_SYM.
9822 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9823 <bp-sym.h> and <bp-asm.h>.
9824 (memcpy): Don't use BP_SYM.
9825 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9826 <bp-sym.h> and <bp-asm.h>.
9827 (__mempcpy): Don't use BP_SYM.
9828 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9829 <bp-sym.h> and <bp-asm.h>.
9830 (__memrchr): Don't use BP_SYM.
9831 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9832 <bp-sym.h> and <bp-asm.h>.
9833 (memset): Don't use BP_SYM.
9834 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9835 <bp-sym.h> and <bp-asm.h>.
9836 (__rawmemchr): Don't use BP_SYM.
9837 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9838 <bp-sym.h> and <bp-asm.h>.
9839 (__STRCMP): Don't use BP_SYM.
9840 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9841 <bp-sym.h> and <bp-asm.h>.
9842 (strchr): Don't use BP_SYM.
9843 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9844 <bp-sym.h> and <bp-asm.h>.
9845 (__strchrnul): Don't use BP_SYM.
9846 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9847 <bp-sym.h> and <bp-asm.h>.
9848 (strlen): Don't use BP_SYM.
9849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9850 <bp-sym.h> and <bp-asm.h>.
9851 (strncmp): Don't use BP_SYM.
9852 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9853 <bp-sym.h> and <bp-asm.h>.
9854 (__strnlen): Don't use BP_SYM.
9855 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9856 <bp-asm.h>.
9857 (__mpn_rshift): Don't use BP_SYM.
9858 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9859 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9860 <bp-sym.h> and <bp-asm.h>.
9861 (__sigsetjmp): Don't use BP_SYM.
9862 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9863 (L(start_addresses)): Don't use BP_SYM.
9864 (_start): Likewise.
9865 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9866 <bp-asm.h>.
9867 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9868 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9869 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9870 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9871 <bp-asm.h>.
9872 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9873 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9874 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9875 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9876 <bp-asm.h>.
9877 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9878 comments.
9879 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9880 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9881 <bp-asm.h>.
9882 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9883 FIXME comments.
9884 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9885 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9886 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9887 <bp-asm.h>.
9888 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9889 comment.
9890 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9891 and <bp-asm.h>.
9892 (strncmp): Don't use BP_SYM,
9893 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9894 <bp-asm.h>.
9895 (__mpn_sub_n): Don't use BP_SYM.
9896 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9897 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9898 and <bp-asm.h>.
9899 (__mpn_submul_1): Don't use BP_SYM.
9900 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9902 <bp-sym.h> and <bp-asm.h>.
9903 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9905 <bp-sym.h> and <bp-asm.h>.
9906 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9907 comment.
9908
8d19fe64
SP
99092013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9910
9911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9912 Use ZK to minimize writes to Z.
9913 (sub_magnitudes): Simplify code a bit.
9914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9915 Use ZK to minimize writes to Z.
9916 (sub_magnitudes): Simplify code a bit.
9917
85bd816a
RM
99182013-02-27 Roland McGrath <roland@hack.frob.com>
9919
9920 * csu/gmon-start.c: Add special exception to license text.
9921
b5977bf2
RH
99222013-02-27 Richard Henderson <rth@redhat.com>
9923
9924 * scripts/config.guess: Update from config.git.
9925 * scripts/config.sub: Likewise.
9926
11d6e2f2
SP
99272013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9928
09c14ed2
SP
9929 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9930
a688864e
SP
9931 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9932
6295157a
SP
9933 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9934
b8de2202
SP
9935 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9936
11d6e2f2
SP
9937 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9938
7e80ddb8
RM
99392013-02-26 Roland McGrath <roland@hack.frob.com>
9940
9941 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9942 [$(build-shared = yes].
7e80ddb8 9943
7da6d9ed
SP
99442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9945
45f05884
SP
9946 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9947 (__mul): Reduce iterations for calculating mantissa.
9948
2236d359
SP
9949 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9950 MPTWO.
9951 (__mpranred): Likewise.
9952
7da6d9ed
SP
9953 [BZ #15160]
9954 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9955 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9956
b7688c42
PE
99572013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9958
9959 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9960 Define __attribute__.
9961
53a5c423
SP
99622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9963
9964 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9965 unused.
9966 * posix/regex_internal.h (__attribute): Remove.
9967 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9968 (re_string_context_at): Likewise.
9969 (bitset_not): Use __attribute__ and mark function as possibly
9970 unused.
9971 (bitset_merge): Likewise.
9972 (bitset_mask): Likewise.
9973 (re_string_char_size_at): Likewise.
9974 (re_string_wchar_at): Likewise.
9975 (re_string_elem_size_at): Likewise.
9976
60f5a8b5
SP
99772013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9978
2a983a2e
SP
9979 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9980 code.
9981 (cc32): Likewise.
9982
e69804d1
SP
9983 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9984 (__acr): Likewise.
9985 (__cpy): Likewise.
9986 (norm): Likewise.
9987 (denorm): Likewise.
9988 (__dbl_mp): Likewise.
9989 (add_magnitudes): Likewise.
9990 (sub_magnitudes): Likewise.
9991 (__mul): Likewise.
9992 (__inv): Likewise.
9993
2f22a1e8
SP
9994 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9995 style.
9996
8930ddc7
SP
9997 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9998 style.
9999
dc60cb11
SP
10000 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10001 code.
10002
60f5a8b5
SP
10003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10004 up changes with default code.
10005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10006 Likewise.
10007
b4d1fd33
AM
100082013-02-24 Allan McRae <allan@archlinux.org>
10009
faf6f8bc
AM
10010 * manual/socket.texi (The Internet Namespace): Order menu items
10011 to match that in the file.
10012
b4d1fd33
AM
10013 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10014 node listing of the info page menu.
10015
2366713d
JM
100162013-02-21 Joseph Myers <joseph@codesourcery.com>
10017
10018 [BZ #13550]
10019 * sysdeps/i386/bp-asm.h: Remove file.
10020 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10021 (PARMS): Do not use macros from bp-asm.h.
10022 (S1): Likewise.
10023 (S2): Likewise.
10024 (SIZE): Likewise.
10025 (__mpn_add_n): Do not use BP_SYM
10026 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10027 "bp-asm.h".
10028 (PARMS): Do not use macros from bp-asm.h.
10029 (S1): Likewise.
10030 (SIZE): Likewise.
10031 (__mpn_addmul_1): Do not use BP_SYM
10032 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10033 "bp-asm.h".
10034 (PARMS): Do not use macros from bp-asm.h.
10035 (SIGMSK): Likewise.
10036 (_setjmp): Likewise. Do not use BP_SYM.
10037 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10038 "bp-asm.h".
10039 (PARMS): Do not use macros from bp-asm.h.
10040 (SIGMSK): Likewise.
10041 (setjmp): Likewise. Do not use BP_SYM.
10042 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10043 "bp-asm.h".
10044 (PARMS): Do not use macros from bp-asm.h.
10045 (__frexp): Do not use BP_SYM.
10046 (frexp): Likewise.
10047 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10048 "bp-asm.h".
10049 (PARMS): Do not use macros from bp-asm.h.
10050 (__frexpf): Do not use BP_SYM.
10051 (frexpf): Likewise.
10052 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10053 "bp-asm.h".
10054 (PARMS): Do not use macros from bp-asm.h.
10055 (__frexpl): Do not use BP_SYM.
10056 (frexpl): Likewise.
10057 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10058 "bp-asm.h".
10059 (PARMS): Do not use macros from bp-asm.h.
10060 (__remquo): Do not use BP_SYM.
10061 (remquo): Likewise.
10062 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10063 "bp-asm.h".
10064 (PARMS): Do not use macros from bp-asm.h.
10065 (__remquof): Do not use BP_SYM.
10066 (remquof): Likewise.
10067 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10068 "bp-asm.h".
10069 (PARMS): Do not use macros from bp-asm.h.
10070 (__remquol): Do not use BP_SYM.
10071 (remquol): Likewise.
10072 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10073 "bp-asm.h".
10074 (PARMS): Do not use macros from bp-asm.h.
10075 (DEST): Likewise.
10076 (SRC): Likewise.
10077 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10078 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10079 "bp-asm.h".
10080 (PARMS): Do not use macros from bp-asm.h.
10081 (strlen): Do not use BP_SYM.
10082 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10083 "bp-asm.h".
10084 (PARMS): Do not use macros from bp-asm.h.
10085 (S1): Likewise.
10086 (S2): Likewise.
10087 (SIZE): Likewise.
10088 (__mpn_add_n): Do not use BP_SYM.
10089 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10090 "bp-asm.h".
10091 (PARMS): Do not use macros from bp-asm.h.
10092 (S1): Likewise.
10093 (SIZE): Likewise.
10094 (__mpn_addmul_1): Do not use BP_SYM.
10095 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10096 weak_alias.
10097 (bzero): Likewise.
10098 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10099 "bp-asm.h".
10100 (PARMS): Do not use macros from bp-asm.h.
10101 (S): Likewise.
10102 (SIZE): Likewise.
10103 (__mpn_lshift): Do not use BP_SYM.
10104 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10105 "bp-asm.h".
10106 (PARMS): Do not use macros from bp-asm.h.
10107 (DEST): Likewise.
10108 (SRC): Likewise.
10109 (LEN): Likewise.
10110 (memcpy): Likewise. Do not use BP_SYM.
10111 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10112 libc_hidden_def and weak_alias.
10113 (mempcpy): Do not use BP_SYM in weak_alias.
10114 * sysdeps/i386/i586/memset.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 (LEN): Likewise.
10119 [!BZERO_P] (CHR): Likewise.
10120 (memset): Likewise. Do not use BP_SYM.
10121 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10122 "bp-asm.h".
10123 (PARMS): Do not use macros from bp-asm.h.
10124 (S1): Likewise.
10125 (SIZE): Likewise.
10126 (__mpn_mul_1): Do not use BP_SYM.
10127 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10128 "bp-asm.h".
10129 (PARMS): Do not use macros from bp-asm.h.
10130 (S): Likewise.
10131 (SIZE): Likewise.
10132 (__mpn_rshift): Do not use BP_SYM.
10133 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10134 "bp-asm.h".
10135 (PARMS): Do not use macros from bp-asm.h.
10136 (STR): Likewise.
10137 (CHR): Likewise.
10138 (strchr): Likewise. Do not use BP_SYM.
10139 (index): Do not use BP_SYM in weak_alias.
10140 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10141 "bp-asm.h".
10142 (PARMS): Do not use macros from bp-asm.h.
10143 (DEST): Likewise.
10144 (SRC): Likewise.
10145 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10146 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10147 "bp-asm.h".
10148 (PARMS): Do not use macros from bp-asm.h.
10149 (strlen): Do not use BP_SYM.
10150 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10151 "bp-asm.h".
10152 (PARMS): Do not use macros from bp-asm.h.
10153 (S1): Likewise.
10154 (S2): Likewise.
10155 (SIZE): Likewise.
10156 (__mpn_sub_n): Do not use BP_SYM.
10157 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10158 "bp-asm.h".
10159 (PARMS): Do not use macros from bp-asm.h.
10160 (S1): Likewise.
10161 (SIZE): Likewise.
10162 (__mpn_submul_1): Do not use BP_SYM.
10163 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10164 "bp-asm.h".
10165 (PARMS): Do not use macros from bp-asm.h.
10166 (S1): Likewise.
10167 (S2): Likewise.
10168 (SIZE): Likewise.
10169 (__mpn_add_n): Do not use BP_SYM.
10170 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10171 weak_alias.
10172 (bzero): Likewise.
10173 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10174 "bp-asm.h".
10175 (PARMS): Do not use macros from bp-asm.h.
10176 (BLK2): Likewise.
10177 (LEN): Likewise.
10178 (memcmp): Do not use BP_SYM.
10179 (bcmp): Do not use BP_SYM in weak_alias.
10180 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10181 "bp-asm.h".
10182 (PARMS): Do not use macros from bp-asm.h.
10183 (DEST): Likewise.
10184 (SRC): Likewise.
10185 (LEN): Likewise.
10186 (memcpy): Likewise. Do not use BP_SYM.
10187 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10188 "bp-asm.h".
10189 (PARMS): Do not use macros from bp-asm.h.
10190 (DEST): Likewise.
10191 (SRC): Likewise.
10192 (LEN): Likewise.
10193 (memmove): Likewise. Do not use BP_SYM.
10194 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10195 "bp-asm.h".
10196 (PARMS): Do not use macros from bp-asm.h.
10197 (DEST): Likewise.
10198 (SRC): Likewise.
10199 (LEN): Likewise.
10200 (__mempcpy): Likewise. Do not use BP_SYM.
10201 (mempcpy): Do not use BP_SYM in weak_alias.
10202 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10203 "bp-asm.h".
10204 (PARMS): Do not use macros from bp-asm.h.
10205 (DEST): Likewise.
10206 (LEN): Likewise.
10207 [!BZERO_P] (CHR): Likewise.
10208 (memset): Likewise. Do not use BP_SYM.
10209 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10210 "bp-asm.h".
10211 (PARMS): Do not use macros from bp-asm.h.
10212 (STR2): Likewise.
10213 (strcmp): Do not use BP_SYM.
10214 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10215 "bp-asm.h".
10216 (PARMS): Do not use macros from bp-asm.h.
10217 (STR): Likewise.
10218 (DELIM): Likewise.
10219 [USE_AS_STRTOK_R] (SAVE): Likewise.
10220 (FUNCTION): Likewise. Do not use BP_SYM.
10221 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10222 aliases.
10223 (strtok_r): Likewise.
10224 (__GI___strtok_r): Likewise.
10225 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10226 (PARMS): Do not use macros from bp-asm.h.
10227 (S): Likewise.
10228 (SIZE): Likewise.
10229 (__mpn_lshift): Do not use BP_SYM.
10230 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10231 (PARMS): Do not use macros from bp-asm.h.
10232 (STR): Likewise.
10233 (CHR): Likewise.
10234 (__memchr): Do not use BP_SYM.
10235 (memchr): Do not use BP_SYM in weak_alias.
10236 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10237 (PARMS): Do not use macros from bp-asm.h.
10238 (BLK2): Likewise.
10239 (LEN): Likewise.
10240 (memcmp): Do not use BP_SYM.
10241 (bcmp): Do not use BP_SYM in weak_alias.
10242 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10243 (PARMS): Do not use macros from bp-asm.h.
10244 (S1): Likewise.
10245 (SIZE): Likewise.
10246 (__mpn_mul_1): Do not use BP_SYM.
10247 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10248 "bp-asm.h".
10249 (PARMS): Do not use macros from bp-asm.h.
10250 (STR): Likewise.
10251 (CHR): Likewise.
10252 (__rawmemchr): Do not use BP_SYM.
10253 (rawmemchr): Do not use BP_SYM in weak_alias.
10254 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10255 (PARMS): Do not use macros from bp-asm.h.
10256 (S): Likewise.
10257 (SIZE): Likewise.
10258 (__mpn_rshift): Do not use BP_SYM.
10259 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10260 (PARMS): Do not use macros from bp-asm.h.
10261 (SIGMSK): Likewise.
10262 (__sigsetjmp): Likewise. Do not use BP_SYM.
10263 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10264 (_start): Do not use BP_SYM.
10265 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10266 (PARMS): Do not use macros from bp-asm.h.
10267 (DEST): Likewise.
10268 (SRC): Likewise.
10269 (__stpcpy): Likewise. Do not use BP_SYM.
10270 (stpcpy): Do not use BP_SYM in weak_alias.
10271 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10272 "bp-asm.h".
10273 (PARMS): Do not use macros from bp-asm.h.
10274 (DEST): Likewise.
10275 (SRC): Likewise.
10276 (LEN): Likewise.
10277 (__stpncpy): Likewise. Do not use BP_SYM.
10278 (stpncpy): Do not use BP_SYM in weak_alias.
10279 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10280 (PARMS): Do not use macros from bp-asm.h.
10281 (STR): Likewise.
10282 (CHR): Likewise.
10283 (strchr): Likewise. Do not use BP_SYM.
10284 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10285 "bp-asm.h".
10286 (PARMS): Do not use macros from bp-asm.h.
10287 (STR): Likewise.
10288 (CHR): Likewise.
10289 (__strchrnul): Likewise. Do not use BP_SYM.
10290 (strchrnul): Do not use BP_SYM in weak_alias.
10291 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10292 "bp-asm.h".
10293 (PARMS): Do not use macros from bp-asm.h.
10294 (STOP): Likewise.
10295 (strcspn): Do not use BP_SYM.
10296 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10297 "bp-asm.h".
10298 (PARMS): Do not use macros from bp-asm.h.
10299 (STR): Likewise.
10300 (STOP): Likewise.
10301 (strpbrk): Likewise. Do not use BP_SYM.
10302 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10303 "bp-asm.h".
10304 (PARMS): Do not use macros from bp-asm.h.
10305 (STR): Likewise.
10306 (CHR): Likewise.
10307 (strrchr): Likewise. Do not use BP_SYM.
10308 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10309 (PARMS): Do not use macros from bp-asm.h.
10310 (SKIP): Likewise.
10311 (strspn): Do not use BP_SYM.
10312 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10313 (PARMS): Do not use macros from bp-asm.h.
10314 (STR): Likewise.
10315 (DELIM): Likewise.
10316 (SAVE): Likewise.
10317 (FUNCTION): Likewise. Do not use BP_SYM.
10318 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10319 aliases.
10320 (strtok_r): Likewise.
10321 (__GI___strtok_r): Likewise.
10322 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10323 (PARMS): Do not use macros from bp-asm.h.
10324 (S1): Likewise.
10325 (S2): Likewise.
10326 (SIZE): Likewise.
10327 (__mpn_sub_n): Do not use BP_SYM.
10328 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10329 "bp-asm.h".
10330 (PARMS): Do not use macros from bp-asm.h.
10331 (S1): Likewise.
10332 (SIZE): Likewise.
10333 (__mpn_submul_1): Do not use BP_SYM.
10334 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10335 <bp-sym.h>.
10336 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10337 and <bp-asm.h>.
10338 (PARMS): Do not use macros from bp-asm.h.
10339 (FLAGS): Likewise.
10340 (PTID): Likewise.
10341 (TLS): Likewise.
10342 (CTID): Likewise.
10343 (__clone): Do not use BP_SYM.
10344 (clone): Do not use BP_SYM in weak_alias.
10345 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10346 and <bp-asm.h>.
10347 (PARMS): Do not use macros from bp-asm.h.
10348 (LEN): Likewise.
10349 (__mmap64): Do not use BP_SYM.
10350 (mmap64): Do not use BP_SYM in weak_alias.
10351 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10352 <bp-sym.h> and <bp-asm.h>.
10353 (PARMS): Do not use macros from bp-asm.h.
10354 (__posix_fadvise64_l64): Do not use BP_SYM.
10355 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10356 (PARMS): Do not use macros from bp-asm.h.
10357 (NSOPS): Likewise.
10358 (semtimedop): Do not use BP_SYM.
10359 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10360 and <bp-asm.h>.
10361
582a3cff
AM
103622013-02-21 Allan McRae <allan@archlinux.org>
10363
10364 * manual/message.texi (Charset conversion in gettext):
10365 Move @end statement to beginning of line.
10366
bab8a695
SP
103672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10368
80945231
SP
10369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10370 static.
10371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10372 Likewise.
10373
bab8a695
SP
10374 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10375 (denorm): Likewise.
10376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10378
e21d7aa7
AK
103792013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10380
10381 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10382 tail-call to the resolved function if pltexit isn't needed.
10383
4c7a4263
SP
103842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10385
10386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10387 or Y being zero as being unlikely.
10388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10389 Likewise.
10390
41f49342
CD
103912013-02-20 Carlos O'Donell <carlos@redhat.com>
10392
10393 * manual/nss.texi (System Databases and Name Service Switch):
10394 Remove frobnicate @pxref.
10395
50022a93
TS
103962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10397
10398 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10399 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10400
08cbd996
PM
104012013-02-20 Petr Machata <pmachata@redhat.com>
10402
10403 * elf/elf.h (R_ARM_TARGET1): New macro.
10404 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10405 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10406 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10407 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10408 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10409 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10410 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10411 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10412 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10413 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10414 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10415 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10416 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10417 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10418 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10419 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10420 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10421 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10422 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10423 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10424 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10425 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10426 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10427 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10428 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10429 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10430 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10431 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10432 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10433 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10434 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10435 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10436 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10437 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10438 (R_ARM_THM_GOT_BREL12): Likewise.
10439 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10440 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10441 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10442 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10443 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10444 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10445 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10446 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10447 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10448
c7b275d6
TS
104492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10450
10451 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10452 __attribute_used__ to __attribute__ ((unused)).
10453
20cd7fb3
SP
104542013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10455
10456 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10457 powerpc mpa.c.
10458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10459 comment formatting.
10460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10461
92945b52
JM
104622013-02-19 Joseph Myers <joseph@codesourcery.com>
10463
10464 [BZ #13550]
10465 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10466 Remove macro.
10467 (ENTER): Remove both macro definitions.
10468 (LEAVE): Likewise.
10469 (CHECK_BOUNDS_LOW): Likewise.
10470 (CHECK_BOUNDS_HIGH): Likewise.
10471 (CHECK_BOUNDS_BOTH): Likewise.
10472 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10473 (RETURN_BOUNDED_POINTER): Likewise.
10474 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10475 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10476 (POP_ERRNO_LOCATION_RETURN): Likewise.
10477 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10478 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10479 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10480 macros.
10481 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10482 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10483 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10484 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10485 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10486 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10487 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10488 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10489 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10490 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10491 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10492 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10493 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10494 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10495 removed macros.
10496 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10497 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10498 macros.
10499 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10500 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10501 * sysdeps/i386/i586/memset.S (memset): Likewise.
10502 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10503 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10504 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10505 macros.
10506 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10507 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10508 Change uses of L(2) to L(out).
10509 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10510 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10511 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10512 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10513 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10514 removed macros.
10515 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10516 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10517 macros.
10518 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10519 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10520 (RETURN): Do not use macro LEAVE.
10521 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10522 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10523 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10524 * sysdeps/i386/i686/memset.S (memset): Likewise.
10525 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10526 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10527 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10528 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10529 Likewise.
10530 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10531 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10532 L(1_2) and L(1_3) into L(1).
10533 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10534 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10535 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10536 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10537 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10538 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10539 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10540 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10541 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10542 macros.
10543 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10544 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10545 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10546 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10547 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10548 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10549 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10550 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10551 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10552 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10553 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10554 * sysdeps/i386/strspn.S (strspn): Likewise.
10555 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10556 conditional code.
10557 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10558 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10559 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10560 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10561 L(1_3) into L(1_1).
10562 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10563 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10564 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10565 macros.
10566 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10567
2389741a
JJ
105682013-02-19 Jakub Jelinek <jakub@redhat.com>
10569
10570 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10571 macro.
10572
2016b3cd
SP
105732013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10574
e4f22324
SP
10575 * math/atest-exp.c (exp_mpn): Remove ROUND.
10576 * math/atest-exp2.c (exp_mpn): Likewise.
10577 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10578
2016b3cd
SP
10579 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10580 * stdlib/tst-tls-atexit-lib.c: Likewise.
10581 * stdlib/tst-tls-atexit.c: Likewise.
10582
4be9b544
MF
105832013-02-18 Mike Frysinger <vapier@gentoo.org>
10584
10585 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10586 and __attribute_alloc_size__.
10587
2f62b9ee
MF
105882013-02-18 Mike Frysinger <vapier@gentoo.org>
10589
10590 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10591 __attribute_alloc_size__.
10592 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10593 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10594
6ff444c4
MF
105952013-02-18 Mike Frysinger <vapier@gentoo.org>
10596
10597 * include/programs/xmalloc.h: New file.
10598 * catgets/gencat.c: Include it.
10599 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10600 * elf/pldd.c: Likewise.
10601 * iconv/iconv_charmap.c: Likewise.
10602 * iconv/iconvconfig.c: Likewise.
10603 * iconv/strtab.c: Likewise.
10604 * locale/programs/locale.c: Likewise.
10605 * locale/programs/localedef.h: Likewise.
10606 * locale/programs/simple-hash.c: Likewise.
10607 * nscd/nscd.h: Likewise.
10608 * nss/makedb.c: Likewise.
10609 * sysdeps/generic/ldconfig.h: Likewise.
10610
be179c8a
SP
106112013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10612
ba384f6e
SP
10613 * Versions.def: Add GLIBC_2.18.
10614 * include/link.h (struct link_map): New member l_tls_dtor_count.
10615 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10616 (__call_tls_dtors): Likewise.
10617 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10618 __cxa_thread_atexit_impl.
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10620 Likewise.
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10622 Likewise.
10623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10624 Likewise.
10625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10626 Likewise.
10627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10629 Likewise.
10630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10631 Likewise.
10632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10634 Likewise.
10635 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10636 (tests): Add test case tst-tls-atexit.
10637 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10638 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10639 (GLIBC_PRIVATE): Add __call_tls_dtors.
10640 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10641 for libstdc++.
10642 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10643 * stdlib/tst-tls-atexit.c: New test case.
10644 * stdlib/tst-tls-atexit-lib.c: New test case.
10645
ffaa74cf 10646 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10647
be179c8a
SP
10648 * elf/Versions (ld): Add _dl_find_dso_for_object.
10649 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10650 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10651 (dl_open_worker): Use _dl_find_dso_for_object.
10652 * elf/dl-sym.c (do_sym): Likewise.
10653 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10654
f78b5caa
AK
106552013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10656
10657 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10658 Syntactic changes only.
10659 (_dl_runtime_profile): Do a tail-call to the resolved function.
10660
29691210
JM
106612013-02-17 Joseph Myers <joseph@codesourcery.com>
10662
10663 [BZ #13550]
10664 * sysdeps/x86_64/bp-asm.h: Remove file.
10665 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10666 <bp-sym.h> and <bp-asm.h>.
10667 (__clone): Do not use BP_SYM.
10668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10669 <bp-sym.h> and <bp-asm.h>.
10670 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10671 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10672 "bp-asm.h".
10673 (_setjmp): Do not use BP_SYM.
10674 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10675 "bp-asm.h".
10676 (setjmp): Do not use BP_SYM.
10677 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10678 libc_hidden_def.
10679 (mempcpy): Do not use BP_SYM in weak_alias.
10680 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10681 "bp-asm.h".
10682 (strchr): Do not use BP_SYM.
10683 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10684 "bp-asm.h".
10685 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10686 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10687 (_start): Do not use BP_SYM.
10688 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10689 "bp-asm.h".
10690 (strcat): Do not use BP_SYM.
10691 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10692 "bp-asm.h".
10693 (STRCMP): Do not use BP_SYM.
10694 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10695 "bp-asm.h".
10696 (STRCPY): Do not use BP_SYM.
10697 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10698 "bp-asm.h".
10699 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10700 "bp-asm.h".
10701 (FUNCTION): Do not use BP_SYM.
10702 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10703 weak_alias.
10704 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10705
f238fd19
AJ
107062013-02-17 Andreas Jaeger <aj@suse.de>
10707
10708 * time/Versions: Sort entries.
10709 * string/Versions: Likewise.
10710 * resolv/Versions: Likewise.
10711 * posix/Versions: Likewise.
10712 * iconv/Versions: Likewise.
10713 * elf/Versions: Likewise.
10714 * wcsmbs/Versions: Likewise.
10715
bd07f23c 107162013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10717
22af19f9
SP
10718 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10719 loop termination condition.
10720
4709fe76
SP
10721 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10722 variable to calculate EZ.
10723 (__sqr): Likewise.
2d0e0f29
SP
10724
10725 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10726 the lower precision input.
10727
daaa7713
JM
107282013-02-15 Joseph Myers <joseph@codesourcery.com>
10729
10730 [BZ #13550]
10731 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10732 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10733 (run-via-rtld-prefix): Do not handle %-bp tests.
10734 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10735 (all-object-suffixes): Remove .ob.
10736 (bppfx): Remove variable.
10737 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10738 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10739 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10740 [$(build-bounded) = yes] (libtype.ob): Likewise.
10741 * Makerules (elide-routines.ob): Remove variable.
10742 (do-tests-clean): Do not handle *-bp.out.
10743 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10744 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10745 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10746 (tests): Do not include $(tests-bp.out).
10747 (xtests): Do not include $(xtests-bp.out).
10748 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10749 [$(build-bounded) = yes] ($(addprefix
10750 $(objpfx),$(binaries-bounded))): Remove rule.
10751 ($(objpfx)%-bp.out): Remove rule.
10752 * config.make.in (build-bounded): Remove variable.
10753 * crypt/Makefile [$(build-bounded) = yes]
10754 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10755 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10756 append to variable.
10757 [$(build-bounded) = yes] (install-lib): Likewise.
10758 [$(build-bounded) = yes] (generated): Likewise.
10759 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10760 Remove rule.
10761 * intl/Makefile [$(build-bounded) = yes]
10762 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10763 * math/Makefile [$(build-bounded) = yes]
10764 ($(tests:%=$(objpfx)%-bp): Likewise.
10765 * misc/Makefile [$(build-bounded) = yes]
10766 ($(objpfx)tst-tsearch-bp): Likewise.
10767 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10768 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10769 Remove dependency.
10770 * string/Makefile (o-objects.ob): Remove variable.
10771 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10772 (CFLAGS-.ob): Remove variable.
10773 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10774 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10775 both definitions of variable.
10776 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10777 (ASFLAGS-.ob): Remove variable.
10778
e97ed6dd
JM
107792013-02-14 Joseph Myers <joseph@codesourcery.com>
10780
2bdd4ca6
JM
10781 [BZ #13550]
10782 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10783 Remove __BOUNDED_POINTERS__ from condition.
10784 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10785 * string/bits/string2.h [!__NO_STRING_INLINES &&
10786 !__BOUNDED_POINTERS__]: Likewise.
10787 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10788 Likewise.
10789 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10790 Remove conditional code.
10791 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10792 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10793 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10794 condition.
10795
e97ed6dd
JM
10796 [BZ #13550]
10797 * csu/libc-start.c: Do not include <bp-sym.h>.
10798 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10799 * elf/dl-open.c: Do not include <bp-sym.h>.
10800 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10801 * math/fegetenv.c: Do not include <bp-sym.h>.
10802 (fegetenv): Do not use BP_SYM in versioned symbols.
10803 * nptl/sysdeps/pthread/bits/libc-lockP.h
10804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10805 <bp-sym.h>.
10806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10807 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10809 (__pthread_mutex_destroy): Likewise.
10810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10811 (__pthread_mutex_lock): Likewise.
10812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10813 (__pthread_mutex_trylock): Likewise.
10814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10815 (__pthread_mutex_unlock): Likewise.
10816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10817 (__pthread_mutexattr_init): Likewise.
10818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10819 (__pthread_mutexattr_destroy): Likewise.
10820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10821 (__pthread_mutexattr_settype): Likewise.
10822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10823 (__pthread_rwlock_init): Likewise.
10824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10825 (__pthread_rwlock_destroy): Likewise.
10826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10827 (__pthread_rwlock_rdlock): Likewise.
10828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10829 (__pthread_rwlock_tryrdlock): Likewise.
10830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10831 (__pthread_rwlock_wrlock): Likewise.
10832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10833 (__pthread_rwlock_trywrlock): Likewise.
10834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10835 (__pthread_rwlock_unlock): Likewise.
10836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10837 (__pthread_key_create): Likewise.
10838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10839 (__pthread_setspecific): Likewise.
10840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10841 (__pthread_getspecific): Likewise.
10842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10843 Likewise.
10844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10845 (_pthread_cleanup_push_defer): Likewise.
10846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10847 (_pthread_cleanup_pop_restore): Likewise.
10848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10849 (pthread_setcancelstate): Likewise.
10850 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10851 <bp-sym.h>.
10852 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10853 (memchr): Do not use BP_SYM in weak_alias.
10854 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10855 (fegetenv): Do not use BP_SYM in versioned symbols.
10856 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10857 (fesetenv): Do not use BP_SYM in versioned symbols.
10858 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10859 (feupdateenv): Do not use BP_SYM in versioned symbols.
10860 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10861 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10862 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10863 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10864 (open64): Do not use BP_SYM in weak_alias.
10865 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10866 (fegetenv): Do not use BP_SYM in versioned symbols.
10867 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10868 (fesetenv): Do not use BP_SYM in versioned symbols.
10869 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10870 (feupdateenv): Do not use BP_SYM in versioned symbols.
10871 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10872 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10873 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10874 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10875 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10876 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10877 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10878 <bp-sym.h>.
10879 (__libc_start_main): Do not use BP_SYM.
10880
d6752ccd
SP
108812013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10882
cb57ce60
SP
10883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10884 redundant return line.
10885 (norm): Likewise.
10886 (denorm): Likewise.
10887 (dbl_mp): Likewise.
10888 (sub_magnitudes): Likewise.
10889 (__add): Likewise.
10890 (__sub): Likewise.
10891 (__mul): Likewise.
10892 (__inv): Likewise.
10893 (__dvd): Likewise.
10894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10895 (norm): Likewise.
10896 (denorm): Likewise.
10897 (dbl_mp): Likewise.
10898 (sub_magnitudes): Likewise.
10899 (__add): Likewise.
10900 (__sub): Likewise.
10901 (__mul): Likewise.
10902 (__inv): Likewise.
10903 (__dvd): Likewise.
10904
f414520d
SP
10905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10906 instead of __mul.
10907 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10908 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10909 (cc32): Likewise.
10910
d6752ccd
SP
10911 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10912 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10914 of __mul for squares.
10915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10916 function
10917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10918 Likewise.
10919 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10920 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10921
70d9946a
JM
109222013-02-13 Joseph Myers <joseph@codesourcery.com>
10923
10924 [BZ #13550]
10925 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10926 code.
10927 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10928 prototype or function definition. Rename ubp_* variables and
10929 parameters. Remove argv definitions conditional on
10930 [__BOUNDED_POINTERS__].
10931 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10932 * elf/dl-runtime.c (_dl_fixup): Likewise.
10933 * include/set-hooks.h (RUN_HOOK): Likewise.
10934 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10935 definition.
10936 * string/strcpy.c (strcpy): Do not use __unbounded.
10937 * sysdeps/generic/frame.h (struct layout): Likewise.
10938 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10939 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10940 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10941 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10942 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10943 (__backtrace): Likewise.
10944 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10945 use __ptrvalue.
10946 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10947 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10948 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10949 Likewise.
10950 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10951 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10952 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10953 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10954 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10955 Do not use __unbounded.
10956 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10957 Rename __unboundedrlimits parameter to rlimits in prototype.
10958 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10959 Do not use __unbounded.
10960 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10961 not use __ptrvalue.
10962 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10963 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10964 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10965 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10966 __ptrvalue or __unbounded.
10967 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10968 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10969 use __unbounded.
10970 (__new_msgctl): Do not use __ptrvalue.
10971 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10972 __unbounded.
10973 (__libc_msgrcv): Do not use __ptrvalue.
10974 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10975 startup_info): Do not use __unbounded.
10976 (__libc_start_main): Likewise. Rename ubp_* variables and
10977 parameters. Remove argv definitions conditional on
10978 [__BOUNDED_POINTERS__].
10979 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10980 __ptrvalue.
10981 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10982 use __unbounded.
10983 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10984 or __ptrvalue.
10985 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10986 use __unbounded.
10987 (__new_shmctl): Do not use __ptrvalue.
10988 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10989 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10990 Likewise.
10991 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10992 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10993 (__libc_sigaction): Likewise.
10994 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10995 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10996 Likewise.
10997 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10998
cc7834d6
OB
109992013-02-13 Ondřej Bílka <neleai@seznam.cz>
11000
ffb1ec7b 11001 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11002
11003 * string/mempcpy.c: Implement by calling memcpy.
11004
bdf02814
SP
110052013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11006
c2af38aa
SP
11007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11008
4e92d59e
SP
11009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11010 evaluation.
11011
909279a5
SP
11012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11013 values in the mantissa.
11014
bdf02814
SP
11015 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11016 minimize writes to Z.
11017 (sub_magnitudes): Simplify code a bit.
11018
cd525923
RM
110192013-02-12 Roland McGrath <roland@hack.frob.com>
11020
11021 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11022 from the message. The linker prefixes all warnings with that already.
11023
7e2f0d2d
AS
110242013-02-12 Andreas Schwab <schwab@suse.de>
11025
a445af0b
AS
11026 [BZ #15078]
11027 * posix/regexec.c (extend_buffers): Add parameter min_len.
11028 (check_matching): Pass minimum needed length.
11029 (clean_state_log_if_needed): Likewise.
11030 (get_subexp): Likewise.
11031 * posix/Makefile (tests): Add bug-regex34.
11032 (bug-regex34-ENV): Define.
11033 * posix/bug-regex34.c: New file.
11034
7e2f0d2d
AS
11035 [BZ #11561]
11036 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11037 elements compare against the byte sequence of it, not its name.
11038 * posix/Makefile (tests): Add bug-regex35.
11039 (bug-regex35-ENV): Define.
11040 * posix/bug-regex35.c: New file.
11041
a175b684
TV
110422013-02-11 Tom de Vries <tom@codesourcery.com>
11043
11044 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11045 comment.
11046 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11047 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11048 (CHECK_EOL): Add undef.
11049
310998fe 110502013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11051
11052 * bits/stdlib-bsearch.h: New file.
11053 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11054 * stdlib/stdlib.h: Likewise.
41eda41d 11055
8ded91fb
RM
110562013-02-11 Roland McGrath <roland@hack.frob.com>
11057
11058 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11059 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11060 declaration.
11061 * manual/search.texi (Array Search Function): Add missing const in
11062 lfind prototype.
11063 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11064 declaration to use rlim_t.
11065 (Basic Scheduling Functions): Remove erroneous const from
11066 sched_getparam prototype. Remove erroneous * from
11067 sched_get_priority_max and sched_get_priority_min prototypes.
11068 (Resource Usage): Fix summary @comment on vtimes to refer to
11069 sys/vtimes.h rather than vtimes.h.
11070 Add missing *s in vtimes prototype.
11071 (Limits on Resources): Fix ulimit prototype to return long int.
11072 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11073 prototypes to use long int rather than double.
11074 (BSD Random): Fix initstate and setstate to use char *, not void *.
11075 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11076 prototype to make second argument 'struct aiocb64 *const[]'.
11077 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11078 (Status of AIO Operations): Remove erroneous const in aio_return and
11079 aio_return64 prototypes.
11080 (Synchronizing I/O): Fix sync prototype to return void.
11081 * manual/startup.texi (Suboptions): Remove an erroneous const in
11082 getsubopt prototype.
11083 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11084 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11085 use size_t rather than int.
11086 (Scanning All Users): Likewise for getpwent_r.
11087 (Setting Groups): Add missing const to setgroups prototype.
11088 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11089 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11090 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11091 'const void *' rather than 'const char *'.
11092 (Host Address Functions): Likewise for inet_ntop.
11093 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11094 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11095 ssize_t for return value.
11096 (Sending Data): Likewise for send, sendto, sendmsg.
11097 (Socket Option Functions): Add a missing const in setsockopt prototype.
11098 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11099 use wchar_t for the argument.
11100 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11101 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11102 take no arguments.
11103 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11104 double/float/long double for second argument.
11105 Fix return types of significand, significandf, significandl.
11106 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11107 argument in fchmod prototype.
11108 (File Owner): Use uid_t and gid_t in fchown prototype.
11109 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11110 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11111 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11112 use 'const struct dirent **' as argument types to CMP function pointer
11113 argument.
11114 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11115 (File Times): Fix summary magic @comment for struct utimbuf and utime
11116 to refer to utime.h, not time.h.
11117 * manual/string.texi (Argz Functions): Add missing const in
11118 argz_extract and argz_next prototypes.
11119 (Finding Tokens in a String): Likewise for basename.
11120 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11121 (Copying and Concatenation): Fix typo in wmemmove prototype.
11122 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11123 (Signal Stack): Remove erroneous const in sigstack prototype.
11124 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11125 prototype.
11126 (Simple Calendar Time): Likewise for stime.
11127 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11128 prototype.
11129 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11130 say sys/sysctl.h instead.
11131 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11132 and vsyslog prototypes.
11133
fe77fe6d
TV
111342013-02-11 Tom de Vries <tom@codesourcery.com>
11135
11136 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11137 Remove.
11138
3a09b620
RM
111392013-02-11 Roland McGrath <roland@hack.frob.com>
11140
11141 * misc/sys/mman.h: Fix typo in mremap comment.
11142
550a0b89
RM
111432013-02-08 Roland McGrath <roland@hack.frob.com>
11144
11145 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11146 the '\0' terminator.
11147
a2da1673
JM
111482013-02-08 Joseph Myers <joseph@codesourcery.com>
11149
11150 [BZ #13550]
11151 * debug/segfault.c: Don't include <bp-checks.h>.
11152 * sysdeps/generic/bp-checks.h: Remove file.
11153 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11154 (__GETDENTS): Don't use CHECK_N.
11155 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11156 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11157 (__getgroups): Don't use CHECK_N.
11158 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11159 (setgroups): Don't use CHECK_N.
11160 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11161 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11162 (__libc_msgrcv): Don't use CHECK_N.
11163 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11164 (__libc_msgsnd): Don't use CHECK_N.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11166 <bp-checks.h>.
11167 (__libc_pread): Don't use CHECK_N.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11169 include <bp-checks.h>.
11170 (__libc_pread64): Don't use CHECK_N.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11172 include <bp-checks.h>.
11173 (__libc_pwrite): Don't use CHECK_N.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11175 include <bp-checks.h>.
11176 (__libc_pwrite64): Don't use CHECK_N.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11178 <bp-checks.h>.
11179 (__libc_pread): Don't use CHECK_N.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11181 include <bp-checks.h>.
11182 (__libc_pread64): Don't use CHECK_N.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11184 include <bp-checks.h>.
11185 (__libc_pwrite): Don't use CHECK_N.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11187 include <bp-checks.h>.
11188 (__libc_pwrite64): Don't use CHECK_N.
11189 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11190 (do_pread): Don't use CHECK_N.
11191 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11192 (do_pread64): Don't use CHECK_N.
11193 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11194 (do_pwrite): Don't use CHECK_N.
11195 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11196 (do_pwrite64): Don't use CHECK_N.
11197 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11198 (__libc_readv): Don't use CHECK_N.
11199 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11200 (semop): Don't use CHECK_N.
11201 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11202 <bp-checks.h>.
11203 (semtimedop): Don't use CHECK_N.
11204 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11205 (__libc_pread): Don't use CHECK_N.
11206 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11207 <bp-checks.h>.
11208 (__libc_pread64): Don't use CHECK_N.
11209 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11210 <bp-checks.h>.
11211 (__libc_pwrite): Don't use CHECK_N.
11212 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11213 <bp-checks.h>.
11214 (__libc_pwrite64): Don't use CHECK_N.
11215 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11216 <bp-checks.h>.
11217 (__libc_msgrcv): Don't use CHECK_N.
11218 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11219 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11220 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11221 (__libc_writev): Don't use CHECK_N.
11222
b84660a8
RM
112232013-02-08 Roland McGrath <roland@hack.frob.com>
11224
7f3e75f8
RM
11225 * string/strcpy.c: Removed unused variable.
11226
b84660a8
RM
11227 * Makeconfig (+sysdep-includes): Define with := rather than =.
11228 Use an existing include/ subdir of each sysdeps dir before it.
11229
471514d3
CD
112302013-02-08 Carlos O'Donell <carlos@redhat.com>
11231
11232 * nscd/connection.c (register_traced_file): Comment function.
11233 [HAVE_INOTIFY] (union __inev): Define.
11234 [HAVE_INOTIFY] (inotify_check_files): New function.
11235 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11236 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11237 clear_db_cache.
11238 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11239
b2d3c3be
CD
112402013-02-08 Carlos O'Donell <carlos@redhat.com>
11241
11242 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11243 loaded if not already and that a failure is permanent.
11244
b39949d2
CD
112452013-02-08 Carlos O'Donell <carlos@redhat.com>
11246
ddacd1db 11247 [BZ #15006]
b39949d2
CD
11248 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11249 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11250
b2c9eff4
JM
112512013-02-08 Joseph Myers <joseph@codesourcery.com>
11252
f3aae3f3
JM
11253 [BZ #13550]
11254 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11255 (CHECK_1_NULL_OK): Likewise.
11256 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11257 (__fxstat): Do not use CHECK_1.
11258 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11259 <bp-checks.h>.
11260 (___fxstat64): Do not use CHECK_1.
11261 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11262 <bp-checks.h>.
11263 (__fxstatat): Do not use CHECK_1.
11264 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11265 <bp-checks.h>.
11266 (__fxstatat64): Do not use CHECK_1.
11267 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11268 <bp-checks.h>.
11269 (__fxstat): Do not use CHECK_1.
11270 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11271 <bp-checks.h>.
11272 (__fxstatat): Do not use CHECK_1.
11273 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11274 <bp-checks.h>.
11275 (__getresgid): Do not use CHECK_1.
11276 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11277 <bp-checks.h>.
11278 (__getresuid): Do not use CHECK_1.
11279 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11280 <bp-checks.h>.
11281 (__lxstat): Do not use CHECK_1.
11282 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11283 <bp-checks.h>.
11284 (__old_msgctl): Do not use CHECK_1.
11285 (__new_msgctl): Likewise.
11286 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11287 <bp-checks.h>.
11288 (__new_setrlimit): Do not use CHECK_1.
11289 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11290 <bp-checks.h>.
11291 (__old_shmctl): Do not use CHECK_1.
11292 (__new_shmctl): Likewise.
11293 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11294 <bp-checks.h>.
11295 (__xstat): Do not use CHECK_1.
11296 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11297 (__lxstat): Do not use CHECK_1.
11298 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11299 <bp-checks.h>.
11300 (___lxstat64): Do not use CHECK_1.
11301 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11302 (__old_msgctl): Do not use CHECK_1.
11303 (__new_msgctl): Likewise.
11304 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11305 <bp-checks.h>.
11306 (__gettimeofday): Do not use CHECK_1.
11307 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11308 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11309 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11310 <bp-checks.h>.
11311 (__gettimeofday): Do not use CHECK_1.
11312 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11313 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11314 (__new_shmctl): Do not use CHECK_1.
11315 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11316 <bp-checks.h>.
11317 (do_sigtimedwait): Do not use CHECK_1.
11318 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11319 <bp-checks.h>.
11320 (do_sigwaitinfo): Do not use CHECK_1.
11321 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11322 <bp-checks.h>.
11323 (msgctl): Do not use CHECK_1.
11324 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11325 <bp-checks.h>.
11326 (shmctl): Do not use CHECK_1.
11327 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11328 (ustat): Do not use CHECK_1.
11329 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11330 <bp-checks.h>.
11331 (__fxstat): Do not use CHECK_1.
11332 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11333 <bp-checks.h>.
11334 (__fxstatat): Do not use CHECK_1.
11335 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11336 <bp-checks.h>.
11337 (__lxstat): Do not use CHECK_1.
11338 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11339 <bp-checks.h>.
11340 (__xstat): Do not use CHECK_1.
11341 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11342 (__xstat): Do not use CHECK_1.
11343 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11344 (___xstat64): Do not use CHECK_1.
11345
b2c9eff4
JM
11346 [BZ #13550]
11347 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11348 definitions.
11349 (CHECK_BOUNDS_HIGH): Likewise.
11350 * string/strcpy.c: Do not include <bp-checks.h>.
11351 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11352
f1d70dad
RM
113532013-02-07 Roland McGrath <roland@hack.frob.com>
11354
11355 * nscd/nscd-client.h (__nscd_drop_map_ref):
11356 Add __attribute__ ((unused)).
11357 * nis/nss-nisplus.h (niserr2nss): Likewise.
11358
11359 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11360 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11361
11362 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11363 Remove inline keyword.
11364 * include/rounding-mode.h (round_away): Likewise.
11365 * libio/wfileops.c (adjust_wide_data): Likewise.
11366 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11367 (__m128i_strloadu_tolower): Likewise.
11368 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11369 (__m128i_strloadu_tolower): Likewise.
11370 * time/mktime.c (ydhms_diff): Likewise.
11371 * locale/elem-hash.h (elem_hash): Likewise.
11372 * locale/setlocale.c (setdata): Likewise.
11373 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11374 (re_string_wchar_at): Likewise.
11375 (bitset_not, bitset_merge, bitset_mask): Likewise.
11376 [!(__GNUC__ > 3)] (inline): Remove macro.
11377 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11378 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11379 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11380 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11381 * string/memcmp.c (memcmp_bytes): Likewise.
11382 * locale/programs/locarchive.c (compute_hashval): Likewise.
11383 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11384 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11385 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11386 * nss/getent.c (print_rpc, print_protocols): Likewise.
11387 (print_passwd, print_group, print_aliases): Likewise.
11388 * nis/nss-nisplus.h (niserr2nss): Likewise.
11389 * nscd/connections.c (restart_p): Likewise.
11390 Change return type to bool.
11391
eab55bfb
RM
113922013-02-05 Roland McGrath <roland@hack.frob.com>
11393
7bd642f5
RM
11394 * Makeconfig (all-Depend-files): Add existing
11395 $(sorted-subdirs:=/Depend) files.
11396 (all-subdirs): Remove nss.
11397 * sysdeps/unix/inet/Subdirs: Add it here instead.
11398 * hesiod/Depend: New file.
11399
573c29b2
RM
11400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11401 instead of calling alloca.
11402
b2e25af0
RM
11403 * io/lseek.c (__lseek): Rename to __libc_lseek.
11404 Define __lseek as an alias.
11405
eab55bfb
RM
11406 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11407
9a0d1941
CD
114082013-02-04 Carlos O'Donell <carlos@redhat.com>
11409
11410 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11411 else clause and remove check for non-standard endianness.
11412
b83bbec4
DM
114132013-02-04 David S. Miller <davem@davemloft.net>
11414
11415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11416
6277fdab
JM
114172013-02-04 Joseph Myers <joseph@codesourcery.com>
11418
11419 [BZ #13550]
11420 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11421 (__ubp_memchr): Remove prototype.
11422 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11423 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11424 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11425 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11426 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11427 Remove alias.
11428 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11429 (__ubp_memchr): Likewise.
11430 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11431 (__ubp_memchr): Likewise.
11432 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11433 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11434 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11435 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11436 CHECK_STRING.
11437 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11438 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11439 (__getcwd): Do not use CHECK_STRING.
11440 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11441 <bp-checks.h>.
11442 (__real_chown): Do not use CHECK_STRING.
11443 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11444 <bp-checks.h>.
11445 (fchownat): Do not use CHECK_STRING.
11446 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11447 CHECK_STRING.
11448 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11449 <bp-checks.h>.
11450 (__lchown): Do not use CHECK_STRING.
11451 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11452 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11453 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11454 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11456 include <bp-checks.h>.
11457 (truncate64): Do not use CHECK_STRING.
11458 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11459 <bp-checks.h>.
11460 (__real_chown): Do not use CHECK_STRING.
11461 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11462 <bp-checks.h>.
11463 (__lchown): Do not use CHECK_STRING.
11464 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11465 <bp-checks.h>.
11466 (__chown): Do not use CHECK_STRING.
11467 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11468 <bp-checks.h>.
11469 (truncate64): Do not use CHECK_STRING.
11470 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11471 Likewise.
11472 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11473 (__xmknod): Do not use CHECK_STRING.
11474 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11475 <bp-checks.h>.
11476 (__xmknodat): Do not use CHECK_STRING.
11477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11478 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11479
903ae060
AS
114802013-02-04 Andreas Schwab <schwab@suse.de>
11481
11482 [BZ #14142]
11483 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11484 * include/netdb.h: Likewise for h_errno.
11485 * elf/tst-stackguard1.c: Include <tls.h>.
11486
542f9466
JK
114872013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11488
11489 * elf/link.h (struct link_map): Extend the l_addr comment.
11490 * include/link.h (struct link_map): Likewise.
11491
e782a927
JM
114922013-02-01 Joseph Myers <joseph@codesourcery.com>
11493
11494 [BZ #13550]
11495 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11496 (BOUNDED_1): Remove macro.
11497 * debug/backtrace.c: Don't include <bp-checks.h>.
11498 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11499 (__backtrace): Likewise.
11500 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11501 <bp-checks.h>.
11502 (__backtrace): Don't use BOUNDED_1.
11503 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11504 <bp-checks.h>.
11505 (__backtrace): Don't use BOUNDED_1.
11506 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11507 (__backtrace): Don't use BOUNDED_1.
11508 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11509 (shmat): Don't use BOUNDED_N.
11510
8cf28c5e
JM
115112013-01-31 Joseph Myers <joseph@codesourcery.com>
11512
3a7ac8a0
JM
11513 [BZ #13550]
11514 * sysdeps/generic/bp-start.h: Remove file.
11515 * csu/libc-start.c: Don't include <bp-start.h>.
11516 (LIBC_START_MAIN): Set up __environ directly instead of using
11517 INIT_ARGV_and_ENVIRON.
11518 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11519 <bp-start.h>.
11520
f3499f95
JM
11521 [BZ #13550]
11522 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11523 definitions.
11524 (CHECK_FCNTL): Likewise.
11525 (CHECK_N_PAGES): Likewise.
11526
32a45bea
JM
11527 [BZ #13550]
11528 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11529 definitions.
11530 (CHECK_SIGSET_NULL_OK): Likewise.
11531 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11532 <bp-checks.h>.
11533 (sigpending): Don't use CHECK_SIGSET.
11534 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11535 <bp-checks.h>.
11536 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11537 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11538 <bp-checks.h>.
11539 (do_sigsuspend): Don't use CHECK_SIGSET.
11540 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11541 use CHECK_SIGSET.
11542 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11543 (do_sigwait): Don't use CHECK_SIGSET.
11544 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11545 use CHECK_SIGSET.
11546 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11547 include <bp-checks.h>.
11548 (sigpending): Don't use CHECK_SIGSET.
11549 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11550 include <bp-checks.h>.
11551 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11552 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11553 <bp-checks.h>.
11554 (sigpending): Don't use CHECK_SIGSET.
11555 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11556 <bp-checks.h>.
11557 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11558
2e8a5c8c
JM
11559 [BZ #13550]
11560 * sysdeps/generic/bp-semctl.h: Remove file.
11561 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11562 <bp-checks.h> and <bp-semctl.h>.
11563 (__old_semctl): Don't use CHECK_SEMCTL.
11564 (__new_semctl): Likewise.
11565 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11566 and <bp-semctl.h>.
11567 (__old_semctl): Don't use CHECK_SEMCTL.
11568 (__new_semctl): Likewise.
11569 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11570 <bp-checks.h> and <bp-semctl.h>.
11571 (__old_semctl): Don't use CHECK_SEMCTL.
11572 (__new_semctl): Likewise.
11573 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11574 <bp-checks.h> and <bp-semctl.h>.
11575 (semctl): Don't use CHECK_SEMCTL.
11576
c2d54929
JM
11577 [BZ #13550]
11578 * Makerules (elide-bp-thunks): Remove variable.
11579 (elide-routines.oS): Don't use $(elide-bp-thunks).
11580 (elide-routines.os): Likewise.
11581 (elide-routines.o): Likewise.
11582 (elide-routines.op): Likewise.
11583 (elide-routines.og): Likewise.
11584 (objects): Don't use $(bp-thunks).
11585 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11586 include.
11587 (common-generated): Do not add s-proto-bp.d.
11588 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11589 (int): Likewise.
11590 (typ): Likewise.
11591 Do not generate makefile rules for bounded-pointer thunks.
11592 * sysdeps/generic/bp-thunks.h: Remove file.
11593 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11594 * sysdeps/unix/s-proto-bp.S: Likewise.
11595
8cf28c5e
JM
11596 [BZ #15062]
11597 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11598 parts of result separately when argument is not close to line from
11599 -i to i and one part of argument is small.
11600 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11601 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11602 * math/libm-test.inc (cacos_test): Add more tests.
11603 (casin_test): Likewise.
11604 (casinh_test): Likewise.
11605 * sysdeps/i386/fpu/libm-test-ulps: Update.
11606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11607
c4e33b8d
DM
116082013-01-31 David S. Miller <davem@davemloft.net>
11609
11610 * po/de.po: Update from translation team.
11611
3b60b421
MK
116122013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11613
11614 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11615
bb931195
TS
116162013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11617
b5a5da23
TS
11618 * configure.in (_AC_PROG_CC_C89): New definition.
11619 * configure: Regenerate.
11620
bb931195
TS
11621 * configure.in (AC_PROG_CPP): New definition.
11622 * configure: Regenerate.
11623
8c53a12c
JM
116242013-01-23 Joseph Myers <joseph@codesourcery.com>
11625
11626 * debug/tst-backtrace.h: New file.
11627 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11628 (ret): Remove variable.
11629 (x): Likewise.
11630 (FAIL): Remove macro.
11631 (NO_INLINE): Likewise.
11632 (fn1): Use match function instead of strstr.
11633 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11634 (ret): Remove variable.
11635 (x): Likewise.
11636 (FAIL): Remove macro.
11637 (NO_INLINE): Likewise.
11638 (fn): Use match function instead of strstr.
11639 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11640 (ret): Remove variable.
11641 (x): Likewise.
11642 (FAIL): Remove macro.
11643 (NO_INLINE): Likewise.
11644 (handle_signal): Use match function instead of strstr.
11645 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11646 (ret): Remove variable.
11647 (x): Likewise.
11648 (FAIL): Remove macro.
11649 (NO_INLINE): Likewise.
11650 (handle_signal): Use match function instead of strstr.
11651
4858fa2a
RM
116522013-01-23 Roland McGrath <roland@hack.frob.com>
11653
11654 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11655
bae8e7f5
DM
116562013-01-23 David S. Miller <davem@davemloft.net>
11657
11658 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11659 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11660 argument of CAS if possible.
11661 * sysdeps/sparc/sparc64/bits/atomic.h
11662 (__arch_compare_and_exchange_val_32_acq): Likewise.
11663 (__arch_compare_and_exchange_val_64_acq): Likewise.
11664
9cbbc4ae
PT
116652013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11666
11667 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11668 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11669 Include <limits.h>.
67b3f58c 11670 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11671
5655a0b5
AC
116722013-01-23 Adam Conrad <adconrad@0c3.net>
11673
11674 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11675 (LDFLAGS-tst-array5): Likewise.
11676
052aff95
JM
116772013-01-23 Joseph Myers <joseph@codesourcery.com>
11678
11679 [BZ #15036]
11680 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11681 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11682 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11683 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11684
7c1e01aa
DM
116852013-01-21 David S. Miller <davem@davemloft.net>
11686
11687 * sysdeps/sparc/backtrace.c: New file.
11688 * sysdeps/sparc/sparc32/backtrace.h: New file.
11689 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11690 * sysdeps/sparc/sparc64/backtrace.h: New file.
11691 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11692 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11693 -funwind-tables.
11694
ab087e0a
AS
116952013-01-21 Andreas Schwab <schwab@suse.de>
11696
11697 [BZ #15020]
11698 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11699 closed its stdout.
11700
ed689c2f
AS
117012013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11702
11703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11704 "mpa2.h".
11705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11706
31d470ac
JM
117072013-01-18 Joseph Myers <joseph@codesourcery.com>
11708 Mark Mitchell <mark@codesourcery.com>
11709 Tom de Vries <tom@codesourcery.com>
11710 Paul Pluzhnikov <ppluzhnikov@google.com>
11711
11712 * debug/tst-backtrace2.c: New file.
11713 * debug/tst-backtrace3.c: Likewise.
11714 * debug/tst-backtrace4.c: Likewise.
11715 * debug/tst-backtrace5.c: Likewise.
11716 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11717 (CFLAGS-tst-backtrace3.c): Likewise.
11718 (CFLAGS-tst-backtrace4.c): Likewise.
11719 (CFLAGS-tst-backtrace5.c): Likewise.
11720 (LDFLAGS-tst-backtrace2): Likewise.
11721 (LDFLAGS-tst-backtrace3): Likewise.
11722 (LDFLAGS-tst-backtrace4): Likewise.
11723 (LDFLAGS-tst-backtrace5): Likewise.
11724 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11725 tst-backtrace4 and tst-backtrace5.
11726
90567f30 117272013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11728 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11729
11730 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11731 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11732 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11733 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11735 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11736 "+r" and remove output regs list as redundant. Add explicit inline
11737 asm to specify register of return val to work around compiler codegen
11738 bug. Remove (int) cast on return value. Add return type parameter to
11739 use in macro so that this macro does not truncate return value for
11740 64-bit values.
11741 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11742 pass to INTERNAL_VSYSCALL_NCS.
11743 (INLINE_VSYSCALL): Add 'long int' as return type to
11744 INTERNAL_VSYSCALL_NCS macro invocation.
11745 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11746 INTERNAL_VSYSCALL_NCS macro invocation.
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11748
d3b9ea61
SP
117492013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11750
0b57daeb
SP
11751 [BZ #14496]
11752 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11753 Fix application of SIMD FP exception mask.
11754
caa99d06
SP
11755 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11756 mp_no from a power of two.
11757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11758 __mpexp_twomm1. Use __pow_mp.
11759
d3b9ea61
SP
11760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11761 multiplication.
11762
1dbaee3c
DM
117632013-01-17 David S. Miller <davem@davemloft.net>
11764
11765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11766
728d7b43
JM
117672013-01-17 Joseph Myers <joseph@codesourcery.com>
11768
11769 [BZ #15023]
11770 * include/complex.h: Condition contents on [!_COMPLEX_H].
11771 (__kernel_casinhf): New prototype.
11772 (__kernel_casinh): Likewise.
11773 (__kernel_casinhl): Likewise.
11774 * math/Makefile (libm_calls): Add k_casinh.
11775 * math/k_casinh.c: New file.
11776 * math/k_casinhf.c: Likewise.
11777 * math/k_casinhl.c: Likewise.
11778 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11779 finite nonzero arguments.
11780 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11781 finite nonzero arguments.
11782 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11783 finite nonzero arguments.
11784 * math/s_casinh.c: Do not include <float.h>.
11785 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11786 * math/s_casinhf.c: Do not include <float.h>.
11787 (__casinhf): Move code for finite nonzero arguments to
11788 k_casinhf.c.
11789 * math/s_casinhl.c: Do not include <float.h>.
11790 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11791 redefine.
11792 (__casinhl): Move code for finite nonzero arguments to
11793 k_casinhl.c.
11794 * math/libm-test.inc (cacos_test): Add more tests.
11795 * sysdeps/i386/fpu/libm-test-ulps: Update.
11796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11797
2a26ef3a
PT
117982013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11799
11800 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11801 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11802 [!HAVE_MREMAP]: Remove [defined linux] case.
11803 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11804
a897655d
SP
118052013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11806
11807 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11808
881ebe89 118092013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11810
11811 * elf/elf.h (R_386_SIZE32): New relocation.
11812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11813 R_386_SIZE32.
11814 (elf_machine_rela): Likewise.
11815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11816 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11817
59981e9b
JM
118182013-01-17 Joseph Myers <joseph@codesourcery.com>
11819
11820 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11821 (FP_FAST_FMA): Do not define.
11822 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11823 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11824 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11825 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11826 !_SOFT_FLOAT]: Likewise.
11827 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11829 value.
11830 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11831 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11832 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11833 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11834 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11835 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11836 file.
11837
cfa8054f
AS
118382013-01-16 Andreas Schwab <schwab@suse.de>
11839
11840 [BZ #14327]
11841 * include/stdlib.h (__mktemp): Add declaration.
11842 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11843 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11844
dd930cc5
SP
118452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11846
881ebe89
SP
11847 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11848 definitions.
11849 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11850 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11851 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11852 definitions here.
11853 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11854 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11855 definitions.
11856 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11857 and ONE.
11858 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11859 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11860 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11861 definitions.
11862 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11863 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11864 definitions.
11865 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11866
dd930cc5
SP
11867 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11868
c19a9f89
DM
118692013-01-15 David S. Miller <davem@davemloft.net>
11870
1aa61767
DM
11871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11872 trunc{,f} to libm-sysdep_routes.
11873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11875 file.
11876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11878 file.
11879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11880 file.
11881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11883 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11884 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11885 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11886 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11887 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11888 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11889
c42d5e98
DM
11890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11891 nearbyint{,f} to libm-sysdep_routes.
11892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11894 New file.
11895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11896 file.
11897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11898 New file.
11899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11900 file.
11901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11903 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11904 file.
11905 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11907 file.
11908 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11909 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11910 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11911
c19a9f89
DM
11912 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11913 libc_feholdexcept and libc_fesetenv.
11914
357679d2
MF
119152013-01-15 Mike Frysinger <vapier@gentoo.org>
11916
11917 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11918
65a82e3d
DM
119192013-01-14 David S. Miller <davem@davemloft.net>
11920
8b954ab9
DM
11921 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11922 (SPARC_ASM_VIS2_IFUNC): Likewise.
11923 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11925 use of 'siam' instruction.
11926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11927 Likewise.
11928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11929 Likewise.
11930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11931 Likewise.
11932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11937 file.
11938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11939 file.
11940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11941 file.
11942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11943 file.
11944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11949 new VIS2 routines.
11950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11953 Likewise.
11954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11959 routines to libm-sysdep_routines.
11960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11961
65a82e3d
DM
11962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11963 fdim/fdimf to libm-sysdep_routines.
11964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11965 file.
11966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11968 file.
11969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11972 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11973 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11974 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11975 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11976
e34ab705
SP
119772013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11978
2a91b573
SP
11979 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11980 to optimize copies.
11981
1066a534
SP
11982 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11985
e34ab705
SP
11986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11987 local variable MPTWO.
11988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11989 Likewise.
11990
aba5e596
MF
119912013-01-13 Mike Frysinger <vapier@gentoo.org>
11992
11993 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11994 GLOB_NOESCAPE.
11995
e557e9e5
MF
119962013-01-13 Mike Frysinger <vapier@gentoo.org>
11997
11998 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11999
0428cec9
MF
120002013-01-13 Mike Frysinger <vapier@gentoo.org>
12001
12002 * manual/pattern.texi (glob_t): Document gl_flags.
12003 (glob64_t): Likewise.
12004
8794a964
DM
120052013-01-11 David S. Miller <davem@davemloft.net>
12006
66438c3f
RM
12007 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12008 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12009 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12010 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12011 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12012 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12013 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12014 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12015 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12016 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12017 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12018 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12019 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12020
4ae4244d
DM
12021 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12022 sparc V9 rather than using V8 code.
12023 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12024 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12025
8794a964
DM
12026 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12027 Move to...
12028 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12029 Here.
12030
6270516e
RM
120312013-01-11 Roland McGrath <roland@hack.frob.com>
12032
12033 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12034 not in the main loop.
12035 * configure: Regenerated.
12036
6a57d931
JM
120372013-01-11 Joseph Myers <joseph@codesourcery.com>
12038
12039 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12040 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12041 to just #else.
12042 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12043 [!__GLIBC_HAVE_LONG_LONG] case.
12044 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12045 condition to just #else.
12046 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12047 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12048 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12049 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12050 unconditional.
12051 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12052 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12053 #elif condition to just #else.
12054 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12055 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12056 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12057 #elif condition to just #else.
12058
0e8529e9
SE
120592013-01-11 Steve Ellcey <sellcey@mips.com>
12060
12061 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12062 (EF_MIPS_ARCH_64): Fix value.
12063 (EF_MIPS_ARCH_32R2): New.
12064 (EF_MIPS_ARCH_64R2): New.
12065
740b3dbe
L
120662013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12067
12068 * Makeconfig (+link-pie-before-libc): New.
12069 (+link-pie-after-libc): Likewise.
12070 (+link-pie-tests): Likewise.
12071 (+link-pie): Rewritten.
12072 (link-before-libc): Remove $(config-LDFLAGS).
12073 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12074 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12075 (config-LDFLAGS): Renamed to ...
12076 (rtld-LDFLAGS): This.
12077 (rtld-tests-LDFLAGS): New macro.
12078 (link-libc-rpath-link): Likewise.
12079 (link-libc-tests-rpath-link): Likewise.
12080 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12081 (link-libc): Prepand $(link-libc-rpath-link).
12082 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12083 (test-program-prefix): New macro.
12084 (test-via-rtld-prefix): Likewise.
12085 (test-program-cmd): Likewise.
12086 (host-test-program-cmd): Likewise.
12087 * Makefile ($(common-objpfx)testrun.sh): Replace
12088 $(run-program-prefix) with $(test-program-prefix).
12089 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12090 $(rtld-LDFLAGS).
12091 ($(common-objpfx)shlib.lds): Likewise.
12092 (build-module-helper): Likewise.
12093 ($(common-objpfx)format.lds): Likewise.
12094 * Rules (binaries-pie-tests): New.
12095 (binaries-pie-notests): Likewise.
12096 (binaries-pie): Rewritten.
12097 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12098 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12099 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12100 (make-test-out): Replace $(host-built-program-cmd) with
12101 $(host-test-program-cmd).
12102 * config.make.in (build-hardcoded-path-in-tests): New variable.
12103 * configure.in (--enable-hardcoded-path-in-tests): New configure
12104 option.
12105 (hardcoded_path_in_tests): New AC_SUBST.
12106 * configure: Regenerated.
12107 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12108 $(built-program-cmd) with $(test-program-cmd).
12109 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12110 (test_program_cmd): This.
12111 * elf/Makefile ($(objpfx)order.out): Run test with
12112 $(test-program-prefix).
12113 ($(objpfx)order2.out): Likewise.
12114 ($(objpfx)tst-initorder.out): Likewise.
12115 ($(objpfx)tst-initorder2.out): Likewise.
12116 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12117 $(test-program-cmd).
12118 ($(objpfx)tst-array1-static.out): Likewise.
12119 ($(objpfx)tst-array2.out): Likewise.
12120 ($(objpfx)tst-array3.out): Likewise.
12121 ($(objpfx)tst-array4.out): Likewise.
12122 ($(objpfx)tst-array5.out): Likewise.
12123 ($(objpfx)tst-array5-static.out): Likewise.
12124 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12125 $(test-program-cmd).
12126 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12127 $(run-program-prefix) with $(test-program-prefix).
12128 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12129 (test_program_prefix): This.
12130 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12131 $(run-program-prefix) with $(test-program-prefix).
12132 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12133 (test_program_prefix): This.
12134 * iconvdata/tst-tables.sh: Likewise.
12135 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12136 $(run-program-prefix) with $(test-program-prefix).
12137 ($(objpfx)tst-translit.out): Likewise.
12138 ($(objpfx)tst-gettext2.out): Likewise.
12139 ($(objpfx)tst-gettext4.out): Likewise.
12140 ($(objpfx)tst-gettext6.out): Likewise.
12141 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12142 (test_program_prefix): This.
12143 * intl/tst-gettext2.sh: Likewise.
12144 * intl/tst-gettext4.sh Likewise.
12145 * intl/tst-gettext6.sh: Likewise.
12146 * intl/tst-translit.sh: Likewise.
12147 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12148 with $(test-program-cmd).
12149 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12150 $(run-program-prefix) with $(test-program-prefix).
12151 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12152 (test_program_prefix): This.
12153 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12154 $(run-program-prefix) with $(test-program-prefix).
12155 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12156 (test_program_prefix): This.
12157 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12158 * posix/Makefile ($(objpfx)globtest.out): Replace
12159 $(run-via-rtld-prefix) and $(test-wrapper) with
12160 $(test-program-prefix) and $(test-via-rtld-prefix).
12161 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12162 $(test-program-prefix).
12163 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12164 $(host-test-program-cmd).
12165 (tst-spawn-ARGS): Likewise.
12166 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12167 $(test-program-prefix).
12168 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12169 (test_via_rtld_prefix): This.
12170 (test_wrapper): Renamed to ...
12171 (test_program_prefix): This.
12172 (run_program_prefix): Replaced by test_program_prefix.
12173 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12174 (test_program_prefix): This.
12175 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12176 with $(host-test-program-cmd).
12177 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12178 $(run-program-prefix) with $(test-program-prefix).
12179 ($(objpfx)tst-printf.out): Likewise.
12180 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12181 $(test-program-cmd).
12182 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12183 (test_program_prefix): This.
12184 * stdio-common/tst-unbputc.sh: Likewise.
12185 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12186 $(run-program-prefix) with $(test-program-prefix).
12187 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12188 (test_program_prefix): This.
12189 * string/Makefile ($(objpfx)tst-svc.out): Replace
12190 $(built-program-cmd) with $(test-program-cmd).
12191
c6fe55cf
AJ
121922013-01-11 Andreas Jaeger <aj@suse.de>
12193
12194 [BZ #15003]
12195 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12196 value. Sync with Linux 3.7.
12197
9e6919c8
DM
121982013-01-10 David S. Miller <davem@davemloft.net>
12199
12200 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12201 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12202 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12203
1c9f1a02
RM
122042013-01-10 Roland McGrath <roland@hack.frob.com>
12205
12206 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12207 never set.
12208 * configure: Regenerated.
12209
b9de2dde
DM
122102013-01-10 David S. Miller <davem@davemloft.net>
12211
12212 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12213 sparc V9 rather than using V8 code.
12214 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12215 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12216
e7f68ef4
RM
122172013-01-10 Roland McGrath <roland@hack.frob.com>
12218
12219 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12220 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12221 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12222 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12223 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12224 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12225 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12226 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12227 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12228 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12229 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12230 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12231 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12232 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12233 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12234 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12235 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12236 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12237 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12238 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12239 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12240 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12241 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12242 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12243 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12244 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12245 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12246
5a47cc9c
DM
122472013-01-10 David S. Miller <davem@davemloft.net>
12248
12249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12250
4cf8f209
L
122512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12252
12253 * posix/Makefile (tests-static): New variable.
12254 (tests): Add $(tests-static).
12255 (tst-exec-static-ARGS): New variable.
12256 (tst-spawn-static-ARGS): Likewise.
12257 * posix/tst-exec-static.c: New file.
12258 * posix/tst-spawn-static.c: Likewise.
12259 * posix/tst-exec.c: Support run directly.
12260 * posix/tst-spawn.c: Likewise.
12261
fed0faa1
JM
122622013-01-10 Joseph Myers <joseph@codesourcery.com>
12263
828beb13
JM
12264 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12265 long.
12266 * math/bits/mathcalls.h (llrint): Likewise.
12267 (llround): Likewise.
12268 * stdlib/stdlib.h (struct drand48_data): Likewise.
12269 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12270 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12271 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12272 Likewise.
12273 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12274 Likewise.
12275 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12276 (elf_greg_t): Likewise.
12277 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12278 (__jmp_buf): Likewise.
12279 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12280 definitions.
12281 (llrint): Likewise, for all definitions.
12282 (llrintl): Likewise.
12283
fed0faa1
JM
12284 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12285 Remove [__GNUC__] condition.
12286 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12287 condition to just [__USE_ISOC99].
12288 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12289
1a20cb20
L
122902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12291
12292 [BZ #14200]
12293 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12294 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12295 defined.
12296 (_POSIX_V6_ILP32_OFF32): Likewise.
12297 (_XBS5_ILP32_OFF32): Likewise.
12298 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12299 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12300
751b85f7
SP
123012013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12302
7490eb81
SP
12303 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12304
751b85f7
SP
12305 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12306 doubles __mpexp_twomm1. Adjust usage.
12307 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12308 Remove.
12309
988197f0
AS
123102013-01-10 Andreas Schwab <schwab@suse.de>
12311
12312 [BZ #14964]
12313 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12314 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12315
e83d7298
DM
123162013-01-09 David S. Miller <davem@davemloft.net>
12317
034ed64b 12318 [BZ #15003]
e83d7298
DM
12319 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12320 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12321 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12322 TCP_FASTOPEN): Define.
12323 (tcp_repair_opt): New structure.
12324 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12325 enum values.
12326 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12327 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12328 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12329 (tcp_cookie_transactions): New structure.
12330
d5e0b9bd
AB
123312013-01-09 Anton Blanchard <anton@samba.org>
12332
12333 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12334 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12336 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12337
0c07e3ea
JM
123382013-01-09 Joseph Myers <joseph@codesourcery.com>
12339
12340 * include/features.h (__USE_ANSI): Remove.
12341
232f7002
RM
123422013-01-09 Roland McGrath <roland@hack.frob.com>
12343
ad98e30c
RM
12344 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12345
232f7002
RM
12346 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12347
950c99ca
SP
123482013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12349
b5792741
SP
12350 * sysdeps/s390/fpu/libm-test-ulps: Update.
12351
47cf2278
SP
12352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12353
950c99ca
SP
12354 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12355 (__acr): Likewise.
12356 (__cpy): Likewise.
12357 (norm): Likewise.
12358 (denorm): Likewise.
12359 (__mp_dbl): Likewise.
12360 (__dbl_mp): Likewise.
12361 (add_magnitudes): Likewise.
12362 (sub_magnitudes): Likewise.
12363 (__add): Likewise.
12364 (__sub): Likewise.
12365 (__mul): Likewise.
12366 (__inv): Likewise.
12367 (__dvd): Likewise.
12368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12369 (__acr): Likewise.
12370 (__cpy): Likewise.
12371 (norm): Likewise.
12372 (denorm): Likewise.
12373 (__mp_dbl): Likewise.
12374 (__dbl_mp): Likewise.
12375 (add_magnitudes): Likewise.
12376 (sub_magnitudes): Likewise.
12377 (__add): Likewise.
12378 (__sub): Likewise.
12379 (__mul): Likewise.
12380 (__inv): Likewise.
12381 (__dvd): Likewise.
12382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12383 (__acr): Likewise.
12384 (__cpy): Likewise.
12385 (norm): Likewise.
12386 (denorm): Likewise.
12387 (__mp_dbl): Likewise.
12388 (__dbl_mp): Likewise.
12389 (add_magnitudes): Likewise.
12390 (sub_magnitudes): Likewise.
12391 (__add): Likewise.
12392 (__sub): Likewise.
12393 (__mul): Likewise.
12394 (__inv): Likewise.
12395 (__dvd): Likewise.
12396
eede9df9
JM
123972013-01-08 Joseph Myers <joseph@codesourcery.com>
12398
12399 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12400 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12401 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12402 2 && __USE_EXTERN_INLINES]: Likewise.
12403
c40ea3d9
AJ
124042013-01-08 Andreas Jaeger <aj@suse.de>
12405
12406 [BZ# 14985]
12407 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12408 Remove.
12409 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12410 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12411
2ccdea26
AB
124122013-01-07 Anton Blanchard <anton@samba.org>
12413
12414 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12415 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12416 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12417 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12418 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12419 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12420 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12421 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12424 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12426 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12427 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12428 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12429 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12431 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12432 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12433 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12434 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12435 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12436 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12437 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12438 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12439 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12440 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12441 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12442 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12443 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12444 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12447 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12448 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12449 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12450 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12451 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12452 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12454 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12456 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12457
a9708fed
JM
124582013-01-07 Joseph Myers <joseph@codesourcery.com>
12459
375607b9
JM
12460 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12461 (__MALLOC_PMT): Likewise.
12462 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12463 [__GNUC__], only on [_LIBC].
12464 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12465 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12466 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12467 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12468 forward declaration.
12469 (realloc_hook_ini): Likewise.
12470 (memalign_hook_ini): Likewise.
12471 (__libc_memalign): Do not use __MALLOC_PMT in variable
12472 declaration.
12473 (__libc_valloc): Likewise.
12474 (__libc_pvalloc): Likewise.
12475 (__libc_calloc): Likewise.
12476 (__posix_memalign): Likewise.
12477
a9708fed
JM
12478 [BZ #14996]
12479 * math/s_casinh.c: Include <float.h>.
12480 (__casinh): Do not do computation with squaring and square root
12481 for large arguments.
12482 * math/s_casinhf.c: Include <float.h>.
12483 (__casinhf): Do not do computation with squaring and square root
12484 for large arguments.
12485 * math/s_casinhl.c: Include <float.h>.
12486 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12487 (__casinhl): Do not do computation with squaring and square root
12488 for large arguments.
12489 * math/libm-test.inc (casin_test): Add more tests.
12490 (casinh_test): Likewise.
12491 * sysdeps/i386/fpu/libm-test-ulps: Update.
12492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12493
afec409a
L
124942013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12495
12496 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12497 (__x86_64_raw_data_cache_size): Likewise.
12498 (__x86_64_data_cache_size_half): Likewise.
12499 (__x86_64_raw_data_cache_size_half): Likewise.
12500 (__x86_64_shared_cache_size): Likewise.
12501 (__x86_64_raw_shared_cache_size): Likewise.
12502 (__x86_64_shared_cache_size_half): Likewise.
12503 (__x86_64_raw_shared_cache_size_half): Likewise.
12504 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12505 to ...
12506 (__x86_data_cache_size): This.
12507 (__x86_64_raw_data_cache_size): Renamed to ...
12508 (__x86_raw_data_cache_size): This.
12509 (__x86_64_data_cache_size_half): Renamed to ...
12510 (__x86_data_cache_size_half): This.
12511 (__x86_64_raw_data_cache_size_half): Renamed to ...
12512 (__x86_raw_data_cache_size_half): This.
12513 (__x86_64_shared_cache_size): Renamed to ...
12514 (__x86_shared_cache_size): This.
12515 (__x86_64_raw_shared_cache_size): Renamed to ...
12516 (__x86_raw_shared_cache_size): This.
12517 (__x86_64_shared_cache_size_half): Renamed to ...
12518 (__x86_shared_cache_size_half): This.
12519 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12520 (__x86_raw_shared_cache_size_half): This.
12521 * sysdeps/x86_64/memcpy.S: Updated.
12522 * sysdeps/x86_64/memset.S: Likewise.
12523 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12524 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12525 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12526
0b3986d0
DM
125272013-01-04 David S. Miller <davem@davemloft.net>
12528
12529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12530
e47686e9
AS
125312013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12532
d643bac1
AS
12533 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12534 1 to avoid redefinition warning.
12535 (__USE_GNU): Don't define.
12536 (init_signaling_nan): Protoize.
12537
e47686e9
AS
12538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12539
b18decba
SP
125402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12541
fffb407f
SP
12542 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12544 (__cpymn): Likewise.
12545 (norm): Remove commented code.
12546 (denorm): Likewise.
12547 (__mp_dbl): Likewise.
12548 (__inv): Likewise.
12549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12550 (__cpymn): Likewise.
12551 (norm): Remove commented code.
12552 (denorm): Likewise.
12553 (__mp_dbl): Likewise.
12554 (__inv): Likewise.
12555
b18decba
SP
12556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12557 mp_no value for 1.0 and 2.0.
12558 (norm): Use RADIXI instead of radixi.d.
12559 (denorm): Likewise.
12560 (__mul): Use 0.0 instead of zero.d.
12561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12562 mp_no value for 1.0 and 2.0.
12563 (norm): Use RADIXI instead of radixi.d.
12564 (denorm): Likewise.
12565 (__mul): Use 0.0 instead of zero.d.
12566
cdc1c96f
JM
125672013-01-04 Joseph Myers <joseph@codesourcery.com>
12568
12569 [BZ #14994]
12570 * math/s_casinh.c (__casinh): Reduce finite argument to first
12571 quadrant then set signs of results at the end.
12572 * math/s_casinhf.c (__casinhf): Likewise.
12573 * math/s_casinhl.c (__casinhl): Likewise.
12574 * math/libm-test.inc (casin_test): Add more tests.
12575 (casinh_test): Likewise.
12576 * sysdeps/i386/fpu/libm-test-ulps: Update.
12577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12578
302913e1
SP
125792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12580
6420d207
SP
12581 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12582
a9e48ab4
SP
12583 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12584
b7837264
SP
12585 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12586 declarations.
12587 (denorm): Likewise.
12588 (__mp_dbl): Likewise.
12589 (__inv): Likewise.
12590
f8af25d2
SP
12591 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12592 and adjust the header comment.
12593
302913e1
SP
12594 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12595 variable name from declaration.
12596
5d7dd1ca
L
125972013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12598
12599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12600 Initialize COMMON_CPUID_INDEX_7 element.
12601 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12602 (CPUID_RTM): Likewise.
12603 (HAS_RTM): Likewise.
12604 (COMMON_CPUID_INDEX_7): New enum.
12605
2f5f40f4
AS
126062013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12607
12608 [BZ #14981]
12609 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12610 size is zero, record memory as freed.
12611
4056f4a0
AJ
126122013-01-03 Andreas Jaeger <aj@suse.de>
12613
12614 * po/ia.po: Add new Interlingua translation.
12615
ab15736f 126162012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12617
12618 * locale/programs/localedef.c: Fix description of '--posix' flag.
12619
568035b7
JM
126202013-01-02 Joseph Myers <joseph@codesourcery.com>
12621
e6898b8d
JM
12622 * NEWS: Update dates in second copyright notice.
12623 * README: Update copyright dates in example.
12624 * manual/libc.texinfo: Update copyright dates.
12625 * scripts/test-installation.pl: Update copyright date in --version
12626 output.
12627
0e2f9562
JM
12628 * hurd/ctty-input.c: Fix copyright notice formatting.
12629 * hurd/ctty-output.c: Likewise.
12630 * hurd/dtable.c: Likewise.
12631 * hurd/hurd-raise.c: Likewise.
12632 * hurd/hurdprio.c: Likewise.
12633 * hurd/msgportdemux.c: Likewise.
12634 * misc/sys/file.h: Likewise.
12635 * misc/sys/ioctl.h: Likewise.
12636 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12637 * sysdeps/mach/hurd/chdir.c: Likewise.
12638 * sysdeps/mach/hurd/fchdir.c: Likewise.
12639 * sysdeps/mach/hurd/rename.c: Likewise.
12640 * sysdeps/mach/hurd/rmdir.c: Likewise.
12641 * sysdeps/mach/hurd/seekdir.c: Likewise.
12642 * sysdeps/mach/hurd/setsid.c: Likewise.
12643 * sysdeps/posix/wait3.c: Likewise.
12644
568035b7
JM
12645 * All files with FSF copyright notices: Update copyright dates
12646 using scripts/update-copyrights.
12647 * intl/plural.c: Regenerated.
12648 * locale/programs/charmap-kw.h: Likewise.
12649 * locale/programs/locfile-kw.h: Likewise.
12650
da08f647
SP
126512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12652
0f5477af
SP
12653 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12654 four values.
12655
44e0d4c2
SP
12656 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12657 calculation loop and add branch prediction.
12658
4d55b4e5
SP
12659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12660 check access beyond bounds of m1np.
12661
da08f647
SP
12662 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12663 MPTWO.
12664 (__inv): Remove local variable MPTWO to use the global
12665 constant.
12666 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12667 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12668 variable MPTWO.
12669 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12670 MP3HALFS static const.
12671
8e051029
DM
126722013-01-01 David S. Miller <davem@davemloft.net>
12673
12674 * po/ca.po: Update from translation team.
12675
f4cf5f2d
JM
126762013-01-01 Joseph Myers <joseph@codesourcery.com>
12677
12678 * scripts/update-copyrights: New file.
12679 * Makeconfig: Reformat copyright notice.
12680 * ctype/ctype.h: Likewise.
12681 * debug/swprintf_chk.c: Likewise.
12682 * elf/dl-cache.c: Likewise.
12683 * elf/dl-debug.c: Likewise.
12684 * elf/dl-object.c: Likewise.
12685 * grp/initgroups.c: Likewise.
12686 * hurd/Makefile: Likewise.
12687 * hurd/hurd/signal.h: Likewise.
12688 * hurd/hurdfault.c: Likewise.
12689 * hurd/hurdioctl.c: Likewise.
12690 * hurd/hurdlookup.c: Likewise.
12691 * hurd/intr-msg.c: Likewise.
12692 * iconv/gconv_open.c: Likewise.
12693 * libio/swprintf.c: Likewise.
12694 * locale/lc-ctype.c: Likewise.
12695 * locale/nl_langinfo.c: Likewise.
12696 * mach/Machrules: Likewise.
12697 * mach/Makefile: Likewise.
12698 * malloc/obstack.h: Likewise.
12699 * manual/Makefile: Likewise.
12700 * manual/tsort.awk: Likewise.
12701 * misc/bits/stab.def: Likewise.
12702 * nis/nis_print_group_entry.c: Likewise.
12703 * nis/nis_table.c: Likewise.
12704 * nis/nss_compat/compat-pwd.c: Likewise.
12705 * nis/nss_compat/compat-spwd.c: Likewise.
12706 * po/Makefile: Likewise.
12707 * posix/fnmatch.c: Likewise.
12708 * posix/regex.h: Likewise.
12709 * resolv/Makefile: Likewise.
12710 * resolv/nss_dns/dns-network.c: Likewise.
12711 * resolv/res_hconf.c: Likewise.
12712 * scripts/gen-sorted.awk: Likewise.
12713 * soft-fp/soft-fp.h: Likewise.
12714 * stdio-common/printf.h: Likewise.
12715 * stdlib/monetary.h: Likewise.
12716 * stdlib/random.c: Likewise.
12717 * stdlib/random_r.c: Likewise.
12718 * sysdeps/generic/Makefile: Likewise.
12719 * sysdeps/gnu/Makefile: Likewise.
12720 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12722 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12739 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12748 * sysdeps/mach/hurd/errnos.awk: Likewise.
12749 * sysdeps/mach/hurd/fork.c: Likewise.
12750 * sysdeps/mach/hurd/getcwd.c: Likewise.
12751 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12752 * sysdeps/mach/hurd/mmap.c: Likewise.
12753 * sysdeps/mach/hurd/utimes.c: Likewise.
12754 * sysdeps/mach/hurd/xmknod.c: Likewise.
12755 * sysdeps/posix/profil.c: Likewise.
12756 * sysdeps/posix/readdir_r.c: Likewise.
12757 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12758 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12759 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12760 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12762 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12763 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12764 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12766 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12767 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12768 * sysdeps/pthread/lio_listio.c: Likewise.
12769 * sysdeps/sparc/dl-procinfo.h: Likewise.
12770 * sysdeps/unix/i386/sysdep.S: Likewise.
12771 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12772 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12773 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12774 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12776 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12777 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12778 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12779 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12780 * sysdeps/wordsize-32/divdi3.c: Likewise.
12781 * time/sys/time.h: Likewise.
12782 * wcsmbs/Makefile: Likewise.
12783
0549fbba
DM
127842013-01-01 David S. Miller <davem@davemloft.net>
12785
a141f1a7
DM
12786 * po/fr.po: Update from translation team.
12787
0549fbba
DM
12788 * catgets/gencat.c: Update copyright year.
12789 * csu/version.c: Likewise.
12790 * debug/catchsegv.sh: Likewise.
12791 * debug/pcprofiledump.c: Likewise.
12792 * debug/xtrace.sh: Likewise.
12793 * elf/ldconfig.c: Likewise.
12794 * elf/ldd.bash.in: Likewise.
12795 * elf/pldd.c: Likewise.
12796 * elf/sotruss.ksh: Likewise.
12797 * elf/sprof.c: Likewise.
12798 * iconv/iconv_prog.c: Likewise.
12799 * iconv/iconvconfig.c: Likewise.
12800 * locale/programs/locale.c: Likewise.
12801 * locale/programs/localedef.c: Likewise.
12802 * login/programs/pt_chown.c: Likewise.
12803 * malloc/memusage.sh: Likewise.
12804 * malloc/memusagestat.c: Likewise.
12805 * malloc/mtrace.pl: Likewise.
12806 * nscd/nscd.c: Likewise.
12807 * nss/getent.c: Likewise.
12808 * nss/makedb.c: Likewise.
12809 * posix/getconf.c: Likewise.
12810
18ea052c
SP
128112012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12812
12813 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12814 numbers.
12815
9c89fca6
MF
128162012-12-30 Mike Frysinger <vapier@gentoo.org>
12817
12818 * math/bits/mathcalls.h (modf): Use __nonnull.
12819
085ec079
SP
128202012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12821
12822 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12823 (split): Use macro CN instead of the bare value.
12824 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12825 could be used.
12826 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12827 instead of the bare value.
12828 (power1): Likewise.
12829
6d9f97e1
SP
128302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12831
d63f73be
SP
12832 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12833 __ATAN_TWOM.
12834 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12835
6d9f97e1
SP
12836 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12837 their values.
12838 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12840 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12841 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12842
4c4febf5
AJ
128432012-12-28 Andreas Jaeger <aj@suse.de>
12844
af5843ef
AJ
12845 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12846 values are from Linux 3.7.
12847
4c4febf5
AJ
12848 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12849 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12850
99136f82
SP
128512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12852
2f216c3c 12853 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12854 TRUE case.
12855
99136f82
SP
12856 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12857 (norm): Likewise.
12858 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12859 variables with preprocessor constants.
12860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12861 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12862 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12863
7fffbdff
BH
128642012-12-27 Bruno Haible <bruno@clisp.org>
12865
12866 [BZ #14317]
12867 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12868 only if needed.
12869
b76eb5f0
SP
128702012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12871
31a7fe5c
SP
12872 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12873 and use variable directly.
12874 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12875
b76eb5f0
SP
12876 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12877 MPONE.
12878 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12880 variable MPONE.
12881 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12883 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12884 include directive. Remove local variable MPONE.
12885 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12886 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12888
2c8bfe7d
DM
128892012-12-25 David S. Miller <davem@davemloft.net>
12890
12891 * version.h (RELEASE): Set to "development".
12892 (VERSION): Set to "2.17.90".
12893 * NEWS: Add 2.18 section.
12894
147d03b0
DM
128952012-12-21 David S. Miller <davem@davemloft.net>
12896
12897 * po/hr.po: Update from translation team.
12898
a8ebb2b9
AK
128992012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12900
12901 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12902
95b4f1b6
SE
129032012-12-19 Steve Ellcey <sellcey@mips.com>
12904
b2d94007 12905 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12906
cedb2a90
MS
129072012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12908
12909 * manual/contrib.texi (Contributors): Spelling correction.
12910
bbf527d6
DM
129112012-12-15 David S. Miller <davem@davemloft.net>
12912
12913 * po/ru.po: Update from translation team.
12914
bc38c906
DM
129152012-12-13 David S. Miller <davem@davemloft.net>
12916
85429b1a
DM
12917 * NEWS: Mention IFUNC testsuite enhancements.
12918
d283e353
DM
12919 * po/pl.po: Update from translation team.
12920 * po/bg.po: Likewise.
12921
bc38c906
DM
12922 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12923 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12924
a181b0d7
DM
129252012-12-11 David S. Miller <davem@davemloft.net>
12926
4641d57e
DM
12927 * po/sv.po: Update from translation team.
12928
f7bc6495
DM
12929 * po/vi.po: Update from translation team.
12930
6fc9048f
DM
12931 * po/cs.po: Update from translation team.
12932
a181b0d7
DM
12933 * po/de.po: Update from translation team.
12934 * po/eo.po: Likewise.
12935 * po/nl.po: Likewise.
12936
f70bfe80
SP
129372012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12938
3c8b4190
SP
12939 [BZ #14246]
12940 * manual/argp.texi (Argp Helper Functions): Move node to follow
12941 Argp Parsing State.
12942
f70bfe80
SP
12943 [BZ #14872]
12944 * manual/conf.texi (Limits on File System Capacity): Mention if
12945 terminating null is included in the max size.
12946
188f0adf
AJ
129472012-12-10 Andreas Jaeger <aj@suse.de>
12948
12949 * po/cs.po: Update from translation team.
12950
56e7d3ad
SP
129512012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12952
12953 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12954 void pointer and cast to uintptr_t.
12955 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12956 path.
12957 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12958 * sysdeps/s390/s390-64/memset.S: Likewise.
12959
76f2d2ea 129602012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12961
12962 [BZ #14833]
12963 * menual/message.texi (Message Translation): Fix typos.
12964 (Helper programs for gettext): Likewise.
12965
67cbf9a2
AS
129662012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12967
12968 [BZ #14898]
12969 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12970 Change to -1.
12971
682d0e9a
DM
129722012-12-07 David S. Miller <davem@davemloft.net>
12973
12974 * po/libc.pot: Update.
12975
573cd484
RH
129762012-12-07 Richard Henderson <rth@redhat.com>
12977
7e9da188 12978 [BZ #10114]
573cd484
RH
12979 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12980 normal/normal case to before the switch.
12981 (_FP_DIV): Likewise.
12982
e933a943
MF
129832012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12984 Mike Frysinger <vapier@gentoo.org>
12985
12986 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12987 check for __NR_fadvise64_64.
12988
82123268
CM
129892012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12990
12991 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12992 0, not just to plain "0" as a statement.
12993 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12994 with cw.
12995
d9814526
JM
129962012-12-06 Joseph Myers <joseph@codesourcery.com>
12997
12998 * NEWS: Use sourceware.org in Bugzilla URL.
12999
7728c574
SP
130002012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13001
f16946dd
SP
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13003 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13004
5704bbcb
SP
13005 * stdio-common/tst-put-error.c (do_test): Add newline to the
13006 padded test to ensure flush.
13007
17aa0516
JL
130082012-12-05 Jeff Law <law@redhat.com>
13009
13010 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13011
363313b5
JM
130122012-12-05 Joseph Myers <joseph@codesourcery.com>
13013
effbd42a
JM
13014 * README: Don't refer to ports add-on as distributed separately.
13015 Mention AArch64 in list of systems supported in the ports add-on.
13016
87600365
JM
13017 * LICENSES: Add more non-FSF copyright and license notices.
13018
a0d7066a
JM
13019 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13020 ((unused)).
13021
66ca5a5b
JM
13022 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13023
363313b5
JM
13024 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13025 10000 as width of padded output.
13026
b37984ad
JM
130272012-12-04 Joseph Myers <joseph@codesourcery.com>
13028
9003570a
JM
13029 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13030
b37984ad
JM
13031 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13032 variable LX with __attribute__ ((unused)).
13033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13034 Likewise.
13035 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13038 with __attribute__ ((unused)).
13039
c8df52ec
DM
130402012-12-04 David S. Miller <davem@abraco.davemloft.net>
13041
13042 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13043
b3b099af
JM
130442012-12-04 Joseph Myers <joseph@codesourcery.com>
13045
c33aa6e3
JM
13046 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13047 (CFLAGS-nldbl-acos.c): New variable.
13048 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13049 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13050 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13051 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13052 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13053 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13054 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13055 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13056 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13057 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13058 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13059 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13060 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13061 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13062 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13063 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13064 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13065 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13066 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13067 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13068 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13069 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13070 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13071 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13072 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13073 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13074 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13075 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13076 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13077 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13078 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13079 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13080 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13081 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13082 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13083 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13084 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13085 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13086 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13087 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13088 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13089 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13090 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13091 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13092 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13093 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13094 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13095 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13096 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13097 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13098 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13099 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13100 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13101 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13102 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13103 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13104 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13105 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13106 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13107 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13108 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13109 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13110 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13111 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13112 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13113 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13114 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13115 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13116 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13117 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13118 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13119 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13120 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13121 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13122 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13123 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13124 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13125 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13126 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13127 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13128 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13129 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13130 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13131 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13132 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13133 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13134 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13135 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13136 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13137 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13138 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13139 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13140 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13141 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13142 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13143 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13144 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13145
20f0018d
JM
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13147 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13148
b3b099af
JM
13149 [BZ #14914]
13150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13151 whole low double instead of just low 47 bits when splitting values
13152 into two parts.
13153
029264d1
AM
131542012-12-03 Allan McRae <allan@archlinux.org>
13155
13156 * manual/stdio.texi (Predefined Printf Handlers): Remove
13157 @hsep and @vsep usage.
13158
c9d6789e
MF
131592012-12-03 Mike Frysinger <vapier@gentoo.org>
13160
13161 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13162 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13163
4b7634a5
JL
131642012-12-03 Jeff Law <law@redhat.com>
13165
13166 * time/sys/time.h (settimeofday): Do not mark TV argument
13167 as __nonnull.
13168
eb6cbd24
MF
131692012-12-01 Mike Frysinger <vapier@gentoo.org>
13170
13171 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13172 when currently writing and seek to current position when not.
13173 * libio/Makefile (tests): Remove bug-fclose1.
13174 * libio/bug-fclose1.c: Delete.
13175
f638872a
JM
131762012-12-01 Joseph Myers <joseph@codesourcery.com>
13177
13178 * manual/arith.texi (feenableexcept): Fix typo.
13179 (fedisableexcept): Likewise.
13180
48085d14
RM
131812012-11-30 Roland McGrath <roland@hack.frob.com>
13182
13183 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13184 second, differently-typed declaration, rather than a cast.
13185
1a538b9f
SP
131862012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13187
13188 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13189 * include/rpc/svc.h: ... here.
13190
d07f2ff1 131912012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13192
13193 [BZ #13013]
13194 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13195 depending n and resplen2 to catch cases where answer
13196 equals answerp2.
13197
c93ec1f0
CD
131982012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13199
13200 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13201 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13202
37db69de
MF
132032012-11-29 Mike Frysinger <vapier@gentoo.org>
13204
13205 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13206
e10c4e4f
RM
132072012-11-29 Roland McGrath <roland@hack.frob.com>
13208
13209 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13210
2af1b328
JL
132112012-11-28 Jeff Law <law@redhat.com>
13212
13213 [BZ #13761]
13214 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13215 dataset_temporary. Track alloca usage into alloca_used.
13216 If dataset is large allocate and release it via malloc/free.
13217
111db5b1
FW
132182012-06-04 Florian Weimer <fweimer@redhat.com>
13219
f06cc227 13220 [BZ #14197]
111db5b1
FW
13221 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13222
dd694abd
DM
132232012-11-28 David S. Miller <davem@davemloft.net>
13224
13225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13226
9984dd01
JM
132272012-11-28 Joseph Myers <joseph@codesourcery.com>
13228
13229 [BZ #14803]
13230 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13231 of pi/2 rounded to nearest to 64 bits.
13232 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13233 nearest to 64 bits.
13234 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13235 bits.
13236
14bc93a9
JL
132372012-11-28 Jeff Law <law@redhat.com>
13238 Martin Osvald <mosvald@redhat.com>
13239
13240 [BZ #14889]
13241 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13242 * sunrpc/svc.c: Include time.h.
13243 (__svc_accept_failed): New function.
13244 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13245 any reason other than EINTR, call __svc_accept_failed.
13246 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13247 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13248
e3c6aa3a
AS
132492012-11-28 Andreas Schwab <schwab@suse.de>
13250
13251 * scripts/abilist.awk: Also handle indirect functions in .opd
13252 section.
13253
1bead169
JM
132542012-11-28 Joseph Myers <joseph@codesourcery.com>
13255
13256 [BZ #13881]
13257 * sysdeps/x86/fpu/powl_helper.c: New file.
13258 * sysdeps/x86/fpu/Makefile: Likewise.
13259 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13260 (p3): New object.
13261 (__ieee754_powl): Use __powl_helper for finite arguments except
13262 integer exponents below 8.
13263 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13264 (p3): New object.
13265 (__ieee754_powl): Use __powl_helper for finite arguments except
13266 integer exponents below 8.
13267 * math/libm-test.inc (pow_test): Add more tests and enable some
13268 previously disabled tests.
13269 * sysdeps/i386/fpu/libm-test-ulps: Update.
13270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13271
0817d63d
SP
132722012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13273 Carlos O'Donell <carlos_odonell@mentor.com>
13274
13275 * nss/makedb.c (is_prime): Assert that input is odd and greater
13276 than 4. Note that fact in a comment too.
13277 (next_prime): Add 4 to input.
13278
de2fd463
SP
132792012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13280
13281 [BZ #11741]
13282 * libio/Makefile (tests): Add test case tst-fwrite-error.
13283 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13284 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13285 * libio/tst-fwrite-error.c: New test case.
13286
c515fb51
L
132872012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13288
13289 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13290 before casting to void *.
13291 * include/libc-internal.h (__pointer_type): New macro.
13292 (__integer_if_pointer_type_sub): Likewise.
13293 (__integer_if_pointer_type): Likewise.
13294 (cast_to_integer): Likewise.
13295 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13296 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13297 before casting to atomic64_t.
13298 (atomic_exchange_acq): Likewise.
13299 (__arch_exchange_and_add_body): Likewise.
13300 (__arch_add_body): Likewise.
13301 (atomic_add_negative): Likewise.
13302 (atomic_add_zero): Likewise.
13303
4cf77aa9
JM
133042012-11-26 Joseph Myers <joseph@codesourcery.com>
13305
13306 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13307 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13308 (add_fdes): Likewise.
13309 (linear_search_fdes): Likewise.
13310 (binary_search_unencoded_fdes): Likewise.
13311
d260b3b4
AS
133122012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13313
13314 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13315
67060746
AC
133162012-11-24 Adam Conrad <adconrad@0c3.net>
13317
13318 * configure.in: Autodetect C++ header directories.
13319 * configure: Regenerated.
13320
800938a1
MF
133212012-11-23 Mike Frysinger <vapier@gentoo.org>
13322
13323 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13324
4e6e34e6
AS
133252012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13326
13327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13328
7c7feb47
JM
133292012-11-22 Joseph Myers <joseph@codesourcery.com>
13330
7184dcdf
JM
13331 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13332 LDBL_MANT_DIG == 106]: Disable some tests.
13333 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13334 Likewise.
13335 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13336 Likewise.
13337
0a42601f
JM
13338 [BZ #14871]
13339 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13340 input for small inputs. Return +/- pi/2 for large inputs.
13341 * math/libm-test.inc (atan_test): Add more tests.
13342
79c9b9fe
JM
13343 * sysdeps/generic/unwind-dw2-fde-glibc.c
13344 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13345 __attribute__ ((unused)).
13346
c60d3bf2
JM
13347 [BZ #14645]
13348 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13349 x * y if x and y are nonzero and z is zero.
13350
ef1e0867
JM
13351 [BZ #14811]
13352 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13353 nonzero exponents with absolute value below 0x1p-117 to +/-
13354 0x1p-117.
13355
1468ded3
JM
13356 [BZ #14869]
13357 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13358 up arguments below 2**-450, not just those below 2**-500.
13359 * math/libm-test.inc (hypot_test): Add another test.
13360
8e27e3cc
JM
13361 [BZ #14868]
13362 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13363 Return a+b for ratio over 2**120, not 2**60.
13364 * math/libm-test.inc (hypot_test): Add another test.
13365
c9c0279b
JM
13366 * math/libm-test.inc (clog_test): Use
13367 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13368 (clog10_test): Likewise.
13369
7c7feb47
JM
13370 [BZ #6778]
13371 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13372
fff1530e
AS
133732012-11-22 Andreas Schwab <schwab@suse.de>
13374
13375 * sysdeps/i386/fpu/libm-test-ulps: Update.
13376
94558d30
PT
133772012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13378
13379 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13380 printf output with newline.
13381
7e1be741
L
133822012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13383
6bfea974
L
13384 [BZ #14865]
13385 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13386 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13387 -z nodlopen, -z initfirst and -z execstack support.
13388 * configure: Regenerated.
13389
7e1be741
L
13390 * elf/elf.h (DF_1_NODIRECT): New macro.
13391 (DF_1_IGNMULDEF): Likewise.
13392 (DF_1_NOKSYMS): Likewise.
13393 (DF_1_NOHDR): Likewise.
13394 (DF_1_EDITED): Likewise.
13395 (DF_1_NORELOC): Likewise.
13396 (DF_1_SYMINTPOSE): Likewise.
13397 (DF_1_GLOBAUDIT): Likewise.
13398 (DF_1_SINGLETON): Likewise.
13399 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13400 DT_1_SUPPORTED_MASK bits.
13401 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13402
105ce2ce
CD
134032012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13404
13405 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13406
123be9de
TS
134072012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13408
d072f3f7
TS
13409 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13410 macro.
13411
123be9de
TS
13412 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13413 (sendmmsg): Move declarations...
13414 * socket/sys/socket.h: ... here.
13415 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13416 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13417 include it from...
13418 * socket/recvmmsg.c: ... this new file.
13419 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13420 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13421 definition of __sendmmsg hidden.
13422 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13423 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13424 Move ENOSYS stub into and include it from...
13425 * socket/sendmmsg.c: ... this new file.
13426 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13427 (sysdep_routines): Move recvmmsg and sendmmsg...
13428 * socket/Makefile (routines): ... here.
13429 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13430 (GLIBC_PRIVATE): Add __sendmmsg.
13431 * include/sys/socket.h (__sendmmsg): Add declarations.
13432 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13433 sendmmsg.
13434
cf9a5d18
JM
134352012-11-20 Joseph Myers <joseph@codesourcery.com>
13436
13437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13438 variable I1 with __attribute__ ((unused)).
13439 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13440
ecd4caf9
JM
134412012-11-19 Joseph Myers <joseph@codesourcery.com>
13442
be14d48f
JM
13443 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13444 DUMMY variables with __attribute__ ((unused)).
13445
ecd4caf9
JM
13446 * bits/byteswap.h: Include <bits/types.h>.
13447 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13448
986cab95
PT
134492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13450
13451 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13452 string_t. Do not manually set errno.
13453 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13454 length with __strnlen. Make sure to both set errno and return it on
13455 failure.
13456
6d33cc9d
DM
134572012-11-19 David S. Miller <davem@davemloft.net>
13458
13459 With help from Joseph Myers.
13460 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13461 very large arguments properly.
13462 * math/libm-test.inc (atan_test): New tests.
13463 (atan2_test): New tests.
13464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13466
ee663277
JM
134672012-11-19 Joseph Myers <joseph@codesourcery.com>
13468
877f2d8e
JM
13469 [BZ #14856]
13470 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13471 Define to 3.
13472
116fc08a
JM
13473 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13474 [POSIX] (EADDRNOTAVAIL): Likewise.
13475 [POSIX] (EAFNOSUPPORT): Likewise.
13476 [POSIX] (EALREADY): Likewise.
13477 [POSIX] (ECONNABORTED): Likewise.
13478 [POSIX] (ECONNREFUSED): Likewise.
13479 [POSIX] (ECONNRESET): Likewise.
13480 [POSIX] (EDESTADDRREQ): Likewise.
13481 [POSIX] (EDQUOT): Likewise.
13482 [POSIX] (EHOSTUNREACH): Likewise.
13483 [POSIX] (EIDRM): Likewise.
13484 [POSIX] (EISCONN): Likewise.
13485 [POSIX] (ELOOP): Likewise.
13486 [POSIX] (EMULTIHOP): Likewise.
13487 [POSIX] (ENETDOWN): Likewise.
13488 [POSIX] (ENETUNREACH): Likewise.
13489 [POSIX] (ENOBUFS): Likewise.
13490 [POSIX] (ENODATA): Likewise.
13491 [POSIX] (ENOLINK): Likewise.
13492 [POSIX] (ENOMSG): Likewise.
13493 [POSIX] (ENOPROTOOPT): Likewise.
13494 [POSIX] (ENOSR): Likewise.
13495 [POSIX] (ENOSTR): Likewise.
13496 [POSIX] (ENOTCONN): Likewise.
13497 [POSIX] (ENOTSOCK): Likewise.
13498 [POSIX] (EOPNOTSUPP): Likewise.
13499 [POSIX] (EOVERFLOW): Likewise.
13500 [POSIX] (EPROTO): Likewise.
13501 [POSIX] (EPROTONOSUPPORT): Likewise.
13502 [POSIX] (EPROTOTYPE): Likewise.
13503 [POSIX] (ESTALE): Likewise.
13504 [POSIX] (ETIME): Likewise.
13505 [POSIX] (ETXTBSY): Likewise.
13506 [POSIX] (EWOULDBLOCK): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13508 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13509 [POSIX] (SEEK_CUR): Likewise.
13510 [POSIX] (SEEK_END): Likewise.
13511 [POSIX || UNIX98] (mode_t): Do not require.
13512 [POSIX] (off_t): Likewise.
13513 [POSIX] (pid_t): Likewise.
13514 [POSIX] (sys/stat.h): Do not allow header.
13515 [POSIX] (unistd.h): Likewise.
13516 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13517 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13518 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13519 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13520 require.
13521 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13522 sigevent): Specify elements.
13523 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13524 entry.
13525 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13526 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13527
a483863f
JM
13528 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13529 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13530 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13531 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13532 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13533 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13534 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13535 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13536 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13537 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13538 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13539 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13540 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13541 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13542 Likewise.
13543 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13544 Likewise.
13545 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13546 Likewise.
13547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13548 Likewise.
13549 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13550 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13551 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13552 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13553 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13554 Specify lower bound on value.
13555 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13556 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13557 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13558 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13559 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13560 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13561 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13562 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13563 value.
13564 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13565 as optional.
13566 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13567 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13568 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13569 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13570 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13571 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13572 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13573 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13574 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13575 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13576 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13577 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13578 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13579 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13580 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13581 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13582 entry.
13583 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13584 optional.
13585 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13586 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13587 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13588 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13589 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13590 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13591 Likewise.
13592 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13593 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13594 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13595 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13596 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13597 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13598 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13599 as optional.
13600 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13601 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13603 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13604 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13605 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13606 specify as optional.
13607 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13608 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13609 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13610 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13611 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13612 [XPG3] (NL_LANGMAX): Likewise.
13613 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13614 [POSIX || XPG3] (NL_NMAX): Likewise.
13615 [POSIX || XPG3] (NL_SETMAX): Likewise.
13616 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13617 [XPG3] (NZERO): Likewise.
13618 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13619 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13620 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13621 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13622 (REG_ERANGE): Expect.
13623 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13624 optional-constant.
13625 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13626 Use (void) in prototype.
13627 [POSIX] (*_t): Allow.
13628 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13629 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13630 (WRDE_BADVAL): Expect.
13631
5ba924e3
JM
13632 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13633 expect.
13634 [XPG3 || XPG4] (O_RSYNC): Likewise.
13635 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13636 Likewise.
13637 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13638 [XPG3 || XPG4] (sigqueue): Likewise.
13639 [XPG3 || XPG4] (sigtimedwait): Likewise.
13640 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13641 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13642 [XPG3 || XPG4] (vsnprintf): Likewise.
13643 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13644 Likewise.
13645 [XPG3 || XPG4] (blksize_t): Likewise.
13646 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13647 Likewise.
13648 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13649 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13650 [XPG3 || XPG4] (struct itimerspec): Likewise.
13651 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13652 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13653 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13654 [XPG3 || XPG4] (clockid_t): Likewise.
13655 [XPG3 || XPG4] (timer_t): Likewise.
13656 [XPG3 || XPG4] (clock_getres): Likewise.
13657 [XPG3 || XPG4] (clock_gettime): Likewise.
13658 [XPG3 || XPG4] (clock_settime): Likewise.
13659 [XPG3 || XPG4] (nanosleep): Likewise.
13660 [XPG3 || XPG4] (timer_create): Likewise.
13661 [XPG3 || XPG4] (timer_delete): Likewise.
13662 [XPG3 || XPG4] (timer_gettime): Likewise.
13663 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13664 [XPG3 || XPG4] (timer_settime): Likewise.
13665 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13666 [XPG3 || XPG4] (getlogin_r): Likewise.
13667 [XPG3 || XPG4] (pread): Likewise.
13668 [XPG3 || XPG4] (pthread_atfork): Likewise.
13669 [XPG3 || XPG4] (pwrite): Likewise.
13670
ee663277
JM
13671 [BZ #14835]
13672 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13673 <bits/siginfo.h>.
13674
942caa16
PT
136752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13676
e19af380
PT
13677 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13678 finalizing MALLSTREAM.
13679
942caa16
PT
13680 * sysdeps/mach/hurd/syncfs.c: New file.
13681
cfde9b46
SP
136822012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13683
13684 [BZ #14719]
13685 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13686 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13687 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13688 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13689 (_nss_dns_gethostbyname4_r): Likewise.
13690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13691 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13692
f6da27e5
PH
136932012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13694
13695 [BZ #13763]
13696 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13697
6665d4a2
SM
136982012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13699
1f51ee92
SM
13700 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13701 * elf/cache.c (print_entry): Print ",AArch64" for
13702 FLAG_AARCH64_LIB64
13703
6665d4a2
SM
13704 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13705 * elf/cache.c (print_entry): Print ",hard-float" for
13706 FLAG_ARM_LIBHF.
13707
05b227bd
DM
137082012-11-18 David S. Miller <davem@davemloft.net>
13709
13710 With help from Joseph Myers.
13711 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13712 cutoff to 2**-13.
13713 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13714 cutoff to 2**-25.
13715 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13716 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13717 small.
13718 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13719 * math/libm-test.inc (y0_test): New tests.
13720 (y1_test): New tests.
13721 * sysdeps/i386/fpu/libm-test-ulps: Update.
13722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13724
786b0b67
AS
137252012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13726
13727 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13728 64-bit targets.
13729 * configure: Regenerated.
13730
8e18b86d
DM
137312012-11-17 David S. Miller <davem@davemloft.net>
13732
13733 [BZ #14811]
13734 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13735 nonzero exponents with absolute value below 0x1p-128 to +/-
13736 0x1p-128.
13737
531f1ae0
JM
137382012-11-17 Joseph Myers <joseph@codesourcery.com>
13739
12df29e2
JM
13740 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13741
150dc1a0
JM
13742 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13743
531f1ae0
JM
13744 * posix/getconf-speclist.c: New file.
13745 * posix/posix-envs.def: Likewise.
13746 * posix/confstr.c (START_ENV_GROUP): New macro.
13747 (END_ENV_GROUP): Likewise.
13748 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13749 (KNOWN_PRESENT_ENV_STRING): Likewise.
13750 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13751 (UNKNOWN_ENVIRONMENT): Likewise.
13752 (confstr): Include posix-envs.def instead of handling
13753 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13754 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13755 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13756 (END_ENV_GROUP): Likewise.
13757 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13758 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13759 (UNKNOWN_ENVIRONMENT): Likewise.
13760 (__sysconf): Include posix-envs.def instead of handling associated
13761 cases directly here.
13762 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13763 preprocessing getconf-speclist.c rather than running getconf or
13764 generating empty file.
13765
a93f9cbc
PT
137662012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13767
13768 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13769
d64d9f87
AL
137702012-11-16 Andrej Lajovic <natrij@gmail.com>
13771
13772 [BZ #14672]
13773 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13774
447885eb
DM
137752012-11-16 David S. Miller <davem@davemloft.net>
13776
13777 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13778 smaller than LDBL_EPSILON/2.0L, just return xm1.
13779
bcbf9830
L
137802012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13781
13782 * elf/tst-array1.c (init): Set constructor priority to 1000.
13783 (fini): Set destructor priority to 1000.
13784 * elf/tst-array2dep.c: Likewise.
13785
2b766585
SP
137862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13787
13788 [BZ #11741]
13789 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13790 (_IO_new_file_xsputn): Also return EOF if none of the input
13791 data was written when overflow failed.
13792 * libio/iopadn.c (_IO_padn): Likewise.
13793 * libio/iowpadn.c (_IO_wpadn): Likewise.
13794 * stdio-common/tst-put-error.c: Add copyright notice.
13795 (do_test): Add case for printing padded string.
13796 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13797 _IO_padn returned error.
13798 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13799 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13800 return EOF.
13801
b1848fde
SP
138022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13803
13804 * libio/libioP.h: Add comment note that the references to C++
13805 bits are now obsolete.
13806
2fd89785
MS
138072012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13808
13809 * math/libm-test.inc (check_complex): Use asprintf.
13810
e3ea5409
JM
138112012-11-14 Joseph Myers <joseph@codesourcery.com>
13812
13813 * debug/pcprofiledump.c (print_version): Update copyright year.
13814 * malloc/memusagestat.c (print_version): Likewise.
13815
2e64d265
L
138162012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13817
13818 [BZ #14831]
13819 * elf/Makefile (tests): Add tst-audit8.
13820 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13821 ($(objpfx)tst-audit8.out): New target.
13822 (tst-audit8-ENV): New variable.
13823 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13824 audit if l_reloc_result is NULL.
13825 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13826 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13827 * elf/tst-audit8.c: New file.
13828
c485e4d2
MS
138292012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13830
13831 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13832 * misc/Makefile (CFLAGS-select.c): Define.
13833 * posix/Makefile (CFLAGS-pause.c): Define.
13834
3a0d900a
DM
138352012-11-13 David S. Miller <davem@davemloft.net>
13836
13837 * crypt/Makefile: Move test targets after toplevel Rules
13838 inclusion. Grab any necessary sysdep routines when linking.
13839 * crypt/md5.c (md5_process_block): Remove define, we will always
13840 name it __md5_process_block.
13841 (md5_finish_ctx): Update md5_process_block call.
13842 (md5_stream): Likewise.
13843 (md5_process_bytes): Likewise.
13844 (md5_process_block): Rename to __md5_process_block and move to ...
13845 * crypt/md5-block.c: ... here.
13846 * crypt/sha256.c (sha256_process_block): Move to ...
13847 * crypt/sha256-block.c: ... here.
13848 * crypt/sha512.c (sha512_process_block): Move to ...
13849 * crypt/sha512-block.c: ... here.
13850 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13851 path.
13852 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13853 * sysdeps/sparc/sparc64/multiarch/Makefile
13854 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13855 crypt subdir.
13856 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13857 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13858 multiarch changes.
13859 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13860 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13861 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13862 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13863 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13864 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13865 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13866 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13867 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13868 file.
13869 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13871 file.
13872 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13873
8ca89318
JM
138742012-11-13 Joseph Myers <joseph@codesourcery.com>
13875
e27d476a
JM
13876 * timezone/tzselect.ksh: Update from tzcode git revision
13877 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13878 * timezone/zdump.c: Likewise.
13879 * timezone/zic.c: Likewise.
13880 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13881 in TZVERSION setting, not $(PKGVERSION).
13882 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13883 REPORT_BUGS_TO settings.
13884
8ca89318
JM
13885 [BZ #14838]
13886 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13887 macro.
13888
47594329
MS
138892012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13890
13891 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13892 detection to immediately after _FP_ROUND().
13893 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13894 bits are 0.
13895
640ac3f1
DM
138962012-11-11 David S. Miller <davem@davemloft.net>
13897
13898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13899 inttypes.h
13900 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13901 __close rather than their public counterparts.
13902
3d2577bb
JM
139032012-11-10 Joseph Myers <joseph@codesourcery.com>
13904
13905 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13906 file.
13907 [UNIX98] (sem_timedwait): Do not expect.
13908 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13909 [XPG4 || UNIX98] (sockatmark): Do not expect.
13910 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13911 (clock_getcpuclockid): Do not expect.
13912 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13913 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13914 Do not expect.
13915 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13916 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13917 [UNIX98] (vwscanf): Likewise.
13918 [UNIX98] (vswscanf): Likewise.
13919
fb1ae1ee
JM
139202012-11-09 Joseph Myers <joseph@codesourcery.com>
13921
9ec6f8bd
JM
13922 * timezone/version.h: Remove file.
13923 * timezone/README: Do not refer to version.h.
13924 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13925 $(objpfx)version.h.
13926 ($(objpfx)zdump.o): Likewise.
c3f81911 13927 ($(objpfx)version.h): New target.
9ec6f8bd 13928
0aa8f8a1
JM
13929 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13930 2012i.
13931 * timezone/README: Don't mention modification to tzselect.ksh.
13932 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13933 work on unmodified tzselect.ksh. Substitute version numbers in
13934 tzselect.ksh.
13935
4e87147f
JM
13936 * Makefile (format-me): Remove.
13937 (INSTALL): Adjust indentation. Use commands directly instead of
13938 using $(format-me).
13939
8b748aed
JM
13940 * aclocal.m4 (ACX_PKGVERSION): New macro.
13941 (ACX_BUGURL): Likewise.
13942 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13943 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13944 (REPORT_BUGS_TO): Likewise.
13945 * configure: Regenerated.
13946 * config.h.in (PKGVERSION): New macro.
13947 (REPORT_BUGS_TO): Likewise.
13948 * config.make.in (PKGVERSION): New variable.
13949 (PKGVERSION_TEXI): Likewise.
13950 (REPORT_BUGS_TO): Likewise.
13951 (REPORT_BUGS_TEXI): Likewise.
13952 * Makefile (format-me): Use -I$(common-objpfx)manual.
13953 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13954 ($(common-objpfx)manual/%): New target.
13955 (manual/%): Remove target.
13956 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13957 (print_version): Use PKGVERSION.
13958 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13959 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13960 and REPORT_BUGS_TO.
13961 ($(objpfx)xtrace): Likewise.
13962 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13963 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13964 (print_version): Use PKGVERSION.
13965 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13966 (do_version): Use PKGVERSION.
13967 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13968 REPORT_BUGS_TO.
13969 (common-ldd-rewrite): Likewise.
13970 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13971 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13972 (print_version): Use PKGVERSION.
13973 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13974 * elf/pldd.c (argp_program_bug_address): Remove variable.
13975 (more_help): New function.
13976 (argp): Use more_help.
13977 (print_version): Use PKGVERSION.
13978 * elf/sln.c (main): Use PKGVERSION.
13979 (usage): Use REPORT_BUGS_TO.
13980 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13981 (top level): Use PKGVERSION.
13982 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13983 (print_version): Use PKGVERSION.
13984 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13985 (print_version): Use PKGVERSION.
13986 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13987 (print_version): Use PKGVERSION.
13988 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13989 (print_version): Use PKGVERSION.
13990 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13991 (print_version): Use PKGVERSION.
13992 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13993 (print_version): Use PKGVERSION.
13994 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13995 and BUGURL.
13996 ($(objpfx)memusage): Likewise.
13997 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13998 (do_version): Use PKGVERSION.
13999 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14000 (print_version): Use PKGVERSION.
14001 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14002 ($PKGVERSION): New variable.
14003 ($REPORT_BUGS_TO): Likewise.
14004 (usage): Use $REPORT_BUGS_TO.
14005 (top level): Use $PKGVERSION.
14006 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14007 ($(objpfx)pkgvers.texi): New rule.
14008 ($(objpfx)stamp-pkgvers): Likewise.
14009 * manual/install.texi: Include pkgvers.texi.
14010 (--with-pkgversion): Document new configure option.
14011 (--with-bugurl): Likewise.
14012 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14013 than necessarily for this particular distribution. Use
14014 REPORT_BUGS_TO for where to report bugs.
14015 * INSTALL: Regenerated.
14016 * manual/libc.texinfo: Include pkgvers.texi.
14017 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14018 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14019 (print_version): Use PKGVERSION.
14020 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14021 (print_version): Use PKGVERSION.
14022 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14023 (print_version): Use PKGVERSION.
14024 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14025 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14026 macro.
14027 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14028 (print_version): Use PKGVERSION.
14029 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14030 (print_version): Use PKGVERSION.
14031 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14032 and PKGVERSION.
14033
92e4b6a9
JM
14034 * timezone/checktab.awk: Update from tzcode 2012i.
14035 * timezone/ialloc.c: Likewise.
14036 * timezone/private.h: Likewise.
14037 * timezone/scheck.c: Likewise.
14038 * timezone/tzfile.h: Likewise.
14039 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14040 (TZVERSION): Hardcode tzcode version number.
14041 * timezone/zdump.c: Update from tzcode 2012i.
14042 * timezone/zic.c: Likewise.
14043 * timezone/version.h: New file.
14044 * timezone/README: Describe version.h. Update upstream location.
14045
9bde902c
JM
14046 [BZ #14824]
14047 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14048 (mktemp): Enable declaration.
14049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14053 Likewise.
14054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14055 Likewise.
14056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14057 Likewise.
14058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14059 Likewise.
14060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14061 Likewise.
14062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14063 Likewise.
14064
fb1ae1ee
JM
14065 [BZ #14821]
14066 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14067 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14068 for copies of such integer values.
14069 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14070 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14071
2c1adbcb
AJ
140722012-11-09 Andreas Jaeger <aj@suse.de>
14073
14074 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14075 definitions and declarations that are provided by
14076 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14077
d0f8457e
AK
140782012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14079
3a235abb 14080 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14081 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14082 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14083 definition.
14084
57241e26
MS
140852012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14086
14087 * elf/elf.h: Update comment before AArch64 relocations.
14088
60e8270d
DM
140892012-11-07 David S. Miller <davem@davemloft.net>
14090
14091 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14092 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14093 (__start_context): Declare.
14094 (__makecontext_ret): Delete.
14095 (__makecontext): Hook up __start_context instead of
14096 __makecontext_ret.
14097 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14098 (sysdep_routines): Add __start_context when in stdlib.
14099
0fbb0fbc
JM
141002012-11-07 Joseph Myers <joseph@codesourcery.com>
14101
14102 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14103 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14104 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14105 hardcoded "nm".
14106 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14107 (READELF): New variable. Use it instead of hardcoded "readelf".
14108
eb48db7e
L
141092012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14110
14111 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14112 * sysdeps/x86/Makefile: Here.
14113 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14114 * sysdeps/x86/tst-xmmymm.sh: This.
14115
05bcf62a
JM
141162012-11-07 Joseph Myers <joseph@codesourcery.com>
14117
c4b6cf53
JM
14118 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14119 expectations.
14120 [UNIX98] (pthread_barrier_t): Do not expect.
14121 [UNIX98] (pthread_barrierattr_t): Likewise.
14122 [UNIX98] (pthread_spinlock_t): Likewise.
14123 [UNIX98] (pthread_barrier_destroy): Likewise.
14124 [UNIX98] (pthread_barrier_init): Likewise.
14125 [UNIX98] (pthread_barrier_wait): Likewise.
14126 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14127 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14128 [UNIX98] (pthread_barrierattr_init): Likewise.
14129 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14130 [UNIX98] (pthread_getcpuclockid): Likewise.
14131 [UNIX98] (pthread_mutex_timedlock): Likewise.
14132 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14133 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14134 [UNIX98] (pthread_sigmask): Likewise.
14135 [UNIX98] (pthread_spin_destroy): Likewise.
14136 [UNIX98] (pthread_spin_init): Likewise.
14137 [UNIX98] (pthread_spin_lock): Likewise.
14138 [UNIX98] (pthread_spin_trylock): Likewise.
14139 [UNIX98] (pthread_spin_unlock): Likewise.
14140 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14141 Do not expect.
14142 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14143 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14144 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14145 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14146 [XPG3 || XPG4] (pthread_key_t): Likewise.
14147 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14148 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14149 [XPG3 || XPG4] (pthread_once_t): Likewise.
14150 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14151 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14152 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14153 [XPG3 || XPG4] (pthread_t): Likewise.
14154
cbe6e120
JM
14155 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14156 not expect.
14157 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14158
1b126443
JM
14159 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14160 Change function return type to int.
14161
b961a573
JM
14162 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14163 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14164 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14165 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14166 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14167 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14168 [!POSIX] (posix_madvise): Likewise.
14169 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14170 && !UNIX98].
14171 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14172 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14173 (mode_t): Likewise.
14174 (posix_mem_offset): Likewise.
14175 (posix_typed_mem_get_info): Likewise.
14176 (posix_typed_mem_open): Likewise.
14177
9e188909
JM
14178 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14179 Change condition to [XOPEN2K8].
14180
05bcf62a
JM
14181 * conform/conformtest.pl: Preprocess allow-header data with -x c
14182 instead of from stdin.
14183 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14184 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14185 [C99-based standards] (cerfc): Likewise.
14186 [C99-based standards] (cexp2): Likewise.
14187 [C99-based standards] (cexpm1): Likewise.
14188 [C99-based standards] (clog10): Likewise.
14189 [C99-based standards] (clog1p): Likewise.
14190 [C99-based standards] (clog2): Likewise.
14191 [C99-based standards] (clgamma): Likewise.
14192 [C99-based standards] (ctgamma): Likewise.
14193 [C99-based standards] (cerff): Likewise.
14194 [C99-based standards] (cerfcf): Likewise.
14195 [C99-based standards] (cexp2f): Likewise.
14196 [C99-based standards] (cexpm1f): Likewise.
14197 [C99-based standards] (clog10f): Likewise.
14198 [C99-based standards] (clog1pf): Likewise.
14199 [C99-based standards] (clog2f): Likewise.
14200 [C99-based standards] (clgammaf): Likewise.
14201 [C99-based standards] (ctgammaf): Likewise.
14202 [C99-based standards] (cerfl): Likewise.
14203 [C99-based standards] (cerfcl): Likewise.
14204 [C99-based standards] (cexp2l): Likewise.
14205 [C99-based standards] (cexpm1l): Likewise.
14206 [C99-based standards] (clog10l): Likewise.
14207 [C99-based standards] (clog1pl): Likewise.
14208 [C99-based standards] (clog2l): Likewise.
14209 [C99-based standards] (clgammal): Likewise.
14210 [C99-based standards] (ctgammal): Likewise.
14211 * conform/data/inttypes.h-data [C99-based standards]: Include
14212 stdint.h-data. Remove all expectations for stdint.h contents.
14213 [C99-based standards] (PRI*): Do not allow.
14214 [C99-based standards] (SCN*): Likewise.
14215 [C99-based standards] (*_t): Likewise.
14216 [C99-based-standards] (PRId8): Expect macro.
14217 [C99-based-standards] (PRIi8): Likewise.
14218 [C99-based-standards] (PRIo8): Likewise.
14219 [C99-based-standards] (PRIu8): Likewise.
14220 [C99-based-standards] (PRIx8): Likewise.
14221 [C99-based-standards] (PRIX8): Likewise.
14222 [C99-based-standards] (SCNd8): Likewise.
14223 [C99-based-standards] (SCNi8): Likewise.
14224 [C99-based-standards] (SCNo8): Likewise.
14225 [C99-based-standards] (SCNu8): Likewise.
14226 [C99-based-standards] (SCNx8): Likewise.
14227 [C99-based-standards] (PRIdLEAST8): Likewise.
14228 [C99-based-standards] (PRIiLEAST8): Likewise.
14229 [C99-based-standards] (PRIoLEAST8): Likewise.
14230 [C99-based-standards] (PRIuLEAST8): Likewise.
14231 [C99-based-standards] (PRIxLEAST8): Likewise.
14232 [C99-based-standards] (PRIXLEAST8): Likewise.
14233 [C99-based-standards] (SCNdLEAST8): Likewise.
14234 [C99-based-standards] (SCNiLEAST8): Likewise.
14235 [C99-based-standards] (SCNoLEAST8): Likewise.
14236 [C99-based-standards] (SCNuLEAST8): Likewise.
14237 [C99-based-standards] (SCNxLEAST8): Likewise.
14238 [C99-based-standards] (PRIdFAST8): Likewise.
14239 [C99-based-standards] (PRIiFAST8): Likewise.
14240 [C99-based-standards] (PRIoFAST8): Likewise.
14241 [C99-based-standards] (PRIuFAST8): Likewise.
14242 [C99-based-standards] (PRIxFAST8): Likewise.
14243 [C99-based-standards] (PRIXFAST8): Likewise.
14244 [C99-based-standards] (SCNdFAST8): Likewise.
14245 [C99-based-standards] (SCNiFAST8): Likewise.
14246 [C99-based-standards] (SCNoFAST8): Likewise.
14247 [C99-based-standards] (SCNuFAST8): Likewise.
14248 [C99-based-standards] (SCNxFAST8): Likewise.
14249 [C99-based-standards] (PRId16): Likewise.
14250 [C99-based-standards] (PRIi16): Likewise.
14251 [C99-based-standards] (PRIo16): Likewise.
14252 [C99-based-standards] (PRIu16): Likewise.
14253 [C99-based-standards] (PRIx16): Likewise.
14254 [C99-based-standards] (PRIX16): Likewise.
14255 [C99-based-standards] (SCNd16): Likewise.
14256 [C99-based-standards] (SCNi16): Likewise.
14257 [C99-based-standards] (SCNo16): Likewise.
14258 [C99-based-standards] (SCNu16): Likewise.
14259 [C99-based-standards] (SCNx16): Likewise.
14260 [C99-based-standards] (PRIdLEAST16): Likewise.
14261 [C99-based-standards] (PRIiLEAST16): Likewise.
14262 [C99-based-standards] (PRIoLEAST16): Likewise.
14263 [C99-based-standards] (PRIuLEAST16): Likewise.
14264 [C99-based-standards] (PRIxLEAST16): Likewise.
14265 [C99-based-standards] (PRIXLEAST16): Likewise.
14266 [C99-based-standards] (SCNdLEAST16): Likewise.
14267 [C99-based-standards] (SCNiLEAST16): Likewise.
14268 [C99-based-standards] (SCNoLEAST16): Likewise.
14269 [C99-based-standards] (SCNuLEAST16): Likewise.
14270 [C99-based-standards] (SCNxLEAST16): Likewise.
14271 [C99-based-standards] (PRIdFAST16): Likewise.
14272 [C99-based-standards] (PRIiFAST16): Likewise.
14273 [C99-based-standards] (PRIoFAST16): Likewise.
14274 [C99-based-standards] (PRIuFAST16): Likewise.
14275 [C99-based-standards] (PRIxFAST16): Likewise.
14276 [C99-based-standards] (PRIXFAST16): Likewise.
14277 [C99-based-standards] (SCNdFAST16): Likewise.
14278 [C99-based-standards] (SCNiFAST16): Likewise.
14279 [C99-based-standards] (SCNoFAST16): Likewise.
14280 [C99-based-standards] (SCNuFAST16): Likewise.
14281 [C99-based-standards] (SCNxFAST16): Likewise.
14282 [C99-based-standards] (PRId32): Likewise.
14283 [C99-based-standards] (PRIi32): Likewise.
14284 [C99-based-standards] (PRIo32): Likewise.
14285 [C99-based-standards] (PRIu32): Likewise.
14286 [C99-based-standards] (PRIx32): Likewise.
14287 [C99-based-standards] (PRIX32): Likewise.
14288 [C99-based-standards] (SCNd32): Likewise.
14289 [C99-based-standards] (SCNi32): Likewise.
14290 [C99-based-standards] (SCNo32): Likewise.
14291 [C99-based-standards] (SCNu32): Likewise.
14292 [C99-based-standards] (SCNx32): Likewise.
14293 [C99-based-standards] (PRIdLEAST32): Likewise.
14294 [C99-based-standards] (PRIiLEAST32): Likewise.
14295 [C99-based-standards] (PRIoLEAST32): Likewise.
14296 [C99-based-standards] (PRIuLEAST32): Likewise.
14297 [C99-based-standards] (PRIxLEAST32): Likewise.
14298 [C99-based-standards] (PRIXLEAST32): Likewise.
14299 [C99-based-standards] (SCNdLEAST32): Likewise.
14300 [C99-based-standards] (SCNiLEAST32): Likewise.
14301 [C99-based-standards] (SCNoLEAST32): Likewise.
14302 [C99-based-standards] (SCNuLEAST32): Likewise.
14303 [C99-based-standards] (SCNxLEAST32): Likewise.
14304 [C99-based-standards] (PRIdFAST32): Likewise.
14305 [C99-based-standards] (PRIiFAST32): Likewise.
14306 [C99-based-standards] (PRIoFAST32): Likewise.
14307 [C99-based-standards] (PRIuFAST32): Likewise.
14308 [C99-based-standards] (PRIxFAST32): Likewise.
14309 [C99-based-standards] (PRIXFAST32): Likewise.
14310 [C99-based-standards] (SCNdFAST32): Likewise.
14311 [C99-based-standards] (SCNiFAST32): Likewise.
14312 [C99-based-standards] (SCNoFAST32): Likewise.
14313 [C99-based-standards] (SCNuFAST32): Likewise.
14314 [C99-based-standards] (SCNxFAST32): Likewise.
14315 [C99-based-standards] (PRId64): Likewise.
14316 [C99-based-standards] (PRIi64): Likewise.
14317 [C99-based-standards] (PRIo64): Likewise.
14318 [C99-based-standards] (PRIu64): Likewise.
14319 [C99-based-standards] (PRIx64): Likewise.
14320 [C99-based-standards] (PRIX64): Likewise.
14321 [C99-based-standards] (SCNd64): Likewise.
14322 [C99-based-standards] (SCNi64): Likewise.
14323 [C99-based-standards] (SCNo64): Likewise.
14324 [C99-based-standards] (SCNu64): Likewise.
14325 [C99-based-standards] (SCNx64): Likewise.
14326 [C99-based-standards] (PRIdLEAST64): Likewise.
14327 [C99-based-standards] (PRIiLEAST64): Likewise.
14328 [C99-based-standards] (PRIoLEAST64): Likewise.
14329 [C99-based-standards] (PRIuLEAST64): Likewise.
14330 [C99-based-standards] (PRIxLEAST64): Likewise.
14331 [C99-based-standards] (PRIXLEAST64): Likewise.
14332 [C99-based-standards] (SCNdLEAST64): Likewise.
14333 [C99-based-standards] (SCNiLEAST64): Likewise.
14334 [C99-based-standards] (SCNoLEAST64): Likewise.
14335 [C99-based-standards] (SCNuLEAST64): Likewise.
14336 [C99-based-standards] (SCNxLEAST64): Likewise.
14337 [C99-based-standards] (PRIdFAST64): Likewise.
14338 [C99-based-standards] (PRIiFAST64): Likewise.
14339 [C99-based-standards] (PRIoFAST64): Likewise.
14340 [C99-based-standards] (PRIuFAST64): Likewise.
14341 [C99-based-standards] (PRIxFAST64): Likewise.
14342 [C99-based-standards] (PRIXFAST64): Likewise.
14343 [C99-based-standards] (SCNdFAST64): Likewise.
14344 [C99-based-standards] (SCNiFAST64): Likewise.
14345 [C99-based-standards] (SCNoFAST64): Likewise.
14346 [C99-based-standards] (SCNuFAST64): Likewise.
14347 [C99-based-standards] (SCNxFAST64): Likewise.
14348 [C99-based-standards] (PRIdMAX): Likewise.
14349 [C99-based-standards] (PRIiMAX): Likewise.
14350 [C99-based-standards] (PRIoMAX): Likewise.
14351 [C99-based-standards] (PRIuMAX): Likewise.
14352 [C99-based-standards] (PRIxMAX): Likewise.
14353 [C99-based-standards] (PRIXMAX): Likewise.
14354 [C99-based-standards] (SCNdMAX): Likewise.
14355 [C99-based-standards] (SCNiMAX): Likewise.
14356 [C99-based-standards] (SCNoMAX): Likewise.
14357 [C99-based-standards] (SCNuMAX): Likewise.
14358 [C99-based-standards] (SCNxMAX): Likewise.
14359 [C99-based-standards] (PRIdPTR): Likewise.
14360 [C99-based-standards] (PRIiPTR): Likewise.
14361 [C99-based-standards] (PRIoPTR): Likewise.
14362 [C99-based-standards] (PRIuPTR): Likewise.
14363 [C99-based-standards] (PRIxPTR): Likewise.
14364 [C99-based-standards] (PRIXPTR): Likewise.
14365 [C99-based-standards] (SCNdPTR): Likewise.
14366 [C99-based-standards] (SCNiPTR): Likewise.
14367 [C99-based-standards] (SCNoPTR): Likewise.
14368 [C99-based-standards] (SCNuPTR): Likewise.
14369 [C99-based-standards] (SCNxPTR): Likewise.
14370 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14371 allow.
14372 * conform/data/stdint.h-data: Update comments to clarify
14373 requirements.
14374 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14375 type.
14376 [C99-based standards] (INT8_MAX): Likewise.
14377 [C99-based standards] (INT16_MIN): Likewise.
14378 [C99-based standards] (INT16_MAX): Likewise.
14379 [C99-based standards] (INT32_MIN): Likewise.
14380 [C99-based standards] (INT32_MAX): Likewise.
14381 [C99-based standards] (INT64_MIN): Likewise.
14382 [C99-based standards] (INT64_MAX): Likewise.
14383 [C99-based standards] (UINT8_MAX): Likewise.
14384 [C99-based standards] (UINT16_MAX): Likewise.
14385 [C99-based standards] (UINT32_MAX): Likewise.
14386 [C99-based standards] (UINT64_MAX): Likewise.
14387 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14388 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14389 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14390 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14391 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14392 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14393 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14394 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14395 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14396 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14397 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14398 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14399 [C99-based standards] (INT_FAST8_MIN): Likewise.
14400 [C99-based standards] (INT_FAST8_MAX): Likewise.
14401 [C99-based standards] (INT_FAST16_MIN): Likewise.
14402 [C99-based standards] (INT_FAST16_MAX): Likewise.
14403 [C99-based standards] (INT_FAST32_MIN): Likewise.
14404 [C99-based standards] (INT_FAST32_MAX): Likewise.
14405 [C99-based standards] (INT_FAST64_MIN): Likewise.
14406 [C99-based standards] (INT_FAST64_MAX): Likewise.
14407 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14408 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14409 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14410 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14411 [C99-based standards] (INTPTR_MIN): Likewise.
14412 [C99-based standards] (INTPTR_MAX): Likewise.
14413 [C99-based standards] (UINTPTR_MAX): Likewise.
14414 [C99-based standards] (INTMAX_MIN): Likewise.
14415 [C99-based standards] (INTMAX_MAX): Likewise.
14416 [C99-based standards] (UINTMAX_MAX): Likewise.
14417 [C99-based standards] (PTRDIFF_MIN): Likewise.
14418 [C99-based standards] (PTRDIFF_MAX): Likewise.
14419 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14420 [C99-based standards] (SIZE_MAX): Likewise.
14421 [C99-based standards] (WCHAR_MAX): Likewise.
14422 [C99-based standards] (WINT_MAX): Likewise.
14423 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14424 constraint on value.
14425 [C99-based standards] (WCHAR_MIN): Likewise.
14426 [C99-based standards] (WINT_MIN): Likewise.
14427 [C99-based standards] (*_t): Allow.
14428 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14429 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14430 Include math.h-data and complex.h-data. Remove all expectations
14431 of math.h and complex.h contents.
14432 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14433 at end of line.
14434 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14435 (struct tm): Expect tag.
14436 [C99-based-standards] (wcstof): Expect function.
14437 [C99-based-standards] (wcstold): Likewise.
14438 [C99-based-standards] (wcstoll): Likewise.
14439 [C99-based-standards] (wcstoull): Likewise.
14440 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14441 macro-int-constant. Specify type.
14442 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14443 constraint on value.
14444 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14445 Specify type.
14446 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14447 Specify value.
14448 [ISO C standards]: Do not allow headers.
14449 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14450 wcs[abcdefghijklmnopqrstuvwxyz]*.
14451 [ISO C standards] (*_t): Do not allow.
14452 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14453 Expect function.
14454 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14455 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14456 Specify type.
14457 [ISO C standards]: Do not allow headers.
14458 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14459 is[abcdefghijklmnopqrstuvwxyz]*.
14460 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14461 to[abcdefghijklmnopqrstuvwxyz]*.
14462 [ISO C standards] (*_t): Do not allow.
14463 * conform/data/stdalign.h-data: New file.
14464 * conform/data/stdbool.h-data: Likewise.
14465 * conform/data/stdnoreturn.h-data: Likewise.
14466
7514feb8
RM
144672012-11-07 Roland McGrath <roland@hack.frob.com>
14468
14469 [BZ #14815]
14470 * manual/filesys.texi (Directory Entries): Typo fix.
14471 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14472
19b2ecfc
MS
144732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14474
14475 * elf/elf.h (EM_AARCH64): New macro.
14476 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14477 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14478 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14479 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14480 (R_AARCH64_TLSDESC): Likewise.
14481 (NT_ARM_TLS): Likewise.
14482 (NT_ARM_HW_BREAK): Likewise.
14483 (NT_ARM_HW_WATCH): Likewise.
14484
60e235ee
JM
144852012-11-07 Joseph Myers <joseph@codesourcery.com>
14486
14487 [BZ #14811]
14488 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14489 (__ieee754_powl): Saturate nonzero exponents with absolute value
14490 below 0x1p-79 to +/- 0x1p-79.
14491 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14492 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14493 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14494 nonzero exponents with absolute value below 0x1p-32 to +/-
14495 0x1p-32.
14496 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14497 (__ieee754_powl): Saturate nonzero exponents with absolute value
14498 below 0x1p-79 to +/- 0x1p-79.
14499 * math/libm-test.inc (pow_test): Add more tests.
14500
0ab234b7
AK
145012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14502
14503 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14504 _dl_s390_cap_flags with kernel. Increase string length.
14505 (_dl_s390_platforms): Add z196 and zEC12.
14506
45832f74
JM
145072012-11-07 Joseph Myers <joseph@codesourcery.com>
14508
14509 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14510 Change XOPEN21K to XOPEN2K.
14511
19218757
MK
145122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14513
14514 * string/memmove.c: Use memcpy when possible.
14515
c5f45721
AJ
145162012-11-06 Andreas Jaeger <aj@suse.de>
14517
14518 * po/eo.po: Update from translation team.
14519
82477c28
JM
145202012-11-06 Joseph Myers <joseph@codesourcery.com>
14521
14522 [BZ #14793]
14523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14524 exponent and small x and y exponents, scale x or y up. Increase
14525 by 2 the exponent used in scaling up.
14526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14528 * math/libm-test.inc (fma_test): Add more tests.
14529 (fma_test_towardzero): Likewise.
14530 (fma_test_downward): Likewise.
14531 (fma_test_upward): Likewise.
14532
99252c8c
JM
145332012-11-05 Joseph Myers <joseph@codesourcery.com>
14534
acfa885f
JM
14535 [BZ #14805]
14536 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14537 fenv_t *.
14538
99252c8c
JM
14539 [BZ #14801]
14540 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14541 namespace for names of struct fields.
14542 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14543 fenv_t fields.
14544 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14545 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14546
d6d98dea
ST
145472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14548
14549 [BZ #3665]
14550 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14551
e10bb107
TS
145522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14553
14554 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14555 PTR_DEMANGLE.
14556
14557 [BZ #5246]
14558 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14559 PTR_DEMANGLE.
14560
a0c2940d
JM
145612012-11-04 Joseph Myers <joseph@codesourcery.com>
14562
14563 [BZ #14797]
14564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14565 definitely overflow as x * y not x * y + z.
14566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14568 * math/libm-test.inc (fma_test): Add more tests.
14569 (fma_test_towardzero): Likewise.
14570 (fma_test_downward): Likewise.
14571 (fma_test_upward): Likewise.
14572
b830319d
TS
145732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14574
14575 [BZ #157]
14576
14577 * include/stub-tag.h: Remove file.
14578 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14579 '#include' of it.
14580 * manual/maint.texi (Porting): Don't reference it.
14581 * Makerules ($(objpfx)stubs): Likewise.
14582 * dirent/closedir.c: Don't include <stub-tag.h>.
14583 * dirent/dirfd.c: Likewise.
14584 * dirent/fdopendir.c: Likewise.
14585 * dirent/getdents.c: Likewise.
14586 * dirent/getdents64.c: Likewise.
14587 * dirent/opendir.c: Likewise.
14588 * dirent/readdir.c: Likewise.
14589 * dirent/readdir64.c: Likewise.
14590 * dirent/readdir64_r.c: Likewise.
14591 * dirent/readdir_r.c: Likewise.
14592 * dirent/rewinddir.c: Likewise.
14593 * dirent/seekdir.c: Likewise.
14594 * dirent/telldir.c: Likewise.
14595 * gmon/profil.c: Likewise.
14596 * grp/setgroups.c: Likewise.
14597 * inet/if_index.c: Likewise.
14598 * io/access.c: Likewise.
14599 * io/chdir.c: Likewise.
14600 * io/chmod.c: Likewise.
14601 * io/chown.c: Likewise.
14602 * io/close.c: Likewise.
14603 * io/dup.c: Likewise.
14604 * io/dup2.c: Likewise.
14605 * io/dup3.c: Likewise.
14606 * io/euidaccess.c: Likewise.
14607 * io/faccessat.c: Likewise.
14608 * io/fchdir.c: Likewise.
14609 * io/fchmod.c: Likewise.
14610 * io/fchmodat.c: Likewise.
14611 * io/fchown.c: Likewise.
14612 * io/fchownat.c: Likewise.
14613 * io/fcntl.c: Likewise.
14614 * io/flock.c: Likewise.
14615 * io/fstatfs.c: Likewise.
14616 * io/fstatfs64.c: Likewise.
14617 * io/fstatvfs.c: Likewise.
14618 * io/fstatvfs64.c: Likewise.
14619 * io/futimens.c: Likewise.
14620 * io/fxstat.c: Likewise.
14621 * io/fxstat64.c: Likewise.
14622 * io/fxstatat.c: Likewise.
14623 * io/fxstatat64.c: Likewise.
14624 * io/getcwd.c: Likewise.
14625 * io/isatty.c: Likewise.
14626 * io/lchmod.c: Likewise.
14627 * io/lchown.c: Likewise.
14628 * io/link.c: Likewise.
14629 * io/linkat.c: Likewise.
14630 * io/lseek.c: Likewise.
14631 * io/lseek64.c: Likewise.
14632 * io/lxstat64.c: Likewise.
14633 * io/mkdir.c: Likewise.
14634 * io/mkdirat.c: Likewise.
14635 * io/mkfifo.c: Likewise.
14636 * io/mkfifoat.c: Likewise.
14637 * io/open.c: Likewise.
14638 * io/open64.c: Likewise.
14639 * io/openat.c: Likewise.
14640 * io/openat64.c: Likewise.
14641 * io/pipe.c: Likewise.
14642 * io/pipe2.c: Likewise.
14643 * io/poll.c: Likewise.
14644 * io/posix_fadvise.c: Likewise.
14645 * io/posix_fadvise64.c: Likewise.
14646 * io/posix_fallocate.c: Likewise.
14647 * io/posix_fallocate64.c: Likewise.
14648 * io/read.c: Likewise.
14649 * io/readlink.c: Likewise.
14650 * io/readlinkat.c: Likewise.
14651 * io/rmdir.c: Likewise.
14652 * io/sendfile.c: Likewise.
14653 * io/sendfile64.c: Likewise.
14654 * io/statfs.c: Likewise.
14655 * io/statfs64.c: Likewise.
14656 * io/statvfs.c: Likewise.
14657 * io/statvfs64.c: Likewise.
14658 * io/symlink.c: Likewise.
14659 * io/symlinkat.c: Likewise.
14660 * io/ttyname.c: Likewise.
14661 * io/ttyname_r.c: Likewise.
14662 * io/umask.c: Likewise.
14663 * io/unlink.c: Likewise.
14664 * io/unlinkat.c: Likewise.
14665 * io/utime.c: Likewise.
14666 * io/utimensat.c: Likewise.
14667 * io/write.c: Likewise.
14668 * io/xmknod.c: Likewise.
14669 * io/xmknodat.c: Likewise.
14670 * io/xstat.c: Likewise.
14671 * io/xstat64.c: Likewise.
14672 * login/getpt.c: Likewise.
14673 * login/grantpt.c: Likewise.
14674 * login/unlockpt.c: Likewise.
14675 * math/e_acoshl.c: Likewise.
14676 * math/e_acosl.c: Likewise.
14677 * math/e_asinl.c: Likewise.
14678 * math/e_atan2l.c: Likewise.
14679 * math/e_atanhl.c: Likewise.
14680 * math/e_coshl.c: Likewise.
14681 * math/e_expl.c: Likewise.
14682 * math/e_fmodl.c: Likewise.
14683 * math/e_gammal_r.c: Likewise.
14684 * math/e_hypotl.c: Likewise.
14685 * math/e_j0l.c: Likewise.
14686 * math/e_j1l.c: Likewise.
14687 * math/e_jnl.c: Likewise.
14688 * math/e_lgammal_r.c: Likewise.
14689 * math/e_log10l.c: Likewise.
14690 * math/e_log2l.c: Likewise.
14691 * math/e_logl.c: Likewise.
14692 * math/e_powl.c: Likewise.
14693 * math/e_rem_pio2l.c: Likewise.
14694 * math/e_sinhl.c: Likewise.
14695 * math/e_sqrtl.c: Likewise.
14696 * math/fclrexcpt.c: Likewise.
14697 * math/fedisblxcpt.c: Likewise.
14698 * math/feenablxcpt.c: Likewise.
14699 * math/fegetenv.c: Likewise.
14700 * math/fegetexcept.c: Likewise.
14701 * math/fegetround.c: Likewise.
14702 * math/feholdexcpt.c: Likewise.
14703 * math/fesetenv.c: Likewise.
14704 * math/fesetround.c: Likewise.
14705 * math/feupdateenv.c: Likewise.
14706 * math/fgetexcptflg.c: Likewise.
14707 * math/fraiseexcpt.c: Likewise.
14708 * math/fsetexcptflg.c: Likewise.
14709 * math/ftestexcept.c: Likewise.
14710 * math/k_cosl.c: Likewise.
14711 * math/k_rem_pio2l.c: Likewise.
14712 * math/k_sinl.c: Likewise.
14713 * math/k_tanl.c: Likewise.
14714 * math/s_asinhl.c: Likewise.
14715 * math/s_atanl.c: Likewise.
14716 * math/s_cbrtl.c: Likewise.
14717 * math/s_erfl.c: Likewise.
14718 * math/s_expm1l.c: Likewise.
14719 * math/s_log1pl.c: Likewise.
14720 * math/s_tanhl.c: Likewise.
14721 * misc/acct.c: Likewise.
14722 * misc/brk.c: Likewise.
14723 * misc/chflags.c: Likewise.
14724 * misc/chroot.c: Likewise.
14725 * misc/fchflags.c: Likewise.
14726 * misc/fgetxattr.c: Likewise.
14727 * misc/flistxattr.c: Likewise.
14728 * misc/fremovexattr.c: Likewise.
14729 * misc/fsetxattr.c: Likewise.
14730 * misc/fsync.c: Likewise.
14731 * misc/ftruncate.c: Likewise.
14732 * misc/futimes.c: Likewise.
14733 * misc/futimesat.c: Likewise.
14734 * misc/getdomain.c: Likewise.
14735 * misc/getdtsz.c: Likewise.
14736 * misc/gethostid.c: Likewise.
14737 * misc/gethostname.c: Likewise.
14738 * misc/getloadavg.c: Likewise.
14739 * misc/getpagesize.c: Likewise.
14740 * misc/getsysstats.c: Likewise.
14741 * misc/getxattr.c: Likewise.
14742 * misc/gtty.c: Likewise.
14743 * misc/ioctl.c: Likewise.
14744 * misc/lgetxattr.c: Likewise.
14745 * misc/listxattr.c: Likewise.
14746 * misc/llistxattr.c: Likewise.
14747 * misc/lremovexattr.c: Likewise.
14748 * misc/lsetxattr.c: Likewise.
14749 * misc/lutimes.c: Likewise.
14750 * misc/madvise.c: Likewise.
14751 * misc/mincore.c: Likewise.
14752 * misc/mlock.c: Likewise.
14753 * misc/mlockall.c: Likewise.
14754 * misc/mmap.c: Likewise.
14755 * misc/mprotect.c: Likewise.
14756 * misc/msync.c: Likewise.
14757 * misc/munlock.c: Likewise.
14758 * misc/munlockall.c: Likewise.
14759 * misc/munmap.c: Likewise.
14760 * misc/preadv.c: Likewise.
14761 * misc/preadv64.c: Likewise.
14762 * misc/ptrace.c: Likewise.
14763 * misc/pwritev.c: Likewise.
14764 * misc/pwritev64.c: Likewise.
14765 * misc/readv.c: Likewise.
14766 * misc/reboot.c: Likewise.
14767 * misc/remap_file_pages.c: Likewise.
14768 * misc/removexattr.c: Likewise.
14769 * misc/revoke.c: Likewise.
14770 * misc/select.c: Likewise.
14771 * misc/setdomain.c: Likewise.
14772 * misc/setegid.c: Likewise.
14773 * misc/seteuid.c: Likewise.
14774 * misc/sethostid.c: Likewise.
14775 * misc/sethostname.c: Likewise.
14776 * misc/setregid.c: Likewise.
14777 * misc/setreuid.c: Likewise.
14778 * misc/setxattr.c: Likewise.
14779 * misc/sstk.c: Likewise.
14780 * misc/stty.c: Likewise.
14781 * misc/swapoff.c: Likewise.
14782 * misc/swapon.c: Likewise.
14783 * misc/sync.c: Likewise.
14784 * misc/syncfs.c: Likewise.
14785 * misc/syscall.c: Likewise.
14786 * misc/truncate.c: Likewise.
14787 * misc/ualarm.c: Likewise.
14788 * misc/usleep.c: Likewise.
14789 * misc/ustat.c: Likewise.
14790 * misc/utimes.c: Likewise.
14791 * misc/vhangup.c: Likewise.
14792 * misc/writev.c: Likewise.
14793 * posix/_exit.c: Likewise.
14794 * posix/alarm.c: Likewise.
14795 * posix/execve.c: Likewise.
14796 * posix/fexecve.c: Likewise.
14797 * posix/fork.c: Likewise.
14798 * posix/fpathconf.c: Likewise.
14799 * posix/getaddrinfo.c: Likewise.
14800 * posix/getegid.c: Likewise.
14801 * posix/geteuid.c: Likewise.
14802 * posix/getgid.c: Likewise.
14803 * posix/getgroups.c: Likewise.
14804 * posix/getlogin.c: Likewise.
14805 * posix/getlogin_r.c: Likewise.
14806 * posix/getpgid.c: Likewise.
14807 * posix/getpid.c: Likewise.
14808 * posix/getppid.c: Likewise.
14809 * posix/getresgid.c: Likewise.
14810 * posix/getresuid.c: Likewise.
14811 * posix/getsid.c: Likewise.
14812 * posix/getuid.c: Likewise.
14813 * posix/glob64.c: Likewise.
14814 * posix/nanosleep.c: Likewise.
14815 * posix/pathconf.c: Likewise.
14816 * posix/pause.c: Likewise.
14817 * posix/posix_madvise.c: Likewise.
14818 * posix/pread.c: Likewise.
14819 * posix/pread64.c: Likewise.
14820 * posix/pwrite.c: Likewise.
14821 * posix/pwrite64.c: Likewise.
14822 * posix/sched_getaffinity.c: Likewise.
14823 * posix/sched_getp.c: Likewise.
14824 * posix/sched_gets.c: Likewise.
14825 * posix/sched_primax.c: Likewise.
14826 * posix/sched_primin.c: Likewise.
14827 * posix/sched_rr_gi.c: Likewise.
14828 * posix/sched_setaffinity.c: Likewise.
14829 * posix/sched_setp.c: Likewise.
14830 * posix/sched_sets.c: Likewise.
14831 * posix/sched_yield.c: Likewise.
14832 * posix/setgid.c: Likewise.
14833 * posix/setlogin.c: Likewise.
14834 * posix/setpgid.c: Likewise.
14835 * posix/setresgid.c: Likewise.
14836 * posix/setresuid.c: Likewise.
14837 * posix/setsid.c: Likewise.
14838 * posix/setuid.c: Likewise.
14839 * posix/sleep.c: Likewise.
14840 * posix/spawni.c: Likewise.
14841 * posix/sysconf.c: Likewise.
14842 * posix/times.c: Likewise.
14843 * posix/wait.c: Likewise.
14844 * posix/wait3.c: Likewise.
14845 * posix/wait4.c: Likewise.
14846 * posix/waitpid.c: Likewise.
14847 * resolv/gai_sigqueue.c: Likewise.
14848 * resource/getpriority.c: Likewise.
14849 * resource/getrlimit.c: Likewise.
14850 * resource/getrusage.c: Likewise.
14851 * resource/nice.c: Likewise.
14852 * resource/setpriority.c: Likewise.
14853 * resource/setrlimit.c: Likewise.
14854 * resource/ulimit.c: Likewise.
14855 * rt/aio_cancel.c: Likewise.
14856 * rt/aio_fsync.c: Likewise.
14857 * rt/aio_read.c: Likewise.
14858 * rt/aio_sigqueue.c: Likewise.
14859 * rt/aio_suspend.c: Likewise.
14860 * rt/aio_write.c: Likewise.
14861 * rt/clock_getres.c: Likewise.
14862 * rt/clock_gettime.c: Likewise.
14863 * rt/clock_nanosleep.c: Likewise.
14864 * rt/clock_settime.c: Likewise.
14865 * rt/lio_listio.c: Likewise.
14866 * rt/mq_close.c: Likewise.
14867 * rt/mq_getattr.c: Likewise.
14868 * rt/mq_notify.c: Likewise.
14869 * rt/mq_open.c: Likewise.
14870 * rt/mq_receive.c: Likewise.
14871 * rt/mq_send.c: Likewise.
14872 * rt/mq_setattr.c: Likewise.
14873 * rt/mq_timedreceive.c: Likewise.
14874 * rt/mq_timedsend.c: Likewise.
14875 * rt/mq_unlink.c: Likewise.
14876 * rt/shm_open.c: Likewise.
14877 * rt/shm_unlink.c: Likewise.
14878 * rt/timer_create.c: Likewise.
14879 * rt/timer_delete.c: Likewise.
14880 * rt/timer_getoverr.c: Likewise.
14881 * rt/timer_gettime.c: Likewise.
14882 * rt/timer_settime.c: Likewise.
14883 * setjmp/__longjmp.c: Likewise.
14884 * setjmp/setjmp.c: Likewise.
14885 * signal/kill.c: Likewise.
14886 * signal/killpg.c: Likewise.
14887 * signal/raise.c: Likewise.
14888 * signal/sigaction.c: Likewise.
14889 * signal/sigaltstack.c: Likewise.
14890 * signal/sigblock.c: Likewise.
14891 * signal/sigignore.c: Likewise.
14892 * signal/sigintr.c: Likewise.
14893 * signal/signal.c: Likewise.
14894 * signal/sigpause.c: Likewise.
14895 * signal/sigpending.c: Likewise.
14896 * signal/sigqueue.c: Likewise.
14897 * signal/sigreturn.c: Likewise.
14898 * signal/sigset.c: Likewise.
14899 * signal/sigsetmask.c: Likewise.
14900 * signal/sigstack.c: Likewise.
14901 * signal/sigsuspend.c: Likewise.
14902 * signal/sigtimedwait.c: Likewise.
14903 * signal/sigvec.c: Likewise.
14904 * signal/sigwait.c: Likewise.
14905 * signal/sigwaitinfo.c: Likewise.
14906 * signal/sysv_signal.c: Likewise.
14907 * socket/accept.c: Likewise.
14908 * socket/accept4.c: Likewise.
14909 * socket/bind.c: Likewise.
14910 * socket/connect.c: Likewise.
14911 * socket/getpeername.c: Likewise.
14912 * socket/getsockname.c: Likewise.
14913 * socket/getsockopt.c: Likewise.
14914 * socket/isfdtype.c: Likewise.
14915 * socket/listen.c: Likewise.
14916 * socket/recv.c: Likewise.
14917 * socket/recvfrom.c: Likewise.
14918 * socket/recvmsg.c: Likewise.
14919 * socket/send.c: Likewise.
14920 * socket/sendmsg.c: Likewise.
14921 * socket/sendto.c: Likewise.
14922 * socket/setsockopt.c: Likewise.
14923 * socket/shutdown.c: Likewise.
14924 * socket/sockatmark.c: Likewise.
14925 * socket/socket.c: Likewise.
14926 * socket/socketpair.c: Likewise.
14927 * stdio-common/ctermid.c: Likewise.
14928 * stdio-common/cuserid.c: Likewise.
14929 * stdio-common/remove.c: Likewise.
14930 * stdio-common/rename.c: Likewise.
14931 * stdio-common/renameat.c: Likewise.
14932 * stdio-common/tempname.c: Likewise.
14933 * stdlib/getcontext.c: Likewise.
14934 * stdlib/makecontext.c: Likewise.
14935 * stdlib/setcontext.c: Likewise.
14936 * stdlib/swapcontext.c: Likewise.
14937 * stdlib/system.c: Likewise.
14938 * streams/fattach.c: Likewise.
14939 * streams/fdetach.c: Likewise.
14940 * streams/getmsg.c: Likewise.
14941 * streams/getpmsg.c: Likewise.
14942 * streams/putmsg.c: Likewise.
14943 * streams/putpmsg.c: Likewise.
14944 * sysdeps/unix/bsd/getpt.c: Likewise.
14945 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14946 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14947 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14949 Likewise.
14950 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14951 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14952 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14953 * sysvipc/msgctl.c: Likewise.
14954 * sysvipc/msgget.c: Likewise.
14955 * sysvipc/msgrcv.c: Likewise.
14956 * sysvipc/msgsnd.c: Likewise.
14957 * sysvipc/semctl.c: Likewise.
14958 * sysvipc/semget.c: Likewise.
14959 * sysvipc/semop.c: Likewise.
14960 * sysvipc/semtimedop.c: Likewise.
14961 * sysvipc/shmat.c: Likewise.
14962 * sysvipc/shmctl.c: Likewise.
14963 * sysvipc/shmdt.c: Likewise.
14964 * sysvipc/shmget.c: Likewise.
14965 * termios/tcdrain.c: Likewise.
14966 * termios/tcflow.c: Likewise.
14967 * termios/tcflush.c: Likewise.
14968 * termios/tcgetattr.c: Likewise.
14969 * termios/tcgetpgrp.c: Likewise.
14970 * termios/tcsendbrk.c: Likewise.
14971 * termios/tcsetattr.c: Likewise.
14972 * termios/tcsetpgrp.c: Likewise.
14973 * time/adjtime.c: Likewise.
14974 * time/clock.c: Likewise.
14975 * time/getitimer.c: Likewise.
14976 * time/gettimeofday.c: Likewise.
14977 * time/setitimer.c: Likewise.
14978 * time/settimeofday.c: Likewise.
14979 * time/stime.c: Likewise.
14980 * time/time.c: Likewise.
14981
149822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14983
a20492cf
PT
14984 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14985 /usr/old/bin.
14986
72e182e3
PT
14987 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14988 instead of spaces.
14989 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14990
fbeafede
JM
149912012-11-03 Joseph Myers <joseph@codesourcery.com>
14992
5b5b04d6
JM
14993 [BZ #14796]
14994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14995 FE_TONEAREST before applying Dekker multiplication and Knuth
14996 addition. Clear inexact exceptions and check for exact zero
14997 results afterwards.
14998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14999 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15001 * math/libm-test.inc (fma_test): Add more tests.
15002 (fma_test_towardzero): Likewise.
15003 (fma_test_downward): Likewise.
15004 (fma_test_upward): Likewise.
15005 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15006 function.
15007 (libc_fesetround): New macro.
15008 (libc_fesetroundf): Likewise.
15009 (libc_fesetroundl): Likewise.
15010 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15011 function.
15012 (libc_fesetround_387): Likewise.
15013 (libc_fesetroundf): New macro.
15014 (libc_fesetround): Likewise.
15015 (libc_fesetroundl): Likewise.
15016 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15017 function.
15018 (libc_fesetroundf): New macro.
15019 (libc_fesetround): Likewise.
15020 (libc_fesetroundl): Likewise.
15021 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15022 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15023 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15024 libm_hidden_ver.
15025 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15026 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15027 libm_hidden_def.
15028 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15029 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15030 libm_hidden_ver.
15031 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15032 libm_hidden_def.
15033
fbeafede
JM
15034 [BZ #3439]
15035 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15036 integer constant usable in #if and use that to give value to enum
15037 constant.
15038 (FE_DIVBYZERO): Likewise.
15039 (FE_UNDERFLOW): Likewise.
15040 (FE_OVERFLOW): Likewise.
15041 (FE_INVALID): Likewise.
15042 (FE_INVALID_SNAN): Likewise.
15043 (FE_INVALID_ISI): Likewise.
15044 (FE_INVALID_IDI): Likewise.
15045 (FE_INVALID_ZDZ): Likewise.
15046 (FE_INVALID_IMZ): Likewise.
15047 (FE_INVALID_COMPARE): Likewise.
15048 (FE_INVALID_SOFTWARE): Likewise.
15049 (FE_INVALID_SQRT): Likewise.
15050 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15051 (FE_TONEAREST): Likewise.
15052 (FE_TOWARDZERO): Likewise.
15053 (FE_UPWARD): Likewise.
15054 (FE_DOWNWARD): Likewise.
15055 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15056 (FE_DIVBYZERO): Likewise.
15057 (FE_OVERFLOW): Likewise.
15058 (FE_UNDERFLOW): Likewise.
15059 (FE_INEXACT): Likewise.
15060 (FE_TONEAREST): Likewise.
15061 (FE_DOWNWARD): Likewise.
15062 (FE_UPWARD): Likewise.
15063 (FE_TOWARDZERO): Likewise.
15064 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15065 (FE_UNDERFLOW): Likewise.
15066 (FE_OVERFLOW): Likewise.
15067 (FE_DIVBYZERO): Likewise.
15068 (FE_INVALID): Likewise.
15069 (FE_TONEAREST): Likewise.
15070 (FE_TOWARDZERO): Likewise.
15071 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15072 (FE_OVERFLOW): Likewise.
15073 (FE_UNDERFLOW): Likewise.
15074 (FE_DIVBYZERO): Likewise.
15075 (FE_INEXACT): Likewise.
15076 (FE_TONEAREST): Likewise.
15077 (FE_TOWARDZERO): Likewise.
15078 (FE_UPWARD): Likewise.
15079 (FE_DOWNWARD): Likewise.
15080 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15081 (FE_DIVBYZERO): Likewise.
15082 (FE_OVERFLOW): Likewise.
15083 (FE_UNDERFLOW): Likewise.
15084 (FE_INEXACT): Likewise.
15085 (FE_TONEAREST): Likewise.
15086 (FE_DOWNWARD): Likewise.
15087 (FE_UPWARD): Likewise.
15088 (FE_TOWARDZERO): Likewise.
15089
105ca950
CM
150902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15091
15092 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15093
a542b389
AS
150942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15095
15096 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15097 commands. Quote $PWD.
15098 (blacklist_exports): Don't use remove_newlines. Replace "declare
15099 -x" by "export".
15100 (remove_newlines): Remove.
15101
f62c8abc
L
151022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15103
15104 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15105 * stdlib/stdlib.h (atof): Moved to ...
15106 * include/bits/stdlib-float.h: Here. New file.
15107 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15108 * stdlib/bits/stdlib-float.h: New file.
15109 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15110 -mno-sse -mno-mmx.
15111 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15112 <xmmintrin.h>.
15113
0155d5b2
JM
151142012-11-02 Joseph Myers <joseph@codesourcery.com>
15115
a68d0680
JM
15116 * conform/conformtest.pl (@headers): Add fenv.h.
15117 * conform/data/fenv.h-data: New file.
15118 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15119 include of <math/fenv.h>.
15120
caf7f573
JM
15121 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15122 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15123 && !UNIX98]. Enables tests for XOPEN2K8.
15124 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15125 POSIX2008]: Likewise.
15126
6c073ad6
JM
15127 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15128 (struct rusage): Do not expect type or its members.
15129
0155d5b2
JM
15130 [BZ #3439]
15131 * math/math.h (FP_NAN): Define macro to integer constant usable in
15132 #if and use that to give value to enum constant.
15133 (FP_INFINITE): Likewise.
15134 (FP_ZERO): Likewise.
15135 (FP_SUBNORMAL): Likewise.
15136 (FP_NORMAL): Likewise.
15137
b5dcacb4
AS
151382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15139
15140 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15141 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15142 arguments.
15143
f7934be8
RM
151442012-11-02 Roland McGrath <roland@hack.frob.com>
15145
15146 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15147 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15148 autoconf-time if not.
15149 * configure.in: Remove AC_PREREQ.
15150
d7d08bde
TMQMF
151512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15152
15153 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15154 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15155 of the internal implementation.
15156
dcdae19a
JM
151572012-11-02 Joseph Myers <joseph@codesourcery.com>
15158
15159 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15160 except include of <misc/sys/syslog.h>.
15161
d6cffd3e
AS
151622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15163
15164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15165 function returns with a NULL context exit with zero.
15166
b3563932
TMQMF
151672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15168
15169 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15170
b288a93d
L
151712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15172
15173 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15174 (run_program_cmd): This.
15175 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15176 (tst_langinfo): New variable. Use it.
15177
a2421a68
SAS
151782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15179
15180 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15181 floating point opcodes.
15182
6f796e1b
TS
151832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15184
7402596b
TS
15185 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15186 variable.
15187
d0d4f868
TS
15188 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15189
6f796e1b
TS
15190 * sysdeps/mach/hurd/powerpc: Remove directory.
15191 * sysdeps/mach/powerpc: Likewise.
15192
4da224a2
AS
151932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15194
15195 * scripts/check-local-headers.sh: Ignore c++ headers.
15196
341dd673
TS
151972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15198
15199 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15200 __libc_cleanup_region_start argument.
15201
473611b2
JM
152022012-11-01 Joseph Myers <joseph@codesourcery.com>
15203
15204 [BZ #14784]
15205 [BZ #14785]
15206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15207 x * y using scaling, not as x * y + z.
15208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15209 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15210 * math/libm-test.inc (fma_test): Add more tests.
15211 (fma_test_towardzero): Likewise.
15212 (fma_test_downward): Likewise.
15213 (fma_test_upward): Likewise.
15214
4078da3d
TS
152152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15216
15217 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15218
903252aa
JM
152192012-10-31 Joseph Myers <joseph@codesourcery.com>
15220
15221 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15222 New variable.
15223
cbc818d0
TS
152242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15225
15226 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15227
5a03cb1e
AS
152282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15229
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15231 Fix sort order.
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15233 Likewise.
15234
90aff2ff
TMQMF
152352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15236
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15238 Fix the order of the list for glibc 2.17.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15240 Likewise.
15241
1818fcb7
AS
152422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15243
15244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15245
ef82f4da
JM
152462012-10-31 Joseph Myers <joseph@codesourcery.com>
15247
16a0e2ec
JM
15248 [BZ #14610]
15249 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15250 for low part of x being zero before using __atanl (y).
15251 * math/libm-test.inc (atan2_test): Add another test.
15252
0eb69512
JM
15253 * manual/install.texi (Configuring and compiling): Document
15254 general use of test-wrapper and test-wrapper-env.
15255 * INSTALL: Regenerated.
15256
ef82f4da
JM
15257 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15258 (__fma): Do not extract and scale down low bits on after-rounding
15259 systems when result rounded to normal precision would have normal
15260 exponent.
15261 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15262 (__fmal): Do not extract and scale down low bits on after-rounding
15263 systems when result rounded to normal precision would have normal
15264 exponent.
15265 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15266 (__fmal): Do not extract and scale down low bits on after-rounding
15267 systems when result rounded to normal precision would have normal
15268 exponent.
15269 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15270 macro.
15271 (fma_test): Add more tests.
15272 (fma_test_towardzero): Likewise.
15273 (fma_test_downward): Likewise.
15274 (fma_test_upward): Likewise.
15275
954ef0d9
L
152762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15277
15278 * sysdeps/i386/tininess.h: Renamed to ...
15279 * sysdeps/x86/tininess.h: This.
15280 * sysdeps/x86_64/tininess.h: Removed.
15281
df61ffb2
JM
152822012-10-30 Joseph Myers <joseph@codesourcery.com>
15283
15284 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15285 input. Use $(build-program-cmd).
15286 ($(objpfx)tst-array1-static.out): Likewise.
15287 ($(objpfx)tst-array2.out): Likewise.
15288 ($(objpfx)tst-array3.out): Likewise.
15289 ($(objpfx)tst-array4.out): Likewise.
15290 ($(objpfx)tst-array5.out): Likewise.
15291 ($(objpfx)tst-array5-static.out): Likewise.
15292
01767843
CM
152932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15294
47cc1490
CM
15295 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15296 if defined.
15297
01767843
CM
15298 * nss/nsswitch.h (nss_interface_function): Provide new
15299 macro for use with NSS functions.
15300 * grp/initgroups.c: Use new macro.
15301 * nss/getXXbyYY.c: Likewise.
15302 * nss/getXXbyYY_r.c: Likewise.
15303 * nss/getXXent.c: Likewise.
15304 * nss/getXXent_r.c: Likewise.
15305 * sysdeps/posix/getaddrinfo.c: Likewise.
15306
8321aa97
AJ
153072012-10-30 Andreas Jaeger <aj@suse.de>
15308
15309 * po/ru.po: Update Russion translation from translation project.
15310
2a27fd6d
JM
153112012-10-30 Joseph Myers <joseph@codesourcery.com>
15312
8627a232
JM
15313 [BZ #14152]
15314 [BZ #14783]
15315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15316 result and shift together with sticky bit instead of replicating
15317 round-to-nearest rounding.
15318 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15320 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15321 missing underflow exceptions.
15322 (fma_test_towardzero): Add more tests.
15323 (fma_test_downward): Likewise.
15324 (fma_test_upward): Likewise.
15325
2a27fd6d
JM
15326 [BZ #14047]
15327 * sysdeps/generic/tininess.h: New file.
15328 * sysdeps/i386/tininess.h: Likewise.
15329 * sysdeps/sh/tininess.h: Likewise.
15330 * sysdeps/x86_64/tininess.h: Likewise.
15331 * stdlib/tst-strtod-underflow.c: Likewise.
15332 * stdlib/tst-tininess.c: Likewise.
15333 * stdlib/strtod_l.c: Include <tininess.h>.
15334 (round_and_return): Do not set errno for exact underflow cases.
15335 Force an underflow exception when setting errno for underflow.
15336 Determine underflow based on rounding to normal precision if
15337 TININESS_AFTER_ROUNDING.
15338 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15339 ERANGE for exact underflow cases.
15340 * stdlib/Makefile (tests): Add tst-tininess and
15341 tst-strtod-underflow.
15342 ($(objpfx)tst-tininess): Use $(link-libm).
15343 ($(objpfx)tst-strtod-underflow): Likewise.
15344
e7170363
AJ
153452012-10-30 Andreas Jaeger <aj@suse.de>
15346
e5088dc6
AJ
15347 [BZ#14767]
15348 * elf/Makefile (tests): Remove conditional for have-initfini-array
15349 since this is now always required and the variable does not exist
15350 anymore.
15351 (tests-static): Likewise.
15352 (modules-names): Likewise.
15353
e7170363 15354 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15355
15356 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15357 merged with constructor/destructor.
15358 (init_array): Likewise.
15359 * elf/tst-array2dep.c (fini_array): Likewise.
15360 (init_array): Likewise.
15361
60457d8a
MF
153622012-10-29 Mike Frysinger <vapier@gentoo.org>
15363
15364 * manual/message.texi: Delete @cartouche tags.
15365
8bece752
PT
153662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15367
94ce799f
PT
15368 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15369 EOPNOTSUPP.
15370 * sysdeps/mach/hurd/fsync.c: Likewise.
15371
8bece752
PT
15372 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15373 [_POSIX_REALTIME_SIGNALS]: Change condition to
15374 [_POSIX_REALTIME_SIGNALS > 0].
15375
86ebe6b1
AJ
153762012-10-27 Andreas Jaeger <aj@suse.de>
15377
15378 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15379 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15380 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15381 [__WORDSIZE != 64]: Likewise.
15382
54399c08
L
153832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15384
15385 * iconvdata/tst-table.sh: Remove ${SHELL}.
15386 * iconvdata/tst-tables.sh: Likewise.
15387
e2211bed
DM
153882012-10-25 David S. Miller <davem@davemloft.net>
15389
15390 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15391 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15392 of strtoull.
15393
f303f97c
DM
15394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15395 ifunc-impl-list.c
15396 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15397 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15398 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15399 file.
15400
1e9d84cd
RM
154012012-10-25 Roland McGrath <roland@hack.frob.com>
15402
15403 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15404 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15405 __getdirentries.
15406
df381762
JM
154072012-10-25 Joseph Myers <joseph@codesourcery.com>
15408 Jim Blandy <jimb@codesourcery.com>
15409
15410 * scripts/cross-test-ssh.sh: New file.
15411 * manual/install.texi (Configuring and compiling): Document use of
15412 cross-test-ssh.sh.
15413 * INSTALL: Regenerated.
15414
bff64913
PT
154152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15416
15417 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15418 EOPNOTSUPP.
15419
25fe8932
JM
154202012-10-25 Joseph Myers <joseph@codesourcery.com>
15421
15422 * Makeconfig (run-program-prefix): Fix comment.
15423
cc1290d0
JM
154242012-10-24 Joseph Myers <joseph@codesourcery.com>
15425 Jim Blandy <jimb@codesourcery.com>
15426
15427 * Makeconfig (test-wrapper): New variable,
15428 (test-wrapper-env): Likewise.
15429 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15430 (run-built-tests): Define to yes.
15431 (run-program-prefix): Use $(test-wrapper).
15432 (built-program-cmd): Likewise.
15433 * Rules (make-test-out): Use $(test-wrapper-env) and
15434 $(host-built-program-cmd).
15435 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15436 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15437 tst-pathopt.sh.
15438 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15439 $(test-wrapper-env) to tst-rtld-load-self.sh.
15440 ($(objpfx)order2.out): Use $(test-wrapper).
15441 ($(objpfx)tst-initorder.out): Likewise.
15442 ($(objpfx)tst-initorder2.out): Likewise.
15443 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15444 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15445 (test_wrapper_env): New variable. Use it to run ld.so.
15446 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15447 Use it to run ld.so.
15448 (test_wrapper_env): Likewise.
15449 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15450 $(test-wrapper) to run-iconv-test.sh.
15451 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15452 (ICONV): Use $test_wrapper.
15453 * posix/Makefile ($(objpfx)globtest.out): Pass
15454 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15455 globtest.sh, not $(run-program-prefix).
15456 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15457 (test_wrapper): Likewise.
15458 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15459 set together with run_via_rtld_prefix.
15460 (run_program_prefix): Define in terms of test_wrapper and
15461 run_via_rtld_prefix.
15462
6e6249d0
RM
154632012-10-24 Roland McGrath <roland@hack.frob.com>
15464
15465 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15466 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15467 Targets removed.
15468
15469 [BZ #14743]
15470 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15471 Declare __clock_getres, __clock_gettime, __clock_settime,
15472 __clock_nanosleep, and __clock_getcpuclockid.
15473 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15474 Remove librt_hidden_def (clock_gettime).
15475 * sysdeps/unix/clock_gettime.c: Likewise.
15476 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15478 * rt/clock_getres.c: Define __clock_getres as an alias.
15479 * sysdeps/posix/clock_getres.c: Likewise.
15480 * rt/clock_settime.c: Define __clock_settime as an alias.
15481 * sysdeps/unix/clock_settime.c: Likewise.
15482 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15483 * sysdeps/unix/clock_nanosleep.c: Likewise.
15484 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15485 * rt/clock-compat.c: New file.
15486 * rt/Makefile (librt-routines): Add clock-compat and move
15487 $(clock-routines) to ...
15488 (routines): ... here, new variable.
15489 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15490 Don't add get_clockfreq here.
15491 * rt/Versions (libc: GLIBC_2.17): New version set.
15492 Add clock_* symbols here.
15493 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15494 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15495 (GLIBC_2.17): Add clock_* symbols.
15496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15500 Likewise.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15502 Likewise.
15503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15507 * NEWS: Mention the move.
15508
15509 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15510 Use __open, __read, __close rather than their public counterparts.
15511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15512 (__get_clockfreq_via_cpuinfo): Likewise.
15513 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15514 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15515
15516 * config.h.in (HAVE_IFUNC): New #undef.
15517 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15518 was successful.
15519 * configure: Regenerated.
15520
0cae3f4b
MF
155212012-10-24 Mike Frysinger <vapier@gentoo.org>
15522
15523 * configure.in: Move READELF check to start of file.
15524 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15525 libc_cv_asm_gnu_indirect_function in the process.
15526 * configure: Regenerated.
15527
8175a253
MF
155282012-10-24 Mike Frysinger <vapier@gentoo.org>
15529
15530 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15531 send the output to /dev/null.
15532 (libc_cv_cc_with_libunwind): Likewise.
15533 (libc_cv_as_noexecstack): Likewise.
15534 * configure: Regenerate.
15535
0708a7d1
JM
155362012-10-24 Joseph Myers <joseph@codesourcery.com>
15537
10b40d85
JM
15538 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15539
0708a7d1
JM
15540 * posix/globtest.sh (TMPDIR): Do not set.
15541 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15542 (testout): Likewise.
15543
9fddec1a
AJ
155442012-10-24 Andreas Jaeger <aj@suse.de>
15545
3a8db22f
AJ
15546 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15547 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15548 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15549 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15550 posix_fadvise64, posix_fallocate64.
15551
9fddec1a
AJ
15552 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15553 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15554 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15555 Likewise.
15556 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15557 Likewise.
15558 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15559
15560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15561 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15562 <bits/fcntl-linux.h>.
15563 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15564
15565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15566 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15567 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15568 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15569 [__WORDSIZE != 64]: Likewise.
15570
ebfd1bbd
JM
155712012-10-23 Joseph Myers <joseph@codesourcery.com>
15572
03ac099f
JM
15573 * Makeconfig (run-built-tests): New variable.
15574 * Rules [$(cross-compiling) = yes]: Change condition to
15575 [$(run-built-tests) = no].
15576 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15577 to [$(run-built-tests) = yes].
15578 * elf/Makefile [$(cross-compiling) = no]: Likewise
15579 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15580 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15581 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15582 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15583 * io/Makefile [$(cross-compiling) = no]: Likewise.
15584 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15585 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15586 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15587 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15588 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15589 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15590 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15591 * string/Makefile [$(cross-compiling) = no]: Likewise.
15592
ebfd1bbd
JM
15593 * posix/Makefile ($(objpfx)globtest.out): Pass
15594 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15595 $(rtld-installed-name).
15596 * posix/globtest.sh (elf_objpfx): Remove variable.
15597 (rtld_installed_name): Likewise.
15598 (library_path): Likewise.
15599 (run_program_prefix): New variable. Use for running globtest
15600 binary.
15601
166bca24
JB
156022012-10-23 Jim Blandy <jimb@codesourcery.com>
15603 Joseph Myers <joseph@codesourcery.com>
15604
15605 * Makeconfig (host-built-program-cmd): New variable.
15606 * elf/Makefile (tst-stackguard1-ARGS): Use
15607 $(host-built-program-cmd).
15608 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15609 (tst-spawn-ARGS): Likewise.
15610 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15611
88866099
JM
156122012-10-23 Joseph Myers <joseph@codesourcery.com>
15613 Jim Blandy <jimb@codesourcery.com>
15614
15615 * Makeconfig (run-via-rtld-prefix): New variable.
15616 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15617 (built-program-cmd): Likewise.
15618
b4b4c296
AJ
156192012-10-22 Andreas Jaeger <aj@suse.de>
15620
15621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15622 __O_RSYNC if it exists, otherwise to O_SYNC.
15623
6fb54a22
JB
156242012-10-22 Jim Blandy <jimb@codesourcery.com>
15625 Joseph Myers <joseph@codesourcery.com>
15626
15627 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15628 /dev/null.
15629 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15630 from /dev/null
15631 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15632 /dev/null.
15633
481b90b9
AJ
156342012-10-22 Andreas Jaeger <aj@suse.de>
15635
2a0e2669
AJ
15636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15637 Define always.
15638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15639
76e38f9a
AJ
15640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15641 bits/fcntl-linux.h.
15642
7cd37b43
AJ
15643 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15644 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15645
481b90b9
AJ
15646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15647 to __O_LARGEFILE.
15648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15649 to __O_LARGEFILE.
15650
aba75984
JB
156512012-10-21 Jim Blandy <jimb@codesourcery.com>
15652 Joseph Myers <joseph@codesourcery.com>
15653
15654 * config.make.in (NM): New variable.
15655
88d4247f
AJ
156562012-10-21 Andreas Jaeger <aj@suse.de>
15657
15658 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15659 definitions and declarations that are provided by
15660 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15661
f2eed205
L
156622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15663
15664 [BZ #14683]
15665 * elf/Makefile (tests-static): Add tst-leaks1-static.
15666 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15667 ($(objpfx)tst-leaks1-static): New rule.
15668 ($(objpfx)tst-leaks1-static-mem): Likewise.
15669 (tst-leaks1-static-ENV): New macro.
15670 * elf/dl-open.c (dl_open_worker): Check the main application
15671 only if SHARED is defined.
15672 * elf/tst-leaks1-static.c: New file.
15673
335e6931
AJ
156742012-10-20 Andreas Jaeger <aj@suse.de>
15675
15676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15677 generic values for Linux.
15678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15679 and declarations that are provided by <bits/fcntl-linux.h> and
15680 include <bits/fcntl-linux.h>.
15681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15683
ac5c94d3
RM
156842012-10-20 Roland McGrath <roland@hack.frob.com>
15685
15686 * io/fcntl.h: Move include of <bits/types.h> to the top and
15687 include it unconditionally.
15688
de54b33a
L
156892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15690
228cfb01
L
15691 * wcsmbs/Makefile (tests-ifunc): New variable.
15692 (tests): Add $(tests-ifunc).
15693 * wcsmbs/test-wcschr-ifunc.c: New file.
15694 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15695 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15696 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15697 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15698 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15699
69f07e5f
L
15700 * string/Makefile (tests-ifunc): New variable.
15701 (tests): Add $(tests-ifunc).
15702 * string/test-memccpy.c (TEST_NAME): New macro.
15703 * string/test-memchr.c (TEST_NAME): Likewise.
15704 * string/test-memcmp.c (TEST_NAME): Likewise.
15705 * string/test-memcpy.c (TEST_NAME): Likewise.
15706 * string/test-memmem.c (TEST_NAME): Likewise.
15707 * string/test-memmove.c (TEST_NAME): Likewise.
15708 * string/test-memset.c (TEST_NAME): Likewise.
15709 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15710 * string/test-stpcpy.c (TEST_NAME): Likewise.
15711 * string/test-stpncpy.c (TEST_NAME): Likewise.
15712 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15713 * string/test-strcasestr.c (TEST_NAME): Likewise.
15714 * string/test-strcat.c (TEST_NAME): Likewise.
15715 * string/test-strchr.c (TEST_NAME): Likewise.
15716 * string/test-strcmp.c(TEST_NAME): Likewise.
15717 * string/test-strcpy.c (TEST_NAME): Likewise.
15718 * string/test-strcspn.c (TEST_NAME): Likewise.
15719 * string/test-strlen.c (TEST_NAME): Likewise.
15720 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15721 * string/test-strncmp.c (TEST_NAME): Likewise.
15722 * string/test-strncpy.c (TEST_NAME): Likewise.
15723 * string/test-strnlen.c (TEST_NAME): Likewise.
15724 * string/test-strpbrk.c (TEST_NAME): Likewise.
15725 * string/test-strrchr.c (TEST_NAME): Likewise.
15726 * string/test-strspn.c (TEST_NAME): Likewise.
15727 * string/test-strstr.c (TEST_NAME): Likewise.
15728 * string/test-bcopy-ifunc.c: New file.
15729 * string/test-bzero-ifunc.c: Likewise.
15730 * string/test-memccpy-ifunc.c: Likewise.
15731 * string/test-memchr-ifunc.c: Likewise.
15732 * string/test-memcmp-ifunc.c: Likewise.
15733 * string/test-memcpy-ifunc.c: Likewise.
15734 * string/test-memmem-ifunc.c: Likewise.
15735 * string/test-memmove-ifunc.c: Likewise.
15736 * string/test-mempcpy-ifunc.c: Likewise.
15737 * string/test-memset-ifunc.c: Likewise.
15738 * string/test-rawmemchr-ifunc.c: Likewise.
15739 * string/test-stpcpy-ifunc.c: Likewise.
15740 * string/test-stpncpy-ifunc.c: Likewise.
15741 * string/test-strcasecmp-ifunc.c: Likewise.
15742 * string/test-strcasestr-ifunc.c: Likewise.
15743 * string/test-strcat-ifunc.c: Likewise.
15744 * string/test-strchr-ifunc.c: Likewise.
15745 * string/test-strchrnul-ifunc.c: Likewise.
15746 * string/test-strcmp-ifunc.c: Likewise.
15747 * string/test-strcpy-ifunc.c: Likewise.
15748 * string/test-strcspn-ifunc.c: Likewise.
15749 * string/test-strlen-ifunc.c: Likewise.
15750 * string/test-strncasecmp-ifunc.c: Likewise.
15751 * string/test-strncat-ifunc.c: Likewise.
15752 * string/test-strncmp-ifunc.c: Likewise.
15753 * string/test-strncpy-ifunc.c: Likewise.
15754 * string/test-strnlen-ifunc.c: Likewise.
15755 * string/test-strpbrk-ifunc.c: Likewise.
15756 * string/test-strrchr-ifunc.c: Likewise.
15757 * string/test-strspn-ifunc.c: Likewise.
15758 * string/test-strstr-ifunc.c: Likewise.
15759
de54b33a
L
15760 * debug/Makefile (tests-ifunc): New variable.
15761 (tests): Add $(tests-ifunc).
15762 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15763 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15764 * debug/test-stpcpy_chk-ifunc.c: New file.
15765 * debug/test-strcpy_chk-ifunc.c: Likewise.
15766
88481c16
SP
157672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15768
15769 [BZ #13601]
15770 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15771 header is not read in.
15772
135948bd
JM
157732012-10-19 Joseph Myers <joseph@codesourcery.com>
15774
89f1c388
JM
15775 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15776 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15777 directly. Pass built executable to script as
15778 $(built-program-cmd).
15779 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15780 $testprogram without using LD_LIBRARY_PATH and $ldso.
15781
e40a0d21
JM
15782 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15783 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15784 $(rtld-installed-name).
15785 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15786 (rtld_installed_name): Likewise.
15787 (library_path): Likewise.
15788 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15789 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15790 $(run-program-prefix) to tst-tables.sh.
15791 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15792 it to run tst-table-from and tst-table-to.
15793 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15794 Pass it to tst-table.sh.
15795 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15796 $(run-program-prefix) to tst-gettext.sh.
15797 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15798 tst-translit.sh.
15799 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15800 tst-gettext2.sh.
15801 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15802 to run tst-gettext.
15803 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15804 to run tst-gettext2.
15805 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15806 to run tst-translit.
15807 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15808 $(run-program-prefix) to tst-mtrace.sh.
15809 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15810 to run tst-mtrace.
15811 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15812 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15813 $(rtld-installed-name).
15814 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15815 (rtld_installed_name): Likewise.
15816 (run_program_prefix): New variable. Use it to run wordexp-test.
15817
728e272a
JM
15818 * Makeconfig (ARCH): Remove all definitions.
15819 (machine): Likewise.
15820 [ARCH]: Remove conditional code.
15821 [!objdir]: Give error.
15822 [!objdir] (objpfx): Remove.
15823 [!objdir] (common-objpfx): Likewise.
15824 [!objdir] (common-objdir): Likewise.
15825 * configure.in (config_makefile): Remove. Hardcode Makefile in
15826 AC_CONFIG_FILES call.
15827 * configure: Regenerated.
15828
d528cdcf
JM
15829 [BZ #13888]
15830 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15831 or TMPDIR.
15832 (testout): Likewise.
15833
135948bd
JM
15834 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15835 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15836 $(rtld-installed-name).
15837 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15838 (rtld_installed_name): Likwise.
15839 (runit): Remove function.
15840 (run_getconf): New variable, Use it for running getconf binary.
15841
38c78296
L
158422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15843
15844 [BZ #14716]
15845 * string/test-memmem.c (check_result): New function.
15846 (do_one_test): Use it.
15847 (check1): New function.
15848 (test_main): Use it.
15849
d077f65f
MT
158502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15851
15852 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15853
ced52c71
JM
158542012-10-18 Joseph Myers <joseph@codesourcery.com>
15855
15856 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15857 (_G_LSEEK64): Likewise.
15858 (_G_MMAP64): Likewise.
15859 (_G_FSTAT64): Likewise.
15860 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15861 (_G_LSEEK64): Likewise.
15862 (_G_MMAP64): Likewise.
15863 (_G_FSTAT64): Likewise.
15864 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15865 unconditional. Call __mmap64 directly.
15866 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15867 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15868 __lseek64 directly.
15869 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15870 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15871 __mmap64 directly.
15872 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15873 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15874 __lseek64 directly.
15875 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15876 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15877 __lseek64 directly.
15878 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15879 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15880 __lseek64 directly.
15881 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15882 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15883 __fxstat64 directly.
15884 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15885 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15886 unconditional.
15887 (freopen64) [!_G_OPEN64]: Remove conditional code.
15888 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15889 unconditional.
15890 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15891 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15892 unconditional.
15893 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15894 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15895 unconditional.
15896 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15897 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15898 unconditional.
15899 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15900 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15901 unconditional.
15902 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15903 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15904 unconditional.
15905 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15906 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15907 unconditional.
15908 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15909
b741de23
SP
159102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15911
15912 [BZ #12140]
15913 * manual/memory.texi (Malloc Tunable Parameters): Add note
15914 about free list pointers overwriting some perturb bytes.
15915 Wording suggested by Roland McGrath.
15916
f9b9d9c9
JM
159172012-10-17 Joseph Myers <joseph@codesourcery.com>
15918
15919 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15920 (lgamma_test): Likewise.
15921 (tgamma_test): Likewise.
15922
172a631a
FW
159232012-10-16 Florian Weimer <fweimer@redhat.com>
15924
15925 [BZ #14700]
15926 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15927 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15928
e9f37252
MK
159292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15930
15931 * NEWS: Mention BZ #14716.
15932 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15933 when removing AVAILABLE1_USES_J macro.
15934
d394eb74
L
159352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15936
15937 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15938 (__bswap_64): __uint64_t for unsigned 64-bit int.
15939
ca38dc17
AS
159402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15941
15942 * include/string.h (memmem): Declare libc hidden alias.
15943 * string/memmem.c (memmem): Define libc hidden alias.
15944 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15945 __read, __close instead of open, read, close.
15946
9a387d1f
L
159472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15948
ac49ecaf
L
15949 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15950 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15951 global and hidden.
15952 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15953 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15954 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15955 Likewise.
15956 (__rawmemchr_sse2): Likewise.
15957 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15958 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15959 (__strchr_sse2): Likewise.
15960 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15961 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15962 (__strcasecmp_sse2): Likewise.
15963 (__strncasecmp_sse2): Likewise.
15964 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15965 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15966 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15967 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15968 (__strrchr_sse2): Likewise.
15969 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15970 ifunc-impl-list.c.
15971 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15972 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15973 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15974 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15975 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15976 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15977 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15978 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15979 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15980 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15981 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15982 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15983 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15984 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15985 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15986 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15987 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15988 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15989 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15990 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15991 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15992 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15993 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15994 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15995 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15996 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15997 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15998 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15999 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16000 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16001
b090e8ea
L
16002 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16003 global and hidden.
16004 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16005 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16006 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16007 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16008 Likewise.
16009 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16010 Likewise.
16011 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16012 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16013 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16014 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16015 ifunc-impl-list.c.
16016 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16017 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16018 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16019 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16020 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16021 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16022 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16023 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16024 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16025 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16026 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16027 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16028 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16029 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16030 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16031 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16032 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16033 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16034 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16035 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16036 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16037 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16038 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16039 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16040 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16041 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16042 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16043 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16044 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16045 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16046 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16047 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16048 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16049 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16050 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16051 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16052 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16053 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16054 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16055 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16056 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16057
11dd4af6
L
16058 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16059 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16060 * include/ifunc-impl-list.h: New file.
16061 * misc/ifunc-impl-list.c: Likewise.
16062 * misc/Makefile (routines): Add ifunc-impl-list.
16063 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16064 * string/test-string.h: Include <ifunc-impl-list.h>.
16065 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16066 impl_array): New variables.
16067 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16068 are defined.
16069 (test_init): Call __libc_ifunc_impl_list to initialize
16070 func_list if TEST_IFUNC and TEST_NAME are defined.
16071
9a387d1f
L
16072 * string/Makefile (strop-tests): Add bcopy and bzero.
16073 * string/test-bcopy.c: New file.
16074 * string/test-bzero.c: Likewise.
16075 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16076 defined.
16077 * string/test-memset.c: Support bzero test if TEST_BZERO is
16078 defined.
16079 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16080 __libc_memmove.
16081 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16082 __libc_memset.
16083 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16084 of memset.
16085
472371b9
JM
160862012-10-10 Joseph Myers <joseph@codesourcery.com>
16087
1e4a9536
JM
16088 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16089 * configure: Regenerated.
16090
d173d12e
JM
16091 * Makeconfig (+link-static-before-libc): Don't include
16092 $(link-static-libc).
16093
472371b9
JM
16094 * libio/libio.h (_IO_pos_t): Remove.
16095
89a3ad0b
AO
160962012-10-10 Alexandre Oliva <aoliva@redhat.com>
16097
16098 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16099 McGrath.
16100
e7451425
AO
161012012-10-10 Alexandre Oliva <aoliva@redhat.com>
16102
16103 * crypt/crypt-entry.c: Include fips-private.h.
16104 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16105 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16106 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16107 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16108
4ba74a35
AO
161092012-10-10 Alexandre Oliva <aoliva@redhat.com>
16110
16111 * crypt/crypt-private.h: Include stdbool.h.
16112 (_ufc_setup_salt_r): Return bool.
16113 * crypt/crypt-entry.c: Include errno.h.
16114 (__crypt_r): Return NULL with EINVAL for bad salt.
16115 * crypt/crypt_util.c (bad_for_salt): New.
16116 (_ufc_setup_salt_r): Check that salt is long enough and within
16117 the specified alphabet.
16118 * crypt/badsalttest.c: New file.
16119 * crypt/Makefile (tests): Add it.
16120 ($(objpfx)badsalttest): New.
16121
f96f1242
MK
161222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16123
16124 * NEWS: Add entry for BZ #14602.
16125
0e8e0c1c
JM
161262012-10-09 Joseph Myers <joseph@codesourcery.com>
16127
16128 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16129 type-generic.
16130 * math/libm-test.inc: Update comment listing what functions and
16131 macros are tested.
16132 (isgreater_test): New function.
16133 (isgreaterequal_test): Likewise.
16134 (isless_test): Likewise.
16135 (islessequal_test): Likewise.
16136 (islessgreater_test): Likewise.
16137 (isunordered_test): Likewise.
16138 (main): Call the new functions.
16139
273edc5e
RM
161402012-10-09 Roland McGrath <roland@hack.frob.com>
16141
b8493de0
RM
16142 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16143 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16144 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16145 * sysdeps/i386/configure: Regenerated.
16146 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16147 * sysdeps/mach/configure: Regenerated.
16148 * sysdeps/mach/hurd/configure: Regenerated.
16149 * sysdeps/powerpc/configure: Regenerated.
16150 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16151 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16152 * sysdeps/s390/s390-32/configure: Regenerated.
16153 * sysdeps/s390/s390-64/configure: Regenerated.
16154 * sysdeps/sh/configure: Regenerated.
16155 * sysdeps/sparc/configure: Regenerated.
16156 * sysdeps/unix/sysv/linux/configure: Regenerated.
16157 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16158 * sysdeps/x86_64/configure: Regenerated.
16159
273edc5e
RM
16160 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16161 defined. Don't check if MAP is NULL.
16162
c8450f70
JM
161632012-10-09 Joseph Myers <joseph@codesourcery.com>
16164
16165 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16166 (_G_stat64): Likewise.
16167 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16168 (_G_stat64): Likewise.
16169 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16170 instead of struct _G_stat64.
16171 * libio/fileops.c (mmap_remap_check): Likewise.
16172 (decide_maybe_mmap): Likewise.
16173 (_IO_new_file_seekoff): Likewise.
16174 (_IO_file_stat): Likewise.
16175 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16176 _G_off64_t.
16177 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16178 instead of struct _G_stat64.
16179 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16180
57e605ba
MK
161812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16182
16183 [BZ #14602]
16184 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16185 Replace with ...
16186 (CHECK_EOL): New macro.
16187 (two_way_short_needle): Check beginning of haystack for EOL. Use
16188 CHECK_EOL.
16189 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16190 Replace with CHECK_EOL.
16191 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16192 Replace with CHECK_EOL.
16193
ef1bb361
JM
161942012-10-08 Joseph Myers <joseph@codesourcery.com>
16195
16196 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16197 type-generic.
16198 * math/libm-test.inc: Update comment listing what functions and
16199 macros are tested.
16200 (finite_test): New function.
16201 (isinf_test): Likewise.
16202 (isnan_test): Likewise.
16203 (fpclassify_test): Test subnormal input.
16204 (isfinite_test): Likewise.
16205 (isnormal_test): Likewise.
16206 (main): Call the new functions.
16207
55f11534
JN
162082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16209
16210 [BZ #14660]
16211 * Makerules (%.dynsym): Force C locale when running
16212 $(OBJDUMP) --dynamic-syms.
16213
1ab29350
AS
162142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16215
16216 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16217 <stdint.h>.
16218
f1ecb7ef
DM
162192012-10-06 David S. Miller <davem@davemloft.net>
16220
16221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16222 upper 32-bits of the length value in %o2 since we use branch-on-register
16223 tests which consider the entire 64-bit register.
16224
5d41d91a
L
162252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16226
16227 * string/test-strstr.c (check2): Add a test for page boundary.
16228
3baddb72
DM
162292012-10-05 David S. Miller <davem@davemloft.net>
16230
16231 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16232 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16233 file.
16234 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16235 sysdep_routines.
16236 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16237 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16238 and bzero when HWCAP_SPARC_CRYPTO is present.
16239
9cee5585
L
162402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16241
d7e0dab9
L
16242 [BZ #14602]
16243 * string/test-strstr.c (check2): New function.
16244 (test_main): Call check2.
16245
03759f47
L
16246 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16247 and bug-strchr1.
16248 * string/bug-strcasestr1.c (do_test): Moved to ...
16249 * string/test-strcasestr.c (check1): Here. New function.
16250 (do_one_test): Break out result checking code into ...
16251 (check_result): This. New function.
16252 (do_one_test): Call check_result.
16253 (test_main): Call check1.
16254 * string/bug-strchr1.c (do_test): Moved to ...
16255 * string/test-strchr.c (check1): Here. New function.
16256 (do_one_test): Break out result checking code into ...
16257 (check_result): This. New function.
16258 (do_one_test): Call check_result.
16259 (test_main): Call check1.
16260 * string/bug-strstr1.c (main): Moved to ...
046f153e 16261 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16262 (do_one_test): Break out result checking code into ...
16263 (check_result): This. New function.
16264 (do_one_test): Call check_result.
16265 (test_main): Call check1.
16266 * string/bug-strcasestr1.c: Removed.
16267 * string/bug-strchr1.c: Likewise.
16268 * string/bug-strstr1.c: Likewise.
16269
53cea63e
L
16270 * elf/Makefile (dl-routines): Add hwcaps.
16271 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16272 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16273 (_dl_important_hwcaps): Moved to ...
16274 * elf/dl-hwcaps.c: Here. New file.
16275 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16276
9cee5585 16277 [BZ #14557]
bb859b06
L
16278 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16279 if IS_IN_rtld isn't defined.
16280
9cee5585
L
16281 * elf/dl-support.c (_dl_sysinfo_map): New.
16282 Include "get-dynamic-info.h" and "setup-vdso.h".
16283 (_dl_non_dynamic_init): Call setup_vdso.
16284 * elf/dynamic-link.h: Don't include <assert.h>.
16285 (elf_get_dynamic_info): Moved to ...
16286 * elf/get-dynamic-info.h: Here. New file.
16287 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16288 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16289 * elf/setup-vdso.h: Here. New file.
16290 * elf/rtld.c: Include "setup-vdso.h".
16291 (dl_main): Call setup_vdso.
16292
23c31b76
JM
162932012-10-05 Joseph Myers <joseph@codesourcery.com>
16294
28234b07
JM
16295 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16296 creal in comment listing functions tested. List finite, isinf,
16297 isnan, isless, islessequal, isgreater, isgreaterequal,
16298 islessgreater, isunordered, lgamma_r and pow10 as functions and
16299 macros not tested. Mention which functions not tested are aliases
16300 for other functions. Fix typo. Note that signs of NaNs are not
16301 tested.
16302
23c31b76
JM
16303 * scripts/config.guess: Update from config.git.
16304 * scripts/config.sub: Likewise.
16305
9043e228
RM
163062012-10-04 Roland McGrath <roland@hack.frob.com>
16307
16308 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16309 * misc/madvise.c (madvise): Renamed to __madvise.
16310 Make madvise a weak alias.
16311 * include/sys/mman.h: Declare __madvise.
16312 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16313 * sysdeps/unix/syscalls.list
16314 (madvise): Make __madvise the strong name, and madvise a weak alias.
16315 * sysdeps/unix/sysv/linux/syscalls.list
16316 (madvise, mmap): Remove redundant entries.
16317 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16318 * malloc/malloc.c (mtrim): Likewise.
16319 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16320
f57f8055
RM
163212012-10-03 Roland McGrath <roland@hack.frob.com>
16322
16323 * sysdeps/mach/hurd/dl-cache.c: File removed.
16324 * config.h.in (USE_LDCONFIG): New #undef.
16325 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16326 * configure: Regenerated.
16327 * elf/Makefile (dl-routines): Add dl-cache only under
16328 [$(use-ldconfig) = yes].
16329 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16330 cache on [USE_LDCONFIG].
16331 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16332 [USE_LDCONFIG].
16333 * elf/rtld.c (dl_main): Likewise.
16334
5bb0c10a
PT
163352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16336
16337 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16338 _SC_LEVEL4_CACHE_LINESIZE.
16339
010188c6
RM
163402012-10-03 Roland McGrath <roland@hack.frob.com>
16341
16342 * sysdeps/unix/bsd/confstr.h: File removed.
16343
b6c5ec07
AO
163442012-10-02 Alexandre Oliva <aoliva@redhat.com>
16345
16346 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16347 sys/sdt-config.h.
16348
408223d4
RM
163492012-10-02 Roland McGrath <roland@hack.frob.com>
16350
16351 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16352 Make 'mapoff' field ElfW(Off) rather than off_t.
16353
bb9510dc
DL
163542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16355
fc997c6e
DL
16356 * nscd/Makefile: Remove nscd-cflags and all its users.
16357 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16358 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16359
bb9510dc
DL
16360 [BZ #10631]
16361 * malloc.c (malloc_printerr): Clarify error message.
16362
05699367
L
163632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16364
16365 [BZ #14648]
16366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16367 Set bit_FMA_Usable if FMA is supported.
16368 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16369 macro.
16370 (bit_FMA4_Usable): Updated.
16371 (index_FMA_Usable): New macro.
16372 (CPUID_FMA): Likewise
16373 (HAS_FMA): Defined with bit_FMA_Usable.
16374
51367701
RM
163752012-10-01 Roland McGrath <roland@hack.frob.com>
16376
16377 * bits/types.h (__swblk_t): Type removed.
16378 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16379 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16381 (__SWBLK_T_TYPE): Likewise.
16382 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16383 (__SWBLK_T_TYPE): Likewise.
16384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16385 (__SWBLK_T_TYPE): Likewise.
16386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16387 (__SWBLK_T_TYPE): Likewise.
16388
4d57bf63 163892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16390 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16391
16392 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16393 (xdr_mapname): Use YPMAXMAP as maxsize.
16394 (xdr_peername): Use YPMAXPEER as maxsize.
16395 (xdr_keydat): Use YPAXRECORD as maxsize.
16396 (xdr_valdat): Use YPMAXRECORD as maxsize.
16397
93c65d43
RM
163982012-10-01 Roland McGrath <roland@hack.frob.com>
16399
497a03d6
RM
16400 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16401
93c65d43
RM
16402 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16403 * csu/init-first.c: ... here.
16404 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16405 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16406 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16407 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16408 * sysdeps/i386/init-first.c: File removed.
16409 * sysdeps/sh/init-first.c: File removed.
16410
bec749fd
JM
164112012-10-01 Joseph Myers <joseph@codesourcery.com>
16412
16413 [BZ #14645]
16414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16415 if x * y might underflow to zero and z is zero.
16416 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16418 * math/libm-test.inc (min_subnorm_value): New variable.
16419 (fma_test): Add more tests.
16420 (fma_test_towardzero): Likewise.
16421 (fma_test_downward): Likewise
16422 (fma_test_upward): Likewise.
16423 (initialize): Set min_subnorm_value.
16424
8ec5b013
JM
164252012-09-29 Joseph Myers <joseph@codesourcery.com>
16426
16427 [BZ #14638]
16428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16429 0 + 0.
16430 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16431 mode for addition resulting in exact zero.
16432 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16434 exact 0 + 0.
16435 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16437 * math/libm-test.inc (fma_test): Add more tests.
16438 (fma_test_towardzero): New function.
16439 (fma_test_downward): Likewise.
16440 (fma_test_upward): Likewise.
16441 (main): Call the new functions.
16442
b1fa802e
DM
164432012-09-28 David S. Miller <davem@davemloft.net>
16444
16445 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16446
d3b9fd9e
RM
164472012-09-28 Roland McGrath <roland@hack.frob.com>
16448
ea4d37b3
RM
16449 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16450 instead of SIGALRM.
16451
ac51c949
RM
16452 * sysdeps/gnu/_G_config.h: Moved to ...
16453 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16454 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16455 * sysdeps/generic/_G_config.h: ... here.
16456
28c195f7
RM
16457 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16458
848917f9
RM
16459 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16460
6bacf05b
RM
16461 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16462 Conditionalize target on [libnss_test1.so-version].
16463
91363dbb
RM
16464 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16465
cc87f7d8
RM
16466 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16467 (elfobjdir): Move out of conditionals.
16468
b1c608fe
RM
16469 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16470 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16471 (__nss_lookup_function): Conditionalize label remove_from_tree on
16472 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16473
1d9a6d96
DM
164742012-09-28 David S. Miller <davem@davemloft.net>
16475
16476 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16477 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16478 file.
16479 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16480 sysdep_routines.
16481 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16483 when HWCAP_SPARC_CRYPTO is present.
16484
72581615
PT
164852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16486
16487 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16488
715a900c
JL
164892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16490
16491 [BZ #6530]
16492 * stdio-common/vfprintf.c (process_string_arg): Revert
16493 2000-07-22 change.
16494
164952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16496
16497 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16498 for testcase.
16499 * stdio-common/tst-sprintf.c: Include <locale.h>
16500 (main): Test sprintf's handling of incomplete multibyte
16501 characters.
16502
9bac1d86
L
165032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16504
16505 * elf/dl-runtime.c (VERSYMIDX): Removed.
16506 * elf/dl-version.c (VERSYMIDX): Likewise.
16507 * elf/do-rel.h (VERSYMIDX): Likewise.
16508 (VALIDX): Likewise.
16509 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16510 * elf/rtld.c (VALIDX): Likewise.
16511 (ADDRIDX): Likewise.
9bac1d86
L
16512 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16513 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16514 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16515 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16516 (VALIDX): Likewise.
16517 (ADDRIDX): Likewise.
9bac1d86 16518
b31606c0
PT
165192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16520
16521 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16522
11541177
JL
165232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16524
16525 [BZ #11438]
16526 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16527 to global scope.
16528 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16529 addresses are in the same scope as 192.0.2/24.
16530 * posix/gai.conf: Document new scope table defaults.
16531
adb26fae
SP
165322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16533
16534 [BZ #5298]
16535 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16536 for ftell. Compute offsets from write pointers instead.
16537 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16538
4573c6b0
SP
165392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16540
16541 [BZ #14543]
16542 * libio/Makefile (tests): New test case tst-fseek.
16543 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16544 combination works in wide mode.
16545 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16546 state when the external buffer state changes.
16547
aa9bbfe6
DM
165482012-09-27 David S. Miller <davem@davemloft.net>
16549
16550 [BZ #14376]
16551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16552 pass reloc->r_addend in as the 'high' argument to
16553 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16554
784421e7
DM
16555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16556
c39bc8b8
PT
165572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16558
16559 * rt/tst-aio2.c: Include <pthread.h>.
16560 * rt/tst-aio3.c: Likewise.
16561
1ccc2399
SE
165622012-09-27 Steve Ellcey <sellcey@mips.com>
16563
16564 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16565
31ed4153
L
165662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16567
25f5f885
L
16568 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16569 contents on [SHARED].
31ed4153 16570
b7bfe116
MP
165712012-09-26 Marek Polacek <polacek@redhat.com>
16572
16573 [BZ #14530]
16574 [BZ #13741]
16575 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16576 for C++ and GCC <4.3 as well as for non GCC compilers.
16577
43c4edba
MT
165782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16579
16580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16581
6a1bf82f
RM
165822012-09-25 Roland McGrath <roland@hack.frob.com>
16583
16584 * Makefile.in (all, install): Declare with .PHONY.
16585 Reported by Michael Hope <michael.hope@linaro.org>.
16586
8ad11b9a
TMQMF
165872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16588
16589 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16590 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16591 system header.
16592 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16593 Likewise.
16594 (sydep_routines): Add the new and the internal functions.
16595 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16596 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16598 (GLIBC_2.17): Add the new function.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16600 (GLIBC_2.17): Likewise.
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16602 (GLIBC_2.17): Likewise.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16604 (GLIBC_2.17): Likewise.
16605 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16606
7e2fca8d
AM
166072012-09-25 Alan Modra <amodra@gmail.com>
16608
16609 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16610 Add release barrier before setting once_control to say
16611 initialisation is done. Add hints on lwarx. Use macro in
16612 place of isync.
16613 (clear_once_control): Add release barrier.
16614
b87c4b24
JM
166152012-09-25 Joseph Myers <joseph@codesourcery.com>
16616
d032e0d2
JM
16617 [BZ #13629]
16618 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16619 specially.
16620 * math/s_clog10.c (__clog10): Likewise.
16621 * math/s_clog10f.c (__clog10f): Likewise.
16622 * math/s_clog10l.c (__clog10l): Likewise.
16623 * math/s_clogf.c (__clogf): Likewise.
16624 * math/s_clogl.c (__clogl): Likewise.
16625 * math/Makefile (libm-calls): Add x2y2m1.
16626 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16627 (__x2y2m1): Likewise.
16628 (__x2y2m1l): Likewise.
16629 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16630 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16631 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16632 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16633 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16634 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16635 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16636 * sysdeps/i386/fpu/libm-test-ulps: Update.
16637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16638
b87c4b24
JM
16639 [BZ #14621]
16640 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16641 int as type of variable DEPTH.
16642 (glob): Use size_t instead of int as type of variables NEWCOUNT
16643 and OLD_PATHC.
16644
6d3bf199
LD
166452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16646
22bf5c17
LD
16647 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16648 Add s_sincosf-sse2.
16649 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16650 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16651 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16652 macros for using routine as __sincosf_ia32.
16653 Use macro for function declaration and weak_alias.
16654 * sysdeps/i386/fpu/libm-test-ulps: Update.
16655
16656 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16658
16659 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16660 subnormal argument.
16661 * math/s_cexpf.c (__cexpf): Likewise.
16662 * math/s_csinf.c (__csinf): Likewise.
16663 * math/s_csinhf.c (__csinhf): Likewise.
16664 * math/s_ctanf.c (__ctanf): Likewise.
16665 * math/s_ctanhf.c (__ctanhf): Likewise.
16666 * math/s_ccosh.c (__ccoshf): Likewise.
16667 * math/s_cexp.c (__cexpl): Likewise.
16668 * math/s_csin.c (__csin): Likewise.
16669 * math/s_csinh.c (__csinh): Likewise.
16670 * math/s_ctan.c (__ctan): Likewise.
16671 * math/s_ctanh.c (ctanh): Likewise.
16672 * math/s_ccoshl.c (__ccoshl): Likewise.
16673 * math/s_cexpl.c (__cexpl): Likewise.
16674 * math/s_csinl.c (__csinl): Likewise.
16675 * math/s_csinhl.c (__csinhl): Likewise.
16676 * math/s_ctanl.c (__ctanl): Likewise.
16677 * math/s_ctanhl.c (__ctanhl): Likewise.
16678
203e5603
JM
166792012-09-25 Joseph Myers <joseph@codesourcery.com>
16680
16681 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16682 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16683 (_IO_off_t): Define to __off_t, not _G_off_t.
16684 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16685 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16686 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16687 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16688 type of __dummy and __dummy2 fields.
16689 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16690 (_G_ssize_t): Likewise.
16691 (_G_off_t): Likewise.
16692 (_G_pid_t): Likewise.
16693 (_G_uid_t): Likewise.
16694 (_G_wchar_t): Likewise.
16695 (_G_wint_t): Likewise.
16696 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16697 (_G_ssize_t): Likewise.
16698 (_G_off_t): Likewise.
16699 (_G_pid_t): Likewise.
16700 (_G_uid_t): Likewise.
16701 (_G_wchar_t): Likewise.
16702 (_G_wint_t): Likewise.
16703 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16704 (_G_ssize_t): Likewise.
16705 (_G_off_t): Likewise.
16706 (_G_pid_t): Likewise.
16707 (_G_uid_t): Likewise.
16708 (_G_wchar_t): Likewise.
16709 (_G_wint_t): Likewise.
16710
9fab36eb
SP
167112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16712
16713 * malloc/arena.c: Include malloc-sysdep.h.
16714 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16715 is sufficient to shrink the heap or an unmap is needed.
16716 * sysdeps/generic/malloc-sysdep.h: New file. Define
16717 new function check_may_shrink_heap.
16718 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16719 new function check_may_shrink_heap.
16720
2b4f00d1
SP
167212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16722
16723 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16724 comments.
16725
9a9028b1
DL
167262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16727
57c69bef
DL
16728 * catgets/test-gencat.sh: Add "set -e".
16729 * elf/tst-pathopt.sh: Likewise.
16730 * grp/tst_fgetgrent.sh: Likewise.
16731 * iconvdata/run-iconv-test.sh: Likewise.
16732 * intl/tst-gettext.sh: Likewise.
16733 * intl/tst-gettext2.sh: Likewise.
16734 * intl/tst-gettext4.sh: Likewise.
16735 * intl/tst-gettext6.sh: Likewise.
16736 * intl/tst-translit.sh: Likewise.
16737 * io/ftwtest-sh: Likewise.
16738 * libio/test-freopen.sh: Likewise.
16739 * malloc/tst-mtrace.sh: Likewise.
16740 * posix/globtest.sh: Likewise.
16741 * posix/tst-getconf.sh: Likewise.
16742 * posix/wordexp-tst.sh: Likewise.
16743 * stdio-common/tst-printf.sh: Likewise.
16744 * stdio-common/tst-unbputc.sh: Likewise.
16745 * stdlib/tst-fmtmsg.sh: Likewise.
16746 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16747 * catgets/Makefile: Do not specify -e option when running
16748 testsuite shell scripts.
16749 * elf/Makefile: Likewise.
16750 * grp/Makefile: Likewise.
16751 * iconvdata/Makefile: Likewise.
16752 * intl/Makefile: Likewise.
16753 * io/Makefile: Likewise.
16754 * libio/Makefile: Likewise.
16755 * malloc/Makefile: Likewise.
16756 * posix/Makefile: Likewise.
16757 * stdio-common/Makefile: Likewise.
16758 * stdlib/Makefile: Likewise.
16759 * sysdeps/x86_64/Makefile: Likewise.
16760
9a9028b1
DL
16761 * io/ftwtest-sh: Add copyright header.
16762 * posix/globtest.sh: Likewise.
16763 * posix/tst-getconf.sh: Likewise.
16764 * posix/wordexp-tst.sh: Likewise.
16765 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16766
ced6f16e
L
167672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16768
94b32c39
L
16769 [BZ #13679]
16770 * Makeconfig (+link): Defined as $(+link-static) if
16771 $(build-shared) isn't yes.
16772 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16773 isn't yes.
16774 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16775
189e935b
L
16776 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16777
ced6f16e
L
16778 [BZ #14562]
16779 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16780 new chunk size with MALLOC_ALIGN_MASK.
16781
a9f8e53a
JM
167822012-09-24 Joseph Myers <joseph@codesourcery.com>
16783
16784 [BZ #5044]
16785 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16786 <rounding-mode.h>.
16787 (__printf_fphex): Determine rounding using get_rounding_mode and
16788 round_away.
16789 * stdio-common/tst-printf-round.c (struct hex_test): New
16790 structure.
16791 (hex_tests): New variable.
16792 (test_hex_in_one_mode): New function.
16793 (do_test): Also run tests for hex float output.
16794
43153109
JM
167952012-09-21 Joseph Myers <joseph@codesourcery.com>
16796
16797 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16798 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16799 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16800 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16801 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16802 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16803 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16804 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16805
8a26625d
JM
168062012-09-20 Joseph Myers <joseph@codesourcery.com>
16807
16808 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16809 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16810 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16811 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16812
f3fd569c
DL
168132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16814
16815 [BZ #14579]
16816 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16817 mode only.
16818 * elf/tst-rtld-load-self.sh: New test.
16819 * elf/Makefile: Run it.
16820
63bbedd4
JM
168212012-09-18 Joseph Myers <joseph@codesourcery.com>
16822
16823 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16824 (tst-writev-ENV): Remove.
16825 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16826
626f8b6a
CM
168272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16828
16829 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16830
b7aaa4d6
JM
168312012-09-17 Joseph Myers <joseph@codesourcery.com>
16832
16833 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16834 unconditional.
16835 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16836 Likewise.
16837 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16838 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16839 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16840 Likewise.
16841
65513990
L
168422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16843
16844 [BZ #14587]
16845 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16846 * config.make.in (have-cpp-asm-debuginfo): Removed.
16847 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16848 * configure: Regenerated.
16849
784761be
JM
168502012-09-14 Joseph Myers <joseph@codesourcery.com>
16851
16852 [BZ #5044]
16853 * stdio-common/printf_fp.c: Include <stdbool.h> and
16854 <rounding-mode.h>.
16855 (___printf_fp): Determine rounding using get_rounding_mode and
16856 round_away.
16857 * stdio-common/tst-printf-round.c: New file.
16858 * stdio-common/Makefile (tests): Add tst-printf-round.
16859 (link-libm): New variable.
16860 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16861
9503345f
L
168622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16863
16864 [BZ #14576]
16865 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16866 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16867 Likewise.
16868 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16869 Likewise.
16870
ad35fc00
JM
168712012-09-13 Joseph Myers <joseph@codesourcery.com>
16872
16873 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16874 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16875 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16876 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16877
6c9b0f68
JM
168782012-09-12 Joseph Myers <joseph@codesourcery.com>
16879
16880 [BZ #14518]
16881 * include/rounding-mode.h: New file.
16882 * sysdeps/generic/get-rounding-mode.h: Likewise.
16883 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16884 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16885 (MAX_VALUE): New macro.
16886 (MIN_VALUE): Likewise.
16887 (overflow_value): New function.
16888 (underflow_value): Likewise.
16889 (round_and_return): Use overflow_value and underflow_value to
16890 determine return values in overflow and underflow cases. Use
16891 round_away to determine rounding depending on rounding mode.
16892 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16893 determine return values in overflow and underflow cases.
16894 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16895 (struct test_results): New structure.
16896 (struct test): Use struct test_results to store expected results
16897 for all rounding modes.
16898 (TEST): Include expected results for all rounding modes.
16899 (test_in_one_mode): New function.
16900 (do_test): Use test_in_one_mode to compute and check results.
16901 Check results for all rounding modes.
16902 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16903 $(link-libm).
16904
19fcedd5
AM
169052012-12-09 Allan McRae <allan@archlinux.org>
16906
1e9d84cd 16907 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16908
8bbfd2f1
JM
169092012-09-11 Joseph Myers <joseph@codesourcery.com>
16910
16911 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16912 (_G_int32_t): Likewise.
16913 (_G_uint16_t): Likewise.
16914 (_G_uint32_t): Likewise.
16915 (_G_HAVE_BOOL): Likewise.
16916 (_G_HAVE_ATEXIT): Likewise.
16917 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16918 (_G_HAVE_IO_FILE_OPEN): Likewise.
16919 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16920 (_G_int32_t): Likewise.
16921 (_G_uint16_t): Likewise.
16922 (_G_uint32_t): Likewise.
16923 (_G_HAVE_BOOL): Likewise.
16924 (_G_HAVE_ATEXIT): Likewise.
16925 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16926 (_G_HAVE_IO_FILE_OPEN): Likewise.
16927 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16928 (_G_int32_t): Likewise.
16929 (_G_uint16_t): Likewise.
16930 (_G_uint32_t): Likewise.
16931 (_G_HAVE_BOOL): Likewise.
16932 (_G_HAVE_ATEXIT): Likewise.
16933 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16934 (_G_HAVE_IO_FILE_OPEN): Likewise.
16935
b1dc5912
L
169362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16937
16938 * csu/libc-tls.c: Update copyright years.
16939
0e886ef9
JM
169402012-09-10 Joseph Myers <joseph@codesourcery.com>
16941
28361c5e
JM
16942 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16943 [!_G_USING_THUNKS]: Remove conditional code.
16944 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16945 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16946
0e886ef9
JM
16947 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16948 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16949 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16950 (_G_VTABLE_LABEL_PREFIX): Likewise.
16951 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16952 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16953 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16954 (_G_VTABLE_LABEL_PREFIX): Likewise.
16955 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16956 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16957 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16958 (_G_VTABLE_LABEL_PREFIX): Likewise.
16959 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16960
bcba7aa2
L
169612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16962
16963 * libio/Makefile: Include ../Makeconfig before tests.
16964 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16965 only if $(build-shared) is yes.
16966
06585ee8
L
16967 * iconv/gconv_db.c: Update copyright years.
16968
80ccd52c
LD
169692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16970
16971 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16972 unwind info if defined PIC. Fix special cases description.
16973 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16974
16975 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16976 DP_HI_MASK entry.
16977 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16978
691bc9c1
L
169792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16980
3d9b46b3
L
16981 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16982
de2139a9
L
16983 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16984 is NULL.
16985
5ca78dd0
L
16986 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16987 (LDLIBS-tst-chk4): This.
16988 (LDFLAGS-tst-chk5): Renamed to ...
16989 (LDLIBS-tst-chk5): This.
16990 (LDFLAGS-tst-chk6): Renamed to ...
16991 (LDLIBS-tst-chk6): This.
16992 (LDFLAGS-tst-lfschk4): Renamed to ...
16993 (LDLIBS-tst-lfschk4): This.
16994 (LDFLAGS-tst-lfschk5): Renamed to ...
16995 (LDLIBS-tst-lfschk5): This.
16996 (LDFLAGS-tst-lfschk6): Renamed to ...
16997 (LDLIBS-tst-lfschk6): This.
16998
691bc9c1
L
16999 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17000 on $(common-objpfx)soversions.mk.
17001
65cafb1c
JM
170022012-09-07 Joseph Myers <joseph@codesourcery.com>
17003
17004 [BZ #10014]
17005 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17006 example host name.
17007
c78ab094
SP
170082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17009
17010 * malloc/arena.c (arena_get_retry): New function that gets
17011 another arena for the caller to try its request on.
17012 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17013 current arena cannot fulfill the request.
17014 (__libc_memalign): Likewise.
17015 (__libc_memalign): Likewise.
17016 (__libc_pvalloc): Likewise.
17017 (__libc_calloc): Likewise.
17018
01f49f59
JT
170192012-09-05 John Tobey <john.tobey@gmail.com>
17020
17021 [BZ #13542]
17022 * manual/arith.texi (Operations on Complex): Fix description
17023 of carg branch cut.
17024
4c23fed5
JM
170252012-09-06 Joseph Myers <joseph@codesourcery.com>
17026
1d3c8572
JM
17027 [BZ #10014]
17028 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17029 host name.
17030
4c23fed5
JM
17031 [BZ #10038]
17032 * manual/memory.texi (Memory): Make order of menu items match
17033 order of sections.
17034
04570aaa
L
170352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17036
17037 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17038 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17039 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17040
b80af2f4
L
170412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 * csu/libc-tls.c (static_dtv): Renamed to ...
17044 (_dl_static_dtv): This. Make it global.
17045 (_dl_initial_dtv): Removed.
17046 (__libc_setup_tls): Updated.
17047 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17048 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17049 DL_INITIAL_DTV.
17050
2abe9f15
PM
170512012-09-06 Petr Machata <pmachata@redhat.com>
17052
17053 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17054 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17055 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17056 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17057
0948c3af
L
170582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17059
17060 [BZ #14545]
17061 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17062 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17063 freeing dtv[-1].
17064
a5055ad1
L
170652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17066
17067 [BZ #14544]
17068 * Makeconfig (link-static-before-libc): Replace $(+prector)
17069 with $(+prectorT).
17070 (link-static-after-libc): Replace $(+postctor) with
17071 $(+postctorT).
17072 (link-bounded): Replace $(+prector)/$(+postctor) with
17073 $(+prectorT)/$(+postctorT).
17074 (+prectorT): New macro.
17075 (+postctorT): Likewise.
17076
ed8c2ecd
JM
170772012-09-06 Joseph Myers <joseph@codesourcery.com>
17078
17079 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17080 (round_str): Handle values above the maximum for IBM long double
17081 as inexact.
17082 * stdlib/tst-strtod-round.c (tests): Regenerated.
17083
14c996c8
AK
170842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17085
17086 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17087 assembler flag.
17088 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17089 zarch_nohighgprs around the zarch optimized routines.
17090 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17091 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17092 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17093 for zarch.
17094
430d6ce6
DM
170952012-09-05 David S. Miller <davem@davemloft.net>
17096
17097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17098
ff04dda4
DM
17099 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17100 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17101 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17102 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17103 entries.
17104
24d4e01b
AO
171052012-09-05 Alexandre Oliva <aoliva@redhat.com>
17106
17107 * malloc/arena.c: Fold copyright years.
17108 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17109
61d58174
AO
171102012-09-05 Alexandre Oliva <aoliva@redhat.com>
17111
17112 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17113
20196a5e
AO
171142012-09-05 Alexandre Oliva <aoliva@redhat.com>
17115
17116 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17117
5c447383
AO
171182012-09-05 Alexandre Oliva <aoliva@redhat.com>
17119
17120 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17121 change internal state upon failure.
17122
fad64255
AO
171232012-09-05 Alexandre Oliva <aoliva@redhat.com>
17124
17125 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17126 * malloc/memusage.c (mmap): Likewise.
17127 (mmap64, mremap): Likewise. Adjust name in comment.
17128
1ffb8c90
SP
171292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17130
17131 * libio/fileops.c: Fix typos in comments.
17132 * libio/oldfileops.c: Likewise.
17133 * libio/wfileops.c: Likewise.
17134
6ef9cc37
SP
171352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17136
17137 [BZ #1349]
17138 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17139 (tst-malloc-usable-ENV): Set environment for test case.
17140 * malloc/hooks.c (malloc_check_get_size): New function to get
17141 requested size.
17142 * malloc/malloc.c (musable): Use malloc_check_get_size.
17143 * malloc/tst-malloc-usable.c: New test case.
17144
4d038ae3
AS
171452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17146
17147 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17148
c4e85184
AM
171492012-09-05 Allan McRae <allan@archlinux.org>
17150
b9dafc56 17151 [BZ #13966]
c4e85184
AM
17152 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17153 determine header location.
17154 * configure: Regenerated.
17155
e1343020
AS
171562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17157
17158 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17159 float format.
17160 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17161 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17162 format.
e1343020
AS
17163 (test): Regenerate.
17164
0a9f1987
DM
171652012-09-04 David S. Miller <davem@davemloft.net>
17166
17167 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17168 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17169 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17170
29237804
FW
171712012-09-04 Florian Weimer <fweimer@redhat.com>
17172
17173 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17174 failures.
17175
edb3cb88
FW
17176 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17177
60160d83
JM
171782012-09-04 Joseph Myers <joseph@codesourcery.com>
17179
17180 [BZ #9914]
17181 * libio/iogetdelim.c: Include <limits.h>.
17182 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17183 + len + 1 would overflow.
17184
bcd6c8dc
AJ
171852012-09-03 Andreas Jaeger <aj@suse.de>
17186
17187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17188 * sysdeps/i386/fpu/libm-test-ulps: Update.
17189
4ffffbd2
LD
171902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17191
17192 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17193 Add s_sinf-sse2, s_conf-sse2.
17194
17195 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17196 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17197 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17198 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17199
17200 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17201 for using routine as __sinf_ia32.
17202 Use macro for function declaration and weak_alias.
17203 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17204 for using routine as __cosf_ia32.
17205 Use macro for function declaration and weak_alias.
17206
17207 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17208 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17209
17210 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17211 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17213
17214 * math/libm-test.inc (cos_test): Add more test cases.
17215 (sin_test): Likewise.
17216 (sincos_test): Likewise.
17217
511fa286
AK
172182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17219
17220 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17221 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17222 hidden.
17223 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17224
5f30cfec
L
172252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17226
17227 [BZ #14538]
17228 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17229 first element of the GOT.
17230 (elf_machine_load_address): Return the difference between
17231 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17232
0786794f
AM
172332012-09-01 Allan McRae <allan@archlinux.org>
17234
5f30cfec
L
17235 [BZ #13412]
17236 * configure.in (AWK): Require gawk version 3.0 or later.
17237 * configure: Regenerated.
0786794f 17238
26889eac
JM
172392012-09-01 Joseph Myers <joseph@codesourcery.com>
17240
17241 * sysdeps/unix/sysv/linux/kernel-features.h
17242 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17243 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17244 [__NR_clock_getres]: Make code unconditional.
17245 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17246 (clock_getcpuclockid): Remove code left unreachable by removal of
17247 conditionals.
17248 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17249 code unconditional.
17250 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17251 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17252 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17253 Make code unconditional.
17254 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17255 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17256 * sysdeps/unix/sysv/linux/clock_settime.c
17257 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17258 conditional code.
17259 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17260 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17261
d22e28b0
L
172622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17263
17264 [BZ #14476]
17265 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17266 scripts/test-installation.pl.
17267
17268 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17269 and $ld_so_version if it is set.
17270
050af9c4
SP
172712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17272
17273 [BZ #14516]
17274 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17275 failure if reading from procfs failed.
17276 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17277
ad845c0b
JM
172782012-08-27 Joseph Myers <joseph@codesourcery.com>
17279
17280 * sysdeps/unix/sysv/linux/kernel-features.h
17281 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17282 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17283 Remove conditional code.
17284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17285 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17286 Remove conditional code.
17287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17288 * sysdeps/unix/sysv/linux/i386/fxstat.c
17289 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17291 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17292 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17294 * sysdeps/unix/sysv/linux/i386/lxstat.c
17295 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17297 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17298 Remove conditional code.
17299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17300 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17301 Remove conditional code.
17302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17303 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17304 <kernel-features.h>.
17305 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17306 Remove.
17307 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17308 Remove conditional code.
17309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17310 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17311 Remove conditional.
17312
5dbf56af
MF
173132012-08-27 Mike Frysinger <vapier@gentoo.org>
17314
17315 [BZ #5400]
17316 * NEWS: Add fixed bug number.
17317
d6e70f43
JM
173182012-08-27 Joseph Myers <joseph@codesourcery.com>
17319
7efb4737
JM
17320 [BZ #14519]
17321 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17322 underflowing exponent in case of negative sign.
17323 * stdlib/tst-strtod-round-data: Add more tests.
17324 * stdlib/tst-strtod-round.c (tests): Regenerated.
17325
af92131a
JM
17326 [BZ #3479]
17327 * stdlib/strtod_l.c (NDIG): Remove.
17328 (HEXNDIG): Likewise.
17329 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17330 smallest representable value.
17331 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17332 lie within an exact representation of 1/2 ulp of the result.
17333 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17334 unconditionally.
17335 (TENS_P9_IDX): Define unconditionally.
17336 (TENS_P9_SIZE): Likewise.
17337 (TENS_P10_IDX): Likewise.
17338 (TENS_P10_SIZE): Likewise.
17339 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17340 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17341 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17342 entries for 10^2^13 and 10^2^14.
17343 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17344 (TENS_P13_IDX): Define.
17345 (TENS_P13_SIZE): Likewise.
17346 (TENS_P14_IDX): Likewise.
17347 (TENS_P14_SIZE): Likewise.
17348 (_fpioconst_pow10): Change array size to
17349 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17350 unconditional.
17351 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17352 1024]: Add entries for 10^2^13 and 10^2^14.
17353 [LAST_POW10 > _LAST_POW10]: Remove #error.
17354 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17355 (_fpioconst_pow10): Change array size to
17356 FPIOCONST_POW10_ARRAY_SIZE.
17357 * stdlib/gen-fpioconst.c: New file.
17358 * stdlib/gen-tst-strtod-round.c: Likewise.
17359 * stdlib/tst-strtod-round-data: Likewise.
17360 * stdlib/tst-strtod-round.c: Likewise.
17361 * stdlib/Makefile (tests): Add tst-strtod-round.
17362
d6e70f43
JM
17363 [BZ #14459]
17364 * stdlib/strtod_l.c: Include <stdint.h>.
17365 (NDEBUG): Do not define.
17366 (round_and_return): Change EXPONENT parameter to type intmax_t.
17367 Rearrange calculations to avoid internal overflow possibilities.
17368 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17369 Rearrange calculations to avoid internal overflow possibilities.
17370 Assert that number fits inside MPNSIZE limbs.
17371 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17372 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17373 calculations and add assertions to avoid internal overflow
17374 possibilities. Add casts to avoid signed/unsigned operations.
17375 * stdlib/tst-strtod-overflow.c: New file.
17376 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17377
1f529f7d
MP
173782012-08-25 Marek Polacek <polacek@redhat.com>
17379
17380 * time/time.h: Fix some typos in comments.
17381
59a629f1
RM
173822012-08-23 Roland McGrath <roland@hack.frob.com>
17383
17384 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17385 * posix/tst-rfc3484-2.c: Likewise.
17386 * posix/tst-rfc3484-3.c: Likewise.
17387
d3bafbc9
SM
173882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17389
17390 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17391 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17392
4efcc022
JM
173932012-08-23 Joseph Myers <joseph@codesourcery.com>
17394
17395 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17396 #include of fxstatat64.c.
17397
3cc3ef96
RM
173982012-08-22 Roland McGrath <roland@hack.frob.com>
17399
f04e2132
RM
17400 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17401 * shadow/getspent_r.c: Likewise.
17402 * shadow/getspnam.c: Likewise.
17403 * shadow/getspnam_r.c: Likewise.
17404 * gshadow/getsgent.c: Likewise.
17405 * gshadow/getsgent_r.c: Likewise.
17406 * gshadow/getsgnam.c: Likewise.
17407 * gshadow/getsgnam_r.c: Likewise.
17408 * inet/getnetbyad.c: Likewise.
17409 * inet/getnetbyad_r.c: Likewise.
17410 * inet/getnetbynm.c: Likewise.
17411 * inet/getnetbynm_r.c: Likewise.
17412 * inet/getnetent.c: Likewise.
17413 * inet/getnetent_r.c: Likewise.
17414 * inet/getproto.c: Likewise.
17415 * inet/getproto_r.c: Likewise.
17416 * inet/getprtent.c: Likewise.
17417 * inet/getprtent_r.c: Likewise.
17418 * inet/getprtname.c: Likewise.
17419 * inet/getprtname_r.c: Likewise.
17420 * inet/getrpcbyname.c: Likewise.
17421 * inet/getrpcbyname_r.c: Likewise.
17422 * inet/getrpcbynumber.c: Likewise.
17423 * inet/getrpcbynumber_r.c: Likewise.
17424 * inet/getrpcent.c: Likewise.
17425 * inet/getrpcent_r.c: Likewise.
17426 * inet/getaliasent.c: Likewise.
17427 * inet/getaliasent_r.c: Likewise.
17428 * inet/getaliasname.c: Likewise.
17429 * inet/getaliasname_r.c: Likewise.
17430 * nscd/getgrgid_r.c: Likewise.
17431 * nscd/getgrnam_r.c: Likewise.
17432 * nscd/gethstbyad_r.c: Likewise.
17433 * nscd/gethstbynm3_r.c: Likewise.
17434 * nscd/getpwnam_r.c: Likewise.
17435 * nscd/getpwuid_r.c: Likewise.
17436 * nscd/getsrvbynm_r.c: Likewise.
17437 * nscd/getsrvbypt_r.c: Likewise.
17438 * nscd/gai.c: Likewise.
17439
c53d909c
RM
17440 * configure.in (build_nscd): New substituted variable, set
17441 by --disable-build-nscd and defaults to $use_nscd.
17442 * configure: Regenerated.
17443 * config.make.in (build-nscd): New substituted variable.
17444 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17445 Change conditional to require [$(build-nscd) = yes] as well.
17446 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17447
3cc3ef96
RM
17448 [BZ# 13696]
17449 * configure.in (use_nscd): New substituted variable, set by
17450 --disable-nscd. If enabled, define USE_NSCD.
17451 * configure: Regenerated.
17452 * config.h.in: Add USE_NSCD.
17453 * config.make.in (use-nscd): New substituted variable.
17454 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17455 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17456 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17457 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17458 (CFLAGS-getgrnam_r.c): Likewise.
17459 (CFLAGS-initgroups.c): Likewise.
17460 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17461 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17462 Variables removed.
17463 * inet/getnetgrent_r.c
17464 (nscd_setnetgrent): New function, broken out of ...
17465 (setnetgrent): ... here. Call it.
17466 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17467 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17468 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17469 * nscd/Makefile (routines, aux): Move definitions after include of
17470 Makeconfig. Conditionalize on [$(use-nscd) != no].
17471 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17472 Conditionalize on [USE_NSCD].
17473 (is_nscd, nscd_init_cb): Likewise.
17474 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17475 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17476 * nss/nss_db/db-init.c: Likewise.
17477 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17478 [USE_NSCD].
17479 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17480 (make_request): Use it.
17481 (cache_valid_p): New function.
17482 (__check_pf): Use it.
17483 * NEWS: Add item for --disable-nscd.
17484
07e51550
DL
174852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17486
17487 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17488 to support sed >= 4.2.1-20-ga9bf076.
17489 * configure: Regenerated.
17490
35a5b08b
RM
174912012-08-22 Roland McGrath <roland@hack.frob.com>
17492
17493 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17494 Conditionalize whole body on [IREL].
17495
8479f23a
JL
174962012-08-22 Jeff Law <law@redhat.com>
17497
17498 [BZ #14505]
17499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17500 if the family is PF_UNSPEC.
17501
48da0b21
MF
175022012-08-22 Mike Frysinger <vapier@gentoo.org>
17503
17504 * Makerules (lib-version): Rename from V.
17505 (install-lib-nosubdir): Change V to lib-version.
17506
15d0da8c
WS
175072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17508
17509 [BZ #14252]
17510 * powerpc32/power6/wcschr.c: New file.
17511 * powerpc32/power6/wcscpy.c: New file.
17512 * powerpc32/power6/wcsrchr.c: New file.
17513 * powerpc64/power6/wcschr.c: New file.
17514 * powerpc64/power6/wcscpy.c: New file.
17515 * powerpc64/power6/wcsrchr.c: New file.
17516
bcca0895
MK
175172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17518
17519 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17520 (two_way_short_needle): Use it.
5a4aaa33
RM
17521 * string/strstr.c (AVAILABLE1_USES_J): Define.
17522 * string/strcasestr.c: Likewise.
99677e57
MK
17523
17524 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17525 array references.
17526 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17527
400726de
MK
17528 [BZ #11607]
17529 * NEWS: Add an entry.
17530 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17531 define their defaults.
17532 (two_way_short_needle): Detect end-of-string on-the-fly.
17533 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17534 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17535 * string/bug-strcasestr1.c: New test.
17536 * string/Makefile: Run it.
17537
20a71f2c
MK
175382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17539
17540 [BZ #11607]
17541 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17542 the first character.
17543
21ad0558
RM
175442012-08-21 Roland McGrath <roland@hack.frob.com>
17545
17546 * csu/elf-init.c (__libc_csu_irel): Function removed.
17547 * csu/libc-start.c (apply_irel): New function.
17548 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17549
0e1d9911
JM
175502012-08-21 Joseph Myers <joseph@codesourcery.com>
17551
17552 * sysdeps/unix/sysv/linux/kernel-features.h
17553 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17554 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17555 <kernel-features.h>.
17556 [__NR_fadvise64_64]: Make code unconditional.
17557 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17558 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17559 !__NR_fadvise64_64)]: Likewise.
17560 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17561 !__NR_fadvise64_64))]: Likewise.
17562 [__NR_fadvise64]: Make code unconditional.
17563 [!__NR_fadvise64]: Remove conditional code.
17564 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17565 <kernel-features.h>.
17566 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17567 unconditional.
17568 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17569 conditional code.
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17571 not include <kernel-features.h>.
17572 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17573 unconditional.
17574 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17575 conditional code.
17576 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17577 include <kernel-features.h>.
17578 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17579 unconditional.
17580 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17581 conditional code.
17582
14a50c9d
WS
175832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17584
17585 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17586 slight instruction rearrangements per scrollpipe analysis.
17587 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17588
c0f4faf0
RM
175892012-08-20 Roland McGrath <roland@hack.frob.com>
17590
696da859
RM
17591 * manual/syslog.texi (syslog; vsyslog, closelog):
17592 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17593 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17594
c0f4faf0
RM
17595 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17596 DSOCAPS to match condition on defining it.
17597
348363b2
JM
175982012-08-20 Joseph Myers <joseph@codesourcery.com>
17599
a35cbf28
JM
17600 * sysdeps/unix/sysv/linux/kernel-features.h
17601 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17603 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17604 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17606 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17607 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17609 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17610 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17611
445f7ecd
JM
17612 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17613 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17614
348363b2
JM
17615 * sysdeps/unix/sysv/linux/kernel-features.h
17616 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17617 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17618 unconditional.
17619 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17620 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17621 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17622 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17623 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17624 Make code unconditional.
17625 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17626 (__mmap64) [!__NR_mmap2]: Likewise.
17627 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17628 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17629 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17630 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17631 [__NR_mmap2]: Make code unconditional.
17632 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17633 (__mmap64) [!__NR_mmap2]: Likewise.
17634
bc5bc0e5
AK
176352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17636
17637 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17638
88d506de
AJ
176392012-08-18 Andreas Jaeger <aj@suse.de>
17640
17641 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17642
493387d2
MF
176432012-08-18 Mike Frysinger <vapier@gentoo.org>
17644
17645 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17646 * include/unistd.h (__have_sock_cloexec): Likewise.
17647 (__have_pipe2): Likewise.
17648 (__have_dup3): Likewise.
17649
a277af22
MF
176502012-08-18 Mike Frysinger <vapier@gentoo.org>
17651
17652 [BZ #9685]
17653 * include/unistd.h (__have_pipe2): Change define into an extern int.
17654 (__have_dup3): Likewise.
17655 * socket/have_sock_cloexec.c: Include fcntl.h.
17656 (__have_pipe2): New variable.
17657 (__have_dup3): Likewise.
17658
fdab8fd3
MF
176592012-08-17 Mike Frysinger <vapier@gentoo.org>
17660
17661 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17662
31035e80
MP
176632012-08-17 Marek Polacek <polacek@redhat.com>
17664
17665 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17666 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17667
3bd9e993
RM
176682012-08-17 Roland McGrath <roland@hack.frob.com>
17669
c91c505f
RM
17670 * configure.in: Add AC_SUBST for sysheaders.
17671 * configure: Regenerated.
17672 * config.make.in (sysheaders): New substituted variable.
17673
7c6f9d53
RM
17674 * sysdeps/unix/mkfifo.c: Moved ...
17675 * sysdeps/posix/mkfifo.c: ... here.
17676 * sysdeps/unix/mkfifoat.c: Moved ...
17677 * sysdeps/posix/mkfifoat.c: ... here.
17678
17679 * sysdeps/unix/utime.c: Moved ...
17680 * sysdeps/posix/utime.c: ... here.
17681
17682 * sysdeps/unix/time.c: Moved ...
17683 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17684 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17685 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17686
17687 * sysdeps/unix/nice.c: Moved ...
17688 * sysdeps/posix/nice.c: ... here.
17689
17690 * sysdeps/unix/alarm.c: Moved ...
17691 * sysdeps/posix/alarm.c: ... here.
17692
3bd9e993
RM
17693 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17694
d1f09384
JL
176952012-08-17 Jeff Law <law@redhat.com>
17696
17697 * intl/Makefile (codeset_mo): New variable.
17698 ($(codeset_mo)): New target.
17699 (tst-codeset.out): Depend on that. Remove explicit rule.
17700 (tst-gettext3.out, tst-gettext5.out): Likewise.
17701 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17702 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17703 * intl/tst-codeset.sh: Remove.
17704 * intl/tst-gettext3.sh: Likewise.
17705 * intl/tst-gettext5.sh: Likewise.
17706
2ae1ae5c
RM
177072012-08-17 Roland McGrath <roland@hack.frob.com>
17708
c31fdb83
RM
17709 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17710 * sysdeps/unix/syscalls.list: ... here.
17711
a0844057
RM
17712 * sysdeps/posix/getaddrinfo.c
17713 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17714 (gaiconf_init, gaiconf_reload): Use them.
17715 [!_STATBUF_ST_NSEC]
17716 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17717 Define using time_t rather than struct timespec.
17718
750c1f2a
RM
17719 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17720 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17721 Macros removed.
17722 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17723 [!NO_THREADS].
17724 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17725 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17726 Likewise.
17727
2ae1ae5c
RM
17728 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17729 __libc_cleanup_push argument.
17730
e66a42f5
RM
17731 * bits/param.h: New file.
17732 * misc/sys/param.h: New file.
17733 * include/sys/param.h: New file.
17734 * misc/Makefile (headers): Add bits/param.h.
17735 * sysdeps/generic/sys/param.h: File removed.
17736 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17737 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17738 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17739 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17740
b7c08a66
RM
17741 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17742 last change.
17743
b2e1c562
RM
17744 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17745 [_IO_MTSAFE_IO].
17746 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17747 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17748 New macros.
17749
c75ccd4c
RM
17750 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17751 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17752 rather than -D_IO_MTSAFE_IO conditionally.
17753 * stdio-common/Makefile (CPPFLAGS): Likewise.
17754 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17755 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17756 Use $(libio-mtsafe).
17757 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17758 of -D_IO_MTSAFE_IO.
17759 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17760 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17761 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17762 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17763 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17764 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17765 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17766 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17767 (CFLAGS-fread_u_chk.c): Likewise.
17768 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17769 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17770 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17771 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17772 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17773 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17774 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17775 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17776 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17777
17778 * libio/Makefile: Test [$(libc-reentrant) = yes]
17779 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17780
17781 * Makeconfig
17782 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17783 * sysdeps/pthread/configure: File removed.
17784 * sysdeps/pthread/Makeconfig: New file.
17785 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17786 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17787
d9195db8
GB
177882012-08-16 Gary Benson <gbenson@redhat.com>
17789
17790 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17791 unmapping the first object in a namespace.
17792
86466cd9
RM
177932012-08-16 Roland McGrath <roland@hack.frob.com>
17794
17795 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17796 (__internal_setnetgrent): ... this. Add internal_function to
17797 definition. Add libc_hidden_def.
17798 (setnetgrent): Update caller.
17799 (internal_endnetgrent): Renamed to ...
17800 (__internal_endnetgrent): ... this. Add internal_function to
17801 definition. Add libc_hidden_def.
17802 (endnetgrent): Update caller.
17803 (internal_getnetgrent_r): Renamed to ...
17804 (__internal_getnetgrent_r): ... this. Add internal_function to
17805 definition. Add libc_hidden_def.
17806 (__getnetgrent_r): Update caller.
17807 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17808
c3c8283c
JM
178092012-08-16 Joseph Myers <joseph@codesourcery.com>
17810
17811 * stdlib/longlong.h: Update from GCC.
17812
db1ee0a8
RM
178132012-08-16 Roland McGrath <roland@hack.frob.com>
17814
17815 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17816 on _QL, which is set by umul_ppmm but never used.
17817 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17818 variables, which are set by GMP macros but never used.
17819 * stdio-common/_itowa.c (_itowa): Likewise.
17820 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17821 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17822
30f69637
CD
178232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17824
17825 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17826 struct La_sh_regs is not constant.
17827 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17828 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17829 and struct La_sparc64_regs are not constant.
17830
93a78ac4
JM
178312012-08-16 Joseph Myers <joseph@codesourcery.com>
17832
17833 * sysdeps/unix/sysv/linux/kernel-features.h
17834 (__ASSUME_POSIX_TIMERS): Remove.
17835 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17836 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17837 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17838 Make code unconditional.
17839 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17840 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17841 Make code unconditional.
17842 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17843 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17844 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17845 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17846 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17847 Make code unconditional.
17848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17849 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17850 (__libc_missing_posix_timers): Remove.
17851
dd924cd7
RM
178522012-08-15 Roland McGrath <roland@hack.frob.com>
17853
4b4f2771
RM
17854 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17855 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17856
601c888b
RM
17857 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17858
176790a7
RM
17859 * elf/dl-sym.c: Include <stdlib.h>.
17860
329bc018
RM
17861 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17862 constants, which avoids warnings in 32-bit builds.
17863
e04e272d
RM
17864 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17865 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17866
952bf94a
RM
17867 * misc/lseek.c: File moved to ...
17868 * io/lseek.c: ... here.
17869
7c99b50a
RM
17870 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17871
dd924cd7
RM
17872 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17873 shifting LEN more than 31 bits at once.
17874
b3f479a8
LD
178752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17876
17877 [BZ #14195]
8c4ae0d4
RM
17878 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17879 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17880 * string/test-strncasecmp.c (check1): Renamed to...
17881 (bz12205): ...this.
17882 (bz14195): Add new testcase for two empty input strings and N > 0.
17883 (test_main): Call new testcase, adapt for renamed function.
17884
9c55864e
AJ
178852012-08-15 Andreas Jaeger <aj@suse.de>
17886
17887 [BZ #14090]
17888 * crypt/md5test2.c: New test, based on test supplied by Serge
17889 Belyshev <belyshev@depni.sinp.msu.ru>.
17890 * crypt/Makefile (xtests): Add md5test-giant..
17891 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17892
02dcb6c5
PE
178932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17894
17895 [BZ #14090]
17896 * crypt/md5.c (md5_process_block): Don't assume the buffer
17897 length is less than 2**32.
17898 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17899 length is less than 2**64.
17900
a3f95dcc
RM
179012012-08-15 Roland McGrath <roland@hack.frob.com>
17902
be75d758
RM
17903 * string/str-two-way.h: Include <sys/param.h>.
17904 (MAX): Macro removed.
17905
7312ca90
RM
17906 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17907 Move #define and #undef of memmove to just before and after
17908 including <string.h>.
17909
9a0a5486
RM
17910 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17911 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17912 and after including <string.h>. Move declarations of
17913 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17914 to before #include "string/memmove.c".
17915
67cc348d
RM
17916 * include/dirent.h: Declare __getdirentries.
17917
a3f95dcc
RM
17918 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17919 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17920
ca98e171
MF
179212012-08-14 Mike Frysinger <vapier@gentoo.org>
17922
17923 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17924 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17925 * sysdeps/i386/configure: Regenerated.
17926 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17927 STABS_CURRENT_FILE, and STABS_FUN.
17928 (END): Remove call to STABS_FUN_END.
17929 (STABS_CURRENT_FILE1): Delete.
17930 (STABS_CURRENT_FILE): Likewise.
17931 (STABS_FUN): Likewise.
17932 (STABS_FUN_END): Likewise.
17933 (STABS_FUN2): Likewise.
17934 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17935 * sysdeps/x86_64/configure: Regenerated.
17936
5908bf46
RM
179372012-08-14 Roland McGrath <roland@hack.frob.com>
17938
17939 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17940 * elf/dl-lookup.c: Likewise.
5908bf46 17941
f2c05b9e
JM
179422012-08-14 Joseph Myers <joseph@codesourcery.com>
17943
17944 * sysdeps/unix/sysv/linux/kernel-features.h
17945 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17946 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17947 unconditionally.
17948 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17949 unconditionally.
17950 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17951 condition on __ASSUME_CLONE_THREAD_FLAGS.
17952
e11f5155
AJ
179532012-08-14 Andreas Jaeger <aj@suse.de>
17954
17955 * sysdeps/i386/fpu/libm-test-ulps: Update.
17956
51a9ba86
MK
179572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17958
2fdd4f78
AJ
17959 * include/atomic.h (atomic_exchange_and_add): Split into ...
17960 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17961 New atomic macros.
51a9ba86 17962
ba6cba9e
MT
179632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17964
17965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17966
42443a47
JL
179672012-08-13 Jeff Law <law@redhat.com>
17968
17969 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17970 null byte in the output string.
17971
121dce05
JM
179722012-08-10 Joseph Myers <joseph@codesourcery.com>
17973
17974 * sysdeps/unix/sysv/linux/kernel-features.h
17975 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17976 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17977 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17978 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17979 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17980 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17981 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17982
bf51f568
JL
179832012-08-09 Jeff Law <law@redhat.com>
17984
17985 [BZ #13939]
17986 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17987 When avoid_arena is set, don't retry in the that arena. Pick the
17988 next one, whatever it might be.
17989 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17990 (arena_lock): Pass in new parameter to arena_get2.
17991 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17992 arena_get2.
17993 (__libc_malloc): Unify retrying after main arena failure with
17994 __libc_memalign version.
17995 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17996
f85fa270
L
179972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17998
17999 [BZ #14166]
18000 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18001 to __redirect_strstr.
18002 (__strstr_sse42): Use typeof __redirect_strstr.
18003 (__strstr_ia32): Likewise.
18004 (__libc_strstr): New prototype.
18005 (strstr): Renamed to ...
18006 (__libc_strstr): This.
18007 (strstr): New strong alias of __libc_strstr.
18008 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18009 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18010 __redirect_time.
18011 Include <time.h>.
18012 (__libc_time): New prototype.
18013 (time_ifunc): Replace time with __libc_time.
18014 (time): New strong alias and hidden definition of __libc_time.
18015 (__GI_time): Remove strong alias.
18016 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18017 Include <stddef.h>.
18018 (memmove): Redefined to __redirect_memmove.
18019 (__memmove_sse2): Use typeof __redirect_memmove.
18020 (__memmove_ssse3): Likewise.
18021 (__memmove_ssse3_back): Likewise.
18022 (__libc_memmove): New prototype.
18023 (memmove): Renamed to ...
18024 (__libc_memmove): This.
18025 (memmove): New strong alias of __libc_memmove.
18026
33b4a91e
MS
180272012-08-08 Mark Salter <msalter@redhat.com>
18028
18029 * elf/elf.h
18030 (R_MN10300_TLS_GD): Define.
18031 (R_MN10300_TLS_LD): Likewise.
18032 (R_MN10300_TLS_LDO): Likewise.
18033 (R_MN10300_TLS_GOTIE): Likewise.
18034 (R_MN10300_TLS_IE): Likewise.
18035 (R_MN10300_TLS_LE): Likewise.
18036 (R_MN10300_TLS_DTPMOD): Likewise.
18037 (R_MN10300_TLS_DTPOFF): Likewise.
18038 (R_MN10300_TLS_TPOFF): Likewise.
18039 (R_MN10300_SYM_DIFF): Likewise.
18040 (R_MN10300_ALIGN): Likewise.
18041 (R_MN10300_NUM): Update.
18042
b36137f1
JM
180432012-08-08 Joseph Myers <joseph@codesourcery.com>
18044
18045 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18046 Remove.
18047
cdd915fd
RM
180482012-08-08 Roland McGrath <roland@hack.frob.com>
18049
a2433aac
RM
18050 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18051
cdd915fd
RM
18052 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18053 sysdeps/unix -> sysdeps/posix move.
18054 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18055
bf9b740a
AM
180562012-08-07 Allan McRae <allan@archlinux.org>
18057
18058 [BZ #14303]
18059 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18060 (SUNOS_CPP): Likewise.
18061 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18062 not found.
18063 (open_input): Call CPP using execvp.
18064
93df14ee
JM
180652012-08-07 Joseph Myers <joseph@codesourcery.com>
18066
18067 * sysdeps/unix/sysv/linux/kernel-features.h
18068 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18069 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18070 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18071 (__ASSUME_WAITID_SYSCALL): Likewise.
18072 * sysdeps/unix/sysv/linux/dl-execstack.c
18073 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18074 code unconditional.
18075 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18076 conditional code.
18077 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18078 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18079 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18080 code.
18081 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18082 unconditional.
18083 [__ASSUME_WAITID_SYSCALL]: Likewise.
18084 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18085
d34689de
RM
180862012-08-07 Roland McGrath <roland@hack.frob.com>
18087
a281decc
RM
18088 * sysdeps/unix/closedir.c: Renamed to ...
18089 * sysdeps/posix/closedir.c: ... here.
18090 * sysdeps/unix/dirfd.c: Renamed to ...
18091 * sysdeps/posix/dirfd.c: ... here.
18092 * sysdeps/unix/dirstream.h: Renamed to ...
18093 * sysdeps/posix/dirstream.h: ... here.
18094 * sysdeps/unix/fdopendir.c: Renamed to ...
18095 * sysdeps/posix/fdopendir.c: ... here.
18096 * sysdeps/unix/opendir.c: Renamed to ...
18097 * sysdeps/posix/opendir.c: ... here.
18098 * sysdeps/unix/readdir.c: Renamed to ...
18099 * sysdeps/posix/readdir.c: ... here.
18100 * sysdeps/unix/readdir_r.c: Renamed to ...
18101 * sysdeps/posix/readdir_r.c: ... here.
18102 * sysdeps/unix/rewinddir.c: Renamed to ...
18103 * sysdeps/posix/rewinddir.c: ... here.
18104 * sysdeps/unix/seekdir.c: Renamed to ...
18105 * sysdeps/posix/seekdir.c: ... here.
18106 * sysdeps/unix/telldir.c: Renamed to ...
18107 * sysdeps/posix/telldir.c: ... here.
18108 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18109 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18110 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18111 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18112
22895b47
RM
18113 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18114 * bits/fcntl.h: ... here.
18115
707a53b6
RM
18116 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18117 not 0.
18118 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18119 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18120 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18121 (struct flock): Move l_start, l_len to the beginning.
18122 Use __pid_t for l_pid.
18123 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18124 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18125 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18126 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18127 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18128 [__USE_LARGEFILE64] (struct flock64): New type.
18129 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18130
f0bd3e25
RM
18131 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18132 * bits/dirent.h: ... here.
18133
d34689de
RM
18134 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18135 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18136
6dad2c06
JM
181372012-08-07 Joseph Myers <joseph@codesourcery.com>
18138
18139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18140 Change from 2.6.0 to 2.6.16.
18141 * sysdeps/unix/sysv/linux/configure: Regenerated.
18142 * sysdeps/unix/sysv/linux/kernel-features.h
18143 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18144 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18145 version.
18146 (__ASSUME_UTIMES): Likewise.
18147 (__ASSUME_CLONE_STOPPED): Remove.
18148 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18149 architectures, not kernel version.
18150 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18151 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18152 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18153 (__ASSUME_WAITID_SYSCALL): Likewise.
18154 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18155 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18156 * README: State 2.6.16 as minimum Linux kernel version. Do not
18157 refer to older versions.
18158
03af9520
RM
181592012-08-06 Roland McGrath <roland@hack.frob.com>
18160
8e49df1d
RM
18161 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18162 Define alphasort64 as an alias.
18163 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18164 Define versionsort64 as an alias.
18165 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18166 Define scandir64 as an alias.
18167 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18168 Define scandirat64 as an alias.
18169 * dirent/alphasort64.c (alphasort64):
18170 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18171 * dirent/versionsort64.c: Likewise.
18172 * dirent/scandir64.c: Likewise.
18173 * dirent/scandirat64.c: Likewise.
18174 * sysdeps/wordsize-64/alphasort.c: File removed.
18175 * sysdeps/wordsize-64/alphasort64.c: File removed.
18176 * sysdeps/wordsize-64/scandir.c: File removed.
18177 * sysdeps/wordsize-64/scandir64.c: File removed.
18178 * sysdeps/wordsize-64/scandirat.c: File removed.
18179 * sysdeps/wordsize-64/scandirat64.c: File removed.
18180 * sysdeps/wordsize-64/versionsort.c: File removed.
18181 * sysdeps/wordsize-64/versionsort64.c: File removed.
18182 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18183 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18184 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18186 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18188 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18190
18191 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18193 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18195 [defined __arch64__ || defined __sparcv9]
18196 (__INO_T_MATCHES_INO64_T): New macro.
18197 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18198 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18199 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18200 * sysdeps/unix/sysv/linux/bits/dirent.h
18201 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18202 (_DIRENT_MATCHES_DIRENT64): New macro.
18203
03af9520
RM
18204 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18205 Define lockf64 as an alias.
18206 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18207 Define fseeko64 as an alias.
18208 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18209 Define ftello64 as an alias.
18210 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18211 Define _IO_fgetpos64 and fgetpos64 as aliases.
18212 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18213 Define _IO_fsetpos64 and fsetpos64 as aliases.
18214 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18215 Conditionalize body on this.
18216 * libio/fseeko64.c: Likewise.
18217 * libio/ftello64.c: Likewise.
18218 * libio/iofgetpos64.c: Likewise.
18219 * libio/iofsetpos64.c: Likewise.
18220 * sysdeps/wordsize-64/lockf.c: File removed.
18221 * sysdeps/wordsize-64/lockf64.c: File removed.
18222 * sysdeps/wordsize-64/fseeko.c: File removed.
18223 * sysdeps/wordsize-64/fseeko64.c: File removed.
18224 * sysdeps/wordsize-64/ftello.c: File removed.
18225 * sysdeps/wordsize-64/ftello64.c: File removed.
18226 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18227 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18228 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18229 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18230 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18236 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18238 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18240
18241 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18243 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18245 [defined __arch64__ || defined __sparcv9]
18246 (__OFF_T_MATCHES_OFF64_T): New macro.
18247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18248 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18250 (__OFF_T_MATCHES_OFF64_T): New macro.
18251
c5757acd
L
182522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18253
18254 * stdlib/secure-getenv.c (__secure_getenv): Replace
18255 GLIBC_2_16 with GLIBC_2_17.
18256
3a31811e
L
182572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18258
18259 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18260 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18261
faa2bccb
DM
182622012-08-03 David S. Miller <davem@davemloft.net>
18263
18264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18265
85fe1997
JM
182662012-08-03 Joseph Myers <joseph@codesourcery.com>
18267
18268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18269 Remove.
18270 (__ASSUME_CORRECT_SI_PID): Likewise.
18271 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18272 (__ASSUME_TMPFS_NAME): Likewise.
18273 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18274 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18275 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18276 (HAVE_AUX_SECURE): Make definition unconditional.
18277 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18278 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18279
4f75b7a0
RM
182802012-08-03 Roland McGrath <roland@hack.frob.com>
18281
18282 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18283 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18284 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18285 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18286 __eloop_threshold instead of SYMLOOP_MAX.
18287
18288 * sysdeps/generic/eloop-threshold.h: New file.
18289 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18290 of MAXSYMLINKS.
18291 * elf/chroot_canon.c (chroot_canon): Likewise.
18292
7aab07e4
JM
182932012-08-03 Joseph Myers <joseph@codesourcery.com>
18294
18295 [BZ #13717]
18296 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18297 Change to 2.6.0 everywhere.
18298 * sysdeps/unix/sysv/linux/configure: Regenerated.
18299 * sysdeps/unix/sysv/linux/kernel-features.h
18300 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18301 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18302 kernel versions.
18303 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18304 (__ASSUME_FUTEX_REQUEUE): Remove.
18305 (__ASSUME_STATFS64): Define unconditionally.
18306 (__ASSUME_AT_SECURE): Likewise.
18307 (__ASSUME_CORRECT_SI_PID): Likewise.
18308 (__ASSUME_TGKILL): Define without depending on kernel version for
18309 i386.
18310 (__ASSUME_UTIMES): Likewise.
18311 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18312 kernel version.
18313 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18314 (__ASSUME_TMPFS_NAME): Likewise.
18315 * README: Update reference to Linux kernel versions.
18316
b67e9372
MP
183172012-08-02 Marek Polacek <polacek@redhat.com>
18318
1f529f7d 18319 [BZ# 14150]
b67e9372
MP
18320 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18321 libc_cv_asm_type_prefix with %.
18322 * configure: Regenerated.
d2441631
RM
18323 * include/libc-symbols.h: Remove comment about
18324 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18325 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18326 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18327 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18328 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18329 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18330 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18331 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18332 * elf/tst-unique2mod1.c: Likewise.
18333 * elf/tst-unique1mod2.c: Likewise.
18334 * elf/tst-unique1mod1.c: Likewise.
18335 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18336 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18337 Replace ASM_TYPE_DIRECTIVE with .type.
18338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18339 * sysdeps/i386/sysdep.h: Likewise.
18340 * sysdeps/x86_64/sysdep.h: Likewise.
18341 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18343 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18344 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18345 * sysdeps/powerpc/powerpc32/sysdep.h:
18346 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18347 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18348 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18349 * sysdeps/i386/fpu/e_powf.S: Likewise.
18350 * sysdeps/i386/fpu/e_expl.S: Likewise.
18351 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18352 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18353 * sysdeps/i386/fpu/e_pow.S: Likewise.
18354 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18355 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18356 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18357 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18358 * sysdeps/i386/fpu/e_log2.S: Likewise.
18359 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18360 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18361 * sysdeps/i386/fpu/e_powl.S: Likewise.
18362 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18363 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18364 * sysdeps/i386/fpu/e_logl.S: Likewise.
18365 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18366 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18367 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18368 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18369 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18370 * sysdeps/i386/fpu/e_log.S: Likewise.
18371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18372 * sysdeps/i386/fpu/e_logf.S: Likewise.
18373 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18374 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18375 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18376 * sysdeps/i386/fpu/e_log10.S: Likewise.
18377 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18379 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18380 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18381 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18382 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18383 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18384 * sysdeps/i386/i686/strtok.S: Likewise.
18385 * sysdeps/i386/i386-mcount.S: Likewise.
18386 * sysdeps/i386/strtok.S: Likewise.
18387 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18388 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18389 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18390 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18391 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18392 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18393 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18394 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18395 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18396 * sysdeps/x86_64/_mcount.S: Likewise.
18397 * sysdeps/x86_64/strtok.S: Likewise.
18398 * sysdeps/sh/_mcount.S: Likewise.
18399
2747bf9a
RM
184002012-08-01 Roland McGrath <roland@hack.frob.com>
18401
18402 * libio/iofopen.c: Include <fcntl.h>.
18403 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18404 (_IO_fopen64, fopen64): Define as aliases.
18405 * libio/iofopen64.c: Include <fcntl.h>.
18406 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18407 Conditionalize body on this.
18408 * sysdeps/wordsize-64/iofopen.c: File removed.
18409 * sysdeps/wordsize-64/iofopen64.c: File removed.
18410
3fb791b8
MP
184112012-08-01 Marek Polacek <polacek@redhat.com>
18412
18413 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18414 Use dlfcn directly instead of a variable.
18415 (binfmt-subdir): Do not define.
18416 (dlfcn): Likewise.
18417
a9f1039f
JM
184182012-08-01 Joseph Myers <joseph@codesourcery.com>
18419
23bddc06
JM
18420 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18421 Remove all definitions.
18422 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18423 <kernel-features.h>.
18424 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18425 (miss_F_GETOWN_EX): Remove all definitions.
18426 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18427 macro definition.
18428 [!__ASSUME_FCNTL64]: Remove conditional code.
18429 [__ASSUME_FCNTL64]: Make code unconditional.
18430 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18431 <kernel-features.h>.
18432 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18433 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18434 (lockf64) [__NR_fcntl64]: Make code unconditional.
18435 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18436
a9f1039f
JM
18437 * sysdeps/unix/sysv/linux/kernel-features.h
18438 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18439 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18440 Make code unconditional.
18441 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18442 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18444 [__NR_vfork]: Make code unconditional.
18445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18448 [__NR_vfork]: Make code unconditional.
18449 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18450 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18451
09c0ee5f
RM
184522012-08-01 Roland McGrath <roland@hack.frob.com>
18453
48aec5b9
RM
18454 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18455 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18456
cd97c966
RM
18457 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18458 Define mkstemp64 as an alias.
3f55550c
RM
18459 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18460 Define mkstemps64 as an alias.
cd97c966
RM
18461 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18462 Define mkostemp64 as an alias.
b8625cfc
RM
18463 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18464 Define mkostemps64 as an alias.
cd97c966
RM
18465 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18466 Conditionalize body on this.
18467 * misc/mkostemp64.c: Likewise.
b8625cfc 18468 * misc/mkostemps64.c: Likewise.
3f55550c 18469 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18470 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18471 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18472 * sysdeps/wordsize-64/mkostemp.c: File removed.
18473 * sysdeps/wordsize-64/mkstemp.c: File removed.
18474 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18475 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18477 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18478
09c0ee5f
RM
18479 [BZ #14138]
18480 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18481 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18482 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18483 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18484
18485 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18486 compat_symbol macros from <shlib-compat.h> rather than the underlying
18487 default_symbol_version and symbol_version macros, so that DEFAULT
18488 lines in shlib-versions are respected.
18489 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18490
7e66ee51
FW
184912012-08-01 Florian Weimer <fweimer@redhat.com>
18492
18493 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18494 Declare with warn_unused_result.
18495 (setgid, setregid, setegid, setresgid): Likewise.
18496 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18497 Likewise.
18498 * WUR-REPORT: Remove set*id functions.
18499
d2a54255
PT
185002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18501
18502 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18503
7ecdb005
RM
185042012-07-31 Roland McGrath <roland@hack.frob.com>
18505
b4180a5e 18506 [BZ #10191]
789bd351
RM
18507 * include/sys/socket.h (__libc_accept, __libc_accept4):
18508 Add attribute_hidden.
18509 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18510
40ce302d
RM
18511 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18512 use of PTR_MANGLE.
18513 * inet/getnetgrent_r.c (setup): Likewise.
18514
7ecdb005
RM
18515 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18516
e2eabb2c
DM
185172012-07-31 David S. Miller <davem@davemloft.net>
18518
18519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18520
d0419dbf
JM
185212012-07-31 Joseph Myers <joseph@codesourcery.com>
18522
18523 [BZ #13629]
18524 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18525 value between 1.0 and 2.0 and smaller part has absolute value less
18526 than 1.0.
18527 * math/s_clog10.c (__clog10): Likewise.
18528 * math/s_clog10f.c (__clog10f): Likewise.
18529 * math/s_clog10l.c (__clog10l): Likewise.
18530 * math/s_clogf.c (__clogf): Likewise.
18531 * math/s_clogl.c (__clogl): Likewise.
18532 * math/libm-test.inc (clog_test): Add more tests.
18533 (clog10_test): Likewise.
18534 * sysdeps/i386/fpu/libm-test-ulps: Update.
18535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18536
2bc13872
FW
185372012-07-31 Florian Weimer <fweimer@redhat.com>
18538
18539 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18540 Exit with zero in case no suitable GID is found, and write a
18541 message to standard error.
18542
bea9b193
RM
185432012-07-30 Roland McGrath <roland@hack.frob.com>
18544
18545 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18546 rather than to 1.
18547 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18548 (MAXPATHLEN): Removed.
18549 (NOGROUP, NODEV): New macros.
18550 (setbit, clrbit, isset, isclr): New macros.
18551 (howmany, roundup, powerof2): New macros.
18552 (DEV_BSIZE): New macro.
18553
18554 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18555 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18556
18557 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18558 definition on [!__NO_LONG_DOUBLE_MATH].
18559
18560 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18561 PTR_MANGLE and PTR_DEMANGLE.
18562
18563 * socket/accept4.c (accept4): Rename to __libc_accept4.
18564 Define accept4 as a weak alias.
18565
18566 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18567 on [_DIRENT_HAVE_D_TYPE].
18568 * io/ftw.c (ftw_dir): Likewise.
18569
18570 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18571
18572 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18573
18574 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18575 Use the BSD numbers rather than the arbitrary ones we had.
18576 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18577 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18578 (SIGXCPU, SIGXFSZ): New macros.
18579 (_NSIG): Now 32.
18580
18581 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18582 initializer on [_LIBC_REENTRANT].
18583
18584 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18585 definitions inside [_POSIX_MAPPED_FILES].
18586
18587 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18588
18589 * dirent/opendir.c: Include <fcntl.h>.
18590
18591 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18592 (__libc_getspecific): Likewise.
18593 (__libc_key_create): Likewise.
18594
18595 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18596 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18597 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18598 (tmpfile64): Define as alias.
18599 * sysdeps/wordsize-64/tmpfile.c: File removed.
18600 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18601 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18603
18604 * stdio-common/vfscanf.c: Include <stdbool.h>.
18605 * nss/makedb.c: Likewise.
18606 * stdio-common/_i18n_number.h: Likewise.
18607 * argp/argp-help.c: Likewise.
18608 * posix/wordexp.c: Likewise.
18609 * sysdeps/posix/spawni.c: Likewise.
18610 * nss/nss_files/files-initgroups.c: Likewise.
18611 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18612 * nss/nss_files/files-initgroups.c: Likewise.
18613 * nss/nss_db/db-netgrp.c: Likewise.
18614 * nss/nss_db/db-initgroups.c: Likewise.
18615 * io/fchmodat.c: Include <sys/stat.h>.
18616
18617 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18618 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18619
18620 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18621 [HAVE_MMAP].
18622
18623 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18624 Add multiple inclusion protection.
18625
e5abc686
DM
186262012-07-27 David S. Miller <davem@davemloft.net>
18627
18628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18629
815e6fa3
GB
186302012-07-27 Gary Benson <gbenson@redhat.com>
18631
18632 [BZ #14298]
18633 * elf/rtld.c: Include <stap-probe.h>.
18634 (dl_main): Added static probes "init_start" and "init_complete".
18635 * elf/dl-load.c: Include <stap-probe.h>.
18636 (lose): Take new parameter "nsid".
18637 Added static probe "map_failed".
18638 (_dl_map_object_from_fd): Pass namespace id to lose.
18639 Added static probe "map_start".
18640 (open_verify): Pass namespace id to lose.
18641 * elf/dl-open.c: Include <stap-probe.h>.
18642 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18643 and "reloc_complete".
18644 * elf/dl-close.c: Include <stap-probe.h>.
18645 (_dl_close_worker): Added static probes "unmap_start" and
18646 "unmap_complete".
18647 * elf/rtld-debugger-interface.txt: New file documenting the above.
18648
9f98c16c
RM
186492012-07-26 Roland McGrath <roland@hack.frob.com>
18650
18651 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18652 rather than a string variable.
18653 * sunrpc/rpc_main.c (h_output): Likewise.
18654 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18655
f3c22df3
PT
186562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18657
18658 * inet/check_native.c: New file.
18659
3129cfc6
JM
186602012-07-26 Joseph Myers <joseph@codesourcery.com>
18661
da865e95
JM
18662 [BZ #13629]
18663 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18664 if larger part has absolute value 1.0.
18665 * math/s_clog10.c (__clog10): Likewise.
18666 * math/s_clog10f.c (__clog10f): Likewise.
18667 * math/s_clog10l.c (__clog10l): Likewise.
18668 * math/s_clogf.c (__clogf): Likewise.
18669 * math/s_clogl.c (__clogl): Likewise.
18670 * math/libm-test.inc (clog_test): Add more tests.
18671 (clog10_test): Likewise.
18672 * sysdeps/i386/fpu/libm-test-ulps: Update.
18673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18674
3129cfc6
JM
18675 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18676 (pltexit): Likewise.
18677 (La_regs): Likewise.
18678 (La_retval): Likewise.
18679 (int_retval): Likewise.
18680 Update #error for removed macros to refer only to definitions in
18681 tst-audit.h.
18682 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18683 macro.
18684 (pltexit): Likewise.
18685 (La_regs): Likewise.
18686 (La_retval): Likewise.
18687 (int_retval): Likewise.
18688 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18689 macro.
18690 (pltexit): Likewise.
18691 (La_regs): Likewise.
18692 (La_retval): Likewise.
18693 (int_retval): Likewise.
18694 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18695 macro.
18696 (pltexit): Likewise.
18697 (La_regs): Likewise.
18698 (La_retval): Likewise.
18699 (int_retval): Likewise.
18700 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18701 macro.
18702 (pltexit): Likewise.
18703 (La_regs): Likewise.
18704 (La_retval): Likewise.
18705 (int_retval): Likewise.
18706 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18707 macro.
18708 (pltexit): Likewise.
18709 (La_regs): Likewise.
18710 (La_retval): Likewise.
18711 (int_retval): Likewise.
18712 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18713 macro.
18714 (pltexit): Likewise.
18715 (La_regs): Likewise.
18716 (La_retval): Likewise.
18717 (int_retval): Likewise.
18718 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18719 macro definitions in tst-audit.h.
18720 * sysdeps/i386/tst-audit.h: New file.
18721 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18722 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18723 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18724 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18725 * sysdeps/sh/tst-audit.h: Likewise.
18726 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18727 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18728 * sysdeps/x86_64/tst-audit.h: Likewise.
18729
bfc07087
AJ
187302012-07-26 Andreas Jaeger <aj@suse.de>
18731
b1b2aaf8
AJ
18732 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18733 ptrace.
18734
18735 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18736 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18737 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18738 PTRACE_O_MASK.
18739 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18740 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18741 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18742
bfc07087
AJ
18743 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18744 value.
18745
18746 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18747 _sigsys.
18748 (si_call_addr, si_syscall, si_arch): Define new macro.
18749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18750 _sigsys.
18751 (si_call_addr, si_syscall, si_arch): Define new marcro.
18752 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18753 _sigsys.
18754 (si_call_addr, si_syscall, si_arch): Define new macro.
18755 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18756 _sigsys.
18757 (si_call_addr, si_syscall, si_arch): Define new macro.
18758
89b4b02f
JM
187592012-07-25 Joseph Myers <joseph@codesourcery.com>
18760
18761 [BZ #13717]
18762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18763 Change to 2.4.21 where previously 2.4.1.
18764 * sysdeps/unix/sysv/linux/configure: Regenerated.
18765 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18766 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18767 Linux kernel version.
18768 (__ASSUME_STD_AUXV): Remove.
18769 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18770 kernel version.
18771 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18772 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18773 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18774 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18775 (__ASSUME_NETLINK_SUPPORT): Likewise.
18776 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18777 (__no_netlink_support): Remove conditional definition.
18778 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18779 Remove.
18780 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18781 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18782 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18783 (if_nameindex_ioctl): Remove.
18784 (if_nameindex_netlink): Do not handle __no_netlink_support.
18785 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18786 code.
18787 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18788 Remove conditional code.
18789 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18790 code.
18791 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18792 unconditional.
18793 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18794 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18795 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18796 Remove.
18797 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18798 [!__ASSUME_STD_AUXV]: Remove conditional code.
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18800 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18801 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18803 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18804 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18805 code.
18806 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18808 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18809 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18810 conditional code.
18811 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18813 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18814 code.
18815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18816 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18817 conditional code.
18818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18819 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18820 code unconditional.
18821 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18822 conditional code.
18823 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18824 unconditional.
18825 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18826 conditional code.
18827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18828 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18829 unconditional.
18830 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18831 conditional code.
18832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18833 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18834 code unconditional.
18835 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18836 conditional code.
18837 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18838 unconditional.
18839 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18840 conditional code.
18841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18842 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18843 code unconditional.
18844 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18845 conditional code.
18846 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18847 unconditional.
18848 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18849 conditional code.
18850
842a39cd
AS
188512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18852
18853 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18854 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18855 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18856 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18857 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18858 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18859 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18860 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18861 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18862 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18863 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18864 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18865 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18866 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18868 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18869 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18870 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18871 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18873 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18874 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18875 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18876
84b3fd84
FW
188772012-07-25 Florian Weimer <fweimer@redhat.com>
18878
18879 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18880 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18881 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18882 Introduce __libc_secure_getenv.
0c7936d5
FW
18883 * stdlib/Versions (2.17): Add secure_getenv
18884 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18885 * stdlib/secure-getenv.c: Rename __secure_getenv to
18886 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18887 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18888 * stdlib/tst-secure-getenv.c: New.
18889 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18890 * manual/startup.texi (Environment Access): Document
18891 secure_getenv.
84b3fd84
FW
18892 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18893 __libc_secure_getenv.
18894 * inet/ruserpass.c (ruserpass): Likewise.
18895 * malloc/mtrace.c (mtrace): Likewise.
18896 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18897 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18898 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18899 * sysdeps/posix/tempname.c: Likewise. Evaluate
18900 HAVE_SECURE_GETENV.
18901 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18902 __secure_getenv to __libc_secure_getenv.
84b3fd84 18903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18905 Likewise.
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18907 Likewise.
18908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18915
56e49b71
JM
189162012-07-25 Joseph Myers <joseph@codesourcery.com>
18917
18918 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18919 (struct La_i86_retval): Likewise.
18920 (struct La_x86_64_regs): Likewise.
18921 (struct La_x86_64_retval): Likewise.
18922 (struct La_x32_regs): Likewise.
18923 (struct La_x32_retval): Likewise.
18924 (struct La_ppc32_regs): Likewise.
18925 (struct La_ppc32_retval): Likewise.
18926 (struct La_ppc64_regs): Likewise.
18927 (struct La_ppc64_retval): Likewise.
18928 (struct La_sh_regs): Likewise.
18929 (struct La_sh_retval): Likewise.
18930 (struct La_s390_32_regs): Likewise.
18931 (struct La_s390_32_retval): Likewise.
18932 (struct La_s390_64_regs): Likewise.
18933 (struct La_s390_64_retval): Likewise.
18934 (struct La_sparc32_regs): Likewise.
18935 (struct La_sparc32_retval): Likewise.
18936 (struct La_sparc64_regs): Likewise.
18937 (struct La_sparc64_retval): Likewise.
18938 (struct audit_ifaces): Remove architecture-specific pltenter and
18939 pltexit members.
18940 * sysdeps/i386/ldsodefs.h: New file.
18941 * sysdeps/powerpc/ldsodefs.h: Likewise.
18942 * sysdeps/s390/ldsodefs.h: Likewise.
18943 * sysdeps/sh/ldsodefs.h: Likewise.
18944 * sysdeps/sparc/ldsodefs.h: Likewise.
18945 * sysdeps/x86_64/ldsodefs.h: Likewise.
18946
354691b7
MP
189472012-07-25 Marek Polacek <polacek@redhat.com>
18948
18949 [BZ #6808]
18950 * math/libm-test.inc (yn_test): Add another test.
18951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18952 to ERANGE when the result is +-Inf.
18953 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18954 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18955 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18956 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18957
bf9e2071
JM
189582012-07-24 Joseph Myers <joseph@codesourcery.com>
18959
18960 * conform/data/time.h-data (NULL): Use macro-constant. Require
18961 equal to 0.
18962 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18963 clock_t.
18964 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18965
57633811
TS
189662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18967
18968 * configure.in <sysdeps resolving>: Correct printing
18969 Implies_before.
18970 * configure: Regenerate.
18971
c23c33b0
TS
189722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18973
18974 * math/w_ilogb.c: Include <limits.h>.
18975 * math/w_ilogbl.c: Likewise.
18976
b5982523
JM
189772012-07-20 Joseph Myers <joseph@codesourcery.com>
18978
18979 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18980 va_copy. Document allowing for unavailable va_copy only as
18981 pre-C99 compatibility.
18982 * manual/string.texi (Copying and Concatenation): Use va_copy
18983 instead of __va_copy in concat example.
18984
ac4ea442
PT
189852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18986
18987 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18988 (__sendto): Use create_address_port. Initialize APORT and deallocate
18989 it if not null.
18990
f98eafbd
PT
18991 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18992 with O_NOLINK passed to __file_name_lookup.
18993
898c7aab
PT
18994 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18995 with O_NOLINK passed to __file_name_lookup.
18996
0ced335a
PT
18997 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18998 negative N or less than NGIDS.
18999
b3404dbd
PT
19000 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19001 type to string_t. Set ERANGE as errno and return it if NAME is not big
19002 enough. Use memcpy instead of strncpy.
19003
0f48659e
JM
190042012-07-20 Joseph Myers <joseph@codesourcery.com>
19005
19006 * elf/Makefile (check-data): Remove.
19007 (localplt.data): New vpath directive.
19008 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19009 instead of $(check-data).
19010 * scripts/data/localplt-generic.data: Move to ...
19011 * sysdeps/generic/localplt.data: ... here.
19012 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19013 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19014 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19016 ... here.
19017 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19019 ... here.
19020 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19022 ... here.
19023 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19025 ... here.
19026 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19028 ... here.
19029 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19031 ... here.
19032
d37cbdaa
AZ
190332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19034
19035 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19036 PPC32 and PPC64 files.
19037 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19038 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19039
46f85fc2
AK
190402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19041
19042 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19043 __makecontext_ret to ...
19044 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19045 ... here and call exit if uc_link is NULL. New file.
19046 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19047 __makecontext_ret.S.
19048 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19049 __makecontext_ret to ...
19050 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19051 ... here and call exit if uc_link is NULL. New file.
19052 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19053 __makecontext_ret.S.
19054
08f43f9b
AK
190552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19056
19057 * elf/elf.h (R_390_IRELATIVE): New definition.
19058 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19059 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19060 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19061 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19062 (elf_machine_lazy_rel): Likewise.
19063 * sysdeps/s390/dl-irel.h: New file.
19064 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19065 * sysdeps/s390/s390-64/memset.S: New asm code.
19066 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19067 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19068 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19069 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19070 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19071 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19072 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19073 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19074 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19075 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19076 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19077 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19078 * sysdeps/s390/s390-32/memset.S: New asm code.
19079 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19080
3b05db33
MP
190812012-07-17 Marek Polacek <polacek@redhat.com>
19082
19083 [BZ #14349]
19084 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19085 * sysdeps/s390/s390-64/configure.in: Likewise.
19086 * sysdeps/sparc/configure.in: Likewise.
19087 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19088 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19089 * sysdeps/i386/configure.in: Likewise.
19090 * sysdeps/x86_64/configure.in: Likewise.
19091 * sysdeps/sh/configure.in: Likewise.
19092 * sysdeps/s390/s390-32/configure: Regenerated.
19093 * sysdeps/s390/s390-64/configure: Likewise.
19094 * sysdeps/x86_64/configure: Likewise.
19095 * sysdeps/sh/configure: Likewise.
19096 * sysdeps/powerpc/powerpc64/configure: Likewise.
19097 * sysdeps/powerpc/powerpc32/configure: Likewise.
19098 * sysdeps/sparc/configure: Likwise.
19099 * sysdeps/i386/configure: Likewise.
19100
a66877c6
MP
19101 * elf/dl-open.c: Comment fixes.
19102
cfc82fd8
JM
191032012-07-17 Joseph Myers <joseph@codesourcery.com>
19104
bd29910a
JM
19105 * Makefile [CXX] (check-data): Remove.
19106 [CXX] (c++-types.data): New vpath directive.
19107 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19108 vpath. Do not allow for C++ type data being missing.
19109 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19110 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19111 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19112 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19113 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19114 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19115 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19117 ... here.
19118 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19120 ... here.
19121 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19123 ... here.
19124 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19126 ... here.
19127 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19129 ... here.
19130 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19132 ... here.
19133 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19135 ... here.
19136 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19138
cfc82fd8
JM
19139 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19140 definitions to architecture-specific files.
19141 (TLS_IE): Likewise.
19142 (TLS_LD): Likewise.
19143 (TLS_GD): Likewise.
19144 * sysdeps/i386/tls-macros.h: New file.
19145 * sysdeps/powerpc/tls-macros.h: Likewise.
19146 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19147 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19148 * sysdeps/sh/tls-macros.h: Likewise.
19149 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19150 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19151 * sysdeps/x86_64/tls-macros.h: Likewise.
19152
f7db3170
TS
191532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19154
07cbfc23
TS
19155 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19156 zero value for regular exit case.
19157
f7db3170
TS
19158 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19159 (__start_context): Preserve zero value for regular exit case.
19160
dc97c227
TS
191612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19162 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19163
19164 * manual/setjmp.texi (setcontext): Clarify normal process
19165 termination when uc_link is the null pointer.
19166 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19167 exit call.
19168
d0cd7d02
AS
191692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19170
19171 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19172 preprocessor. Test for each exception mask separately.
19173
dd318934
AJ
191742012-07-16 Andreas Jaeger <aj@suse.de>
19175
19176 * po/ru.po: Update from translation team.
19177
8048311a
JM
191782012-07-15 Joseph Myers <joseph@codesourcery.com>
19179
19180 * conform/data/string.h-data (NULL): Use macro-constant. Require
19181 equal to 0.
19182 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19183 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19184 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19185 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19187
b637d46e
AJ
191882012-07-13 Andreas Jaeger <aj@suse.de>
19189
19190 * po/fr.po: Update from translation team.
19191
541428fe
MP
191922012-07-12 Marek Polacek <polacek@redhat.com>
19193
19194 [BZ #14173]
19195 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19196 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19197 loop condition.
19198
ec332e94
JM
191992012-07-12 Joseph Myers <joseph@codesourcery.com>
19200
19201 [BZ #13717]
19202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19203 Change to 2.4.1 where previously 2.4.0.
19204 * sysdeps/unix/sysv/linux/configure: Regenerated.
19205 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19206 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19207 version.
19208 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19209 (__ASSUME_AT_CLKTCK): Remove.
19210 (__ASSUME_AT_PAGESIZE): Likewise.
19211 (__ASSUME_AT_XID): Likewise.
19212 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19213 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19214 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19215 unconditionally.
19216 (HAVE_AUX_PAGESIZE): Likewise.
19217 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19218 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19219 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19220
7b6e99be
JB
192212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19222
19223 [BZ #14307]
19224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19225 the temporary buffer used to invoke __gethostbyname2_r,
19226 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19227 host_data / struct gaih_addrtuple.
19228 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19229 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19230 header file nss/nsswitch.h.
19231 * nss/nsswitch.h (global scope): Add definition of implementation
19232 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19233 resolv/nss_dns/dns-host.c).
19234
608404eb
AJ
192352012-07-11 Andreas Jaeger <aj@suse.de>
19236
19237 * po/fr.po: Update from translation team.
19238
71220aca
AJ
19239 * po/sv.po: Update from translation team
19240 * po/fr.po: Another update from translation team.
19241
28cfe843
AZ
192422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19243
19244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19245 for subnormals or multiply small sinh result by itself.
19246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19248
6b90f981
DM
192492012-07-11 David S. Miller <davem@davemloft.net>
19250
19251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19252
c6825772
AS
192532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19254
19255 [BZ #14347]
19256 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19257 (INTERNAL_MARK): Shift it here.
19258
7b8e0d49
MP
192592012-07-10 Marek Polacek <polacek@redhat.com>
19260
19261 [BZ #14151]
19262 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19263 libc_cv_asm_global_directive with .globl.
19264 * configure: Regenerated.
19265 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19266 with .globl.
19267 * sysdeps/i386/configure: Regenerated.
19268 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19269 with .globl.
19270 * sysdeps/x86_64/configure: Regenerated.
19271 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19272 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19273 * elf/tst-unique2mod2.c: Likewise.
19274 * elf/tst-unique2mod1.c: Likewise.
19275 * elf/tst-unique1mod2.c: Likewise.
19276 * elf/tst-unique1mod1.c: Likewise.
19277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19278 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19280 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19281 * sysdeps/mach/sysdep.h: Likewise.
19282 * sysdeps/i386/sysdep.h: Likewise.
19283 * sysdeps/i386/i386-mcount.S: Likewise.
19284 * sysdeps/x86_64/_mcount.S: Likewise.
19285 * sysdeps/x86_64/sysdep.h: Likewise.
19286 * sysdeps/sh/_mcount.S: Likewise.
19287 * sysdeps/sh/sysdep.h: Likewise.
19288 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19289 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19290 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19291 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19292 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19293 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19294 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19295 * locale/localeinfo.h: Likewise.
19296 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19297 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19298
6c55cda3
RM
192992012-07-09 Roland McGrath <roland@hack.frob.com>
19300
19301 [BZ #14336]
19302 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19303 system".
19304 * manual/message.texi (The Uniforum approach): Likewise.
19305 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19306 (glibc iconv Implementation): Likewise.
19307
638a572e
JM
193082012-07-09 Joseph Myers <joseph@codesourcery.com>
19309
19310 [BZ #14337]
19311 * math/s_clog.c (__clog): Avoid scaling a value down where that
19312 could result in underflow.
19313 * math/s_clog10.c (__clog10): Likewise.
19314 * math/s_clog10f.c (__clog10f): Likewise.
19315 * math/s_clog10l.c (__clog10l): Likewise.
19316 * math/s_clogf.c (__clogf): Likewise.
19317 * math/s_clogl.c (__clogl): Likewise.
19318 * math/libm-test.inc (clog_test): Add more tests.
19319 (clog10_test): Likewise.
19320 * sysdeps/i386/fpu/libm-test-ulps: Update.
19321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19322
261f4859
AS
193232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19324
0abaf3e4
AS
19325 [BZ #14283]
19326 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19327 by 7 not 8 to examine high bit of fractional part.
19328
261f4859
AS
19329 [BZ #14042]
19330 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19331 for call to __mcount_internal.
19332 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19333 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19334 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19335
f17ac40d
JM
193362012-07-06 Joseph Myers <joseph@codesourcery.com>
19337
9ad63c23
JM
19338 [BZ #14154]
19339 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19340 approximation for values within 0x1p-13f of an odd multiple of
19341 pi/4.
19342 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19343 exception. Add more tests.
19344 * sysdeps/i386/fpu/libm-test-ulps: Update.
19345
f17ac40d
JM
19346 [BZ #6778]
19347 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19348 inputs and return -1 for them. Do not check for +Inf in case not
19349 reachable for +Inf.
19350 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19351 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19353 and return -1 for them. Do not check for +Inf in case not
19354 reachable for +Inf.
19355 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19356 define.
19357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19358 and return -1 for them. Do not check for +Inf in case not
19359 reachable for +Inf.
19360 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19361 spurious underflow.
19362 * sysdeps/i386/fpu/libm-test-ulps: Update.
19363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19364
fb21f89b
MF
193652012-07-06 Mike Frysinger <vapier@gentoo.org>
19366
19367 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19368
cdfe2c5e
JM
193692012-07-05 Joseph Myers <joseph@codesourcery.com>
19370
19371 [BZ #14157]
19372 [BZ #14331]
19373 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19374 could result in spurious underflow. Scale down values above
19375 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19376 * math/s_csqrtf.c (__csqrtf): Likewise.
19377 * math/s_csqrtl.c (__csqrtl): Likewise.
19378 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19379 spurious underflow.
19380 * sysdeps/i386/fpu/libm-test-ulps: Update.
19381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19382
70d35b67
AS
193832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19384
704bc459
AS
19385 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19386 xopen-msg.sed.
19387 * catgets/xopen-msg.awk: New file.
19388 * catgets/xopen-msg.sed: Removed.
19389
70d35b67
AS
19390 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19391 po2text.sed.
19392 * intl/po2test.awk: New file.
19393 * intl/po2test.sed: Removed.
19394
ca61cf32
JM
193952012-07-04 Joseph Myers <joseph@codesourcery.com>
19396
19397 [BZ #14328]
19398 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19399 or multiply small sinh result by itself.
19400 * math/s_ctanf.c (__ctanf): Likewise.
19401 * math/s_ctanh.c (__ctanh): Likewise.
19402 * math/s_ctanhf.c (__ctanhf): Likewise.
19403 * math/s_ctanhl.c (__ctanhl): Likewise.
19404 * math/s_ctanl.c (__ctanl): Likewise.
19405 * math/libm-test.inc (ctan_test_tonearest): New function.
19406 (ctan_test_towardzero): Likewise.
19407 (ctan_test_downward): Likewise.
19408 (ctan_test_upward): Likewise.
19409 (ctanh_test_tonearest): Likewise.
19410 (ctanh_test_towardzero): Likewise.
19411 (ctanh_test_downward): Likewise.
19412 (ctanh_test_upward): Likewise.
19413 (main): Call these new functions.
19414 * sysdeps/i386/fpu/libm-test-ulps: Update.
19415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19416
ca48a46a
MF
194172012-07-03 Mike Frysinger <vapier@gentoo.org>
19418
19419 * .gitignore: Delete /ports entry.
19420
9d63d37d
AJ
194212012-07-03 Andreas Jaeger <aj@suse.de>
19422
19423 * po/bg.po: Update from translation team.
19424 * po/cs.po: Likewise.
19425 * po/de.po: Likewise.
19426 * po/hr.po: Likewise.
19427 * po/nl.pl: Likewise.
19428 * po/pl.po: Likewise.
19429 * po/vi.po: Likewise.
19430
370ca3d2
JM
194312012-07-03 Joseph Myers <joseph@codesourcery.com>
19432
95f5a9a8
JM
19433 * Makeconfig [!+link] (+link-before-libc): New variable.
19434 [!+link] (+link-after-libc): Likewise.
19435 [!+link] (+link-tests): Likewise.
19436 [!+link] (+link): Define in terms of $(+link-before-libc) and
19437 $(+link-after-libc).
19438 [!+link-static] (+link-static-before-libc): New variable.
19439 [!+link-static] (+link-static-after-libc): Likewise.
19440 [!+link-static] (+link-static-tests): Likewise.
19441 [!+link-static] (+link-static): Define in terms of
19442 $(+link-static-before-libc) and $(+link-static-after-libc).
19443 [build-shared] (link-libc-before-gnulib): New variable.
19444 [build-shared] (link-libc-tests): Likewise.
19445 [build-shared] (link-libc): Define in terms of
19446 $(link-libc-before-gnulib).
19447 [!build-shared] (link-libc-tests): New variable.
19448 (link-libc-static-tests): New variable.
19449 [!gnulib] (gnulib-arch): New variable.
19450 [!gnulib] (gnulib-tests): Likewise.
19451 [!gnulib] (static-gnulib-arch): Likewise.
19452 [!gnulib] (static-gnulib-tests): Likewise.
19453 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19454 Define with "=" instead of ":=".
19455 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19456 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19457 * Rules (binaries-all-notests): New variable.
19458 (binaries-all-tests): Likewise.
19459 (binaries-static-notests): Likewise.
19460 (binaries-static-tests): Likewise.
19461 (binaries-all): Define using $(binaries-all-notests) and
19462 $(binaries-all-tests).
19463 (binaries-static): Define using $(binaries-static-notests) and
19464 $(binaries-static-tests).
19465 (binaries-shared-tests): New variable.
19466 (binaries-shared-notests): Likewise.
19467 (binaries-shared): Remove variable.
19468 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19469 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19470 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19471 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19472 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19473 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19474 * elf/Makefile (sln-modules): New variable.
19475 (extra-objs): Add $(sln-modules:=.o).
19476 (ldconfig-modules): Add static-stubs.
19477 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19478 * elf/static-stubs.c: New file.
19479
7a845b2c
JM
19480 [BZ #14283]
19481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19482 by 7 not 8 to examine high bit of fractional part. Use volatile
19483 variables when splitting into final array of floats if
19484 __FLT_EVAL_METHOD__ != 0.
19485 * math/libm-test.inc (cos_test): Add another test.
19486 (sin_test): Likewise.
19487 * sysdeps/i386/fpu/libm-test-ulps: Update.
19488
e2283f38
JM
19489 [BZ #14273]
19490 * math/libm-test.inc (cosh_test): Add more tests.
19491
370ca3d2
JM
19492 * version.h (RELEASE): Set to "development".
19493 (VERSION): Set to "2.16.90".
19494
ee9247c3
CD
194952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19496
19497 * NEWS: Update copyright. Remove last-updated date.
19498 Mention math library bug fixes and timezone data changes.
19499 * README: Mention GNU/Hurd, x32, and HPPA support status.
19500
4648c381
TS
195012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19502
19503 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19504
aac78a43
AJ
195052012-06-27 Andreas Jaeger <aj@suse.de>
19506
19507 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19508
ed3dbfad
AJ
195092012-06-25 Andreas Jaeger <aj@suse.de>
19510
19511 * sysdeps/s390/fpu/libm-test-ulps: Update.
19512
4d0ee855
AS
195132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19514 Thomas Schwinge <thomas@codesourcery.com>
19515
19516 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19517 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19519 fanotify_mark.
19520
af1bce34
TS
195212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19522
a9fa33ba
TS
19523 * sysdeps/mach/start.c: Remove file.
19524 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19525 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19526 * sysdeps/sh/init-first.c: Likewise.
19527
58f902b8
TS
19528 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19529 registers for frame unwinding purposes, add CFI directives.
19530 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19532 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19533 Likewise.
19534
1518f58b
TS
19535 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19536 __fortify_fail returning.
19537 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19538
db9b5059
TS
19539 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19540 sysdeps/sh/____longjmp_chk.S.
19541 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19542 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19543 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19544 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19545
967705fe
TS
19546 * sysdeps/sh/abort-instr.h: New file.
19547 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19548 process in case exit returns.
19549
a9def8c4
TS
19550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19551 initialize the GOT register before use.
19552
2a649725
TS
19553 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19554 calculation of ARGC > 4.
19555
af1bce34
TS
19556 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19557 meaningful names to some local labels.
19558
d230f50a
KK
195592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19560 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19561
19562 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19563 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19564 (__arch_compare_and_exchange_val_16_acq): Likewise.
19565 (__arch_compare_and_exchange_val_32_acq): Likewise.
19566 (atomic_exchange_and_add): Fix gUSA sequence.
19567 (atomic_add): Likewise.
19568 (atomic_add_negative): Likewise.
19569 (atomic_add_zero): Likewise.
19570 (atomic_bit_test_set): Likewise.
19571
0479b305
AS
195722012-06-22 Andreas Schwab <schwab@redhat.com>
19573
19574 [BZ #13579]
19575 * include/link.h (struct link_map): Add l_free_initfini.
19576 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19577 l_initfini.
19578 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19579 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19580 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19581 set.
19582
0e3933b9
CD
195832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19584
19585 * configure.in: Use AC_LANG_SOURCE.
19586 * configure: Regenerate.
19587
4248b1b1
RM
195882012-06-22 Roland McGrath <roland@hack.frob.com>
19589
19590 * configure.in (libc_cv_localstatedir): New substituted variable.
19591 * configure: Regenerated.
19592 * config.make.in (localstatedir): New variable, substituted from
19593 libc_cv_localstatedir.
19594 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19595 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19596 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19597 * sysdeps/gnu/configure: Regenerated.
19598
006dd861
JL
195992012-06-21 Jeff Law <law@redhat.com>
19600
19601 [BZ #14277]
19602 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19603 free. Simplify list management for _LIBC case.
19604
79662d42
JM
196052012-06-21 Joseph Myers <joseph@codesourcery.com>
19606
b7abb4bf
JM
19607 [BZ #14273]
19608 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19609 Clear sign bit of 64-bit integer value before comparing against
19610 overflow value.
19611
79662d42
JM
19612 * sysdeps/mach/configure: Regenerated.
19613
1f150908
L
196142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19615
19616 [BZ #14278]
19617 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19618
28363bbf
JL
196192012-06-21 Jeff Law <law@redhat.com>
19620
19621 [BZ #13882]
19622 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19623 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19624 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19625 * elf/dl-open.c (dl_open_worker): Likewise.
19626
09615db4
CD
196272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19628
19629 * scripts/list-sources.sh: Scan PORTS for translations.
19630 * po/libc.pot: Regenerated.
19631
2174c6dd
AJ
196322012-06-21 Andreas Jaeger <aj@suse.de>
19633
19634 [BZ #12194]
19635 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19636 warning.
19637 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19638 * bits/byteswap-16.h (__bswap_16): Likewise.
19639 * bits/byteswap.h (__bswap_constant_16): Likewise.
19640
3ee947b1
L
196412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19642
19643 [BZ #14117]
a2f34833
L
19644 * sysdeps/i386/fpu_control.h: Removed.
19645 * sysdeps/x86_64/fpu_control.h: Moved to ...
19646 * sysdeps/x86/fpu_control.h: Here.
19647
3ee947b1
L
19648 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19649 (_FPU_SETCW): Likewise.
19650
ed1825f8
L
196512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19652
25f1282a
L
19653 [BZ #14117]
19654 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19655 * sysdeps/x86/fpu/bits/mathinline.h: This.
19656 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19657
ed1825f8
L
19658 [BZ #14050]
19659 [BZ #14117]
19660 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19661 functions if __x86_64__ is defined.
19662
36d54b74
CLT
196632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19664
19665 * string/endian.h: Add !__ASSEMBLER__ condition for including
19666 conversion interfaces.
19667
10285c21
JM
196682012-06-15 Joseph Myers <joseph@codesourcery.com>
19669
19670 [BZ #14241]
19671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19672 of ABS(x) in calculating zero to negative powers other than odd
19673 integers.
19674 * math/libm-test.inc (pow_test): Add more tests.
19675
06c5abbd
AJ
196762012-06-15 Andreas Jaeger <aj@suse.de>
19677
19678 * manual/contrib.texi (Contributors): Update entry of Liubov
19679 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19680 Machado Filho.
19681
a3aeac40
CH
196822012-06-15 Cyril Hrubis <metan@ucw.cz>
19683
19684 * string/string.h: Add __wur to GNU version of strerror_r.
19685
49bdf4c1
L
196862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19687
19688 [BZ #14229]
19689 * string/Makefile (tests): Add tst-strtok_r.
19690 * string/tst-strtok_r.c: New file.
19691 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19692 RAX_LP/RDX_LP on SAVE_PTR.
19693
834f9b8d
RM
196942012-06-14 Roland McGrath <roland@hack.frob.com>
19695
19696 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19697
75fa1921
JM
196982012-06-14 Joseph Myers <joseph@codesourcery.com>
19699
19700 * libm_test.inc (csqrt_test): Allow more spurious underflow
19701 exceptions.
19702 (j0_test): Likewise.
19703 (j1_test): Likewise.
19704 (y0_test): Likewise.
19705 (y1_test): Likewise.
19706
771766df
CD
197072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19708
19709 * po/Makefile (libc.pot): Use UTF-8 charset.
19710
ceb9e56b
PP
197112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19712
19713 [BZ #14210]
19714 Suppress sign-conversion warning from FD_SET.
19715 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19716 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19717 not unsigned long int.
19718 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19719
ddb28975
L
197202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19721
19722 [BZ #14050]
19723 [BZ #14117]
19724 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19725 __extern_always_inline instead of __extern_inline.
19726 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19727 (__signbit): Likewise.
19728 (__signbitl): Support C++ namespace.
19729 (lrintf): New inline function.
19730 (lrint): Likewise.
19731 (llrintf): Likewise.
19732 (llrint): Likewise.
19733 (fmaxf): Likewise.
19734 (fmax): Likewise.
19735 (fminf): Likewise.
19736 (fmin): Likewise.
19737 (rint): Likewise.
19738 (rintf): Likewise.
19739 (ceil): Likewise.
19740 (ceilf): Likewise.
19741 (floor): Likewise.
19742 (floorf): Likewise.
19743 (nearbyint): Likewise.
19744 (nearbyintf): Likewise.
19745
d7b4fb26
TS
197462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19747
19748 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19749 non-default versions.
19750
eb55f5c2
RM
197512012-06-11 Roland McGrath <roland@hack.frob.com>
19752
19753 [BZ #14218]
19754 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19755
366af02c
TS
197562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19757
99ff6e5c
TS
19758 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19759 (FE_UPWARD, FE_DOWNWARD): Don't define.
19760 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19761 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19762
366af02c
TS
19763 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19764 reading it.
19765 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19766 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19767
793ea851
KK
197682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19769
19770 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19772 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19773 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19774
a728a38f
L
197752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19776
19777 [BZ #14117]
c08010c7
L
19778 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19779 * sysdeps/i386/fpu/Implies: New file.
19780 * sysdeps/x86_64/fpu/Implies: Likewise.
19781 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19782 * sysdeps/x86/fpu/bits/fenv.h: This.
19783
a728a38f
L
19784 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19785 __SSE_MATH__.
19786
6e230d11
SP
197872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19788
19789 [BZ #14134]
19790 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19791 character 0xffff that matches the last element of the
19792 conversion table.
19793
1b671feb
AZ
197942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19795
19796 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19797 fmodl commit.
19798
6043738b
AZ
197992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19800
19801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19802 values higher than 25.6283.
19803
34ae0b32
AZ
198042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19805
19806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19807 subnormal exponent extraction and add some __builtin_expect.
19808 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19809 Fix for subnormal mantissa calculation.
19810
1214ec8f
MF
198112012-06-04 Mike Frysinger <vapier@gentoo.org>
19812
19813 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19814 cpu2 is -1 and errno is not ENOSYS.
19815
f3d1f93c
L
198162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19817
19818 [BZ #14117]
0e4a3cd7
L
19819 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19820 * sysdeps/x86/bits/string.h: This.
19821 * sysdeps/x86_64/bits/string.h: Removed.
19822
6704c645
L
19823 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19824 if not compiling for x86-64, but compiling for >= i486.
19825
48495318
L
19826 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19827 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19828
14adcbfc
L
19829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19830 New macro from Linux kernel 3.4.0.
19831 (FP_XSTATE_MAGIC2): Likewise.
19832 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19833 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19834 (struct _fpx_sw_bytes): New struct.
19835 (struct _xsave_hdr): Likewise.
19836 (struct _ymmh_state): Likewise.
19837 (struct _xstate): Likewise.
19838
68e408ab
L
19839 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19840 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19842 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19844 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19845
f3d1f93c
L
19846 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19847 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19848 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19849 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19850 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19851 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19852
d9dc34cd
TMQMF
198532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19854
19855 [BZ #13743]
19856 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19857 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19858 (sysdep_headers): Include sys/platform/ppc.h.
19859 * sysdeps/powerpc/test-gettimebase.c: Test for
19860 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19861 * manual/Makefile (appendices): Include platform.texi.
19862 * manual/contrib.texi (Contributors): Update @node pointers.
19863 * manual/maint.texi (Maintenance): Likewise.
19864 (Platform): New node.
19865 * manual/platform.texi: New file. Document the new features.
19866
4af3879c
SP
198672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19868 Jakub Jelinek <jakub@redhat.com>
19869
19870 [BZ #14188]
19871 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19872 where __builtin_expect is unavailable.
19873
2fd6ff13
DM
198742012-06-03 David S. Miller <davem@davemloft.net>
19875
19876 * stdlib/longlong.h: Updated from GCC.
19877
173f7220
AS
198782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19879
19880 [BZ #14042]
19881 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19882 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19883 __mcount_internal.
19884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19885 (GLIBC_2.16): Likewise.
19886
f34a1c6f
L
198872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19888
19889 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19890
88a4576f
JM
198912012-06-01 Joseph Myers <joseph@codesourcery.com>
19892
ea32bcdd
JM
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19894 (default-abi): New variable.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19896 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19897 variable.
19898 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19899 Likewise.
19900 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19901 Likewise.
19902 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19903 Likewise.
19904
88a4576f
JM
19905 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19906 definition. Document in comment.
19907
402fe938
DM
199082012-06-01 David S. Miller <davem@davemloft.net>
19909
19910 * stdlib/longlong.h: Updated from GCC.
19911
3553723f
L
199122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19913
19914 [BZ #14117]
3bd872c4
L
19915 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19916 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19917 sys/debugreg.h sys/io.h here.
19918 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19919 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19920 sys/io.h.
19921 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19922 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19923 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19924 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19925 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19926 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19927
3553723f
L
19928 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19929 Define only if __x86_64__ is defined.
19930
4842e4fe
JM
199312012-06-01 Joseph Myers <joseph@codesourcery.com>
19932
c5bfe3d5
JM
19933 [BZ #14048]
19934 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19935 Use int64_t for variable i.
19936 * math/libm-test.inc (fmod_test): Add more tests.
19937
4842e4fe
JM
19938 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19939 z computation is not scheduled after fetestexcept.
19940 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19941 Use math_force_eval instead of asm to ensure calculation scheduled
19942 before exception test.
19943 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19944 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19945
efb73488
AJ
199462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19947
19948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19949 computation is not scheduled after fetestexcept.
19950
29bcce7c
L
199512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19952
19953 [BZ #14117]
19954 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19955 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19956
73a68f94
AZ
199572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19958
19959 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19960 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19961
67b6df78
L
199622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19963
edf2933a 19964 [BZ #14117]
ebc64a18
L
19965 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19966 <bits/wordsize.h>.
19967 (__WCHAR_MIN): Support __WORDSIZE == 64.
19968 (__WCHAR_MAX): Likewise.
19969
edf2933a
L
19970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19972
57c6cf40
L
19973 [BZ #14183]
19974 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19975 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19976
67b6df78 19977 [BZ #14117]
8eb6281e
L
19978 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19979 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19980
aac639f4
L
19981 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19982 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19983
67b6df78
L
19984 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19985 Defined to 1 if __x86_64__ isn't defined.
19986 (_STAT_VER_LINUX_OLD): New.
19987 (st_atime): Remove duplicate.
19988 (st_mtime): Likewise.
19989 (st_ctime): Likewise.
19990
1c2cfe81
DM
199912012-05-31 David S. Miller <davem@davemloft.net>
19992
19993 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19994 entries.
19995
5be8418c
AS
199962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19997
e7725326
AS
19998 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19999 gen-libm-test.pl.
20000
5be8418c
AS
20001 [BZ #14132]
20002 * elf/dl-reloc.c: Include <_itoa.h>.
20003 (_dl_reloc_bad_type): Remove use of INTUSE.
20004 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20005 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20006 * stdio-common/psiginfo.c (psiginfo): Likewise.
20007 * stdio-common/psignal.c (psignal): Likewise.
20008 * string/strsignal.c (strsignal): Likewise.
20009 * include/signal.h (_sys_siglist): Declare hidden proto.
20010 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20011 INTVARDEF with libc_hidden_data_def.
20012 * stdio-common/itoa-udigits.c: Likewise.
20013 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20014 (_itoa_lower_digits_internal): Remove declaration.
20015 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20016 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20017 (_sys_sigabbrev_internal): Remove aliases.
20018 (_sys_siglist): Define hidden alias.
20019
507352f1
MT
200202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20021
20022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20023 bits/sysctl.h.
20024
42bbb1c3
L
200252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20026
20027 [BZ #14117]
6bd784b6
L
20028 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20029 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20030
8bca20f0
L
20031 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20032 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20033 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20034 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20036 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20037
f9e890a9
L
20038 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20039 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20040 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20041
471101a1
L
20042 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20043 with __addr.
20044 (insw): Likewise.
20045 (insl): Likewise.
20046 (outsb): Likewise.
20047 (outsw): Likewise.
20048 (outsl): Likewise.
20049
6451c862
L
20050 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20051 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20052 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20053
a254b8c9
L
20054 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20055 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20057 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20058 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20059 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20060
b8dfdd92
L
20061 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20062 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20063
578cd270
L
20064 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20065 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20066
de662f5f
L
20067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20068 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20069 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20070
25653439
L
20071 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20072 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20073 to ...
20074 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20075
6bad24a0
L
20076 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20077 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20078 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20079
42bbb1c3
L
20080 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20081 for x86-64.
20082 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20083
2d10d547
JM
200842012-05-31 Joseph Myers <joseph@codesourcery.com>
20085
20086 * math/math.h (M_El): Use two more decimal places.
20087 (M_LOG2El): Likewise.
20088 (M_LOG10El): Likewise.
20089 (M_LN2l): Likewise.
20090 (M_LN10l): Likewise.
20091 (M_PIl): Likewise.
20092 (M_PI_2l): Likewise.
20093 (M_PI_4l): Likewise.
20094 (M_1_PIl): Likewise.
20095 (M_2_PIl): Likewise.
20096 (M_2_SQRTPIl): Likewise.
20097 (M_SQRT2l): Likewise.
20098 (M_SQRT1_2l): Likewise.
20099
f230c29b
DM
201002012-05-31 David S. Miller <davem@davemloft.net>
20101
20102 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20103 values between float registers.
20104 * sysdeps/sparc/sparc64/memset.S: Likewise.
20105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20106
fed806c3
MF
201072012-05-31 Mike Frysinger <vapier@gentoo.org>
20108
20109 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20110 -D_FORTIFY_SOURCE=1.
20111 (CPPFLAGS-tst-longjmp_chk.c): Define.
20112 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20113 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20114 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20115 CFLAGS-tst-wchar-h.c.
20116
30917259
MP
201172012-05-31 Marek Polacek <polacek@redhat.com>
20118
20119 [BZ #14132]
20120 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20121 __endmntent_internal): Remove declaration.
20122 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20123 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20124 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20125
1c58d5dc
DM
201262012-05-30 David S. Miller <davem@davemloft.net>
20127
20128 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20129 (___Q_simulate_exceptions): Use real FP ops rather than writing
20130 into the %fsr.
20131 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20132 Likewise.
20133
7dc00e0d
L
201342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20135
20136 [BZ #14117]
0bd53985
L
20137 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20138 * sysdeps/x86/bits/xtitypes.h: This.
20139
3a257e66
L
20140 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20141 * sysdeps/x86/bits/wordsize.h: This.
20142
62f62904
L
20143 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20144 * sysdeps/x86/bits/huge_vall.h: This.
20145
404fe9d9
L
20146 * sysdeps/i386/bits/select.h: Removed.
20147 * sysdeps/x86_64/bits/select.h: Renamed to ...
20148 * sysdeps/x86/bits/select.h: This.
20149
d48d0446
L
20150 * sysdeps/i386/bits/setjmp.h: Removed.
20151 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20152 * sysdeps/x86/bits/setjmp.h: This.
20153
7dc00e0d
L
20154 * sysdeps/i386/bits/mathdef.h: Removed.
20155 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20156 * sysdeps/x86/bits/mathdef.h: This.
20157
03277f8f
AS
201582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20159
20160 [BZ #14132]
20161 * include/sys/socket.h (__connect_internal)
20162 (__libc_sa_len_internal): Remove declaration.
20163 (__connect, __libc_sa_len): Declare hidden_proto.
20164 (SA_LEN): Remove use of INTUSE.
20165 * socket/connect.c: Add libc_hidden_def.
20166 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20167 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20168 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20169 alias.
20170 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20171 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20172 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20173 of adding _internal alias.
20174
13764867
L
201752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20176
20177 [BZ #14117]
6bd97696
L
20178 * sysdeps/i386/bits/link.h: Removed.
20179 * sysdeps/i386/bits/linkmap.h: Likewise.
20180 * sysdeps/x86_64/bits/link.h: Renamed to ...
20181 * sysdeps/x86/bits/link.h: This.
20182 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20183 * sysdeps/x86/bits/linkmap.h: This.
20184
f726f0bb
L
20185 * sysdeps/i386/bits/endian.h: Removed.
20186 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20187 * sysdeps/x86/bits/endian.h: This.
20188
13764867
L
20189 * sysdeps/i386/bits/byteswap.h: Removed.
20190 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20191 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20192 * sysdeps/x86/bits/byteswap.h: This.
20193 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20194 * sysdeps/x86/bits/byteswap-16.h: This.
20195 * sysdeps/i386/Implies: Add x86.
20196 * sysdeps/x86_64/Implies: Likewise.
20197
ae251b0b
DM
201982012-05-30 David S. Miller <davem@davemloft.net>
20199
20200 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20201 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20202 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20203 (FP_TRAPPING_EXCEPTIONS): Define.
20204 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20205 (FP_TRAPPING_EXCEPTIONS): Define.
20206 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20207 subnormals only when inexact has been signalled or underflow
20208 exceptions are enabled.
20209 (_FP_PACK_CANONICAL): Likewise.
20210
d5c90867
L
202112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20212
20213 [BZ #14183]
20214 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20215 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20216
63f1549e
RH
202172012-05-30 Richard Henderson <rth@twiddle.net>
20218
8d8f2279
RH
20219 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20220 with #ifndef NOT_IN_libc.
20221
63f1549e
RH
20222 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20223 marked to avoid plt entry.
20224
0ab0291b
L
202252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20226
20227 [BZ #14112]
20228 * Makeconfig (default-abi): New macro.
20229 (abi-includes): Likewise.
20230 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20231 $(abi-$(default-abi)-lib-soname) for soname if defined.
20232 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20233 abi-variants.
20234 * Makefile (installed-stubs): Likewise.
20235 * include/stubs-biarch.h: Removed.
20236 * scripts/lib-names.awk: Only handle one library at a time.
20237 * scripts/soversions.awk: Remove WORDSIZE support.
20238 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20239 entries.
20240 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20241 Removed.
20242 (syscall-list-default-condition): Likewise.
20243 (syscall-list-default-condition): Likewise.
20244 (syscall-list-includes): Likewise.
20245 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20246 syscall-list-* with abi-*. Handle undefined abi-variants.
20247 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20248 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20249 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20250 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20251 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20252 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20253 Removed.
20254 (syscall-list-32-options): Likewise.
20255 (syscall-list-32-condition): Likewise.
20256 (syscall-list-64-options): Likewise.
20257 (syscall-list-64-condition): Likewise.
20258 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20259 macro.
20260 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20261 Renamed to ...
20262 (abi-*): This.
20263 (abi-64-ld-soname): New macro.
20264 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20265 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20266 Renamed to ...
20267 (abi-*): This.
20268 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20269 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20270
4da0431d
JM
202712012-05-30 Joseph Myers <joseph@codesourcery.com>
20272
3a85279c
JM
20273 * sysdeps/unix/sysv/linux/kernel-features.h
20274 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20275 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20276 include <kernel-features.h>.
20277 [!__NR_ftruncate64]: Remove conditional code.
20278 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20279 [__NR_ftruncate64]: Make code unconditional.
20280 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20281 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20282 include <kernel-features.h>.
20283 [!__NR_ftruncate64]: Remove conditional code.
20284 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20285 [__NR_ftruncate64]: Make code unconditional.
20286 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20288 include <kernel-features.h>.
20289 [!__NR_ftruncate64]: Remove conditional code.
20290 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20291 [__NR_ftruncate64]: Make code unconditional.
20292 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20294 include <kernel-features.h>.
20295 [!__NR_ftruncate64]: Remove conditional code.
20296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20297 [__NR_ftruncate64]: Make code unconditional.
20298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20299
4da0431d
JM
20300 * configure.in (libc_cv_fpie): Weaken to a compile test using
20301 LIBC_TRY_CC_OPTION.
20302 * configure: Regenerated.
20303
11ef492c
AK
203042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20305
20306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20310 Refreshed.
20311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20317 Refreshed.
20318
d66ef399
DM
203192012-05-27 David S. Miller <davem@davemloft.net>
20320
20321 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20322 (___Q_zero): New.
20323 (__Q_simulate_exceptions): Return void. Change to simulate
20324 exceptions by writing into the %fsr.
20325 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20326 (__Qp_handle_exceptions): Likewise.
20327 (numbers): Delete.
20328 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20329 __Qp_handle_exceptions.
20330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20331 __Qp_handle_exceptions.
20332 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20333 as unused and give dummy FP_RND_NEAREST initializer.
20334 (FP_INHIBIT_RESULTS): Define.
20335 (___Q_simulate_exceptions): Update declaration.
20336 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20337 formatting.
20338 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20339 as unused and give dummy FP_RND_NEAREST initializer.
20340 (__Qp_handle_exceptions): Update declaration.
20341 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20342 formatting.
20343
04fb54b5
TS
203442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20345
20346 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20347 the temporary FPU control word.
20348 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20349 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20350 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20351 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20352 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20353 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20354 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20355 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20356 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20357 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20358 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20359
3f99608f
KK
203602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20361
20362 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20363 fields.
20364
65a4de4e
CLT
203652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20366
20367 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20368 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20369 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20370 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20371 Likewise.
20372 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20373 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20374 Likewise.
20375
15749d40
UD
203762012-05-27 Ulrich Drepper <drepper@gmail.com>
20377
20378 * po/h.po: Update from translation team.
20379
25dbcb27
AS
203802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20381
3d3f8e55
AS
20382 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20383
25dbcb27
AS
20384 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20385 handling of denormals.
20386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20387 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20388 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20389 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20390 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20393 Likewise.
20394
7ad47a80 203952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20396
20397 [BZ #14152]
20398 * math/libm-test.inc (fma_test): Don't always expect underflow
20399 exception.
20400
9c6ea9fa
SP
204012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20402
20403 [BZ #12416]
20404 * elf/tst-execstack.c: Include stackinfo.h.
20405 (do_test): Adjust test case to ensure that pthread_getattr_np
20406 behaviour remains the same after marking stack executable.
20407
a8239222
JM
204082012-05-25 Joseph Myers <joseph@codesourcery.com>
20409
20410 * sysdeps/unix/sysv/linux/kernel-features.h
20411 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20412 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20413 kernel-features.h.
20414 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20415 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20416 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20417 kernel-features.h.
20418 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20419 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20420
918b5606
L
204212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20422
20423 * configure.in: Define the default includes to being none.
20424 * configure: Regenerated.
20425
3a097cc7
RM
204262012-05-25 Roland McGrath <roland@hack.frob.com>
20427
8422c9a5
RM
20428 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20429 * sysdeps/x86_64/setjmp.S: Likewise.
20430 * sysdeps/i386/bsd-setjmp.S: Likewise.
20431 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20432 * sysdeps/i386/setjmp.S: Likewise.
20433 * sysdeps/i386/__longjmp.S: Likewise.
20434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20436
3a097cc7
RM
20437 * include/stap-probe.h: New file.
20438 * configure.in: Handle --enable-systemtap.
20439 * configure: Regenerated.
20440 * config.h.in (USE_STAP_PROBE): New #undef.
20441 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20442 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20443 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20444
21708942
JM
204452012-05-25 Joseph Myers <joseph@codesourcery.com>
20446
20447 [BZ #13717]
20448 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20449 to 2.4.0 where earlier.
20450 * sysdeps/unix/sysv/linux/configure: Regenerated.
20451 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20452 <kernel-features.h>.
20453 [__ASSUME_32BITUIDS]: Make code unconditional.
20454 [!__ASSUME_32BITUIDS]: Remove conditional code.
20455 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20456 <kernel-features.h>.
20457 [__ASSUME_32BITUIDS]: Make code unconditional.
20458 [!__ASSUME_32BITUIDS]: Remove conditional code.
20459 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20460 [__ASSUME_32BITUIDS]: Make code unconditional.
20461 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20462 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/i386/getuid.c: Do not include
20487 <kernel-features.h>.
20488 [__ASSUME_32BITUIDS]: Make code unconditional.
20489 [!__ASSUME_32BITUIDS]: Remove conditional code.
20490 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20491 <kernel-features.h>.
20492 [__ASSUME_32BITUIDS]: Make code unconditional.
20493 [!__ASSUME_32BITUIDS]: Remove conditional code.
20494 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20495 <kernel-features.h>.
20496 [__ASSUME_32BITUIDS]: Make code unconditional.
20497 [!__ASSUME_32BITUIDS]: Remove conditional code.
20498 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20499 <kernel-features.h>.
20500 [__ASSUME_32BITUIDS]: Make code unconditional.
20501 [!__ASSUME_32BITUIDS]: Remove conditional code.
20502 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20503 <kernel-features.h>.
20504 [__NR_setresgid] (__setresgid): Do not declare.
20505 [__ASSUME_32BITUIDS]: Make code unconditional.
20506 [!__ASSUME_32BITUIDS]: Remove conditional code.
20507 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20508 <kernel-features.h>.
20509 [__NR_setresuid] (__setresuid): Do not declare.
20510 [__ASSUME_32BITUIDS]: Make code unconditional.
20511 [!__ASSUME_32BITUIDS]: Remove conditional code.
20512 * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
20517 <kernel-features.h>.
20518 [__ASSUME_32BITUIDS]: Make code unconditional.
20519 [!__ASSUME_32BITUIDS]: Remove conditional code.
20520 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20521 <kernel-features.h>.
20522 [__ASSUME_32BITUIDS]: Make code unconditional.
20523 [!__ASSUME_32BITUIDS]: Remove conditional code.
20524 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20525 <kernel-features.h>.
20526 [__ASSUME_32BITUIDS]: Make code unconditional.
20527 [!__ASSUME_32BITUIDS]: Remove conditional code.
20528 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20529 <kernel-features.h>.
20530 [__ASSUME_32BITUIDS]: Make code unconditional.
20531 [!__ASSUME_32BITUIDS]: Remove conditional code.
20532 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20533 <kernel-features.h>.
20534 [__ASSUME_32BITUIDS]: Make code unconditional.
20535 [!__ASSUME_32BITUIDS]: Remove conditional code.
20536 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20537 <kernel-features.h>.
20538 [__ASSUME_32BITUIDS]: Make code unconditional.
20539 [!__ASSUME_32BITUIDS]: Remove conditional code.
20540 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20541 <kernel-features.h>.
20542 [__ASSUME_32BITUIDS]: Make code unconditional.
20543 [!__ASSUME_32BITUIDS]: Remove conditional code.
20544 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20545 <kernel-features.h>.
20546 [__ASSUME_32BITUIDS]: Make code unconditional.
20547 [!__ASSUME_32BITUIDS]: Remove conditional code.
20548 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20549 <kernel-features.h>.
20550 [__ASSUME_32BITUIDS]: Make code unconditional.
20551 [!__ASSUME_32BITUIDS]: Remove conditional code.
20552 * sysdeps/unix/sysv/linux/kernel-features.h
20553 (__ASSUME_SETRESUID_SYSCALL): Remove.
20554 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20555 (__ASSUME_32BITUIDS): Likewise.
20556 (__ASSUME_LDT_WORKS): Likewise.
20557 (__ASSUME_O_DIRECTORY): Likewise.
20558 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20559 architecture but not kernel version.
20560 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20561 (__ASSUME_MMAP2_SYSCALL): Likewise.
20562 (__ASSUME_STAT64_SYSCALL): Likewise.
20563 (__ASSUME_IPC64): Likewise.
20564 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20565 <kernel-features.h>.
20566 [__ASSUME_32BITUIDS]: Make code unconditional.
20567 [!__ASSUME_32BITUIDS]: Remove conditional code.
20568 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20569 <kernel-features.h>.
20570 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20571 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20572 132096]: Remove conditional code.
20573 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20574 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20575 <kernel-features.h>.
20576 [__ASSUME_32BITUIDS]: Make code unconditional.
20577 [!__ASSUME_32BITUIDS]: Remove conditional code.
20578 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20579 <kernel-features.h>.
20580 [__ASSUME_32BITUIDS]: Make code unconditional.
20581 [!__ASSUME_32BITUIDS]: Remove conditional code.
20582 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20583 <kernel-features.h>.
20584 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20585 unconditional.
20586 (__setresgid): Do not declare.
20587 [__ASSUME_32BITUIDS]: Make code unconditional.
20588 [!__ASSUME_32BITUIDS]: Remove conditional code.
20589 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20590 <kernel-features.h>.
20591 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20592 unconditional.
20593 (__setresuid): Do not declare.
20594 [__ASSUME_32BITUIDS]: Make code unconditional.
20595 [!__ASSUME_32BITUIDS]: Remove conditional code.
20596 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20597 <kernel-features.h>.
20598 [__ASSUME_32BITUIDS]: Make code unconditional.
20599 [!__ASSUME_32BITUIDS]: Remove conditional code.
20600 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20601 <kernel-features.h>.
20602 [__ASSUME_32BITUIDS]: Make code unconditional.
20603 [!__ASSUME_32BITUIDS]: Remove conditional code.
20604
a386f1cc
RH
206052012-05-25 Richard Henderson <rth@twiddle.net>
20606
20607 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20608 dl_hwcap to ifunc resolver.
20609 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20610 elf_ifunc_invoke.
20611 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20612 dl_hwcap to ifunc resolver.
20613 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20614
b6550497
JM
206152012-05-24 Joseph Myers <joseph@codesourcery.com>
20616
20617 [BZ #14153]
20618 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20619 for |x| <= 2**-26, not 2**-57.
20620 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20621 exception.
20622
b0bc23a1
JL
206232012-05-24 Jeff Law <law@redhat.com>
20624
20625 * stdio-common/Makefile (tests): Add bug25.
20626 * stdio-common/bug25.c: New test.
20627
347c92e9
L
206282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20629
20630 [BZ #13576]
20631 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20632 multiple of MALLOC_ALIGNMENT in size.
20633 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20634
6bcc8b3f
JM
206352012-05-24 Joseph Myers <joseph@codesourcery.com>
20636
20637 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20638 Require >= 256.
20639 (FILENAME_MAX): Use macro-int-constant.
20640 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20641 (_IOFBF): Use macro-int-constant.
20642 (_IOLBF): Likewise.
20643 (_IONBF): Likewise.
20644 (SEEK_CUR): Likewise.
20645 (SEEK_END): Likewise.
20646 (SEEK_SET): Likewise.
20647 (TMP_MAX): Likewise.
20648 (EOF): Use macro-int-constant. Require < 0.
20649 (NULL): Use macro-constant. Require == 0.
20650 (stdin): Require type to be FILE *.
20651 (stdout): Likewise.
20652 (stderr): Likewise.
20653 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20654 macro-int-constant.
20655 (EXIT_SUCCESS): Likewise.
20656 (NULL): Use macro-constant. Require == 0.
20657 (RAND_MAX): Use macro-int-constant.
20658 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20659 [C99-based standards] (strtof): Require function.
20660 [C99-based standards] (strtold): Likewise.
20661 [C99-based standards] (strtoll): Likewise.
20662 [C99-based standards] (strtoull): Likewise.
20663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20664 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20665 [ISO || ISO99 || ISO11] (math.h): Likewise.
20666 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20667 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20669
d18ea0c5
AS
206702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20671
20672 [BZ #14132]
56d25bb8
AS
20673 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20674 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20675 * intl/dgettext.c (DCGETTEXT): Likewise.
20676 * intl/gettext.c (DCGETTEXT): Likewise.
20677 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20678 * posix/regex_internal.h (gettext): Likewise.
20679 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20680 Remove declaration.
20681 * include/argz.h (__argz_count_internal)
20682 (__argz_stringify_internal): Remove declaration.
20683 (__argz_count, __argz_stringify): Declare hidden proto.
20684 * intl/dcgettext.c: Remove use of INTDEF.
20685 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20686 * string/argz-stringify.c: Likewise.
20687 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20688 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20689 Declare hidden proto.
d18ea0c5
AS
20690 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20691 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20692 Declare hidden proto.
20693 * include/stdio.h (__asprintf_internal): Don't declare.
20694 (__asprintf): Don't define as macro. Declare hidden proto.
20695 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20696 (__fsetlocking): Declare hidden proto.
20697 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20698 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20699 hidden proto.
20700 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20701 (_IO_setlinebuf): Remove use of INTUSE.
20702 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20703 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20704 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20705 Remove declaration.
20706 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20707 (_IO_do_flush): Remove use of INTUSE.
20708 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20709 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20710 (_IO_adjust_column, _IO_least_wmarker)
20711 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20712 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20713 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20714 (_IO_default_doallocate, _IO_wdefault_doallocate)
20715 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20716 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20717 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20718 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20719 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20720 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20721 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20722 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20723 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20724 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20725 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20726 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20727 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20728 proto.
20729 (_IO_flush_all_internal, _IO_adjust_column_internal)
20730 (_IO_default_uflow_internal, _IO_default_finish_internal)
20731 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20732 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20733 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20734 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20735 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20736 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20737 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20738 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20739 (_IO_file_close_internal, _IO_file_close_it_internal)
20740 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20741 (_IO_file_init_internal, _IO_file_attach_internal)
20742 (_IO_file_fopen_internal, _IO_file_read_internal)
20743 (_IO_file_sync_internal, _IO_file_seek_internal)
20744 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20745 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20746 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20747 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20748 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20749 (_IO_list_all_internal, _IO_link_in_internal)
20750 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20751 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20752 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20753 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20754 (_IO_do_write_internal, _IO_padn_internal)
20755 (_IO_getline_info_internal, _IO_getline_internal)
20756 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20757 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20758 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20759 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20760 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20761 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20762 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20763 with libc_hidden_ver, remove use of INTUSE.
20764 * libio/genops.c: Likewise.
20765 * libio/freopen.c: Likewise.
20766 * libio/freopen64.c: Likewise.
20767 * libio/iofclose.c: Likewise.
20768 * libio/iofdopen.c: Likewise.
20769 * libio/iofflush.c: Likewise.
20770 * libio/iofflush_u.c: Likewise.
20771 * libio/iofgets.c: Likewise.
20772 * libio/iofgets_u.c: Likewise.
20773 * libio/iofopen.c: Likewise.
20774 * libio/iofopncook.c: Likewise.
20775 * libio/iofread.c: Likewise.
20776 * libio/iofread_u.c: Likewise.
20777 * libio/ioftell.c: Likewise.
20778 * libio/iofwrite.c: Likewise.
20779 * libio/iogetline.c: Likewise.
20780 * libio/iogets.c: Likewise.
20781 * libio/iogetwline.c: Likewise.
20782 * libio/iopadn.c: Likewise.
20783 * libio/iopopen.c: Likewise.
20784 * libio/ioseekoff.c: Likewise.
20785 * libio/ioseekpos.c: Likewise.
20786 * libio/iosetbuffer.c: Likewise.
20787 * libio/iosetvbuf.c: Likewise.
20788 * libio/ioungetc.c: Likewise.
20789 * libio/ioungetwc.c: Likewise.
20790 * libio/iovdprintf.c: Likewise.
20791 * libio/iovsprintf.c: Likewise.
20792 * libio/iovsscanf.c: Likewise.
20793 * libio/memstream.c: Likewise.
20794 * libio/obprintf.c: Likewise.
20795 * libio/oldfileops.c: Likewise.
20796 * libio/oldiofclose.c: Likewise.
20797 * libio/oldiofdopen.c: Likewise.
20798 * libio/oldiofopen.c: Likewise.
20799 * libio/oldiopopen.c: Likewise.
20800 * libio/oldstdfiles.c: Likewise.
20801 * libio/putc.c: Likewise.
20802 * libio/setbuf.c: Likewise.
20803 * libio/setlinebuf.c: Likewise.
20804 * libio/stdfiles.c: Likewise.
20805 * libio/strops.c: Likewise.
20806 * libio/vasprintf.c: Likewise.
20807 * libio/vscanf.c: Likewise.
20808 * libio/vsnprintf.c: Likewise.
20809 * libio/vswprintf.c: Likewise.
20810 * libio/wfiledoalloc.c: Likewise.
20811 * libio/wfileops.c: Likewise.
20812 * libio/wgenops.c: Likewise.
20813 * libio/wmemstream.c: Likewise.
20814 * libio/wstrops.c: Likewise.
20815 * libio/__fpurge.c: Likewise.
20816 * libio/__fsetlocking.c: Likewise.
20817 * assert/assert.c: Likewise.
20818 * debug/fgets_chk.c: Likewise.
20819 * debug/fgets_u_chk.c: Likewise.
20820 * debug/fread_chk.c: Likewise.
20821 * debug/fread_u_chk.c: Likewise.
20822 * debug/gets_chk.c: Likewise.
20823 * debug/obprintf_chk.c: Likewise.
20824 * debug/vasprintf_chk.c: Likewise.
20825 * debug/vdprintf_chk.c: Likewise.
20826 * debug/vsnprintf_chk.c: Likewise.
20827 * debug/vsprintf_chk.c: Likewise.
20828 * malloc/mtrace.c: Likewise.
20829 * misc/error.c: Likewise.
20830 * misc/syslog.c: Likewise.
20831 * stdio-common/asprintf.c: Likewise.
20832 * stdio-common/fxprintf.c: Likewise.
20833 * stdio-common/getw.c: Likewise.
20834 * stdio-common/isoc99_fscanf.c: Likewise.
20835 * stdio-common/isoc99_scanf.c: Likewise.
20836 * stdio-common/isoc99_vfscanf.c: Likewise.
20837 * stdio-common/isoc99_vscanf.c: Likewise.
20838 * stdio-common/isoc99_vsscanf.c: Likewise.
20839 * stdio-common/printf-prs.c: Likewise.
20840 * stdio-common/printf_fp.c: Likewise.
20841 * stdio-common/printf_fphex.c: Likewise.
20842 * stdio-common/printf_size.c: Likewise.
20843 * stdio-common/putw.c: Likewise.
20844 * stdio-common/scanf.c: Likewise.
20845 * stdio-common/sprintf.c: Likewise.
20846 * stdio-common/tmpfile.c: Likewise.
20847 * stdio-common/vfprintf.c: Likewise.
20848 * stdio-common/vfscanf.c: Likewise.
20849 * stdlib/strfmon_l.c: Likewise.
20850 * sunrpc/openchild.c: Likewise.
20851 * sunrpc/xdr_stdio.c: Likewise.
20852 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20853 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20854
d6c33fda
RM
208552012-05-24 Roland McGrath <roland@hack.frob.com>
20856
c1487492
RM
20857 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20858
20859 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20860 in the third column, to generate for the shared library an IFUNC
20861 that uses _dl_vdso_vsym.
20862 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20863 * Makeconfig (object-suffixes-noshared): New variable.
20864
20865 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20866 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20867 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20868 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20869
d6c33fda
RM
20870 [BZ #14132]
20871 * include/sys/time.h (__gettimeofday): Remove macro.
20872 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20873 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20874 Remove INTDEF.
20875 (__gettimeofday): Add libc_hidden_def.
20876 (gettimeofday): Add libc_hidden_weak.
20877 * sysdeps/mach/gettimeofday.c: Likewise.
20878 * sysdeps/posix/gettimeofday.c: Likewise.
20879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20880 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20882 (__gettimeofday_internal): Remove strong_alias.
20883 (__gettimeofday): Add libc_hidden_def.
20884 (gettimeofday): Add libc_hidden_weak.
20885 * sysdeps/unix/syscalls.list (gettimeofday):
20886 Remove __gettimeofday_internal alias.
20887
b5a2bbe6
L
208882012-05-24 Daniel Jacobowitz <drow@false.org>
20889 H.J. Lu <hongjiu.lu@intel.com>
20890
20891 [BZ #12495]
20892 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20893 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20894 (largebin_index_32_big): New.
20895 (largebin_index): Use it for 16-byte alignment.
20896 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20897 correction with front_misalign.
20898
cfba4fda
L
208992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20900
7f907421
L
20901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20903 Likewise.
20904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20905 Likewise.
20906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20907 Likewise.
20908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20909 Likewise.
20910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20911 Likewise.
20912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20913 Likewise.
20914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20915 Likewise.
20916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20917 Likewise.
20918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20919 Likewise.
20920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20921 Likewise.
20922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20923 Likewise.
20924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20925 Likewise.
20926
cfba4fda
L
20927 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20928 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20929
80bad0cc
JM
209302012-05-24 Joseph Myers <joseph@codesourcery.com>
20931
7a25eb06
JM
20932 [BZ #10846]
20933 [BZ #14036]
20934 * math/libm-test.inc (exp_test): Add test from bug 14036.
20935 (pow_test): Add test from bug 10846.
20936
795405f9
JM
20937 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20938 and other flags.
20939 (special_function): Do not include flags in test name.
20940 (parse_args): Likewise.
20941 * sysdeps/i386/fpu/libm-test-ulps: Update.
20942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20943 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20944 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20946
80bad0cc
JM
20947 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20948 exceptions.
20949 * math/libm-test.inc ("Philosophy"): Update comment about
20950 exception testing.
20951 (UNDERFLOW_EXCEPTION): New macro.
20952 (UNDERFLOW_EXCEPTION_OK): Likewise.
20953 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20954 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20955 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20956 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20957 (INVALID_EXCEPTION_OK): Update value.
20958 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20959 (OVERFLOW_EXCEPTION_OK): Likewise.
20960 (IGNORE_ZERO_INF_SIGN): Likewise.
20961 (test_exceptions): Handle underflow exceptions.
20962 (acos_test): Update for underflow exception expectations.
20963 (cexp_test): Likewise.
20964 (clog_test): Likewise.
20965 (clog10_test): Likewise.
20966 (csqrt_test): Likewise.
20967 (ctan_test): Likewise.
20968 (ctanh_test): Likewise.
20969 (exp_test): Likewise.
20970 (exp10_test): Likewise.
20971 (exp2_test): Likewise.
20972 (expm1_test): Likewise.
20973 (fma_test): Likewise.
20974 (j0_test): Likewise.
20975 (jn_test): Likewise.
20976 (nexttoward_test): Likewise.
20977 (pow_test): Likewise.
20978 (scalbn_test): Likewise.
20979 (scalbln_test): Likewise.
20980 (tan_test): Likewise.
20981 (y1_test): Likewise.
20982 * sysdeps/i386/fpu/libm-test-ulps: Update.
20983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20984
9e0e3d0b
DM
209852012-05-23 David S. Miller <davem@davemloft.net>
20986
20987 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20988 (__libc_sigaction): Remove unused local variables.
20989
ccd0a08f
L
209902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20991
20992 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20993
62bdf9a6
PE
209942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20995
f8591f80
PE
20996 mktime: avoid signed integer overflow
20997 * time/mktime.c (__mktime_internal): Do not mishandle the case
20998 where diff == INT_MIN.
20999
94c7d826
PE
21000 mktime: simplify computation of average
21001 * time/mktime.c (ranged_convert): Use new time_t_avg function
21002 instead of rolling our own (probably-slower) code.
21003
ce73d683
PE
21004 mktime: do not assume signed right shift propagates sign bit
21005 * time/mktime.c (isdst_differ): New static function.
21006 (__mktime_internal): No need to normalize tm_isdst now.
21007 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21008 tm_isdst values.
21009
72a22e59
PE
21010 mktime: merge another wrapv change from gnulib
21011 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21012 from some compilers.
21013
68605433
PE
21014 mktime: remove incorrect attempt at unusual arithmetics
21015 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21016 The code didn't really work on such machines anyway.
21017 (TYPE_MINIMUM): Assume two's complement.
21018 (twos_complement_arithmetic): Verify that long_int and time_t
21019 are two's complement (or unsigned, in the latter case).
21020
03cf7fe3
PE
21021 mktime: check signed shifts on long_int and time_t, too
21022 * time/mktime.c (SHR): Check that shifts work as desired
21023 on the types long_int and time_t too, as SHR is used on
21024 such types.
21025
f04dfbc2
PE
21026 mktime: do not assume 'long' is wide enough
21027 * time/mktime.c (verify): Move decl up.
21028 (long_int): New type.
21029 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21030 to remove assumption in the code that 'long' is wide enough to
21031 store year values. This assumption is not true on x32 and on
21032 some non-glibc platforms.
21033
62bdf9a6
PE
21034 mktime: merge wrapv change from gnulib
21035 * time/mktime.c (WRAPV): New macro.
21036 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21037 (guess_time_tm, __mktime_internal): Do not assume that signed
21038 integer overflow wraps around; modern compilers generate code
21039 where this assumption is no longer valid.
21040
5e292e4f
L
210412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21042
21043 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21044 Replace "jmp L(pseudo_end)" with "ret".
21045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21046 Likewise.
21047
8caf8c87
AJ
210482012-05-23 Andreas Jaeger <aj@suse.de>
21049
21050 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21051 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21052
1a09dc56
AJ
210532012-05-23 Andreas Jaeger <aj@suse.de>
21054 Maximilian Attems <max@stro.at>
21055
21056 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21057 New macros.
21058
1c87aba0
L
210592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21060
21061 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21062 code so that pseudo_end is just ret and the stack pointer is
21063 correct also for static library in error case.
21064
40e45bd5
JM
210652012-05-23 Joseph Myers <joseph@codesourcery.com>
21066
c2670533
JM
21067 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21068 move to syscalls.list.
21069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21073
40e45bd5
JM
21074 * manual/install.texi (Running make install): Do not mention Linux
21075 kernel version for which pt_chown is not needed.
21076 (Linux): Do not mention problems with nscd with 2.0 kernels.
21077 * INSTALL: Regenerated.
21078
be08eda5
AJ
210792012-05-23 Andreas Jaeger <aj@suse.de>
21080
21081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21082 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21083 macro.
21084 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21086 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21088 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21090 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21092 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21094 * sysdeps/unix/sysv/linux/bits/in.h
21095 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21096
a6a056bb
RM
210972012-05-22 Roland McGrath <roland@hack.frob.com>
21098
21099 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21100 (PREPARE_VERSION): Just use assert instead, it will be elided
21101 under [NDEBUG] anyway.
21102
c9009328
L
211032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21104
21105 * sysdeps/unix/sysv/linux/Makefile: Include
21106 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21107 (sysdep_routines): Remove sysctl.
c9009328
L
21108 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21109 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21110 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21111 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21112 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21113
73338355
AJ
211142012-05-22 Andreas Jaeger <aj@suse.de>
21115
21116 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21117 that pseudo_end is just ret and the stack pointer is correct also
21118 for static library in error case.
21119
d44638b0
PP
211202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21121
21122 [BZ #14122]
21123 * nss/nsswitch.c (defconfig_entries): New variable.
21124 (__nss_database_lookup): Don't leak defconfig entries.
21125 (nss_parse_service_list): Don't leak on error paths.
21126 (free_database_entries): New function.
21127 (free_defconfig): New function.
21128 (free_mem): Move common code to free_database_entries.
21129
31a39bd8
L
211302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21131
da0331a8
L
21132 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21133 Add arch_prctl.
21134 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21135
31a39bd8
L
21136 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21137 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21139 New macro.
21140 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21141 (INTERNAL_SYSCALL_TYPES): Likewise.
21142 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21143 (LOAD_REGS_TYPES_[1-6]): Likewise.
21144 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21145 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21146
45470df3
AZ
211472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21148
21149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21150 copysignl for GLIBC_2_0.
21151 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21152 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21154 logbl for GLIBC_2_0.
21155 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21156 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21157
98a61bcb
L
211582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21159
a4f6e481
L
21160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21161 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21162
f63d5db6
L
21163 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21164 Use "neg %eax".
21165
98a61bcb
L
21166 * time/mktime.c: Update copyright years.
21167
95770f14
PE
211682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21169
6226efbd
PE
21170 mktime: merge comment-quoting-style change from gnulib
21171 * time/mktime.c: Quote 'like this' in comments.
21172 The GNU coding standards suggest that we no longer quote `like this',
21173 as "`" and "'" are typically rendered asymmetrically nowadays.
21174 The typical gnulib style is to quote 'like this' when quoting
21175 code, and "like this" when quoting English.
21176
b99e4f78
PE
21177 * time/mktime.c (compile-command): Add "-I.".
21178
643e01e6
PE
21179 mktime: merge mktime-internal.h change from gnulib
21180 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21181
2554247d
PE
21182 mktime: merge time_r change from gnulib
21183 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21184
826dd0ab
PE
21185 mktime: merge DEBUG change from gnulib
21186 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21187 case system <time.h> has a #define.
21188
bd83aabe
PE
21189 mktime: merge <sys/types.h> change from gnulib
21190 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21191 since <time.t> is now guaranteed to define time_t.
21192
95770f14
PE
21193 mktime: merge HAVE_CONFIG_H change from gnulib
21194 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21195
5e1a27a9
L
211962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21197
0e44a77e
L
21198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21199 Use "neg %eax".
21200
5e1a27a9
L
21201 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21202 __rlim_t cast.
21203 (struct rusage): Use anonymous union to pad each field to
21204 __syscall_slong_t.
21205
46259bec
DM
212062012-05-21 David S. Miller <davem@davemloft.net>
21207
21208 * Makefules (o-iterator): Remove .s cases.
21209 (compile-command.s): Delete.
21210 (COMPILE.s): Delete.
21211 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21212
59f0c22e
JM
212132012-05-21 Joseph Myers <joseph@codesourcery.com>
21214
21215 * configure.in (libc_cv_predef_stack_protector): Only consider
21216 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21217 * configure: Regenerated.
21218
20c07380
L
212192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21220
bbb3154b
L
21221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21222 New macro. Use R*LP on int and pointer.
21223 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21224 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21225 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21226 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21227
20c07380
L
21228 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21229 [__WORDSIZE_TIME64_COMPAT32] instead of
21230 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21231 (struct utmp): Likewise.
21232 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21233 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21234 Renamed to ...
21235 (__WORDSIZE_TIME64_COMPAT32): This.
21236 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21237 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21238 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21239 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21240 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21241 (__WORDSIZE_TIME64_COMPAT32): New macro.
21242
d8d1017e
AJ
212432012-05-21 Andreas Jaeger <aj@suse.de>
21244
21245 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21246 only if [SHARED]. Add prototype for __wcschr_ia32.
21247
6c7fb145
RM
212482012-05-21 Roland McGrath <roland@hack.frob.com>
21249
21250 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21251 of %rbp unmolested in the jmp_buf while mangling the low bits.
21252 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21253 unmolested high bits of %rbp while demangling the low bits.
21254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21255
66274218
AJ
212562012-05-21 Andreas Jaeger <aj@suse.de>
21257
07c58f8f
AJ
21258 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21259 * sunrpc/svc_simple.c: Use it for registerrpc.
21260 * sunrpc/xcrypt.c: Use it for passwd2des.
21261
66274218
AJ
21262 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21263
61f65140
L
212642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21265
21266 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21267 Don't define if [__SYSCALL_WORDSIZE != 32].
21268 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21269 New macro.
21270
5fefb436
AJ
212712012-05-21 Bruno Haible <bruno@clisp.org>
21272 Andreas Jaeger <aj@suse.de>
21273
21274 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21275 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21276 inptr and inend for must_buffer_ch.
21277 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21278 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21279 * stdio-common/Makefile (tests): Remove bug15.
21280 (bug15-ENV): Remove macro.
21281 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21282 anymore.
21283
d8e272ab
AJ
212842012-05-19 Andreas Jaeger <aj@suse.de>
21285 Roland McGrath <roland@hack.frob.com>
21286
21287 * manual/contrib.texi: Completely rewritten. It contains now an
21288 alphabetical list of contributors and their contributions.
21289
4a56a162
RH
212902012-05-21 Richard Henderson <rth@twiddle.net>
21291
21292 * misc/getauxval.c (__getauxval): Use unsigned long int.
21293 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21294 (getauxval): Use unsigned long int.
21295
d024d23c
L
212962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21297
21298 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21299
cbc00a03
RM
213002012-05-21 Roland McGrath <roland@hack.frob.com>
21301
21302 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21303 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21304 __alignof__ (long double).
21305
478143fa
AZ
213062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21307
21308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21309
c7683a6d
RH
213102012-05-20 Richard Henderson <rth@twiddle.net>
21311
21312 * misc/getauxval.c: New file.
21313 * misc/sys/auxv.h: New file.
21314 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21315 (routines): Add getauxval.
21316 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21317 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21318 * elf/dl-sysdep.c (_dl_auxv): Remove.
21319 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21320 * elf/dl-support.c (_dl_auxv): New variable.
21321 (_dl_aux_init): Initialize it.
21322 * manual/startup.texi (Auxiliary Vector): New node.
21323 * sysdeps/generic/bits/hwcap.h: New file.
21324 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21325 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21326 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21327 * sysdeps/sparc/sysdep.h: ... here. Include it.
21328 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21331 Update.
c7683a6d
RH
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21340
a6f1845d
AZ
213412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21342
21343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21344
cbcbe830
DM
213452012-05-19 David S. Miller <davem@davemloft.net>
21346
21347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21348
e0b16cc2
JM
213492012-05-19 Joseph Myers <joseph@codesourcery.com>
21350
21351 [BZ #14123]
21352 * math/s_ccosh.c: Include <float.h>
21353 (__ccosh): Avoid internal overflow calculating sinh and cosh
21354 values before multiplying by sin and cos values.
21355 * math/s_ccoshf.c: Likewise.
21356 * math/s_ccoshl.c: Likewise.
21357 * math/s_csin.c: Likewise.
21358 * math/s_csinf.c: Likewise.
21359 * math/s_csinl.c: Likewise.
21360 * math/s_csinh.c: Likewise.
21361 * math/s_csinhf.c: Likewise.
21362 * math/s_csinhl.c: Likewise.
21363 * math/libm-test.inc (ccos_test): Add more tests.
21364 (ccosh_test): Likewise.
21365 (csin_test): Likewise.
21366 (csinh_test): Likewise.
21367 * sysdeps/i386/fpu/libm-test-ulps: Update.
21368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21369
6ad13e08
L
213702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21371
f66f0ce8
L
21372 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21373 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21374
6ad13e08
L
21375 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21376
b1d072a7
JM
213772012-05-19 Joseph Myers <joseph@codesourcery.com>
21378
21379 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21380 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21381 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21382 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21383 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21384 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21385 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21386 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21387 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21388 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21389 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21390 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21391 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21392 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21393 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21394 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21395 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21396 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21397 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21398 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21399 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21400 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21401 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21402 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21403 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21404 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21405 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21406 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21407 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21408 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21409 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21410
9eae47cb
AJ
214112012-05-18 Andreas Jaeger <aj@suse.de>
21412
21413 * csu/.gitignore: Delete.
21414
bb07f69f
L
214152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21416
21417 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21418 (timex): Use __syscall_slong_t.
21419
e6bdb741
AJ
214202012-05-18 Andreas Jaeger <aj@suse.de>
21421 Carlos O'Donell <carlos_odonell@mentor.com>
21422
21423 * manual/install.texi (Configuring and compiling): Update
21424 description about files modified in the source directory.
d6c33fda 21425 * INSTALL: Regenerated.
e6bdb741 21426
1b74487e
L
214272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21428
21429 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21430 value. Use "or" to set return value to -1.
21431 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21432 negate return value.
21433
a88b64b9
TMQMF
214342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21435
21436 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21437 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21438 failure if the compiler has Graphite support disabled.
21439 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21440 Likewise.
21441 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21442 CFLAGS-memmove.c): Likewise.
21443 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21444 Likewise.
21445
3707636e
L
214462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21447
610b8622
L
21448 * sysdeps/x86_64/x32/_itoa.h: New file.
21449
7cd195df
L
21450 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21451 getdents system call only if kernel and user dirents have the
21452 same d_ino and d_off.
21453
94b07d20
L
21454 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21455 LLONG_MAX != LONG_MAX.
21456 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21457 (_fitoa_word): Likewise.
21458
18298070
L
21459 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21460 years.
21461 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21462 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21463 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21464
553c7ea4
L
21465 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21466 include <bits/wordsize.h>. Check __x86_64__ instead of
21467 __WORDSIZE.
21468 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21469 if __x86_64__ is defined. Use anonymous union on fpstate.
21470
3707636e
L
21471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21472 anonymous union.
21473
b53ef01a
AS
214742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21475
37fb1dc0
AS
21476 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21477 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21479 Refer to _rtld_local_ro instead of _rtld_global_ro.
21480 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21481 Likewise.
21482 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21483 Likewise.
21484 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21485 Likewise.
21486 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21487 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21488 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21489
b53ef01a
AS
21490 * sysdeps/powerpc/powerpc32/dl-machine.c
21491 (__elf_machine_runtime_setup) [PROF]: Don't reference
21492 _dl_prof_resolve.
21493
7a185db2
AJ
214942012-05-18 Andreas Jaeger <aj@suse.de>
21495
21496 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21497 function only available for GCCs before 3.4 since GCC 3.4
21498 introduced a builtin.
21499 (lrint): Likewise.
21500 (llrintf): Likewise.
21501 (llrint): Likewise.
21502 (fmaxf): Likewise.
21503 (fmax): Likewise.
21504 (fminf): Likewise.
21505 (fmin): Likewise.
21506 (rint): Likewise.
21507 (rintf): Likewise.
21508 (nearbyint): Likewise.
21509 (nearbyintf): Likewise.
21510 (ceil): Likewise.
21511 (ceilf): Likewise.
21512 (floor): Likewise.
21513 (floorf): Likewise.
21514
3e5aef87
L
215152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21516
428bd707
L
21517 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21518 on both fields and cast pointer to __syscall_ulong_t.
21519
3e5aef87
L
21520 * bits/types.h (__fsword_t): New type.
21521 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21522 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21524 (__FSWORD_T_TYPE): Likewise.
21525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21526 (__FSWORD_T_TYPE): Likewise.
21527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21528 (__FSWORD_T_TYPE): Likewise.
21529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21530 (__FSWORD_T_TYPE): Likewise.
21531 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21532 __SWORD_TYPE with __fsword_t.
21533 (statfs64): Likewise.
21534
1ba7c3dc
DM
215352012-05-17 David S. Miller <davem@davemloft.net>
21536
21537 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21538
59910343
AJ
215392012-05-17 Andreas Jaeger <aj@suse.de>
21540
21541 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21542 warning.
21543
2e4c1e9e
L
215442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21545
21546 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21547
de7f5ce7
AJ
215482012-05-17 Andreas Jaeger <aj@suse.de>
21549
21550 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21551 when it is used.
21552
286abc3d
CM
215532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21554
21555 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21556
477cc68e
L
215572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21558
21559 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21560 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21561
1a0994f5
CD
215622012-05-17 Andreas Jaeger <aj@suse.de>
21563 Carlos O'Donell <carlos_odonell@mentor.com>
21564
21565 [BZ #14059]
21566 * sysdeps/x86_64/multiarch/init-arch.h
21567 (bit_YMM_Usable): Rename to...
21568 (bit_AVX_Usable): ... this.
21569 (bit_FMA4_Usable): New macro.
21570 (bit_XMM_state): New macro.
21571 (bit_YMM_state): New macro.
21572 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21573 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21574 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21575 (CPUID_OSXSAVE): New macro.
21576 (CPUID_AVX): New macro.
21577 (CPUID_FMA4): New macro.
21578 (index_YMM_Usable): Rename to...
21579 (index_AVX_Usable): ... this.
21580 (HAS_AVX): Use HAS_ARCH_FEATURE.
21581 (HAS_FMA4): Likewise.
21582 (HAS_YMM_USABLE): Remove.
21583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21584 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21585 are present.
21586 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21587 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21588 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21589 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21590 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21591
0af797de
CM
215922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21593
21594 * math/libm-test.c: Support platforms without multiple rounding modes.
21595 * math/bug-nextafter.c: Support platforms without FP exceptions.
21596 * math/bug-nexttoward.c: Likewise.
21597 * math/test-fenv.c: Likewise.
21598 * math/test-misc.c: Likewise.
21599 * stdlib/bug-getcontext.c: Likewise.
21600
e39745ff
AJ
216012012-05-17 Andreas Jaeger <aj@suse.de>
21602
21603 * manual/examples/search.c (critter_cmp): Change signature to
21604 avoid warnings.
21605 * manual/string.texi (Collation Functions): Likewise.
21606
48970aba
L
216072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21608
21609 * bits/types.h: Fold copyright years.
21610 * bits/typesizes.h: Likewise.
21611 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21615 * time/time.h: Likewise.
21616
bedee953
PP
216172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21618
21619 [BZ #208]
21620 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21621 in instead of returning them. Return void.
21622 (__libc_mallinfo): Accumulate over all arenas.
21623 (__malloc_stats): Adjust for change in int_mallinfo interface.
21624
61653dfb
RM
216252012-05-16 Roland McGrath <roland@hack.frob.com>
21626
30b99d79
RM
21627 [BZ #10375]
21628 * configure.in (NM): Add AC_CHECK_TOOL for it.
21629 (libc_extra_cflags): New substituted variable.
21630 Check for -fstack-protector being used implicitly.
21631 * configure: Regenerated.
21632 * config.make.in (config-extra-cflags): New variable,
21633 gets @libc_extra_cflags@.
21634 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21635
61653dfb
RM
21636 [BZ #10375]
21637 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21638 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21639 * configure: Regenerated.
21640 * config.make.in (CPPUNDEFS): New substituted variable.
21641 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21642 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21643 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21644
661768bb
L
216452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21646
21647 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21648 (mq_attr): Use __syscall_slong_t.
21649
d4261567
L
216502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21651
21652 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21653 Check __x86_64__ instead of __WORDSIZE.
21654 (_STAT_VER_LINUX): Likewise.
21655 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21656 __syscall_ulong_t and __syscall_slong_t.
21657 (stat64): Likewise.
21658
cf3ff365
L
216592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21660
21661 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21662
76cf3e4d
L
216632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21664
21665 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21666
a637753a
L
216672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21668
21669 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21670 __syscall_ulong_t.
21671
d5e05119
L
21672 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21673 include <bits/wordsize.h>. Check __x86_64__ instead of
21674 __WORDSIZE.
21675 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21676 defined.
21677 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21678
f62ee380
L
21679 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21680 include <bits/wordsize.h>. Check __x86_64__ instead of
21681 __WORDSIZE.
21682 (user_regs_struct): Use "__extension__ unsigned long long"
21683 instead of "unsigned long" if __x86_64__ is defined.
21684 (user): Likewise. Pad after pointer field if __ILP32__ is
21685 defined.
21686
4e124ced
JM
216872012-05-16 Joseph Myers <joseph@codesourcery.com>
21688
6a3951a0
JM
21689 * configure.in (makeinfo): Require version 4.5 or later. Allow
21690 versions 5 to 9.
21691 * configure: Regenerated.
21692 * manual/install.texi (texinfo): Increase version requirement to
21693 4.5 or later.
21694 * INSTALL: Regenerated.
21695
4e124ced
JM
21696 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21697
953ca31a
L
216982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21699
21700 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21701
617aca05
L
21702 * sysdeps/x86_64/x32/ffs.c: New file.
21703
5762f7ae
L
21704 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21705 __syscall_ulong_t.
21706 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21707 defined. Use __syscall_ulong_t.
21708 (shminfo): Use __syscall_ulong_t.
21709 (shm_info): Likewise.
21710
a26b6856
L
21711 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21712 __syscall_ulong_t.
21713
cb2b9ef7
L
21714 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21715 <bits/wordsize.h>.
21716 (msgqnum_t): Use __syscall_ulong_t.
21717 (msglen_t): Likewise.
21718 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21719 __syscall_ulong_t.
21720
34683bb0
L
21721 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21722 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21723
84a68786
L
21724 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21725
48baa5f1
L
21726 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21727 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21728
180be88b
L
21729 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21730 __syscall_slong_t.
21731
5e90c8ad
L
21732 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21733 include <bits/wordsize.h>. Check __x86_64__ instead of
21734 __WORDSIZE.
21735
23dfb58b
L
21736 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21737 "unsigned long long int" if __x86_64__ is defined.
21738 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21739
ce5d54b0
L
21740 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21741 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21742 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21743
13dc9eac
L
21744 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21745 <stdint.h>.
21746 (GET_PC): Cast to uintptr_t first.
21747 (GET_FRAME): Likewise.
21748 (GET_STACK): Likewise.
21749
a7895d15
L
21750 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21751 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21753 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21755 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21756 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21757 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21758 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21759 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21761 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21763 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21764 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21765 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21766 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21768 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21770 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21771 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21772 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21773 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21774 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21775 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21776 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21779
656416c9
AS
217802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21781
5bd66283
AS
21782 * Makerules (+depfiles): Also collect depfiles from .oS in
21783 $(extra-objs).
21784 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21785 .oS, $(libnldbl-routines)).
21786
656416c9
AS
21787 * Makerules (native-compile-mkdep-flags): Define.
21788 * sunrpc/Makefile (extra-objs): Add $(addprefix
21789 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21790 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21791 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21792 calling $(make-target-directory).
21793
a46f2169
L
217942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21795
21796 * bits/types.h (__snseconds_t): Removed.
21797 * time/time.h (struct timespec): Replace __snseconds_t with
21798 __syscall_slong_t.
21799 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21800 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21801 Likewise.
21802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21803 (__SNSECONDS_T_TYPE): Likewise.
21804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21805 (__SNSECONDS_T_TYPE): Likewise.
21806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21807 (__SNSECONDS_T_TYPE): Likewise.
21808
6af6528b
L
218092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21810
21811 * sysdeps/mach/hurd/bits/typesizes.h
21812 (__SYSCALL_SLONG_TYPE): New macro.
21813 (__SYSCALL_ULONG_TYPE): Likewise.
21814
de986b56
L
218152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21816
21817 * bits/types.h (__syscall_slong_t): New type.
21818 (__syscall_ulong_t): Likewise.
21819
21820 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21821 (__SYSCALL_ULONG_TYPE): Likewise.
21822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21823 (__SYSCALL_SLONG_TYPE): Likewise.
21824 (__SYSCALL_ULONG_TYPE): Likewise.
21825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21826 (__SYSCALL_SLONG_TYPE): Likewise.
21827 (__SYSCALL_ULONG_TYPE): Likewise.
21828 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21829 (__SYSCALL_SLONG_TYPE): Likewise.
21830 (__SYSCALL_ULONG_TYPE): Likewise.
21831
85736dc7
L
218322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21833
21834 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21835 Add sigaltstack-offsets.sym.
21836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21837 <sigaltstack-offsets.h>.
21838 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21839 longjmp_msg pointer.
21840 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21841 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21842 signal stack.
21843 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21844
cc03b296
JM
218452012-05-15 Joseph Myers <joseph@codesourcery.com>
21846
a9538892
JM
21847 * elf/stackguard-macros.h: Remove file.
21848 * sysdeps/generic/stackguard-macros.h: New file.
21849 * sysdeps/i386/stackguard-macros.h: Likewise.
21850 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21851 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21852 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21853 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21854 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21855 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21856 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21857 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21858 <elf/stackguard-macros.h>.
21859
cc03b296
JM
21860 [BZ #14109]
21861 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21862 __aligned__ in attribute.
21863 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21864 (gregset_t): Likewise.
21865
93171016
L
218662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21867
21868 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21869 * sysdeps/x86_64/64/Implies-after: Here. New file.
21870 * sysdeps/x86_64/x32/Implies-after: New file.
21871
d86813a0
L
218722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21873
21874 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21875 and access return value for _dl_profile_fixup. Use R10_LP to
21876 load frame size.
21877
2953ec75
L
218782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21879
21880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21881
3b550e9e
L
218822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21883
21884 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21885 * sysdeps/x86_64/x32/sysdep.h: New file.
21886
eda41706
L
218872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21888
21889 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21890 * sysdeps/x86_64/setjmp.S: Likewise.
21891
9ea01d93
AZ
218922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21893
21894 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21896 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21898 remove unused global constant.
21899
02a91938
CM
219002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21901
21902 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21903 include of <not-cancel.h>.
21904
6540185f
RM
219052012-05-15 Roland McGrath <roland@hack.frob.com>
21906
21907 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21908
509072a0
AJ
219092012-05-15 Jeff Law <law@redhat.com>
21910 Andreas Jaeger <aj@suse.de>
21911
21912 [BZ #13594]
21913 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21914 out from...
21915 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21916 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21917 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21918 code changing __hst_map_handle.map.
21919
ba75122d
RM
219202012-05-15 Roland McGrath <roland@hack.frob.com>
21921
21922 * configure.in (sysnames): Look for Implies-before and Implies-after
21923 files.
21924 * configure: Regenerated.
21925
890d8bd8
L
219262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21927
21928 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21929 8-byte data alignment with LP_SIZE alignment.
21930
f6ee6623
L
219312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21932
21933 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21934 into R10_LP.
21935
ea2626f6
L
219362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21937
21938 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21939
085f715e
L
219402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21941
21942 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21943 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21945 Likewise.
21946 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21947
be8498fc
L
219482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21949
21950 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21951 (stackinfo_sub_sp): Likewise.
21952
70bc83b9
L
219532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21954
21955 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21956 RAX_LP.
21957
9bc0b730
L
219582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21959
21960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21961 into R*_LP.
21962
6d2850e7
L
219632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21964
21965 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21966 sizes into R*_LP.
21967
3cb84561
L
219682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21969
21970 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21971
54e2ed81
L
219722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21973
21974 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21975 into R11_LP and load __x86_64_shared_cache_size_half into
21976 R8_LP.
21977
8a17f349
L
219782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21979
21980 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21981 R8_LP.
21982
777b1eea
AZ
219832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21984
21985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21986 logb for POWER7.
21987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21988 logbf for POWER7.
21989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21990 logbl for POWER7.
21991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21992 powerpc32/power7/fpu/s_logb.c via #include.
21993 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21994 powerpc32/power7/fpu/s_logbf.c via #include.
21995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21996 powerpc32/power7/fpu/s_logbl.c via #include.
21997
d20d4ac2
JM
219982012-05-15 Joseph Myers <joseph@codesourcery.com>
21999
22000 * README.libm: Remove file.
22001
6cdef1ab
L
220022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22003
22004 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22005 count for x32. Use R*_LP and omit operand-size suffix.
22006
0b254d8f
L
220072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22008
22009 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22010 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22011 * sysdeps/x86_64/x32/shlib-versions: New file.
22012
ceb809dc
RM
220132012-05-14 Roland McGrath <roland@hack.frob.com>
22014
22015 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22016 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22017 Use _dl_fatal_printf instead.
22018
37f1abd4
JM
220192012-05-14 Joseph Myers <joseph@codesourcery.com>
22020
22021 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22022 set if not set by the user. Do not allow for being unset.
22023 * sysdeps/unix/sysv/linux/configure: Regenerated.
22024
11de3a33
L
220252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22026
22027 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22028 the `q' suffix from lea and replace .quad with ASM_ADDR.
22029
e02f153a
L
220302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22031
22032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22033 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22034 instead of $17.
22035 (PTR_DEMANGLE): Likewise.
22036
520ae0fd
L
220372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22038
22039 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22040 (LP_OP): Likewise.
22041 (ASM_ADDR): Likewise.
22042 (RAX_LP): Likewise.
22043 (RBP_LP): Likewise.
22044 (RBX_LP): Likewise.
22045 (RCX_LP): Likewise.
22046 (RDI_LP): Likewise.
22047 (RSI_LP): Likewise.
22048 (RSP_LP): Likewise.
22049 (R8_LP): Likewise.
22050 (R9_LP): Likewise.
22051 (R10_LP): Likewise.
22052 (R10_LP): Likewise.
22053 (R11_LP): Likewise.
22054 (R12_LP): Likewise.
22055 (R13_LP): Likewise.
22056 (R14_LP): Likewise.
22057 (R15_LP): Likewise.
22058
b985be81
L
220592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22060
22061 * sysdeps/x86_64/x32/dl-machine.h: New file.
22062
6a4888ff
AJ
220632012-05-14 Andreas Jaeger <aj@suse.de>
22064
22065 * manual/Makefile (subdir): Remove export of subdir.
22066 (all): Remove target.
22067 (.PHONY): Remove all from list.
22068 (mkinstalldirs): Remove.
22069 (.PHONY): Remove installdirs from list.
22070 ($(inst_infodir)/libc.info): Use make-target-directory.
22071 (installdirs): Remove.
22072 (subdir_%): Remove.
22073 (glibc-targets): Remove.
22074 (lib): Remove.
22075 (stubs): Remove.
22076 ($(objpfx)stubs ../po/manual.pot): Remove.
22077 ($(objpfx)stamp%): Remove.
22078 (make-target-directory): Remove.
22079 (subdir_install): Remove.
22080 (routines): Remove.
22081 (aux): Remove.
22082 (sources): Remove.
22083 (objects): Remove.
22084 (headers): Remove.
22085
22086 [BZ #13750]
22087 * manual/.gitignore: Remove, it's not needed anymore.
22088 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22089 all files in it.
22090 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22091 directory.
22092 (texis): Renamed to $(objpfx)texis.
22093 (texis-path): New, contains path to generated files.
22094 (chapters.%): Use texis-path for complete path, add extra argument
22095 libc-texinfo.sh.
22096 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22097 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22098 (summary,texi, stamp-summary): Use complete path of
22099 files. Generate files in build dir.
22100 (dir-add.texi): Build in build dir.
22101 (libm-err.texi,stamp-libm-err): Likewise.
22102 (version.texi, stamp-version): Likewise.
22103 (.%c.texi): Likewise.
22104 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22105 (mostlyclean): Remove target.
22106 (realclean): Remove target.
22107 (generated): Add new variable with contents from mostlyclean and
22108 realclean, remove entries duplicated in common-mostlyclean, add
22109 stamp-libm-err and stamp-version.
22110 (generated-dirs): Add libc directory.
22111 ($(inst_infodir)/libc.info): Install files from build dir.
22112
22113 * manual/install.texi (Configuring and compiling): Adjust since
22114 the info files are not part of the tar ball anymore.
22115
7ac77294
AJ
221162012-05-14 Andreas Jaeger <aj@suse.de>
22117
22118 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22119 variable.
22120
ffb7875d
JM
221212012-05-14 Joseph Myers <joseph@codesourcery.com>
22122
22123 [BZ #13717]
22124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22125 to 2.2.0 where earlier.
22126 * sysdeps/unix/sysv/linux/configure: Regenerated.
22127 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22128 Remove conditional code.
22129 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22130 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22131 Remove conditional code.
22132 [!__NR_lchown]: Likewise.
22133 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22134 [__NR_lchown]: Likewise.
22135 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22136 comment referencing __ASSUME_LCHOWN_SYSCALL.
22137 * sysdeps/unix/sysv/linux/i386/sigaction.c
22138 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22139 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22140 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22141 Remove conditional code.
22142 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22143 (__protocol_available): Remove #if 0 code.
22144 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22145 conditional code.
22146 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22147 * sysdeps/unix/sysv/linux/kernel-features.h
22148 (__ASSUME_GETCWD_SYSCALL): Don't define.
22149 (__ASSUME_REALTIME_SIGNALS): Likewise.
22150 (__ASSUME_PREAD_SYSCALL): Likewise.
22151 (__ASSUME_PWRITE_SYSCALL): Likewise.
22152 (__ASSUME_POLL_SYSCALL): Likewise.
22153 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22154 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22155 non-SPARC.
22156 (__ASSUME_SIOCGIFNAME): Don't define.
22157 (__ASSUME_MSG_NOSIGNAL): Likewise.
22158 (__ASSUME_SENDFILE): Define unconditionally.
22159 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22160 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22161 conditional code.
22162 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22163 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22164 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22165 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22166 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22167 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22168 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22170 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22173 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22176 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22182 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22193 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22194 Remove conditional code.
22195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22196 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22197 Remove conditional code.
22198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22199 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22200 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22201 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22202 Remove conditional code.
22203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22204 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22205 Remove conditional code.
22206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22207 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22208 Remove conditional code.
22209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22210 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22211 Remove conditional code.
22212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22213 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22214 Remove conditional code.
22215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22216 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22219 * sysdeps/unix/sysv/linux/sigaction.c
22220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22222 * sysdeps/unix/sysv/linux/sigpending.c
22223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22225 * sysdeps/unix/sysv/linux/sigprocmask.c
22226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22228 * sysdeps/unix/sysv/linux/sigsuspend.c
22229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22231 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22232 (__libc_missing_rt_sigs): Remove.
22233 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22234 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22235 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22236 Remove conditional code.
22237 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22238 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22239 return 1.
22240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22241 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22243 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22244
1bfb7291
AJ
222452012-05-14 Andreas Jaeger <aj@suse.de>
22246
caae5a81
AJ
22247 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22248 it's not used in glibc.
22249 (__coshm1): Likewise.
22250 (__acosh1p): Likewise.
22251 (__sgn): Likewise.
22252
1bfb7291
AJ
22253 * manual/string.texi (Copying and Concatenation): Add missing
22254 variable in concat example.
22255 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22256
c044d724
L
222572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22258
144c5467 22259 [BZ #14103]
c044d724
L
22260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22261 __builtin_clzl with __builtin_clzll.
22262
2523c62b
L
222632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22264
22265 [BZ #14104]
22266 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22267 libc_freeres_ptr.
22268
d7bb4c42
LD
222692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22270
22271 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22272 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22273 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22274 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22275
9dc4e1fb
MF
222762012-05-14 Mike Frysinger <vapier@gentoo.org>
22277
22278 * NEWS: Update ia64 info.
22279
c7df0112
AS
222802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22281
22282 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22283 used as bcopy.
22284
dc70356c
TS
222852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22286
22287 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22288 * sysdeps/unix/syscalls.list (dup3): Likewise.
22289 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22290 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22291
9fb1a21f
L
222922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22293
22294 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22295 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22296
4822a2a5
L
222972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22298
22299 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22300 thread pointer.
22301 (TLS_IE): Use mov/add instead of movq/addq to load thread
22302 pointer.
22303 (TLS_GD_PREFIX): New.
22304 (TLS_GD): Use it.
22305
842b81d6
DM
223062012-05-11 David S. Miller <davem@davemloft.net>
22307
22308 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22309 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22310 (_FPU_SETCW): Likewise.
22311
1cf463cd
L
223122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22313
22314 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22315 is 32-byte aligned.
22316
60cc4a18
AS
223172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22318
22319 [BZ #11837]
22320 * iconvdata/gb18030.c: Update tables.
22321 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22322 characters specially.
22323 (BODY for TO_LOOP): Add encoding of missing ranges.
22324
febb44a4
TS
223252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22326
22327 [BZ #13673]
22328 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22329 * sysdeps/mach/hurd/dup3.c: Likewise.
22330 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22331 * sysdeps/powerpc/memmove.c:: Likewise.
22332
0a10fb9e
L
223332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22334
22335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22336 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22337
df8a552f
L
223382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22339
22340 * elf/elf.h (R_X86_64_RELATIVE64): New.
22341 (R_X86_64_NUM): Updated.
22342 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22343 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22344 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22345 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22346 tst-quad1pie tst-quad2pie
22347 (modules-names): Add tst-quadmod1 tst-quadmod2.
22348 ($(objpfx)tst-quad1): New dependency.
22349 ($(objpfx)tst-quad2): Likewise.
22350 ($(objpfx)tst-quad1pie): Likewise.
22351 ($(objpfx)tst-quad2pie): Likewise.
22352 * sysdeps/x86_64/tst-quad1.c: New file.
22353 * sysdeps/x86_64/tst-quad1pie.c: New file.
22354 * sysdeps/x86_64/tst-quad2.c: Likewise.
22355 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22356 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22357 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22358 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22359 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22360
f34d6f84
ST
223612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22362
f42d41d1
ST
22363 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22364 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22365 * streams/stropts.h (t_scalar_t): Define type.
22366
3c3571fc
ST
22367 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22368 (_PATH_PRESERVE): Set to "/var/lib".
22369 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22370
61f06bd3
ST
22371 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22372 instead of int.
22373
918d4d71
ST
22374 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22375 if __dir_mkfile succeeded.
22376
f34d6f84
ST
22377 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22378 checking for _hurd_dtablesize. Unlock it right after having
22379 finished _hurd_dtable allocation.
22380
10589b4a
TS
223812012-05-10 Thomas Schwinge <thomas@schwinge.name>
22382
674cdbc7
TS
22383 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22384 * sysdeps/mach/hurd/configure: Regenerated.
22385 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22386 special-casing to...
22387 * sysdeps/gnu/configure.in: ... this new file.
22388 * sysdeps/unix/sysv/linux/configure: Regenerated.
22389 * sysdeps/gnu/configure: New generated file.
22390
8e41b99f
TS
22391 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22392 for Linux: use nsec instead of usec, as well as:
22393 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22394 members of type struct timespec.
22395 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22396 New macros.
22397 (struct stat64): Likewise.
22398 (_STATBUF_ST_NSEC): New macro.
22399 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22400
10589b4a
TS
22401 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22402 __strtoul_internal rather than strtoul.
22403
63643c85
PT
224042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22405
22406 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22407 and reject them.
22408
3faebe6a
ST
224092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22410
22411 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22412 which preserves existing values.
22413 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22414
c6474b07
PT
224152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22416
22417 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22418 TIMEOUT values. Return EINVAL for NFDS values either negative or
22419 greater than FD_SETSIZE.
22420
1043890b
ST
224212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22422
22423 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22424 allocated, call __vm_protect to finish enabling the existing space, and
22425 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22426 allocate the remainder.
22427
37ed8b9b
PT
224282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22429
22430 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22431 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22432
db653660
ST
224332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22434
37ed8b9b
PT
22435 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22436 sysdeps/mach/hurd/readlink.c.
b29d4053 22437
db653660
ST
22438 * posix/tst-sysconf.c (posix_options): Only use
22439 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22440 _POSIX_SYNCHRONIZED_IO when they are defined
22441 * sysdeps/mach/hurd/bits/posix_opt.h:
22442 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22443 (_XOPEN_REALTIME): Undefine macro.
22444 (_XOPEN_REALTIME_THREADS): Undefine macro.
22445 (_XOPEN_SHM): Undefine macro.
22446 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22447 macro to -1.
22448 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22449 macro to -1.
22450 (_POSIX_ASYNC_IO): Undefine macro.
22451 (_POSIX_PRIORITIZED_IO): Undefine macro.
22452 (_POSIX_SPIN_LOCKS): Define macro to -1.
22453
ee16e894
ST
22454 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22455 SA_NODEFER, SA_RESETHAND.
22456 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22457 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22458 F_DUPFD_CLOEXEC.
22459
6103ae3b
TS
224602012-05-10 Thomas Schwinge <thomas@schwinge.name>
22461
22462 * elf/Makefile (pldd-modules): Define unconditionally.
22463
80b4e5f3
TS
224642012-05-10 Thomas Schwinge <thomas@schwinge.name>
22465
22466 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22467
edadcbd6
ST
224682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22469
22470 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22471 Return ENOENT when name is empty.
22472 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22473
80694780
TS
224742012-05-10 Thomas Schwinge <thomas@schwinge.name>
22475
1792c087
TS
22476 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22477
80694780
TS
22478 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22479
6b645f0d
ST
224802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22481
80694780
TS
22482 Fix mlock in all cases except non-readable pages.
22483 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22484 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22485
6b645f0d
ST
22486 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22487 (__mkdir): When path is `/', just fail with EEXIST.
22488 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22489
e468f8a3
TS
224902012-05-10 Thomas Schwinge <thomas@schwinge.name>
22491
22492 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22493 <sys/uio.h> (for writev).
22494 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22495 and <sys/param.h> (for MIN).
22496
a4186cff
PT
224972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22498
22499 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22500 REQUESTED_TIME. Properly set the remaining time and return EINTR
22501 if interrupted.
22502
510bbf14
TS
225032012-05-10 Thomas Schwinge <thomas@schwinge.name>
22504
22505 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22506 Depend on against $(link-rpcuserlibs).
22507
5d5722e8
ST
225082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22509
a4186cff
PT
22510 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22511 (__libc_stack_end): Do not use attribute_relro.
22512 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22513 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22514 to libthread-provided value.
a4186cff
PT
22515 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22516 attribute_relro.
5d5722e8 22517
37233df9
TS
225182012-05-10 Thomas Schwinge <thomas@schwinge.name>
22519
be971a2b
TS
22520 [BZ #3748]
22521 * bits/libc-lock.h (__libc_once_get): New macro.
22522 * sysdeps/mach/bits/libc-lock.h: Likewise.
22523 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22525 instead of using implementation details.
22526
37233df9
TS
22527 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22528 * libio/freopen.c: Likewise.
22529 * libio/freopen64.c: Likewise.
22530 * misc/syslog.c: Likewise.
22531 * nscd/connections.c: Likewise.
22532 * nscd/netgroupcache.c: Likewise.
22533 * sysdeps/posix/getcwd.c: Likewise.
22534
38de94a5
RM
225352012-05-10 Roland McGrath <roland@hack.frob.com>
22536
22537 * math/w_ilogbf.c: Add #include <limits.h>.
22538
67530489
ST
225392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22540
a4186cff 22541 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22542 path instead of returning without unlocking.
22543
67530489
ST
22544 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22545 immediate-write ioctls.
22546 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22547
5aa3a74a
TS
225482012-05-10 Thomas Schwinge <thomas@schwinge.name>
22549
18bad2ae
TS
22550 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22551 __builtin_frame_address instead of making assumptions about the
22552 location of the return address relative to DATA. Force early load of
22553 the return address.
22554 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22555 __builtin_frame_address.
22556
5aa3a74a
TS
22557 dup3 for GNU Hurd.
22558 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22559 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22560 implement dup3 and do some further code clean-ups.
22561 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22562 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22563
ecd0de9a
ST
225642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22565
cd9fa985
ST
22566 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22567
a4186cff
PT
22568 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22569 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22570 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22571 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22572 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22573 d->port.lock.
802ca5a5 22574
a4186cff
PT
22575 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22576 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22577 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22578
bcf55240
TS
225792012-05-10 Thomas Schwinge <thomas@schwinge.name>
22580
6960eb42
TS
22581 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22582 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22583 definitions.
22584
eb43375f
TS
22585 accept4 for GNU Hurd.
22586 * include/sys/socket.h (__libc_accept4): New prototype.
22587 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22588 to implement __libc_accept4.
22589 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22590 __libc_accept4.
22591 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22592
bcf55240
TS
22593 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22594 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22595 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22596 signal-defines.sym.
22597
6178c55b
ST
225982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22599
a4186cff 22600 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22601
6f080c2f
TS
226022012-05-10 Thomas Schwinge <thomas@schwinge.name>
22603
22604 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22605 assertion on O_CLOEXEC flag.
22606 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22607 * hurd/intern-fd.c: Likewise.
22608 * hurd/port2fd.c: Likewise.
22609
bcfe3a54
ST
226102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22611
22612 [BZ #3906]
22613 * bits/in.h (IPV6_PKTINFO): Define new macro.
22614 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22615
89c9aa49
AZ
226162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22617
22618 [BZ #13954]
22619 [BZ #13955]
22620 [BZ #13956]
22621 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22623 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22624 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22626 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22627 * math/libm-test.inc (logb_test) : Additional logb tests.
22628
021db4be
AJ
226292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22630 Andreas Jaeger <aj@suse.de>
22631
22632 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22633 * configure: Regenerated.
22634 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22635 * config.make.in (link-obsolete-rpc): New substituted variable.
22636 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22637 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22638 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22639 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22640 so that libc.a contains the symbols.
22641 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22642 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22643 * sunrpc/auth_none.c: Likewise.
22644 * sunrpc/auth_unix.c: Likewise.
22645 * sunrpc/authdes_prot.c: Likewise.
22646 * sunrpc/authuxprot.c: Likewise.
22647 * sunrpc/clnt_gen.c: Likewise.
22648 * sunrpc/clnt_perr.c: Likewise.
22649 * sunrpc/clnt_raw.c: Likewise.
22650 * sunrpc/clnt_simp.c: Likewise.
22651 * sunrpc/clnt_tcp.c: Likewise.
22652 * sunrpc/clnt_udp.c: Likewise.
22653 * sunrpc/clnt_unix.c: Likewise.
22654 * sunrpc/des_crypt.c: Likewise.
22655 * sunrpc/des_soft.c: Likewise.
22656 * sunrpc/get_myaddr.c: Likewise.
22657 * sunrpc/key_call.c: Likewise.
22658 * sunrpc/key_prot.c: Likewise.
22659 * sunrpc/netname.c: Likewise.
22660 * sunrpc/pm_getmaps.c: Likewise.
22661 * sunrpc/pm_getport.c: Likewise.
22662 * sunrpc/pmap_clnt.c: Likewise.
22663 * sunrpc/pmap_prot.c: Likewise.
22664 * sunrpc/pmap_prot2.c: Likewise.
22665 * sunrpc/pmap_rmt.c: Likewise.
22666 * sunrpc/publickey.c: Likewise.
22667 * sunrpc/rpc_cmsg.c: Likewise.
22668 * sunrpc/rpc_common.c: Likewise.
22669 * sunrpc/rpc_dtable.c: Likewise.
22670 * sunrpc/rpc_prot.c: Likewise.
22671 * sunrpc/rpc_thread.c: Likewise.
22672 * sunrpc/rtime.c: Likewise.
22673 * sunrpc/svc.c: Likewise.
22674 * sunrpc/svc_auth.c: Likewise.
22675 * sunrpc/svc_raw.c: Likewise.
22676 * sunrpc/svc_run.c: Likewise.
22677 * sunrpc/svc_tcp.c: Likewise.
22678 * sunrpc/svc_udp.c: Likewise.
22679 * sunrpc/svc_unix.c: Likewise.
22680 * sunrpc/svcauth_des.c: Likewise.
22681 * sunrpc/xcrypt.c: Likewise.
22682 * sunrpc/xdr.c: Likewise.
22683 * sunrpc/xdr_array.c: Likewise.
22684 * sunrpc/xdr_float.c: Likewise.
22685 * sunrpc/xdr_intXX_t.c: Likewise.
22686 * sunrpc/xdr_mem.c: Likewise.
22687 * sunrpc/xdr_rec.c: Likewise.
22688 * sunrpc/xdr_ref.c: Likewise.
22689 * sunrpc/xdr_sizeof.c: Likewise.
22690 * sunrpc/xdr_stdio.c: Likewise.
22691
b5c086a2
RM
226922012-05-10 Roland McGrath <roland@hack.frob.com>
22693
22694 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22695 change. Update copyright years.
22696
6d74dd09
JM
226972012-05-10 Joseph Myers <joseph@codesourcery.com>
22698
22699 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22700
28e72501
MK
227012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22702 Joseph Myers <joseph@codesourcery.com>
22703 Paul Pluzhnikov <ppluzhnikov@google.com>
22704
22705 [BZ #14012]
22706 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22707 requiring rpcgen.
22708 [cross-compiling] (extra-libs): Likewise.
22709 [cross-compiling] (extra-libs-others): Likewise.
22710 [cross-compiling] (librpcsvc-routines): Likewise.
22711 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22712 [cross-compiling] (omit-deps): Likewise.
22713 (sunrpc-CPPFLAGS): New variable.
22714 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22715 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22716 (cross-rpcgen-objs): New variable.
22717 (extra-objs): Append $(cross-rpcgen-objs).
22718 ($(cross-rpcgen-objs)): New rule.
22719 ($(objpfx)cross-rpcgen): Likewise.
22720 (rpcgen-cmd): Define to use $(built-program-file). Expand
22721 comment.
22722 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22723 ($(objpfx)x%.stmp): Likewise.
22724 * sunrpc/proto.h [IS_IN_build] (_): Define.
22725 [IS_IN_build] (_libc_intl_domainname): Likewise.
22726
c8c59454
L
227272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22728
22729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22730 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22731 and R_X86_64_TPOFF64.
22732
6f27cd16
JM
227332012-05-10 Joseph Myers <joseph@codesourcery.com>
22734
22735 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22736 sysdeps/unix/sysv/syscalls.list.
22737 (stime): Likewise.
22738 (utime): Likewise.
22739 * sysdeps/unix/sysv/syscalls.list: Remove file.
22740
02467e1c
PE
227412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22742
22743 [BZ #3440]
22744 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22745 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22746 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22747 (__LC_IDENTIFICATION): Make these macros useful in #if
22748 expressions, as required by C99.
22749
da392631
AS
227502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22751
22752 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22753 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22754 after this.
22755
8115f29b
L
227562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22757
22758 * stdlib/longlong.h: Updated from GCC.
22759
bdd74070
AJ
227602012-05-09 Andreas Jaeger <aj@suse.de>
22761
edfe0dbe
AJ
22762 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22763 default is first entry.
22764 (run_mode): Set type.
22765 (main): Remove informal message about syslog.
22766 (options): Fix typo.
22767
bcfe3a54
ST
22768 [BZ #14053]
22769 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22770 to asm.
bcfe3a54
ST
22771 (lrint): Likewise.
22772 (llrintf): Likewise.
22773 (llrint): Likewise.
22774 (rint): Likewise.
22775 (rintf): Likewise.
22776 (nearbyint): Likewise.
22777 (nearbyintf): Likewise.
bdd74070 22778
91d8d69e
AJ
227792012-05-09 Andreas Jaeger <aj@suse.de>
22780 Pedro Alves <palves@redhat.com>
22781
22782 * nscd/nscd.c (run_mode): Use enum.
22783 (main): Cleanup coding style issue.
22784
bb90b80b
AJ
227852012-05-09 Alexandre Oliva <aoliva@redhat.com>
22786 Andreas Jaeger <aj@suse.de>
22787
bcfe3a54
ST
22788 * nscd/nscd.c (go_background): Replaced with...
22789 (run_mode): ... this.
bb90b80b 22790 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22791 (options): Add -F --foreground.
22792 (main): Implement it.
22793 (parse_opt): Parse it.
bb90b80b 22794
1a4b75a1
AJ
227952012-05-09 Andreas Jaeger <aj@suse.de>
22796
22797 [BZ #14083]
22798 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22799 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22800 -Wconversion warning.
22801 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22802 Likewise.
22803
b1cc2472
JM
228042012-05-09 Joseph Myers <joseph@codesourcery.com>
22805
22806 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22807 == 0.
22808 (LC_ALL): Use macro-int-constant.
22809 (LC_COLLATE): Likewise.
22810 (LC_CTYPE): Likewise.
22811 (LC_MESSAGES): Likewise.
22812 (LC_MONETARY): Likewise.
22813 (LC_NUMERIC): Likewise.
22814 (LC_TIME): Likewise.
22815 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22816 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22818 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22819 Specify type.
22820 [C99-based standards] (float_t): Expect type.
22821 [C99-based standards] (double_t): Expect type.
22822 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22823 type.
22824 [C99-based standards] (HUGE_VALL): Likewise.
22825 [C99-based standards] (INFINITY): Likewise.
22826 [C99-based standards] (NAN): Likewise.
22827 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22828 [C99-based standards] (FP_NAN): Likewise.
22829 [C99-based standards] (FP_NORMAL): Likewise.
22830 [C99-based standards] (FP_SUBNORMAL): Likewise.
22831 [C99-based standards] (FP_ZERO): Likewise.
22832 [C99-based standards] (FP_FAST_FMA): Use
22833 optional-macro-int-constant. Specify type. Require == 1.
22834 [C99-based standards] (FP_FAST_FMAF): Likewise.
22835 [C99-based standards] (FP_FAST_FMAL): Likewise.
22836 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22837 [C99-based standards] (FP_ILOGBNAN): Likewise.
22838 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22839 Specify type.
22840 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22841 [C99-based standards] (math_errhandling): Specify type.
22842 [ISO99 || ISO11] (signgam): Do not allow.
22843 [non-C99-based standards] (copysignf): Do not allow.
22844 [non-C99-based standards] (exp2f): Likewise.
22845 [non-C99-based standards] (log2f): Likewise.
22846 [non-C99-based standards] (modff): Allow.
22847 [non-C99-based standards] (erff): Do not allow.
22848 [non-C99-based standards] (erfcf): Likewise.
22849 [non-C99-based standards] (gammaf): Likewise.
22850 [non-C99-based standards] (hypotf): Likewise.
22851 [non-C99-based standards] (j0f): Likewise.
22852 [non-C99-based standards] (j1f): Likewise.
22853 [non-C99-based standards] (jnf): Likewise.
22854 [non-C99-based standards] (lgammaf): Likewise.
22855 [non-C99-based standards] (tgammaf): Likewise.
22856 [non-C99-based standards] (y0f): Likewise.
22857 [non-C99-based standards] (y1f): Likewise.
22858 [non-C99-based standards] (ynf): Likewise.
22859 [non-C99-based standards] (isnanf): Likewise.
22860 [non-C99-based standards] (acoshf): Likewise.
22861 [non-C99-based standards] (asinhf): Likewise.
22862 [non-C99-based standards] (atanhf): Likewise.
22863 [non-C99-based standards] (cbrtf): Likewise.
22864 [non-C99-based standards] (expm1f): Likewise.
22865 [non-C99-based standards] (ilogbf): Likewise.
22866 [non-C99-based standards] (log1pf): Likewise.
22867 [non-C99-based standards] (logbf): Likewise.
22868 [non-C99-based standards] (nextafterf): Likewise.
22869 [non-C99-based standards] (remainderf): Likewise.
22870 [non-C99-based standards] (rintf): Likewise.
22871 [non-C99-based standards] (scalbf): Likewise.
22872 [non-C99-based standards] (copysignl): Likewise.
22873 [non-C99-based standards] (exp2l): Likewise.
22874 [non-C99-based standards] (log2l): Likewise.
22875 [non-C99-based standards] (modfl): Allow.
22876 [non-C99-based standards] (erfl): Do not allow.
22877 [non-C99-based standards] (erfcl): Likewise.
22878 [non-C99-based standards] (gammal): Likewise.
22879 [non-C99-based standards] (hypotl): Likewise.
22880 [non-C99-based standards] (j0l): Likewise.
22881 [non-C99-based standards] (j1l): Likewise.
22882 [non-C99-based standards] (jnl): Likewise.
22883 [non-C99-based standards] (lgammal): Likewise.
22884 [non-C99-based standards] (tgammal): Likewise.
22885 [non-C99-based standards] (y0l): Likewise.
22886 [non-C99-based standards] (y1l): Likewise.
22887 [non-C99-based standards] (ynl): Likewise.
22888 [non-C99-based standards] (isnanl): Likewise.
22889 [non-C99-based standards] (acoshl): Likewise.
22890 [non-C99-based standards] (asinhl): Likewise.
22891 [non-C99-based standards] (atanhl): Likewise.
22892 [non-C99-based standards] (cbrtl): Likewise.
22893 [non-C99-based standards] (expm1l): Likewise.
22894 [non-C99-based standards] (ilogbl): Likewise.
22895 [non-C99-based standards] (log1pl): Likewise.
22896 [non-C99-based standards] (logbl): Likewise.
22897 [non-C99-based standards] (nextafterl): Likewise.
22898 [non-C99-based standards] (remainderl): Likewise.
22899 [non-C99-based standards] (rintl): Likewise.
22900 [non-C99-based standards] (scalbl): Likewise.
22901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22902 [non-C99-based standards] (FP_*): Do not allow.
22903 [C99-based standards] (FP_*): Change to
22904 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22905 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22906 allow.
22907 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22908 (SIG_ERR): Likewise.
22909 [X/Open-based standards] (SIG_HOLD): Likewise.
22910 (SIG_IGN): Likewise.
22911 (SIGABRT): Use macro-int-constant. Specify type. Require
22912 positive value.
22913 (SIGFPE): Likewise.
22914 (SIGILL): Likewise.
22915 (SIGINT): Likewise.
22916 (SIGSEGV): Likewise.
22917 (SIGTER): Likewise.
22918 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22919 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22920 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22921 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22922 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22923 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22924 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22925 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22926 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22927 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22928 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22929 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22930 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22931 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22932 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22933 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22934 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22935 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22936 [X/Open-based standards] (SIGTRAP): Likewise.
22937 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22938 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22939 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22940 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22941 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22942 allow.
22943
b9f1922d
IW
229442012-05-08 Ian Wienand <ianw@vmware.com>
22945
22946 [BZ #14080]
22947 * time/tzset.c (__tzset_parse_tz): Update default rules for
22948 daylight time changes in the Energy Policy Act of 2005.
22949
1db86e88
AJ
229502012-05-09 Andreas Jaeger <aj@suse.de>
22951
22952 [BZ #13983]
22953 * elf/ldconfig.c (parse_conf): Change string to make clear that
22954 ldconfig only issued a warning if ld.so.conf does not exist.
22955
dee4a4e3
DM
229562012-05-08 David S. Miller <davem@davemloft.net>
22957
ee0db190
DM
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22959 movxtod instead of popping the value on the stack.
22960
dee4a4e3
DM
22961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22962
6a43ec98
CD
229632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22964
22965 * config.h.in: Add HAVE_ARM_PCS_VFP.
22966
05c2c961
RMG
229672012-05-08 Roland Mc Grath <roland@hack.frob.com>
22968
bcfe3a54
ST
22969 [BZ #13979]
22970 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22971 checking but the checks are disabled for any reason.
05c2c961 22972
4b30f61a
L
229732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22974
22975 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22976 and ELF64_R_TYPE with ELFW(R_TYPE).
22977
eee2bc67
JM
229782012-05-08 Joseph Myers <joseph@codesourcery.com>
22979
7ea5391a
JM
22980 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22981 (ulimit): Likewise.
22982
eee2bc67
JM
22983 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22984 (settimeofday): Likewise.
22985
abb66a67
MF
229862012-05-08 Mike Frysinger <vapier@gentoo.org>
22987
22988 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22989 a struct th_u2 inside the union, and move tu_block/tu_code into
22990 a new th_u3 union of tu_block/tu_code inside of that. Move
22991 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22992 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22993 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22994 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22995 (th_stuff): Change to th_u1.tu_stuff.
22996 (th_data): Define.
22997 (th_msg): Change to th_u1.th_u2.tu_data.
22998
7f18b530
DM
229992012-05-07 David S. Miller <davem@davemloft.net>
23000
05760585
DM
23001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23002
7f18b530
DM
23003 [BZ #14074]
23004 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23005 (SETUP_PIC_REG): Use it.
23006 (SETUP_PIC_REG_LEAF): Use it.
23007
495fd99f
JM
230082012-05-07 Joseph Myers <joseph@codesourcery.com>
23009
23010 [BZ #13885]
23011 [BZ #13923]
23012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23013 USE_AS_EXPM1L.
23014 (EXPL_FINITE): Likewise.
23015 (FLDLOG): Likewise.
23016 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23017 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23018 e_expl.S.
23019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23020 USE_AS_EXPM1L.
23021 (EXPL_FINITE): Likewise.
23022 (FLDLOG): Likewise.
23023 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23024 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23025 e_expl.S.
23026 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23027 test of -max_value argument for long double.
23028 * sysdeps/i386/fpu/libm-test-ulps: Update.
23029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23030
6693d694
DM
230312012-05-06 David S. Miller <davem@davemloft.net>
23032
23033 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23034 quad soft-float symbols whose references which are compiler
23035 generated.
23036 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23037
6c23e11c
JM
230382012-05-06 Joseph Myers <joseph@codesourcery.com>
23039
d8b82cad
JM
23040 [BZ #13884]
23041 [BZ #13914]
23042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23043 USE_AS_EXP10L.
23044 (EXPL_FINITE): Likewise.
23045 (FLDLOG): Likewise.
23046 (c0): Likewise.
23047 (c1): Likewise.
23048 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23049 Adjust comments for base varying.
23050 (__expl_finite): Change alias to EXPL_FINITE.
23051 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23052 e_expl.S.
23053 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23054 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23055 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23056 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23058 USE_AS_EXP10L.
23059 (EXPL_FINITE): Likewise.
23060 (FLDLOG): Likewise.
23061 (c0): Likewise.
23062 (c1): Likewise.
23063 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23064 Adjust comments for base varying.
23065 (__expl_finite): Change alias to EXPL_FINITE.
23066 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23067 tests for bugs.
23068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23069
6c23e11c
JM
23070 [BZ #14064]
23071 * math/libm-test.inc (check_float_internal): Correct ulp
23072 calculation for subnormal expected results.
23073
29ba805c
AJ
230742012-05-06 Andreas Jaeger <aj@suse.de>
23075
23076 * Makeconfig (+math-flags): New, set to -frounding-math.
23077 (+cflags): Add +math-flags so that all of glibc gets compiled with
23078 it.
23079
23080 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23081
7b17aeda
JM
230822012-05-05 Joseph Myers <joseph@codesourcery.com>
23083
5779f134
JM
23084 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23085 Disable one test.
23086
41498f4d
JM
23087 [BZ #13787]
23088 [BZ #13922]
23089 [BZ #14036]
23090 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23091 (__ieee754_expl): Allow for and saturate large arguments.
23092 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23093 (u_threshold): Likewise.
23094 (__exp): Call __ieee754_exp before checking for overflow and
23095 underflow.
23096 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23097 (u_threshold): Likewise.
23098 (__expf): Call __ieee754_expf before checking for overflow and
23099 underflow.
23100 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23101 (u_threshold): Likewise.
23102 (__expl): Call __ieee754_expl before checking for overflow and
23103 underflow.
23104 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23105 (__ieee754_expl): Allow for and saturate large arguments.
23106 * math/libm-test.inc (exp_test): Add another test. Do not allow
23107 missing overflow exception on overflow.
23108 (expm1_test): Do not allow missing overflow exception on overflow.
23109
6698b8bf
JM
23110 * sysdeps/i386/fpu/e_expl.c: Move to ...
23111 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23112 rather than using inline asm.
23113 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23114 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23115 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23116
7b17aeda
JM
23117 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23118 (nice): Likewise.
23119 (poll): Likewise.
23120 (signal): Likewise.
23121 (time): Likewise.
23122 (times): Likewise.
23123
f7c85819
JM
231242012-05-04 Joseph Myers <joseph@codesourcery.com>
23125
23126 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23127 sysdeps/unix/common/syscalls.list.
23128 (fchmod): Likewise.
23129 (fchown): Likewise.
23130 (ftruncate): Likewise.
23131 (getrusage): Likewise.
23132 (gettimeofday): Likewise.
23133 (setpgid): Likewise.
23134 (setregid): Likewise.
23135 (setreuid): Likewise.
23136 (sigaction): Likewise.
23137 (truncate): Likewise.
23138 (vhangup): Likewise.
23139 * sysdeps/unix/common/syscalls.list: Remove file.
23140 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23141 * sysdeps/unix/sysv/linux/Implies: Likewise.
23142
336270d0
L
231432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23144
23145 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23147 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23148 Moved to ...
23149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23150 Here.
23151 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23152 to ...
23153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23154 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23155 to ...
23156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23157 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23158 to ...
23159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23160 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23161 to ...
23162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23163 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23164 to ...
23165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23166 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23167 to ...
23168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23169 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23170 to ...
23171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23172 Here.
23173 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23174 to ...
23175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23176 Here.
23177 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23178 to ...
23179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23180 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23181 Moved to ...
23182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23183 Here.
23184 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23185 to ...
23186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23187
d128e450
JM
231882012-05-04 Joseph Myers <joseph@codesourcery.com>
23189
fa8ee516
JM
23190 * sysdeps/unix/common/bits/dirent.h: Remove file.
23191 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23192
d128e450
JM
23193 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23194 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23195 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23196 * sysdeps/unix/bsd/isatty.c: Likewise.
23197 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23198 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23199 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23200
ff8faaf0 232012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23202
62881be4 23203 [BZ #13563]
31dc8730
AZ
23204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23205 long double comparison inaccuracies.
23206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23208
6fef930c
AS
232092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23210
23211 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23213
8f203e6c
JM
232142012-05-04 Joseph Myers <joseph@codesourcery.com>
23215
23216 [BZ #14049]
23217 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23218 nonzero digits before rounding a hex value.
23219 * stdlib/tst-strtod.c (tests): Add another test.
23220
5197d9c2
AK
232212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23222
23223 * sysdeps/s390/fpu/libm-test-ulps: Update.
23224
f0c1dedf
AJ
232252012-05-03 Andreas Jaeger <aj@suse.de>
23226
23227 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23228 does not get optimized out.
23229 (malloc_opt_barrier): New.
23230
a65ef2ae 232312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23232 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23233
2b942cb7 23234 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23235 intermediate file deletion.
2b942cb7 23236 (generated): Add .symlist files.
a65ef2ae 23237
54b71e02
JM
232382012-05-03 Joseph Myers <joseph@codesourcery.com>
23239
23240 [BZ #13775]
23241 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23242 Redirect under this condition.
23243 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23244 [__USE_GNU] (__dprintf_chk): Not under this condition.
23245 [__USE_GNU] (__vdprintf_chk): Likewise.
23246 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23247 under this condition.
23248 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23249 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23250 [__USE_XOPEN2K8] (vdprintf): Likewise.
23251 [__USE_GNU] (__dprintf_chk): Not under this condition.
23252 [__USE_GNU] (__vdprintf_chk): Likewise.
23253 [__USE_GNU] (dprintf): Likewise.
23254 [__USE_GNU] (vdprintf): Likewise.
23255
d3dfcc41
RM
232562012-05-03 Roland McGrath <roland@hack.frob.com>
23257
23258 * elf/Makefile (common-generated): Set this instead of generated for
23259 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23260 $(all-built-dso)-derived lists.
23261
7ac30cc5
AJ
232622012-05-03 Andreas Jaeger <aj@suse.de>
23263
0c51e550
AJ
23264 * sysdeps/i386/fpu/libm-test-ulps: Update.
23265
7ac30cc5
AJ
23266 * FAQ: Removed.
23267 * FAQ.in: Likewise.
23268 * scripts/gen-FAQ.pl: Likewise.
23269 * manual/install.texi (Installation): Point to online location of
23270 FAQ.
23271 * Makefile (files-for-dist): Remove FAQ.
23272 (FAQ): Remove.
23273
d4c2917f
AM
232742012-05-02 Allan McRae <allan@archlinux.org>
23275
23276 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23277 (LDFLAGS-reldepmod5.so): Likewise.
23278 (LDFLAGS-reldep6mod1.so): Likewise.
23279 (LDFLAGS-reldep6mod4.so): Likewise.
23280 (LDFLAGS-reldep8mod3.so): Likewise.
23281 (LDFLAGS-unload4mod1.so): Likewise.
23282 (LDFLAGS-unload4mod2.so): Likewise.
23283 (LDFLAGS-tst-initorder): Likewise.
23284 (LDFLAGS-tst-initordera2.so): Likewise.
23285 (LDFLAGS-tst-initordera3.so): Likewise.
23286 (LDFLAGS-tst-initordera4.so): Likewise.
23287 (LDFLAGS-tst-initorderb2.so): Likewise.
23288 (LDFLAGS-noload): Likewise.
23289 (LDFLAGS-next): Likewise.
23290 (LDFLAGS-order2mod1.so): Likewise.
23291 (LDFLAGS-order2mod2.so): Likewise.
23292 (LDFLAGS-tst-initorder2): Likewise.
23293 (LDFLAGS-tst-initorder2a.so): Likewise.
23294 (LDFLAGS-tst-initorder2b.so): Likewise.
23295 (LDFLAGS-tst-initorder2c.so): Likewise.
23296 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23297
d77f993f
DM
232982012-05-02 David S. Miller <davem@davemloft.net>
23299
23300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23301
171a70b4
PP
233022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23303
23304 [BZ #14055]
23305 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23306
0be196ad
AJ
233072012-05-02 Andreas Jaeger <aj@suse.de>
23308
23309 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23310 since we manipulate rounding mode.
23311 (CPPFLAGS-test-idouble.c): Likewise.
23312 (CPPFLAGS-test-ifloat.c): Likewise.
23313 (CFLAGS-test-ldouble.c): Likewise.
23314 (CFLAGS-test-double.c): Likewise.
23315 (CFLAGS-test-float.c): Likewise.
23316 (CFLAGS-test-misc.c): Likewise.
23317 (CFLAGS-test-test-fenv.c): Likewise.
23318
4f9d04aa
AZ
233192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23320
2b942cb7
RM
23321 [BZ #2550]
23322 [BZ #2570]
23323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23324 comparisons to determine direction to adjust input.
4f9d04aa 23325
82a79e7d
RM
233262012-05-01 Roland McGrath <roland@hack.frob.com>
23327
f5a01ca9
RM
23328 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23329 output to the target.
23330
90fe4186
RM
23331 * scripts/localplt.awk: New file.
23332 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23333 (check-localplt-CFLAGS): Variable removed.
23334 ($(all-built-dso:=.jmprel)): New static pattern rule.
23335 (generated): Add those targets.
23336 (localplt-built-dso): New variable.
23337 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23338
23339 * elf/check-localplt.c: File removed.
23340
82397ed6
RM
23341 * scripts/check-execstack.awk: New file.
23342 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23343 (check-execstack-CFLAGS): Variable removed.
23344 ($(objpfx)check-execstack.h): Target removed.
23345 ($(objpfx)execstack-default): New target.
23346 (generated): Add that instead of check-execstack.h.
23347 ($(all-built-dso:=.phdr)): New static pattern rule.
23348 (generated): Add those targets.
23349 * elf/check-execstack.c: File removed.
23350
82a79e7d
RM
23351 * scripts/check-textrel.awk: New file.
23352 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23353 (check-textrel-CFLAGS): Variable removed.
23354 (all-built-dso): Use := to define.o
23355 ($(all-built-dso:=.dyn)): New static pattern rule.
23356 (generated): Add those targets.
23357 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23358 * config.make.in (READELF): New substituted variable.
23359 * elf/check-textrel.c: File removed.
23360
62fde54f 233612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23362
615605c9
JM
23363 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23364 allow.
23365 * conform/data/ctype.h-data [C99-based standards] (isblank):
23366 Expect function.
23367 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23368 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23370 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23371 Specify type. Require positive value.
23372 (EILSEQ): Likewise.
23373 (ERANGE): Likewise.
23374 [ISO || POSIX] (EILSEQ): Do not expect.
23375 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23376 Specify type. Require positive value.
23377 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23378 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23379 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23380 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23381 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23382 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23383 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23384 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23385 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23386 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23387 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23388 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23389 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23390 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23391 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23392 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23393 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23394 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23395 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23396 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23397 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23398 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23399 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23400 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23401 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23402 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23403 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23404 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23405 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23406 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23407 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23408 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23409 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23410 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23411 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23412 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23413 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23414 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23415 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23416 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23417 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23418 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23419 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23420 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23421 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23422 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23423 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23424 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23425 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23426 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23427 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23428 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23429 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23430 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23431 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23432 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23433 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23434 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23435 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23436 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23437 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23438 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23439 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23440 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23441 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23442 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23443 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23444 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23445 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23446 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23447 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23448 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23449 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23450 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23451 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23452 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23453 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23454 Require >= 2.
23455 (FLT_ROUNDS): Expect as macro, not constant.
23456 (FLT_MANT_DIG): Use macro-int-constant.
23457 (DBL_MANT_DIG): Likewise.
23458 (LDBL_MANT_DIG): Likewise.
23459 (FLT_DIG): Likewise.
23460 (DBL_DIG): Likewise.
23461 (LDBL_DIG): Likewise.
23462 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23463 (DBL_MIN_EXP): Likewise.
23464 (LDBL_MIN_EXP): Likewise.
23465 (FLT_MAX_EXP): Use macro-int-constant.
23466 (DBL_MAX_EXP): Likewise.
23467 (LDBL_MAX_EXP): Likewise.
23468 (FLT_MAX_10_EXP): Likewise.
23469 (DBL_MAX_10_EXP): Likewise.
23470 (LDBL_MAX_10_EXP): Likewise.
23471 (FLT_MAX): Use macro-constant.
23472 (DBL_MAX): Likewise.
23473 (LDBL_MAX): Likewise.
23474 (FLT_EPSILON): Use macro-constant. Give upper bound.
23475 (DBL_EPSILON): Likewise.
23476 (LDBL_EPSILON): Likewise.
23477 (FLT_MIN): Likewise.
23478 (DBL_MIN): Likewise.
23479 (LDBL_MIN): Likewise.
23480 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23481 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23482 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23483 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23484 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23485 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23486 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23487 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23488 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23489 [ISO11] (FLT_TRUE_MIN): Likewise.
23490 [ISO11] (LDBL_TRUE_MIN): Likewise.
23491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23492 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23493 (SCHAR_MIN): Use macro-int-constant. Specify type.
23494 (SCHAR_MAX): Likewise.
23495 (UCHAR_MAX): Likewise.
23496 (CHAR_MIN): Likewise.
23497 (CHAR_MAX): Likewise.
23498 (MB_LEN_MAX): Use macro-int-constant.
23499 (SHRT_MIN): Use macro-int-constant. Specify type.
23500 (SHRT_MAX): Likewise.
23501 (USHRT_MAX): Likewise.
23502 (INT_MAX): Likewise.
23503 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23504 bound negative.
23505 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23506 bound with "U".
23507 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23508 bound with "L".
23509 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23510 bound negative. Suffix upper bound with "L".
23511 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23512 bound with "UL".
23513 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23514 Specify type.
23515 [C99-based standards] (LLONG_MAX): Likewise.
23516 [C99-based standards] (ULLONG_MAX): Likewise.
23517 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23518 == 0.
23519 [ISO11] (max_align_t): Require type.
23520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23521
c9140a62
JM
23522 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23523 from $CFLAGS, without defining away __attribute__ calls.
23524 (checknamespace): Use $CFLAGS_namespace.
23525
9af0bf29
JM
23526 * conform/conformtest.pl (@keywords): Only include C99 keywords
23527 for standards based on C99 or C11.
23528
343222a2
JM
23529 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23530 Disable tests.
23531 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23532 UNIX98]: Likewise.
23533
661f8cf0
JM
23534 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23535 usability of symbols in #if.
23536
ee74b9cb
JM
23537 * conform/conformtest.pl: If macro or constant types start
23538 "promoted:", expect the symbol to be of the following type
23539 promoted by the integer promotions.
62fde54f 23540
aafc49b3
JM
23541 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23542 in one place. Also handle "macro-constant".
23543
fefdf574
JM
23544 * conform/conformtest.pl: Only accept expected macro values with
23545 "==". Parse all "macro" lines in one place.
23546 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23547
f2d922fe
JM
23548 * conform/conformtest.pl: Handle braced types on "constant" lines
23549 instead of handling "typed-constant".
23550 * conform/data/signal.h-data: Use "constant" instead of
23551 "typed-constant".
23552
d22956c9
JM
23553 * conform/conformtest.pl: Handle "optional-" at start of lines in
23554 one place rather than duplicating several cases. Handle each
23555 format of "macro" line with initial "optional-".
23556
028e2e38
JM
23557 * conform/conformtest.pl: Only accept expected constant or
23558 optional-constant values with "==". Parse all "constant" lines in
23559 one place. Parse all "optional-constant" lines in one place.
23560 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23561 * conform/data/fmtmsg.h-data: Likewise.
23562 * conform/data/netinet/in.h-data: Likewise.
23563 * conform/data/tar.h-data: Likewise.
23564 * conform/data/limits.h-data: Use "==" form on "constant" and
23565 "optional-constant" lines.
23566
1b8f2850
JM
23567 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23568 Use -std=c99 for XOPEN2K.
23569 (@knownproblems): Remove.
23570 (newtoken): Don't check %isknown.
23571
a05a144b
JM
23572 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23573 Do not expect macro.
23574 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23575 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23576 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23577 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23578 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23579 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23580 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23581 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23582 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23583 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23584 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23585 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23586 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23587 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23588 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23589 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23590 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23591 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23592 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23593 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23594 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23595 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23596 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23597 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23598 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23599 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23600 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23601 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23602 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23603 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23604 [XPG3] (acosh): Likewise.
23605 [XPG3] (asinh): Likewise.
23606 [XPG3] (atanh): Likewise.
23607 [XPG3] (cbrt): Likewise.
23608 [XPG3] (expm1): Likewise.
23609 [XPG3] (ilogb): Likewise.
23610 [XPG3] (log1p): Likewise.
23611 [XPG3] (logb): Likewise.
23612 [XPG3] (nextafter): Likewise.
23613 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23614 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23615 [XPG3] (remainder): Likewise.
23616 [XPG3] (rint): Likewise.
23617 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23618 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23619 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23620 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23621 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23622 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23623 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23624 [UNIX98 || XOPEN2K] (scalb): Expect.
23625 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23626 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23627 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23628 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23629 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23630 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23631 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23632 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23633 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23634 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23635 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23636 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23637 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23638 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23639 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23640 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23641 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23642 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23643 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23644 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23645 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23646 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23647 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23648 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23649 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23650 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23651 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23652 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23653 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23654 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23655 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23656 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23657 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23658 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23659 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23660 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23661 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23662 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23663 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23664 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23665 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23666 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23667 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23668 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23669 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23670 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23671 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23672 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23673 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23674 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23675 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23676 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23677 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23678 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23679 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23680 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23681 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23682 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23683 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23684 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23685 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23686 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23687 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23688 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23689 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23690 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23691 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23692 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23693 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23694 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23695 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23696 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23697 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23698 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23699 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23700 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23701 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23702 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23703 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23704 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23705 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23706 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23707 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23708 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23709 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23710 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23711 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23712 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23713 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23714 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23715 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23716 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23717 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23718 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23719 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23720 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23721 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23722 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23723 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23724 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23725 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23726 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23727 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23728 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23729 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23730 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23731 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23732 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23733 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23734 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23735 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23736 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23737 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23738 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23739 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23740 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23741 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23742 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23743 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23744 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23745 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23746 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23747 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23748 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23749 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23750 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23751 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23752 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23753 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23754 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23755 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23756 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23757 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23758 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23759 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23760 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23761 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23762
73c5ebe3
JM
23763 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23764 _XOPEN_SOURCE_EXTENDED for XPG4.
23765
39c33b6c
JM
23766 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23767
62fde54f
JM
23768 * Makeconfig (localtime): Remove variable.
23769 (inst_localtime-file): Likewise.
23770
0741d64c
AS
237712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23772
23773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23774 Update.
23775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23776 Update.
23777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23778 Update.
23779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23780 Update.
23781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23782 Update.
23783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23784 Update.
23785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23786 Update.
23787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23788 Update.
23789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23790 Update.
23791
7cb029ee
JM
237922012-05-01 Joseph Myers <joseph@codesourcery.com>
23793
23794 [BZ #2550]
23795 [BZ #2570]
23796 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23797 comparisons to determine direction to adjust input.
23798 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23799 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23801 Likewise.
23802 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23803 Likewise.
23804 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23805 Likewise.
23806 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23807 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23808 Likewise.
23809 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23810 Likewise.
23811 * math/libm-test.inc (nexttoward_test): Add more tests.
23812
412bd966
AS
238132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23814
23815 [BZ #14040]
23816 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23817 in version GLIBC_2.1, not GLIBC_2.0.
23818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23819 Likewise.
23820
9568c0c2
JM
238212012-04-30 Joseph Myers <joseph@codesourcery.com>
23822
adfbc8ac
JM
23823 [BZ #13942]
23824 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23825 (1 - x) * (1 + x).
23826 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23827 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23828 * math/libm-test.inc (acos_test): Add more tests.
23829 (asin_test): Likewise.
23830 * sysdeps/i386/fpu/libm-test-ulps: Update.
23831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23832
5ba3cc69
JM
23833 [BZ #14034]
23834 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23835 of square root.
23836 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23837 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23838 * math/libm-test.inc (acos_test_tonearest): New function.
23839 (acos_test_towardzero): Likewise.
23840 (acos_test_downward): Likewise.
23841 (acos_test_upward): Likewise.
23842 (asin_test_tonearest): Likewise.
23843 (asin_test_towardzero): Likewise.
23844 (asin_test_downward): Likewise.
23845 (asin_test_upward): Likewise.
23846 (main): Call the new functions.
23847 * sysdeps/i386/fpu/libm-test-ulps: Update.
23848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23849
9568c0c2
JM
23850 [BZ #13884]
23851 [BZ #13924]
23852 * math/e_exp10.c: Include <float.h>.
23853 (__ieee754_exp10): Handle underflow here rather than multiplying
23854 large negative argument by M_LN10.
23855 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23856 of __ieee754_expf.
23857 * math/e_exp10l.c: Include <float.h>.
23858 (__ieee754_exp10l): Handle underflow here rather than multiplying
23859 large negative argument by M_LN10l.
23860 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23861 spurious overflow exception on underflow.
23862
5ac3ea17
MP
238632012-04-29 Marek Polacek <polacek@redhat.com>
23864
23865 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23866 (__fortify_function): New macro.
23867 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23868 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23869 __extern_always_inline.
23870 * libio/bits/stdio2.h: Likewise.
23871 * libio/bits/stdio.h: Likewise.
23872 * string/string.h: Likewise.
23873 * string/bits/string3.h: Likewise.
23874 * include/stdio.h: Likewise.
23875 * stdlib/bits/stdlib.h: Likewise.
23876 * stdlib/stdlib.h: Likewise.
23877 * rt/bits/mqueue2.h: Likewise.
23878 * rt/mqueue.h: Likewise.
23879 * posix/bits/unistd.h: Likewise.
23880 * posix/unistd.h: Likewise.
23881 * io/bits/poll2.h: Likewise.
23882 * io/bits/fcntl2.h: Likewise.
23883 * io/fcntl.h: Likewise.
23884 * io/sys/poll.h: Likewise.
23885 * misc/bits/syslog.h: Likewise.
23886 * misc/bits/syslog-ldbl.h: Likewise.
23887 * misc/sys/syslog.h: Likewise.
23888 * socket/bits/socket2.h: Likewise.
23889 * socket/sys/socket.h: Likewise.
23890 * debug/tst-chk1.c: Likewise.
23891 * wcsmbs/bits/wchar2.h: Likewise.
23892 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23893 * wcsmbs/wchar.h: Likewise.
23894
ecf0ebfb
AJ
238952012-04-29 Andreas Jaeger <aj@suse.de>
23896
23897 * Makerules (tests): Remove enable-check-abi protection.
23898 (check-abi-warn): Remove.
23899 (check-abi-%): Remove check-abi-warn usage.
23900
23901 * configure.in: Remove check-abi configure option.
23902 * configure: Regenerated.
23903 * config.make.in (enable-check-abi): Remove.
23904
6d5c57fa
AS
239052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23906
24c5d07e 23907 [BZ #14033]
ded5180a
AS
23908 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23909 double functions to double *_finite functions.
23910
7e0d315d
AS
23911 [BZ #13941]
23912 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23913 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23914 LDBL_MIN_EXP.
23915 * stdio-common/Makefile (tests): Add tst-sprintf3.
23916 * stdio-common/tst-sprintf3.c: New file.
23917
6d5c57fa
AS
23918 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23919 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23920
0749ff8b
JM
239212012-04-28 Joseph Myers <joseph@codesourcery.com>
23922
23923 * conform/conformtest.pl: Remove duplicate typed-constant
23924 handling.
23925
8dbd5d7b
DM
239262012-04-28 David S. Miller <davem@davemloft.net>
23927
23928 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23929 (check-abi-%): Remove AWK script prerequisite and explicit
23930 abilist directory.
23931 (check-abi): Rewrite to just diff the symlist with the abilist.
23932 (config-tls, config-abi-config): Delete, no longer used.
23933 (update-abi-%): Remove AWK script and explicit abilist directory.
23934 (update-abi): Rewrite to simply compare and conditionally copy the
23935 symlist and the sysdep abilist file. Remove update-abi-config
23936 checks.
23937 * abilist/ld.abilist: Remove.
23938 * abilist/libBrokenLocale.abilist: Remove.
23939 * abilist/libanl.abilist: Remove.
23940 * abilist/libcrypt.abilist: Remove.
23941 * abilist/libdl.abilist: Remove.
23942 * abilist/librt.abilist: Remove.
23943 * abilist/libthread_db.abilist: Remove.
23944 * abilist/libutil.abilist: Remove.
23945 * scripts/extract-abilist.awk: Remove.
23946 * scripts/merge-abilist.awk: Remove.
23947 * sysdeps/generic/libcidn.abilist: New file.
23948 * sysdeps/generic/libnss_compat.abilist: New file.
23949 * sysdeps/generic/libnss_db.abilist: New file.
23950 * sysdeps/generic/libnss_dns.abilist: New file.
23951 * sysdeps/generic/libnss_files.abilist: New file.
23952 * sysdeps/generic/libnss_hesiod.abilist: New file.
23953 * sysdeps/generic/libnss_nis.abilist: New file.
23954 * sysdeps/generic/libnss_nisplus.abilist: New file.
23955 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23956 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23957 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23958 file.
23959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23960 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23961 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23962 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23963 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23964 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23965 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23966 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23967 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23968 file.
23969 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23970 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23971 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23972 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23973 file.
23974 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23975 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23976 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23977 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23978 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23979 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23980 file.
23981 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23982 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23983 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23984 file.
23985 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23987 New file.
23988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23989 New file.
23990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23991 New file.
23992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23993 New file.
23994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23995 New file.
23996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23997 New file.
23998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23999 New file.
24000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24001 New file.
24002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24003 New file.
24004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24005 New file.
24006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24007 New file.
24008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24009 New file.
24010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24011 New file.
24012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24013 file.
24014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24015 New file.
24016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24017 New file.
24018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24019 file.
24020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24021 New file.
24022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24023 New file.
24024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24025 file.
24026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24027 New file.
24028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24029 New file.
24030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24031 New file.
24032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24033 New file.
24034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24035 New file.
24036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24037 New file.
24038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24040 file.
24041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24042 New file.
24043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24044 file.
24045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24046 file.
24047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24048 file.
24049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24050 file.
24051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24052 file.
24053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24054 New file.
24055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24056 file.
24057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24058 file.
24059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24060 New file.
24061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24062 file.
24063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24065 file.
24066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24067 New file.
24068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24069 file.
24070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24071 file.
24072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24073 file.
24074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24075 file.
24076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24077 file.
24078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24079 New file.
24080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24081 file.
24082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24083 file.
24084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24085 New file.
24086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24087 file.
24088 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24089 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24090 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24091 file.
24092 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24093 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24094 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24095 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24096 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24097 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24098 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24099 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24100 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24101 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24104 file.
24105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24106 New file.
24107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24108 file.
24109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24110 file.
24111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24112 file.
24113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24114 file.
24115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24116 file.
24117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24118 New file.
24119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24120 New file.
24121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24122 file.
24123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24124 New file.
24125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24126 file.
24127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24129 file.
24130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24131 New file.
24132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24133 file.
24134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24135 file.
24136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24137 file.
24138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24139 file.
24140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24141 file.
24142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24143 New file.
24144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24145 New file.
24146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24147 file.
24148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24149 New file.
24150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24151 file.
24152
41d73a1b
JM
241532012-04-28 Joseph Myers <joseph@codesourcery.com>
24154
24155 * conform/conformtest.pl: Fix typo in handling typed-constant from
24156 allow-header.
24157
28aeeda4
JM
241582012-04-27 Joseph Myers <joseph@codesourcery.com>
24159
adae8f5e
JM
24160 * README: Cut down references to pre-2.6 Linux kernels and
24161 Linuxthreads. Update lists of configurations in libc and ports
24162 and sort alphabetically. Say "or newer" with Linux kernel version
24163 requirements.
24164
28aeeda4
JM
24165 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24166
a462cb63
RA
241672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24168
24169 [BZ #887]
24170 * math/libm-test.inc (logb_test_downward): New test to expose
24171 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24172 rounding mode.
24173
6ad3493e
JM
241742012-04-27 Joseph Myers <joseph@codesourcery.com>
24175
24176 [BZ #14027]
24177 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24178 to be done.
24179 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24180 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24181
2ce4f015
JM
241822012-04-26 Joseph Myers <joseph@codesourcery.com>
24183
5aeb141a
JM
24184 * sysdeps/unix/i386/brk.S: Remove file.
24185 * sysdeps/unix/i386/dl-brk.S: Likewise.
24186 * sysdeps/unix/i386/pipe.S: Likewise.
24187 * sysdeps/unix/i386/sigreturn.S: Likewise.
24188 * sysdeps/unix/i386/syscall.S: Likewise.
24189 * sysdeps/unix/i386/vfork.S: Likewise.
24190 * sysdeps/unix/i386/wait.S: Likewise.
24191
7143acae
JM
24192 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24193 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24194
2ce4f015
JM
24195 * configure.in (arm*-none*): Do not allow without
24196 --enable-hacker-mode.
24197 (netbsd*): Remove case setting base_os.
24198 (386bsd*): Likewise.
24199 (freebsd*): Likewise.
24200 (bsdi*): Likewise.
24201 (osf*): Likewise.
24202 (sunos*): Likewise.
24203 (ultrix*): Likewise.
24204 (newsos*): Likewise.
24205 (dynix*): Likewise.
24206 (*bsd*): Likewise.
24207 (sysv*): Likewise.
24208 (isc*): Likewise.
24209 (esix*): Likewise.
24210 (sco*): Likewise.
24211 (minix*): Likewise.
24212 (irix4*): Likewise.
24213 (irix6*): Likewise.
24214 (solaris[2-9]*): Likewise.
24215 (none): Likewise.
24216 * configure: Regenerated.
24217
0ac229c8
AZ
242182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24219
24220 [BZ #11521]
24221 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24222 overflow or cancellation in calculating denominator.
24223 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24224 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24225 down expression to avoid unexpected rounding in newer GCCs.
24226 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24227
33f244f4
DM
242282012-04-26 David S. Miller <davem@davemloft.net>
24229
24230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24231 long-double compat symbols.
24232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24245
cfa1f3e8
DM
242462012-04-25 David S. Miller <davem@davemloft.net>
24247
24248 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24249 HWCAP_* values only after the memory barriers have been defined.
24250 (atomic_full_barrier): Define.
24251 (atomic_read_barrier): Define.
24252 (atomic_write_barrier): Define.
24253
6e236b92
SP
242542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24255
24256 * shlib-versions: Add libgcc_s version information.
24257 * sysdeps/generic/libgcc_s.h: Remove.
24258 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24259 libgcc_s.h.
24260 * sysdeps/gnu/unwind-resume.c: Likewise.
24261 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24262
aab39a09
DM
242632012-04-25 David S. Miller <davem@davemloft.net>
24264
24265 * sysdeps/unix/sparc/brk.S: Delete.
24266 * sysdeps/unix/sparc/dl-brk.S: Delete.
24267 * sysdeps/unix/sparc/pipe.S: Delete.
24268 * sysdeps/unix/sparc/sysdep.S: Delete.
24269 * sysdeps/unix/sparc/sysdep.h: Delete.
24270 * sysdeps/unix/sparc/vfork.S: Delete.
24271 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24272 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24274 ret_ERRVAL, r0, r1, MOVE): Define.
24275 (JUMPTARGET): Remove.
24276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24277 sysdeps/unix/sparc/sysdep.h
24278 (ENTRY, END): Remove.
24279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24280
a3cc4f48
JM
242812012-04-25 Joseph Myers <joseph@codesourcery.com>
24282
2ed8cda2
JM
24283 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24284 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24285 -DIS_IN_build.
24286
35d76d59
JM
24287 * timezone/README: Update upstream location and email address for
24288 tzcode and tzdata.
24289 * timezone/zdump.c: Update from tzcode 2012b.
24290 * timezone/zic.c: Likewise.
24291
a3cc4f48
JM
24292 * configure.in (libc_cv_as_needed): Remove test.
24293 * configure: Regenerated.
24294 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24295 conditional definition.
24296 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24297 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24298 * config.make.in (have-as-needed): Remove variable.
24299
ceab42c3
SP
243002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24301 Paul Pluzhnikov <ppluzhnikov@google.com>
24302
24303 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24304 strings correctly.
24305
3ce2865f
CLT
243062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24307
24308 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24309 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24310 * sysdeps/sh/strlen.S: Likewise.
24311
f37e0d68
JM
243122012-04-24 Joseph Myers <joseph@codesourcery.com>
24313
ae186e9a
JM
24314 * sysdeps/unix/fork.S: Remove file.
24315 * sysdeps/unix/i386/fork.S: Likewise.
24316 * sysdeps/unix/sparc/fork.S: Likewise.
24317
b96914af
JM
24318 * sysdeps/unix/system.c: Remove file.
24319 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24320
f37e0d68
JM
24321 * sysdeps/unix/getegid.S: Remove file.
24322 * sysdeps/unix/geteuid.S: Likewise.
24323
87ef29ca
RM
243242012-04-24 Roland McGrath <roland@hack.frob.com>
24325
83bcd236
RM
24326 * scripts/check-localplt.awk: New file.
24327 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24328 of diff.
24329 * scripts/data/localplt-generic.data: Add a comment.
24330
87ef29ca
RM
24331 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24332 NODE when __dir_mkfile failed.
24333 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24334 Reported by Ludovic Courtès <ludo@gnu.org>.
24335
e5a6e567
AJ
243362012-04-24 Andreas Jaeger <aj@suse.de>
24337
24338 * Makerules (common-clean): Also remove gen-as-const-headers
24339 files.
24340
c1820385
JM
243412012-04-24 Joseph Myers <joseph@codesourcery.com>
24342
24343 * Makerules (native-compile): Do not change working directory for
24344 build. Use $(OUTPUT_OPTION) in command.
24345 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24346
94e02fc4
AZ
243472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24348
24349 [BZ #13886]
24350 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24351 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24352 * math/libm-test.inc (floor_test): Add more tests.
24353 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24354
3a533ca3
JM
243552012-04-24 Joseph Myers <joseph@codesourcery.com>
24356
940ab4b3
JM
24357 * sysdeps/unix/getdents.c: Remove file.
24358 * sysdeps/unix/sysv/getdents.c: Likewise.
24359 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24360
90e037bd
JM
24361 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24362 sysdeps/unix/mman/syscalls.list.
24363 (mmap): Likewise.
24364 (mprotect): Likewise.
24365 (msync): Likewise.
24366 (munmap): Likewise.
24367 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24368 * sysdeps/unix/mman/syscalls.list: Remove.
24369 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24370
3a533ca3
JM
24371 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24372 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24373 * configure: Regenerated.
24374 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24375 $(libgcc_s_suffix).
24376 * config.make.in (libgcc_s_suffix): Remove variable.
24377
1ad743de
JM
243782012-04-23 Joseph Myers <joseph@codesourcery.com>
24379
4ad451e2
JM
24380 * sysdeps/unix/sysv/gethostname.c: Move to ...
24381 * sysdeps/posix/gethostname.c: ... here.
24382
5e37ce39
JM
24383 * sysdeps/unix/execve.S: Remove file.
24384
1ad743de
JM
24385 * sysdeps/unix/_exit.S: Remove file.
24386
4e681b5b
AJ
243872012-04-23 Andreas Jaeger <aj@suse.de>
24388
24389 [BZ #13739]
24390 * manual/Makefile: Remove make dist support, there's no
24391 need for a stand-alone documentation tar ball.
24392 (TEXI2DVI): Define always, it's not in Makeconfig.
24393 (dist): Removed.
24394 (tar-it): Removed.
24395 (edition): Removed.
24396 (glibc-doc-$(edition).tar): Removed
24397 (%.Z): Removed.
24398 (%.gz): Removed.
24399 (%.uu): Removed.
24400 (ETAGS): Remove, it's in Makeconfig.
24401 (move-if-change): Remove, it's in Makeconfig.
24402
38686a03 244032012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24404
24405 [BZ #13970]
24406 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24407 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24408 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24409 (strtod_l, strtof_l, strtold_l): Remove __wur.
24410 It is not necessarily an error to ignore strtol's return value.
24411 One can reliably look at the stored endptr to decide whether
24412 the number had valid syntax.
24413
7c0616fa
AJ
244142012-04-21 Andreas Jaeger <aj@suse.de>
24415
803cb6b7 24416 [BZ #13739]
7c0616fa
AJ
24417 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24418
b0fe253f
JM
244192012-04-21 Joseph Myers <joseph@codesourcery.com>
24420
24421 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24422 * sysdeps/unix/sysv/Versions: Remove file.
24423
8280f22d
MT
244242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24425
24426 [BZ #13927]
24427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24428
75ce411f 244292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24430
24431 [BZ #7064]
24432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24433 version from __vm86.
24434
097d59fa
JM
244352012-04-20 Joseph Myers <joseph@codesourcery.com>
24436
a90f3bcb
JM
24437 * sysdeps/unix/common/lxstat.c: Remove file.
24438 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24439
edc7ea78
JM
24440 * sysdeps/unix/sysv/Makefile: Remove file.
24441
cb78c221
JM
24442 * sysdeps/unix/sysv/direct.h: Remove file.
24443
efa6a45f
JM
24444 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24445 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24446 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24447 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24448 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24449 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24450 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24451
9c9f2d0c
JM
24452 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24453
4541c83b
JM
24454 * sysdeps/unix/xmknod.c: Remove file.
24455 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24456
f5d153a0
JM
24457 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24458
aa746595
JM
24459 * sysdeps/unix/sysv/i386/time.S: Remove file.
24460
cce5905e
JM
24461 * sysdeps/unix/fxstat.c: Remove file.
24462 * sysdeps/unix/xstat.c: Likewise.
24463 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24464
37fa3841
JM
24465 * sysdeps/unix/sysv/sigaction.c: Remove file.
24466
ff1962a3
JM
24467 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24468 (sysdep_headers): Remove variable.
24469 [termio.h not in sysdep_headers] (generated): Likewise.
24470 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24471 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24472 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24473 * sysdeps/unix/sysv/tcflow.c: Likewise.
24474 * sysdeps/unix/sysv/tcflush.c: Likewise.
24475 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24476 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24477 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24478 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24479 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24480
e7740d31
JM
24481 * sysdeps/unix/siglist.c: Remove file.
24482
ee06f18b
JM
24483 * sysdeps/unix/getppid.S: Remove file.
24484
097d59fa
JM
24485 * sysdeps/unix/mkdir.c: Remove file.
24486 * sysdeps/unix/rmdir.c: Likewise.
24487
ff3d51ec
AS
244882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24489
24490 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24491 ERR_MAX value.
24492 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24493 errlist-compat value.
24494
50f81fd7
DM
244952012-04-18 David S. Miller <davem@davemloft.net>
24496
24497 * sysdeps/generic/memcopy.h (reg_char): Delete.
24498 * debug/strcat_chk.c: Use char, not reg_char.
24499 * debug/strcpy_chk.c: Likewise.
24500 * debug/strncat_chk.c: Likewise.
24501 * debug/strncpy_chk.c: Likewise.
24502 * string/memchr.c: Likewise.
24503 * string/memrchr.c: Likewise.
24504 * string/rawmemchr.c: Likewise.
24505 * string/strcat.c: Likewise.
24506 * string/strchr.c: Likewise.
24507 * string/strchrnul.c: Likewise.
24508 * string/strcmp.c: Likewise.
24509 * string/strcpy.c: Likewise.
24510 * string/strncat.c: Likewise.
24511 * string/strncmp.c: Likewise.
24512 * string/strncpy.c: Likewise.
24513
8ff41c46
WS
245142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24515
24516 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24517 __builtin_memcopy is called when src and dest ranges are known to not
24518 overlap.
24519
6b652f46
WS
245202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24521
24522 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24523 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24524 fwd_align_merge macro call.
24525 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24526 bwd_align_merge macro call.
24527 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24528
b282631e
WS
245292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24530
24531 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24532 bwd_align_merge macros.
24533 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24534 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24535 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24536
95aa737c
DM
245372012-04-18 David S. Miller <davem@davemloft.net>
24538
24539 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24540
7a99a614
AJ
245412012-04-18 Andreas Jaeger <aj@suse.de>
24542
24543 [BZ# 6794]
24544 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24545 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24546 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24547
24548 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24549 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24550 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24551
24552 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24553 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24554 Adjust for changed ldbl-128 files.
24555
24556 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24557 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24558 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24559
e5270c23
DM
245602012-04-17 David S. Miller <davem@davemloft.net>
24561
24562 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24563
fb5e92c9
AS
245642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24565
24566 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24567 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24568 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24569 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24570 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24571 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24572
76da7265
AZ
245732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24574
24575 [BZ #6794]
24576 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24577 * math/libm-test.inc: Add ilogb errno and exception tests.
24578 * math/w_ilogb.c: New file: ilogb wrapper.
24579 * math/w_ilogbf.c: New file: ilogbf wrapper.
24580 * math/w_ilogbl.c: New file: ilogbl wrapper.
24581 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24582 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24583 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24584 exception being thrown with 0.0 as argument.
24585 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24586 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24587 exception being thrown with 0.0 as argument.
24588 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24589 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24590 exception being thrown with 0.0 as argument.
24591 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24592 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24593 exception being thrown with 0.0 as argument.
24594 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24595 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24596 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24597 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24598 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24599 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24600 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24601 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24602 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24603
0396e69d
PB
246042012-04-17 Petr Baudis <pasky@ucw.cz>
24605
24606 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24607 with altivec.
24608
750b5926
MP
246092012-04-16 Marek Polacek <polacek@redhat.com>
24610
24611 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24612
751728a1
MP
246132012-04-16 Marek Polacek <polacek@redhat.com>
24614
24615 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24616 operands of fdivp instruction.
24617
34a27407
L
246182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24619
24620 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24621 * elf/tst-auditmod3b.c: Likewise.
24622 * elf/tst-auditmod4b.c: Likewise.
24623 * elf/tst-auditmod5b.c: Likewise.
24624 * elf/tst-auditmod6b.c: Likewise.
24625 * elf/tst-auditmod6c.c: Likewise.
24626 * elf/tst-auditmod7b.c: Likewise.
24627 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24628 * sysdeps/x86_64/preconfigure.in: Likewise.
24629 * sysdeps/x86_64/preconfigure: Regenerated.
24630
7e73e17d
L
246312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24632
24633 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24634 __ILP32__.
24635
c7a6ab72
AB
246362012-04-13 Antoine Balestrat <merkil33@gmail.com>
24637
24638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24639 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24640
a9e8e0e0
CL
246412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24642
24643 [BZ #13973]
24644 * locale/iso-639.def: Fix gl language name. Spotted by
24645 Yaron Shahrabani.
24646
ec98af7d
RM
246472012-04-12 Roland McGrath <roland@hack.frob.com>
24648
24649 [BZ #2074]
24650 * libio/libio.h (__io_write_fn): Update comment.
24651
247c3ede
PB
246522012-04-12 Petr Baudis <pasky@ucw.cz>
24653
24654 [BZ #2074]
24655 * stdio.texi (Hook Functions): The user provided writer function
24656 is not allowed to return -1.
24657
55939d6d
DM
246582012-04-11 David S. Miller <davem@davemloft.net>
24659
24660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24661
90020f5a
MF
246622012-04-11 Mike Frysinger <vapier@gentoo.org>
24663
24664 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24665 Add a leading slash to rtkaio.
24666
288f9098
JM
246672012-04-11 Jim Meyering <meyering@redhat.com>
24668
90020f5a
MF
24669 [BZ #11959]
24670 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24671 It is not necessarily an error to ignore fwrite's return
24672 value. One can reliably use ferror to test for errors after
24673 the fact.
288f9098 24674
4be2b570
L
246752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24676
24677 * bits/types.h (__snseconds_t): New type.
24678 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24679
24680 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24682 (__SNSECONDS_T_TYPE): Likewise.
24683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24684 (__SNSECONDS_T_TYPE): Likewise.
24685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24686 (__SNSECONDS_T_TYPE): Likewise.
24687
288f9098 246882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24689
24690 [BZ #2636]
24691 * manual/time.texi (Processor Time): Return type of times is
24692 elapsed real time since an arbitrary point in the past.
24693 (CPU Time): Move CLK_TCK from here...
24694 (Processor Time): ...to here. Correct description.
24695 * manual/conf.texi (Constants for Sysconf): Correct description of
24696 _SC_CLK_TCK.
24697
d7dd4413
DM
246982012-04-10 David S. Miller <davem@davemloft.net>
24699
24700 [BZ #13967]
24701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24702 where the is a gap between DT_REL(A) and DT_JMPREL.
24703
b46068fc
L
247042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24705
24706 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24707 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24708 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24709
73d65cc3
SP
247102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24711
24712 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24713 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24714 (dl_main): Handle --inhibit-cache.
24715 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24716 _dl_inhibit_cache.
24717 * elf/dl-load.c (_dl_map_object): Use it.
24718 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24719
bcc8d661
JM
247202012-04-09 Joseph Myers <joseph@codesourcery.com>
24721
8f9a2fae
JM
24722 [BZ #13872]
24723 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24724 (__ieee754_powl): Saturate large exponents rather than testing for
24725 overflow of y*log2(x).
24726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24727 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24728 exceptions.
24729
bcc8d661
JM
24730 [BZ #11521]
24731 * math/s_ctan.c: Include <float.h>.
24732 (__ctan): Avoid internal overflow or cancellation in calculating
24733 denominator.
24734 * math/s_ctanf.c: Likewise.
24735 * math/s_ctanl.c: Likewise.
24736 * math/s_ctanh.c: Likewise.
24737 * math/s_ctanhf.c: Likewise.
24738 * math/s_ctanhl.c: Likewise.
24739 * math/libm-test.inc (ctan_test): Add more tests.
24740 (ctanh_test): Likewise.
24741 * sysdeps/i386/fpu/libm-test-ulps: Update.
24742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24743
823fbbb4
AJ
247442012-04-09 Andreas Jaeger <aj@suse.de>
24745
03879793
AJ
24746 [BZ #6894]
24747 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24748 is an optional BSD extension.
24749
823fbbb4
AJ
24750 [BZ #10254]
24751 * manual/stdio.texi (Opening Streams): Document additional fopen
24752 parameters.
24753
8de131cb
RM
247542012-04-09 Roland McGrath <roland@hack.frob.com>
24755
24756 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24757 %eax without telling the compiler.
24758
c0ed9d7d
CD
247592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24760
24761 [BZ # 13963]
24762 * manual/install.texi: Use sourceware.org.
24763
c483f6b4
JM
247642012-04-09 Joseph Myers <joseph@codesourcery.com>
24765
d7dd9453
JM
24766 [BZ #13873]
24767 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24768 (__ieee754_pow): Generate overflow and underflow using huge*huge
24769 and tiny*tiny rather than just returning constant infinity or zero
24770 for large exponents.
24771 * math/libm-test.inc (pow_test): Require overflow exceptions for
24772 applicable cases of large exponents.
24773
c483f6b4
JM
24774 [BZ #706]
24775 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24776 (__ieee754_pow): Use iterative multiplication algorithm only for
24777 integer exponents with absolute value below 1024. Check for odd
24778 integer exponents when using algorithm for real exponents.
24779 * math/libm-test.inc (pow_test): Add more tests.
24780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24781
d2de7579
JM
247822012-04-08 Joseph Myers <joseph@codesourcery.com>
24783
24784 [BZ #13705]
24785 * math/libm-test.inc (exp_test): Do not allow overflow exception
24786 on underflow test.
24787
f77f1232
AJ
247882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24789
24790 [BZ #13705]
24791 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24792 instead of __kernel_standard_f.
24793
3884932b
MF
247942012-04-08 Mike Frysinger <vapier@gentoo.org>
24795
24796 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24797 * sysdeps/x86_64/memset_chk.S: Likewise.
24798
54472e9c
AJ
247992012-04-08 Andreas Jaeger <aj@suse.de>
24800
6ab0fbfc
AJ
24801 [BZ #10153]
24802 * manual/startup.texi (Environment Access): Describe return value
24803 for putenv and setenv.
24804
61efba8c
AJ
24805 [BZ #6895]
24806 * manual/filesys.texi (Directory Entries): Add description for
24807 DT_LNK.
24808
95c3f29a
AJ
24809 [BZ #6890]
24810 * manual/filesys.texi (Directory Entries): Clarify that it's file
24811 system not operating system in the description of DT_UNKNOWN.
24812
54472e9c
AJ
24813 [BZ #6578]
24814 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24815
624254b1
SC
248162012-04-08 Stephen Compall <s11@member.fsf.org>
24817
24818 [BZ #6649]
24819 * manual/llio.texi (Opening and Closing Files): Add cross
24820 reference to explain mode argument.
24821
1e4920e0
MF
248222012-04-07 Mike Frysinger <vapier@gentoo.org>
24823
24824 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24825 * sysdeps/x86_64/memset_chk.S: Likewise.
24826
5ed848f3
DM
248272012-04-07 David S. Miller <davem@davemloft.net>
24828
24829 * elf/elf.h (R_SPARC_WDISP10): Define.
24830 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24831 R_SPARC_SIZE32.
24832 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24833 R_SPARC_SIZE64 and R_SPARC_H34.
24834
96154cd8
CD
248352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24836
24837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24838 conditions and remove no longer applicable assertion.
24839
9904dc47
L
248402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24841
24842 * bits/byteswap.h: Include <features.h>.
24843 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24844 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24845
f8887d0a
L
248462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24847
24848 * bits/byteswap.h (__bswap_16): Removed.
24849 Include <bits/byteswap-16.h> to get __bswap_16.
24850 * sysdeps/i386/bits/byteswap.h: Likewise.
24851 * sysdeps/s390/bits/byteswap.h: Likewise.
24852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24853 * bits/byteswap-16.h: New file.
24854 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24855 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24856 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24857 * string/Makefile (headers): Add bits/byteswap-16.h.
24858
62470f60
PP
248592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24860
24861 [BZ #13895]
24862 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24863 extra indirection.
24864 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24865 * nss/tst-nss-static.c: New.
24866
4dad7bab
RM
248672012-04-06 Robert Millan <rmh@gnu.org>
24868
24869 [BZ #6486]
24870 * manual/llio.texi (File Position Primitive): lseek
24871 refers to WHENCE when it really means OFFSET.
24872
e9142a17
AJ
248732012-04-06 Andreas Jaeger <aj@suse.de>
24874
2c040eff
AJ
24875 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24876 strncmp declarations.
24877
e9142a17
AJ
24878 * abilist/libc.abilist: Add __poll and __ppoll.
24879
ff9f1c5f
DM
248802012-04-05 David S. Miller <davem@davemloft.net>
24881
dcd2ae90
DM
24882 * scripts/check-local-headers.sh: Accept a host triplet in the
24883 path matched by the exclude regexp.
24884
993eb054
DM
24885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24886 definition.
24887 * sysdeps/powerpc/powerpc32/dl-machine.h
24888 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24889 * sysdeps/s390/s390-32/dl-machine.h
24890 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24891 * sysdeps/sparc/sparc32/dl-machine.h
24892 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24893 * sysdeps/sparc/sparc64/dl-machine.h
24894 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24895
ff9f1c5f
DM
24896 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24897 lazy binding.
48e2e132 24898 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24899 undefined symbol errors.
24900
48e2e132 24901 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24902 DT_NEEDED entries.
24903
e80d6f94
MM
249042012-04-05 Michael Matz <matz@suse.de>
24905
24906 [BZ #13592]
24907 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24908
349fa79f
AJ
249092012-04-05 Andreas Jaeger <aj@suse.de>
24910
24911 [BZ #13908]
24912 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24913 comment.
24914
f402708f
KK
249152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24916
24917 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24918 which ROUND is no valid rounding mode.
24919
2ecccfc9
KK
249202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24921
24922 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24923 read again.
24924 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24925
8a53f50f
KK
249262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24927
24928 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24929 an exception using FPU order intentionally.
24930
249312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24932
24933 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24934 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24935 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24936 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24937
d653abb7
SJ
249382012-04-05 Simon Josefsson <simon@josefsson.org>
24939
24940 [BZ #12340]
24941 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24942 EINVAL when BUFLEN is too smal.
24943
c3b1bf7d
TS
249442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24945
24946 [BZ #13553]
24947 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24948 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24949
b1aa60f3
AJ
249502012-04-03 Andreas Jaeger <aj@suse.de>
24951
c3b1bf7d 24952 [BZ #13938]
67f60a26
AJ
24953 * manual/setjmp.texi (System V contexts): Fix sentence.
24954
b1aa60f3
AJ
24955 [BZ #13926]
24956 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24957 New macro for this case.
24958 [!__GNUC__] (__bswap_64): New inline function for this case.
24959 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24960 * bits/byteswap.h: Likewise.
24961 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24962 ull, guard with __GLIBC_HAVE_LONG_LONG.
24963
24964 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24965 __GLIBC_HAVE_LONG_LONG.
24966
24967 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24968 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24969
39c59c35
TMQMF
249702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24971
24972 [BZ #13691]
24973 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24974 inptr and inend, rather than using last_ch.
24975
135ffda8
DM
249762012-04-02 David S. Miller <davem@davemloft.net>
24977
24978 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24979 * stdio-common/printf-parse.h (read_int): Change return type to
24980 'int', return -1 on INT_MAX overflow.
24981 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24982 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24983 overflows INT_MAX. Check for overflow of in-format-string precision
24984 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24985 SIZE_MAX not INT_MAX for integer overflow test.
24986 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24987 skip the construct in the format string but do not record anything.
24988 * stdio-common/bug22.c: Adjust to test both width/prevision
24989 INT_MAX overflow as well as total length INT_MAX overflow. Check
24990 explicitly for proper errno values.
24991
228c019e
TS
249922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24993
302cadd3
TS
24994 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24995 CHAR_MAX.
24996 * string/test-strcmp.c [! WIDE]: Likewise.
24997 * time/tst-mktime2.c: Likewise for INT_MAX.
24998 * string/test-string.h: #include <sys/param.h> for MIN.
24999
228c019e
TS
25000 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25001 * sysdeps/i386/init-first.c (init): Likewise.
25002 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25003 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25004 * sysdeps/sh/init-first.c (init): Likewise.
25005
cfa633f5
UD
250062012-04-01 Ulrich Drepper <drepper@gmail.com>
25007
25008 * po/ru.po: Update from translation team.
d1635ef8 25009 * po/vi.po: Likewise.
cfa633f5 25010
6cd0a5ea
SP
250112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25012
25013 * resolv/nss_dns/dns-host.c: Merge copyright years.
25014
4b43400f
LD
250152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25016
25017 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25018 Optimize memcpy with prefetch if
25019 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25020 src, dst pointers have unequal 16 byte alignments.
25021
48c41d04
SP
250222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25023
25024 [BZ #13928]
25025 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25026 from a CNAME entry and return the minimum ttl for the query.
25027 (gaih_getanswer_slice): Likewise.
25028
b8dc394d
JL
250292012-03-30 Jeff Law <law@redhat.com>
25030
25031 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25032 due to long keys.
25033 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25034 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25035
2f5a5ed0
JL
25036 * resolv/nss_dns/dns-host.c: Update copyright year.
25037
1d39e359
UD
250382012-03-30 Ulrich Drepper <drepper@gmail.com>
25039
c030f70c 25040 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25041 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25042
1d39e359
UD
25043 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25044 comments for sendmmsg.
25045
250462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25047
25048 [BZ #13691]
25049 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25050 with only 1 character between 0x0041 and 0x01b0.
25051 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25052 * wcsmbs/tst-mbsnrtowcs.c: New file.
25053
20fde227
DM
250542012-03-29 David S. Miller <davem@davemloft.net>
25055
25056 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25057 small copies by hand.
25058
984a4237
JL
250592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25060
25061 [BZ #13761]
25062 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25063 _nss_compat_initgroups_dyn): Fall back to malloc/free
25064 for large group memberships.
25065
18c9d62b
DM
250662012-03-28 David S. Miller <davem@davemloft.net>
25067
88d85d4f
DM
25068 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25069 that branches into memcpy.
25070 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25071 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25073 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25075 bits.
25076 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25077 implementation too.
25078 * sysdeps/sparc/mempcpy.S: New file.
25079
e5aa83e1
DM
25080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25081 the IFUNC routine in the libc case.
25082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25083
88570753
DM
25084 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25085 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25086 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25087 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25088 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25089 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25090 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25091 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25092
249d7567
DM
25093 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25094 loop to 256 bytes instead of 64 bytes and fix test signedness.
25095
18c9d62b
DM
25096 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25097 * sysdeps/sparc/sparc32/Makefile: rather than here...
25098 * sysdeps/sparc/sparc64/Makefile: and here.
25099
05f3d1f6
UD
251002012-03-28 Ulrich Drepper <drepper@gmail.com>
25101
25102 * malloc/mallocbug.c: Avoid warnings about unused variables.
25103
86ae07a8
JL
251042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25105
25106 [BZ #13760]
25107 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25108 in the right place. Discard and retry query if response is
25109 larger than input buffer size.
25110
41bf21a1
JM
251112012-03-28 Joseph Myers <joseph@codesourcery.com>
25112
d6270972
JM
25113 [BZ #369]
25114 [BZ #2678]
25115 [BZ #3866]
25116 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25117 x for large integer exponent.
25118 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25119 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25120 sign of result as needed afterwards.
25121 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25123 result for underflowing pow the same as for overflow.
25124 (__kernel_standard_l): Handle powl overflow and underflow here
25125 rather than calling __kernel_standard.
25126 * math/libm-test.inc (pow_test): Add more tests.
25127
414fca03 25128 [BZ #3868]
41bf21a1
JM
25129 [BZ #13879]
25130 [BZ #13910]
25131 [BZ #13911]
25132 [BZ #13912]
25133 [BZ #13913]
25134 [BZ #13915]
25135 [BZ #13916]
25136 [BZ #13917]
25137 [BZ #13918]
25138 [BZ #13919]
25139 [BZ #13920]
25140 [BZ #13921]
25141 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25142 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25143 (__kernel_standard_l): New function.
25144 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25145 __kernel_standard.
25146 * math/w_acosl.c (__acosl): Likewise.
25147 * math/w_asinl.c (__asinl): Likewise.
25148 * math/w_atan2l.c (__atan2l): Likewise.
25149 * math/w_atanhl.c (__atanhl): Likewise.
25150 * math/w_coshl.c (__coshl): Likewise.
25151 * math/w_exp10l.c (__exp10l): Likewise.
25152 * math/w_exp2l.c (__exp2l): Likewise.
25153 * math/w_fmodl.c (__fmodl): Likewise.
25154 * math/w_hypotl.c (__hypotl): Likewise.
25155 * math/w_j0l.c (__j0l, __y0l): Likewise.
25156 * math/w_j1l.c (__j1l, __y1l): Likewise.
25157 * math/w_jnl.c (__jnl, __ynl): Likewise.
25158 * math/w_lgammal.c (__lgammal): Likewise.
25159 * math/w_log10l.c (__log10l): Likewise.
25160 * math/w_log2l.c (__log2l): Likewise.
25161 * math/w_logl.c (__logl): Likewise.
25162 * math/w_powl.c (__powl): Likewise.
25163 * math/w_remainderl.c (__remainderl): Likewise.
25164 * math/w_scalbl.c (sysv_scalbl): Likewise.
25165 * math/w_sinhl.c (__sinhl): Likewise.
25166 * math/w_sqrtl.c (__sqrtl): Likewise.
25167 * math/w_tgammal.c (__tgammal): Likewise.
25168 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25169 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25170 * math/libm-test.inc (acos_test): Add more tests.
25171 (acosh_test): Likewise.
25172 (asin_test): Likewise.
25173 (atanh_test): Likewise.
25174 (exp_test): Likewise.
25175 (exp10_test): Likewise.
25176 (exp2_test): Likewise.
25177 (expm1_test): Likewise.
25178 (lgamma_test): Likewise.
25179 (log_test): Likewise.
25180 (log10_test): Likewise.
25181 (log1p_test): Likewise.
25182 (log2_test): Likewise.
25183 (pow_test): Do not allow some spurious overflow exceptions.
25184 (sqrt_test): Add more tests.
25185 (tgamma_test): Likewise.
25186 (y0_test): Likewise.
25187 (y1_test): Likewise.
25188 (yn_test): Likewise.
25189
dd62fda6
AB
251902012-03-27 Anton Blanchard <anton@samba.org>
25191
25192 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25193 MAP_HUGETLB.
25194 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25195 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25196 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25197
1e3cdfda
AJ
251982012-03-27 David S. Miller <davem@davemloft.net>
25199
b855ab85
DM
25200 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25201
1e3cdfda
AJ
25202 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25203 have-as-vis3 check.
25204
252052012-03-27 Andreas Jaeger <aj@suse.de>
25206
25207 * sysdeps/x86_64/elf/configure.in: Moved to ...
25208 * sysdeps/x86_64/configure.in: ... here.
25209 * sysdeps/x86_64/elf/start.S: Moved to ...
25210 * sysdeps/x86_64/start.S: ... here.
25211 * sysdeps/x86_64/elf/configure: Delete.
25212
25213 * sysdeps/x86_64/configure.in: Merge contents from
25214 sysdeps/i386/configure.in (without i686 check).
25215
25216 * sysdeps/i386/elf/Versions: Merge into ...
25217 * sysdeps/i386/Versions: ... this.
25218 * sysdeps/i386/elf/Versions: Delete file.
25219 * sysdeps/i386/elf/start.S: Moved to ...
25220 * sysdeps/i386/start.S: ...here.
25221 * sysdeps/i386/elf/configure.in: Merge into...
25222 * sysdeps/i386/configure.in: ...here.
25223 * sysdeps/i386/elf/configure.in: Delete file.
25224 * sysdeps/i386/elf/configure: Delete file.
25225
25226 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25227 * debug/backtracesyms.c: ... here.
25228 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25229 * debug/backtracesymsfd.c: ... here.
25230 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25231 * sysdeps/generic/ifunc-sel.h: ... here.
25232
25233 * sysdeps/unix/i386/start.c: Delete file.
25234 * sysdeps/unix/sparc/start.c: Delete file.
25235 * sysdeps/unix/start.c: Delete file.
25236
25237 * sysdeps/sh/elf/configure.in: Moved to ...
25238 * sysdeps/sh/configure.in: ... here.
25239 * sysdeps/sh/elf/start.S: Moved to ...
25240 * sysdeps/sh/start.S: ... here.
25241 * sysdeps/sh/elf/configure: Delete file.
25242
25243 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25244 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25245 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25246 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25247 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25248 * sysdeps/powerpc/powerpc64/start.S: here.
25249 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25250 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25251 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25252 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25253 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25254
25255 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25256 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25257 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25258 * sysdeps/powerpc/powerpc32/start.S: ... here.
25259 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25260 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25261 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25262
25263 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25264 * sysdeps/powerpc/ifunc-sel.h: ... here.
25265 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25266 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25267
25268 * sysdeps/sparc/elf/configure.in: Moved to ...
25269 * sysdeps/sparc/configure.in: ... here.
25270 * sysdeps/sparc/elf/configure: Delete file.
25271 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25272 * sysdeps/sparc/sparc32/start.S: ... here.
25273 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25274 * sysdeps/sparc/sparc64/start.S: ... here.
25275 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25276 * sysdeps/sparc/sparc32/Makefile: ... this.
25277 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25278 * sysdeps/sparc/sparc64/Makefile: ... this.
25279
25280 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25281 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25282 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25283 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25284 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25285 * sysdeps/s390/s390-32/setjmp.S: ... here.
25286 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25287 * sysdeps/s390/s390-32/configure.in: ... here.
25288 * sysdeps/s390/s390-32/elf/configure: Delete file.
25289 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25290 * sysdeps/s390/s390-32/start.S: ... here.
25291
25292 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25293 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25294 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25295 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25296 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25297 * sysdeps/s390/s390-64/setjmp.S: ... here.
25298 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25299 * sysdeps/s390/s390-64/configure.in: ... here
25300 * sysdeps/s390/s390-64/elf/configure: Delete file.
25301 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25302 * sysdeps/s390/s390-64/start.S: ... here.
25303 * sysdeps/s390/s390-64/elf/configure: Delete.
25304
25305 * configure.in: Remove support for elf directories in sysdeps.
25306
25307 * configure: Regenerated.
25308 * sysdeps/i386/configure: Regenerated.
25309 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25310 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25311 * sysdeps/s390/s390-32/configure: Regenerated.
25312 * sysdeps/s390/s390-64/configure: Regenerated.
25313 * sysdeps/sh/configure: Regenerated.
25314 * sysdeps/sparc/configure: Regenerated.
25315 * sysdeps/x86_64/configure: Regenerated.
25316
a3f61311
AS
253172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25318
c876e002
AS
25319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25320
a3f61311
AS
25321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25322 denormal result into account.
25323
ac4c54f0
RM
253242012-03-25 Roland McGrath <roland@hack.frob.com>
25325
25326 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25327 Reported by Allan McRae <allan@archlinux.org>.
25328
6a9b9c02
JL
253292012-03-23 Jeff Law <law@redhat.com>
25330
25331 * nss/getnssent.c (__nss_getent): Fix typo.
25332
4c42a0c1
DM
253332012-03-23 David S. Miller <davem@davemloft.net>
25334
25335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25336
1532c7ac
L
253372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25338
25339 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25340 to pad to uint64_t for each field.
25341 (dl_tls_index): Replace unsigned long with uint64_t.
25342
3ff42526
PP
253432012-03-23 Daniel Jacobowitz <dmj@google.com>
25344 Paul Pluzhnikov <ppluzhnikov@google.com>
25345
25346 [BZ #6528]
25347 * grp/Makefile (otherlibs): Don't set it.
25348 * inet/Makefile (otherlibs): Likewise.
25349 * login/Makefile (otherlibs): Likewise.
25350 * nscd/Makefile (otherlibs): Likewise.
25351 * posix/Makefile (otherlibs): Likewise.
25352 * pwd/Makefile (otherlibs): Likewise.
25353 * rt/Makefile (otherlibs): Likewise.
25354 * sunrpc/Makefile (otherlibs): Likewise.
25355 * nss/Makefile (otherlibs): Likewise.
25356 Add libnss_files to routines and static-only-routines.
25357 ($(objpfx)getent): Remove rule.
25358 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25359 static-only-routines.
25360
7c69cd14
JM
253612012-03-22 Joseph Myers <joseph@codesourcery.com>
25362
25363 [BZ #13892]
25364 * math/s_cexp.c: Include <float.h>.
25365 (__cexp): Handle exp result overflowing not necessarily
25366 overflowing both real and imaginary parts of result.
25367 * math/s_cexpf.c: Likewise.
25368 * math/s_cexpl.c: Likewise.
25369 * math/libm-test.inc (cexp_test): Add more tests.
25370 * sysdeps/i386/fpu/libm-test-ulps: Update.
25371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25372
81b035fe
L
253732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25374
25375 * include/link.h (ELFW): New macro.
25376 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25377 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25378
1da7940c
L
253792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25380
25381 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25382 with uint64_t.
25383
b749dbb9
L
253842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25385
25386 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25387 declaration.
25388 (struct La_x32_retval): Likewise.
25389
2ff87f3f
L
253902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25391
25392 * sysdeps/x86_64/preconfigure.in: New file.
25393 * sysdeps/x86_64/preconfigure: New generated file.
25394
c0df8e69
JM
253952012-03-22 Joseph Myers <joseph@codesourcery.com>
25396
48e44791
JM
25397 [BZ #13824]
25398 * math/e_exp2l.c: Include <float.h>.
25399 (__ieee754_exp2l): Handle overflow and underflow cases
25400 separately. Only pass fractional part of argument to
25401 __ieee754_expl.
25402 * math/libm-test.inc (exp2_test): Add more tests.
25403
c0df8e69
JM
25404 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25405 negating x to take absolute value.
25406 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25407 Likewise.
25408 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25410 Likewise.
25411 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25412 computing low part if x was negated.
25413 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25414
c8e43ba7
L
254152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25416
25417 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25418 la_x32_gnu_pltexit.
25419 (pltexit): Cast int_retval to ptrdiff_t.
25420 * elf/tst-auditmod3b.c: Likewise.
25421 * elf/tst-auditmod4b.c: Likewise.
25422 * elf/tst-auditmod5b.c: Likewise.
25423 * elf/tst-auditmod6b.c: Likewise.
25424 * elf/tst-auditmod6c.c: Likewise.
25425 * elf/tst-auditmod7b.c: Likewise.
25426
25427 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25428 and x32_gnu_pltexit.
25429
25430 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25431 __ELF_NATIVE_CLASS.
25432 (La_x32_regs): New macro.
25433 (La_x32_retval): Likewise.
25434 (la_x32_gnu_pltenter): New function prototype.
25435 (la_x32_gnu_pltexit): Likewise.
25436
7998fa78
AS
254372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25438
dcb33988
AS
25439 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25440 exponent.
25441
233fc563
AS
25442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25443
7998fa78
AS
25444 * configure.in (libc_cv_cc_nofma): Check for option to disable
25445 generation of FMA instructions.
25446 * configure: Regenerate.
25447 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25448 * sysdeps/ieee754/dbl-64/Makefile: New file.
25449 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25450 Remove brandred-fma4.
25451 (CFLAGS-brandred-fma4.c): Remove.
25452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25454 define.
25455 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25456 define.
25457
8e95c99a
L
254582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25459
25460 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25461 LLONG_MAX != LONG_MAX.
25462 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25463 (_fitoa_word): Likewise.
25464 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25465 LLONG_MAX != LONG_MAX.
25466 * stdio-common/_itowa.h: Include <_itoa.h>.
25467 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25468 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25469 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25470 only if not defined.
25471 (_ITOA_WORD_TYPE): Likewise.
25472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25473 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25474
6f4db457
DM
254752012-03-21 David S. Miller <davem@davemloft.net>
25476
25477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25478
7785fe5a
L
254792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25480
25481 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25482 of x86_64 when setting libc_cv_slibdir, libdir and
25483 libc_cv_localedir.
25484 * sysdeps/unix/sysv/linux/configure: Regenerated.
25485
4535cd55
JM
254862012-03-21 Joseph Myers <joseph@codesourcery.com>
25487
25488 * manual/lang.texi (Old Varargs): Remove section.
25489 (How Variadic): Update menu.
25490 (va_start): Do not mention varargs.h.
25491
17228132
TS
254922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25493 Joseph Myers <joseph@codesourcery.com>
25494
25495 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25496 link test.
25497 * configure: Regenerated.
25498
8149f976
TS
254992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25500
05f3d1f6
UD
25501 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25502 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25503 conformtest.pl
8149f976 25504
1a4ac776
JM
255052012-03-21 Joseph Myers <joseph@codesourcery.com>
25506
be22ce65
JM
25507 * NOTES: Remove.
25508 * Makefile (files-for-dist): Remove NOTES.
25509 (NOTES): Remove rule.
25510 * README: Don't refer to NOTES.
25511 * manual/creature.texi: Don't include macros.texi.
25512 * manual/intro.texi (creature.texi): Remove comment referring to
25513 NOTES.
25514
40b601fb
JM
25515 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25516 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25517 * configure: Regenerated.
25518 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25519 LIBC_TRY_CC_OPTION.
25520 (libc_cv_as_i686): Likewise.
25521 (libc_cv_cc_avx): Likewise.
25522 (libc_cv_cc_sse2avx): Likewise.
25523 (libc_cv_cc_fma4): Likewise.
25524 (libc_cv_cc_novzeroupper): Likewise.
25525 * sysdeps/i386/configure: Regenerated.
25526
1a4ac776
JM
25527 [BZ #13883]
25528 * sysdeps/i386/fpu/s_cexp.S: Remove.
25529 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25530 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25531 * math/libm-test.inc (cexp_test): Add more tests.
25532 * sysdeps/i386/fpu/libm-test-ulps: Update.
25533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25534
a458e7fe
AM
255352012-03-21 Allan McRae <allan@archlinux.org>
25536
25537 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25538
0cb7efc5
JM
255392012-03-21 Joseph Myers <joseph@codesourcery.com>
25540
25541 [BZ #13871]
25542 * math/w_exp2.c: Do not include <float.h>.
25543 (o_threshold, u_threshold): Remove.
25544 (__exp2): Calculate result before checking finiteness and calling
25545 __kernel_standard.
25546 * math/w_exp2f.c: Likewise.
25547 * math/w_exp2l.c: Likewise.
25548 * math/libm-test.inc (exp2_test): Require overflow exception for
25549 1e6 input.
2460d3aa
JM
25550
25551 [BZ #3866]
25552 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25553 range of signed 64-bit integers before using fistpll. Remove
25554 checks for whether integers fit in mantissa bits.
25555 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25556 the range of signed 32-bit integers before using fistpl. Remove
25557 checks for whether integers fit in mantissa bits.
25558 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25559 (__ieee754_powl): Test for y outside the range of signed 64-bit
25560 integers before using fistpll. Reduce 64-bit values to 63-bit
25561 ones as needed.
25562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25563 divide-by-zero is raised for zero to large negative powers.
25564 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25565 (__ieee754_powl): Test for y outside the range of signed 64-bit
25566 integers before using fistpll. Reduce 64-bit values to 63-bit
25567 ones as needed.
25568 * math/libm-test.inc (pow_test): Add more tests.
25569
eb96ffb0
L
255702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25571
25572 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25573 <stdio-common/_itoa.h>.
25574 * debug/segfault.c: Likewise.
25575 * elf/dl-cache.c: Likewise.
25576 * elf/dl-minimal.c: Likewise.
25577 * elf/dl-misc.c: Likewise.
25578 * elf/dl-sysdep.c: Likewise.
25579 * elf/dl-version.c: Likewise.
25580 * elf/rtld.c: Likewise.
25581 * hurd/hurdsock.c: Likewise.
25582 * hurd/lookup-retry.c: Likewise.
25583 * malloc/malloc.c: Likewise.
25584 * malloc/mtrace.c: Likewise.
25585 * nscd/nscd_getgr_r.c: Likewise.
25586 * nscd/nscd_getpw_r.c: Likewise.
25587 * nscd/nscd_getserv_r.c: Likewise.
25588 * posix/getopt_init.c: Likewise.
25589 * posix/wordexp.c: Likewise.
25590 * stdio-common/_itoa.c: Likewise.
25591 * stdio-common/printf_fphex.c: Likewise.
25592 * stdio-common/vfprintf.c: Likewise.
25593 * string/_strerror.c: Likewise.
25594 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25595 * sysdeps/i386/i686/hp-timing.h: Likewise.
25596 * sysdeps/mach/_strerror.c: Likewise.
25597 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25598 * sysdeps/mach/hurd/sethostid.c: Likewise.
25599 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25600 * sysdeps/mach/xpg-strerror.c: Likewise.
25601 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25602 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25603 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25604 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25605 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25606 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25607 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25608 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25609 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25610 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25611 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25612 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25613 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25614 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25615 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25616 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25617 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25618 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25619 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25620 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25621 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25622
25623 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25624
25625 * stdio-common/_itoa.h: Moved to ...
25626 * sysdeps/generic/_itoa.h: Here.
25627
25628 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25629
25630 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25631 instead of "_itoa.h" and "_itowa.h".
25632 * stdio-common/vfprintf.: Likewise.
25633
d1af992d
L
256342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25635
25636 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25637 <bits/wordsize.h>.
25638 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25639 (__signbit): Likwise.
25640 (llrintf): Likwise.
25641 (llrint): Likwise.
25642
114883e0
L
256432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25644
25645 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25646 __WORDSIZE != 64.
25647
c135cc1b
JM
256482012-03-20 Joseph Myers <joseph@codesourcery.com>
25649
25650 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25651 OVERFLOW_EXCEPTION_OK.
25652 * math/libm-test.inc ("Philosophy"): Update comment about
25653 exception testing.
25654 (OVERFLOW_EXCEPTION): Define.
25655 (OVERFLOW_EXCEPTION_OK): Likewise.
25656 (INVALID_EXCEPTION_OK): Renumber.
25657 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25658 (IGNORE_ZERO_INF_SIGN): Likewise.
25659 (test_exceptions): Handle FE_OVERFLOW.
25660 (exp10_test): Expect overflow exceptions.
25661 (exp2_test): Likewise.
25662 (expm1_test): Likewise.
25663 (nextafter_test): Likewise.
25664 (pow_test): Likewise.
25665 (scalbn_test): Likewise.
25666 (scalbln_test): Likewise.
25667
95443d88
L
256682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25669
25670 * sysdeps/x86_64/bits/atomic.h
25671 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25672 64bit integer.
25673 (atomic_exchange_acq): Likewise.
25674 (__arch_exchange_and_add_body): Likewise.
25675 (__arch_add_body): Likewise.
25676 (atomic_add_negative): Likewise.
25677 (atomic_add_zero): Likewise.
25678
490df6c4
L
256792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25680
c2722551 25681 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25682 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25683
5e52b189
L
256842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25685
25686 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25687 Check __x86_64__ instead of __WORDSIZE.
25688
a9879d4c
L
256892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25690
25691 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25692
5df98260
DM
256932012-03-19 David S. Miller <davem@davemloft.net>
25694
e1497744
DM
25695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25696
5df98260
DM
25697 * sysdeps/sparc/fpu/fenv_private.h: New file.
25698 * sysdeps/sparc/fpu/math_private.h: Use it.
25699 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25700 Remove.
25701 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25702 (libc_feholdexcept_setroundl): Remove.
25703 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25704 Remove.
25705 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25706 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25707
b4c35121
L
257082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25709
25710 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25711 int64_t instead of long int.
25712 (INSERT_WORDS64): Likwise.
25713
56965fd7
L
257142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25715
25716 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25717 _Unwind_GetCFA return to _Unwind_Ptr first.
25718
83d1aec8
JM
257192012-03-19 Joseph Myers <joseph@codesourcery.com>
25720
1897ad44
JM
25721 [BZ #13629]
25722 * math/s_clog.c: Include <float.h>.
25723 (__clog): Scale large or subnormal inputs.
25724 * math/s_clogf.c: Likewise.
25725 * math/s_clogl.c: Likewise.
25726 * math/s_clog10.c: Include <float.h>.
25727 (M_LOG10_2): Define.
25728 (__clog10): Scale large or subnormal inputs.
25729 * math/s_clog10f.c: Likewise.
25730 * math/s_clog10l.c: Likewise.
25731 * math/libm-test.inc (clog_test): Add more tests.
25732 (clog10_test): Likewise.
25733 * sysdeps/i386/fpu/libm-test-ulps: Update.
25734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25735
7726d6a9
JM
25736 [BZ #11451]
25737 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25738 x and y.
25739 * math/libm-test.inc (atan2_test): Add another test.
25740
83d1aec8
JM
25741 * Makerules (common-objdir-compile): Remove.
25742 * sysdeps/unix/Makefile (config-generated): Do not add
25743 $(unix-generated) to variable.
25744 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25745 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25746 Remove rule.
25747 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25748 Likewise.
25749 [generic bits/local_lim.h] (before-compile): Do not append to
25750 variable.
25751 [generic bits/local_lim.h] (common-generated): Likewise.
25752 [generic sys/param.h] (before-compile): Do not append to variable.
25753 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25754 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25755 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25756 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25757 include.
25758 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25759 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25760 [generic sys/param.h] ($(addprefix
25761 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25762 [generic sys/param.h] (common-generated): Do not append to
25763 variable.
25764 [generic sys/param.h] (sysdep_headers): Likewise.
25765 [generic bits/errno.h] (before-compile): Do not append to
25766 variable.
25767 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25768 rule.
25769 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25770 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25771 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25772 [generic bits/errno.h] (common-generated): Do not append to
25773 variable.
25774 [generic bits/ioctls.h] (before-compile): Do not append to
25775 variable.
25776 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25777 rule.
25778 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25779 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25780 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25781 rule.
25782 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25783 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25784 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25785 [generic bits/ioctls.h] (common-generated): Do not append to
25786 variable.
25787 [generic sys/syscall.h] (syscall.h): Remove variable.
25788 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25789 rule.
25790 [generic sys/syscall.h] (before-compile): Do not append to
25791 variable.
25792 [generic sys/syscall.h] (common-generated): Likewise.
25793 * sysdeps/unix/errnos-tmpl.c: Remove file.
25794 * sysdeps/unix/errnos.awk: Likewise.
25795 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25796 * sysdeps/unix/ioctls.awk: Likewise.
25797 * sysdeps/unix/mk-local_lim.c: Likewise.
25798 * sysdeps/unix/snarf-ioctls: Likewise.
25799
4851a949
RH
258002012-03-19 Richard Henderson <rth@twiddle.net>
25801
bd37f2ee
RH
25802 * sysdeps/i386/fpu/fenv_private.h: New file.
25803 * sysdeps/i386/fpu/math_private.h: Use it.
25804 (math_opt_barrier, math_force_eval): Remove.
25805 (libc_feholdexcept_setround_53bit): Remove.
25806 (libc_feupdateenv_53bit): Remove.
25807 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25808 (math_opt_barrier, math_force_eval): Remove.
25809 (libc_feholdexcept): Remove.
25810 (libc_feholdexcept_setround): Remove.
25811 (libc_fetestexcept, libc_fesetenv): Remove.
25812 (libc_feupdateenv_test): Remove.
25813 (libc_feupdateenv, libc_feholdsetround): Remove.
25814 (libc_feresetround): Remove.
25815
d0adc922
RH
25816 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25817 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25818
0fe0f1f8
RH
25819 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25820 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25821 (libc_feupdateenv_testl): New.
25822 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25823 (libc_feupdateenv_testf): New.
25824 (libc_feupdateenv): Use libc_feupdateenv_test.
25825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25827
eb92c487
RH
25828 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25829 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25830 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25831 (libc_feresetround_noex): New.
25832 (libc_feresetround_noexf): New.
25833 (libc_feresetround_noexl): New.
25834 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25835 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25836 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25837 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25838 SET_RESTORE_ROUND.
25839 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25840 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25841 (__cos): Likewise.
25842 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25843 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25844 SET_RESTORE_ROUND_NOEX.
25845 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25846 SET_RESTORE_ROUND_NOEXF.
25847 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25848 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25849 (libc_feholdsetroundf): New.
25850 (libc_feresetround, libc_feresetroundf): New.
25851
7d2e8012
RH
25852 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25853 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25854 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25855
b4dabbb4
RH
25856 * sysdeps/generic/math_private.h: Include <fenv.h>.
25857 (default_libc_feholdexcept): New.
25858 (default_libc_feholdexcept_setround): New.
25859 (default_libc_fesetenv, default_libc_feupdateenv): New.
25860 (libc_feholdexcept): Only define if undefined.
25861 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25862 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25863 (libc_feholdexcept_setroundl): Likewise.
25864 (libc_feholdexcept_setround_53bit): Likewise.
25865 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25866 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25867 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25868 (libc_feupdateenv_53bit): Likewise.
25869 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25870 (libc_feholdexcept): Convert from macro to inline function.
25871 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25872 (libc_fesetenv, libc_feupdateenv): Likewise.
25873
4851a949
RH
25874 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25875 not previously defined.
25876 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25877 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25878 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25879 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25880 * sysdeps/ieee754/flt-32/math_private.h: New file.
25881 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25882 math_private.h below SET_FLOAT_WORD.
25883 (__isnan, __isinf_ns, __finite): Remove.
25884 (__isnanf, __isinf_nsf, __finitef): Remove.
25885
e79d442e
AS
258862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25887
25888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25889
90b80344
DM
258902012-03-17 David S. Miller <davem@davemloft.net>
25891
25892 [BZ #6471]
25893 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25894 for 2.16.
25895
edc21804
DM
258962012-03-16 David S. Miller <davem@davemloft.net>
25897
77e927af
DM
25898 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25899 warnings.
25900
374976dd
DM
25901 [BZ #6471]
25902 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25903 properly.
25904 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25905 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25906 sysdep_routines when subdir is sysvipc.
25907 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25908 __getshmlba helper.
25909
edc21804
DM
25910 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25911
473c3ef3
L
259122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25913
25914 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25915 [__LP64__].
25916
eb0f39b6
L
259172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25918
25919 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25920 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25921 (__lround): Renamed to ...
25922 (__llround): This. Replace long int with long long int.
25923 Define lround functions as aliases of llround functions.
25924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25925
6b6cd74b
L
259262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25927
25928 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25929 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25930 adresses to uintptr_t. Replace "long int" and "unsigned long
25931 int" with "greg_t" on va_arg.
25932
f1a77b01
L
259332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25934
25935 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25936 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25937
25938 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25939 Move e_machine check before EI_CLASS check. Handle x32
25940 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25941 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25942 SKIP_EM_IA_64 and include
25943 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25944
25945 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25946 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25947 (add_system_dir): New macro.
25948
25949 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25950 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25951
11b90b9f
JM
259522012-03-16 Joseph Myers <joseph@codesourcery.com>
25953
c36e1d23
JM
25954 [BZ #2551]
25955 [BZ #2552]
25956 [BZ #2553]
25957 [BZ #2554]
25958 [BZ #2562]
25959 [BZ #2563]
25960 [BZ #2565]
25961 [BZ #2566]
25962 [BZ #2576]
25963 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25964 (y0): Likewise.
25965 * math/w_j0f.c (j0f): Likewise.
25966 (y0f): Likewise.
25967 * math/w_j0l.c (__j0l): Likewise.
25968 (__y0l): Likewise.
25969 * math/w_j1.c (j1): Likewise.
25970 (y1): Likewise.
25971 * math/w_j1f.c (j1f): Likewise.
25972 (y1f): Likewise.
25973 * math/w_j1l.c (__j1l): Likewise.
25974 (__y1l): Likewise.
25975 * math/w_jn.c (jn): Likewise.
25976 (yn): Likewise.
25977 * math/w_jnf.c (jnf): Likewise.
25978 (ynf): Likewise.
25979 * math/w_jnl.c (__jnl): Likewise.
25980 (__ynl): Likewise.
25981 * math/libm-test.inc (j0_test): Add more tests.
25982 (j1_test): Likewise.
25983 (jn_test): Likewise. Add trailing semicolon to existing test.
25984 (y0_test): Likewise.
25985 (y1_test): Likewise.
25986 * sysdeps/i386/fpu/libm-test-ulps: Update.
25987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25988
11b90b9f
JM
25989 [BZ #13851]
25990 [BZ #13854]
25991 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25992 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25993 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25994 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25995 (__tanl): Set errno for infinite argument.
25996 * sysdeps/i386/fpu/mptan.c: Remove.
25997 * sysdeps/i386/fpu/s_tan.S: Likewise.
25998 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25999 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26000 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26001 * math/libm-test.inc (tan_test): Add more tests and enable more
26002 tests for double and long double.
26003 * sysdeps/i386/fpu/libm-test-ulps: Update.
26004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26005
6a1bd2a1
JK
260062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26007
26008 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26009 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26010
10a803e0
RM
260112012-03-16 Roland McGrath <roland@hack.frob.com>
26012
26013 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26014 * configure.in: Use it for both main tree and add-ons.
26015 * configure: Regenerated.
26016
f196c7f7
L
260172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26018
26019 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26020
8848d99d
JM
260212012-03-16 Joseph Myers <joseph@codesourcery.com>
26022
96cbe7f4
JM
26023 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26024 in comment.
26025
8848d99d
JM
26026 [BZ #13851]
26027 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26028 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26029 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26030 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26031 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26032 infinite argument.
26033 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26034 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26035 != 0 for prec == 2.
26036 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26037 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26038 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26039 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26040 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26041 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26042 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26043 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26044 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26045 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26046 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26047 * math/libm-test.inc (cos_test): Add more tests and enable more
26048 tests for long double.
26049 (sin_test): Likewise.
26050 (sincos_test): Likewise.
26051 * sysdeps/i386/fpu/libm-test-ulps: Update.
26052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26053
dd7f4703
DM
260542012-03-16 David S. Miller <davem@davemloft.net>
26055
26056 * sysdeps/sparc/fpu/math_private.h: New file.
26057
006f1daa
DM
260582012-03-15 David S. Miller <davem@davemloft.net>
26059
c0c83bc8
DM
26060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26061 file.
e6a62e18 26062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26064 file.
e6a62e18
DM
26065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26071 sysdep routines.
26072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26073
88cb87d9
DM
26074 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26075 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26076
006f1daa 26077 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26079 sparc-ifunc.h
006f1daa 26080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26082 Likewise.
26083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26084 Likewise.
006f1daa
DM
26085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26089 Likewise.
006f1daa
DM
26090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26095 Likewise.
26096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26097 Likewise.
006f1daa
DM
26098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26104 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26122
11e0098e
AS
261232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26124
26125 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26126 scaling.
26127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26128
e85b09d0
AJ
261292012-03-15 Andreas Jaeger <aj@suse.de>
26130
26131 [BZ #13852]
26132 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26133 ieee754/flt-32 implementation for sin, cos and sincos.
26134 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26135 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26136 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26137 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26138 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26139 ieee754/flt-32 implementation for tan.
26140
26141 * math/libm-test.inc (cos_test): Enable some large input tests for
26142 float as well
26143 (sin_test): Likewise.
26144 (sincos_test): Likewise.
26145 (tan_test): Add tests for large input.
26146
26147 * sysdeps/i386/fpu/libm-test-ulps: Update.
26148
81c64153
AJ
261492012-03-15 Andreas Jaeger <aj@suse.de>
26150
26151 [BZ #13658]
26152 * math/libm-test.inc (cos_test): Add more test cases.
26153 (sin_test): Likewise.
26154 (sincos_test): Likewise.
26155
7bbfa5c6
AJ
261562012-03-15 Andreas Jaeger <aj@suse.de>
26157
26158 [BZ #13837]
26159 * math/libm-test.inc (cos_test): Add a test case for large input
26160 value.
26161 (sin_test): Likewise.
26162 (sincos_test): Likewise.
26163
261642012-03-15 Andreas Jaeger <aj@suse.de>,
26165 Joseph Myers <joseph@codesourcery.com>
26166
26167 [BZ #13658]
0671f479 26168 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26169 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26170 * sysdeps/i386/fpu/branred.c: Likewise.
26171 * sysdeps/i386/fpu/dosincos.c: Likewise.
26172 * sysdeps/i386/fpu/mpa.c: Likewise.
26173 * sysdeps/i386/fpu/s_cos.S: Likewise.
26174 * sysdeps/i386/fpu/s_sin.S: Likewise.
26175 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26176 * sysdeps/i386/fpu/sincos32.c: Likewise.
26177
26178 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26179 Define.
26180 (libc_feupdateenv_53bit): Define.
26181 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26182 Define.
26183 (libc_feupdateenv_53bit): Define.
26184
26185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26186 53 bit (without extend i386 double precision).
26187
26188 * math/libm-test.inc (sincos_test): Add tests for large input.
26189 (sin): Likewise.
26190 (cos): Likewise.
26191
26192 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26193
9cad04ea
AS
261942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26195
26196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26197
f7062b9a
DM
261982012-03-15 David S. Miller <davem@davemloft.net>
26199
26200 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26201 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26202 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26203 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26216 file.
f7062b9a 26217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26219 file.
f7062b9a 26220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26222 file.
f7062b9a 26223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26225 file.
f7062b9a
DM
26226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26228 fmin/fmax sysdep routines.
26229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26230
7bd951ff
DM
262312012-03-14 David S. Miller <davem@davemloft.net>
26232
559398ab
DM
26233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26261 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26262 routines.
26263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26264 file.
559398ab 26265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26267 file.
559398ab 26268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26270 file.
559398ab 26271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26273 file.
559398ab 26274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26276 file.
559398ab 26277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26279 file.
26280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26281 file.
26282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26283 file.
26284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26285 file.
26286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26287 New file.
26288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26289 file.
26290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26291 file.
559398ab 26292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26294 file.
559398ab 26295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26297 file.
559398ab 26298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26300 file.
559398ab 26301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26303 VIS3 routines.
559398ab
DM
26304
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26306 New file.
26307
5a1c1e32
DM
26308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26309
eae47a36
DM
26310 * sysdeps/sparc/configure.in: New file.
26311 * sysdeps/sparc/configure: Generate.
26312 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26313 * configure: Regenerate.
26314 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26315 * config.make.in (have-as-vis3): New.
26316 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26317 available use -Av9d instead of -Av9a.
26318 * sysdeps/sparc/sparc64/Makefile: Likewise.
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26321 New file.
26322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26323 file.
26324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26325 New file.
26326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26327 file.
eae47a36
DM
26328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26333
c0c83bc8
DM
26334 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26335 fzeros/fnegs to load 0x80000000 into a float register instead of
26336 using the stack.
7bd951ff
DM
26337 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26338
bd951ccb
JM
263392012-03-14 Joseph Myers <joseph@codesourcery.com>
26340
26341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26342 bits/syscall.h.
26343 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26344 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26345 ($(inst_includedir)/bits/syscall.h): Remove rule.
26346 ($(objpfx)bits/syscall.d): Include instead of
26347 $(objpfx)syscall-list.d.
26348 (generated): Change syscall-list.h and syscall-list.d to
26349 bits/syscall.h and bits/syscall.d.
26350
bb4e6db2
RM
263512012-03-14 Roland McGrath <roland@hack.frob.com>
26352
26353 [BZ #13846]
26354 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26355
aa4a2ae1
JM
263562012-03-14 Joseph Myers <joseph@codesourcery.com>
26357
e456826d
JM
26358 [BZ #13841]
26359 * math/s_csqrt.c: Include <float.h>.
26360 (__csqrt): Scale large or subnormal inputs.
26361 * math/s_csqrtf.c: Likewise.
26362 * math/s_csqrtl.c: Likewise.
26363 * math/libm-test.inc (csqrt_test): Add more tests.
26364 * sysdeps/i386/fpu/libm-test-ulps: Update.
26365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26366
aa4a2ae1
JM
26367 [BZ #13840]
26368 * math/libm-test.inc (hypot_test): Add more tests.
26369
7c10fd35
DM
263702012-03-13 David S. Miller <davem@davemloft.net>
26371
26372 [BZ #13840]
26373 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26374 double-precision for the calculation instead of scaling.
26375
f453b98b
JM
263762012-03-13 Joseph Myers <joseph@codesourcery.com>
26377
26378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26379 manipulate bits before adding and subtracting TWO52[sx].
26380 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26381 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26382 Likewise.
26383 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26384
09a3453f
DM
263852012-03-13 David S. Miller <davem@davemloft.net>
26386
8e59da90
DM
26387 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26388 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26390 rtld-global-offsets.h
26391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26392
2a8ab7f2
DM
26393 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26394 large parameters.
26395
10f62770
DM
26396 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26397
5f0bdb18
DM
26398 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26399 'err' in the ifdef scope in which it is actually used.
26400
09a3453f
DM
26401 * nss/nss_db/db-init.c: Include string.h
26402
b4b2eb5e
DM
264032012-03-12 David S. Miller <davem@davemloft.net>
26404
98bb2f1c
DM
26405 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26406 masking out of the most significant byte of random value used.
26407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26408 Fix coding style in previous change.
26409
b4b2eb5e
DM
26410 * sysdeps/unix/sysv/linux/kernel-features.h
26411 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26412 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26413 expression.
26414 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26415 later.
26416
6e226b09
DM
264172012-03-11 David S. Miller <davem@davemloft.net>
26418
a1bcbd40
DM
26419 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26420 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26421 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26422 for 'resultvar' otherwise things get truncated on 64-bit.
26423
cb9d6174
DM
26424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26425 Fix masking out of the most significant byte of random value used.
26426
6e226b09
DM
26427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26428
058c132d
AS
264292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26430
26431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26432
2d2cd515
DM
264332012-03-09 David S. Miller <davem@davemloft.net>
26434
26435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26436 variables with appropriate CPP guards.
26437 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26438 frame pointer, not the stack pointer. Correct layout comments. Fix test
26439 on resulting framesize and the management of the outregs buffer for pltexit.
26440 Preserve floating point return values across _dl_call_pltexit call.
26441 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26442 framesize and the management of the outregs buffer for pltexit.
26443 Preserve floating point return values across _dl_call_pltexit
26444 call.
26445 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26446 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26447 (print_exit): Fix format string for return register value.
26448
9a07f9d0
JM
264492012-03-10 Joseph Myers <joseph@codesourcery.com>
26450
26451 * sunrpc/Makefile (others): Add rpcgen.
26452 ($(objpfx)rpcgen): Remove special build rule and dependency on
26453 libc.
26454 * sunrpc/rpcgen.c: New file.
26455
547b5e30
PE
264562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26457
c524201a
PE
26458 [BZ #13673]
26459 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26460 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26461 * sysdeps/i386/crti.S: Likewise.
26462 * sysdeps/i386/crtn.S: Likewise.
26463 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26464 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26465 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26466 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26467 * sysdeps/sh/crti.S: Likewise.
26468 * sysdeps/sh/crtn.S: Likewise.
26469 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26470
7b6235f2
PE
26471 [BZ #13673]
26472 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26473 with URL.
26474 * locale/programs/locfile-kw.gperf: Likewise.
26475 * locale/programs/charmap-kw.h: Regenerated.
26476 * locale/programs/locfile-kw.h: Likewise.
26477
547b5e30
PE
26478 [BZ #13673]
26479 * intl/plural.y: Replace FSF snail mail address with URL.
26480 * intl/plural.c: Regenerated.
26481
5f0a5dae
RH
264822012-03-09 Richard Henderson <rth@twiddle.net>
26483
26484 * include/math_private.h: Remove file.
26485 * math/math_private.h: Move file ...
26486 * sysdeps/generic/math_private.h: ... here.
26487
b8c03620
RH
26488 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26489 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26490 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26491
4e234f5d 26492 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26493 and <math_private.h>.
26494 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26495 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26496 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26497 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26498 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26499 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26500 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26502 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26503 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26506 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26508 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26509 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26510 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26511 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26512 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26513 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26515 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26516 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26518 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26519 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26520 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26524 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26526 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26527 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26528 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26530 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26531 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26532 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26539 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26540 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26543 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26545 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26547 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26548 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26549 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26551 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26552 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26553 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26555 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26557 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26558 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26559 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26560 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26561 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26562 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26563 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26565 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26566 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26568 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26572 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26573 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26574 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26575 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26576 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26577 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26578 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26581 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26582 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26583 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26584 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26585 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26586 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26587 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26588 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26589 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26590 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26591 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26592 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26593 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26594 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26595 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26596 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26597 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26598 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26599 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26600 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26601 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26602 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26603 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26604 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26605 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26606 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26607 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26608 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26609 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26610 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26611 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26612 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26613 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26614 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26615 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26616 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26617 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26618 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26619 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26621 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26622 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26623 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26624 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26625 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26626 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26627 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26628 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26629 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26630 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26631 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26632 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26633 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26634 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26635 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26636 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26637 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26638 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26639 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26640 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26641 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26642 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26643 * sysdeps/ieee754/k_standard.c: Likewise.
26644 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26650 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26651 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26652 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26653 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26654 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26655 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26656 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26657 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26658 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26660 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26664 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26665 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26666 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26667 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26669 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26670 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26672 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26676 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26677 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26678 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26680 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26681 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26682 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26683 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26684 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26685 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26687 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26688 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26689 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26690 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26692 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26693 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26694 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26695 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26696 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26697 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26698 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26699 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26700 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26701 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26702 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26703 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26704 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26705 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26711 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26714 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26716 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26717 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26721 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26722 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26727 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26728 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26729 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26731 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26732 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26735 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26736 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26737 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26740 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26741 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26742 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26743 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26747 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26748 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26749 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26750 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26753 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26754 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26756 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26757 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26759 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26762 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26763 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26764 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26766 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26768 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26769 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26770 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26771 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26772 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26773 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26774 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26775 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26776 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26780 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26781 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26783 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26785 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26787 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26789 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26790 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26791 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26792 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26793 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26799 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26802 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26804 * sysdeps/ieee754/s_lib_version.c: Likewise.
26805 * sysdeps/ieee754/s_matherr.c: Likewise.
26806 * sysdeps/ieee754/s_signgam.c: Likewise.
26807 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26808 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26809 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26810 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26811 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26812 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26813 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26814 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26815 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26816 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26817 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26818 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26819 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26820 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26821 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26822 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26823 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26824 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26825 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26828
1991fa03
JM
268292012-03-09 Joseph Myers <joseph@codesourcery.com>
26830
26831 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26832 * sunrpc/rpc_main.c: Likewise.
26833 * sunrpc/rpc_svcout.c: Likewise.
26834
60d6f5a6
DM
268352012-03-09 David S. Miller <davem@davemloft.net>
26836
26837 * include/math_private.h: New file.
26838
4962050e
JM
268392012-03-09 Joseph Myers <joseph@codesourcery.com>
26840
02a6f887
JM
26841 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26842 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26843 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26844 from <bits/socket_type.h>.
26845 (enum __socket_type): Don't define here.
26846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26848 bits/socket_type.h.
26849
c6e013c1
JM
26850 [BZ #13566]
26851 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26852 checking __USE_GNU.
26853
4962050e
JM
26854 * Makerules ($(inst_includedir)/%.h): New rule.
26855 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26856 (install-others): Remove variable setting.
26857 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26858
38842f45
RH
268592012-03-08 Richard Henderson <rth@twiddle.net>
26860
67bb6da6
RH
26861 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26862 from macro to inline function; merge with the
26863 !__LIBC_INTERNAL_MATH_INLINES version.
26864 (__ieee754_sqrtf): Likewise.
26865
15194b4b
RH
26866 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26867 to inline function.
26868 (__rintf, __floor, __floorf): Likewise.
26869
64e21ede
RH
26870 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26871 macro to inline function.
26872 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26873
38842f45
RH
26874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26875 not <math/math_private.h>.
26876
c64bf5fe
DM
268772012-03-08 David S. Miller <davem@davemloft.net>
26878
26879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26880 copyright year.
26881 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26882
82d86f28
TS
268832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26884
26885 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26886 normalization.
26887 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26888 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26889
aea5d727
UD
268902012-03-08 Ulrich Drepper <drepper@gmail.com>
26891
26892 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26893 be defined individually, they must be defined as a block. Define
26894 S for printing a string instead of hidint the different by using a
26895 macro for adding the 'l'.
26896 * stdio-common/tst-fphex-wide.c: Adjust.
26897
70bca0a3
MP
268982012-03-07 Marek Polacek <polacek@redhat.com>
26899
26900 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26901
65b81130
MP
269022012-03-08 Marek Polacek <polacek@redhat.com>
26903
26904 [BZ #13806]
26905 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26906 * stdio-common/tst-fphex.c: Define a few macros to make the
26907 test reusable. Use them.
26908 * stdio-common/tst-fphex-wide.c: New file.
26909
07037eeb
JM
269102012-03-08 Joseph Myers <joseph@codesourcery.com>
26911
a7a93d50
JM
26912 [BZ #6911]
26913 * manual/macros.texi (gnusystems): New macro.
26914 (nongnusystems): Likewise.
26915 (gnulinuxhurdsystems): Likewise.
26916 (gnuhurdsystems): Likewise..
26917 (gnulinuxsystems): Likewise.
26918 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26919 variants of the GNU system, not "GNU system".
26920 * manual/conf.texi: Likewise.
26921 * manual/errno.texi: Likewise. Update example of errno macro
26922 expansion.
26923 * manual/filesys.texi: Likewise.
26924 (getumask): Document as specific to GNU/Hurd.
26925 * manual/install.texi: Likewise. Reword some references to
26926 GNU/Linux.
26927 * manual/intro.texi: Likewise.
26928 * manual/io.texi: Likewise.
26929 (File Name Portability): Detail which constraints are inapplicable
26930 to all GNU systems and which are only inapplicable to GNU/Hurd.
26931 * manual/job.texi: Likewise.
26932 * manual/llio.texi: Likewise.
26933 (O_NOCTTY): Document as present on GNU/Linux.
26934 * manual/maint.texi: Likewise.
26935 * manual/memory.texi: Likewise.
26936 * manual/pattern.texi: Likewise.
26937 * manual/pipe.texi: Likewise.
26938 * manual/process.texi: Likewise.
26939 * manual/resource.texi: Likewise.
26940 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26941 child on GNU/Hurd.
26942 * manual/setjmp.texi: Likewise.
26943 * manual/signal.texi: Likewise.
26944 * manual/startup.texi: Likewise.
26945 * manual/stdio.texi: Likewise.
26946 * manual/terminal.texi: Likewise.
26947 (ONLCR): Document as POSIX.
26948 (OXTABS): Document availability on GNU/Linux as XTABS.
26949 (ONOEOT): Document availability separately from other bits.
26950 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26951 * manual/time.texi: Likewise.
26952 * manual/users.texi: Likewise.
26953 * INSTALL: Regenerated.
26954 * sysdeps/gnu/errlist.c: Regenerated.
26955
07037eeb
JM
26956 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26957 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26958 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26959 puts.
26960 * configure: Regenerated.
26961
d1d3431a
JM
269622012-03-07 Joseph Myers <joseph@codesourcery.com>
26963
af6a1e37
JM
26964 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26965 default includes instead of AC_HEADER_CHECK.
26966 * sysdeps/i386/configure: Regenerated.
26967
d1d3431a
JM
26968 [BZ #10716]
26969 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26970 * math/s_cacoshf.c (__cacoshf): Likewise.
26971 * math/s_cacoshl.c (__cacoshl): Likewise.
26972 * math/s_casinh.c (__casinh): Set signs of result from argument.
26973 * math/s_casinhf.c (__casinhf): Likewise.
26974 * math/s_casinhl.c (__casinhl): Likewise.
26975 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26976 (casinh_test): Add more tests.
26977 * sysdeps/i386/fpu/libm-test-ulps: Update.
26978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26979
482ff4da
UD
269802012-03-07 Ulrich Drepper <drepper@gmail.com>
26981
872fda05
UD
26982 * po/zh_TW.po: Update from translation team.
26983
a4300c7a
UD
26984 * login/Makefile (distribute): Remove variable.
26985 * catgets/Makefile: Likewise.
26986 * mach/Makefile: Likewise.
26987 * malloc/Makefile: Likewise.
26988 * misc/Makefile: Likewise.
26989 * iconv/Makefile: Likewise.
26990 * nscd/Makefile: Likewise.
26991 * hurd/Makefile: Likewise.
26992 * manual/Makefile: Likewise.
26993 * locale/Makefile: Likewise.
26994 * intl/Makefile: Likewise.
26995 * conform/Makefile: Likewise.
26996 * nss/Makefile: Likewise.
26997 * time/Makefile: Likewise.
26998 * soft-fp/Makefile: Likewise.
26999 * dirent/Makefile: Likewise.
27000 * gmon/Makefile: Likewise.
27001 * po/Makefile: Likewise.
27002 * rt/Makefile: Likewise.
27003 * socket/Makefile: Likewise.
27004 * math/Makefile: Likewise.
27005 * signal/Makefile: Likewise.
27006 * debug/Makefile: Likewise.
27007 * elf/Makefile: Likewise.
27008 * timezone/Makefile: Likewise.
27009 * stdlib/Makefile: Likewise.
27010 * iconvdata/Makefile: Likewise.
27011 * sunrpc/Makefile: Likewise.
27012 * io/Makefile: Likewise.
27013 * argp/Makefile: Likewise.
27014 * inet/Makefile: Likewise.
27015 * hesiod/Makefile: Likewise.
27016 * grp/Makefile: Likewise.
27017 * csu/Makefile: Likewise.
27018 * wctype/Makefile: Likewise.
27019 * crypt/Makefile: Likewise.
27020 * libio/Makefile: Likewise.
27021 * string/Makefile: Likewise.
27022 * nis/Makefile: Likewise.
27023 * resolv/Makefile: Likewise.
27024 * stdio-common/Makefile: Likewise.
27025 * wcsmbs/Makefile: Likewise.
27026 * dlfcn/Makefile: Likewise.
27027 * posix/Makefile: Likewise.
27028
3b7c4e74 27029 [BZ #6959]
482ff4da
UD
27030 * timezone/Makefile: Don't install timezone files, just the programs
27031 and scripts.
27032
f72ed77d
UD
270332012-03-06 Ulrich Drepper <drepper@gmail.com>
27034
a000466f
UD
27035 * nss/databases.def: Add missing gshadow entry.
27036
f72ed77d
UD
27037 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27038
a53b7a4e
MP
270392012-03-06 Marek Polacek <polacek@redhat.com>
27040
27041 [BZ #13726]
27042 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27043 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27044 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27045 * stdio-common/tst-long-dbl-fphex.c: New file.
27046
e9258400
DM
270472012-03-06 David S. Miller <davem@davemloft.net>
27048
27049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27050 (set_obp_int): New function.
27051 (get_obp_int): New function.
27052 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27054 Avoid unused variable warnings on 'val' and use builtin_expect.
27055 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27056 __builtin_expect.
e9258400
DM
27057 (INLINE_CLONE_SYSCALL): Likewise.
27058
3bd2c723
DM
270592012-03-05 David S. Miller <davem@davemloft.net>
27060
27061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27062
bbb78d03
AS
270632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27064
884c5db4
AS
27065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27066
bbb78d03
AS
27067 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27068 only for |x| >= 40.
27069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27070
1c9f702a 270712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27072
27073 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27074 Replace gettimeofday with __vdso_gettimeofday.
27075
7be16f82
RM
27076 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27077 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27078 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27079
27080 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27081 time with __vdso_time.
27082
ed58a00f
JM
270832012-03-05 Joseph Myers <joseph@codesourcery.com>
27084
27085 * manual/lang.texi (size_t): Note types to which size_t may be
27086 equivalent with the GNU C Library, but do not describe when
27087 differences between them are significant.
27088
30ee4ced
AJ
270892012-03-05 Andreas Jaeger <aj@suse.de>
27090
27091 * sysdeps/i386/fpu/libm-test-ulps: Update.
27092
b7cd39e8
JM
270932012-03-05 Joseph Myers <joseph@codesourcery.com>
27094
27095 [BZ #3976]
27096 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27097 (__ieee754_pow): Save and restore rounding mode and use
27098 round-to-nearest for main computations.
27099 * math/libm-test.inc (pow_test_tonearest): New function.
27100 (pow_test_towardzero): Likewise.
27101 (pow_test_downward): Likewise.
27102 (pow_test_upward): Likewise.
27103 (main): Call the new functions.
27104 * sysdeps/i386/fpu/libm-test-ulps: Update.
27105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27106
27107 [BZ #3976]
27108 * math/libm-test.inc (cosh_test_tonearest): New function.
27109 (cosh_test_towardzero): Likewise.
27110 (cosh_test_downward): Likewise.
27111 (cosh_test_upward): Likewise.
27112 (sinh_test_tonearest): Likewise.
27113 (sinh_test_towardzero): Likewise.
27114 (sinh_test_downward): Likewise.
27115 (sinh_test_upward): Likewise.
27116 (main): Call the new functions.
27117 * sysdeps/i386/fpu/libm-test-ulps: Update.
27118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27119
6c6a98c9
TV
271202012-03-05 Tom de Vries <tom@codesourcery.com>
27121
27122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27123 default stack guard is set in last bytes.
27124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27125
21bb2d2e 271262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27127
21bb2d2e 27128 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27129
21bb2d2e
AJ
27130 [BZ #13656]
27131 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27132 possibly allocate from heap instead of stack.
27133 * stdio-common/bug-vfprintf-nargs.c: New file.
27134 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27135
c6922934
AS
271362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27137
27138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27139
bc957d53
MP
271402012-03-03 Marek Polacek <polacek@redhat.com>
27141
27142 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27143 * math/math_private.h: Likewise.
27144 * stdlib/tst-strtod.c: Likewise.
27145 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27146 * sysdeps/x86_64/bits/atomic.h: Likewise.
27147
6358490d
DM
271482012-03-02 David S. Miller <davem@davemloft.net>
27149
27150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27154 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27155 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27156 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27157 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27158
01ae168d
RM
271592012-03-02 Roland McGrath <roland@hack.frob.com>
27160
d9a17c07
RM
27161 [BZ #13792]
27162 * manual/examples/README: New file, says the example source files
27163 can be used under GPL>=2.
27164 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27165 line containing just "*/".
27166 * manual/examples/add.c: Add copyright header (GPL>=2).
27167 * manual/examples/argp-ex1.c: Likewise.
27168 * manual/examples/argp-ex2.c: Likewise.
27169 * manual/examples/argp-ex3.c: Likewise.
27170 * manual/examples/argp-ex4.c: Likewise.
27171 * manual/examples/atexit.c: Likewise.
27172 * manual/examples/db.c: Likewise.
27173 * manual/examples/dir.c: Likewise.
27174 * manual/examples/dir2.c: Likewise.
27175 * manual/examples/execinfo.c: Likewise.
27176 * manual/examples/filecli.c: Likewise.
27177 * manual/examples/filesrv.c: Likewise.
27178 * manual/examples/fmtmsgexpl.c: Likewise.
27179 * manual/examples/genpass.c: Likewise.
27180 * manual/examples/inetcli.c: Likewise.
27181 * manual/examples/inetsrv.c: Likewise.
27182 * manual/examples/isockad.c: Likewise.
27183 * manual/examples/longopt.c: Likewise.
27184 * manual/examples/memopen.c: Likewise.
27185 * manual/examples/memstrm.c: Likewise.
27186 * manual/examples/mkfsock.c: Likewise.
27187 * manual/examples/mkisock.c: Likewise.
27188 * manual/examples/mygetpass.c: Likewise.
27189 * manual/examples/pipe.c: Likewise.
27190 * manual/examples/popen.c: Likewise.
27191 * manual/examples/rprintf.c: Likewise.
27192 * manual/examples/search.c: Likewise.
27193 * manual/examples/select.c: Likewise.
27194 * manual/examples/setjmp.c: Likewise.
27195 * manual/examples/sigh1.c: Likewise.
27196 * manual/examples/sigusr.c: Likewise.
27197 * manual/examples/stpcpy.c: Likewise.
27198 * manual/examples/strdupa.c: Likewise.
27199 * manual/examples/strftim.c: Likewise.
27200 * manual/examples/strncat.c: Likewise.
27201 * manual/examples/subopt.c: Likewise.
27202 * manual/examples/swapcontext.c: Likewise.
27203 * manual/examples/termios.c: Likewise.
27204 * manual/examples/testopt.c: Likewise.
27205 * manual/examples/testpass.c: Likewise.
27206 * manual/examples/timeval_subtract.c: Likewise.
27207
01ae168d
RM
27208 [BZ #13792]
27209 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27210 function to ...
27211 * manual/timeval_subtract.c.texi: ... here, new file.
27212
49efa33d
DM
272132012-03-02 David S. Miller <davem@davemloft.net>
27214
27215 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27216
28afd92d
JM
272172012-03-02 Joseph Myers <joseph@codesourcery.com>
27218
804360ed
JM
27219 [BZ #3976]
27220 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27221 (__sin): Save and restore rounding mode and use round-to-nearest
27222 for all computations.
27223 (__cos): Save and restore rounding mode and use round-to-nearest
27224 for all computations.
27225 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27226 <fenv.h>.
27227 (tan): Save and restore rounding mode and use round-to-nearest for
27228 all computations.
27229 * math/libm-test.inc (cos_test_tonearest): New function.
27230 (cos_test_towardzero): Likewise.
27231 (cos_test_downward): Likewise.
27232 (cos_test_upward): Likewise.
27233 (sin_test_tonearest): Likewise.
27234 (sin_test_towardzero): Likewise.
27235 (sin_test_downward): Likewise.
27236 (sin_test_upward): Likewise.
27237 (tan_test_tonearest): Likewise.
27238 (tan_test_towardzero): Likewise.
27239 (tan_test_downward): Likewise.
27240 (tan_test_upward): Likewise.
27241 (main): Call the new functions.
27242 * sysdeps/i386/fpu/libm-test-ulps: Update.
27243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27244
a6d06d7b
JM
27245 [BZ #10135]
27246 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27247 small n, then large n, before computing and testing k+n.
27248 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27250 Likewise.
27251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27252 Likewise.
27253 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27254 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27256 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27259 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27260 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27261 * math/libm-test.inc (scalbn_test): Add more tests.
27262 (scalbln_test): Likewise.
27263
07e12bb3
JM
27264 * manual/filesys.texi (mode_t): Describe constraints on size and
27265 signedness, not exact equivalence to a particular type.
27266 (ino_t): Likewise.
27267 (ino64_t): Likewise.
27268 (dev_t): Likewise.
27269 (nlink_t): Likewise.
27270 (blkcnt_t): Likewise.
27271 (blkcnt64_t): Likewise.
27272 * manual/llio.texi (off_t): Likewise.
27273
28afd92d
JM
27274 [BZ #3976]
27275 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27276 (__ieee754_exp): Save and restore rounding mode and use
27277 round-to-nearest for all computations.
27278 * math/libm-test.inc (exp_test_tonearest): New function.
27279 (exp_test_towardzero): Likewise.
27280 (exp_test_downward): Likewise.
27281 (exp_test_upward): Likewise.
27282 (main): Call the new functions.
27283 * sysdeps/i386/fpu/libm-test-ulps: Update.
27284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27285
b1eeb65d
CD
272862012-03-01 Chris Demetriou <cgd@google.com>
27287
27288 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27289 have predictable order.
27290
53362a4b
DM
272912012-03-01 David S. Miller <davem@davemloft.net>
27292
3c969083
DM
27293 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27294
759707de
DM
27295 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27296 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27297 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27298 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27299
dfdb8ff2
DM
27300 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27301 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27302 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27304 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27305 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27306 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27307 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27308 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27309
ead89f96
DM
27310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27311
7f66bd07
DM
27312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27313 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27314 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27315
53362a4b
DM
27316 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27317 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27319 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27320 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27321 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27323 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27324 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27325 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27326 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27330 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27332 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27333 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27334 * sysdeps/sparc/elf/configure: Regenerated.
27335
7b1902cb
JM
273362012-03-01 Joseph Myers <joseph@codesourcery.com>
27337
bec039bc
JM
27338 * configure.in (AS, LD): Require binutils 2.20 or later.
27339 * configure: Regenerated.
27340 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27341 as required minimum version.
27342 * INSTALL: Regenerated.
27343
7b1902cb
JM
27344 [BZ #2541]
27345 [BZ #4108]
27346 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27347 before squaring exponent.
27348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27349 bottom long double and 27 bits of top long double before squaring
27350 exponent.
27351 * math/libm-test.inc (erfc_test): Add more tests.
27352 * sysdeps/i386/fpu/libm-test-ulps: Update.
27353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27355
f775c276
KT
273562012-03-01 Kai Tietz <ktietz@redhat.com>
27357
27358 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27359 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27360 containing bit-fields.
27361 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27362 * soft-fp/single.h (_FP_UNION_S): Likewise.
27363 * soft-fp/double.h (_FP_UNION_D): Likewise.
27364
5b8a4d4a
JM
273652012-02-29 Joseph Myers <joseph@codesourcery.com>
27366
0bab47b6
JM
27367 [BZ #13786]
27368 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27369 not include ../strcmp.S.
27370 [USE_AS_STRNCASECMP_L]: Likewise.
27371 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27372 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27373 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27374 (__strncasecmp_l_ia32): Define as alias to
27375 __strncasecmp_l_nonascii.
27376
0fcad3e2
JM
27377 [BZ #5794]
27378 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27379 * sysdeps/i386/fpu/libm-test-ulps: Update.
27380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27381
5b8a4d4a
JM
27382 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27384
8fdceb2e
JL
273852012-02-29 Jeff Law <law@redhat.com>
27386
27387 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27388 out of bounds read.
27389
1f393a11
MP
273902012-02-29 Marek Polacek <polacek@redhat.com>
27391
27392 [BZ #13706]
27393 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27394 * elf/Makefile: Add rules to run tst-unused-dep.out.
27395
8847f037
DM
273962012-02-28 David S. Miller <davem@davemloft.net>
27397
27398 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27399 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27402 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27403 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27404
169d7f11
JM
274052012-02-29 Joseph Myers <joseph@codesourcery.com>
27406
27407 * math/libm-test.inc (llround_test): Move one test from
27408 lround_test. Use TEST_f_L in moved test.
27409 (lround_test): Move misplaced test to llround_test. Add testcase
27410 from bug 2561.
27411
39adf059
UD
274122012-02-28 Ulrich Drepper <drepper@gmail.com>
27413
27414 * sysdeps/x86_64/fpu/e_expf.S: New file.
27415 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27416
71b5d1c5
SB
274172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27418
27419 [BZ #13637]
27420 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27421 of remain_len that may cause incomplete multi-byte character and
27422 false match.
27423 * posix/bug-regex33.c: New file.
27424 * posix/Makefile (tests): Add bug-regex33.
27425
1f77f049
JM
274262012-02-28 Joseph Myers <joseph@codesourcery.com>
27427
27428 * manual/macros.texi: New file.
27429 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27430 * manual/libc.texinfo: Include macros.texi.
27431 * manual/creatute.texi: Likewise.
27432 * manual/install.texi: Likewise.
27433 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27434 @glibcadj{} in references to the GNU C Library.
27435 * manual/charset.texi: Likewise.
27436 * manual/conf.texi: Likewise.
27437 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27438 when not using those macros.
27439 * manual/creature.texi: Likewise.
27440 * manual/crypt.texi: Likewise.
27441 * manual/errno.texi: Likewise.
27442 * manual/filesys.texi: Likewise.
27443 * manual/header.texi: Likewise.
27444 * manual/install.texi: Likewise.
27445 * manual/intro.texi: Likewise.
27446 * manual/io.texi: Likewise.
27447 * manual/job.texi: Likewise.
27448 * manual/lang.texi: Likewise.
27449 * manual/libc.texiinfo: Likewise.
27450 * manual/llio.texi: Likewise.
27451 * manual/locale.texi: Likewise.
27452 * manual/maint.texi: Likewise.
27453 * manual/math.texi: Likewise.
27454 * manual/memory.texi: Likewise.
27455 * manual/message.texi: Likewise.
27456 * manual/nss.texi: Likewise.
27457 * manual/pattern.texi: Likewise.
27458 * manual/process.texi: Likewise.
27459 * manual/resource.texi: Likewise.
27460 * manual/search.texi: Likewise.
27461 * manual/setjmp.texi: Likewise.
27462 * manual/signal.texi: Likewise.
27463 * manual/socket.texi: Likewise.
27464 * manual/startup.texi: Likewise.
27465 * manual/stdio.texi: Likewise.
27466 * manual/string.texi: Likewise.
27467 * manual/sysinfo.texi: Likewise.
27468 * manual/syslog.texi: Likewise.
27469 * manual/terminal.texi: Likewise.
27470 * manual/time.texi: Likewise.
27471 * manual/users.texi: Likewise.
27472 * INSTALL: Regenerated.
27473 * NOTES: Regenerated.
d40c5d54 27474 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27475
450bf206
AS
274762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27477
27478 * include/dirent.h: Include <dirstream.h> before
27479 <dirent/dirent.h>.
27480
741a235b
DM
274812012-02-28 David S. Miller <davem@davemloft.net>
27482
27483 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27484 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27485 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27486 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27487
d6b5aa58
DM
274882012-02-27 David S. Miller <davem@davemloft.net>
27489
1aff59a3
DM
27490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27492 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27493 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27494
d6b5aa58
DM
27495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27496 frame pointer instead of stack pointer relative arg slot.
27497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27498 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27499 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27500
433f48bf
CD
275012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27502
27503 [BZ #3992]
27504 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27505
d674b76d
DM
275062012-02-27 David S. Miller <davem@davemloft.net>
27507
27508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27512 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27513 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27514 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27515 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27516
0e7727f7
JM
275172012-02-27 Joseph Myers <joseph@codesourcery.com>
27518
27519 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27520 later. Allow versions 5-9.
43be4ca2 27521 * configure: Regenerated.
0e7727f7
JM
27522 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27523 required minimum version and 4.6 as recommended version. Do not
27524 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27525 * INSTALL: Regenerated.
0e7727f7 27526
a78bc654
DM
275272012-02-27 David S. Miller <davem@davemloft.net>
27528
428d5830
DM
27529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27533 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27534 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27535 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27536 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27537
a78bc654
DM
27538 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27539 manipulate bits before adding and subtracting TWO112[sx].
27540 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27541
4579f81c
RM
275422012-02-27 Roland McGrath <roland@hack.frob.com>
27543
36c8acb4
RM
27544 [BZ #13775]
27545 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27546 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27547 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27548 being in POSIX, because they are in 1003.1-2008.
27549
84ad622b
RM
27550 * rt/tst-aio.c: Include <fcntl.h>.
27551 * rt/tst-aio7.c: Likewise.
27552 * rt/tst-aio64.c: Likewise.
27553
4579f81c
RM
27554 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27555
abd923db
JM
275562012-02-27 Joseph Myers <joseph@codesourcery.com>
27557
27558 * manual/install.texi (--with-headers): Describe headers as
27559 interface headers, not private headers.
27560 (Specific advice for GNU/Linux systems): Describe use of headers
27561 from "make headers_install", not private headers from older
27562 kernels.
43be4ca2 27563 * INSTALL: Regenerated.
abd923db
JM
27564 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27565 Change to 2.6.19.
27566 * sysdeps/unix/sysv/linux/configure: Regenerated.
27567
6664049b
JM
27568 * manual/llio.texi (fclean): Remove documentation.
27569
bb8b6697
JM
27570 * manual/Makefile (libc-texi-generated): New variable. Include
27571 version.texi.
27572 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27573 $(libc-texi-generated), not duplicated list of files.
27574 (version.texi, stamp-version): New rules.
27575 (realclean): Remove $(libc-texi-generated), not individual files
27576 from that list. Do not remove dir-add.texinfo.
27577 * manual/libc.texinfo: Comment out uses of edition numbers and
27578 references to printed manual. Remove last-updated dates.
27579 (EDITION): Comment out.
27580 (ISBN): Likewise.
27581 (VERSION, UPDATED): Remove.
27582 (version.texi): Include.
27583
12e5c3b9
AS
275842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27585
27586 * sysdeps/posix/spawni.c: Include <signal.h>.
27587 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27588 * sysdeps/pthread/aio_fsync.c: Likewise.
27589
4efeffc1 275902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27591
ba63ba08
UD
27592 * conform/Makefile (tests): Run only when not cross-compiling and
27593 when fast-check is not defined.
27594
d94a4670
UD
27595 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27596 * conform/data/limits.h-data: Fixes for POSIX2008.
27597 * conform/run-conformtest.sh: Run all tests.
27598 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27599 headers.
27600 * include/bits/dlfcn.h: Likewise.
27601 * include/langinfo.h: Likewise.
27602 * include/monetary.h: Likewise.
27603 * include/sys/poll.h: Likewise.
27604
27605 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27606 for __USE_GNU.
27607 * posix/spawn.h: Define __need_sigset_t.
27608 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27609 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27610 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27611 to get sigevent_t only.
27612 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27613 only for __USE_GNU.
27614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27615 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27616 process_vm_writev only for __USE_GNU.
27617 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27618
27619 * conform/Makefile: For now ignore errors from run-conformtest.
27620 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27621 POSIX to avoid namespace pollution. Don't prepend headers.
27622 * conform/data/aio.h-data: Fixes for POSIX testing.
27623 * conform/data/fcntl.h-data: Likewise.
27624 * conform/data/glob.h-data: Likewise.
27625 * conform/data/grp.h-data: Likewise.
27626 * conform/data/pthread.h-data: Likewise.
27627 * conform/data/pwd.h-data: Likewise.
27628 * conform/data/signal.h-data: Likewise.
27629 * conform/data/spawn.h-data: Likewise.
27630 * conform/data/stdio.h-data: Likewise.
27631 * conform/data/stdlib.h-data: Likewise.
27632 * conform/data/stropts.h-data: Likewise.
27633 * conform/data/sys/mman.h-data: Likewise.
27634 * conform/data/sys/stat.h-data: Likewise.
27635 * conform/data/sys/types.h-data: Likewise.
27636 * conform/data/sys/wait.h-data: Likewise.
27637 * conform/data/time.h-data: Likewise.
27638 * conform/data/unistd.h-data: Likewise.
27639 * conform/data/utime.h-data: Likewise.
27640
27641 * io/sys/stat.h: fchmod was always in POSIX.
27642 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27643 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27644 * rt/aio.h: Define __need_timespec before including <time.h>.
27645 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27646 struct. Add forward declaration of pthread_attr_t and use it in
27647 sigevent.
27648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27650 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27651 always remove CLK_TCK definition.
27652
c20105c3
AS
276532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27654
27655 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27656
7a270350
UD
276572012-02-25 Ulrich Drepper <drepper@gmail.com>
27658
31341567
UD
27659 * conform/run-conformtest.sh: New file.
27660 * conform/Makefile: Run run-conformtest for tests.
27661 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27662 support.
27663
27664 * conform/data/uchar.h-data: New file.
27665 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27666 * conform/data/arpa/inet.h-data: Likewise.
27667 * conform/data/assert.h-data: Likewise.
27668 * conform/data/complex.h-data: Likewise.
27669 * conform/data/cpio.h-data: Likewise.
27670 * conform/data/ctype.h-data: Likewise.
27671 * conform/data/dirent.h-data: Likewise.
27672 * conform/data/dlfcn.h-data: Likewise.
27673 * conform/data/errno.h-data: Likewise.
27674 * conform/data/fcntl.h-data: Likewise.
27675 * conform/data/float.h-data: Likewise.
27676 * conform/data/fmtmsg.h-data: Likewise.
27677 * conform/data/fnmatch.h-data: Likewise.
27678 * conform/data/ftw.h-data: Likewise.
27679 * conform/data/glob.h-data: Likewise.
27680 * conform/data/grp.h-data: Likewise.
27681 * conform/data/iconv.h-data: Likewise.
27682 * conform/data/inttypes.h-data: Likewise.
27683 * conform/data/langinfo.h-data: Likewise.
27684 * conform/data/libgen.h-data: Likewise.
27685 * conform/data/limits.h-data: Likewise.
27686 * conform/data/locale.h-data: Likewise.
27687 * conform/data/math.h-data: Likewise.
27688 * conform/data/monetary.h-data: Likewise.
27689 * conform/data/mqueue.h-data: Likewise.
27690 * conform/data/ndbm.h-data: Likewise.
27691 * conform/data/net/if.h-data: Likewise.
27692 * conform/data/netdb.h-data: Likewise.
27693 * conform/data/netinet/in.h-data: Likewise.
27694 * conform/data/nl_types.h-data: Likewise.
27695 * conform/data/poll.h-data: Likewise.
27696 * conform/data/pthread.h-data: Likewise.
27697 * conform/data/pwd.h-data: Likewise.
27698 * conform/data/regex.h-data: Likewise.
27699 * conform/data/sched.h-data: Likewise.
27700 * conform/data/search.h-data: Likewise.
27701 * conform/data/semaphore.h-data: Likewise.
27702 * conform/data/setjmp.h-data: Likewise.
27703 * conform/data/signal.h-data: Likewise.
27704 * conform/data/spawn.h-data: Likewise.
27705 * conform/data/stdarg.h-data: Likewise.
27706 * conform/data/stdio.h-data: Likewise.
27707 * conform/data/stdlib.h-data: Likewise.
27708 * conform/data/string.h-data: Likewise.
27709 * conform/data/strings.h-data: Likewise.
27710 * conform/data/stropts.h-data: Likewise.
27711 * conform/data/sys/ipc.h-data: Likewise.
27712 * conform/data/sys/mman.h-data: Likewise.
27713 * conform/data/sys/msg.h-data: Likewise.
27714 * conform/data/sys/resource.h-data: Likewise.
27715 * conform/data/sys/select.h-data: Likewise.
27716 * conform/data/sys/sem.h-data: Likewise.
27717 * conform/data/sys/shm.h-data: Likewise.
27718 * conform/data/sys/socket.h-data: Likewise.
27719 * conform/data/sys/stat.h-data: Likewise.
27720 * conform/data/sys/statvfs.h-data: Likewise.
27721 * conform/data/sys/time.h-data: Likewise.
27722 * conform/data/sys/timeb.h-data: Likewise.
27723 * conform/data/sys/times.h-data: Likewise.
27724 * conform/data/sys/types.h-data: Likewise.
27725 * conform/data/sys/uio.h-data: Likewise.
27726 * conform/data/sys/un.h-data: Likewise.
27727 * conform/data/sys/utsname.h-data: Likewise.
27728 * conform/data/sys/wait.h-data: Likewise.
27729 * conform/data/syslog.h-data: Likewise.
27730 * conform/data/tar.h-data: Likewise.
27731 * conform/data/termios.h-data: Likewise.
27732 * conform/data/utime.h-data: Likewise.
27733 * conform/data/utmpx.h-data: Likewise.
27734 * conform/data/varargs.h-data: Likewise.
27735 * conform/data/wchar.h-data: Likewise.
27736 * conform/data/wctype.h-data: Likewise.
27737 * conform/data/wordexp.h-data: Likewise.
27738
27739 * include/stropts.h: New file.
27740 * include/uchar.h: New file.
27741 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27742 * include/assert.h: Likewise.
27743 * include/ctype.h: Likewise.
27744 * include/dirent.h: Likewise.
27745 * include/dlfcn.h: Likewise.
27746 * include/fcntl.h: Likewise.
27747 * include/fnmatch.h: Likewise.
27748 * include/glob.h: Likewise.
27749 * include/grp.h: Likewise.
27750 * include/libio.h: Likewise.
27751 * include/locale.h: Likewise.
27752 * include/math.h: Likewise.
27753 * include/net/if.h: Likewise.
27754 * include/netdb.h: Likewise.
27755 * include/netinet/in.h: Likewise.
27756 * include/pthread.h: Likewise.
27757 * include/pwd.h: Likewise.
27758 * include/regex.h: Likewise.
27759 * include/sched.h: Likewise.
27760 * include/search.h: Likewise.
27761 * include/setjmp.h: Likewise.
27762 * include/signal.h: Likewise.
27763 * include/stdio.h: Likewise.
27764 * include/stdlib.h: Likewise.
27765 * include/string.h: Likewise.
27766 * include/sys/cdefs.h: Likewise.
27767 * include/sys/mman.h: Likewise.
27768 * include/sys/msg.h: Likewise.
27769 * include/sys/resource.h: Likewise.
27770 * include/sys/select.h: Likewise.
27771 * include/sys/socket.h: Likewise.
27772 * include/sys/stat.h: Likewise.
27773 * include/sys/statvfs.h: Likewise.
27774 * include/sys/time.h: Likewise.
27775 * include/sys/times.h: Likewise.
27776 * include/sys/uio.h: Likewise.
27777 * include/sys/utsname.h: Likewise.
27778 * include/sys/wait.h: Likewise.
27779 * include/termios.h: Likewise.
27780 * include/time.h: Likewise.
27781 * include/ulimit.h: Likewise.
27782 * include/unistd.h: Likewise.
27783 * include/utime.h: Likewise.
27784 * include/wchar.h: Likewise.
27785 * include/wctype.h: Likewise.
27786 * include/wordexp.h: Likewise.
27787
27788 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27789
7a270350
UD
27790 * time/time.h: TIME_UTC must be a macro.
27791 Make timespec_get available for ISO C11 only as well.
27792
7724defc
UD
277932012-02-24 Ulrich Drepper <drepper@gmail.com>
27794
27795 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27796 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27797
6b1d1d46
JM
277982012-02-24 Joseph Myers <joseph@codesourcery.com>
27799
27800 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27801
0f8bbd69
JM
278022012-02-24 Joseph Myers <joseph@codesourcery.com>
27803
27804 * manual/texinfo.tex: Update to version 2012-01-19.16.
27805
66ab80bc
JM
278062012-02-24 Joseph Myers <joseph@codesourcery.com>
27807
27808 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27809
74981cc5
RM
278102012-02-24 Roland McGrath <roland@hack.frob.com>
27811
ee968201
RM
27812 [BZ #13738]
27813 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27814 * manual/fdl-1.3.texi: New file.
27815 * manual/fdl-1.1.texi: File removed.
27816
74981cc5
RM
27817 [BZ #13738]
27818 * manual/libc.texinfo (FDL_VERSION): New @set.
27819 Use it for mention of FDL in cover text.
27820 (Documentation License): Use it in @include file name.
27821
7bb764bc
JM
278222012-02-22 Joseph Myers <joseph@codesourcery.com>
27823 Roland McGrath <roland@hack.frob.com>
27824
27825 [BZ #5461]
27826 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27827 not LONG_LONG_MAX and LONG_LONG_MIN.
27828 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27829 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27830 name.
27831 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27832
6cbeae47
JM
278332012-02-22 Joseph Myers <joseph@codesourcery.com>
27834
27835 [BZ #2547]
27836 [BZ #11365]
27837 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27838 manipulate bits before adding and subtracting TWO23[sx].
27839 * math/libm-test.inc (nearbyint_test): Add more tests.
27840
fe45ce09
JM
278412012-02-22 Joseph Myers <joseph@codesourcery.com>
27842
27843 [BZ #2548]
27844 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27845 bits before adding and subtracting TWO23[sx].
27846 * math/libm-test.inc (rint_test): Add more tests.
27847 (rint_test_tonearest): Likewise.
27848 (rint_test_towardzero): Likewise.
27849 (rint_test_downward): Likewise.
27850 (rint_test_upward: Likewise.
27851
ff3b3d82
JM
278522012-02-22 Joseph Myers <joseph@codesourcery.com>
27853
27854 [BZ #10110]
27855 * include/stdc-predef.h: New file. Extracted from features.h.
27856 * include/features.h: Include stdc-predef.h.
27857 * Makefile (headers): Add stdc-predef.h.
27858 * CONFORMANCE (Compiler limitations): Update.
27859
ef0aab35
JM
278602012-02-22 Joseph Myers <joseph@codesourcery.com>
27861
27862 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27863
58639409
DM
278642012-02-21 David S. Miller <davem@davemloft.net>
27865
27866 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27867 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27868
c0e70b25
DM
278692012-02-20 David S. Miller <davem@davemloft.net>
27870
27871 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27872 using a normal save/restore sequence, rather than allocating a
27873 dummy stack frame just to store a frame pointer and restore.
27874 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27875
fb06851d
JM
278762012-02-21 Joseph Myers <joseph@codesourcery.com>
27877
27878 * manual/install.texi: Fix stray word in line-wrapped comment.
27879
7a8b71c3
DM
278802012-02-20 David S. Miller <davem@davemloft.net>
27881
d510c123
DM
27882 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27883 both binutils and gcc support GOTDATA.
27884
0722d7c2
DM
27885 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27886 "rd %pc" in the PIC register setup sequences.
27887
3d2b3019
DM
27888 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27889 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27890 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27891 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27892 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27895 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27897 (SYSCALL_ERROR_HANDLER): Likewise.
27898 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27899 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27901 (SYSCALL_ERROR_HANDLER): Likewise.
27902
c80098a9
DM
27903 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27904 (HAVE_GCC_GOTDATA): New.
27905 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27906 relocation support in both binutils and gcc.
27907 * sysdeps/sparc/elf/configure: Regenerate.
27908
3a2545a0
DM
27909 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27910 * sysdeps/sparc/sparc32/elf/configure: Delete.
27911 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27912 * sysdeps/sparc/sparc64/elf/configure: Delete.
27913 * sysdeps/sparc/elf/configure.in: New file.
27914 * sysdeps/sparc/elf/configure: Generate.
27915
7a8b71c3
DM
27916 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27917 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27918 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27919 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27920 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27921
f1e86fca
JM
279222012-02-21 Joseph Myers <joseph@codesourcery.com>
27923
27924 * manual/install.texi: Do not mention specific glibc version
27925 numbers.
27926 * manual/libc.texinfo (VERSION, UPDATED): Update.
27927 (@copying): Use @copyright{} and range of years.
27928
0e7dfaef
JM
279292012-02-21 Joseph Myers <joseph@codesourcery.com>
27930
27931 [BZ #13695]
27932 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27933 [crti.S not in sysdirs] (generated): Do not append.
27934 [crti.S not in sysdirs] (omit-deps): Likewise.
27935 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27936 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27937 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27938 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27939 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27940 Likewise.
27941 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27942 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27943 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27944 * csu/defs.awk: Remove file.
27945 * sysdeps/generic/initfini.c: Likewise.
27946 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27947 variable.
27948 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27949 Likewise.
27950
599af3ca
JM
279512012-02-20 Joseph Myers <joseph@codesourcery.com>
27952
27953 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27954 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27955 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27958 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27959 <bits/epoll.h>.
27960 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27961 (__EPOLL_PACKED): Define to empty if not defined by
27962 <bits/epoll.h>.
27963 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27965 bits/epoll.h.
27966
0e499750
JM
279672012-02-20 Joseph Myers <joseph@codesourcery.com>
27968
27969 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27970 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27971 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27972 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27973 <bits/timerfd.h>.
27974 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27976 bits/timerfd.h.
27977
5ad91f6e
JM
279782012-02-20 Joseph Myers <joseph@codesourcery.com>
27979
27980 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27981 in C locale.
27982 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27983 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27984 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27986
06b99b02
AJ
279872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27988
27989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27991
7638c0fd
AS
279922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27993
27994 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27995 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27996 defined.
27997 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27998 Likewise.
27999 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28000 entry for 2.16.
28001
92221550
AJ
280022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28003
28004 * math/w_acos.c: Use non-signaling floating-point comparisons.
28005 * math/w_acosf.c: Likewise.
28006 * math/w_acosh.c: Likewise.
28007 * math/w_acoshf.c: Likewise.
28008 * math/w_acoshl.c: Likewise.
28009 * math/w_acosl.c: Likewise.
28010 * math/w_asin.c: Likewise.
28011 * math/w_asinf.c: Likewise.
28012 * math/w_asinl.c: Likewise.
28013 * math/w_atanh.c: Likewise.
28014 * math/w_atanhf.c: Likewise.
28015 * math/w_atanhl.c: Likewise.
28016 * math/w_exp2.c: Likewise.
28017 * math/w_exp2f.c: Likewise.
28018 * math/w_exp2l.c: Likewise.
28019 * math/w_j0.c: Likewise.
28020 * math/w_j0f.c: Likewise.
28021 * math/w_j0l.c: Likewise.
28022 * math/w_j1.c: Likewise.
28023 * math/w_j1f.c: Likewise.
28024 * math/w_j1l.c: Likewise.
28025 * math/w_jn.c: Likewise.
28026 * math/w_jnf.c: Likewise.
28027 * math/w_log.c: Likewise.
28028 * math/w_log10.c: Likewise.
28029 * math/w_log10f.c: Likewise.
28030 * math/w_log10l.c: Likewise.
28031 * math/w_log2.c: Likewise.
28032 * math/w_log2f.c: Likewise.
28033 * math/w_log2l.c: Likewise.
28034 * math/w_logf.c: Likewise.
28035 * math/w_logl.c: Likewise.
28036 * math/w_sqrt.c: Likewise.
28037 * math/w_sqrtf.c: Likewise.
28038 * math/w_sqrtl.c: Likewise.
28039 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28040 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28042 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28043 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28044
ebaf36eb
JM
280452012-02-19 Joseph Myers <joseph@codesourcery.com>
28046
28047 [BZ #9739]
28048 * manual/string.texi (strnlen): Use correct parameter name in
28049 equivalent expression.
28050
71c254a6
JM
280512012-02-19 Joseph Myers <joseph@codesourcery.com>
28052
28053 [BZ #11174]
28054 * manual/users.texi (seteuid): Consistently use neweuid for
28055 argument name.
28056
16d2c631
JM
280572012-02-19 Joseph Myers <joseph@codesourcery.com>
28058
28059 [BZ #13704]
28060 * manual/nss.texi (Services in the NSS configuration): Correct
28061 list of services in example configuration file.
28062
cd837b09
NB
280632012-02-19 Nick Bowler <nbowler@draconx.ca>
28064
28065 [BZ #11322]
28066 * manual/arith.texi: Remove statements about negative zero
28067 behaving identically to zero.
28068
02c4bbad
JM
280692012-02-18 Joseph Myers <joseph@codesourcery.com>
28070
28071 [BZ #5993]
28072 * manual/install.texi: Do not document upgrading from libc5.
28073
366842e7
JM
280742012-02-18 Joseph Myers <joseph@codesourcery.com>
28075
28076 [BZ #4596]
28077 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28078
dd54084d
DM
280792012-02-18 David S. Miller <davem@davemloft.net>
28080
28081 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28082 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28083 %o7 across the call.
28084 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28085 instead.
28086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28087 SETUP_PIC_REG_LEAF.
28088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28089 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28090 * sysdeps/sparc/crtn.S: Likewise.
28091
2bcc53a3
UD
280922012-02-17 Ulrich Drepper <drepper@gmail.com>
28093
28094 * aout/Makefile: Remove.
28095
09c093b5
RK
280962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28097
28098 [BZ #13058]
28099 * manual/examples/argp-ex1.c (main): Format definition in GNU
28100 style.
28101 * manual/examples/argp-ex2.c (main): Likewise.
28102 * manual/examples/argp-ex3.c (main): Likewise.
28103 * manual/examples/argp-ex4.c (main): Likewise.
28104 * manual/examples/longopt.c (main): Use new-style prototype
28105 definition.
28106 * manual/examples/strncat.c (main): Specify return type and use
28107 (void) for arguments.
28108 * manual/examples/subopt.c (main): Use char **argv argument.
28109
2ee633a2
JM
281102012-02-17 Joseph Myers <joseph@codesourcery.com>
28111
28112 [BZ #5077]
28113 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28114 rounding modes.
28115
0520adde
FB
281162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28117
28118 [BZ #6907]
28119 * manual/string.texi (strchr): Change when strchrnul is
28120 recommended.
28121
3f4081cd
DGM
281222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28123
28124 [BZ #174]
28125 * manual/locale.texi (setlocale): Document LOCPATH.
28126
d1b10e78
JM
281272012-02-17 Joseph Myers <joseph@codesourcery.com>
28128
28129 [BZ #10210]
28130 * manual/process.texi (execle): Move @dots{} before last argument.
28131
79c6869c
PB
281322012-02-17 Paul Bolle <pebolle@tiscali.nl>
28133
28134 [BZ #12047]
28135 * manual/charset.texi (Generic Charset Conversion): Fix typo
28136 (LC_TYPE -> LC_CTYPE).
28137
cc6e48bc
NB
281382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28139
28140 [BZ #5805]
28141 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28142 (scalbnf): Likewise.
28143 (scalbnl): Likewise.
28144 (scalbln): Likewise.
28145 (scalblnf): Likewise.
28146 (scalblnl): Likewise.
28147 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28148 (vwarnx): Likewise.
28149 (verr): Likewise.
28150 (verrx): Likewise.
28151 * manual/filesys.texi (telldir): Use braces around return type.
28152 * manual/llio.texi (mmap): Add space after comma.
28153 (mmap64): Likewise.
28154 * manual/math.texi (jn): Use @var{} on parameter names.
28155 (jnf): Likewise.
28156 (jnl): Likewise.
28157 (yn): Likewise.
28158 (ynf): Likewise.
28159 (ynl): Likewise.
28160 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28161 line.
28162 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28163 "...".
28164 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28165 (sched_get_priority_max): Likewise.
28166 * manual/signal.texi (sigvec): Add space after comma.
28167 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28168 names.
28169 (if_indextoname): Likewise.
28170 (if_freenameindex): Likewise.
28171 (sendto): Use ',' instead of '.' in prototype.
28172 * manual/startup.texi (syscall): Use @dots{} instead of literal
28173 "...".
28174 * manual/stdio.texi (__fpending): Separate initial words of
28175 paragraph from @deftypefun line.
28176 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28177 "...".
28178 (vsyslog): Use @var{} on parameter names.
28179 * manual/terminal.texi (stty): Use @var{} on parameter names.
28180 * manual/users.texi (getutmp): Use @var{} on parameter names.
28181 (getutmpx): Likewise.
28182
5b23062f
JM
281832012-02-17 Joseph Myers <joseph@codesourcery.com>
28184
28185 [BZ #6884]
28186 * manual/stdio.texi (fopen): Fix typos in description of
28187 ",ccs=STRING".
28188
8dee4833
AJ
281892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28190
28191 [BZ #4026]
28192 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28193 get clock_id definition.
28194
9078ce93
TS
281952012-02-17 Thomas Schwinge <thomas@schwinge.name>
28196
28197 [BZ #4822]
28198 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28199 (madvise): Cast every argument to void on its own.
28200
3835c55f
JM
282012012-02-17 Joseph Myers <joseph@codesourcery.com>
28202
28203 [BZ #9902]
28204 * manual/startup.texi (Exit Status): Fix typo.
28205
35c47e37
JM
282062012-02-17 Joseph Myers <joseph@codesourcery.com>
28207
28208 [BZ #10140]
28209 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28210 * manual/examples/argp-ex2.c: Likewise.
28211 * manual/examples/argp-ex3.c: Likewise.
28212
e3b69ca7
RH
282132012-02-16 Richard Henderson <rth@redhat.com>
28214
28215 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28216 * sysdeps/s390/s390-32/initfini.c: Remove.
28217 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28218 * sysdeps/s390/s390-64/initfini.c: Remove.
28219
df83af67
KK
282202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28221
28222 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28223 compiler output for sysdeps/generic/initfini.c.
28224 * sysdeps/sh/elf/initfini.c: Remove file.
28225
f63f3380
DM
282262012-02-16 David S. Miller <davem@davemloft.net>
28227
fb59b3a4
DM
28228 [BZ #11494]
28229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28230
f63f3380
DM
28231 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28232 * sysdeps/sparc/crti.S: New file.
28233 * sysdeps/sparc/crtn.S: New file.
28234 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28235 * sysdeps/sparc/sparc64/Makefile: Likewise.
28236
df6a4a4a
MF
282372012-02-15 Mike Frysinger <vapier@gentoo.org>
28238
6dd8f3dc 28239 [BZ #3335]
df6a4a4a
MF
28240 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28241
1cac7236
RM
282422012-02-15 Roland McGrath <roland@hack.frob.com>
28243
d2c736f8
RM
28244 [BZ #4822]
28245 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28246
1cac7236
RM
28247 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28248 (write, read, close): Likewise.
28249 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28250
8e475601
JM
282512012-02-15 Joseph Myers <joseph@codesourcery.com>
28252
28253 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28254 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28255 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28256 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28257 <bits/signalfd.h>.
28258 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28260 bits/signalfd.h.
28261
ed656b40
MP
282622012-02-14 Marek Polacek <polacek@redhat.com>
28263
28264 * sysdeps/x86_64/crti.S: New file.
28265 * sysdeps/x86_64/crtn.S: New file.
28266 * sysdeps/x86_64/elf/initfini.c: Remove file.
28267
2a979d3a
JM
282682012-02-13 Joseph Myers <joseph@codesourcery.com>
28269
28270 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28271 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28272 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28273 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28274 <bits/inotify.h>.
28275 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28277 bits/inotify.h.
28278
2a418ac3
JM
282792012-02-13 Joseph Myers <joseph@codesourcery.com>
28280
28281 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28282 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28283 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28284 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28285 <bits/eventfd.h>.
28286 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28288 bits/eventfd.h.
28289
fb779be7
TS
282902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28291
e19e83c5
RM
28292 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28293 __feraiseexcept instead of feraiseexcept.
7c35ffed 28294
fb779be7
TS
28295 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28296 nanosleep invocations.
28297 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28298 strings, and add error checking for a nanosleep invocations.
28299
59ba27a6
PE
283002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28301
28302 Replace FSF snail mail address with URLs, as per GNU coding standards.
28303 Most of the snail mail addresses were wrong anyway, and omitting
28304 them makes the source code easier to maintain. Almost all of the
28305 changes are to license notices and to locale LC_IDENTIFICATION
28306 addresses, except for this one:
28307 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28308 not its snail mail address.
28309
57b957eb
RH
283102012-02-09 Richard Henderson <rth@twiddle.net>
28311
af850b1c
RH
28312 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28313 of kernel-features.h.
28314
57b957eb
RH
28315 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28316
6b73181a
MP
283172012-02-08 Marek Polacek <polacek@redhat.com>
28318
28319 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28320 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28321 * sysdeps/gnu/_G_config.h: Likewise.
28322 * sysdeps/generic/_G_config.h: Likewise.
28323
26ecc33a
AS
283242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28325
6c6dbc63
AS
28326 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28327 tests.
28328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28329
e216c012
AS
28330 * sysdeps/powerpc/powerpc32/crti.S: New file.
28331 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28332 * sysdeps/powerpc/powerpc64/crti.S: New file.
28333 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28334
26ecc33a
AS
28335 * Makeconfig (have-initfini): Don't set.
28336 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28337 * configure.in (nopic_initfini): Don't substitute.
28338 * config.h.in (HAVE_INITFINI): Don't #undef.
28339 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28340 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28341
3add8e13
JM
283422012-02-08 Joseph Myers <joseph@codesourcery.com>
28343
28344 Support crti.S and crtn.S provided directly by architectures.
28345 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28346 [crti.S in sysdirs] (omit-deps): Likewise.
28347 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28348 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28349 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28350 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28351 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28352 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28353 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28354 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28355 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28356 compiler output for sysdeps/generic/initfini.c.
28357 * sysdeps/i386/elf/Makefile: Remove file.
28358 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28359
a22f12b4
MP
283602012-02-07 Marek Polacek <polacek@redhat.com>
28361
28362 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28363 * sysdeps/gnu/_G_config.h: Likewise.
28364 * sysdeps/mach/hurd/_G_config.h: Likewise.
28365
148cf100
MP
283662012-02-07 Marek Polacek <polacek@redhat.com>
28367
28368 * math/Makefile (tests): Add tst-CMPLX2.
28369 * math/tst-CMPLX2.c: New file.
28370
cfdc0dd7
AS
283712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28372
84ba42c4
AS
28373 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28374
cfdc0dd7
AS
28375 * math/libm-test.inc (jn_test): Add missing L suffix.
28376
622c86f4
MP
283772012-02-06 Marek Polacek <polacek@redhat.com>
28378
28379 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28380 * sysdeps/i386/fpu/e_powf.S: Likewise.
28381 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28382 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28383 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28384 * sysdeps/i386/fpu/e_pow.S: Likewise.
28385 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28386 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28387 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28388 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28389 * sysdeps/i386/fpu/e_log2.S: Likewise.
28390 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28391 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28392 * sysdeps/i386/fpu/e_powl.S: Likewise.
28393 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28394 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28395 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28396 * sysdeps/i386/fpu/e_logl.S: Likewise.
28397 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28398 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28399 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28400 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28401 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28402 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28403 * sysdeps/i386/fpu/e_log.S: Likewise.
28404 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28405 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28406 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28407 * sysdeps/i386/fpu/e_logf.S: Likewise.
28408 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28409 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28410 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28411 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28412 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28413 * sysdeps/i386/fpu/e_log10.S: Likewise.
28414 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28415 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28416 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28417 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28418 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28419 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28420 * sysdeps/i386/asm-syntax.h: Likewise.
28421 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28422 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28423 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28424 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28425 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28426 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28427 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28428 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28429 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28430 * sysdeps/powerpc/sysdep.h: Likewise.
28431 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28432 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28433
d4a54ac6
JM
284342012-02-06 Joseph Myers <joseph@codesourcery.com>
28435
28436 [BZ #411]
28437 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28438
314054ea
JM
284392012-02-06 Joseph Myers <joseph@codesourcery.com>
28440
28441 * sysdeps/i386/sysdep.h: Include <features.h>.
28442 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28443 version.
28444
d8e0ca50
JM
284452012-02-05 Joseph Myers <joseph@codesourcery.com>
28446
28447 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28448 Define.
28449 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28450 LOAD_PIC_REG_STR.
28451
b1da7dd9
JM
284522012-02-03 Joseph Myers <joseph@codesourcery.com>
28453
28454 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28455 (SETUP_PIC_REG): Use GET_PC_THUNK.
28456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28457 macro.
28458
9a1d9254
JM
284592012-02-03 Joseph Myers <joseph@codesourcery.com>
28460
28461 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28462 for non-PIC compilation.
28463 (SETUP_PIC_REG): Add .p2align directive.
28464 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28465 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28466 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28467 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28468 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28469 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28470 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28471 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28472 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28473 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28474 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28475 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28476 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28477 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28478 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28479 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28480 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28481 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28482 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28483 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28484 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28486 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28487 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28488 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28490 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28491 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28492 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28493 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28494 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28495 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28496 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28497 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28498 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28499 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28500 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28501 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28502 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28503 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28504 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28505
65dc3b75
JM
285062012-02-03 Joseph Myers <joseph@codesourcery.com>
28507
28508 * math/tst-CMPLX.c: Include <stdio.h>.
28509
d55bf177
JM
285102012-01-31 Joseph Myers <joseph@codesourcery.com>
28511
28512 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28513 float.
28514 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28515 * sysdeps/sparc/bits/mathdef.h: Likewise.
28516
69db4f8f
MP
285172012-01-31 Marek Polacek <polacek@redhat.com>
28518
28519 * libio/libio.h: Don't define _PARAMS.
28520 * locale/programs/config.h: Don't define PARAMS.
28521 * stdlib/strtol_l.c: Likewise.
28522 (__strtol_l): Remove PARAMS from the prototype.
28523
41b81892
UD
285242012-01-31 Ulrich Drepper <drepper@gmail.com>
28525
3b49edc0
UD
28526 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28527 names. Just use the correct names. Remove unnecessary wrapper
28528 functions.
28529 * malloc/arena.c: Likewise.
28530 * malloc/hooks.c: Likewise.
28531
41b81892
UD
28532 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28533 ARENA_TEST says not to. Simplify test for creation of a new arena.
28534 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28535
27a25b6e
UD
285362012-01-30 Ulrich Drepper <drepper@gmail.com>
28537
28538 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28539 into tail calls.
28540 (update_get_addr): New function.
28541 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28542 GET_ADDR_MODULE parameter.
28543
c8a89e7d
JM
285442012-01-30 Joseph Myers <joseph@codesourcery.com>
28545
28546 * crypt/cert.c: Remove __STDC__ conditionals.
28547 * crypt/crypt-entry.c: Likewise.
28548 * crypt/crypt_util.c: Likewise.
28549 * libio/filedoalloc.c: Likewise.
28550 * libio/fileops.c: Likewise.
28551 * libio/genops.c: Likewise.
28552 * libio/iofclose.c: Likewise.
28553 * libio/iofdopen.c: Likewise.
28554 * libio/iofopen.c: Likewise.
28555 * libio/iofopen64.c: Likewise.
28556 * libio/iogetdelim.c: Likewise.
28557 * libio/iopopen.c: Likewise.
28558 * libio/obprintf.c: Likewise.
28559 * libio/oldfileops.c: Likewise.
28560 * libio/oldiofclose.c: Likewise.
28561 * libio/oldiofdopen.c: Likewise.
28562 * libio/oldiofopen.c: Likewise.
28563 * libio/oldiopopen.c: Likewise.
28564 * libio/wfiledoalloc.c: Likewise.
28565 * libio/wgenops.c: Likewise.
28566 * locale/programs/xmalloc.c: Likewise.
28567 * misc/syslog.c: Likewise.
28568 * stdio-common/xbug.c: Likewise.
28569 * string/memchr.c: Likewise.
28570 * string/memcmp.c: Likewise.
28571 * string/memrchr.c: Likewise.
28572 * string/rawmemchr.c: Likewise.
28573 * sysdeps/posix/getcwd.c: Likewise.
28574 * time/strftime_l.c: Likewise.
28575
3b100462
JM
285762012-01-30 Joseph Myers <joseph@codesourcery.com>
28577
28578 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28579 * config.make.in (config-cflags-sse2avx): Define.
28580 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28581 Fix typo.
28582
607998af
CM
285832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28584
28585 * scripts/config.guess: Update from upstream config git repository.
28586 * scripts/config.sub: Likewise.
28587
3601428f
CM
285882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28589
3ac8b282
CM
28590 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28591 (EM_NUM): Update.
28592 (R_TILEPRO_*, R_TILEGX_*): New macros.
28593
e034841e
CM
28594 * scripts/firstversions.awk: Fix bug in version range handling.
28595
540d7568
CM
28596 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28597
3601428f
CM
28598 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28599
463de862
CM
28600 * include/sys/epoll.h: New file.
28601 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28602 libc_hidden_def.
28603
73139a76
UD
286042012-01-28 Ulrich Drepper <drepper@gmail.com>
28605
96bc5b45
UD
28606 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28607 Avoid unnecessary __WORDSIZE == 64 test.
28608 (fmaxf): Use VEX format if possible.
28609 (fmax): Likewise.
28610 (fminf): Likewise.
28611 (fmin): Likewise.
28612
56f6f6a2
UD
28613 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28614 * math/math_private.h: Remove libc_fegetround* and
28615 libc_fesetround*.
28616 * sysdeps/i386/configure.in: Check for -msse2avx.
28617 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28618 also if SSE2AVX is defined.
28619 Remove libc_fegetround* and libc_fesetround*.
28620 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28621 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28623 of HAS_YMM_USABLE.
28624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28625 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28629
73139a76
UD
28630 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28631
d73f93a4
AZ
286322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28633
28634 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28635 size is not set.
28636 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28637
6ee65ed6
UD
286382012-01-27 Ulrich Drepper <drepper@gmail.com>
28639
28640 [BZ #13618]
28641 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28642 relocation.
28643 * Makeconfig (libm): Define.
28644 * elf/Makefile: Add rules to build and run tst-relsort1.
28645 * elf/tst-relsort1.c: New file.
28646 * elf/tst-relsort1mod1.c: New file.
28647 * elf/tst-relsort1mod2.c: New file.
28648
8db21882
JM
286492012-01-27 Joseph Myers <joseph@codesourcery.com>
28650
28651 * math/s_ldexp.c: Remove __STDC__ conditionals.
28652 * math/s_ldexpf.c: Likewise.
28653 * math/s_ldexpl.c: Likewise.
28654 * math/s_nextafter.c: Likewise.
28655 * math/s_nexttowardf.c: Likewise.
28656 * math/s_significand.c: Likewise.
28657 * math/s_significandf.c: Likewise.
28658 * math/s_significandl.c: Likewise.
28659 * math/w_jnl.c: Likewise.
28660 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28661 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28662 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28663 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28664 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28665 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28666 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28667 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28668 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28669 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28670 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28672 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28673 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28674 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28675 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28676 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28677 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28679 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28680 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28681 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28682 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28683 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28684 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28685 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28686 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28687 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28688 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28689 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28690 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28691 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28692 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28693 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28694 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28695 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28696 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28697 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28698 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28699 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28700 * sysdeps/ieee754/k_standard.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28762 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28767 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28775 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28776 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28779 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28780 * sysdeps/ieee754/s_matherr.c: Likewise.
28781 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28782 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28785
965a54a4
JM
287862012-01-26 Joseph Myers <joseph@codesourcery.com>
28787
28788 * crypt/md5.h: Remove __STDC__ conditionals.
28789 * libio/libioP.h: Likewise.
28790 * locale/programs/config.h: Likewise.
28791 * sysdeps/generic/sysdep.h: Likewise.
28792 * sysdeps/i386/asm-syntax.h: Likewise.
28793 * sysdeps/s390/asm-syntax.h: Likewise.
28794 * sysdeps/unix/sysdep.h: Likewise.
28795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28797
7071ad79
JM
287982012-01-26 Joseph Myers <joseph@codesourcery.com>
28799
28800 * libio/libio.h: Remove __STDC__ conditionals.
28801 * malloc/obstack.h: Likewise.
28802 * math/complex.h: Likewise.
28803 * math/math.h: Likewise.
28804 * sysdeps/generic/_G_config.h: Likewise.
28805 * sysdeps/gnu/_G_config.h: Likewise.
28806 * sysdeps/mach/hurd/_G_config.h: Likewise.
28807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28808 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28809 * sysdeps/sparc/bits/mathdef.h: Likewise.
28810
afc5ed09
UD
288112012-01-26 Ulrich Drepper <drepper@gmail.com>
28812
28813 [BZ #13583]
28814 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28815 Clean up HAS_* macros.
afc5ed09 28816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28817 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28818 possible.
28819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28820 HAS_AVX.
28821 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28822 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28823 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28824 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28825 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28826
bdb6de1d
JM
288272012-01-25 Joseph Myers <joseph@codesourcery.com>
28828
28829 * elf/tst-unique3.cc (gets): Remove declaration.
28830 * elf/tst-unique3lib.cc (gets): Likewise.
28831 * elf/tst-unique3lib2.cc (gets): Likewise.
28832 * elf/tst-unique4.cc (gets): Likewise.
28833
b15549e6
UD
288342012-01-24 Ulrich Drepper <drepper@gmail.com>
28835
28836 * include/stdio.h: Add C++ protection. Add gets declarations and
28837 definitions.
28838 * debug/tst-chk1.c: Don't declare gets here.
28839 * stdio-common/tst-gets.c: Likewise.
28840
a037381f
JM
288412012-01-24 Joseph Myers <joseph@codesourcery.com>
28842
28843 * posix/glob: Remove directory.
28844
f1d4aa75
JM
288452012-01-24 Joseph Myers <joseph@codesourcery.com>
28846
28847 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28848
81c0c964
PT
288492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28850
28851 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28852 of the non-standard EPFNOSUPPORT.
28853
0ea698ae
ST
288542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28855
28856 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28857 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28858 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28859
d220b117
UD
288602012-01-21 Ulrich Drepper <drepper@gmail.com>
28861
28862 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28863
3e1aa84e
UD
288642012-01-20 Ulrich Drepper <drepper@gmail.com>
28865
28866 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28867 transient errors.
28868 * nscd/grpcache.c (cache_addgr): Likewise.
28869 * nscd/hstcache.c (cache_addhst): Likewise.
28870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28871 * nscd/pwdcache.c (cache_addpw): Likewise.
28872 * nscd/servicescache.c (cache_addserv): Likewise.
28873
400aa020
UD
288742012-01-16 Ulrich Drepper <drepper@gmail.com>
28875
d77e7869
UD
28876 * malloc/malloc.c: Various cleanups.
28877 * malloc/hooks.c: Likewise.
28878
400aa020
UD
28879 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28880 * stdlib/bug-fmtmsg1.c: New file.
28881
28882 * stdlib/fmtmsg.c (init): Add missing unlock.
28883 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28884
e0a309cf
MP
288852012-01-12 Marek Polacek <polacek@redhat.com>
28886
28887 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28888 and _GNU_SOURCE.
28889
929d11c7
WS
288902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28891
28892 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28893 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28894 macro to ensure uniqueness of label name.
28895 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28896 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28897
41d0e869
UD
288982012-01-11 Ulrich Drepper <drepper@gmail.com>
28899
0cc5ed3b
UD
28900 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28901
41d0e869
UD
28902 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28903 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28904 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28906
a47a831a
UD
289072012-01-10 Ulrich Drepper <drepper@gmail.com>
28908
daa891c0
UD
28909 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28910
28911 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28912 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28913 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28914
e58ef0f2
UD
28915 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28916
a47a831a 28917 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28918 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28919 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28921
28922 * math/bits/math-finite.h: Add ldexp support.
28923
a0bfc9c7
MP
289242012-01-10 Marek Polacek <polacek@redhat.com>
28925
28926 * locale/programs/localedef.h (show_archive_content): Add noreturn
28927 attribute.
28928
d6e97a1d
UD
289292012-01-09 Ulrich Drepper <drepper@gmail.com>
28930
28931 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28932
d5835c26
UD
289332012-01-08 Ulrich Drepper <drepper@gmail.com>
28934
e5f484c6
UD
28935 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28936
d5835c26
UD
28937 * io/Makefile (headers): Add bits/poll2.h.
28938
d1f741e9
WS
289392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28940
28941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28942 typo #include statement.
28943
ec09c1c4
UD
289442012-01-08 Ulrich Drepper <drepper@gmail.com>
28945
28946 * include/sys/cdefs.h: Define __attribute_alloc_size.
28947 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28948 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28949 * elf/pldd.c: Likewise.
28950 * iconv/iconv_charmap.c: Likewise.
28951 * iconv/iconvconfig.c: Likewise.
28952 * iconv/strtab.c: Likewise.
28953 * locale/programs/locale.c: Likewise.
28954 * locale/programs/localedef.h: Likewise.
28955 * locale/programs/simple-hash.c: Likewise.
28956 * nscd/nscd.h: Likewise.
28957 * nss/makedb.c: Likewise.
28958 * sysdeps/generic/ldconfig.h: Likewise.
28959 * locale/programs/localedef.c: Remove xmalloc prototype.
28960 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28961
20b38e03
PP
289622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28963
28964 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28965 appropriate.
28966
a0da5fe1
UD
289672012-01-08 Ulrich Drepper <drepper@gmail.com>
28968
1d5a644a 28969 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28970 * math/tst-CMPLX.c: New file.
1d5a644a 28971
8784a6db
UD
28972 * math/complex.h (CMPLXL): Fix typo.
28973
d9a216c0
UD
28974 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28975 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28976 GLIBC_2.16.
28977 * debug/tst-chk1.c: Add poll and ppoll tests.
28978 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28979 * include/sys/poll.h: Add hidden proto for ppoll.
28980 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28981 * sysdeps/mach/hurd/ppoll.c: Likewise.
28982 * io/ppoll.c: Likewise.
28983 * debug/poll_chk.c: New file.
28984 * debug/ppoll_chk.c: New file.
28985 * include/bits/poll2.h: New file.
28986 * io/bits/poll2.h: New file.
28987
ac097f5c
UD
28988 [BZ #1350]
28989 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28990
2119dcfa
UD
28991 * configure.in: static is always set to yes. Remove.
28992 * config.make.in: Don't set build-static.
28993 * Makeconfig: Remove use of build-static.
28994 * dlfcn/Makefile: Likewise.
28995 * elf/Makefile: Likewise.
28996 * math/Makefile: Likewise.
28997 * misc/Makefile: Likewise.
28998 * nptl/Makefile: Likewise.
28999 * sysdeps/mach/hurd/Makefile: Likewise.
29000
121766a9
UD
29001 * configure.in: PWD_P is not used anymore.
29002 * config.make.in: Remove PWD_P entry.
29003
51a1d39c 29004 * configure.in: Remove last remnants of RANLIB.
8720d066 29005 No need to check for signed size_t anymore.
215f4bdc
UD
29006 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29007 and IA-64.
3857022a 29008 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29009 * aclocal.m4: Likewise.
29010
d3ed7225
UD
29011 * wcsmbs/mbrtoc16.c: Implement using towc function.
29012 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29013 * wcsmbs/wcsmbsload.c: Likewise.
29014 * iconv/gconv_simple.c: Likewise.
29015 * iconv/gconv_int.h: Likewise.
29016 * iconv/gconv_builtin.h: Likewise.
29017 * iconv/iconv_prog.c: Remove CHAR16 handling.
29018
29019 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29020
29021 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29022
a0da5fe1
UD
29023 * configure.in: Remove --with-elf and --enable-bounded options.
29024 Dont set base_machine for ia64. More non-ELF conditions removed.
29025 Remove testing and setting of leading underscore information.
29026 * config.make.in (build-bounded): Set to no.
29027 * config.h.in: Remove NO_UNDERSCORES entry.
29028 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29029 them.
29030 * csu/start.c: Remove !NO_UNDERSCORE code.
29031 * locale/localeinfo.h: Likewise.
29032 * sysdeps/generic/machine-gmon.h: Likewise.
29033 * sysdeps/generic/sysdep.h: Likewise.
29034 * sysdeps/i386/sysdep.h: Likewise.
29035 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29036 * sysdeps/mach/sysdep.h: Likewise.
29037 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29038 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29039 * sysdeps/sh/sysdep.h: Likewise.
29040 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29041 * sysdeps/unix/i386/sysdep.S: Likewise.
29042 * sysdeps/unix/sparc/start.c: Likewise.
29043 * sysdeps/unix/sparc/sysdep.S: Likewise.
29044 * sysdeps/unix/sparc/sysdep.h: Likewise.
29045 * sysdeps/unix/start.c: Likewise.
29046 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29047 * sysdeps/x86_64/sysdep.h: Likewise.
29048
df78418a
UD
290492012-01-07 Ulrich Drepper <drepper@gmail.com>
29050
a784e502
UD
29051 [BZ #13553]
29052 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29053 for non-gcc.
29054 * argp/argp-fmtstream.h: Use const instead __const.
29055 * argp/argp.h: Likewise.
29056 * assert/assert.h: Likewise.
29057 * bits/fenv.h: Likewise.
29058 * bits/sched.h: Likewise.
29059 * bits/sigset.h: Likewise.
29060 * bits/sigthread.h: Likewise.
29061 * catgets/nl_types.h: Likewise.
29062 * conform/data/pthread.h-data: Likewise.
29063 * crypt/crypt-private.h: Likewise.
29064 * crypt/crypt.h: Likewise.
29065 * crypt/crypt_util.c: Likewise.
29066 * ctype/ctype.h: Likewise.
29067 * debug/execinfo.h: Likewise.
29068 * debug/mbsnrtowcs_chk.c: Likewise.
29069 * debug/mbsrtowcs_chk.c: Likewise.
29070 * debug/wcsnrtombs_chk.c: Likewise.
29071 * debug/wcsrtombs_chk.c: Likewise.
29072 * debug/wcstombs_chk.c: Likewise.
29073 * dirent/dirent.h: Likewise.
29074 * dlfcn/dlfcn.h: Likewise.
29075 * elf/neededtest4.c: Likewise.
29076 * grp/grp.h: Likewise.
29077 * gshadow/gshadow.h: Likewise.
29078 * iconv/gconv.h: Likewise.
29079 * iconv/gconv_int.h: Likewise.
29080 * iconv/gconv_simple.c: Likewise.
29081 * iconv/iconv.h: Likewise.
29082 * iconv/loop.c: Likewise.
29083 * iconv/skeleton.c: Likewise.
29084 * include/aio.h: Likewise.
29085 * include/aliases.h: Likewise.
29086 * include/argz.h: Likewise.
29087 * include/arpa/inet.h: Likewise.
29088 * include/assert.h: Likewise.
29089 * include/dirent.h: Likewise.
29090 * include/dlfcn.h: Likewise.
29091 * include/execinfo.h: Likewise.
29092 * include/fcntl.h: Likewise.
29093 * include/fenv.h: Likewise.
29094 * include/glob.h: Likewise.
29095 * include/grp.h: Likewise.
29096 * include/libintl.h: Likewise.
29097 * include/mntent.h: Likewise.
29098 * include/netdb.h: Likewise.
29099 * include/pwd.h: Likewise.
29100 * include/rpc/netdb.h: Likewise.
29101 * include/sched.h: Likewise.
29102 * include/search.h: Likewise.
29103 * include/shadow.h: Likewise.
29104 * include/signal.h: Likewise.
29105 * include/stdio.h: Likewise.
29106 * include/stdlib.h: Likewise.
29107 * include/string.h: Likewise.
29108 * include/sys/socket.h: Likewise.
29109 * include/sys/stat.h: Likewise.
29110 * include/sys/statfs.h: Likewise.
29111 * include/sys/statvfs.h: Likewise.
29112 * include/sys/syslog.h: Likewise.
29113 * include/sys/time.h: Likewise.
29114 * include/sys/uio.h: Likewise.
29115 * include/time.h: Likewise.
29116 * include/unistd.h: Likewise.
29117 * include/utmp.h: Likewise.
29118 * include/wchar.h: Likewise.
29119 * include/wctype.h: Likewise.
29120 * inet/aliases.h: Likewise.
29121 * inet/arpa/inet.h: Likewise.
29122 * inet/netinet/ether.h: Likewise.
29123 * inet/netinet/in.h: Likewise.
29124 * intl/libintl.h: Likewise.
29125 * io/bits/fcntl2.h: Likewise.
29126 * io/fcntl.h: Likewise.
29127 * io/ftw.h: Likewise.
29128 * io/sys/poll.h: Likewise.
29129 * io/sys/stat.h: Likewise.
29130 * io/sys/statfs.h: Likewise.
29131 * io/sys/statvfs.h: Likewise.
29132 * io/utime.h: Likewise.
29133 * libio/bits/stdio.h: Likewise.
29134 * libio/bits/stdio2.h: Likewise.
29135 * libio/libio.h: Likewise.
29136 * libio/libioP.h: Likewise.
29137 * libio/stdio.h: Likewise.
29138 * locale/lc-ctype.c: Likewise.
29139 * locale/locale.h: Likewise.
29140 * login/utmp.h: Likewise.
29141 * malloc/arena.c: Likewise.
29142 * malloc/malloc.c: Likewise.
29143 * malloc/malloc.h: Likewise.
29144 * malloc/mcheck.c: Likewise.
29145 * malloc/mtrace.c: Likewise.
29146 * math/bits/mathcalls.h: Likewise.
29147 * math/fenv.h: Likewise.
29148 * math/math_private.h: Likewise.
29149 * misc/bits/error.h: Likewise.
29150 * misc/bits/syslog.h: Likewise.
29151 * misc/err.h: Likewise.
29152 * misc/error.h: Likewise.
29153 * misc/fstab.h: Likewise.
29154 * misc/mntent.h: Likewise.
29155 * misc/regexp.h: Likewise.
29156 * misc/search.h: Likewise.
29157 * misc/sgtty.h: Likewise.
29158 * misc/sys/mman.h: Likewise.
29159 * misc/sys/syslog.h: Likewise.
29160 * misc/sys/uio.h: Likewise.
29161 * misc/sys/xattr.h: Likewise.
29162 * misc/ttyent.h: Likewise.
29163 * nis/rpcsvc/ypclnt.h: Likewise.
29164 * nss/nss.h: Likewise.
29165 * posix/bits/unistd.h: Likewise.
29166 * posix/fnmatch.h: Likewise.
29167 * posix/glob.h: Likewise.
29168 * posix/sched.h: Likewise.
29169 * posix/spawn.h: Likewise.
29170 * posix/sys/wait.h: Likewise.
29171 * posix/unistd.h: Likewise.
29172 * posix/wordexp.h: Likewise.
29173 * pwd/pwd.h: Likewise.
29174 * resolv/netdb.h: Likewise.
29175 * resource/sys/resource.h: Likewise.
29176 * rt/aio.h: Likewise.
29177 * rt/bits/mqueue2.h: Likewise.
29178 * rt/mqueue.h: Likewise.
29179 * shadow/shadow.h: Likewise.
29180 * signal/signal.h: Likewise.
29181 * socket/send.c: Likewise.
29182 * socket/sendto.c: Likewise.
29183 * socket/sys/socket.h: Likewise.
29184 * stdio-common/printf.h: Likewise.
29185 * stdlib/bits/stdlib.h: Likewise.
29186 * stdlib/fmtmsg.h: Likewise.
29187 * stdlib/monetary.h: Likewise.
29188 * stdlib/stdlib.h: Likewise.
29189 * stdlib/ucontext.h: Likewise.
29190 * streams/stropts.h: Likewise.
29191 * string/argz.h: Likewise.
29192 * string/bits/string2.h: Likewise.
29193 * string/string.h: Likewise.
29194 * string/strings.h: Likewise.
29195 * sunrpc/rpc/auth.h: Likewise.
29196 * sunrpc/rpc/auth_des.h: Likewise.
29197 * sunrpc/rpc/clnt.h: Likewise.
29198 * sunrpc/rpc/netdb.h: Likewise.
29199 * sunrpc/rpc/pmap_clnt.h: Likewise.
29200 * sunrpc/rpc/xdr.h: Likewise.
29201 * sysdeps/generic/inttypes.h: Likewise.
29202 * sysdeps/generic/net/if.h: Likewise.
29203 * sysdeps/generic/sys/swap.h: Likewise.
29204 * sysdeps/gnu/net/if.h: Likewise.
29205 * sysdeps/gnu/utmpx.h: Likewise.
29206 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29207 * sysdeps/i386/i486/bits/string.h: Likewise.
29208 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29209 * sysdeps/s390/bits/string.h: Likewise.
29210 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29211 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29212 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29213 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29214 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29215 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29216 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29217 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29218 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29219 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29220 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29221 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29222 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29223 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29224 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29225 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29226 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29228 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29229 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29230 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29231 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29232 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29233 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29234 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29235 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29236 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29238 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29239 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29240 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29241 * sysvipc/sys/ipc.h: Likewise.
29242 * sysvipc/sys/msg.h: Likewise.
29243 * sysvipc/sys/sem.h: Likewise.
29244 * sysvipc/sys/shm.h: Likewise.
29245 * termios/termios.h: Likewise.
29246 * time/sys/time.h: Likewise.
29247 * time/time.h: Likewise.
29248 * wcsmbs/bits/wchar2.h: Likewise.
29249 * wcsmbs/uchar.h: Likewise.
29250 * wcsmbs/wchar.h: Likewise.
29251 * wctype/wctype.h: Likewise.
29252
0269750c
UD
29253 [BZ #13551]
29254 * Makeconfig: Remove all but ELF support including AIX support.
29255 * Makerules: Likewise.
29256 * config.h.in: Likewise.
29257 * config.make.in: Likewise.
29258 * configure: Likewise.
29259 * configure.in: Likewise.
29260 * csu/Makefile: Likewise.
29261 * csu/version.c: Likewise.
29262 * debug/Makefile: Likewise.
29263 * dlfcn/Makefile: Likewise.
29264 * elf/Makefile: Likewise.
29265 * extra-lib.mk: Likewise.
29266 * iconv/Makefile: Likewise.
29267 * include/libc-symbols.h: Likewise.
29268 * include/shlib-compat.h: Likewise.
29269 * resolv/Makefile: Likewise.
29270 * resolv/res_libc.c: Likewise.
29271 * rt/Makefile: Likewise.
29272 * sysdeps/i386/asm-syntax.h: Likewise.
29273 * sysdeps/i386/sysdep.h: Likewise.
29274 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29275 * sysdeps/mach/sysdep.h: Likewise.
29276 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29277 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29278 * sysdeps/s390/asm-syntax.h: Likewise.
29279 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29281 * sysdeps/sh/sysdep.h: Likewise.
29282 * sysdeps/unix/sparc/sysdep.h: Likewise.
29283 * sysdeps/wordsize-32/divdi3.c: Likewise.
29284 * sysdeps/x86_64/sysdep.h: Likewise.
29285
00bbd29b
UD
29286 * argp/Versions: Remove _argp_unlock_xxx.
29287
29288 [BZ #13559]
29289 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29290 * abilist/libBrokenLocale.abilist: Likewise.
29291 * abilist/libanl.abilist: Likewise.
29292 * abilist/libc.abilist: Likewise.
29293 * abilist/libcrypt.abilist: Likewise.
29294 * abilist/libdl.abilist: Likewise.
29295 * abilist/libm.abilist: Likewise.
29296 * abilist/libnsl.abilist: Likewise.
29297 * abilist/libpthread.abilist: Likewise.
29298 * abilist/libresolv.abilist: Likewise.
29299 * abilist/librt.abilist: Likewise.
29300 * abilist/libthread_db.abilist: Likewise.
29301 * abilist/libutil.abilist: Likewise.
29302 * abilist/libnss_db.abilist: New file.
29303
29304 * scripts/abilist.awk: Add support for indirect functions.
29305
a2693a0e
UD
29306 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29307
3f05895f
UD
29308 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29309
ecb6fb48
UD
29310 * shlib-versions: Remove entries for ports architectures.
29311
664f8cb9
UD
29312 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29313 files in ports.
29314 * elf/stackguard-macros.h: Remove support for IA-64.
29315 * elf/tst-auditmod1.c: Likewise.
29316 * sysdeps/generic/ldsodefs.h: Likewise.
29317
7ae81d88
UD
29318 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29319 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29320 configure files.
29321
bdeba135
UD
29322 [BZ #13552]
29323 * configure.in: Remove --enable-omitfp support.
29324 * FAQ.in: Adjust.
29325 * config.make.in: Likewise.
29326 * Makeconfig: Likewise.
29327 * manual/install.texi: Likewise.
29328
d75a0a62
UD
29329 In case anyone cares, the IA-64 architecture could move to ports.
29330 * sysdeps/ia64/*: Removed.
29331 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29332 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29333
dcc9756b
UD
29334 [BZ #13555]
29335 * configure.in: Remove entries for unsupported architectures.
29336
d3761ebc 29337 [BZ #13533]
9954432e
UD
29338 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29339 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29340 routines.
29341 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29342 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29343 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29344 fall back to using wcrtomb.
29345 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29346 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29347 renaming.
29348 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29349 * wcsmbs/tst-c16c32-1.c: New file.
29350
29351 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29352 local variable.
29353
c3a87236
UD
29354 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29355
28926a1b
UD
29356 * elf/tst-unique3.cc: Add explicit declaration of gets.
29357 * elf/tst-unique3lib.cc: Likewise.
29358 * elf/tst-unique3lib2.cc: Likewise.
29359 * elf/tst-unique4.cc: Likewise.
29360
df78418a
UD
29361 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29362
8ecd6b2a
JM
293632012-01-06 Joseph Myers <joseph@codesourcery.com>
29364
29365 [BZ #13566]
29366 * assert/assert.h (static_assert): Don't define for C++.
29367 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29368 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29369
9f115170
UD
293702012-01-03 Ulrich Drepper <drepper@gmail.com>
29371
5e0d0300
UD
29372 * iconv/loop.c (single loop): Fix assertion in storing of
29373 remaining bytes.
29374
9f115170
UD
29375 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29376
81fb02b0
UD
293772012-01-01 Ulrich Drepper <drepper@gmail.com>
29378
29379 * posix/getconf.c: Update copyright year.
29380 * nss/getent.c: Likewise.
a316c1f6 29381 * nss/makedb.c: Likewise.
81fb02b0
UD
29382 * iconv/iconvconfig.c: Likewise.
29383 * iconv/iconv_prog.c: Likewise.
29384 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29385 * elf/pldd.c: Likewise.
29386 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29387 * catgets/gencat.c: Likewise.
29388 * csu/version.c: Likewise.
29389 * elf/ldd.bash.in: Likewise.
29390 * elf/sprof.c (print_version): Likewise.
29391 * locale/programs/locale.c: Likewise.
29392 * locale/programs/localedef.c: Likewise.
a316c1f6 29393 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29394 * nscd/nscd.c (print_version): Likewise.
29395 * debug/xtrace.sh: Likewise.
29396 * malloc/memusage.sh: Likewise.
29397 * malloc/mtrace.pl: Likewise.
29398 * debug/catchsegv.sh: Likewise.
29399
2ba92745
JJ
294002011-12-30 Jakub Jelinek <jakub@redhat.com>
29401
29402 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29403 pure attribute.
29404
dadebdae
UD
294052011-12-24 Ulrich Drepper <drepper@gmail.com>
29406
d3761ebc 29407 [BZ #13533]
db6af3eb
UD
29408 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29409 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29410 transformations.
29411 * iconv/gconv_int.h: Likewise.
29412 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29413 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29414 from libc for GLIBC_2.16.
29415 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29416 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29417 * wcsmbs/uchar.h: Really define mbstate_t.
29418 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29419 * wcsmbs/c16rtomb.c: New file.
29420 * wcsmbs/mbrtoc16.c: New file.
29421 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29422 for C/POSIX locale.
29423 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29424 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29425
dadebdae
UD
29426 * wcsmbs/wchar.h: Add missing __restrict.
29427
67371b56
UD
294282011-12-23 Ulrich Drepper <drepper@gmail.com>
29429
74033a25
UD
29430 [BZ #13532]
29431 * time/Makefile (routines): Add timespec_get.
29432 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29433 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29434 timespec for ISO C11.
29435 * time/timespec_get.c: New file.
29436 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29437 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29438
380d7e87
UD
29439 [BZ #13531]
29440 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29441 * stdlib/stdlib.h: Declare aligned_alloc.
29442 * Versions.def: Add GLIBC_2.16 for libc.
29443 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29444
4e9e7a35
UD
29445 [BZ 13527]
29446 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29447 ISO C11.
29448
380d7e87 29449 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29450 code.
29451
03a71829
UD
29452 [BZ #13528]
29453 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29454
839e283e
UD
29455 [BZ #13529]
29456 * assert/assert.h (static_assert): Define.
29457
ce5294e2 29458 * version.h: Update for 2.16 development version.
90fa7312 29459
8d44e150 29460 [BZ #13526]
d7809905
UD
29461 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29462 _ISOC11_SOURCE.
29463
c0da14cd
UD
29464 * version.h (RELEASE): Bump for 2.15 release.
29465 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29466
530a3249
MP
29467 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29468 Patch by Marek Polacek <mpolacek@redhat.com>.
29469
67371b56
UD
29470 * bits/byteswap.h: Protect long long constants with __extension__.
29471 * sysdeps/i386/bits/byteswap.h: Likewise.
29472 * sysdeps/ia64/bits/byteswap.h: Likewise.
29473 * sysdeps/s390/bits/byteswap.h: Likewise.
29474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29475
15db4de1
LD
294762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29477
29478 [BZ #13540]
bbe315ea
LD
29479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29480 destination buffer.
15db4de1
LD
29481 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29482
2b2596b1
MP
294832011-12-23 Marek Polacek <polacek@redhat.com>
29484
29485 * elf/dl-addr.c (determine_info): Add inline keyword.
29486 * elf/tst-auditmod4b.c (check_avx): Likewise.
29487 * elf/tst-auditmod6b.c (check_avx): Likewise.
29488 * elf/tst-auditmod6c.c (check_avx): Likewise.
29489 * elf/tst-auditmod7b.c (check_avx): Likewise.
29490
70c6c246
UD
294912011-12-23 Ulrich Drepper <drepper@gmail.com>
29492
29493 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29494 !__SSE_MATH__.
29495
c044cf14
LD
294962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29497
15db4de1 29498 [BZ #13540]
c044cf14
LD
29499 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29500 processing for last bytes.
29501
6b13d9d9
BH
295022011-08-06 Bruno Haible <bruno@clisp.org>
29503
d455f537
BH
29504 [BZ #13061]
29505 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29506 U+0385, not to U+1FEE.
29507
6b13d9d9
BH
29508 [BZ #13062]
29509 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29510 entry for U+00A5 U+0301.
29511
db910efd
UD
295122011-12-22 Ulrich Drepper <drepper@gmail.com>
29513
27deeafc
UD
29514 [BZ #13166]
29515 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29516 buffer for the output is too small.
29517
aed9d171
UD
29518 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29519 optimization.
29520
db910efd
UD
29521 [BZ #13185]
29522 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29523 SSE flags if possible.
29524
2bd779ae
LD
295252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29526
e7f9dac3 29527 [BZ #13540]
2bd779ae
LD
29528 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29529 processing for last bytes.
29530
154bfc16
JM
295312011-12-22 Joseph Myers <joseph@codesourcery.com>
29532
29533 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29534 (syscall-list-default-options, syscall-list-default-condition)
29535 (syscall-list-includes): Define.
29536 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29537 list of ABIs and options and #if conditions for each ABI. Do not
29538 handle common syscalls between ABIs specially.
29539 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29540 Remove.
29541 (syscall-list-variants, syscall-list-32bit-options)
29542 (syscall-list-32bit-condition, syscall-list-64bit-options)
29543 (syscall-list-64bit-condition): Define.
29544 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29545 (syscall-list-variants, syscall-list-32bit-options)
29546 (syscall-list-32bit-condition, syscall-list-64bit-options)
29547 (syscall-list-64bit-condition): Define.
29548 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29549 Remove.
29550 (syscall-list-variants, syscall-list-32bit-options)
29551 (syscall-list-32bit-condition, syscall-list-64bit-options)
29552 (syscall-list-64bit-condition): Define.
29553 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29554 Remove.
29555 (syscall-list-variants, syscall-list-32bit-options)
29556 (syscall-list-32bit-condition, syscall-list-64bit-options)
29557 (syscall-list-64bit-condition): Define.
29558
21eaf3a5
UD
295592011-12-22 Ulrich Drepper <drepper@gmail.com>
29560
16c6f992
UD
29561 * locale/iso-639.def: Add brx entry.
29562
41043168
UD
29563 [BZ #13328]
29564 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29565 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29566
21eaf3a5
UD
29567 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29568 __feraiseexcept_renamed.
29569
e3a851a2
UD
295702011-12-21 Ulrich Drepper <drepper@gmail.com>
29571
4920765e
UD
29572 [BZ #13538]
29573 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29574 EPOLLET with unsigned values.
29575 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29577
e3a851a2
UD
29578 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29579 to large cancellation.
29580 * math/s_cacoshf.c: Likewise.
29581 * math/s_cacoshl.c: Likewise.
29582
b27e24b8
RK
295832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29584
29585 [BZ #13305]
aebefeee 29586 [BZ #12786]
b27e24b8
RK
29587 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29588 * math/s_cacoshf.c: Likewise.
29589 * math/s_cacoshl.c: Likewise.
29590
ee190f67
UD
295912011-12-21 Ulrich Drepper <drepper@gmail.com>
29592
29593 [BZ #13439]
29594 * iconv/gconv.h: Define __GCONV_SWAP.
29595 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29596 * iconvdata/utf-16.c: Likewise.
29597 * iconvdata/utf-32.c: Likewise.
29598
707f25df
AS
295992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29600
29601 [BZ #13524]
29602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29603 numerator after shifting it by one limb.
29604
d2daaa1e
RÁE
296052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29606
29607 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29608 under [__USE_EXTERN_INLINES].
29609
a4647e72
UD
296102011-12-17 Ulrich Drepper <drepper@gmail.com>
29611
29612 [BZ #13446]
29613 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29614
f0b264f1
AZ
296152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29616
29617 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29618 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29619 optimized code.
29620 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29621 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29622 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29623 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29624 for strncasecmp/strncasecmp_l compilation.
29625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29626 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29627
8ef4f244
MP
296282011-12-08 Marek Polacek <mpolacek@redhat.com>
29629
29630 [BZ #13484]
29631 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29632 of __asm__.
29633
97ac2654
UD
296342011-12-17 Ulrich Drepper <drepper@gmail.com>
29635
29636 [BZ #13506]
29637 * time/tzfile.c (__tzfile_read): Check values from file header.
29638
91d2a845
WS
296392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29640
29641 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29642 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29643 * powerpc/powerpc32/dl-start.S: Likewise.
29644 * powerpc/powerpc32/elf/start.S: Likewise.
29645 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29646 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29647 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29648 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29649 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29650 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29651 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29652 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29653 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29654 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29655 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29656 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29657 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29658 * powerpc/powerpc32/memset.S: Likewise.
29659 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29660 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29661 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29662 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29663 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29664 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29665 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29666 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29667 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29668 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29669 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29670 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29671 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29672
a1267ba1
AZ
296732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29674
29675 * math/libm-test.inc: Added more nearbyint tests.
29676 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29678 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29680
ad8ac1bd
RL
296812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29682
29683 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29684 FD_CLOEXEC.
29685
1d3e4b61
UD
296862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29687
29688 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29689 Add wcscpy-ssse3 wcscpy-c.
29690 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29691 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29692 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29693 * sysdeps/x86_64/wcschr.S: New file.
29694 * sysdeps/x86_64/wcsrchr.S: New file.
29695 * string/test-strcmp.c: Remove checking of wcscmp function for
29696 wrong alignments.
29697 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29698 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29699 wcsrchr-sse2 wcsrchr-c.
29700 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29701 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29702 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29703 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29704 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29705 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29706 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29707 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29708 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29709 * wcsmbc/wcschr.c (WCSCHR): New macro.
29710
5b330a2d
UD
297112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29712
29713 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29714 * wcsmbs/test-wcsrchr.c: New file.
29715 * string/test-strrchr.c: Add wcsrchr support.
29716 (WIDE): New macro.
29717 * wcsmbs/test-wcscpy.c: New file.
29718 * string/test-strcpy.c: Add wcscpy support.
29719 (WIDE): New macro.
26428b7c 29720
f039c043
UD
297212011-12-10 Ulrich Drepper <drepper@gmail.com>
29722
29723 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29724 the inner loop.
29725
850fb039
AS
297262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29727
29728 [BZ #13472]
29729 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29730
4efbd5cb
UD
297312011-12-04 Ulrich Drepper <drepper@gmail.com>
29732
52ff5dd0 29733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29734 Minor optimizations.
52ff5dd0 29735
4efbd5cb
UD
29736 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29737 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29738 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29739
8a426e12
UD
297402011-12-03 Ulrich Drepper <drepper@gmail.com>
29741
aff2453d
UD
29742 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29743 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29744 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29745 for gcc to avoid warnings.
29746 * inet/Makefile (tests): Add tst-checks.
29747 * inet/tst-checks.c: New file.
29748
29749 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29750 warning.
29751
29752 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29753 __wmemcmp_sse2.
29754
29755 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29756 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29757
8a426e12
UD
29758 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29759
9bea3473
UD
297602011-12-02 Ulrich Drepper <drepper@gmail.com>
29761
3a965496
UD
29762 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29763 problem.
29764
9bea3473
UD
29765 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29766
f101631b
UD
297672011-11-29 Joseph Myers <joseph@codesourcery.com>
29768
29769 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29770 conditional on GCC version.
29771 (__arch_compare_and_exchange_val_8_acq)
29772 (__arch_compare_and_exchange_val_16_acq)
29773 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29774 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29775 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29776
a98275aa
UD
297772011-12-02 Joseph Myers <joseph@codesourcery.com>
29778
29779 * sysdeps/sh/backtrace.c: New file.
29780
d4cc29a2
AS
297812011-12-02 Andreas Schwab <schwab@redhat.com>
29782
29783 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29784 parenthesis.
29785
6257af2d
AS
297862011-12-01 Andreas Schwab <schwab@redhat.com>
29787
29788 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29789 falling back to utime.
29790
b5f44c1a
AS
297912011-11-30 Andreas Schwab <schwab@redhat.com>
29792
29793 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29794 expectations for float.
29795
f3a6cc0a
AS
297962011-11-29 Andreas Schwab <schwab@redhat.com>
29797
29798 * locale/weight.h (findidx): Add parameter len.
29799 * locale/weightwc.h (findidx): Likewise.
29800 * posix/fnmatch_loop.c (FCT): Adjust caller.
29801 * posix/regcomp.c (build_equiv_class): Likewise.
29802 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29803 * posix/regexec.c (check_node_accept_bytes): Likewise.
29804 * string/strcoll_l.c (STRCOLL): Likewise.
29805 * string/strxfrm_l.c (STRXFRM): Likewise.
29806
9d65ea3a
UD
298072011-11-17 Ulrich Drepper <drepper@gmail.com>
29808
29809 * Makefile.in: Remove CVSOPT handling.
29810 * configure.in: Remove use of AC_REVISION.
29811 * iconvdata/Makefile (distribute): No need to filter out CVS.
29812 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29813 handling.
29814
5583a086
AS
298152011-11-16 Andreas Schwab <schwab@redhat.com>
29816
29817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29818 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29819 [USE_AS_STRNCASECMP_L]: Likewise.
29820 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29821 NO_TLS_DIRECT_SEG_REFS.
29822 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29823 Fix argument offsets for non-PIC.
29824 [USE_AS_STRNCASECMP_L]: Likewise.
29825 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29826 NO_TLS_DIRECT_SEG_REFS.
29827
d62a8200
UD
298282011-11-15 Ulrich Drepper <drepper@gmail.com>
29829
9d65ea3a 29830 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29831 O_CLOEXEC.
29832 * locale/loadlocale.c (_nl_load_locale): Likewise.
29833
09f93bd3
AS
298342011-11-15 Andreas Schwab <schwab@redhat.com>
29835
446514f9
AS
29836 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29837 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29838 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29839 (SYSCALL_GETTIME): Set errno on error.
29840
09f93bd3
AS
29841 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29842 count references to noai6ai_cached.
29843
312be3f9
UD
298442011-11-15 Ulrich Drepper <drepper@gmail.com>
29845
29846 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29847
29848 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29849 FD_CLOEXEC for /proc/self/maps.
29850
29851 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29852 FD_CLOEXEC for /proc/meminfo.
29853
29854 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29855 gai.conf.
29856
29857 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29858 FD_CLOEXEC for given file.
29859
29860 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29861
29862 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29863 FD_CLOEXEC for /etc/hosts.
29864 (_gethtent): Likewise.
29865
29866 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29867
29868 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29869 cancellation and set FD_CLOEXEC for /etc/netgroup.
29870
29871 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29872 reading /etc/publickey.
29873
29874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29875 allow cancellation when reading /etc/group.
29876
29877 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29878 cancellation.
29879 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29880
29881 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29882 when using data file.
29883
29884 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29885
29886 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29887 (write_nis_obj): Use "c" and "e" in fopen.
29888
29889 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29890
29891 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29892
29893 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29894
29895 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29896
29897 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29898 locale.alias.
29899
29900 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29901
29902 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29903
29904 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29905
29906 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29907 file parsing and set FD_CLOEXEC.
29908
82af0fa8
UD
299092011-11-14 Ulrich Drepper <drepper@gmail.com>
29910
29911 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29912
a5fb313c
AS
299132011-11-14 Andreas Schwab <schwab@redhat.com>
29914
29915 * malloc/arena.c (arena_get2): Don't call reused_arena when
29916 _int_new_arena failed.
29917
6abf3465
UD
299182011-11-14 Ulrich Drepper <drepper@gmail.com>
29919
29920 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29921 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29922 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29923 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29924 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29925 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29926 to compile strcasecmp and strncasecmp.
29927 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29928 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29929
29930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29931
76e3966e
UD
299322011-11-13 Ulrich Drepper <drepper@gmail.com>
29933
29934 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29935 locale-defines.sym to gen-as-const-headers.
29936 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29937 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29939 to compile strcasecmp and strncasecmp.
29940 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29941 strcasecmp_l and strncasecmp_l.
29942 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29943 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29944 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29945 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29946 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29947 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29948 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29949 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29950 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29951 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29952 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29953
ab26144e
UD
299542011-11-12 Ulrich Drepper <drepper@gmail.com>
29955
7edb22ef
UD
29956 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29957 result of SYSDEP_GETTIME_CPU to retval.
29958 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29959 parameter list to macro. Remove trailing semicolon. Adjust users.
29960
9694fc44
UD
29961 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29962 variable.
29963
8ad89ef8
UD
29964 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29965 mantissa words.
29966 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29967
0c822ef9
UD
29968 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29969 from unused variable.
29970
874e0564
UD
29971 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29972 DWARF definitions.
29973 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29974 for assembling.
29975
3a2edc79
UD
29976 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29977 over namespaces.
29978
f3c2577f
UD
29979 * sunrpc/rpc_prot.c (rejected): Fix case value.
29980
294ce126
UD
29981 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29982 unsigned long long int to avoid warnings in shift.
29983
5e2b63c6
UD
29984 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29985 of use of trans.
29986 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29987 variable tmp.
29988
e7f4b08e
UD
29989 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29990 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29991 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29992
ab26144e
UD
29993 * nis/nis_table.c (nis_list): Use variable of correct type for
29994 result of __follow_path call.
29995
8a6d5255
AZ
299962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29997
29998 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29999 of math functions ceil, trunc, floor, round, and sqrt, when
30000 avaliable on the platform.
30001 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30002 name clash.
30003 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30004 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30005 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30006
aaddc98c
MP
300072011-10-30 Marek Polacek <mpolacek@redhat.com>
30008
30009 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30010 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30011
95b7042b
RM
300122011-11-11 Roland McGrath <roland@hack.frob.com>
30013
30014 * include/unistd.h: Fix __readlink return type.
30015 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30016
57769839
UD
300172011-11-11 Ulrich Drepper <drepper@gmail.com>
30018
30019 * stdlib/ucontext.h: Undo last change for makecontext.
30020
edc5984d
AS
300212011-11-11 Andreas Schwab <schwab@redhat.com>
30022
98591e58
AS
30023 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30024
edc5984d
AS
30025 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30026 * setjmp/setjmp.h: Mark functions as non-leaf.
30027 * setjmp/bits/setjmp2.h: Likewise.
30028 * stdlib/ucontext.h: Likewise.
30029
77cdc054
AS
300302011-11-10 Andreas Schwab <schwab@redhat.com>
30031
30032 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30033 (reused_arena): Don't check arena limit.
30034 (arena_get2): Atomically check arena limit.
30035
fe72eebd
UD
300362011-11-08 Ulrich Drepper <drepper@gmail.com>
30037
5f078c32
UD
30038 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30039 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30040
fe72eebd
UD
30041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30042 instructions.
30043
ae1bc2fa
AS
300442011-11-07 Andreas Schwab <schwab@redhat.com>
30045
7583a88d
AS
30046 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30047 handler when locking.
30048
ae1bc2fa
AS
30049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30050 Fix size of allocated buffer.
30051
10fb0bfa
AS
300522011-11-04 Andreas Schwab <schwab@redhat.com>
30053
998832a4
AS
30054 [BZ #10103]
30055 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30056 declarations for long double functions.
30057 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30058
10fb0bfa
AS
30059 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30060
3d7ba52b
AS
300612011-11-03 Andreas Schwab <schwab@redhat.com>
30062
a9ae54a1
AS
30063 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30064 installed.
30065
3d7ba52b
AS
30066 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30067 is disabled.
30068
bc8db248
ST
300692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30070
30071 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30072
45b96dd6
AS
300732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30074
647776f6
AS
30075 * include/alloca.h (stackinfo_alloca_round): Define.
30076 (extend_alloca): Use it.
30077 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30078 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30079 here.
30080
d91a8b93
AS
30081 * scripts/check-local-headers.sh: Ignore libaudit.h.
30082
45b96dd6
AS
30083 * nscd/Makefile (extra-objs): Make recursively expanded.
30084
432d41ce
UD
300852011-11-01 Ulrich Drepper <drepper@gmail.com>
30086
34372fc6
UD
30087 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30089
fadb59f8
UD
30090 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30091 * posix/tst-rfc3484-2.c: Likewise.
30092 * posix/tst-rfc3484-3.c: Likewise.
30093
78239589
UD
30094 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30095 process_vm_writev.
30096 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30097 process_vm_writev.
30098 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30099 process_vm_writev from libc using GLIBC_2.15 version.
30100
432d41ce
UD
30101 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30102
02f9c6cf
PP
301032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30104
30105 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30106 stack usage.
30107
3a2c0242
UD
301082011-10-31 Ulrich Drepper <drepper@gmail.com>
30109
f4ec4833
UD
30110 [BZ #13367]
30111 * nss/getent.c (initgroups_keys): Show error message in case no group
30112 names are given.
30113
3a2c0242
UD
30114 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30115 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30116 __bump_nl_timestamp.
30117 * nscd/connections (nscd_init): When host database is served open
30118 netlink socket and request notification about configuration changes.
30119 (main_loop_poll): Track netlink file descriptor and bump timestamp
30120 in case data becomes available.
30121 (main_loop_epoll): Likewise.
30122 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30123 (database_pers_head): Add extra_data fileds.
30124 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30125 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30126 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30127 Adjust caller.
30128 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30129 in6ai data, call __free_in6ai.
30130 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30131 Add -DHAVE_NETLINK.
30132 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30133 interface information. Reuse previous data if netlink timestamp
30134 is not changed.
30135 (__bump_nl_timestamp): New function.
30136 (__free_in6ai): New function.
30137
636064eb
UD
301382011-10-30 Ulrich Drepper <drepper@gmail.com>
30139
30140 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30141 close_not_cancel_no_status here.
30142 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30143
9beb2334
UD
301442011-10-29 Ulrich Drepper <drepper@gmail.com>
30145
6ef76f3b
UD
30146 [BZ #13276]
30147 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30148 return value.
30149
0ffc4f3e 30150 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30151 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30152 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30153
cb95113e
UD
301542011-07-03 Andreas Jaeger <aj@suse.de>
30155
30156 [BZ #10709]
30157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30158 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30159 * math/libm-test.inc (sin_test): Add test case.
30160
a1b560ff
UD
301612011-10-29 Ulrich Drepper <drepper@gmail.com>
30162
c9aaface
UD
30163 [BZ #13337]
30164 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30165 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30166
d272e7f1
UD
30167 * elf/chroot_canon.c (chroot_canon): Cleanups.
30168
1bc33071
UD
30169 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30170
1760874d
TJ
30171 [BZ #13335]
30172 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30173 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30174
51d91b18
UD
30175 * string/test-strchr.c: Make usable for strchrnul testing.
30176 * string/test-strchrnul.c: New file.
30177 * string/Makefile (strop-tests): Add strchrnul.
30178
a1b560ff 30179 * po/it.po: Update from translation team.
b611fb81 30180 * po/es.po: Likewise.
a1b560ff 30181
a5b81e1f
UD
301822011-10-28 Ulrich Drepper <drepper@gmail.com>
30183
fd52bc6d
UD
30184 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30185 the three constants needed as parameters. Drop the others.
30186 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30187 __m128i_strloadu_tolower.
52e4b9eb
UD
30188 Create and initialize variable zero and use it in all the places
30189 where _mm_setzero_si128 was used.
fd52bc6d 30190
a5b81e1f
UD
30191 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30192 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30193 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30194 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30195 anymore.
30196 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30197 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30198 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30199 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30200 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30201 __mpranred, __mptan.
30202 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30203 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30204 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30205 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30206 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30207 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30209 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30210 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30211
b4343346
AS
302122011-10-28 Andreas Schwab <schwab@redhat.com>
30213
0c92d8a8
AS
30214 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30215 redefine if SHARED.
30216 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30217
b4343346
AS
30218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30219 wide char related routines to wcsmbs subdir.
30220
3871f58f
AS
302212011-10-27 Andreas Schwab <schwab@redhat.com>
30222
30223 [BZ #13344]
30224 * misc/sys/cdefs.h (__THROWNL): Define.
30225 * posix/unistd.h: Use __THREADNL instead of __THREAD
30226 for memory synchronization functions.
30227
94d44d9f
RM
302282011-10-26 Roland McGrath <roland@hack.frob.com>
30229
21b64b15 30230 [BZ #13349]
94d44d9f
RM
30231 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30232 doesn't exist.
30233 * manual/stdio.texi (Obstack Streams): Node removed.
30234
f6ce9294
AS
302352011-10-26 Andreas Schwab <schwab@redhat.com>
30236
80479147
AS
30237 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30238 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30240
f6ce9294
AS
30241 * math/math_private.h (math_force_eval): Allow non-addressable
30242 arguments.
30243 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30244
618280a1
UD
302452011-10-25 Ulrich Drepper <drepper@gmail.com>
30246
e0016b11
UD
30247 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30248 file is not needed.
30249
30250 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30253 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30255 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30257 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30258 Add AVX variants.
30259 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30260 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30261 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30262 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30263 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30264 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30265 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30266 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30267 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30268 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30269 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30270 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30271 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30272 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30273 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30274 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30275 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30276 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30277 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30278
30279 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30280 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30281
618280a1
UD
30282 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30283 place. Use VEX encoding when compiling for AVX.
30284
37822576
AS
302852011-10-25 Andreas Schwab <schwab@redhat.com>
30286
1f1e1947
AS
30287 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30288 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30289
37822576
AS
30290 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30291
31ea014d
UD
302922011-10-25 Ulrich Drepper <drepper@gmail.com>
30293
d7826aa1 30294 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30295 useless if() expression.
d7826aa1
UD
30296 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30297 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30298 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30300 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30301 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30304 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30305 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30306 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30307 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30308 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30309 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30310 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30311 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30312 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30313 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30314 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30315
31ea014d
UD
30316 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30317
16437fec
AS
303182011-10-25 Andreas Schwab <schwab@redhat.com>
30319
30320 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30321 condition.
30322 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30323
31d3cc00
UD
303242011-10-25 Ulrich Drepper <drepper@gmail.com>
30325
30326 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30327 .text section. Avoid duplicate constants.
30328 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30330 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30336 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30337 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30338 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30339 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30340 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30341 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30342 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30343 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30344 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30346 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30348 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30349 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30350 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30352 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30355 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30356 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30357 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30358 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30359 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30361 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30362 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30363 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30364 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30366 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30367 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30368 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30370 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30371 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30372 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30373
58985aa9
UD
303742011-10-24 Ulrich Drepper <drepper@gmail.com>
30375
202c9deb
UD
30376 * sysdeps/x86_64/dla.h: Move to ...
30377 * sysdeps/x86_64/fpu/dla.h: ...here.
30378 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30379 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30380
af968f62
UD
30381 * config.make.in: Add have-mfma4 entry.
30382 * configure.in: Substitute libc_cv_cc_fma4.
30383 * math/Makefile (dbl-only-routines): Add sincostab.
30384 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30385 Use __sincostab not sincos.
30386 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30387 name is a macro.
30388 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30392 using __copysign.
30393 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30394 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30395 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30396 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30397 and __inv.
30398 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30399 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30400 __copysign.
30401 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30402 define aliases when function name is a macro.
30403 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30404 sysdeps/ieee754/dbl-64/sincos.tbl.
30405 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30406 fma4-enabled routines.
30407 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30408 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30409 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30410 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30411 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30412 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30413 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30414 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30415 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30416 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30417 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30418 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30419 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30420 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30421 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30422 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30423 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30424 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30425 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30426 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30427 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30428 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30430 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30432 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30433 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30434 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30435 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30436 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30437
58985aa9
UD
30438 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30439 rename.
30440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30446 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30448
a201fbcf
AS
304492011-10-24 Andreas Schwab <schwab@redhat.com>
30450
30451 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30452
fc2ee42a
LD
304532011-10-23 Ulrich Drepper <drepper@gmail.com>
30454
bb3129bd
UD
30455 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30456
0275fff8
UD
30457 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30458 prediction.
30459 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30460
2fa2ae85
UD
30461 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30462 Remove unused variable magic_bits.
30463 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30464
fc2ee42a
LD
30465 * string/strnlen.c: Define and use STRNLEN macro.
30466 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30467 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30469 * wcsmbs/wcslen.c: Define and use WCSLEN.
30470 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30471 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30472 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30473 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30474 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30475 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30476 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30477
ce7dd29f
LD
304782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30479
30480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30481 strnlen-sse2-no-bsf.
30482 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30484 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30485 Add strnlen support.
30486 (USE_AS_STRNLEN): New macro.
30487 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30488 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30489 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30490 * sysdeps/x86_64/wcslen.S: New file.
30491
979c70a3
MZ
304922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30493
30494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30495 XMM-moves are used for copying on small sizes.
30496
2d09f82f
LD
304972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30498
30499 * wcsmbs/Makefile (strop-tests): Add wcschr.
30500 * wcsmbs/test-wcschr.c: New file.
30501 * string/test-strchr.c: Update.
30502 Add wcschr support.
30503 (WIDE): New macro.
30504
619fccca
LD
305052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30506
2d09f82f 30507 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30508 * wcsmbs/test-wcslen.c: New file.
30509 * string/test-strlen.c: Update.
30510 Add wcslen support.
30511 (WIDE): New macro.
30512
09f699ea
UD
305132011-10-23 Ulrich Drepper <drepper@gmail.com>
30514
30515 * po/it.po: Update from translation team.
30516
95584d3b
LD
305172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30518
30519 * sysdeps/x86_64/wcscmp.S: Update.
30520 Fix wrong comparison semantics.
30521 wcscmp shall use signed comparison not unsigned.
30522 Don't use substraction to avoid overflow bug.
30523 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30524 * wcsmbc/wcscmp.c: Likewise.
30525 * string/test-strcmp.c: Likewise.
30526 Add new tests to check cases with negative values.
30527
c8b3296b
UD
305282011-10-23 Ulrich Drepper <drepper@gmail.com>
30529
30530 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30531 * sysdeps/x86_64/dla.h: ...here. New file.
30532 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30539 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30541
246ad57a
AS
305422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30543
30544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30545 __ynl_finite aliases.
30546
a1a87169
UD
305472011-10-22 Ulrich Drepper <drepper@gmail.com>
30548
0d355eb7
UD
30549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30550
a1a87169
UD
30551 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30552 define DLA_FMA.
30553 [DLA_FMA] (EMULV): Use DLA_FMA.
30554 [DLA_FMA] (MUL12): Use EMULV.
30555 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30556 that are not needed.
30557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30564
ee2aafe0
AS
305652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30566
30567 * math/s_nan.c: Undef __nan.
30568 * math/s_nanf.c: Undef __nanf.
30569 * math/s_nanl.c: Undef __nanl.
30570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30571 "math_private.h".
30572
bc62c2fb
UD
305732011-10-22 Ulrich Drepper <drepper@gmail.com>
30574
77425c63
UD
30575 * math/s_catan.c: Add branch predictions.
30576 * math/s_catanf.c: Likewise.
30577 * math/s_catanh.c: Likewise.
30578 * math/s_catanhf.c: Likewise.
30579 * math/s_catanhl.c: Likewise.
30580 * math/s_catanl.c: Likewise.
30581 * math/s_cexp.c: Likewise.
30582 * math/s_cexpf.c: Likewise.
30583 * math/s_cexpl.c: Likewise.
30584 * math/s_clog.c: Likewise.
30585 * math/s_clog10.c: Likewise.
30586 * math/s_clog10f.c: Likewise.
30587 * math/s_clog10l.c: Likewise.
30588 * math/s_clogf.c: Likewise.
30589 * math/s_clogl.c: Likewise.
30590 * math/s_csqrt.c: Likewise.
30591 * math/s_csqrtf.c: Likewise.
30592 * math/s_csqrtl.c: Likewise.
30593 * math/s_ctanf.c: Likewise.
30594 * math/s_ctanh.c: Likewise.
30595 * math/s_ctanhf.c: Likewise.
30596 * math/s_ctanhl.c: Likewise.
30597 * math/s_ctanl.c: Likewise.
30598
bc62c2fb
UD
30599 * math/math_private.h: Define __nan, __nanf, __nanl.
30600 * math/s_cacosh.c: Include <math_private.h>.
30601 * math/s_cacoshl.c: Likewise.
30602 * math/s_casinh.c: Likewise.
30603 * math/s_casinhf.c: Likewise.
30604 * math/s_casinhl.c: Likewise.
30605 * math/s_ccos.c: Rely entire on ccosh.
30606 * math/s_ccosf.c: Rely entire on ccoshf.
30607 * math/s_ccosl.c: Rely entirely on ccoshl.
30608 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30609 Remove tests for FE_INVALID.
30610 * math/s_ccoshf.c: Likewise.
30611 * math/s_ccoshl.c: Likewise.
30612 * math/s_csin.c: Likewise.
30613 * math/s_csinf.c: Likewise.
30614 * math/s_csinh.c Likewise.
30615 * math/s_csinhf.c: Likewise.
30616 * math/s_csinhl.c: Likewise.
30617 * math/s_csinl.c: Likewise.
30618 * math/s_ctan.c: Likewise.
30619 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30620 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30622
8ec250a4
UD
306232011-10-21 Ulrich Drepper <drepper@gmail.com>
30624
c196fed8
UD
30625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30626 compilation problems.
30627
8ec250a4
UD
30628 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30629 __builtin_expect.
30630
8d4f46c6
UD
306312011-10-20 Ulrich Drepper <drepper@gmail.com>
30632
ed72b654
UD
30633 * sysdeps/i386/configure.in: Test for -mfma4 option.
30634 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30635 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30636 COMMON_CPUID_INDEX_80000001.
30637 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30638 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30639 use it if FMA3 is not supported.
30640 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30641
8d4f46c6
UD
30642 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30643 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30644
d45c60c2
AS
306452011-10-20 Andreas Schwab <schwab@redhat.com>
30646
30647 [BZ #12892]
30648 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30649 it would create a cycle with a link time dependency.
30650
d9a4d2ab
UD
306512011-10-19 Ulrich Drepper <drepper@gmail.com>
30652
855d1560
UD
30653 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30654 instruction.
30655 * string/Makefile (strop-tests): Add rawmemchr.
30656 * string/test-rawmemchr.c: New file.
30657
d9a4d2ab
UD
30658 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30660 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30661 when compiling str{,n}casecmp and when AVX is available. Hook up
30662 new optimized code in initializers.
30663
8f3b1ffe
AS
306642011-10-19 Andreas Schwab <schwab@redhat.com>
30665
30666 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30667 __feraiseexcept instead of feraiseexcept.
30668
d38f1dba
UD
306692011-10-18 Ulrich Drepper <drepper@gmail.com>
30670
d9a8d0ab
UD
30671 * math/math_private.h: Define defaults for libc_fetestexcept and
30672 libc_feupdateenv.
30673 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30674 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30675 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30676 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30677 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30678 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30679 libc_fetestexcept and libc_feupdateenv.
30680
4855e3dd
UD
30681 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30682 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30683 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30684 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30685 libc_feholdexcept_setround.
30686
581d30e3
UD
30687 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30688 Add s_nearbyint-c and s_nearbyintf-c.
30689 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30690 nearbyintf inlines.
30691 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30692 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30693 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30694 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30695
d38f1dba
UD
30696 * math/math_private.h: Define defaults for libc_fegetround,
30697 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30698 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30699 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30701 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30702 standard functions.
30703 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30704 Remove comments and hacks for old compiler versions.
30705 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30706 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30707 libc_feholdexceptl.
30708
caa6c9d8
AS
307092011-10-18 Andreas Schwab <schwab@redhat.com>
30710
30711 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30712 (__feraiseexcept_renamed): Add __NTH.
30713 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30714 namespace violations.
30715
97c066e6
UD
307162011-10-17 Ulrich Drepper <drepper@gmail.com>
30717
99ce7b04
UD
30718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30719
1004d182
UD
30720 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30721
228a984d
UD
30722 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30723 recently added interfaces.
30724 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30725
c8553a6a
UD
30726 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30727 about macro parameter expansion.
30728
ed22dcf6
UD
30729 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30730 __NO_MATH_INLINES is defined. Cleanups.
30731
30732 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30733 and __floorf is target has SSE4.1.
30734 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30735 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30736 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30737 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30738
b171c137
UD
30739 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30740 name.
30741 (floorf): Likewise.
30742
97c066e6
UD
30743 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30744
629f62ef
AS
307452011-10-17 Andreas Schwab <schwab@redhat.com>
30746
49a43d80
AS
30747 * misc/sys/cdefs.h: Fix last change.
30748
629f62ef
AS
30749 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30750 database lookup.
30751
e453f6cd
UD
307522011-10-16 Ulrich Drepper <drepper@gmail.com>
30753
aa78043a
UD
30754 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30755
ad0f5cad
UD
30756 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30759 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30760 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30762 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30763 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30764 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30765 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30766 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30767 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30768 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30769 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30770 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30771 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30772 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30773 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30774 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30775 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30776 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30777 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30778
30779 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30780 ceil, ceilf, floor, floorf.
30781
30782 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30783 Perform IRELATIVE relocations last.
30784
e453f6cd
UD
30785 * elf/do-rel.h: Add another parameter nrelative, replacing the
30786 local variable with the same name. Change name of the function
30787 to end in Rel or Rela (uppercase).
30788 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30789 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30790 elf_dynamic_do_##reloc function.
30791
fd5bdc09
UD
307922011-10-15 Ulrich Drepper <drepper@gmail.com>
30793
79b195b5
UD
30794 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30795 is sufficient, at least on modern CPUs.
30796
d4a28569
UD
30797 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30798
b61099b5
UD
30799 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30800 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30801
bcf01e6d
UD
30802 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30803 __expl_finite.
30804 * math/bits/math-finite.h: Add entries for exp.
30805 * math/e_expl.c: Add __*_finite alias.
30806 * sysdeps/i386/fpu/e_exp.S: Likewise.
30807 * sysdeps/i386/fpu/e_expf.S: Likewise.
30808 * sysdeps/i386/fpu/e_expl.c: Likewise.
30809 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30810 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30813 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30814 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30815 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30816
ba1a0d59
UD
30817 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30818 is sufficient, at least on modern CPUs.
30819
fd5bdc09
UD
30820 * ctype/ctype-info.c (__ctype_init): Define.
30821 * include/ctype.h (__ctype_init): Declare.
30822 (__ctype_b_loc): The variable is always initialized.
30823 (__ctype_toupper_loc): Likewise.
30824 (__ctype_tolower_loc): Likewise.
30825 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30826 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30827
7872cfb0
AS
308282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30829
b468825a
AS
30830 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30831
7872cfb0
AS
30832 * configure.in: Also look in $cxxmachine/include for C++ system
30833 headers.
30834
be13f7bf
LD
308352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30836
30837 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30838 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30839 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30840 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30841 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30842 (USE_AS_WMEMCMP): New macro.
30843 Fixing indents.
30844 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30845 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30846 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30847 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30849 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30850 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30851 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30852 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30853 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30854 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30855 (USE_AS_WMEMCMP): New macro.
30856 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30857 * sysdeps/string/test-memcmp.c: Update.
30858 Fix simple_wmemcmp.
30859 Add new tests.
30860 * wcsmbs/wmemcmp.c: Update.
30861 (WMEMCMP): New macro.
30862 Fix overflow bug.
30863
556a2007
AJ
308642011-10-12 Andreas Jaeger <aj@suse.de>
30865
30866 [BZ #13268]
30867 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30868
538faaa7
UD
308692011-10-15 Ulrich Drepper <drepper@gmail.com>
30870
ab6737ff
UD
30871 * libio/iofwide.c (do_length): Avoid warning.
30872
538faaa7
UD
30873 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30874
396a21b1
UD
308752011-10-14 Ulrich Drepper <drepper@gmail.com>
30876
cdf2901f
UD
30877 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30878
38ad40ce
UD
30879 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30880 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30881 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30882 * sysdeps/i386/i686/fpu/e_log.S: New file.
30883 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30884 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30885
396a21b1
UD
30886 * ctype/ctype.h: Add support for inlined isXXX functions when
30887 compiling C++ code.
30888
6b1f68c9
AS
308892011-10-14 Andreas Schwab <schwab@redhat.com>
30890
349290c0
AS
30891 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30892
6b1f68c9
AS
30893 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30894
f2282d42
RM
308952011-10-13 Roland McGrath <roland@hack.frob.com>
30896
30897 [BZ #13291]
30898 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30899
5298ffa8
AS
309002011-10-13 Andreas Schwab <schwab@redhat.com>
30901
714fad23
AS
30902 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30903 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30904 feraiseexcept.
30905
81dcc7fb
AS
30906 * sysdeps/x86_64/memrchr.S: Check for zero size.
30907
5298ffa8
AS
30908 * string/stratcliff.c: Add memrchr tests.
30909
951fbcec
LD
309102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30911
30912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30913 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30914 rawmemchr-sse2 rawmemchr-sse2-bsf.
30915 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30916 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30917 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30918 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30919 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30920 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30921 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30922 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30923 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30924 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30925 * string/memrchr.c (MEMRCHR): New macro.
30926
0ac5ae23
UD
309272011-10-12 Ulrich Drepper <drepper@gmail.com>
30928
30929 Add integration with gcc's -ffinite-math-only and optimize wrapper
30930 functions in libm.
30931 * Versions.def: Define GLIBC_2.15 version for libm.
30932 * math/Makefile (headers): Add bits/math-finite.h.
30933 * math/bits/math-finite.h: New file.
30934 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30935 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30936 * math/e_acoshl.c: Add __*_finite alias.
30937 * math/e_acosl.c: Likewise.
30938 * math/e_asinl.c: Likewise.
30939 * math/e_atan2l.c: Likewise.
30940 * math/e_atanhl.c: Likewise.
30941 * math/e_coshl.c: Likewise.
30942 * math/e_exp10.c: Likewise.
30943 * math/e_exp10f.c: Likewise.
30944 * math/e_exp10l.c: Likewise.
30945 * math/e_exp2l.c: Likewise.
30946 * math/e_fmodl.c: Likewise.
30947 * math/e_gammal_r.c: Likewise.
30948 * math/e_hypotl.c: Likewise.
30949 * math/e_j0l.c: Likewise.
30950 * math/e_j1l.c: Likewise.
30951 * math/e_jnl.c: Likewise.
30952 * math/e_lgammal_r.c: Likewise.
30953 * math/e_log10l.c: Likewise.
30954 * math/e_log2l.c: Likewise.
30955 * math/e_logl.c: Likewise.
30956 * math/e_powl.c: Likewise.
30957 * math/e_sinhl.c: Likewise.
30958 * math/e_sqrtl.c: Likewise.
30959 * math/e_scalb.c: Completely rewritten and optimized.
30960 * math/e_scalbf.c: Likewise.
30961 * math/e_scalbl.c: Likewise.
30962 * math/w_acos.c: Likewise.
30963 * math/w_acosf.c: Likewise.
30964 * math/w_acosl.c: Likewise.
30965 * math/w_acosh.c: Likewise.
30966 * math/w_acoshf.c: Likewise.
30967 * math/w_acoshl.c: Likewise.
30968 * math/w_asin.c: Likewise.
30969 * math/w_asinf.c: Likewise.
30970 * math/w_asinl.c: Likewise.
30971 * math/w_atan2.c: Likewise.
30972 * math/w_atan2f.c: Likewise.
30973 * math/w_atan2l.c: Likewise.
30974 * math/w_atanh.c: Likewise.
30975 * math/w_atanhf.c: Likewise.
30976 * math/w_atanhl.c: Likewise.
30977 * math/w_exp10.c: Likewise.
30978 * math/w_exp10f.c: Likewise.
30979 * math/w_exp10l.c: Likewise.
30980 * math/w_fmod.c: Likewise.
30981 * math/w_fmodf.c: Likewise.
30982 * math/w_fmodl.c: Likewise.
30983 * math/w_j0.c: Likewise.
30984 * math/w_j0f.c: Likewise.
30985 * math/w_j0l.c: Likewise.
30986 * math/w_j1.c: Likewise.
30987 * math/w_j1f.c: Likewise.
30988 * math/w_j1l.c: Likewise.
30989 * math/w_jn.c: Likewise.
30990 * math/w_jnf.c: Likewise.
30991 * math/w_log.c: Likewise.
30992 * math/w_logf.c: Likewise.
30993 * math/w_logl.c: Likewise.
30994 * math/w_log10.c: Likewise.
30995 * math/w_log10f.c: Likewise.
30996 * math/w_log10l.c: Likewise.
30997 * math/w_log2.c: Likewise.
30998 * math/w_log2f.c: Likewise.
30999 * math/w_log2l.c: Likewise.
31000 * math/w_pow.c: Likewise.
31001 * math/w_powf.c: Likewise.
31002 * math/w_powl.c: Likewise.
31003 * math/w_remainder.c: Likewise.
31004 * math/w_remainderf.c: Likewise.
31005 * math/w_remainderl.c: Likewise.
31006 * math/w_scalb.c: Likewise.
31007 * math/w_scalbf.c: Likewise.
31008 * math/w_scalbl.c: Likewise.
31009 * math/w_sqrt.c: Likewise.
31010 * math/w_sqrtf.c: Likewise.
31011 * math/w_sqrtl.c: Likewise.
31012 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31013 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31014 used.
31015 * math/math_private.h: Declare __kernel_standard_f.
31016 * math/w_cosh.c: Remove cruft and optimize a bit.
31017 * math/w_coshf.c: Likewise.
31018 * math/w_coshl.c: Likewise.
31019 * math/w_exp2.c: Likewise.
31020 * math/w_exp2f.c: Likewise.
31021 * math/w_exp2l.c: Likewise.
31022 * math/w_hypot.c: Likewise.
31023 * math/w_hypotf.c: Likewise.
31024 * math/w_hypotl.c: Likewise.
31025 * math/w_lgamma.c: Likewise.
31026 * math/w_lgamma_r.c: Likewise.
31027 * math/w_lgammaf.c: Likewise.
31028 * math/w_lgammaf_r.c: Likewise.
31029 * math/w_lgammal.c: Likewise.
31030 * math/w_lgammal_r.c: Likewise.
31031 * math/w_sinh.c: Likewise.
31032 * math/w_sinhf.c: Likewise.
31033 * math/w_sinhl.c: Likewise.
31034 * math/w_tgamma.c: Likewise.
31035 * math/w_tgammaf.c: Likewise.
31036 * math/w_tgammal.c: Likewise.
31037 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31038 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31039 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31040 Minor optimizations. Pretty printing. Remove cruft.
31041 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31042 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31043 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31044 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31045 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31046 * sysdeps/i386/fpu/e_asin.S: Likewise.
31047 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31048 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31049 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31050 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31051 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31052 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31053 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31054 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31055 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31056 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31057 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31058 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31059 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31060 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31061 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31062 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31063 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31064 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31065 * sysdeps/i386/fpu/e_log.S: Likewise.
31066 * sysdeps/i386/fpu/e_log10.S: Likewise.
31067 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31068 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31069 * sysdeps/i386/fpu/e_log2.S: Likewise.
31070 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31071 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31072 * sysdeps/i386/fpu/e_logf.S: Likewise.
31073 * sysdeps/i386/fpu/e_logl.S: Likewise.
31074 * sysdeps/i386/fpu/e_pow.S: Likewise.
31075 * sysdeps/i386/fpu/e_powf.S: Likewise.
31076 * sysdeps/i386/fpu/e_powl.S: Likewise.
31077 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31078 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31079 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31080 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31081 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31082 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31083 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31084 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31085 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31086 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31087 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31089 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31090 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31091 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31092 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31093 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31095 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31096 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31097 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31099 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31100 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31102 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31103 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31106 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31107 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31108 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31109 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31110 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31111 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31112 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31113 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31114 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31115 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31116 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31117 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31118 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31119 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31120 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31121 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31122 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31123 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31124 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31125 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31126 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31127 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31128 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31129 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31130 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31131 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31132 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31133 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31134 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31135 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31136 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31137 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31138 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31139 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31140 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31141 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31142 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31143 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31144 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31145 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31146 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31147 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31149 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31150 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31151 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31156 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31157 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31158 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31160 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31162 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31163 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31164 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31165 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31166 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31167 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31168 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31169 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31170 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31171 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31172 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31173 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31174 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31175 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31176 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31177 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31178 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31179 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31180 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31181 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31182 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31183 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31184 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31185 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31186 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31187 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31188 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31189 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31190 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31191 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31192 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31193 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31194 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31195 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31196 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31197 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31198 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31199 (__isnanf): Likewise.
31200 (__isinf_ns): Likewise.
31201 (__isinf_nsf): Likewise.
31202 (__finite): Likewise.
31203 (__finitef): Likewise.
31204 (__ieee754_sqrt): Define as macro.
31205 (__ieee754_sqrtf): Define as macro.
31206 (__ieee754_sqrtl): Define as macro.
31207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31208 inlined copy.
31209 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31210 __FINITE_MATH_ONLY__ consistent.
31211 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31212
12cc2fcd
AS
312132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31214
a843a204
AS
31215 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31216 of rawmemchr.
31217
12cc2fcd
AS
31218 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31219
c853acd5
UD
312202011-10-09 Ulrich Drepper <drepper@gmail.com>
31221
31222 * po/ja.po: Update from translation team.
31223
c658d255
RM
312242011-10-08 Roland McGrath <roland@hack.frob.com>
31225
110946e4
RM
31226 * locale/programs/locarchive.c (prepare_address_space): New function.
31227 (create_archive, enlarge_archive, open_archive): Use it.
31228
50604220
RM
31229 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31230 inside [SHARED], where it is used.
31231
c658d255
RM
31232 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31233
31234 * nss/getent.c (netgroup_keys): Remove unused variable.
31235 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31236
6a621eb7
UD
312372011-10-08 Ulrich Drepper <drepper@gmail.com>
31238
7edb55ce
UD
31239 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31240 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31243 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31244 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31245 * math/Makefile (libm-calls): Add s_isinf_ns.
31246 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31247 * math/multc3.c: Likewise.
31248 * math/s_casin.c: Likewise.
31249 * math/s_casinf.c: Likewise.
31250 * math/s_casinl.c: Likewise.
31251 * math/s_ccos.c: Likewise.
31252 * math/s_ccosf.c: Likewise.
31253 * math/s_ccosl.c: Likewise.
31254 * math/s_ctan.c: Likewise.
31255 * math/s_ctanf.c: Likewise.
31256 * math/s_ctanh.c: Likewise.
31257 * math/s_ctanhf.c: Likewise.
31258 * math/s_ctanhl.c: Likewise.
31259 * math/s_ctanl.c: Likewise.
31260 * math/w_fmod.c: Likewise.
31261 * math/w_fmodf.c: Likewise.
31262 * math/w_fmodl.c: Likewise.
31263 * math/w_remainder.c: Likewise.
31264 * math/w_remainderf.c: Likewise.
31265 * math/w_remainderl.c: Likewise.
31266 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31267 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31268 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31270 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31271 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31272 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31273 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31274
187da0ae
UD
31275 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31276 of the number.
31277 * stdio-common/printf_fphex.c: Likewise.
31278 * stdio-common/printf_size.c: Likewise.
31279
9277c064
UD
31280 * math/e_exp10.c: Include math_private.h using <...> not "...".
31281 * math/e_exp10f.c: Likewise.
31282 * math/e_exp10l.c: Likewise.
31283 * math/e_exp2l.c: Likewise.
31284 * math/e_j0l.c: Likewise.
31285 * math/e_j1l.c: Likewise.
31286 * math/e_jnl.c: Likewise.
31287 * math/e_lgammal_r.c: Likewise.
31288 * math/e_rem_pio2l.c: Likewise.
31289 * math/e_scalb.c: Likewise.
31290 * math/e_scalbf.c: Likewise.
31291 * math/e_scalbl.c: Likewise.
31292 * math/k_cosl.c: Likewise.
31293 * math/k_sinl.c: Likewise.
31294 * math/k_tanl.c: Likewise.
31295 * math/s_cacoshf.c: Likewise.
31296 * math/s_catan.c: Likewise.
31297 * math/s_catanf.c: Likewise.
31298 * math/s_catanh.c: Likewise.
31299 * math/s_catanhf.c: Likewise.
31300 * math/s_catanhl.c: Likewise.
31301 * math/s_catanl.c: Likewise.
31302 * math/s_ccosh.c: Likewise.
31303 * math/s_ccoshf.c: Likewise.
31304 * math/s_ccoshl.c: Likewise.
31305 * math/s_cexp.c: Likewise.
31306 * math/s_cexpf.c: Likewise.
31307 * math/s_cexpl.c: Likewise.
31308 * math/s_clog.c: Likewise.
31309 * math/s_clog10.c: Likewise.
31310 * math/s_clog10f.c: Likewise.
31311 * math/s_clog10l.c: Likewise.
31312 * math/s_clogf.c: Likewise.
31313 * math/s_clogl.c: Likewise.
31314 * math/s_csin.c: Likewise.
31315 * math/s_csinf.c: Likewise.
31316 * math/s_csinh.c: Likewise.
31317 * math/s_csinhf.c: Likewise.
31318 * math/s_csinhl.c: Likewise.
31319 * math/s_csinl.c: Likewise.
31320 * math/s_csqrt.c: Likewise.
31321 * math/s_csqrtf.c: Likewise.
31322 * math/s_csqrtl.c: Likewise.
31323 * math/s_ctan.c: Likewise.
31324 * math/s_ctanf.c: Likewise.
31325 * math/s_ctanh.c: Likewise.
31326 * math/s_ctanhf.c: Likewise.
31327 * math/s_ctanhl.c: Likewise.
31328 * math/s_ctanl.c: Likewise.
31329 * math/s_ldexp.c: Likewise.
31330 * math/s_ldexpf.c: Likewise.
31331 * math/s_ldexpl.c: Likewise.
31332 * math/s_significand.c: Likewise.
31333 * math/s_significandf.c: Likewise.
31334 * math/s_significandl.c: Likewise.
31335 * math/w_acos.c: Likewise.
31336 * math/w_acosf.c: Likewise.
31337 * math/w_acosh.c: Likewise.
31338 * math/w_acoshf.c: Likewise.
31339 * math/w_acoshl.c: Likewise.
31340 * math/w_acosl.c: Likewise.
31341 * math/w_asin.c: Likewise.
31342 * math/w_asinf.c: Likewise.
31343 * math/w_asinl.c: Likewise.
31344 * math/w_atan2.c: Likewise.
31345 * math/w_atan2f.c: Likewise.
31346 * math/w_atan2l.c: Likewise.
31347 * math/w_atanh.c: Likewise.
31348 * math/w_atanhf.c: Likewise.
31349 * math/w_atanhl.c: Likewise.
31350 * math/w_cosh.c: Likewise.
31351 * math/w_coshf.c: Likewise.
31352 * math/w_coshl.c: Likewise.
31353 * math/w_dremf.c: Likewise.
31354 * math/w_exp10.c: Likewise.
31355 * math/w_exp10f.c: Likewise.
31356 * math/w_exp10l.c: Likewise.
31357 * math/w_exp2.c: Likewise.
31358 * math/w_exp2f.c: Likewise.
31359 * math/w_fmod.c: Likewise.
31360 * math/w_fmodf.c: Likewise.
31361 * math/w_fmodl.c: Likewise.
31362 * math/w_hypot.c: Likewise.
31363 * math/w_hypotf.c: Likewise.
31364 * math/w_hypotl.c: Likewise.
31365 * math/w_j0.c: Likewise.
31366 * math/w_j0f.c: Likewise.
31367 * math/w_j0l.c: Likewise.
31368 * math/w_j1.c: Likewise.
31369 * math/w_j1f.c: Likewise.
31370 * math/w_j1l.c: Likewise.
31371 * math/w_jn.c: Likewise.
31372 * math/w_jnf.c: Likewise.
31373 * math/w_jnl.c: Likewise.
31374 * math/w_lgamma.c: Likewise.
31375 * math/w_lgamma_r.c: Likewise.
31376 * math/w_lgammaf.c: Likewise.
31377 * math/w_lgammaf_r.c: Likewise.
31378 * math/w_lgammal.c: Likewise.
31379 * math/w_lgammal_r.c: Likewise.
31380 * math/w_log.c: Likewise.
31381 * math/w_log10.c: Likewise.
31382 * math/w_log10f.c: Likewise.
31383 * math/w_log10l.c: Likewise.
31384 * math/w_log2.c: Likewise.
31385 * math/w_log2f.c: Likewise.
31386 * math/w_log2l.c: Likewise.
31387 * math/w_logf.c: Likewise.
31388 * math/w_logl.c: Likewise.
31389 * math/w_pow.c: Likewise.
31390 * math/w_powf.c: Likewise.
31391 * math/w_powl.c: Likewise.
31392 * math/w_remainder.c: Likewise.
31393 * math/w_remainderf.c: Likewise.
31394 * math/w_remainderl.c: Likewise.
31395 * math/w_scalb.c: Likewise.
31396 * math/w_scalbf.c: Likewise.
31397 * math/w_scalbl.c: Likewise.
31398 * math/w_sinh.c: Likewise.
31399 * math/w_sinhf.c: Likewise.
31400 * math/w_sinhl.c: Likewise.
31401 * math/w_sqrt.c: Likewise.
31402 * math/w_sqrtf.c: Likewise.
31403 * math/w_sqrtl.c: Likewise.
31404 * math/w_tgamma.c: Likewise.
31405 * math/w_tgammaf.c: Likewise.
31406 * math/w_tgammal.c: Likewise.
31407
6a621eb7
UD
31408 * po/ja.po: Update from translation team.
31409
bf582445
AJ
314102011-09-29 Andreas Jaeger <aj@suse.de>
31411
f9efbf3a
AJ
31412 [BZ #13179]
31413 * sunrpc/netname.c (netname2host): Fix logic.
31414
bf582445
AJ
31415 [BZ #6779]
31416 [BZ #6783]
31417 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31418 correctly.
31419 * math/w_remainder.c (__remainder): Likewise.
31420 * math/w_remainderf.c (__remainderf): Likewise.
31421 * math/libm-test.inc (remainder_test): Add test cases.
31422
48693bea
AK
314232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31424
31425 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31426 sdiv_qrnnd.
31427
42622229
LD
314282011-10-07 Ulrich Drepper <drepper@gmail.com>
31429
31430 * string/test-memcmp.c: Avoid unncessary #defines.
31431 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31432
093ecf92
LD
314332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31434
31435 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31436 Use new sse2 version for core i3 - i7 as it's faster
31437 than sse42 version.
31438 (bit_Prefer_PMINUB_for_stringop): New.
31439 * sysdeps/x86_64/rawmemchr.S: Update.
31440 Replace with faster SSE2 version.
31441 * sysdeps/x86_64/memrchr.S: New file.
31442 * sysdeps/x86_64/memchr.S: Update.
31443 Replace with faster SSE2 version.
31444
fde56e5c
MP
314452011-09-12 Marek Polacek <mpolacek@redhat.com>
31446
31447 * elf/dl-load.c (lose): Add cast to avoid warning.
31448
21fd49a9
UD
314492011-10-07 Ulrich Drepper <drepper@gmail.com>
31450
5a06e643
UD
31451 * po/ca.po: Update from translation team.
31452
684ae515
UD
31453 * inet/getnetgrent_r.c: Hook up nscd.
31454 * nscd/Makefile (routines): Add nscd_netgroup.
31455 (nscd-modules): Add netgroupcache.
31456 (CFLAGS-netgroupcache.c): Define.
31457 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31458 (cache_search): Add const to second parameter.
31459 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31460 INNETGR.
31461 (dbs): Add netgrdb entry.
31462 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31463 (verify_persistent_db): Handle netgrdb.
31464 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31465 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31466 GETFDNETGR.
31467 (netgroup_response_header): Define.
31468 (innetgroup_response_header): Define.
31469 (datahead): Add netgroup_response_header and innetgroup_response_header
31470 elements.
31471 * nscd/nscd.conf: Add entries for netgroup cache.
31472 * nscd/nscd.h (dbtype): Add netgrdb.
31473 (_PATH_NSCD_NETGROUP_DB): Define.
31474 (netgroup_iov_disabled): Declare.
31475 (xmalloc, xcalloc, xrealloc): Move declarations here.
31476 (cache_search): Adjust prototype.
31477 Add netgroup-related prototypes.
31478 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31479 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31480 (__nscd_innetgr): Declare.
31481 * nscd/selinux.c (perms): Use access_vector_t as element type and
31482 add netgroup-related initializers.
31483 * nscd/netgroupcache.c: New file.
31484 * nscd/nscd_netgroup.c: New file.
31485 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31486 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31487 For four parameters use innetgr.
31488 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31489 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31490 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31491 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31492
21fd49a9
UD
31493 * nscd/connections.c (register_traced_file): Don't register file
31494 for disabled databases.
31495
054c0457
UD
314962011-10-06 Ulrich Drepper <drepper@gmail.com>
31497
32b63198
UD
31498 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31499
054c0457
UD
31500 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31501 from tree and freeing node.
31502
64031225
JO
315032011-09-25 Jiri Olsa <jolsa@redhat.com>
31504
31505 * nss/nsswitch.c (__nss_database_lookup): Handle
31506 nss_parse_service_list out of memory case.
31507
0490345c
JO
315082011-09-15 Jiri Olsa <jolsa@redhat.com>
31509
31510 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31511 out of memory case.
31512
3a62d00d
AS
315132011-10-04 Andreas Schwab <schwab@redhat.com>
31514
31515 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31516 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31517 pass it down.
31518 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31519 elf_machine_rela, elf_machine_lazy_rel.
31520 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31521 (ELF_DYNAMIC_DO_REL): Likewise.
31522 (ELF_DYNAMIC_DO_RELA): Likewise.
31523 (ELF_DYNAMIC_RELOCATE): Likewise.
31524 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31525 to ELF_DYNAMIC_DO_REL.
31526 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31527 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31528 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31529 elf_machine_rela.
31530 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31531 skip_ifunc, don't call ifunc function if non-zero.
31532 (elf_machine_rela): Likewise.
31533 (elf_machine_lazy_rel): Likewise.
31534 (elf_machine_lazy_rela): Likewise.
31535 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31536 (elf_machine_lazy_rel): Likewise.
31537 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31538 Likewise.
31539 (elf_machine_lazy_rel): Likewise.
31540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31541 Likewise.
31542 (elf_machine_lazy_rel): Likewise.
31543 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31544 (elf_machine_lazy_rel): Likewise.
31545 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31546 (elf_machine_lazy_rel): Likewise.
31547 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31548 (elf_machine_lazy_rel): Likewise.
31549 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31550 (elf_machine_lazy_rel): Likewise.
31551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31552 (elf_machine_lazy_rel): Likewise.
31553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31554 (elf_machine_lazy_rel): Likewise.
31555
68577918
UD
315562011-09-28 Ulrich Drepper <drepper@gmail.com>
31557
31558 * nss/nss_files/files-init.c (_nss_files_init): Use static
31559 initialization for all the *_traced_file variables.
31560
68822d74
AS
315612011-09-28 Andreas Schwab <schwab@redhat.com>
31562
31563 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31564
2056100b
RM
315652011-09-27 Roland McGrath <roland@hack.frob.com>
31566
31567 [BZ #13226]
31568 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31569
32c76b63
AS
315702011-09-27 Andreas Schwab <schwab@redhat.com>
31571
31572 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31573 Reread the line before reparsing it.
31574
bf972c9d
AS
315752011-09-26 Andreas Schwab <schwab@redhat.com>
31576
31577 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31578
e057a1b5
JM
315792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31580 Maxim Kuvyrkov <maxim@codesourcery.com>
31581 Joseph Myers <joseph@codesourcery.com>
31582
31583 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31584 if needed for __stack_chk_guard.
31585
bc7e1c36
RM
315862011-09-19 Roland McGrath <roland@hack.frob.com>
31587
ecb1482f
RM
31588 * sysdeps/posix/spawni.c (script_execute): Always define it.
31589 It will be optimized away if unused.
31590 (maybe_script_execute): New function.
31591 (__spawni): Call it.
31592
bc7e1c36
RM
31593 * Makerules: Don't include tls.make.
31594 (config-tls): Always set to thread.
31595 * tls.make.c: File removed.
31596
1c3b002b
MF
315972011-09-19 Mike Frysinger <vapier@gentoo.org>
31598
31599 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31600 * config.make.in (CPPFLAGS-config): New substituted variable.
31601
2840865d
UD
316022011-09-15 Ulrich Drepper <drepper@gmail.com>
31603
88738eb6
UD
31604 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31605
cbf645a6 31606 [BZ #13192]
2840865d
UD
31607 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31608 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31609
b402e91a
RM
316102011-09-15 Roland McGrath <roland@hack.frob.com>
31611
31612 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31613 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31614 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31615 (CALL_FAIL): Likewise.
31616 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31617 (CALL_FAIL): Macro removed.
31618 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31619
4c1a1f71
UD
316202011-09-15 Ulrich Drepper <drepper@gmail.com>
31621
31622 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31623 for __FINITE_MATH_ONLY__ == 1.
31624
edc121be
AS
316252011-09-15 Andreas Schwab <schwab@redhat.com>
31626
31627 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31628 __ieee754_sqrt instead of sqrt.
31629 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31630 __ieee754_sqrtf instead of sqrtf.
31631 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31632 __floorf instead of floorf.
31633 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31634 __floorf, __truncf instead of floorf, truncf.
31635
cd205654
UD
316362011-09-14 Ulrich Drepper <drepper@gmail.com>
31637
ee4d0315
UD
31638 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31639
cd205654
UD
31640 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31641 __extern_always_inline.
31642 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31643 32-bit.
31644
48b67d71
AS
316452011-09-14 Andreas Schwab <schwab@redhat.com>
31646
31647 * elf/rtld.c (dl_main): Also relocate in dependency order when
31648 doing symbol dependency testing.
31649
1ae12c75
AS
316502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31651
31652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31653 Always define `refsym'.
31654
995a80df
AS
316552011-09-13 Andreas Schwab <schwab@redhat.com>
31656
e529793b
AS
31657 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31658 (__FD_ELT): Renamed from __FDELT.
31659 * misc/bits/select2.h (__FD_ELT): Likewise.
31660 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31661 __FD_MASK instead of __FDELT, __FDMASK.
31662 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31663 Likewise.
31664 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31665 Likewise.
31666
52d4fef8
AS
31667 * elf/Makefile (gen-ldd): Fix pattern.
31668
995a80df
AS
31669 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31670 (init_tls): Likewise.
31671
8682f8b0
UD
316722011-09-12 Ulrich Drepper <drepper@gmail.com>
31673
31674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31675
de82006d
AS
316762011-09-12 Andreas Schwab <schwab@redhat.com>
31677
a7c8e6a1
AS
31678 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31679 `struct cmsghdr *' instead of `void *'.
31680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31681 Likewise.
31682
0f31fe77
AS
316832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31684
31685 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31686 if non-absolute.
31687 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31688 ldd_rewrite_script.
0f31fe77 31689
32b4c839
UD
316902011-09-11 Ulrich Drepper <drepper@gmail.com>
31691
83cd1420
UD
31692 * configure.in: Remove --with-tls option.
31693 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31694 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31695 out in case it is missing.
31696 * sysdeps/ia64/elf/configure.in: Likewise.
31697 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31698 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31699 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31700 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31701 * sysdeps/sh/elf/configure.in: Likewise.
31702 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31703 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31704 * sysdeps/x86_64/elf/configure.in: Likewise.
31705 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31706 * sysdeps/mach/hurd/tls.h: Likewise.
31707
633f745d
UD
31708 [BZ #13067]
31709 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31710
f318beb8
UD
31711 [BZ #13090]
31712 * configure.in: Fix use of AC_INIT.
31713
32b4c839
UD
31714 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31715
3ce1f295
UD
317162011-09-10 Ulrich Drepper <drepper@gmail.com>
31717
bb016596
UD
31718 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31719 __set_errno.
8e58439c
UD
31720 * malloc/hooks.c: Likewise.
31721
aebae053 31722 [BZ #11929]
02d46fc4
UD
31723 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31724 variables statically.
31725 (narenas): Initialize.
31726 (list_lock): Initialize.
bb016596
UD
31727 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31728 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31729 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31730 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31731 Add initializers to main_arena and mp_.
31732 (malloc_state): Remove pagesize member. Change all users to use
31733 GLRO(dl_pagesize).
31734
31735 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31736 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31737 is always initialized.
31738
22a89187
UD
31739 * malloc/malloc.c: Removed unused configurations and dead code.
31740 * malloc/arena.c: Likewise.
31741 * malloc/hooks.c: Likewise.
02d46fc4 31742 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31743
d063d164
UD
31744 * include/tls.h: Removed. USE___THREAD must always be defined.
31745 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31746 * elf/dl-libc.c: Likewise.
31747 * elf/dl-tsd.c: Likewise.
31748 * include/errno.h: Likewise.
31749 * include/netdb.h: Likewise.
31750 * include/resolv.h: Likewise.
31751 * inet/herrno-loc.c: Likewise.
31752 * inet/herrno.c: Likewise.
31753 * malloc/arena.c: Likewise.
31754 * malloc/hooks.c: Likewise.
31755 * malloc/malloc.c: Likewise.
31756 * resolv/res-state.c: Likewise.
31757 * resolv/res_libc.c: Likewise.
31758 * sysdeps/i386/dl-machine.h: Likewise.
31759 * sysdeps/ia64/dl-machine.h: Likewise.
31760 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31761 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31762 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31763 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31764 * sysdeps/sh/dl-machine.h: Likewise.
31765 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31766 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31767 * sysdeps/unix/i386/sysdep.S: Likewise.
31768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31769 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31774 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31775 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31778 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31779 * sysdeps/x86_64/dl-machine.h: Likewise.
31780 * tls.make.c: Likewise.
31781
3ce1f295
UD
31782 * configure.in: Remove --with-__thread option. Make tests for
31783 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31784 tls_model attribute fail if no support is available. Remove
31785 USE_IN_LIBIO.
31786 * Makeconfig: Adjust for dropped configure option. All features are
31787 now mandatory.
31788 * Makerules: Likewise.
31789 * Versions.def: Likewise.
31790 * argp/argp-fmtstream.c: Likewise.
31791 * argp/argp-fmtstream.h: Likewise.
31792 * argp/argp-help.c: Likewise.
31793 * assert/assert.c: Likewise.
31794 * config.h.in: Likewise.
31795 * config.make.in: Likewise.
31796 * configure: Likewise.
31797 * configure.in: Likewise.
31798 * csu/Versions: Likewise.
31799 * csu/init.c: Likewise.
31800 * elf/tst-audit2.c: Likewise.
31801 * elf/tst-tls10.c: Likewise.
31802 * elf/tst-tls10.h: Likewise.
31803 * elf/tst-tls11.c: Likewise.
31804 * elf/tst-tls12.c: Likewise.
31805 * elf/tst-tls14.c: Likewise.
31806 * elf/tst-tlsmod11.c: Likewise.
31807 * elf/tst-tlsmod12.c: Likewise.
31808 * elf/tst-tlsmod13.c: Likewise.
31809 * elf/tst-tlsmod13a.c: Likewise.
31810 * elf/tst-tlsmod14a.c: Likewise.
31811 * elf/tst-tlsmod15b.c: Likewise.
31812 * elf/tst-tlsmod16a.c: Likewise.
31813 * elf/tst-tlsmod16b.c: Likewise.
31814 * elf/tst-tlsmod7.c: Likewise.
31815 * elf/tst-tlsmod8.c: Likewise.
31816 * elf/tst-tlsmod9.c: Likewise.
31817 * gmon/gmon.c: Likewise.
31818 * grp/fgetgrent_r.c: Likewise.
31819 * grp/putgrent.c: Likewise.
31820 * hurd/fopenport.c: Likewise.
31821 * include/libc-symbols.h: Likewise.
31822 * include/tls.h: Likewise.
31823 * intl/gettextP.h: Likewise.
31824 * intl/loadinfo.h: Likewise.
31825 * locale/global-locale.c: Likewise.
31826 * locale/localeinfo.h: Likewise.
31827 * mach/devstream.c: Likewise.
31828 * malloc/arena.c: Likewise.
31829 * malloc/set-freeres.c: Likewise.
31830 * misc/err.c: Likewise.
31831 * misc/getttyent.c: Likewise.
31832 * misc/mntent_r.c: Likewise.
31833 * posix/getopt.c: Likewise.
31834 * posix/wordexp.c: Likewise.
31835 * pwd/fgetpwent_r.c: Likewise.
31836 * resolv/Versions: Likewise.
31837 * resolv/res_hconf.c: Likewise.
31838 * shadow/fgetspent_r.c: Likewise.
31839 * shadow/putspent.c: Likewise.
31840 * stdio-common/printf_fphex.c: Likewise.
31841 * stdio-common/tmpfile.c: Likewise.
31842 * stdlib/abort.c: Likewise.
31843 * stdlib/fmtmsg.c: Likewise.
31844 * sunrpc/auth_unix.c: Likewise.
31845 * sunrpc/clnt_perr.c: Likewise.
31846 * sunrpc/clnt_tcp.c: Likewise.
31847 * sunrpc/clnt_udp.c: Likewise.
31848 * sunrpc/clnt_unix.c: Likewise.
31849 * sunrpc/openchild.c: Likewise.
31850 * sunrpc/svc_simple.c: Likewise.
31851 * sunrpc/svc_tcp.c: Likewise.
31852 * sunrpc/svc_udp.c: Likewise.
31853 * sunrpc/svc_unix.c: Likewise.
31854 * sunrpc/xdr.c: Likewise.
31855 * sunrpc/xdr_array.c: Likewise.
31856 * sunrpc/xdr_rec.c: Likewise.
31857 * sunrpc/xdr_ref.c: Likewise.
31858 * sunrpc/xdr_stdio.c: Likewise.
31859
1248c1c4
PB
318602011-09-09 Ulrich Drepper <drepper@gmail.com>
31861
31862 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31863
318642011-07-03 Andreas Jaeger <aj@suse.de>
31865
31866 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31867 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31868 regenerate with gen-libm-tests.pl.
31869
318702010-05-12 Petr Baudis <pasky@suse.cz>
31871
31872 [BZ #11589]
31873 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31874 around j0() zero points by switching to j1().
31875 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31878 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31879
f22e1074
UD
318802011-09-09 Ulrich Drepper <drepper@gmail.com>
31881
f19009c1
UD
31882 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31883 instead of 0.
31884 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31885 instead of 0.
f19009c1
UD
31886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31887 Patch in part by Pavel Roskin <proski@gnu.org>.
31888
3f8cc204
UD
31889 [BZ #13138]
31890 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31891 realloc.
31892 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31893 Free memory block if necessary.
31894
f22e1074
UD
31895 [BZ #12847]
31896 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31897 be NULL. Don't lock in this case.
31898
0a2349f9
RM
318992011-09-09 Roland McGrath <roland@hack.frob.com>
31900
31901 * elf/elf.h (ELFOSABI_GNU): New macro.
31902 (ELFOSABI_LINUX): Define to that.
31903
f3cdd467
DZ
319042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31905
31906 * string/strncat.c (strncat): Undef the symbol in case it has been
31907 defined in bits/string.h.
31908
74718d13
UD
319092011-09-09 Ulrich Drepper <drepper@gmail.com>
31910
633e9e0f
UD
31911 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31912
0a2349f9 31913 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31914 link map.
31915
f9924780
AJ
319162011-08-17 Andreas Jaeger <aj@suse.de>
31917
31918 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31919
7f5517aa
PP
319202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31921 Ian Lance Taylor <iant@google.com>
31922
31923 * math/libm-test.inc (lround_test): New testcase.
31924 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31925
762011fe
UD
319262011-09-08 Ulrich Drepper <drepper@gmail.com>
31927
92963737
UD
31928 * Makefile: Remove support for automatic cvs check-ins.
31929 * Makerules: Likewise.
31930 * config.make.in: Likewise.
31931 * configure.in: Likewise.
31932 * intl/Makefile: Likewise.
31933 * locale/Makefile: Likewise.
31934 * po/Makefile: Likewise.
31935 * posix/Makefile: Likewise.
31936 * sysdeps/gnu/Makefile: Likewise.
31937 * sysdeps/mach/hurd/Makefile: Likewise.
31938 * sysdeps/sparc/sparc32/Makefile: Likewise.
31939
b0727fd8
JS
31940 [BZ #13118]
31941 * posix/Makefile (bug-regex32-ENV): Define.
31942 Patch by John Stanley <jpsinthemix@verizon.net>.
31943
a0f33f99
UD
31944 * misc/Makefile (headers): Add bits/select2.h.
31945 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31946 * misc/bits/select2.h: New file.
31947 * include/bits/select2.h: New file.
31948 * debug/Makefile (routines): Add fdelt_chk.
31949 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31950 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31951 FD_ISSET.
31952 * debug/fdelt_chk.c: New file.
31953
762011fe
UD
31954 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31955 * wcsmbs/test-wmemcmp.c: Likewise.
31956 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31957 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31958
319592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31960
31961 * string/Makefile (strop-tests): Add memcmp.
31962 * string/test-wmemcmp.c: New file.
31963 * string/test-memcmp.c: Add wmemcmp support.
31964
7f513ec8
RM
319652011-09-08 Roland McGrath <roland@hack.frob.com>
31966
0442afb4
RM
31967 [BZ #13153]
31968 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31969 2011-07-19 change.
31970
7f513ec8
RM
31971 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31972 garbage value in a __mach_port_mod_refs call in the cases of the
31973 task-self and thread-self ports.
31974
a12b2239
ST
319752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31976
31977 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31978
610f9ab4
AS
319792011-09-08 Andreas Schwab <schwab@redhat.com>
31980
7f513ec8 31981 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31982
48882a1a
LD
319832011-09-07 Ulrich Drepper <drepper@gmail.com>
31984
b49865be
UD
31985 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31986
fdc86bc9
UD
31987 * elf/dl-libc.c (dlerror_run): Pass back error code from
31988 dl_catch_error.
31989
c966526a
UD
31990 [BZ #13123]
31991 * elf/dl-load.c (lose): Free l_origin if it is valid.
31992
48882a1a
LD
31993 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31994 names.
31995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31996 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31997 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31999 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32000 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32001
77a2a8b4
AZ
320022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32003
32004 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32005 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32006 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32007 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32008 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32009 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32010 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32011 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32012 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32013 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32014
24f579d8
AM
320152011-08-15 Alan Modra <amodra@gmail.com>
32016
32017 [BZ #13092]
32018 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32019 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32020 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32021 ppc_mcount to static-only-routines.
32022 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32023 __mcount_internal.
32024 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32025 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32026
3d4837df
UD
320272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32028
32029 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32030 for finite and infinity parameters.
32031
22700377
WS
320322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32033
32034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32035 and add nop instructions for throughput optimization.
32036 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32037
5025581e
WS
320382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32039
32040 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32041 aligned copy for power7 with vector-scalar instructions.
32042 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32043
08a300c9
L
320442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32045
32046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32047 AVX check.
32048
59178ef9
AS
320492011-09-07 Andreas Schwab <schwab@redhat.com>
32050
32051 [BZ #13144]
32052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32053 last change.
32054
e38ba7ab
UD
320552011-09-07 Ulrich Drepper <drepper@gmail.com>
32056
32057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32058 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32059 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32060 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32061 clock_gettime.
32062
d53a73ac
UD
320632011-09-06 Ulrich Drepper <drepper@gmail.com>
32064
fc8bffcc
UD
32065 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32066 Forgot to demangle the pointer.
32067
ceaa0c5d
UD
32068 * sysdeps/i386/sysdep.h: Define atom_text_section.
32069 * sysdeps/x86_64/sysdep.h: Likewise.
32070 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32071 section with atom_text_section.
32072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32073 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32074 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32076 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32077
a77d3c17
UD
32078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32079 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32080 already be defined. Change to take two parameters and don't assign
32081 result to variable. Adjust all users.
32082 Define INTERNAL_GETTIME if not already defined.
32083 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32084 call.
32085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32086 HAVE_CLOCK_GETTIME_VSYSCALL.
32087 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32088
d53a73ac
UD
32089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32090 gettimeofday vsyscall, just use time.
32091
a8f84144
AS
320922011-09-06 Andreas Schwab <schwab@redhat.com>
32093
32094 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32095 <errno.h>.
32096
ef606249
UD
320972011-09-06 Ulrich Drepper <drepper@gmail.com>
32098
32099 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32100 syscall on x86-64.
32101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32102 syscall.
32103 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32105 syscall if possible.
32106
6585cb60
UD
321072011-09-05 Ulrich Drepper <drepper@gmail.com>
32108
32109 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32110 e_ident. Don't pass to find_mapsXX.
32111 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32112
a5f524e4
LD
321132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32114
32115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32116 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32117 * sysdeps/x86_64/multiarch/strchr.S: Update.
32118 Check bit_slow_BSF bit.
32119 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32120 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32121 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32122
554881ef
UD
321232011-09-05 Ulrich Drepper <drepper@gmail.com>
32124
d96de963
UD
32125 [BZ #13134]
32126 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32127 before glibc 2.15.
32128 (tryshell): Define.
32129 (__spawni): Change last parameter to be flag. Test
32130 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32131 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32132 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32133 * posix/spawni.c: Likewise.
32134 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32135 * posix/spawnp.c: Likewise. Change normal version to use
32136 SPAWN_XFLAGS_USE_PATH.
32137 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32138 SPAWN_XFLAGS_TRY_SHELL.
32139
d48e5868
UD
32140 [BZ #13150]
32141 * posix/glob.h: Remove gcc 1.x support.
32142
554881ef
UD
32143 [BZ #13068]
32144 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32145
693fb948
LD
321462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32147
32148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32149 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32150 strrchr-sse2-bsf
32151 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32152 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32153 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32154 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32155 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32156 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32157
1b48c537
UD
321582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32159
49d42c37
UD
32160 * sysdeps/x86_64/wcscmp.S: New file.
32161
1b48c537
UD
32162 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32163 wcscmp-c wcscmp-sse2
32164 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32165 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32166 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32167 * wcsmbs/wcscmp.c: Allow renaming.
32168
15c95c5d
DM
321692011-09-05 David S. Miller <davem@davemloft.net>
32170
32171 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32172 stack slot, rather than the struct return pointer slot.
32173 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32174 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32176 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32177
2f0ad8f3
UD
321782011-09-05 Ulrich Drepper <drepper@gmail.com>
32179
d88ae418
UD
32180 * po/ja.po: Update from translation team.
32181
2f0ad8f3
UD
32182 [BZ #13144]
32183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32184 kernel in 64-bit binaries.
32185
5f4318d1
DM
321862011-09-01 David S. Miller <davem@davemloft.net>
32187
32188 * elf/elf.h (HWCAP_SPARC_*): Move to..
32189 * sysdeps/sparc/sysdep.h: this new file and add new values.
32190 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32191 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32192 _DL_HWCAP_COUNT to 24.
32193 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32194 entries.
32195 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32196 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32197 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32199 instead of magic constants.
32200 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32201
3ba57516
DM
322022011-08-31 David S. Miller <davem@davemloft.net>
32203
32204 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32206 Reimplement to do errno handling inline.
32207 (SYSCALL_ERROR_HANDLER): New macro.
32208 (__SYSCALL_STRING): Do not do errno handling in asm.
32209 (__CLONE_SYSCALL_STRING): Delete.
32210 (__INTERNAL_SYSCALL_STRING): Delete.
32211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32212 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32213 (PSEUDO): Reimplement to do errno handling inline.
32214 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32215 (SYSCALL_ERROR_HANDLER): New macro.
32216 (__SYSCALL_STRING): Do not do errno handling in asm.
32217 (__CLONE_SYSCALL_STRING): Delete.
32218 (__INTERNAL_SYSCALL_STRING): Delete.
32219 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32220 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32221 i386.
32222 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32223 (inline_syscall*): Add 'err' argument.
32224 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32225 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32226 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32227 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32228
32229 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32230 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32231
2bc17433
AS
322322011-08-30 Andreas Schwab <schwab@redhat.com>
32233
32234 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32235
fbeb5f4d
JO
322362011-08-29 Jiri Olsa <jolsa@redhat.com>
32237
32238 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32239 directive.
32240
ad69cc26
DM
322412011-08-24 David S. Miller <davem@davemloft.net>
32242
32243 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32244
39dd69df
AS
322452011-08-24 Andreas Schwab <schwab@redhat.com>
32246
32247 * elf/Makefile: Add rules to build and run unload8 test.
32248 * elf/unload8.c: New file.
32249 * elf/unload8mod1.c: New file.
32250 * elf/unload8mod1x.c: New file.
32251 * elf/unload8mod2.c: New file.
32252 * elf/unload8mod3.c: New file.
32253
32254 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32255 it wasn't used.
32256
2c0b250a
DM
322572011-08-23 David S. Miller <davem@davemloft.net>
32258
32259 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32260 subtract stack bias.
32261 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32262 %sp not %fp in calculations.
32263 (_JMPBUF_UNWINDS_ADJ): Likewise.
32264
22044b48
DM
32265 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32266 (aio_suspend): Call it to force an exception region around the
32267 AIO_MISC_WAIT() invocation.
32268
2cae4995
AS
322692011-08-23 Andreas Schwab <schwab@redhat.com>
32270
32271 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32272 backslash.
32273
873a772e
AJ
322742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32275
32276 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32277 protection macro.
32278 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32279 and <dl-machine.h>.
32280 (Elf64_FuncDesc): Remove.
32281
25ad0df1
DM
322822011-08-22 David S. Miller <davem@davemloft.net>
32283
32284 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32285 sigaltstack check, add missing cfi directives.
32286 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32287 missing cfi directives, and sigaltstack handling.
32288
e888bcbe
AS
322892011-08-16 Andreas Schwab <schwab@redhat.com>
32290
32291 [BZ #11724]
32292 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32293 object is seen twice.
32294 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32295
32296 * elf/Makefile (distribute): Add tst-initorder2.c.
32297 (tests): Add tst-initorder2.
32298 (modules-names): Add tst-initorder2a tst-initorder2b
32299 tst-initorder2c tst-initorder2d. Add rules to build them.
32300 ($(objpfx)tst-initorder2.out): New rule.
32301 * elf/tst-initorder2.c: New file.
32302 * elf/tst-initorder2.exp: New file.
32303
87162f46
AS
323042011-08-22 Andreas Schwab <schwab@redhat.com>
32305
70538b7f
AS
32306 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32307
f55ffe58
AS
32308 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32309 dependencies back to end of function.
32310
87162f46
AS
32311 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32312 $(elfobjdir)/ld.so.
32313
91b392a4
UD
323142011-08-21 Ulrich Drepper <drepper@gmail.com>
32315
32316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32317 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32318 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32319 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32320 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32321 of __vdso_gettimeofday.
32322 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32323 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32324 attribute_hidden.
32325 (_libc_vdso_platform_setup): Remove initialization of
32326 __vdso_gettimeofday and __vdso_time.
32327
5c43483f
UD
323282011-08-20 Ulrich Drepper <drepper@gmail.com>
32329
775a77e7
UD
32330 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32331 and fgetc_unlocked.
32332 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32333 getc_unlocked.
89f447ed 32334
49c74ba9
UD
32335 * elf/dl-open.c (add_to_global): Report additions to the global scope
32336 for LD_DEBUG=scopes.
32337 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32338 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32339
5c43483f
UD
32340 [BZ #13114]
32341 * stdio-common/Makefile (tests): Add bug24.
32342 * stdio-common/bug24.c: New file.
32343
a101b025
AJ
323442011-08-19 Andreas Jaeger <aj@suse.de>
32345
32346 [BZ #13114]
32347 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32348 non-existant file when using close-on-exec mode.
32349
c88f1766
UD
323502011-08-20 Ulrich Drepper <drepper@gmail.com>
32351
0276a718
UD
32352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32353 the very first instruction.
32354
c88f1766
UD
32355 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32356 the CFI state in the end.
32357 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32358 inclusion of dl-trampoline.h.
32359 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32360
51ccffa0
AS
323612011-08-19 Andreas Schwab <schwab@redhat.com>
32362
94d7165f
AS
32363 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32364 expectations for long double.
32365
51ccffa0
AS
32366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32367 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32368
fd708658 323692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32370
32371 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32372 artificual limit depends upon the system page size.
32373
44f0a71e
UD
323742011-08-17 Ulrich Drepper <drepper@gmail.com>
32375
32376 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32377 * resolv/Makefile: Define CFLAGS-libresolv.
32378
8de79a24
AS
323792011-08-17 Andreas Schwab <schwab@redhat.com>
32380
32381 * nss/makedb.c (compute_tables): Make variables used in nested
32382 function static.
32383
27724598
UD
323842011-08-17 Ulrich Drepper <drepper@gmail.com>
32385
c5305d88
UD
32386 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32387 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32388 if buffer was too small.
32389
27724598
UD
32390 * elf/pldd.c (main): Attach to all threads in the process.
32391 Rewrite /proc handling to use *at functions.
32392
076fe015
UD
323932011-08-16 Ulrich Drepper <drepper@gmail.com>
32394
174baab3
UD
32395 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32396 specifies first scope to show.
32397 (dl_open_worker): Update callers. Move printing scope of new
32398 object to before the relocation.
44f0a71e 32399 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32400 * sysdeps/generic/ldsodefs.h: Update declaration.
32401
076fe015
UD
32402 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32403 string for the scope number.
32404
a60df2c3
UD
324052011-08-14 Ulrich Drepper <drepper@gmail.com>
32406
32407 * nscd/servicescache.c (cache_addserv): Make sure written is always
32408 initialized.
32409
5e4287d1
RM
324102011-08-14 Roland McGrath <roland@hack.frob.com>
32411
85ae0589
RM
32412 * sysdeps/i386/i486/bits/atomic.h
32413 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32414 statement expression, so as to suppress "set but not used" warning.
32415 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32416
69f63097
RM
32417 * string/strncat.c (STRNCAT): Use prototype definition.
32418
675456ef
RM
32419 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32420 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32421 -Iprograms here.
32422 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32423 (localedef-modules): Add localedef.
32424 (locale-modules): Add locale.
32425
5e4287d1
RM
32426 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32427 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32428 to avoid a warning.
32429
9c96ff23
DM
324302011-08-14 David S. Miller <davem@davemloft.net>
32431
32432 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32433 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32434
f9ddf089
UD
324352011-08-13 Ulrich Drepper <drepper@gmail.com>
32436
44f0a71e 32437 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32438 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32439 * elf/rtld.c (dl_main): Set l_name of vDSO.
32440 Call _dl_show_scope when DL_DEBUG_SCOPES.
32441 (process_dl_debug): Recognize scopes flag and also set it for all.
32442 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32443 Declare _dl_show_scope.
32444
1dc27704
UD
32445 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32446 (do_dlopen): Pass caller_dlopen to dl_open.
32447 (__libc_dlopen_mode): Initialize caller_dlopen.
32448
f9ddf089
UD
32449 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32450 of libc. Make tolower call locale-independent. Optimize a bit by
32451 using isdigit instead of isalnum.
32452 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32453
9ac533d3
UD
324542011-08-12 Ulrich Drepper <drepper@gmail.com>
32455
32456 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32457 was a dependency or dynamically loaded.
32458
89edf2e9
UD
324592011-08-11 Ulrich Drepper <drepper@gmail.com>
32460
8e999d29
UD
32461 * intl/l10nflist.c: Allow architecture-specific pop function.
32462 * sysdeps/x86_64/l10nflist.c: New file.
32463
89edf2e9
UD
32464 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32465 classification.
32466
14d96785
AS
324672011-08-10 Andreas Schwab <schwab@redhat.com>
32468
32469 * include/dirent.h: Add libc_hidden_proto for scandirat and
32470 scandirat64. Don't declare __scandirat64.
32471 * dirent/scandirat.c: Add libc_hidden_def.
32472 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32473 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32474
6761ac04
DM
324752011-08-10 David S. Miller <davem@davemloft.net>
32476
32477 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32478 enum.
32479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32482
c55fbd1e
UD
324832011-08-09 Ulrich Drepper <drepper@gmail.com>
32484
32485 * Versions.def [libc]: Add GLIBC_2.15.
32486 * dirent/Makefile (routines): Add scandirat and scandirat64.
32487 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32488 GLIBC_2.15.
32489 * dirent/dirent.h: Declare scandirat and scandirat64.
32490 * dirent/scandirat.c: New file.
32491 * dirent/scandirat64.c: New file.
32492 * sysdeps/wordsize-64/scandirat.c: New file.
32493 * sysdeps/wordsize-64/scandirat64.c: New file.
32494 * dirent/opendir.c: Define opendirat.
32495 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32496 using scandirat.
32497 * dirent/scandir64.c: Adjust for scandir.c change.
32498 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32499 __scandirat64, and __scandir_cancel_handler.
32500 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32501 additional parameter and use openat instead of open (outside of ld.so).
32502 Add new __opendir as wrapper around __opendirat.
32503 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32504 here without requiring old scandirat implementation.
32505
879165f2
UD
325062011-08-08 Ulrich Drepper <drepper@gmail.com>
32507
32508 * dirent/scandir.c (cancel_handler): Renamed to
32509 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32510 defined. Adjust users.
32511 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32512 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32513
cb7e923b
UD
325142011-08-04 Ulrich Drepper <drepper@gmail.com>
32515
16292edd
UD
32516 * string/test-string.h (IMPL): Use __STRING to expand name and then
32517 stringify it.
32518
cb7e923b
UD
32519 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32520 of cleanups.
32521
cff82933
LD
325222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32523
32524 * string/Makefile: Update.
32525 (strop-tests): Append strncat.
32526 * string/test-wcscmp.c: New file.
32527 New comprehensive test for wcscmp.
32528 * string/test-strcmp.c: Update.
32529 (WIDE): New define.
32530
9be9bfcc
AS
325312011-07-22 Andreas Schwab <schwab@redhat.com>
32532
32533 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32534 line.
32535
2e96f1c7
AS
325362011-07-26 Andreas Schwab <schwab@redhat.com>
32537
32538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32539 encoding to ACE if AI_IDN.
32540
85188888
JJ
325412011-08-01 Jakub Jelinek <jakub@redhat.com>
32542
32543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32544 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32545
5fa16e9b
LD
325462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32547
32548 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32549 Fix overflow bug in strncat.
32550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32551
32552 * string/test-strncat.c: Update.
32553 Add new tests for checking overflow bugs.
32554
325552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32556
32557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32558 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32559 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32560 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32561 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32562 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32563 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32564 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32565 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32566
32567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32568 (USE_AS_STRCAT): Define.
32569 Add strcat and strncat support.
32570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32571
8c1a459f
AS
325722011-07-25 Andreas Schwab <schwab@redhat.com>
32573
32574 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32575 __n bigger than INT_MAX+1.
32576 (__strncmp_g): Likewise.
32577
bba33c28
UD
325782011-07-23 Ulrich Drepper <drepper@gmail.com>
32579
798be72d
UD
32580 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32581 * libio/stido.h: Likewise.
32582
8accd4dc
UD
32583 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32584 (AF_NFC): Define.
32585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32586 (AF_NFC): Define.
32587
cbff0d96
UD
32588 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32591 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32593
9191c04a
UD
32594 [BZ #13021]
32595 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32596 installed.
32597
bba33c28
UD
32598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32599 typo.
32600 (_dl_x86_64_save_sse): Likewise.
32601
90f139dd
UD
326022011-07-22 Ulrich Drepper <drepper@gmail.com>
32603
1aae088a
UD
32604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32605 OSXSAVE.
32606 (_dl_x86_64_save_sse): Likewise.
32607
8e2045f5
UD
32608 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32609
90f139dd
UD
32610 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32611
1d002f25
AS
326122011-07-21 Andreas Schwab <schwab@redhat.com>
32613
32614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32615 change.
32616 (_dl_x86_64_save_sse): Use correct AVX check.
32617
21137f89
UD
326182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32619
32620 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32621 bug in strncpy/strncat.
32622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32623
a65c0b7a
UD
326242011-07-21 Ulrich Drepper <drepper@gmail.com>
32625
32626 * string/tester.c (test_strcat): Add tests for different alignments
32627 of source and destination.
32628 (test_strncat): Likewise.
32629
6986b98a
UD
326302011-07-20 Ulrich Drepper <drepper@gmail.com>
32631
90bb2039
UD
32632 [BZ #12852]
32633 * posix/glob.c (glob): Check passed in values before using them in
32634 expressions to avoid some overflows.
32635 (glob_in_dir): Likewise.
32636
5644ef54
UD
32637 [BZ #13007]
32638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32639 check for AVX enablement so that we don't crash with old kernels and
32640 new hardware.
32641 * elf/tst-audit4.c: Add same checks here.
32642 * elf/tst-audit6.c: Likewise.
32643
32644 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32645
bfc9dc9b
AS
326462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32647
32648 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32649
702e64bb
UD
326502011-07-20 Ulrich Drepper <drepper@gmail.com>
32651
32652 * po/cs.po: Update from translation team.
32653 * po/bg.po: Likewise.
32654
295e904f
MP
326552011-07-12 Marek Polacek <mpolacek@redhat.com>
32656
32657 * misc/sys/cdefs.h: Add support for const attribute.
32658 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32659 to gnu_dev_{major,minor,makedev} functions.
32660
3ff94596
MP
326612011-07-20 Marek Polacek <mpolacek@redhat.com>
32662
32663 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32664
28b59fca
AS
326652011-07-20 Andreas Schwab <schwab@redhat.com>
32666
32667 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32668 strlen results.
32669
19df733e
AK
326702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32671
32672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32673 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32674 register in order to avoid conflicts with the soft frame pointer
32675 being held in r11 when necessary.
32676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32677 (INTERNAL_VSYSCALL_NCS): Likewise.
32678
c8835729
MP
326792011-07-14 Marek Polacek <mpolacek@redhat.com>
32680
32681 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32682 * elf/dl-fini.c (_dl_fini): Adjust caller.
32683 * elf/dl-close.c (_dl_close_worker): Likewise.
32684 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32685
b902330c
MP
326862011-07-15 Marek Polacek <mpolacek@redhat.com>
32687
8991e135
MP
32688 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32689 "aux_cache->nlibs < 0".
32690
b902330c
MP
32691 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32692 in the reload-count case.
32693
99710781
LD
326942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32695
32696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32697 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32698 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32699 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32700 * sysdeps/x86_64/multiarch/strcat.S: New file.
32701 * sysdeps/x86_64/multiarch/strncat.S: New file.
32702 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32703 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32704 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32705 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32707 (USE_AS_STRCAT): Define.
32708 Add strcat and strncat support.
32709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32710 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32711 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32712 * string/strncat.c: Update.
32713 (USE_AS_STRNCAT): Define.
32714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32715 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32716 and i7.
32717 * sysdeps/x86_64/multiarch/init-arch.h
32718 (bit_Prefer_PMINUB_for_stringop): New.
32719 (index_Prefer_PMINUB_for_stringop): Likewise.
32720 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32721 bit_Prefer_PMINUB_for_stringop.
32722
7dc6bd90
UD
327232011-07-19 Ulrich Drepper <drepper@gmail.com>
32724
32725 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32726 buffer64.
32727 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32728 of casting of buffer.
32729 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32730 buffer32 and buffer64.
32731 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32732 writes instead of casting of buffer.
32733 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32734 buffer32.
32735 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32736 casting of buffer.
32737
e0e72284
AS
327382011-07-19 Andreas Schwab <schwab@redhat.com>
32739
32740 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32741
feb1eb0b
UD
327422011-07-19 Ulrich Drepper <drepper@gmail.com>
32743
32744 * nscd/nscd.c (termination_handler): Don't do anything for a database
32745 if it has not yet been initialized.
32746
298711ff
UD
327472011-07-18 Ulrich Drepper <drepper@gmail.com>
32748
32749 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32750
327512011-07-15 Marek Polacek <mpolacek@redhat.com>
32752
32753 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32754
f9d68389
UD
327552011-07-18 Ulrich Drepper <drepper@gmail.com>
32756
32757 * po/nl.po: Update from translation team.
32758 * po/sv.po: Likewise.
32759
db290cf5
RM
327602011-07-16 Roland McGrath <roland@hack.frob.com>
32761
32762 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32763 now disallowed by GCC.
5c550700 32764
fd5e21c7
RM
32765 * configure.in (use-default-link): Default to yes if a test -shared
32766 link meets our qualifications.
32767 * configure: Regenerated.
32768
5c550700
RM
32769 * config.make.in (output-format): New variable.
32770 * configure.in: Check for ld --print-output-format support.
32771 * configure: Regenerated.
32772 * Makerules ($(common-objpfx)format.lds)
32773 [$(output-format) != unknown]: Just use $(output-format),
32774 instead of the linker-script munging.
32775
9fa2c032
RM
327762011-07-14 Roland McGrath <roland@hack.frob.com>
32777
a6928d51
RM
32778 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32779 of $(common-objpfx)shlib.lds.
32780 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32781
661607b3
RM
32782 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32783 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32784
9fa2c032
RM
32785 * configure.in (-z relro check): Adjust test code to add a large
32786 writable data section after it.
32787 * configure: Regenerated.
32788
defe9061
RM
327892011-07-11 Roland McGrath <roland@hack.frob.com>
32790
32791 * configure.in (-z relro check): Fix test code to make the variable
32792 truly const.
32793 * configure: Regenerated.
32794
319b9ad4
UD
327952011-07-11 Ulrich Drepper <drepper@gmail.com>
32796
32797 * nscd/nscd.h (struct traced_file): Define.
32798 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32799 elements. Add traced_files.
32800 (inotify_fd): Declare.
32801 (register_traced_file): Declare.
32802 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32803 (inotify_fd): Export.
32804 (resolv_conf_descr): Remove.
32805 (nscd_init): Move inotify descriptor creation to main.
32806 Don't register files for notification here.
32807 (register_traced_file): New function.
32808 (invalidate_cache): Don't use reset_res to determine whether to call
32809 res_init, go through the list of registered files.
32810 (main_loop_poll): The inotify descriptors are now stored in the
32811 structures for the traced files.
32812 (main_loop_epoll): Likewise
32813 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32814 to __nss_disable_nscd.
32815 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32816 for a database anymore. Check the records for all the registered
32817 files instead.
32818 * nss/Makefile (libnss_files-routines): Add files-init.
32819 (libnss_db-routines): Add db-init.
32820 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32821 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32822 * nss/nss_db/db-init.c: New file.
32823 * nss/nss_files/files-init.c: New file.
32824 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32825 __nss_lookup_function.
32826 (__nss_lookup_function): Call nss_load_library.
32827 (nss_load_all_libraries): New function.
32828 (__nss_disable_nscd): Take parameter with callback function for files
32829 to register. Set is_nscd. Load all the DSOs for the NSS modules
32830 used for the cached services.
32831 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32832 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32833 options for features to all the files in nscd.
32834
32835 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32836
23bee3e8
RM
328372011-07-10 Roland McGrath <roland@hack.frob.com>
32838
32839 * csu/elf-init.c (__libc_csu_init): Comment typo.
32840
46a5b7f0
UD
328412011-07-09 Ulrich Drepper <drepper@gmail.com>
32842
32843 * po/pl.po: Update from translation team.
32844 * po/ja.po: Likewise.
32845 * po/ru.po: Likewise.
32846 * po/ko.po: Likewise.
32847 * po/fr.po: Likewise.
32848
d30cf5bb
RM
328492011-07-09 Roland McGrath <roland@hack.frob.com>
32850
113ddea4
RM
32851 * configure.in (.ctors/.dtors header and trailer check):
32852 Use an empirical test on a built program.
32853 * configure: Regenerated.
32854
574920b4
RM
32855 * configure.in (-z relro check): Use an empirical test on a built DSO.
32856 Detect, but do not require, on ia64.
32857 * configure: Regenerated.
32858
d30cf5bb
RM
32859 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32860 Update tests that use readelf to use $READELF instead.
32861 * configure: Regenerated.
32862
8538fdb3
UD
328632011-07-08 Ulrich Drepper <drepper@gmail.com>
32864
32865 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32866 if the result is not used.
32867
04d08991
AJ
328682011-07-05 Andreas Jaeger <aj@suse.de>
32869
32870 [BZ#9696]
32871 * stdlib/tst-strtod.c: Add testcase.
32872
de283087
AD
328732011-07-07 Ulrich Drepper <drepper@gmail.com>
32874
4e5f31c8 32875 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32876 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32877 The latter has a higher limit. Take additional parameter to pass to
32878 the new function.
32879 (__pathconf): Pass file to __statfs_link_max.
32880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32881 __statfs_link_max.
32882 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32883 __statfs_link_max.
32884
de283087
AD
32885 [BZ #12868]
32886 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32888 Handle Lustre.
32889 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32890 (__statfs_filesize_max): Likewise.
32891 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32892
c75fa153
AJ
328932011-07-05 Andreas Jaeger <aj@suse.de>
32894
32895 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32896
1a544854
UD
328972011-07-06 Marek Polacek <mpolacek@redhat.com>
32898
32899 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32900 `status' variable.
32901 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32902 Likewise.
32903
6f0eec67
UD
329042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32905
32906 * Makefile (strop-tests): Add strncat.
32907 * string/test-strncat.c: New file.
32908
aae30307
UD
329092011-06-30 Marek Polacek <mpolacek@redhat.com>
32910
32911 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32912
c0cfb5eb
UD
329132011-06-21 Andreas Jaeger <aj@suse.de>
32914
32915 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32916 Copy rule from iconvdata/Makefile.
32917
01636b21
UD
329182011-07-06 Ulrich Drepper <drepper@gmail.com>
32919
32920 [BZ #12922]
32921 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32922 but no long options are defined, just return 'W'.
32923
9895c8bc
UD
329242011-06-22 Marek Polacek <mpolacek@redhat.com>
32925
32926 [BZ #9696]
32927 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32928
5d4cf042
UD
329292011-07-06 Ulrich Drepper <drepper@gmail.com>
32930
32931 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32932 netgroups to read.
960e5535 32933 (innetgr): Likewise.
5d4cf042 32934
751eb97e
RM
329352011-07-05 Roland McGrath <roland@hack.frob.com>
32936
32937 * config.make.in (install_root): Default to $(DESTDIR).
32938
f15f1e45
UD
329392011-07-05 Ulrich Drepper <drepper@gmail.com>
32940
32941 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32942
4e34ac6a
RM
329432011-07-02 Roland McGrath <roland@hack.frob.com>
32944
5e9b6af4
RM
32945 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32946
84f9ea0f
RM
32947 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32948 containing directory rather than embedding absolute directory names.
32949
ea5ee9f7
RM
32950 * scripts/check-local-headers.sh: Rewritten using awk.
32951 Match by word, not by line. Print error messages for matches.
32952 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32953
1b74661a
RM
32954 * Makerules [shlib-lds-flags empty]:
32955 ($(common-objpfx)libc_pic.opts): New target.
32956 ($(common-objpfx)libc_pic.os.clean): New target.
32957 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32958
32959 * config.make.in (OBJCOPY): New variable.
32960 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32961 * configure: Regenerated.
32962
f781ef40
RM
32963 * config.make.in (use-default-link): New variable.
32964 * configure.in (use_default_link): Grok --with-default-link to set it.
32965 * configure: Regenerated.
32966 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32967 (shlib-lds, shlib-lds-flags): Define to empty.
32968
2d4fa81e
RM
32969 * Makerules (shlib-lds): New variable.
32970 (shlib-lds-flags): New variable.
32971 (build-shlib, build-moduile, build-module-asneeded): Use it.
32972 ($(common-objpfx)libc.so): Use $(shlib-lds).
32973 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32974 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32975
31fffa6b
RM
32976 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32977 DT_FLAGS/DT_FLAGS_1 with zero flags.
32978
4e34ac6a
RM
32979 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32980 linker script munging.
32981
fcfc776b
UD
329822011-07-02 Ulrich Drepper <drepper@gmail.com>
32983
32984 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32985 as 128-bit value.
32986 * crypt/sha512.c (sha512_process_block): Perform total addition using
32987 128-bit if possible.
32988 (__sha512_finish_ctx): Likewise.
32989 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32990 as 64-bit value.
32991 * crypt/sha256.c (SWAP64): Define.
32992 (sha256_process_block): Perform total addition using 64-bit if
32993 possible.
32994 (__sha256_finish_ctx): Likewise.
32995
99231d9a
UD
329962011-07-01 Ulrich Drepper <drepper@gmail.com>
32997
32998 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33000 * nscd/hstcache.c (cache_addhst): Likewise.
33001 * nscd/grpcache.c (cache_addgr): Likewise.
33002 * nscd/aicache.c (addhstaiX): Likewise
33003 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33004
445b4a53
TK
330052011-07-01 Thorsten Kukuk <kukuk@suse.de>
33006
33007 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33009 * nscd/hstcache.c (cache_addhst): Likewise.
33010 * nscd/grpcache.c (cache_addgr): Likewise.
33011 * nscd/aicache.c (addhstaiX): Likewise
33012
6d4d8e8e
AS
330132011-07-01 Andreas Schwab <schwab@redhat.com>
33014
33015 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33016 domain only when needed.
33017
89f654c5
AS
330182011-06-30 Andreas Schwab <schwab@redhat.com>
33019
33020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33021 is always restored.
33022
cf3b23ff
UD
330232011-06-29 Ulrich Drepper <drepper@gmail.com>
33024
33025 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33026 are re-adding the entry.
33027 * nscd/servicescache.c (cache_addserv): Likewise.
33028
751626f9
AJ
330292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33030
33031 * sysdeps/generic/dl-irel.h: fix protection against multiple
33032 inclusions.
33033 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33034
9113ea1f
UD
330352011-06-28 Ulrich Drepper <drepper@gmail.com>
33036
5c0b8d90
UD
33037 [BZ #12935]
33038 * malloc/memusage.sh: Fix quoting in message.
33039 * debug/xtrace.sh: Likewise.
33040
9113ea1f
UD
33041 * configure.in: Remove support for --experimental-malloc option, make
33042 it the default.
33043 * config.make.in: Likewise.
33044 * malloc/Makefile: Likewise.
33045
a4172181
AS
330462011-06-27 Andreas Schwab <schwab@redhat.com>
33047
33048 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33049 two-byte characters.
33050
78a7eee7
RM
330512011-06-27 Roland McGrath <roland@hack.frob.com>
33052
62bede13
RM
33053 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33054 AC_CACHE_CHECK invocation.
33055 * configure: Regenerated.
33056
78a7eee7
RM
33057 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33058
5ce33a62
UD
330592011-06-27 Ulrich Drepper <drepper@gmail.com>
33060
034807a9
UD
33061 [BZ #12350]
33062 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33063 bit from old_res_options.
33064
4902da17
UD
33065 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33066
5ce33a62
UD
33067 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33068 value type for setfct.
33069
c2344f56
L
330702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33071
33072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33073 __gettimeofday instead of gettimeofday.
33074
68468076
UD
330752011-06-26 Ulrich Drepper <drepper@gmail.com>
33076
33077 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33078
acb0d739
L
330792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33080
33081 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33082
33083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33084 info.
33085
8912479f
L
330862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33087
33088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33089 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33090 strcpy-sse2-unaligned strncpy-sse2-unaligned
33091 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33092 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33093 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33094 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33095 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33098 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33099 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33100 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33101 (STRCPY): Support SSE2 and SSSE3 versions.
33102
d5495a11
UD
331032011-06-24 Ulrich Drepper <drepper@gmail.com>
33104
33105 [BZ #12874]
33106 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33107 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33108 kernels which artificially limit size of requests.
33109
0b1cbaae
L
331102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33111
33112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33113 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33114 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33115 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33116 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33117 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33118 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33119 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33120 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33122 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33123 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33124 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33125 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33126 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33128 Enable unaligned load optimization for Intel Core i3, i5 and i7
33129 processors.
33130 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33131 Define.
33132 (index_Fast_Unaligned_Load): Define.
33133 (HAS_FAST_UNALIGNED_LOAD): Define.
33134
07f494a0
MP
331352011-06-23 Marek Polacek <mpolacek@redhat.com>
33136
33137 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33138
fa3fc0fe
UD
331392011-06-22 Ulrich Drepper <drepper@gmail.com>
33140
33141 [BZ #12907]
33142 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33143 until it is clear that the information is realy needed.
33144 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33145
e12df166
AS
331462011-06-22 Andreas Schwab <schwab@redhat.com>
33147
33148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33149
852eb34d
UD
331502011-06-22 Ulrich Drepper <drepper@gmail.com>
33151
84e2a551
UD
33152 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33153 /sys/devices/system/cpu/online if it is usable.
33154
852eb34d
UD
33155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33156 reading the information from the /proc filesystem to once a second.
33157
6e502e19
UD
331582011-06-21 Andreas Jaeger <aj@suse.de>
33159
33160 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33161 NULL after inclusion of kernel headers.
33162
75d39ff2
UD
331632011-06-21 Ulrich Drepper <drepper@gmail.com>
33164
51f9aa6a
UD
33165 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33166 calls to internal_setent.
33167
c0244a9d
UD
33168 [BZ #12885]
33169 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33170 addresses using gethostbyname4_r ignore IPv4 addresses.
33171
c5e3c2ae
UD
33172 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33173 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33174
75d39ff2
UD
33175 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33176
42675c6f
DM
331772011-06-20 David S. Miller <davem@davemloft.net>
33178
33179 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33180 inclusions.
33181 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33182
33183 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33184 (elf_irel): Use it.
33185 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33186 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33187 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33188 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33189 * sysdeps/x86_64/dl-irel.h: Likewise.
33190
33191 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33192 * elf/dl-sym.c: Likewise.
33193
57912a71
UD
331942011-06-15 Ulrich Drepper <drepper@gmail.com>
33195
33196 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33197 need to dereference resplen2.
33198
ee22793d
AS
331992011-06-14 Andreas Schwab <schwab@redhat.com>
33200
33201 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33202
a9e836b0
UD
332032011-06-15 Ulrich Drepper <drepper@gmail.com>
33204
77fb9117
UD
33205 * Makeconfig: Define vardbdir and inst_vardbdir.
33206 * nss/Makefile: Add rules to install db-Makefile.
33207
40c1b22c
UD
33208 * nss/nss_db/db-XXX.c: Cleanup.
33209
9f2da732
UD
33210 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33211 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33212 GLIBC_PRIVATE.
33213 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33214 * nss/makedb.c: Implement -g option to specify that value strings
33215 are generated and should not be added to table iterated over for
33216 get*ent calls.
33217 * nss/nss_db/db-initgroups.c: New file.
33218
82e9a1f7
UD
33219 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33220 interface.
33221
c41af17e
UD
33222 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33223 (internal_getgrouplist): Adjust to name change.
33224 Update use_initgroups_entry if this is not the first call.
33225 * nss/databases.def: Add initgroups entry.
33226
a9e836b0
UD
33227 * nss/makedb.c (compute_tables): Check result of multiple hash table
33228 sizes to minimize maximum chain length.
33229
2666d441
UD
332302011-06-14 Ulrich Drepper <drepper@gmail.com>
33231
33232 * Versions.def: Add entry for libnss_db.
33233 * shlib-versions: Likewise.
33234 * nss/Makefile: Add rules to build libnss_db.
33235 * nss/Versions: Add libnss_db information. Organize libnss_files
33236 entries better.
33237 * nss/db-Makefile: Add gshadow support. Change rules for the new
33238 makedb progra. Some minor improvements to generate smaller files.
33239 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33240 here from...
33241 * nss/makedb.c: ...here.
33242 Improve database format to be smaller and require less memory at
33243 runtime.
33244 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33245 db anymore.
33246 * nss/nss_db/db-netgrp.c: Likewise.
33247 * nss/nss_db/db-open.c: Likewise.
33248 * nss/nss_files/flies-XXX.x: Adjust comments.
33249 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33250 * nss/nss_files/files-grp.c: Likewise.
33251 * nss/nss_files/files-hosts.c: Likewise.
33252 * nss/nss_files/files-network.c: Likewise.
33253 * nss/nss_files/files-proto.c: Likewise.
33254 * nss/nss_files/files-pwd.c: Likewise.
33255 * nss/nss_files/files-rpc.c: Likewise.
33256 * nss/nss_files/files-service.c: Likewise.
33257 * nss/nss_files/files-sgrp.c: Likewise.
33258 * nss/nss_files/files-spwd.c: Likewise.
33259 * nss/nss_db/db-alias.c: Removed.
33260 * nss/nss_db/dummy-db.h: Removed.
33261
9ee76b5a
UD
332622011-06-02 Ulrich Drepper <drepper@gmail.com>
33263
33264 * nss/makedb.c: Rewritten to not use database library.
33265 * nss/Makefile: Update to build new makedb program.
33266
c71ca1f8
AJ
332672011-06-14 Andreas Jaeger <aj@suse.de>
33268
33269 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33270 memset declaration.
33271
3154bfb8
UD
332722011-06-10 Andreas Schwab <schwab@redhat.com>
33273
33274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33275 tmpbuf.
33276
b350afab
RM
332772011-06-10 Roland McGrath <roland@hack.frob.com>
33278
decd4e50
RM
33279 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33280 * elf/Makefile ($(objpfx)ld.so): Likewise.
33281
5615eaf2
RM
33282 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33283 Don't list ld.so twice in dependencies.
33284
33285 * posix/bug-regex31.c: Include <stdlib.h>.
33286
33287 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33288
33289 * nis/nss_compat/compat-spwd.c
33290 (getspent_next_nss_netgr): Remove unused variable.
33291 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33292
33293 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33294 nonmembers" output to use the right array.
33295
33296 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33297
33298 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33299
33300 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33301 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33302 * catgets/gencat.c (read_input_file): Likewise.
33303 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33304
33305 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33306 variable definition inside #if's controlling its use.
33307
33308 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33309
33310 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33311
33312 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33313
33314 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33315 unreachable code.
33316
33317 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33318
b68e08db
RM
33319 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33320 * configure: Regenerated.
33321
b350afab
RM
33322 * Makerules: Revert last change.
33323 * elf/Makefile: Likewise.
33324
28368601
RM
333252011-06-09 Roland McGrath <roland@hack.frob.com>
33326
33327 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33328 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33329 (reloc-link): Likewise.
33330
11988f8f
UD
333312011-06-09 Ulrich Drepper <drepper@gmail.com>
33332
33333 * elf/Makefile: Add rules to build pldd.
33334 * elf/pldd.c: New file.
33335 * elf/pldd-xx.c: New file.
33336
e80fab37
UD
333372011-06-07 Ulrich Drepper <drepper@gmail.com>
33338
33339 * version.h: Update for 2.15 development version.
33340
9b849836
DM
333412011-06-07 David S. Miller <davem@davemloft.net>
33342
33343 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33344 ifuncs.
33345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33346 elf_machine_lazy_rel): Likewise.
33347 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33349 elf_machine_lazy_rel): Likewise.
33350 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33351 dl_hwcap via passed in argument.
33352 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33353 Likewise.
33354
5a31b283
AK
333552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33356
33357 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33358
069e52f8
RM
333592011-06-06 Roland McGrath <roland@hack.frob.com>
33360
33361 [BZ #12849]
33362 * manual/fdl-1.1.texi: New file, verbatim from:
33363 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33364 * manual/lgpl-2.1.texi: New file, verbatim from:
33365 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33366 * manual/Makefile (licenses): New variable, list those new file names.
33367 (texis): Use it.
33368 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33369
33370 * manual/fdl.texi: File removed.
33371 * manual/lesser.texi: File removed.
33372 * manual/libc.texinfo (Copying, Documentation License):
33373 Use new @include file names, put @appendix directive before @include.
33374
f16846a5
JJ
333752011-06-04 Jakub Jelinek <jakub@redhat.com>
33376
33377 [BZ #12841]
33378 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33379 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33380 (mq_open): Add __NTH.
33381
3d29045b
L
333822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33383
33384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33385 Assume Intel Core i3/i5/i7 processor if AVX is available.
33386
8c297311
UD
333872011-05-31 Ulrich Drepper <drepper@gmail.com>
33388
33389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33390 typo.
33391
c8fc0c91
UD
333922011-05-31 Andreas Schwab <schwab@redhat.com>
33393
33394 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33395 memory. Use alloca_account. Fix memory leak when retrying.
33396
5b27a807
UD
333972011-05-31 Ulrich Drepper <drepper@gmail.com>
33398
356f8bc6
UD
33399 * version.h (RELEASE): Bump for 2.14 release.
33400 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33401
5b27a807
UD
33402 * config.make.in (RANLIB): Remove entry.
33403
01f16ab0
UD
334042011-05-30 Ulrich Drepper <drepper@gmail.com>
33405
41fce8bd
UD
33406 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33407 (libc.pot): Work around missing support for .ksh extension in xgettext.
33408
4769ae77
UD
33409 [BZ #12684]
33410 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33411 if both request failed.
33412 (send_dg): In case of server errors clear resplen or *resplen2.
33413
6b1e7d19
UD
33414 [BZ #12454]
33415 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33416 when there are multiple maps.
33417 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33418 (_dl_fini): Remove test here.
33419
01f16ab0
UD
33420 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33421
b1ebd700
UD
334222011-05-29 Ulrich Drepper <drepper@gmail.com>
33423
7ae22829
UD
33424 [BZ #12350]
33425 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33426 bit from old_res_options.
33427 (gaih_inet): Likewise.
33428
553149f6 33429 [BZ #11099]
18a84741 33430 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33431 as signed.
33432
652ffab1
UD
33433 * resolv/res_init.c (res_setoptions): Make the code more compact.
33434
16985fd0
UD
33435 [BZ #11558]
33436 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33437 set RES_USEVC.
33438
0464f746
UD
33439 [BZ #11634]
33440 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33441
7d17596c
UD
33442 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33443
cf6bbbd7
UD
33444 [BZ #11781]
33445 * malloc/malloc.h: Declare malloc hook variables as volatile.
33446
13f1ab36
UD
33447 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33448 in last patch.
33449
b1ebd700
UD
33450 [BZ #11799]
33451 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33452 raise in the comment.
80e2212d
UD
33453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33454 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33455 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33456
ce67228d
UD
334572011-05-28 Ulrich Drepper <drepper@gmail.com>
33458
8887a920
UD
33459 [BZ #12811]
33460 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33461 grow the buffers more if it already has to be sufficient.
33462 (build_wcs_upper_buffer): Likewise.
33463 * posix/regexec.c (check_matching): Likewise.
33464 (clean_state_log_if_needed): Likewise.
33465 (extend_buffers): Don't enlarge buffers beyond size of the input
33466 buffer.
33467 Patches mostly by Emil Wojak <emil@wojak.eu>.
33468 * posix/bug-regex32.c: New file.
33469 * posix/Makefile (tests): Add bug-regex32.
33470
4f031072
UD
33471 * locale/findlocale.c (_nl_find_locale): Return right away if
33472 _nl_explode_name failed.
33473 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33474
d0478f0c
UD
33475 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33476
de81b246
UD
33477 * debug/xtrace.sh: Unify messages.
33478 * malloc/memusage.sh: Likewise.
33479
c738465a
UD
33480 [BZ #12813]
33481 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33482 time symbol from vDSO. Substitute with vsyscall if not available.
33483 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33484 __vdso_time.
33485
f1f929d7
UD
33486 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33487 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33488 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33489 Add sendmmsg and internal_sendmmsg.
33490 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33491 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33492 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33493
ce67228d
UD
33494 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33495 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33496 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33497
e57420c6
UD
334982011-05-27 Ulrich Drepper <drepper@gmail.com>
33499
a8509ca5
UD
33500 [BZ #12813]
33501 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33502 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33503 available.
33504 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33505 __vdso_getcpu.
33506
e57420c6
UD
33507 [BZ #12814]
33508 * iconvdata/Makefile (tests): Add bug-iconv9.
33509 * iconvdata/bug-iconv9.c: New file.
33510
4d07db15
AS
335112011-05-27 Andreas Schwab <schwab@redhat.com>
33512
33513 [BZ #12814]
33514 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33515
ea486f69
JJ
335162011-05-25 Jakub Jelinek <jakub@redhat.com>
33517
33518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33519 (struct user_regs_struct): Change intcs field back to cs.
33520
6f038433
UD
335212011-05-25 Ulrich Drepper <drepper@gmail.com>
33522
33523 * po/ja.po: Update from translation team.
33524
67f86a25
UD
335252011-05-23 Ulrich Drepper <drepper@gmail.com>
33526
33527 [BZ #12795]
33528 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33529 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33530
def7fbd6
AS
335312011-05-20 Andreas Schwab <schwab@redhat.com>
33532
33533 * stdlib/longlong.h: Update from GCC.
33534
f50ef8f1
AS
335352011-05-23 Andreas Schwab <schwab@redhat.com>
33536
33537 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33538 parameter name.
33539 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33540 Add parameter name.
33541 (__sysconf): Pass it down.
33542
de7ce8f1
UD
335432011-05-22 Ulrich Drepper <drepper@gmail.com>
33544
f2962a71
UD
33545 [BZ #12671]
33546 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33547 some situations.
33548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33549 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33550 add in in __libc_use_alloca calls. Adjust callers.
33551 (glob): Use malloc in some situations.
33552
de7ce8f1
UD
33553 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33554 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33555 pltexit.
33556
aec84f53
UD
335572011-05-21 Ulrich Drepper <drepper@gmail.com>
33558
05bb4a68
UD
33559 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33560 and CLOCK_BOOTTIME_ALARM.
33561
7ea72f99
UD
33562 [BZ #12782]
33563 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33564 is returned.
33565
7e4afad5
UD
33566 * string/_strerror.c (__strerror_r): Print negative errors as signed
33567 numbers.
33568
8e211fec
UD
33569 [BZ #12777]
33570 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33571 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33572 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33573
f7d82dc9
UD
33574 * configure.in: Fix typo in redirection and correct removal of test
33575 files in two cases.
33576
cc9e536d
UD
33577 [BZ #12788]
33578 * locale/setlocale.c (new_composite_name): Fix test to check for
33579 identical name of all categories.
33580
aec84f53
UD
33581 [BZ #12792]
33582 * libio/filedoalloc.c (local_isatty): New function.
33583 (_IO_file_doallocate): Use local_isatty.
33584 * stdio-common/perror.c (perror): In case a new stream is used
33585 forward the stream error.
33586 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33587 error flag.
33588
78e64fdc
RT
335892011-05-20 Ulrich Drepper <drepper@gmail.com>
33590
34a9094f
UD
33591 [BZ #11869]
33592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33593 alloca.
33594 * include/alloca.h (extend_alloca_account): Define.
33595
78e64fdc
RT
33596 [BZ #11857]
33597 * posix/regex.h: Fix comments with documentation of user-accessible
33598 fields after compilation and describe correct free'ing of pattern
33599 after re_compile_pattern.
33600 Patch by Reuben Thomas <rrt@sc3d.org>.
33601
457bddfc
RA
336022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33603
33604 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33605 and -mno-altivec to prevent the compiler from using Altivec and/or
33606 VSX instructions when the corresponding registers are not available.
33607
a4527b51
AS
336082011-05-19 Andreas Schwab <schwab@redhat.com>
33609
33610 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33611
ed690b2f
UD
336122011-05-19 Ulrich Drepper <drepper@gmail.com>
33613
33614 * libio/freopen.c (freopen): Use __dup2, not dup2.
33615 * libio/freopen64.c (freopen64): Likewise.
33616
8db73634
L
336172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33618
33619 [BZ #12775]
33620 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33621 * math/Makefile (tests): Add test-powl.
33622 (CFLAGS-test-powl.c): Define.
33623 * math/test-powl.c: New file.
33624
0a197a9d
L
336252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33626
33627 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33628
ee30c380
UD
336292011-05-17 Ulrich Drepper <drepper@gmail.com>
33630
33631 [BZ #11837]
33632 * iconvdata/gb18030.c: Update to GB18020-2005.
33633
6ce75379
UD
336342011-05-16 Ulrich Drepper <drepper@gmail.com>
33635
a4b89fd8
AR
33636 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33637 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33638 Patch by Aharon Robbins <arnold@skeeve.com>.
33639
ea389b12
UD
33640 [BZ #11892]
33641 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33642 on the stack.
33643
68a3f91f
UD
33644 [BZ #11895]
33645 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33646 through underflows.
33647
15cc7dd1
UD
33648 [BZ #12766]
33649 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33650 point to strings before performing equality test for error_one_per_line
33651 mode.
33652
f3799213
UD
33653 [BZ #11697]
33654 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33655
d79a9c94
UD
33656 [BZ #11820]
33657 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33658 (struct user_fpregs_struct): Avoid __uint*_t types.
33659
56e5eb46
UD
33660 [BZ #6420]
33661 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33662 symbol info. Use it instead of calling _dl_addr locally.
33663 (lock_and_info): New function.
33664 (tr_freehook): Call lock_and_info and pass symbol info as additional
33665 parameter to tr_where.
33666 (tr_mallochook): Likewise.
33667 (tr_reallochook): Likewise.
33668 (tr_memalignhook): Likewise.
33669
6ce75379
UD
33670 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33671 used and couldn't be at all thread-safe.
33672
f8a3b5bf
UD
336732011-05-15 Ulrich Drepper <drepper@gmail.com>
33674
94b7cc37
UD
33675 * libio/freopen.c (freopen): Don't close old file descriptor
33676 before the new one is opened. Instead dup the new file descriptor
33677 to the old one after the new stream is created.
33678 * libio/freopen64.c (freopen64): Likewise.
33679 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33680 * libio/fileops.c (_IO_new_file_close_it): Handle new
33681 _IO_FLAGS2_NOCLOSE flag.
33682 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33683 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33684 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33685 _IO_FLAGS2_NOCLOSE flag.
33686 * include/unistd.h: Add hidden_proto for dup3.
33687 Define __have_dup3.
33688 * io/dup3.c: Define hidden symbol.
33689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33690
bd25564e
UD
33691 [BZ #7101]
33692 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33693 when an incomplete long option is used.
33694 * posix/tst-getopt_long1.c: New file.
33695 * posix/Makefile (tests): Add tst-getopt_long1.
33696
c84cfef4
UD
33697 [BZ #10138]
33698 * scripts/config.guess: Update from autoconf-2.68.
33699 * scripts/config.sub: Likewise.
33700
3b85df27
UD
33701 [BZ #10157]
33702 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33703 tests into ...
33704 (has_cpuclock): ...this. New function.
33705 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33706 macro here based on has_cpuclock code.
33707
15a856b1
UD
33708 [BZ #10149]
33709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33710 First byte (not low byte) is now always NUL.
33711 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33712
05f399e6
UD
33713 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33714 Use non-cancelable interfaces.
33715
10a52685 33716 [BZ #9809]
94ecc67d
UD
33717 * locale/iso-639.def: Add entry for Sorani.
33718
f8a3b5bf
UD
33719 [BZ #11901]
33720 * include/stdlib.h: Move include protection to the right place.
33721 Define abort_msg_s. Declare __abort_msg with it.
33722 * stdlib/abort.c (__abort_msg): Adjust type.
33723 * assert/assert.c (__assert_fail_base): New function. Majority
33724 of code from __assert_fail. Allocate memory for __abort_msg with
33725 mmap.
33726 (__assert_fail): Now call __assert_fail_base.
33727 * assert/assert-perr.c: Remove bulk of implementation. Use
33728 __assert_fail_base.
33729 * include/assert.hL Declare __assert_fail_base.
33730 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33731 mmap.
33732 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33733
1af4e298
UD
337342011-05-14 Ulrich Drepper <drepper@gmail.com>
33735
f8a3b5bf 33736 [BZ #11952]
d26dfc60
MG
33737 [BZ #12453]
33738 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33739 until all modules are registered in the DTV.
33740 * elf/Makefile: Add rules to build and run tst-tls19.
33741 * elf/tst-tls19.c: New file.
33742 * elf/tst-tls19mod1.c: New file.
33743 * elf/tst-tls19mod2.c: New file.
33744 * elf/tst-tls19mod3.c: New file.
33745 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33746
2fc54d6f
UD
33747 [BZ #12083]
33748 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33749 correctly.
33750
98d76b46
UD
33751 [BZ #12601]
33752 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33753 two-byte sequence errors.
33754 * iconvdata/Makefile (tests): Add bug-iconv8.
33755 * iconvdata/bug-iconv8.c: New file.
33756
da3c19ef
UD
33757 [BZ #12626]
33758 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33759 buf2 definition.
33760
ca408c15
UD
33761 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33762
d6f67f7d
UD
33763 [BZ #12432]
33764 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33765 (dummy_getcfa): New function.
33766 (init): Get _Unwind_GetCFA address, use dummy if not found.
33767 (backtrace_helper): In recursion check, also check whether CFA changes.
33768 (__backtrace): Completely initialize arg.
33769
1af4e298 33770 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33771 storing incomplete byte sequence in state object. Avoid testing for
33772 guaranteed too small input if we know there is enough data available.
1af4e298 33773
da62f81b
AS
337742011-05-11 Andreas Schwab <schwab@redhat.com>
33775
33776 * Makeconfig (+link-pie): Indent.
33777 * Rules (binaries-pie): Define if $(have-fpie) and
33778 $(build-shared).
33779 (binaries-shared): Also filter out $(binaries-pie).
33780 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33781 * nscd/Makefile (others-pie): Add nscd.
33782 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33783 ($(objpfx)nscd): Remove command override.
33784 * login/Makefile (others-pie): Add pt_chown.
33785 ($(objpfx)pt_chown): Remove command override.
33786 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33787 remove command overrides.
33788
fcabc0f8
UD
337892011-05-13 Ulrich Drepper <drepper@gmail.com>
33790
20030ae6
UD
33791 * libio/tst_putwc.c: Fix error messages.
33792
fcabc0f8
UD
33793 [BZ #12724]
33794 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33795 currently writing and seek to current position when not.
33796 * libio/Makefile (tests): Add bug-fclose1.
33797 * libio/bug-fclose1.c: New file.
33798
320a5dc0
PB
337992011-05-12 Ulrich Drepper <drepper@gmail.com>
33800
33801 [BZ #12511]
33802 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33803 don't set DF_1_NODELETE here.
33804 (do_lookup_x): When entering new entry test for copy relocation
33805 and if necessary set DF_1_NODELETE flag.
33806 * elf/tst-unique4.cc: New file.
33807 * elf/tst-unique4.h: New file.
33808 * elf/tst-unique4lib.cc: New file.
33809 * elf/Makefile: Add rules to build and run tst-unique4.
33810 Patch by Piotr Bury <pbury@goahead.com>.
33811
22836f52
UD
338122011-05-11 Ulrich Drepper <drepper@gmail.com>
33813
f574184a
UD
33814 [BZ #12052]
33815 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33816
e1fb097f
UD
33817 [BZ #12625]
33818 * misc/mntent_r.c (addmntent): Flush the stream after the output
33819
22836f52
UD
33820 [BZ #12393]
33821 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33822 (is_trusted_path_normalize): Skip initial colon. Append slash
33823 to empty buffer. Duplicate is_trusted_path code but allow
33824 constructed patch to be prefix.
33825 (is_dst): Allow $ORIGIN followed by /.
33826 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33827 Correct testing of result of is_trusted_path_normalize
33828 (decompose_rpath): Fix warning.
33829
7b3b0b2a
UD
338302011-05-10 Ulrich Drepper <drepper@gmail.com>
33831
33832 [BZ #11257]
33833 * grp/initgroups.c (internal_getgrouplist): When we found the service
33834 list through the initgroups entry in nsswitch.conf do not always
33835 continue on a successful lookup. Don't always use the
eac80ce2 33836 __nss_group_database value if it is set.
7b3b0b2a
UD
33837 * nss/nsswitch.conf (initgroups): Change action for successful db
33838 lookup to continue for compatibility.
33839
2a81eaa5
UD
338402011-05-09 Ulrich Drepper <drepper@gmail.com>
33841
be97a69e
UD
33842 [BZ #11532]
33843 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33844 and CP774 modules.
33845 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33846 and CP774 modules.
33847 * iconvdata/tst-tables.sh: Likewise.
33848 * iconvdata/cp770.c: New file.
33849 * iconvdata/cp771.c: New file.
33850 * iconvdata/cp772.c: New file.
33851 * iconvdata/cp773.c: New file.
33852 * iconvdata/cp774.c: New file.
33853 * iconvdata/testdata/CP770: New file.
33854 * iconvdata/testdata/CP770..UTF8: New file.
33855 * iconvdata/testdata/CP771: New file.
33856 * iconvdata/testdata/CP771..UTF8: New file.
33857 * iconvdata/testdata/CP772: New file.
33858 * iconvdata/testdata/CP772..UTF8: New file.
33859 * iconvdata/testdata/CP773: New file.
33860 * iconvdata/testdata/CP773..UTF8: New file.
33861 * iconvdata/testdata/CP774: New file.
33862 * iconvdata/testdata/CP774..UTF8: New file.
33863
33864 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33865 END CHARMAP line.
33866 * iconvdata/gen-8bit-gap.sh: Likewise.
33867 * iconvdata/gen-8bit.sh: Likewise.
33868
c1e9e399
UD
33869 * locale/iso-639.def: Add ary entry.
33870
24c55fb3 33871 [BZ #11258]
96b4b1b0
UD
33872 * locale/C-translit.h.in: Add U20A1 transliteration.
33873
bdc2f971
KB
33874 [BZ #12178]
33875 * locale/iso-639.def: Add wae entry.
33876 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33877
2952b117
UD
33878 [BZ #12545]
33879 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33880 for n.
33881
2a81eaa5
UD
33882 [BZ #12711]
33883 * locale/C-translit.h.in: Add entry for U20B9.
33884 Patch by pravin.d.s@gmail.com.
33885
28377d1b
UD
338862011-05-08 Ulrich Drepper <drepper@gmail.com>
33887
7fb90fb8
UD
33888 [BZ #12713]
33889 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33890 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33891 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33892 in rtld. Use *stat64.
7fb90fb8 33893 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33894 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33895 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33896 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33897 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33898 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33899 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33900 __fstatat64 macros.
7fb90fb8
UD
33901 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33902 * dirent/rewinddir.c: Add libc_hidden_def.
33903 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33904 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33905
28377d1b
UD
33906 * include/dirent.h (__alloc_dir): Add flags parameter.
33907 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33908 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33909 __alloc_dir.
33910 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33911 from fdopendir if O_CLOEXEC is already set.
33912
66bdbaa4
AM
339132011-03-15 Alan Modra <amodra@gmail.com>
33914
33915 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33916 l_tls_firstbyte_offset non-zero. Save padding offset in
33917 l_tls_firstbyte_offset for later use.
33918 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33919 freeing static tls block.
33920
95721191
JN
339212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33922
33923 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33924 where #ifdef was intended. The intent is to prevent ARG_MAX from
33925 being defined by the kernel headers.
33926
f87dfb1f
UD
339272011-05-07 Ulrich Drepper <drepper@gmail.com>
33928
33929 [BZ #12734]
33930 * resolv/resolv.h: Define RES_NOTLDQUERY.
33931 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33932 no-tld-query and set RES_NOTLDQUERY.
33933 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33934 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33935 modern BIND to search name as TLD unless forbidden.
33936
47c3cd7a
UD
339372011-05-07 Petr Baudis <pasky@suse.cz>
33938 Ulrich Drepper <drepper@gmail.com>
33939
33940 [BZ #12393]
33941 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33942 (is_trusted_path): ...to here.
c1e9ea35 33943 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33944 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33945 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33946
8a35c912
PP
339472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33948
33949 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33950 __BEGIN/__END_DECLS.
33951
acd41f47
UD
339522011-05-06 Ulrich Drepper <drepper@gmail.com>
33953
33954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33955 NSS_STATUS_NOTFOUND if no record was found.
33956
597df647
AS
339572011-05-05 Andreas Schwab <schwab@redhat.com>
33958
33959 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33960 (headers-not-in-tirpc): Remove rpc/netdb.h
33961 * resolv/netdb.h: Revert last change.
33962
b9af1301
PP
339632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33964
33965 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33966 circular dependency between libgcc.a and libc.a.
33967
4e34d5f5
AS
339682011-05-05 Andreas Schwab <schwab@redhat.com>
33969
33970 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33971 * nis/Makefile: Don't install rpcsvc/*.
33972 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33973 instead of <rpc/types.h>.
33974 (MAXHOSTNAMELEN): Define.
33975
00ee369c
AS
339762011-05-03 Andreas Schwab <schwab@redhat.com>
33977
33978 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33979
0b592a30
MB
339802011-04-28 Maciej Babinski <mbabinski@google.com>
33981
33982 [BZ #12714]
33983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33984 gethostbyname4_r when IPv6 results are possible.
33985
6e04cbbe
UD
339862011-05-02 Ulrich Drepper <drepper@gmail.com>
33987
33988 [BZ #12723]
33989 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33990 _PC_PIPE_BUF handling.
33991
e4ecafe0
BH
339922011-04-30 Bruno Haible <bruno@clisp.org>
33993
33994 [BZ #12717]
33995 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33996 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33997 to 'int'.
33998 * inet/getnameinfo.c (getnameinfo): Likewise.
33999
125ee683
UD
340002011-04-29 Ulrich Drepper <drepper@gmail.com>
34001
34002 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34003 to groups setting in database lookup.
34004 * nss/nsswitch.conf: Add initgroups entry.
34005
b722481a
EB
340062011-04-22 Ulrich Drepper <drepper@gmail.com>
34007
34008 [BZ #12685]
34009 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34010 mode string.
34011 Patch by Eric Blake <eblake@redhat.com>.
34012
4df46dbd
L
340132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34014
34015 * sunrpc/Makefile (need-export-routines): Add svc_run.
34016 (routines): Remove svc_run.
34017 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34018 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34019 * sunrpc/svc_run.c (svc_run): Likewise.
34020 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34021
e84142d2
UD
340222011-04-21 Ulrich Drepper <drepper@gmail.com>
34023
34024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34025 problem in reallocation in last patch.
34026
877175d8
UD
340272011-04-20 Ulrich Drepper <drepper@gmail.com>
34028
34029 * sunrpc/Makefile: Move inclusion of Rules.
34030
ab8eed78
UD
340312011-04-19 Ulrich Drepper <drepper@gmail.com>
34032
34033 * nss/nss_files/files-initgroups.c: New file.
34034 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34035 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34036 _nss_files_initgroups_dyn.
34037
e3d8f584
RS
340382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34039
34040 * elf/elf.h (R_ARM_IRELATIVE): Define.
34041
af190f45
UD
340422011-04-19 Ulrich Drepper <drepper@gmail.com>
34043
34044 * po/ru.po: Update from translation team.
34045
53cf59ef
UD
340462011-04-17 Ulrich Drepper <drepper@gmail.com>
34047
34048 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34049 dependencies.
34050
4c559bcd
MF
340512011-02-06 Mike Frysinger <vapier@gentoo.org>
34052
34053 [BZ #12653]
34054 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34055 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34058 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34059
4420675c
AS
340602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34061
34062 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34063 differing bytes.
34064 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34067
75ea32ab
UD
340682011-04-17 Ulrich Drepper <drepper@gmail.com>
34069
34070 [BZ #12420]
34071 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34072 storing it.
34073 * stdlib/bug-getcontext.c: New file.
34074 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34075
27390476
AK
340762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34077
34078 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34079 instructions into .machine "z9-109".
34080 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34081 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34082
10442705
AK
340832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34084
34085 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34086 between environment variables and auxiliary vector.
34087
7b57bfe5
UD
340882011-04-16 Ulrich Drepper <drepper@gmail.com>
34089
34090 * Makefile: Add rules to build linkobj/libc.so.
34091 * include/libc-symbols.h: Define libc_hidden_nolink.
34092 * include/rpc/auth.h: Mark functions which are to be hidden.
34093 * include/rpc/auth_des.h: Likewise.
34094 * include/rpc/auth_unix.h: Likewise.
34095 * include/rpc/clnt.h: Likewise.
34096 * include/rpc/des_crypt.h: Likewise.
34097 * include/rpc/key_prot.h: Likewise.
34098 * include/rpc/pmap_clnt.h: Likewise.
34099 * include/rpc/pmap_prot.h: Likewise.
34100 * include/rpc/pmap_rmt.h: Likewise.
34101 * include/rpc/rpc_msg.h: Likewise.
34102 * include/rpc/svc.h: Likewise.
34103 * include/rpc/svc_auth.h: Likewise.
34104 * include/rpc/xdr.h: Likewise.
34105 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34106 * nss/Makefile: Likewise.
34107 * sunrpc/Makefile: Don't install headers. Build library with normal
34108 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34109 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34110 for the compat linking library. Remove use of INTDEF/INTUSE.
34111 * sunrpc/auth_none.c: Likewise.
34112 * sunrpc/auth_unix.c: Likewise.
34113 * sunrpc/authdes_prot.c: Likewise.
34114 * sunrpc/authuxprot.c: Likewise.
34115 * sunrpc/clnt_gen.c: Likewise.
34116 * sunrpc/clnt_perr.c: Likewise.
34117 * sunrpc/clnt_raw.c: Likewise.
34118 * sunrpc/clnt_simp.c: Likewise.
34119 * sunrpc/clnt_tcp.c: Likewise.
34120 * sunrpc/clnt_udp.c: Likewise.
34121 * sunrpc/clnt_unix.c: Likewise.
34122 * sunrpc/des_crypt.c: Likewise.
34123 * sunrpc/des_soft.c: Likewise.
34124 * sunrpc/get_myaddr.c: Likewise.
34125 * sunrpc/key_call.c: Likewise.
34126 * sunrpc/key_prot.c: Likewise.
34127 * sunrpc/netname.c: Likewise.
34128 * sunrpc/pm_getmaps.c: Likewise.
34129 * sunrpc/pm_getport.c: Likewise.
34130 * sunrpc/pmap_clnt.c: Likewise.
34131 * sunrpc/pmap_prot.c: Likewise.
34132 * sunrpc/pmap_prot2.c: Likewise.
34133 * sunrpc/pmap_rmt.c: Likewise.
34134 * sunrpc/publickey.c: Likewise.
34135 * sunrpc/rpc_cmsg.c: Likewise.
34136 * sunrpc/rpc_common.c: Likewise.
34137 * sunrpc/rpc_dtable.c: Likewise.
34138 * sunrpc/rpc_prot.c: Likewise.
34139 * sunrpc/rpc_thread.c: Likewise.
34140 * sunrpc/rtime.c: Likewise.
34141 * sunrpc/svc.c: Likewise.
34142 * sunrpc/svc_auth.c: Likewise.
34143 * sunrpc/svc_authux.c: Likewise.
34144 * sunrpc/svc_raw.c: Likewise.
34145 * sunrpc/svc_run.c: Likewise.
34146 * sunrpc/svc_simple.c: Likewise.
34147 * sunrpc/svc_tcp.c: Likewise.
34148 * sunrpc/svc_udp.c: Likewise.
34149 * sunrpc/svc_unix.c: Likewise.
34150 * sunrpc/svcauth_des.c: Likewise.
34151 * sunrpc/xcrypt.c: Likewise.
34152 * sunrpc/xdr.c: Likewise.
34153 * sunrpc/xdr_array.c: Likewise.
34154 * sunrpc/xdr_float.c: Likewise.
34155 * sunrpc/xdr_intXX_t.c: Likewise.
34156 * sunrpc/xdr_mem.c: Likewise.
34157 * sunrpc/xdr_rec.c: Likewise.
34158 * sunrpc/xdr_ref.c: Likewise.
34159 * sunrpc/xdr_sizeof.c: Likewise.
34160 * sunrpc/xdr_stdio.c: Likewise.
34161
e6c61494
UD
341622011-04-10 Ulrich Drepper <drepper@gmail.com>
34163
34164 [BZ #12650]
34165 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34166 * sysdeps/ia64/dl-tls.h: Likewise.
34167 * sysdeps/powerpc/dl-tls.h: Likewise.
34168 * sysdeps/s390/dl-tls.h: Likewise.
34169 * sysdeps/sh/dl-tls.h: Likewise.
34170 * sysdeps/sparc/dl-tls.h: Likewise.
34171 * sysdeps/x86_64/dl-tls.h: Likewise.
34172 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34173
34fe483e
AS
341742011-03-14 Andreas Schwab <schwab@redhat.com>
34175
34176 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34177 rpath element also skip the following colon.
34178 (expand_dynamic_string_token): Add is_path parameter and pass
34179 down to DL_DST_REQUIRED and _dl_dst_substitute.
34180 (decompose_rpath): Call expand_dynamic_string_token with
34181 non-zero is_path. Ignore empty rpaths.
34182 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34183 with zero is_path.
34184
f12a32e6
AS
341852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34186
34187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34188 Make cancelable.
34189
38a7d692
UD
341902011-04-09 Ulrich Drepper <drepper@gmail.com>
34191
34192 [BZ #12655]
34193 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34194 Patch by Filipe David Manana <fdmanana@apache.org>.
34195
e451d22b
AS
341962011-04-07 Andreas Schwab <schwab@redhat.com>
34197
34198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34199 Maintain aligned stack.
34200 (CHECK_RSP): Remove unused macro.
34201
dedc7c7b
UD
342022011-04-03 Ulrich Drepper <drepper@gmail.com>
34203
34204 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34205 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34206
94521213
UD
342072011-04-02 Ulrich Drepper <drepper@gmail.com>
34208
34209 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34210
8cb700c0 34211 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34212
0354e355
L
342132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34214
34215 [BZ #12518]
34216 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34217 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34218 * sysdeps/x86_64/memmove.c: New file.
34219 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34220 (memcpy): Renamed to ...
34221 (__new_memcpy): This.
34222 (memcpy): Provide GLIBC_2_14 memcpy.
34223 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34224 (memcpy): Provide GLIBC_2_2_5 memcpy.
34225
8593482f
UD
342262011-04-01 Ulrich Drepper <drepper@gmail.com>
34227
34228 [BZ #12631]
34229 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34230
81a5726b
AS
342312011-03-30 Andreas Schwab <schwab@redhat.com>
34232
34233 * misc/syncfs.c: New file.
34234 * misc/Makefile (routines): Add syncfs.
34235 * posix/unistd.h: Declare syncfs.
34236 * sysdeps/unix/syscalls.list: Add syncfs.
34237
00e5419f
AS
342382011-04-01 Andreas Schwab <schwab@redhat.com>
34239
34240 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34241 open_by_handle_at.
34242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34243 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34247 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34249
748876bf
UD
342502011-04-01 Ulrich Drepper <drepper@gmail.com>
34251
658e451d
UD
34252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34254 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34259
748876bf
UD
34260 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34261 sync_file_range.c with -fexceptions.
34262 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34263 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34264 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34265 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34266 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34267 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34269 sync_file_range as cancellation point
34270 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34271 now a wrapper around __call_sync_file_range with cancellation handling.
34272 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34273 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34274 function name to __call_sync_file_range.
34275 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34276 Add call_sync_file_range.
748876bf 34277
6e63d5e1
AS
342782011-04-01 Andreas Schwab <schwab@redhat.com>
34279
34280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34281 bits/timex.h.
6e63d5e1 34282
46998f74
UD
342832011-04-01 Ulrich Drepper <drepper@gmail.com>
34284
4c1423ed
UD
34285 * iconv/iconv.h: Fix typo in comment.
34286 * io/fcntl.h: Likewise.
34287 * libio/stdio.h: Likewise.
34288 * posix/spawn.h: Likewise.
34289 * posix/unistd.h: Likewise.
34290 * stdlib/stdlib.h: Likewise.
34291 * time/time.h: Likewise.
34292 * wcsmbs/wchar.h: Likewise.
34293
158648c0
UD
34294 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34295 open_by_handle): Add.
34296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34297 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34298 Augment a few comments.
34299 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34304 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34305 open_by_handle.
34306
46998f74
UD
34307 * io/fcntl.h (AT_EMPTY_PATH): Define.
34308
83fe108b
UD
343092011-03-30 Ulrich Drepper <drepper@gmail.com>
34310
34311 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34312 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34313 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34314 to...
34315 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34316 * Versions.def: Add GLIBC_2.14.
34317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34318 Export.
83fe108b 34319
bb242059
UD
343202011-03-22 Ulrich Drepper <drepper@gmail.com>
34321
34322 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34323 round counter.
34324 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34325
c97a1282
L
343262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34327
34328 [BZ #12597]
34329 * string/test-strncmp.c (do_page_test): New function.
34330 (check2): Likewise.
34331 (test_main): Call check2.
34332 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34333
2a115601
UD
343342011-03-20 Ulrich Drepper <drepper@gmail.com>
34335
34336 [BZ #12587]
34337 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34338 Handle cache information in CPU leaf 4.
34339 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34340
8126d904
UD
343412011-03-18 Ulrich Drepper <drepper@gmail.com>
34342
042c49c6 34343 [BZ #12583]
8126d904
UD
34344 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34345 character representation.
34346 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34347
ccfe366e
RA
343482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34349
34350 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34351 END(__isnan) to END(__isnanf) to match function entry point/label
34352 EALIGN(__isnanf,...).
34353
c6e13027
JJ
343542011-03-10 Jakub Jelinek <jakub@redhat.com>
34355
34356 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34357
33f85a3f
UD
343582011-03-10 Ulrich Drepper <drepper@gmail.com>
34359
028478fa
UD
34360 [BZ #12510]
34361 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34362 copy from the symbol referenced in the relocation to initialize the
34363 used variable.
34364 Patch by Piotr Bury <pbury@goahead.com>.
34365 * elf/Makefile: Add rules to build and tst-unique3.
34366 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34367 * elf/tst-unique3.cc: New file.
34368 * elf/tst-unique3.h: New file.
34369 * elf/tst-unique3lib.cc: New file.
34370 * elf/tst-unique3lib2.cc: New file.
34371
33f85a3f
UD
34372 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34373
03592fc7
MF
343742011-03-10 Mike Frysinger <vapier@gentoo.org>
34375
34376 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34377 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34378 to _start.
03592fc7 34379
6a5ee102
UD
343802011-03-06 Ulrich Drepper <drepper@gmail.com>
34381
34382 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34383 to-be-loaded object along a path to loader is ld.so.
34384
7e4ba49c
HJ
343852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34386 Ulrich Drepper <drepper@gmail.com>
34387
34388 * sysdeps/x86_64/memset.S: After aligning destination, code
34389 branches to different locations depending on the value of
34390 misalignment, when multiarch is enabled. Fix this.
34391
343922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34393
34394 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34395 Set _x86_64_preferred_memory_instruction for AMD processsors.
34396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34397 Set bit_Prefer_SSE_for_memop for AMD processors.
34398
13a804de
UD
343992011-03-04 Ulrich Drepper <drepper@gmail.com>
34400
34401 * libio/fmemopen.c (fmemopen): Optimize a bit.
34402
9d25c392
AS
344032011-03-03 Andreas Schwab <schwab@redhat.com>
34404
34405 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34406
a5543c6a
RM
344072011-03-03 Roland McGrath <roland@redhat.com>
34408
34409 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34410
012d35f7
DM
344112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34412
7e4ba49c 34413 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34414 __bzero_ultra1 instead of __memset_ultra1.
34415
4bff6e01
AS
344162011-02-23 Andreas Schwab <schwab@redhat.com>
34417 Ulrich Drepper <drepper@gmail.com>
34418
34419 [BZ #12509]
34420 * include/link.h (struct link_map): Add l_orig_initfini.
34421 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34422 returning unsuccessfully.
34423 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34424 close of a file loaded at startup, restore the original l_initfini
34425 list.
34426 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34427 list, store the pointer.
34428 * elf/Makefile ($(objpfx)noload-mem): New rule.
34429 (noload-ENV): Define.
34430 (tests): Add $(objpfx)noload-mem.
34431 * elf/noload.c: Include <memcheck.h>.
34432 (main): Call mtrace. Close all opened handles.
34433
f2092faf
AS
344342011-02-17 Andreas Schwab <schwab@redhat.com>
34435
34436 [BZ #12454]
34437 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34438 dependencies are missing.
34439
6c8a2e88
ST
344402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34441
f2092faf 34442 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34443 Hurd needs munmap.
34444 * sysdeps/mach/hurd/ifreq.h: New file.
34445
84a42118
PB
344462011-01-27 Petr Baudis <pasky@suse.cz>
34447 Ulrich Drepper <drepper@gmail.com>
34448
071f805e 34449 [BZ 12445]#
84a42118
PB
34450 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34451 to extend_alloca().
34452 * stdio-common/bug23.c: New file.
34453 * stdio-common/Makefile (tests): Add bug23.
34454
e23fe25b
AS
344552010-09-28 Andreas Schwab <schwab@redhat.com>
34456 Ulrich Drepper <drepper@gmail.com>
34457
34458 [BZ #12489]
34459 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34460 before performing relro protection. At old place add assertion
34461 to make sure nothing changed.
34462
d3f02e10
NS
344632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34464 Glauber de Oliveira Costa <glommer@gmail.com>
34465
34466 * elf/elf.h: Add new ARM TLS relocs.
34467
d55fd7a5
RA
344682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34469
34470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34471 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34472 cast from r3.
34473 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34474 'tests' variable.
34475 * sysdeps/wordsize-64/tst-writev.c: New file.
34476
2206397e
RA
344772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34478
34479 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34480 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34481 insns in _dl_start to prevent a TOC reference before relocs are
34482 resolved.
34483
e9433893
UD
344842011-02-15 Ulrich Drepper <drepper@gmail.com>
34485
34486 [BZ #12469]
34487 * Makeconfig: Remove RANLIB definition.
34488 * Makerules: Don't use RANLIB.
34489 * aclocal.m4: Remove ranlib test.
34490 * configure.in: No need to check for ranlib.
34491 * elf/rtld-Rules: Don't use RANLIB.
34492
f75286c6
ST
344932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34494
8e31c82d
ST
34495 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34496 protection macro.
34497 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34498 inclusion protection macro.
34499
f75286c6
ST
34500 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34501 SIGRTMIN and SIGRTMAX and print information in that case only when
34502 SIGRTMIN is defined.
34503
c1d0e639
JJ
345042011-02-11 Jakub Jelinek <jakub@redhat.com>
34505
34506 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34507 arginfo fn returning -1.
34508
34509 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34510 and thousands string is zero terminated.
34511
edf9294e
AS
345122011-02-03 Andreas Schwab <schwab@redhat.com>
34513
34514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34515 sysdeps/unix/sysv/linux/bits/socket.h.
34516
2b7e92df
ST
345172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34518
edf9294e
AS
34519 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34520 (__CPU_COUNT): Remove old macros.
34521 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34522 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34523 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34524 (__sched_cpualloc, __sched_cpufree): Add declarations.
34525
a4c7ea7b
UD
345262011-02-05 Ulrich Drepper <drepper@gmail.com>
34527
34528 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34529 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34530 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34531 (readdhstai): Return value of addhstaiX call.
34532 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34533 (addgrbyX): Return value returned by cache_addgr.
34534 (readdgrbyname): Return value returned by addgrbyX.
34535 (readdgrbygid): Likewise.
34536 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34537 (addpwbyX): Return value returned by cache_addpw.
34538 (readdpwbyname): Return value returned by addhstbyX.
34539 (readdpwbyuid): Likewise.
34540 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34541 (addservbyX): Return value returned by cache_addserv.
34542 (readdservbyname): Return value returned by addservbyX:
34543 (readdservbyport): Likewise.
34544 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34545 (addhstbyX): Return value returned by cache_addhst.
34546 (readdhstbyname): Return value returned by addhstbyX.
34547 (readdhstbyaddr): Likewise.
34548 (readdhstbynamev6): Likewise.
34549 (readdhstbyaddrv6): Likewise.
34550 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34551 (readdinitgroups): Return value returned by addinitgroupsX.
34552 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34553 (prune_cache): Keep track of timeout value of re-added entries.
34554 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34555 * nscd/nscd.h: Adjust prototypes of readd* functions.
34556
a0bf67cc
RM
345572011-02-04 Roland McGrath <roland@redhat.com>
34558
34559 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34560 (nis_stats): Likewise.
34561 * nis/nis_modify.c (nis_modify): Likewise.
34562 * nis/nis_remove.c (nis_remove): Likewise.
34563 * nis/nis_add.c (nis_add): Likewise.
34564
34565 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34566
34567 * posix/fnmatch_loop.c: Add some consts.
34568
34569 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34570
435b95eb
L
345712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34572
34573 [BZ #12460]
34574 * config.make.in (config-cflags-novzeroupper): Define.
34575 * configure.in: Substitute libc_cv_cc_novzeroupper.
34576 * elf/Makefile (AVX-CFLAGS): Define.
34577 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34578 (CFLAGS-tst-auditmod4a.c): Likewise.
34579 (CFLAGS-tst-auditmod4b.c): Likewise.
34580 (CFLAGS-tst-auditmod6b.c): Likewise.
34581 (CFLAGS-tst-auditmod6c.c): Likewise.
34582 (CFLAGS-tst-auditmod7b.c): Likewise.
34583 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34584
8517b15e
UD
345852011-02-02 Ulrich Drepper <drepper@gmail.com>
34586
34587 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34588 function to the callback.
34589 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34590
10a656fe
AS
345912011-02-02 Andreas Schwab <schwab@redhat.com>
34592
34593 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34594 of errno.
34595
968dad0a
UD
345962011-01-19 Ulrich Drepper <drepper@gmail.com>
34597
9f94d2ea 34598 [BZ #11724]
968dad0a
UD
34599 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34600 of constructors.
34601 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34602 of destructors.
34603 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34604
34605 [BZ #11724]
34606 * elf/Makefile: Add rules to build and run new test.
34607 * elf/tst-initorder.c: New file.
34608 * elf/tst-initorder.exp: New file.
34609 * elf/tst-initordera1.c: New file.
34610 * elf/tst-initordera2.c: New file.
34611 * elf/tst-initordera3.c: New file.
34612 * elf/tst-initordera4.c: New file.
34613 * elf/tst-initorderb1.c: New file.
34614 * elf/tst-initorderb2.c: New file.
34615 * elf/tst-order-a1.c: New file.
34616 * elf/tst-order-a2.c: New file.
34617 * elf/tst-order-a3.c: New file.
34618 * elf/tst-order-a4.c: New file.
34619 * elf/tst-order-b1.c: New file.
34620 * elf/tst-order-b2.c: New file.
34621 * elf/tst-order-main.c: New file.
34622 New test case by George Gensure <werkt0@gmail.com>.
34623
86e92359
UD
346242010-10-01 Andreas Schwab <schwab@redhat.com>
34625
34626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34627 decoding ACE if AI_CANONIDN.
34628
5d5732b0
UD
346292011-01-18 Ulrich Drepper <drepper@gmail.com>
34630
34631 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34632
a77e8cbc
UD
346332011-01-17 Ulrich Drepper <drepper@gmail.com>
34634
6392473f
UD
34635 * version.h (RELEASE): Bump for 2.13 release.
34636 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34637
620a0529
UD
34638 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34639
18ba70a5
UD
34640 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34641 MADV_NOHUGEPAGE.
32465c3e
UD
34642 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34645 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34647 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34648
c0dafcf1
UD
34649 * posix/getconf.c: Update copyright year.
34650 * catgets/gencat.c: Likewise.
34651 * csu/version.c: Likewise.
34652 * debug/catchsegv.sh: Likewise.
34653 * debug/xtrace.sh: Likewise.
34654 * elf/ldconfig.c: Likewise.
34655 * elf/ldd.bash.in: Likewise.
34656 * elf/sprof.c (print_version): Likewise.
34657 * iconv/iconv_prog.c: Likewise.
34658 * iconv/iconvconfig.c: Likewise.
34659 * locale/programs/locale.c: Likewise.
34660 * locale/programs/localedef.c: Likewise.
34661 * malloc/memusage.sh: Likewise.
34662 * malloc/mtrace.pl: Likewise.
34663 * nscd/nscd.c (print_version): Likewise.
34664 * nss/getent.c: Likewise.
34665
a77e8cbc
UD
34666 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34667 PF_CAIF, and PF_ALG.
34668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34669
77e8bddf
AS
346702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34671
1f20b93a
AS
34672 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34673 (modules-names): Use them.
34674 (ifunc-test-modules, ifunc-pie-tests): Define.
34675 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34676 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34677 (test-extras): Likewise.
34678 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34679 $(compile-command.c).
34680 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34681 (all-built-dso): Define.
34682 (check-textrel.out, check-execstack.out): Depend on it.
34683
77e8bddf
AS
34684 * configure.in: Don't override --enable-multi-arch.
34685
bc425b33
UD
346862011-01-15 Ulrich Drepper <drepper@gmail.com>
34687
34688 [BZ #6812]
34689 * nscd/hstcache.c (tryagain): Define.
34690 (cache_addhst): Return tryagain not notfound for temporary errors.
34691 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34692 failed.
34693
794c3ad3
UD
346942011-01-14 Ulrich Drepper <drepper@gmail.com>
34695
70181fdd
UD
34696 [BZ #10563]
34697 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34698 to make the syscall.
34699 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34700
794c3ad3
UD
34701 [BZ #12378]
34702 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34703 and fall back to matching as normal character if the string ends before
34704 the matching ']' is found. This is what POSIX requires.
34705 * posix/testfnm.c: Adjust test result.
34706 * posix/globtest.sh: Adjust test result. Add new test.
34707 * posix/tst-fnmatch.input: Likewise.
34708 * posix/tst-fnmatch2.c: Add new test.
34709
68dc9497
AS
347102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34711
34712 * elf/Makefile (check-execstack): Revert last change. Depend on
34713 check-execstack.h.
34714 (check-execstack.h): New target.
34715 (generated): Add check-execstack.h.
34716 * elf/check-execstack.c: Include "check-execstack.h".
34717 (main): Revert last change.
34718 (handle_file): Return zero if GNU_STACK is absent and
34719 DEFAULT_STACK_PERMS doesn't include PF_X.
34720
451f001b
UD
347212011-01-13 Ulrich Drepper <drepper@gmail.com>
34722
cfa28e56
UD
34723 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34724 in child fails because the descriptor is already closed.
8cf8ce17
UD
34725 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34726 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34727 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34728
1086d70d
UD
34729 [BZ #12397]
34730 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34731 syscall.
34732
451f001b
UD
34733 [BZ #10484]
34734 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34735 temporary buffer used to handle multi lookups locally.
a85b5cb4 34736 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34737
08769175
UD
347382011-01-12 Ulrich Drepper <drepper@gmail.com>
34739
34740 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34741 loader is ld.so.
34742
5e49c52e
UD
347432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34744
34745 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34746 alignment for SSE2.
34747
60522a5f
UD
347482011-01-12 Ulrich Drepper <drepper@gmail.com>
34749
34750 [BZ #12394]
34751 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34752 characters. When rounding increased number of integer digits recompute
34753 number of groups.
34754 * stdio-common/tst-grouping.c: New file.
34755 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34756
f257bbd7
UD
347572011-01-09 Ulrich Drepper <drepper@gmail.com>
34758
34759 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34760 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34761
34762 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34763 void.
34764 * bits/select.h: Likewise.
34765
fa9c15cb
UD
347662011-01-08 Ulrich Drepper <drepper@gmail.com>
34767
34768 * po/ja.po: Update from translation team.
34769
16c2895f
DM
347702011-01-04 David S. Miller <davem@sunset.davemloft.net>
34771
34772 [BZ #11155]
34773 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34774 implementation just like for lxstat, fxstatat, et al.
34775
2543fef2
JM
347762010-12-27 Jim Meyering <meyering@redhat.com>
34777
34778 [BZ #12348]
34779 * posix/regexec.c (build_trtable): Return failure indication upon
34780 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34781
98727dbe
UD
347822010-12-25 Ulrich Drepper <drepper@gmail.com>
34783
5bd6dc5c
UD
34784 [BZ #12201]
34785 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34786 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34787 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34788 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34789
97983464
UD
34790 [BZ #12207]
34791 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34792
98727dbe
UD
34793 [BZ #12204]
34794 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34795 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34796
4a531bb0
L
347972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34798
34799 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34800 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34801 script has SORT_BY_INIT_PRIORITY.
34802 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34803 NO_CTORS_DTORS_SECTIONS is defined.
34804 * elf/soinit.c: Likewise.
34805 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34806 NO_CTORS_DTORS_SECTIONS is defined.
34807 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34808 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34809 * sysdeps/sh/init-first.c: Likewise.
34810 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34811
07eb4b71
UD
348122010-12-24 Ulrich Drepper <drepper@gmail.com>
34813
34814 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34815 always use the slow path.
34816
30950a5f
RA
348172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34818
34819 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34820 similar rule which adds the sysdep directories to the header search in
34821 order to pick up the correct platform stackinfo.h.
34822 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34823 perform test if it is, otherwise return successfully without testing.
34824 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34825 DEFAULT_STACK_PERMS define in stackinfo.h.
34826 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34827 defined in stackinfo.h.
34828 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34829 DEFAULT_STACK_PERMS defined in stackinfo.h.
34830 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34831 * sysdeps/ia64/stackinfo.h: Likewise.
34832 * sysdeps/s390/stackinfo.h: Likewise.
34833 * sysdeps/sh/stackinfo.h: Likewise.
34834 * sysdeps/sparc/stackinfo.h: Likewise.
34835 * sysdeps/x86_64/stackinfo.h: Likewise.
34836 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34837 PF_X for powerpc64. Retain PF_X for powerpc32.
34838
db753e2c
UD
348392010-12-19 Ulrich Drepper <drepper@gmail.com>
34840
14b697f7
UD
34841 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34842 accurately.
db753e2c
UD
34843 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34844 GETDENTS_64BIT_ALIGNED.
34845
28300719
UD
348462010-12-14 Ulrich Drepper <dreper@gmail.com>
34847
14b697f7 34848 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34849
4f197237
AS
348502010-12-10 Andreas Schwab <schwab@redhat.com>
34851
dbb0472f
AS
34852 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34853 _GNU_SOURCE.
34854
4f197237
AS
34855 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34856 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34857 Remove __restrict.
34858 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34859 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34860
fb88ac72
UD
348612010-12-09 Ulrich Drepper <drepper@gmail.com>
34862
34863 [BZ #11655]
34864 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34865 are initialized.
34866
42acbb92
JJ
348672010-12-09 Jakub Jelinek <jakub@redhat.com>
34868
34869 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34870
c038d98d
UD
348712010-12-03 Ulrich Drepper <drepper@gmail.com>
34872
34873 * po/it.po: Update from translation team.
34874
3a4a2499
L
348752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34876
34877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34878 unused codes.
34879
1e24cf6e
UD
348802010-11-30 Ulrich Drepper <drepper@gmail.com>
34881
34882 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34883
a7690819
AS
348842010-11-24 Andreas Schwab <schwab@redhat.com>
34885
34886 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34887 specially.
34888 (gaih_getanswer_slice): Likewise.
34889
3bf8d1b1
JJ
348902010-10-20 Jakub Jelinek <jakub@redhat.com>
34891
34892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34893
6db52fbb
PB
348942010-05-31 Petr Baudis <pasky@suse.cz>
34895
34896 [BZ #11149]
34897 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34898 silently even in the chroot mode.
34899
eaca7569
UD
349002010-11-22 Ulrich Drepper <drepper@gmail.com>
34901
34902 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34903 last patch a bit. Pretty printing
34904
3056dcdb
UD
349052010-05-31 Petr Baudis <pasky@suse.cz>
34906
34907 [BZ #10085]
34908 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34909 initialization of skip_initgroups_dyn.
34910
cf7c9078
UD
349112010-11-19 Ulrich Drepper <drepper@gmail.com>
34912
34913 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34914 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34915
a1fb5e3e
UD
349162010-11-16 Ulrich Drepper <drepper@gmail.com>
34917
34918 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34919
3540d66b
AS
349202010-11-11 Andreas Schwab <schwab@redhat.com>
34921
34922 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34923 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34924 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34925 ($(objpfx)tst-fnmatch-mem): New rule.
34926 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34927 * posix/tst-fnmatch.c (main): Call mtrace.
34928
13b69574
L
349292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34930
34931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34932 Support Intel processor model 6 and model 0x2c.
34933
da93d214
LM
349342010-11-10 Luis Machado <luisgpm@br.ibm.com>
34935
34936 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34937 signed comparison.
34938
8ca52c6e
L
349392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34940
34941 [BZ #12205]
34942 * string/test-strncasecmp.c (check_result): New function.
34943 (do_one_test): Use it.
34944 (check1): New function.
34945 (test_main): Use it.
34946 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34947 Support strcasecmp and strncasecmp.
34948
69da074d
UD
349492010-11-08 Ulrich Drepper <drepper@gmail.com>
34950
34951 [BZ #12194]
34952 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34954
ff02d528
L
349552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34956
34957 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34958 IFUNC support.
34959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34960 memset-x86-64.
34961 * sysdeps/x86_64/multiarch/bzero.S: New file.
34962 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34963 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34964 * sysdeps/x86_64/multiarch/memset.S: New file.
34965 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34967 Set bit_Prefer_SSE_for_memop for Intel processors.
34968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34969 Define.
34970 (index_Prefer_SSE_for_memop): Define.
34971 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34972
344d0b54
LM
349732010-11-04 Luis Machado <luisgpm@br.ibm.com>
34974
34975 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34976 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34977
c0dde15b
UD
349782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34979
34980 [BZ #12191]
34981 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34982 (__x86_64_raw_data_cache_size_half): Likewise.
34983 (__x86_64_raw_shared_cache_size): Likewise.
34984 (__x86_64_raw_shared_cache_size_half): Likewise.
34985
34986 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34987 (__x86_64_raw_data_cache_size_half): Likewise.
34988 (__x86_64_raw_shared_cache_size): Likewise.
34989 (__x86_64_raw_shared_cache_size_half): Likewise.
34990 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34991 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34992 and __x86_64_raw_shared_cache_size_half. Round
34993 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34994 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34995 to multiple of 256 bytes.
34996
0e516e0e
MS
349972010-11-03 Ulrich Drepper <drepper@gmail.com>
34998
34999 [BZ #12167]
35000 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35001 of inacessible symlinks. Verify result of symlink before returning it.
35002 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35003 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35004
0e012e87
ER
350052010-10-28 Erich Ritz <erichritz@gmail.com>
35006
35007 * math/math.h (isinf): Fix typo in comment.
35008
de0ff7bc
UD
350092010-11-01 Ulrich Drepper <drepper@gmail.com>
35010
35011 * po/da.po: Update from translation team.
35012
fa41c84d
UD
350132010-10-26 Ulrich Drepper <drepper@gmail.com>
35014
35015 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35016 is added to the list.
35017
f0967738
AK
350182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35019 Ulrich Drepper <drepper@gmail.com>
35020
35021 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35022 the global list here. Move code to...
35023 (_dl_add_to_namespace_list): ...here. New function.
35024 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35025 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35026 * elf/dl-load.c (lose): Don't remove the element from the list.
35027 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35028 (_dl_map_object): Likewise.
35029
350302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35031
35032 [BZ #12159]
35033 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35034 into all bytes of SSE register.
35035 Patch by Richard Li <richardpku@gmail.com>.
35036
f0967738 350372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35038
35039 [BZ #12140]
35040 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35041 perturbing.
35042
d0b9e94f
MB
350432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35044
35045 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35046 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35047 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35048 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35050 submachine.
35051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35052
8e9f92e9
AS
350532010-10-22 Andreas Schwab <schwab@redhat.com>
35054
35055 * include/dlfcn.h (__RTLD_SECURE): Define.
35056 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35057 mode & __RTLD_SECURE instead.
35058 (open_path): Rename preloaded parameter to secure.
35059 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35060 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35061 * elf/dl-deps.c (openaux): Likewise.
35062 * elf/rtld.c (struct map_args): Remove is_preloaded.
35063 (map_doit): Don't use it.
35064 (dl_main): Likewise.
35065 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35066 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35067
bc96fbda
AS
350682010-09-09 Andreas Schwab <schwab@redhat.com>
35069
35070 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35071 (sysd-rules-targets): Remove duplicates.
35072 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35073 rtld-%.$o dependency.
35074
22cd1c9b
AS
350752010-10-18 Andreas Schwab <schwab@redhat.com>
35076
35077 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35078 _dl_map_object do it.
35079
18edac48
UD
350802010-10-19 Ulrich Drepper <drepper@gmail.com>
35081
35082 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35083 fast fma builtins, define the macros in the C99 standard.
35084 (FP_FAST_FMAF): Likewise.
35085 (FP_FAST_FMAL): Likewise.
35086 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35087
35088 * bits/mathdef.h: Update copyright year.
35089 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35090
d2050124
MM
350912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35092
35093 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35094 builtins, define the macros in the C99 standard.
35095 (FP_FAST_FMAF): Likewise.
35096 (FP_FAST_FMAL): Likewise.
35097 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35098 multiply/add.
35099 (FP_FAST_FMAF): Likewise.
35100
475facd1
JJ
351012010-10-15 Jakub Jelinek <jakub@redhat.com>
35102
35103 [BZ #3268]
35104 * math/libm-test.inc (fma_test): Some new testcases.
35105 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35106 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35107 y and infinite z. Do multiplication by C already in long double.
35108 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35110 y and infinite z. Do bitwise or of inexact bit into u.d.
35111 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35112 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35113 * sysdeps/i386/fpu/s_fma.S: Removed.
35114 * sysdeps/i386/fpu/s_fmal.S: Removed.
35115
7c08a05c
JJ
351162010-10-16 Jakub Jelinek <jakub@redhat.com>
35117
35118 [BZ #3268]
35119 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35121 computation is not scheduled after fetestexcept. Fix value
35122 of minimum denormal long double.
35123
f3f7372d
JJ
351242010-10-14 Jakub Jelinek <jakub@redhat.com>
35125
35126 [BZ #3268]
35127 * math/libm-test.inc (fma_test): Add some more tests.
35128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35129 correctly.
35130
14d43591
AS
351312010-10-15 Andreas Schwab <schwab@redhat.com>
35132
35133 * scripts/data/localplt-s390-linux-gnu.data: New file.
35134 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35135
5e908464
JJ
351362010-10-13 Jakub Jelinek <jakub@redhat.com>
35137
35138 [BZ #3268]
35139 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35140 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35141 instead of dbl-64.
35142 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35143 inlines.
35144 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35146 if one of x and y is very large and the other is subnormal.
35147 * sysdeps/s390/fpu/s_fmaf.c: New file.
35148 * sysdeps/s390/fpu/s_fma.c: New file.
35149 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35150 * sysdeps/powerpc/fpu/s_fma.S: New file.
35151 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35152 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35153 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35154
351552010-10-12 Jakub Jelinek <jakub@redhat.com>
35156
35157 [BZ #3268]
35158 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35159 fma tests.
35160 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35161 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35162 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35163 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35164 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35165 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35166 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35167
b833d51f
UD
351682010-10-12 Ulrich Drepper <drepper@redhat.com>
35169
35170 [BZ #12078]
35171 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35172 * posix/bug-regex31.input: Add test case.
35173
1751705d
UD
351742010-10-11 Ulrich Drepper <drepper@gmail.com>
35175
e9b9cbf5
UD
35176 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35177 * posix/bug-regex31.input: New file.
35178
35179 [BZ #12078]
35180 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35181 (parse_sub_exp): Fix last change, use postorder.
35182
ef06edbe
UD
35183 * posix/bug-regex31.c: New file.
35184 * posix/Makefile: Add rules to build and run bug-regex31.
35185
a129c80d
UD
35186 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35187
35188 [BZ #12078]
35189 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35190
b76b818e
UD
35191 [BZ #12108]
35192 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35193 to have entries in sys_siglist.
35194
1751705d
UD
35195 [BZ #12093]
35196 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35197 be NULL.
35198
9ff8d36f
JJ
351992010-10-07 Jakub Jelinek <jakub@redhat.com>
35200
35201 [BZ #3268]
35202 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35203 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35204 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35205 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35206 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35207 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35208 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35209 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35210 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35211 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35212 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35213 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35214 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35215 * math/ftestexcept.c (fetestexcept): Likewise.
35216 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35217 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35218 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35219 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35220 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35221 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35222 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35223
af325969
UD
352242010-10-11 Ulrich Drepper <drepper@gmail.com>
35225
c579b202 35226 [BZ #12107]
af325969
UD
35227 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35228 newline.
35229
67a67b95
UD
352302010-10-06 Ulrich Drepper <drepper@gmail.com>
35231
35232 * string/bug-strstr1.c: New file.
35233 * string/Makefile: Add rules to build and run bug-strstr1.
35234
5fb308bc
EB
352352010-10-05 Eric Blake <eblake@redhat.com>
35236
35237 [BZ #12092]
35238 * string/str-two-way.h (two_way_long_needle): Always clear memory
35239 when skipping input due to the shift table.
35240
45db99c7
UD
352412010-10-03 Ulrich Drepper <drepper@gmail.com>
35242
3b111893
UD
35243 [BZ #12005]
35244 * malloc/mcheck.c: Handle large requests.
35245
45db99c7
UD
35246 [BZ #12077]
35247 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35248 for strncmp and strncasecmp.
35249 * string/stratcliff.c: Add tests for strcmp and strncmp.
35250 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35251
cf7a1eb8
NI
352522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35253
35254 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35255 __set_fpscr.
35256
6484ba5e
AJ
352572010-09-30 Andreas Jaeger <aj@suse.de>
35258
35259 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35260 (CGROUP_SUPER_MAGIC): Define.
35261 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35262 Handle btrfs and cgroup file systems.
35263 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35264 Likewise.
35265
91c42559
LM
352662010-09-27 Luis Machado <luisgpm@br.ibm.com>
35267
35268 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35269 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35270
87a97932
AK
352712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35272
35273 [BZ #12067]
35274 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35275 trying to locate the ELF header.
35276
c21cc9bc
AS
352772010-09-27 Andreas Schwab <schwab@redhat.com>
35278
35279 [BZ #11611]
35280 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35281 Mask out sign-bit copies when constructing f_fsid.
35282
315970f6
PB
352832010-09-24 Petr Baudis <pasky@suse.cz>
35284
35285 * debug/stack_chk_fail_local.c: Add missing licence exception.
35286 * debug/warning-nop.c: Likewise.
35287
1ac7a2c7
JM
352882010-09-15 Joseph Myers <joseph@codesourcery.com>
35289
35290 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35291 implementing getdents64 using getdents syscall, set d_type if
35292 __ASSUME_GETDENTS32_D_TYPE.
35293
56801c50
AS
352942010-09-16 Andreas Schwab <schwab@redhat.com>
35295
35296 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35297 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35298
dda51327
UD
352992010-09-21 Ulrich Drepper <drepper@redhat.com>
35300
35301 [BZ #12037]
35302 * posix/unistd.h: Undo change of feature selection for ftruncate from
35303 2010-01-11.
35304
8ffcee4a
UD
353052010-09-20 Ulrich Drepper <drepper@redhat.com>
35306
a545ecd9 35307 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35308 detection.
35309
e24f0a8b
AS
353102010-09-20 Andreas Schwab <schwab@redhat.com>
35311
35312 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35313 fanotify_mark.
35314 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35315
7291c56f
AS
353162010-09-14 Andreas Schwab <schwab@redhat.com>
35317
35318 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35319 variables after CHECK_SP call.
35320 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35321
bc5fb037
AS
353222010-09-13 Andreas Schwab <schwab@redhat.com>
35323 Ulrich Drepper <drepper@redhat.com>
35324
35325 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35326 re-relocationg ld.so.
35327 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35328 _dl_init_paths call.
35329 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35330 here anymore.
35331
e66e7419
UD
353322010-09-14 Ulrich Drepper <drepper@redhat.com>
35333
35334 * resolv/res_init.c (__res_vinit): Count the default server we added.
35335
c044aa75
CLT
353362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35337 Ulrich Drepper <drepper@redhat.com>
35338
35339 [BZ #11968]
35340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35341 (____longjmp_chk): Use %ebx for saving value across system call.
35342 Add unwind info.
35343
32cf4069
AS
353442010-09-06 Andreas Schwab <schwab@redhat.com>
35345
35346 * manual/Makefile: Don't mix pattern rules with normal rules.
35347
817328ee
AS
353482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35349
35350 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35351 operation.
35352 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35353 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35354 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35355 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35357 Likewise.
35358
29fddf61
UD
353592010-09-04 Ulrich Drepper <drepper@redhat.com>
35360
35361 [BZ #11979]
35362 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35363 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35364
0959ffc9
UD
353652010-09-02 Ulrich Drepper <drepper@redhat.com>
35366
35367 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35368 * sysdeps/x86_64/addmul_1.S: Likewise.
35369 * sysdeps/x86_64/lshift.S: Likewise.
35370 * sysdeps/x86_64/mul_1.S: Likewise.
35371 * sysdeps/x86_64/rshift.S: Likewise.
35372 * sysdeps/x86_64/sub_n.S: Likewise.
35373 * sysdeps/x86_64/submul_1.S: Likewise.
35374
ece29840
ST
353752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35376
0959ffc9
UD
35377 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35378 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35379 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35380 * bits/sched.h [__need_schedparam]
ece29840 35381 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35382 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35383 (__defined_schedparam): Define to 1.
ece29840
ST
35384 (__sched_param): New structure, identical to sched_param.
35385 (__need_schedparam): Undefine.
35386
e53a31fe
MF
353872010-08-31 Mike Frysinger <vapier@gentoo.org>
35388
fdc0c10d
MF
35389 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35390 (epoll_create1): Declare.
35391
e53a31fe
MF
35392 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35393
a726d796
AS
353942010-08-31 Andreas Schwab <schwab@redhat.com>
35395
35396 [BZ #7066]
35397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35398 shifting retval into place.
35399
2f3e3dc7
UD
354002010-09-01 Ulrich Drepper <drepper@redhat.com>
35401
f2933da9
UD
35402 * nis/rpcsvc/nis.h: Update copyright notice.
35403 * nis/rpcsvc/nis.x: Likewise.
35404 * nis/rpcsvc/nis_callback.h: Likewise.
35405 * nis/rpcsvc/nis_callback.x: Likewise.
35406 * nis/rpcsvc/nis_object.x: Likewise.
35407 * nis/rpcsvc/nis_tags.h: Likewise.
35408 * nis/rpcsvc/yp.h: Likewise.
35409 * nis/rpcsvc/yp.x: Likewise.
35410 * nis/rpcsvc/ypupd.h: Likewise.
35411 * nis/yp_xdr.c: Likewise.
35412 * nis/ypupdate_xdr.c: Likewise.
35413
2f3e3dc7
UD
35414 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35415 mainly the body of pmap_getport. Add parameters to specify timeouts.
35416 (pmap_getport): Use __libc_rpc_getport.
35417 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35418 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35419 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35420
f3dcc2f9
AS
354212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35422
35423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35424 fanotify_mark.
35425
6d34eb5b
RM
354262010-08-27 Roland McGrath <roland@redhat.com>
35427
35428 * sysdeps/i386/i686/multiarch/Makefile
35429 (CFLAGS-varshift.c): New variable.
35430
9ea3de11
UD
354312010-08-27 Ulrich Drepper <drepper@redhat.com>
35432
c96d23fc
UD
35433 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35434 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35435
9ea3de11
UD
35436 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35437
35438 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35439
623aac7f
L
354402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35441
35442 * sysdeps/x86_64/strlen.S: Unroll the loop.
35443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35444 strlen-sse2 strlen-sse2-bsf.
35445 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35446 __strlen_no_bsf if bit_Slow_BSF is set.
35447 (__strlen_sse42): Removed.
35448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35449 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35450
8b2b7715
RM
354512010-08-25 Roland McGrath <roland@redhat.com>
35452
35453 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35454 * sysdeps/x86_64/multiarch/varshift.c: New file.
35455 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35456 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35457 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35458 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35459
e73015f2
L
354602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35461
35462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35463 strlen-sse2 strlen-sse2-bsf.
35464 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35465 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35466 (__strlen_sse2): Removed.
35467 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35470 bit_Slow_BSF for Atom.
35471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35472 (index_Slow_BSF): Define.
35473 (HAS_SLOW_BSF): Define.
35474
df24a73e
UD
354752010-08-25 Ulrich Drepper <drepper@redhat.com>
35476
35477 [BZ #10851]
35478 * resolv/res_init.c (__res_vinit): When no server address at all
35479 is given default to loopback.
35480
f2ac4868
RM
354812010-08-24 Roland McGrath <roland@redhat.com>
35482
09055553
RM
35483 * configure.in: Remove config-name.h generation.
35484 * configure: Regenerated.
35485 * config-name.in: File removed.
35486 * scripts/config-uname.sh: New file.
35487 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35488 ($(objdir)config-name.h): New target.
35489
f2ac4868
RM
35490 * sunrpc/rpc_parse.h: Avoid nested comment.
35491
73f27d5e
RH
354922010-08-24 Richard Henderson <rth@redhat.com>
35493 Ulrich Drepper <drepper@redhat.com>
35494 H.J. Lu <hongjiu.lu@intel.com>
35495
35496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35498 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35499 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35500 _mm_alignr_epi8 with _mm_loadu_si128.
35501 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35502 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35503 (__m128i_shift_right): Removed.
35504 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35505 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35506 * sysdeps/x86_64/multiarch/varshift.h: New file.
35507 * sysdeps/x86_64/multiarch/varshift.S: New file.
35508
84b9230c
MF
355092010-08-21 Mike Frysinger <vapier@gentoo.org>
35510
35511 * configure.in: Move assembler checks to before sysdep dir checking.
35512
9bbd0ddc
PB
355132010-08-20 Petr Baudis <pasky@suse.cz>
35514
35515 * LICENSES: Sync the sunrpc license.
35516
9da4bb31
UD
355172010-08-19 Ulrich Drepper <drepper@redhat.com>
35518
a7ab6ec8
UD
35519 * sunrpc/auth_des.c: Update copyright notice once again.
35520 * sunrpc/auth_none.c: Likewise.
35521 * sunrpc/auth_unix.c: Likewise.
35522 * sunrpc/authdes_prot.c: Likewise.
35523 * sunrpc/authuxprot.c: Likewise.
35524 * sunrpc/bindrsvprt.c: Likewise.
35525 * sunrpc/clnt_gen.c: Likewise.
35526 * sunrpc/clnt_perr.c: Likewise.
35527 * sunrpc/clnt_raw.c: Likewise.
35528 * sunrpc/clnt_simp.c: Likewise.
35529 * sunrpc/clnt_tcp.c: Likewise.
35530 * sunrpc/clnt_udp.c: Likewise.
35531 * sunrpc/clnt_unix.c: Likewise.
35532 * sunrpc/des_crypt.c: Likewise.
35533 * sunrpc/des_soft.c: Likewise.
35534 * sunrpc/get_myaddr.c: Likewise.
35535 * sunrpc/getrpcport.c: Likewise.
35536 * sunrpc/key_call.c: Likewise.
35537 * sunrpc/key_prot.c: Likewise.
35538 * sunrpc/openchild.c: Likewise.
35539 * sunrpc/pm_getmaps.c: Likewise.
35540 * sunrpc/pm_getport.c: Likewise.
35541 * sunrpc/pmap_clnt.c: Likewise.
35542 * sunrpc/pmap_prot.c: Likewise.
35543 * sunrpc/pmap_prot2.c: Likewise.
35544 * sunrpc/pmap_rmt.c: Likewise.
35545 * sunrpc/rpc/auth.h: Likewise.
35546 * sunrpc/rpc/auth_unix.h: Likewise.
35547 * sunrpc/rpc/clnt.h: Likewise.
35548 * sunrpc/rpc/des_crypt.h: Likewise.
35549 * sunrpc/rpc/key_prot.h: Likewise.
35550 * sunrpc/rpc/netdb.h: Likewise.
35551 * sunrpc/rpc/pmap_clnt.h: Likewise.
35552 * sunrpc/rpc/pmap_prot.h: Likewise.
35553 * sunrpc/rpc/pmap_rmt.h: Likewise.
35554 * sunrpc/rpc/rpc.h: Likewise.
35555 * sunrpc/rpc/rpc_des.h: Likewise.
35556 * sunrpc/rpc/rpc_msg.h: Likewise.
35557 * sunrpc/rpc/svc.h: Likewise.
35558 * sunrpc/rpc/svc_auth.h: Likewise.
35559 * sunrpc/rpc/types.h: Likewise.
35560 * sunrpc/rpc/xdr.h: Likewise.
35561 * sunrpc/rpc_clntout.c: Likewise.
35562 * sunrpc/rpc_cmsg.c: Likewise.
35563 * sunrpc/rpc_common.c: Likewise.
35564 * sunrpc/rpc_cout.c: Likewise.
35565 * sunrpc/rpc_dtable.c: Likewise.
35566 * sunrpc/rpc_hout.c: Likewise.
35567 * sunrpc/rpc_main.c: Likewise.
35568 * sunrpc/rpc_parse.c: Likewise.
35569 * sunrpc/rpc_parse.h: Likewise.
35570 * sunrpc/rpc_prot.c: Likewise.
35571 * sunrpc/rpc_sample.c: Likewise.
35572 * sunrpc/rpc_scan.c: Likewise.
35573 * sunrpc/rpc_scan.h: Likewise.
35574 * sunrpc/rpc_svcout.c: Likewise.
35575 * sunrpc/rpc_tblout.c: Likewise.
35576 * sunrpc/rpc_util.c: Likewise.
35577 * sunrpc/rpc_util.h: Likewise.
35578 * sunrpc/rpcinfo.c: Likewise.
35579 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35580 * sunrpc/rpcsvc/key_prot.x: Likewise.
35581 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35582 * sunrpc/rpcsvc/mount.x: Likewise.
35583 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35584 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35585 * sunrpc/rpcsvc/rex.x: Likewise.
35586 * sunrpc/rpcsvc/rstat.x: Likewise.
35587 * sunrpc/rpcsvc/rusers.x: Likewise.
35588 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35589 * sunrpc/rpcsvc/spray.x: Likewise.
35590 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35591 * sunrpc/rtime.c: Likewise.
35592 * sunrpc/svc.c: Likewise.
35593 * sunrpc/svc_auth.c: Likewise.
35594 * sunrpc/svc_authux.c: Likewise.
35595 * sunrpc/svc_raw.c: Likewise.
35596 * sunrpc/svc_run.c: Likewise.
35597 * sunrpc/svc_simple.c: Likewise.
35598 * sunrpc/svc_tcp.c: Likewise.
35599 * sunrpc/svc_udp.c: Likewise.
35600 * sunrpc/svc_unix.c: Likewise.
35601 * sunrpc/svcauth_des.c: Likewise.
35602 * sunrpc/xcrypt.c: Likewise.
35603 * sunrpc/xdr.c: Likewise.
35604 * sunrpc/xdr_array.c: Likewise.
35605 * sunrpc/xdr_float.c: Likewise.
35606 * sunrpc/xdr_mem.c: Likewise.
35607 * sunrpc/xdr_rec.c: Likewise.
35608 * sunrpc/xdr_ref.c: Likewise.
35609 * sunrpc/xdr_sizeof.c: Likewise.
35610 * sunrpc/xdr_stdio.c: Likewise.
35611
9da4bb31
UD
35612 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35613 handling.
35614
bdaa77bc
AS
356152010-08-19 Andreas Schwab <schwab@redhat.com>
35616
35617 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35618
fe2f79db
LM
356192010-08-19 Luis Machado <luisgpm@br.ibm.com>
35620
35621 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35622 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35623 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35624 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35626 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35627 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35628 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35629 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35630 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35631 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35632 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35633 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35634 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35635
b9b42ee0
AB
356362010-07-26 Anton Blanchard <anton@samba.org>
35637
35638 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35639 * malloc/arena.c (heap_trim): Likewise.
35640
1c06ba31
UD
356412010-08-16 Ulrich Drepper <drepper@redhat.com>
35642
35643 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35644 here. Not...
35645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35646 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35647
f8392f40
L
356482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35649
35650 * sysdeps/i386/elf/Makefile: New file.
35651
3162f12e
AS
356522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35653
35654 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35655 from fanotify_init.
35656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35658
28c90b2c
UD
356592010-08-15 Ulrich Drepper <drepper@redhat.com>
35660
35661 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35662 of strncasecmp_l.
1feccb6c 35663 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35664
ca6bb004
UD
356652010-08-14 Ulrich Drepper <drepper@redhat.com>
35666
e9f82e0d
UD
35667 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35668 strncase_l-nonascii.
35669 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35670 Add strncase_l-ssse3.
35671 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35672 * sysdeps/x86_64/strcmp.S: Likewise.
35673 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35674 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35675 * sysdeps/x86_64/strncase.S: New file.
35676 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35677 * sysdeps/x86_64/strncase_l.S: New file.
35678 * string/Makefile (strop-tests): Add strncasecmp.
35679 * string/test-strncasecmp.c: New file.
35680
35681 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35682 warning.
35683
ca6bb004
UD
35684 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35685 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35686
052fa7b3
AS
356872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35688
35689 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35690
962dba78
UD
356912010-08-12 Ulrich Drepper <drepper@redhat.com>
35692
35693 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35694 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35695 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35696
bebff237
AM
356972010-05-01 Alan Modra <amodra@gmail.com>
35698
35699 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35700 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35701 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35702 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35703 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35704 tidying. Don't tail-call __sigjmp_save for static lib.
35705 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35706 save location.
35707 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35708 (CALL_MCOUNT): Add eh info, and nop after bl.
35709 (TAIL_CALL_SYSCALL_ERROR): New macro.
35710 (PSEUDO_RET): Use it.
35711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35712 Correct save location of integer regs and cr.
35713 (_dl_profile_resolve): Correct cr save location. Delete nops
35714 after bl when SHARED. Reduce cfi size a little by better
35715 placement of cfi directives.
35716 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35717 make a stack frame. Instead use parm save area as a temp.
35718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35719 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35721 Don't make a stack frame for parent, use parm save area.
35722 Increase child stack frame to 112 bytes. Don't save unused reg,
35723 and adjust reg usage. Set up cfi on error recovery and
35724 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35726 (__makecontext): Add dummy nop after jump to exit.
35727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35728 Use correct parm save area and cr save, reduce stack frame.
35729 Correct cfi for possible PSEUDO_RET frame setup.
35730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35731 Branch to local label emitted by PSEUDO_RET rather than
35732 __syscall_error.
35733
02637374
AS
357342010-08-12 Andreas Schwab <schwab@redhat.com>
35735
35736 [BZ #11904]
35737 * locale/programs/locale.c (print_assignment): New function.
35738 (show_locale_vars): Use it.
35739
c3e2f19b
UD
357402010-08-11 Ulrich Drepper <drepper@redhat.com>
35741
3cdaa6ad
UD
35742 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35743 field.
35744 (struct statfs64): Likewise.
35745 (_STATFS_F_FLAGS): Define.
35746 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35747 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35748 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35749 (ST_VALID): Define locally.
35750 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35751 __statvfs_getflags, use the provided value.
35752 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35753 __ASSUME_STATFS_F_FLAGS.
35754
754f7da3
UD
35755 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35756
10b3bedc
UD
35757 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35758 Add sys/fanotify.h.
35759 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35760 fanotify_mask for GLIBC_2.13.
35761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35762 fanotify_init and fanotify_mark.
35763 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35764 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35765
c08fb0d7
UD
35766 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35767 Add prlimit.
35768 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35769 prlimit64 for GLIBC_2.13.
35770 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35771 prlimit64.
35772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35773 syscall.
35774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35775 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35776 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35777 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35779 add prlimit alias.
35780 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35781
15bac72b
UD
35782 [BZ #11903]
35783 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35784 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35785
c3e2f19b
UD
35786 * nss/Makefile: Add rules to build and run tst-nss-test1.
35787 * shlib-versions: Add entry for libnss_test1.
35788 * nss/nss_test1.c: New file.
35789 * nss/tst-nss-test1.c: New file.
35790
35791 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35792 (__nss_configure_lookup): Set appropriate entry in
35793 __nss_configure_lookup to true.
35794 * nss/nsswitch.h: Define enum with indeces of databases in
35795 databases and __nss_database_custom arrays. Declare
35796 __nss_database_custom.
35797 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35798 to avoid using nscd when custom rules are installed.
35799 * nss/getXXbyYY_r.c: Likewise.
35800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35801
35802 * nss/nss_files/files-parse.c: Whitespace fixes.
35803
f15ce4d8
UD
358042010-08-09 Ulrich Drepper <drepper@redhat.com>
35805
35806 [BZ #11883]
35807 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35808 * posix/fnmatch_loop.c: Likewise.
35809
d22e4cc9
AK
358102010-07-17 Andi Kleen <ak@linux.intel.com>
35811
35812 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35813 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35814 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35815 * Versions.def [GLIBC_2.13]: Add.
35816
805bc17d
UD
358172010-08-06 Ulrich Drepper <drepper@redhat.com>
35818
35819 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35820 Also fail if tpwd after pwuid call is NULL.
35821
5a42321d
ST
358222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35823
35824 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35825 when converting to ms.
35826
fd3ebeda
ST
358272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35828
35829 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35830 EOPNOTSUPP errors with ENOTTY.
35831 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35832 EOPNOTSUPP errors with ENOTTY.
35833
73507d3a
UD
358342010-07-31 Ulrich Drepper <drepper@redhat.com>
35835
35836 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35837 Add strcasecmp_l-ssse3.
35838 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35839 strcasecmp.
35840 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35841 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35842 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35843
fe36dd02
UD
358442010-07-30 Ulrich Drepper <drepper@redhat.com>
35845
66f6765a
UD
35846 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35847
42e08a54
UD
35848 * string/Makefile (strop-tests): Add strcasecmp.
35849 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35850 strcasecmp_l-nonascii.
35851 (gen-as-const-headers): Add locale-defines.sym.
35852 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35853 * sysdeps/x86_64/strcasecmp.S: New file.
35854 * sysdeps/x86_64/strcasecmp_l.S: New file.
35855 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35856 * sysdeps/x86_64/locale-defines.sym: New file.
35857 * string/test-strcasecmp.c: New file.
35858
fe36dd02
UD
35859 * string/test-strcasestr.c: Test both ends of the range of characters.
35860 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35861
48cbc0d6
RM
358622010-07-29 Roland McGrath <roland@redhat.com>
35863
76e6d6bc 35864 [BZ #11856]
48cbc0d6
RM
35865 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35866
880113d9
UD
358672010-07-27 Ulrich Drepper <drepper@redhat.com>
35868
35869 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35870 for ld.so.
35871
deb9cabb
AS
358722010-07-27 Andreas Schwab <schwab@redhat.com>
35873
35874 * manual/memory.texi (Malloc Tunable Parameters): Document
35875 M_PERTURB.
35876
1c7570ff
RM
358772010-07-26 Roland McGrath <roland@redhat.com>
35878
35879 [BZ #11840]
35880 * configure.in (-fgnu89-inline check): Set and substitute
35881 gnu89_inline, not libc_cv_gnu89_inline.
35882 * configure: Regenerated.
35883 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35884
24fb0f88
UD
358852010-07-26 Ulrich Drepper <drepper@redhat.com>
35886
35887 * string/test-strnlen.c: New file.
35888 * string/Makefile (strop-tests): Add strnlen.
35889 * string/tester.c (test_strnlen): Add a few more test cases.
35890 * string/tst-strlen.c: Better error reporting.
35891
35892 * sysdeps/x86_64/strnlen.S: New file.
35893
8e96b93a
UD
358942010-07-24 Ulrich Drepper <drepper@redhat.com>
35895
35896 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35897 lower-latency instructions.
35898
dbc676d4
UD
358992010-07-23 Ulrich Drepper <drepper@redhat.com>
35900
35901 * string/test-strcasestr.c: New file.
35902 * string/test-strstr.c: New file.
35903 * string/Makefile (strop-tests): Add strstr and strcasestr.
35904 * string/str-two-way.h: Don't undefine MAX.
35905 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35906
f6a31e0e
AS
359072010-07-21 Andreas Schwab <schwab@redhat.com>
35908
35909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35910 strcasestr-nonascii.
35911 (CFLAGS-strcasestr-nonascii.c): Define.
35912 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35913 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35914 Remove unused attribute.
35915
5dbc3b6c
RM
359162010-07-20 Roland McGrath <roland@redhat.com>
35917
35918 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35919 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35920 ld.so.cache was broken. With it, there is no way to disable dsocaps
35921 like LD_HWCAP_MASK can disable hwcaps.
35922
23d101d8
EPM
359232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35924
35925 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35926
cc9f2e47
UD
359272010-07-16 Ulrich Drepper <drepper@redhat.com>
35928
35929 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35930 call in strcasestr.
35931 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35932 __strcasestr_sse42_nonascii.
35933 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35934 strcasestr-nonascii.c.
35935 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35936
77c1b069
LM
359372010-06-15 Luis Machado <luisgpm@br.ibm.com>
35938
35939 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35940 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35941 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35942 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35943
440566c3
UD
359442010-07-09 Ulrich Drepper <drepper@redhat.com>
35945
35946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35947 fcntl.
35948
5be9d05d
AS
359492010-07-06 Andreas Schwab <schwab@redhat.com>
35950
c30b7ee2 35951 [BZ #11577]
5be9d05d
AS
35952 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35953 dl_signal_cerror.
35954
8a492a67
UD
359552010-07-06 Ulrich Drepper <drepper@redhat.com>
35956
35957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35958 _PC_PIPE_BUF using F_GETPIPE_SZ.
35959
713df3d5
RM
359602010-07-05 Roland McGrath <roland@redhat.com>
35961
35962 * manual/arith.texi (Rounding Functions): Fix rint description
35963 implicit in round description.
35964
702e8f14
UD
359652010-07-02 Ulrich Drepper <drepper@redhat.com>
35966
35967 * elf/Makefile: Fix linking for a few tests to make recent linker
35968 happy.
35969
52ed8be9
AS
359702010-06-30 Andreas Schwab <schwab@redhat.com>
35971
35972 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35973 $(common-objpfx)libc_nonshared.a.
35974
f47c9a11
LM
359752010-06-21 Luis Machado <luisgpm@br.ibm.com>
35976
35977 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35978 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35979 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35980 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35981 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35982 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35983 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35984 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35999 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36000 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36001 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36002 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36003 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36004 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36005 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36006 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36007 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36008 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36009 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36010 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36025
6fb8cbcb
L
360262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36027
36028 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36029 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36030 * string/memmove.c (memmove): Renamed to ...
36031 (MEMMOVE): ...this. Default to memmove.
36032 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36033 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36034 (END_CHK): Define.
36035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36036 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36037 mempcpy-ssse3-back memmove-ssse3-back.
36038 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36041 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36042 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36043 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36044 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36045 * sysdeps/x86_64/multiarch/memmove.c: New file.
36046 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36047 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36048 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36049 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36050 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36051 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36052 Define.
36053 (index_Fast_Copy_Backward): Define.
36054 (HAS_ARCH_FEATURE): Define.
36055 (HAS_FAST_REP_STRING): Define.
36056 (HAS_FAST_COPY_BACKWARD): Define.
36057
4e733bac 360582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36059
36060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36061 Restore proper fallback handling.
36062
63c4ed22
UD
360632010-06-19 Ulrich Drepper <drepper@redhat.com>
36064
ac2b484c
UD
36065 [BZ #11701]
36066 * posix/group_member.c (__group_member): Correct checking loop.
36067
63c4ed22
UD
36068 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36069 OOM in getpwuid_r correctly. Return error number when the caller
36070 should return, otherwise -1.
36071 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36072 call returning > 0 value.
36073 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36074
765ade4b
AS
360752010-06-07 Andreas Schwab <schwab@redhat.com>
36076
36077 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36078 libc_nonshared.a from targets in modules-names.
36079
80da2e09
KS
360802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36081
36082 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36083 requires it.
36084
158db122
LM
360852010-06-10 Luis Machado <luisgpm@br.ibm.com>
36086
36087 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36088 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36091
caa78cf8
AS
360922010-06-02 Andreas Schwab <schwab@redhat.com>
36093
36094 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36095
b2ef2c01
UD
360962010-06-14 Ulrich Drepper <drepper@redhat.com>
36097
36098 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36099 and F_GETPIPE_SZ.
36100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36106
fbd643b6
RM
361072010-06-14 Roland McGrath <roland@redhat.com>
36108
36109 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36110
f32f2869
JJ
361112010-06-07 Jakub Jelinek <jakub@redhat.com>
36112
36113 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36114 __REDIRECT followed by __THROW.
36115 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36116 * posix/getopt.h (getopt): Likewise.
36117
2a50c078
EPM
361182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36119
36120 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36121 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36122 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36123 in AT_FLAGS.
36124 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36125 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36126
eb5ad2eb
LM
361272010-05-28 Luis Machado <luisgpm@br.ibm.com>
36128
36129 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36130
3c88fe1e
L
361312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36132
36133 [BZ #11640]
36134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36135 Properly check family and model.
36136
d2f73151
TY
361372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36138
36139 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36140
ebd2e13d
LM
361412010-05-24 Luis Machado <luisgpm@br.ibm.com>
36142
36143 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36144
b32b8b45
UD
361452010-05-21 Ulrich Drepper <drepper@redhat.com>
36146
36147 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36148 symbol reference.
36149
9acbe24d
AS
361502010-05-19 Andreas Schwab <schwab@redhat.com>
36151
36152 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36153 symbol reference.
36154
f0ccf6ea
AS
361552010-05-21 Andreas Schwab <schwab@redhat.com>
36156
3d04ff3a
AS
36157 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36158 and internal_recvmmsg.
36159 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36160 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36161 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36162 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36163
f0ccf6ea
AS
36164 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36165 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36166 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36167
5b08ac57
AS
361682010-05-20 Andreas Schwab <schwab@redhat.com>
36169
36170 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36171
4828935d
LM
361722010-05-17 Luis Machado <luisgpm@br.ibm.com>
36173
36174 POWER7 optimizations.
36175 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36176 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36177
373d545e
UD
361782010-05-19 Ulrich Drepper <drepper@redhat.com>
36179
36180 * version.h: Update for 2.13 development version.
36181
21a2b1ae
AS
361822010-05-12 Andrew Stubbs <ams@codesourcery.com>
36183
36184 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36185 exceptions. Return 0.
36186
3f7dcb2b
RM
361872010-05-07 Roland McGrath <roland@redhat.com>
36188
36189 * elf/ldconfig.c (main): Add a const.
36190
5f24d53a 361912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36192
a160f8d8
UD
36193 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36194 (args_options): Add no-idn option.
36195 (ahosts_keys_int): Add idn_flags to ai_flags.
36196 (parse_option): Handle 'i' option to clear idn_flags.
36197
5f24d53a
UD
36198 * malloc/malloc.c (_int_free): Possible race in the most recently
36199 added check. Only act on the data if no current modification
36200 happened.
265bb1ce
UD
36201
36202See ChangeLog.17 for earlier changes.