]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: multiarch mempcpy for PowerPC32
[thirdparty/glibc.git] / ChangeLog
CommitLineData
87da8bdb
AZ
12013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5 file.
6 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7 file.
8 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9 file: multiarch mempcpy for PPC32.
10 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11 multiarch objects.
12 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13 (__libc_ifunc_impl_list): Likewise.
14
20ed4714
AZ
152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16
17 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21 multiarch bzero for PPC32.
22 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23 file.
24 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25 file.
26 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28 file: multiarch memset for PPC32.
29 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
31 memset multiarch objects.
32 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33 (__libc_ifunc_impl_list): Likewise.
34
ab3e3a46
AZ
352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36
37 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38 file.
39 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41 memcmp for PPC32.
42 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44 multiarch objects.
45 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46 (__libc_ifunc_impl_list): Likewise.
47
930de6f0
AZ
482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49
50 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
51 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
53 file.
54 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
55 file.
56 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
57 file.
58 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
59 multiarch memcpy for PPC32.
60 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
61 multiarch objects.
62 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
63 (__libc_ifunc_impl_list): Likewise.
64
4c628e00
AZ
652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66
67 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
68 support multiarch for POWER/PPC32.
69 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
70 Likewise.
71 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
72 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
73 Implies file to make multiarch folder appers before the fpu and
74 default folder for power4 configuration.
75
f4479220
SP
762013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
77
78 * scripts/bench.pl: Append volatile keyword to type.
79
8517800f
KK
802013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
81
82 * sysdeps/sh/sotruss-lib.c: New file.
83 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
84
180138f1
AZ
852013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
86
87 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
88
bbf37bdc
JM
892013-12-05 Joseph Myers <joseph@codesourcery.com>
90
e47cc4e0
JM
91 [BZ #6810]
92 * math/w_tgamma.c: Include <errno.h>.
93 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
94 * math/w_tgammaf.c: Include <errno.h>.
95 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
96 * math/w_tgammal.c: Include <errno.h>.
97 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
98 * math/auto-libm-test-in: Do not allow missing errno on tgamma
99 underflow. Add more tgamma tests.
100 * math/auto-libm-test-out: Regenerated.
101 * sysdeps/i386/fpu/libm-test-ulps: Update.
102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
103
bbf37bdc
JM
104 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
105 sin, sinh, tan, tanh, tgamma, y0 and y1.
106 * math/auto-libm-test-out: Regenerated.
107 * math/libm-test.inc (TEST_COND_x86_64): New macro.
108 (TEST_COND_x86): Likewise.
109 (M_E2l): Remove macro.
110 (M_E3l): Likewise.
111 (M_2_SQRT_PIl): Likewise.
112 (M_SQRT_PIl): Likewise.
113 (M_1_DIV_El): Likewise.
114 (log_test_data): Use AUTO_TESTS_f_f.
115 (log10_test_data): Likewise.
116 (log1p_test_data): Likewise.
117 (log2_test_data): Likewise.
118 (sin_test_data): Likewise.
119 (sin_tonearest_test_data): Likewise.
120 (sin_towardzero_test_data): Likewise.
121 (sin_downward_test_data): Likewise.
122 (sin_upward_test_data): Likewise.
123 (sinh_test_data): Likewise.
124 (sinh_tonearest_test_data): Likewise.
125 (sinh_towardzero_test_data): Likewise.
126 (sinh_downward_test_data): Likewise.
127 (sinh_upward_test_data): Likewise.
128 (tan_test_data): Likewise.
129 (tan_tonearest_test_data): Likewise.
130 (tan_towardzero_test_data): Likewise.
131 (tan_downward_test_data): Likewise.
132 (tan_upward_test_data): Likewise.
133 (tanh_test_data): Likewise.
134 (tgamma_test_data): Likewise.
135 (y0_test_data): Likewise.
136 (y1_test_data): Likewise.
137 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
138 (special_real_inputs): Add pi/4.
139 * sysdeps/i386/fpu/libm-test-ulps: Update.
140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
141
eb5ad6b9
AZ
1422013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
143
144 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
145 "longjmp_target" static probes.
146 (__longjmp): Rename to __longjmp_symbol.
147 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
148 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
149 on which longjmp to generate.
150 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
151 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
152 probe.
153 (__sigsetjmp): Rename to __sigsetjmp_symbol.
154 (__sigjmp_save): Rename to __sigjmp_save_symbol.
155 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
156 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
157 and __sigjmp_save_symbol based on which sigsetjmp to generated.
158 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
160 __longjmp_symbol based on which __longjmp to generate.
161 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
162 probe.
163 (setjmp): Rename to setjmp_symbol.
164 (__sigsetjmp): Rename to __sigsetjmp_symbol.
165 (_setjmp): Rename to _setjmp_symbol.
166 (__sigsetjmp): Rename to __sigsetjmp_symbol.
167 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
168 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
169 which setjmp to generate.
170 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
171 "longjmp_target" static probes.
172
d136c6dc
SP
1732013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
174
9298ecba
SP
175 * benchtests/README: Add note about output arguments.
176 * benchtests/bench-sincos.c: Remove file.
177 * benchtests/sincos-inputs: New file.
178 * scripts/bench.pl: Identify output arguments and define
179 static variables for them.
180
232983e9
SP
181 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
182
d136c6dc
SP
183 [BZ #15941]
184 * Makefile (INSTALL): Add install-plain.texi as the primary
185 dependency.
186 * manual/install-plain.texi: New file.
187 * manual/install.texi: Include node directive only for
188 non-plaintext output.
189
699ff837
JM
1902013-12-04 Joseph Myers <joseph@codesourcery.com>
191
ab07cea8
JM
192 * stdlib/longlong.h: Update from GCC.
193
699ff837
JM
194 [BZ #6807]
195 [BZ #15901]
196 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
197 * math/w_j0f.c (y0f): Likewise.
198 * math/w_j0l.c (__y0l): Likewise.
199 * math/w_j1.c (y1): Likewise.
200 * math/w_j1f.c (y1f): Likewise.
201 * math/w_j1l.c (__y1l): Likewise
202 * math/w_jn.c (yn): Likewise.
203 * math/w_jnf.c (ynf): Likewise.
204 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
205 Bessel function pole errors in _POSIX_ mode. Use NAN as return
206 value for Bessel function domain errors outside _SVID_ mode.
207 Adjust sign of return value for yn (negative integer, 0).
208 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
209 by zero in return for negative x and set sign appropriately for
210 negative n.
211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
212 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
213 * math/libm-test.inc (y0_test_data): Add more tests and adjust
214 expectations in error cases.
215 (y1_test_data): Likewise.
216 (yn_test_data): Likewise.
217 * sysdeps/i386/fpu/libm-test-ulps: Update.
218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
219
5b118558
UW
2202013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
221
222 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
223 "64" to "64-v1". Add "64-v2".
224 (abi-64-options): Rename to ...
225 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
226 (abi-64-condition): Rename to ...
227 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
228 (abi-64-ld-soname): Rename to ...
229 (abi-64-v1-ld-soname): ... this.
230 (abi-64-v2-options): Define.
231 (abi-64-v2-condition): Likewise.
232 (abi-64-v2-ld-soname): Likewise.
233 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
234 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
238
61cd8fe4
UW
2392013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
240 Alan Modra <amodra@gmail.com>
241
242 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
243 New versions for use with the ELFv2 ABI.
244 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
245 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
246 declaration.
247 (struct La_ppc64v2_retval): Likewise.
248 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
249 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
250 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
251 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
252 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
253 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
254 Do not save or restore CR.
255 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
256 (_dl_profile_resolve): Do no save or restore CR. Support extended
257 return values for ELFv2 ABI. Fix location of FPR return registers.
258 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
259 updated values for _CALL_ELF == 2.
260 (La_regs, La_retval, int_retval): Likewise.
261
8b8a692c
UW
2622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
263
264 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
265 (FRAME_MIN_SIZE_PARM): Likewise.
266 (FRAME_BACKCHAIN): Likewise.
267 (FRAME_CR_SAVE): Likewise.
268 (FRAME_LR_SAVE): Likewise.
269 (FRAME_TOC_SAVE): Likewise.
270 (FRAME_PARM_SAVE): Likewise.
271 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
272 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
273 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
274 (call_mcount_parm_offset): New macro.
275 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
276 (PROF): Use symbolic stack frame offsets.
277 (TAIL_CALL_SYSCALL_ERROR): Likewise.
278 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
279 Redefine in terms of FRAME_MIN_SIZE.
280 (_dl_runtime_resolve): Use symbolic stack frame offsets.
281 (_dl_profile_resolve): Likewise. Update comment.
282 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
283 symbols stack frame offsets.
284 (__sigsetjmp): Likewise.
285 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
286 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
287 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
288 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
289
290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
291 (FRAME_BACKCHAIN): Remove.
292 (FRAME_CR_SAVE): Likewise.
293 (FRAME_LR_SAVE): Likewise.
294 (FRAME_COMPILER_DW): Likewise.
295 (FRAME_LINKER_DW): Likewise.
296 (FRAME_TOC_SAVE): Likewise.
297 (FRAME_PARM_SAVE): Likewise.
298 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
299 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
300 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
302 (CHECK_SP): Use symbolic stack frame offsets.
303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
304 zone" instead of caller's parameter save area for temp storage.
305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
306 Likewise. Also, use symbolic stack frame offsets.
307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
308 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
309 our own stack frame instead of the caller's.
310 (__socket): Use symbolic stack frame offsets.
311
122b66de
UW
3122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
313 Alan Modra <amodra@gmail.com>
314
315 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
316 Define.
317 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
318 PPC64_LOCAL_ENTRY_OFFSET): Define.
319 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
320 New function.
321 (elf_machine_fixup_plt): Call it.
322 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
323 reloc arguments.
324 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
325 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
326 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
327 r2 before calling target.
328
696caf1d
UW
3292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
330 Alan Modra <amodra@gmail.com>
331
332 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
333 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
334 versions of macros to support ELFv2 ABI.
335 (LOCALENTRY): New macro.
336 (ENTRY, EALIGN): Use it.
337 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
338 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
339 fall through into ENTRY entry point.
340 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
341 Only define if _CALL_ELF != 2.
342
343 (elf_machine_matches_host): Verify ABI version matches.
344 (RTLD_START): Use LOCALENTRY.
345 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
346 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
347 (PLT_ENTRY_WORDS): New macro.
348 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
349 (elf_machine_runtime_setup): Support ELFv2 ABI.
350 (elf_machine_fixup_plt): Likewise.
351 (elf_machine_plt_conflict): Likewise.
352 (resolve_ifunc): Likewise.
353 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
354 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
355 Likewise.
356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
357 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
359 (makecontext): Support ELFv2 ABI.
360 * elf/elf.h (EF_PPC64_ABI): Define.
361
d31beafa
UW
3622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
363
364 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
365 New assembler macro.
366 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
367 [ASSEMBLER] (ENTRY): ... but instead here ...
368 [ASSEMBLER] (EALIGN): ... and here.
369 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
370 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
371 [!ASSEMBLER] (ENTRY_2): Use it.
372 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
373 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
374 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
375 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
376 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
378 Use PPC64_LOAD_FUNCPTR.
379
b525166b
UW
3802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
381
382 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
383
7ec07d9a
AM
3842013-12-04 Alan Modra <amodra@gmail.com>
385
386 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
387 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
388 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
389 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
390
391 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
392 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
393 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
394 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
395 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
396 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
397
5162e7dd
UW
3982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
399
400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
401 (__makecontext): Fix incorrect CFI when backtracing out of
402 context created via makecontext.
403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
404 (__setcontext): Fix incorrect CFI during switch to new context.
405 (__novec_setcontext): Likewise.
406
19e3372b
OB
4072013-12-04 Ondřej Bílka <neleai@seznam.cz>
408
409 [BZ #4772]
410 * time/strptime_l.c (__strptime_internal): Allow modifiers
411 in strptime.
412 * time/tst-strptime.c (day_tests): Add testcase.
413
414
ecaf142d
SP
4152013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
416
417 * scripts/bench.pl: Skip over blank lines.
418
fbf964ae
PE
4192013-12-04 Paul Eggert <eggert@cs.ucla.edu>
420
421 [BZ #926]
422 * manual/time.texi (Calendar Time): Clarify what timezone functions
423 use.
424
fa60a674
AZ
4252013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
426
427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
428
d674f0ef
OB
4292013-12-04 Ondřej Bílka <neleai@seznam.cz>
430
431 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
432 implementation.
433 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
434 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
435 * debug/memset_chk.c (__memset_chk): Likewise.
436 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
437 * debug/strncpy_chk.c: Likewise.
438
17dea188
JM
4392013-12-03 Joseph Myers <joseph@codesourcery.com>
440
749008ff
JM
441 [BZ #15268]
442 [BZ #15425]
443 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
444 (__ieee754_exp): For possibly underflowing results, check size of
445 result and force underflow exception if required.
446 * math/auto-libm-test-in: Add more tests of exp.
447 * math/auto-libm-test-out: Regenerated.
448 * sysdeps/i386/fpu/libm-test-ulps: Update.
449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
450
17dea188
JM
451 [BZ #16283]
452 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
453 * math/w_exp2f.c (__exp2f): Likewise.
454 * math/w_exp2l.c (__exp2l): Likewise.
455 * math/auto-libm-test-in: Do not allow missing errno on exp2
456 underflow.
457 * math/auto-libm-test-out: Regenerated.
458
b20de2c3
OB
4592013-12-03 Ondřej Bílka <neleai@seznam.cz>
460
461 [BZ #16274]
462 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
463 handle filename validation.
464 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
465 (do_open): Delete.
466
d8e2dbe3
JM
4672013-12-03 Joseph Myers <joseph@codesourcery.com>
468
34e16df5
JM
469 [BZ #6786]
470 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
471 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
472 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
473 <float.h>.
474 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
475 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
476 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
477 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
478 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
479 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
480 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
481 * math/auto-libm-test-in: Don't allow missing errno from erfc.
482 Add more erfc tests.
483 * math/auto-libm-test-out: Regenerated.
484 * sysdeps/i386/fpu/libm-test-ulps: Update.
485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
486
d8e2dbe3
JM
487 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
488 exp2, expm1, j0 and j1.
489 * math/auto-libm-test-out: Regenerated.
490 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
491 (erfc_test_data): Likewise.
492 (exp_test_data): Likewise.
493 (exp_tonearest_test_data): Likewise.
494 (exp_towardzero_test_data): Likewise.
495 (exp_downward_test_data): Likewise.
496 (exp_upward_test_data): Likewise.
497 (exp10_test_data): Likewise.
498 (exp2_test_data): Likewise.
499 (expm1_test_data): Likewise.
500 (j0_test_data): Likewise.
501 (j1_test_data): Likewise.
502 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
503 (input_flag_type): Add flag_xfail_rounding.
504 (input_flags): Add xfail-rounding.
505 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
506 (output_for_one_input_case): Handle flag_xfail_rounding.
507 * sysdeps/i386/fpu/libm-test-ulps: Update.
508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
509
18d14251
AJ
5102013-12-03 Aurelien Jarno <aurelien@aurel32.net>
511
3d2e6075 512 [BZ #16289]
18d14251
AJ
513 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
514 division by 0.
515
520d437b
SP
5162013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
517
518 [BZ #16195]
519 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
520 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
521 (STAP_PROBE0): New macro.
522 (STAP_PROBE1): Likewise.
523 (STAP_PROBE2): Likewise.
524 (STAP_PROBE3): Likewise.
525 (STAP_PROBE4): Likewise.
526
416e0145
OB
5272013-12-02 Ondřej Bílka <neleai@seznam.cz>
528
529 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
530
9d17796a
SE
5312013-12-02 Steve Ellcey <sellcey@mips.com>
532
533 * benchtests/Makefile (bench): Add sqrt.
534 (LDLIBS-bench-sqrt): New.
535 * benchtests/sqrt-input: New.
536
f524d6a8
PS
5372013-12-02 Pavel Simerda <psimerda@redhat.com>
538
639a0ef8
PS
539 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
540 (GAIH_EAI): Likewise.
541 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
542 (gaih_inet): Likewise.
543 (getaddrinfo): Don't use GAIH_EAI.
544
f524d6a8
PS
545 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
546 (struct gaih): Remove definition.
547
df3aedaf
SP
5482013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
549
550 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
551 Use HERRNOP directly.
552
1ab19dec
AZ
5532013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
554
b42ad38d 555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 556
176b0c79
JM
5572013-11-30 Joseph Myers <joseph@codesourcery.com>
558
559 * math/gen-auto-libm-tests.c (test_functions): Add more
560 single-argument functions.
561 (special_fill_pi_2): New function.
562 (special_fill_minus_pi_2): Likewise.
563 (special_fill_pi_6): Likewise.
564 (special_fill_minus_pi_6): Likewise.
565 (special_fill_pi_3): Likewise.
566 (special_fill_2pi_3): Likewise.
567 (special_fill_e): Likewise.
568 (special_fill_1_e): Likewise.
569 (special_fill_e_minus_1): Likewise.
570 (special_real_inputs): Add more special inputs.
571 (output_for_one_input_case): Do not require ERANGE on underflow to
572 zero if round-to-nearest result does not underflow to zero, unless
573 exact results required.
574 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
575 atan, atanh, cbrt, cos and cosh.
576 * math/auto-libm-test-out: Regenerated.
577 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
578 (acos_tonearest_test_data): Likewise.
579 (acos_towardzero_test_data): Likewise.
580 (acos_downward_test_data): Likewise.
581 (acos_upward_test_data): Likewise.
582 (acosh_test_data): Likewise.
583 (asin_test_data): Likewise.
584 (asin_tonearest_test_data): Likewise.
585 (asin_towardzero_test_data): Likewise.
586 (asin_upward_test_data): Likewise.
587 (asinh_test_data): Likewise.
588 (atan_test_data): Likewise.
589 (atanh_test_data): Likewise.
590 (cbrt_test_data): Likewise.
591 (cos_test_data): Likewise.
592 (cos_tonearest_test_data): Likewise.
593 (cos_towardzero_test_data): Likewise.
594 (cos_downward_test_data): Likewise.
595 (cos_upward_test_data): Likewise.
596 (cosh_test_data): Likewise.
597 (cosh_tonearest_test_data): Likewise.
598 (cosh_towardzero_test_data): Likewise.
599 (cosh_downward_test_data): Likewise.
600 (cosh_upward_test_data): Likewise.
601 * sysdeps/i386/fpu/libm-test-ulps: Update.
602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
603
ffb536d0
JM
6042013-11-29 Joseph Myers <joseph@codesourcery.com>
605
2a77a467
JM
606 [BZ #6787]
607 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
608 * math/w_exp10f.c (__exp10f): Likewise.
609 * math/w_exp10l.c (__exp10l): Likewise.
610 * math/libm-test.inc (exp10_test_data): Add more tests and expect
611 errno settings in existing tests.
612
ea3bc4e8
JM
613 [BZ #14032]
614 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
615 precision control set to double precision.
616 * sysdeps/i386/fpu/w_sqrt.c: New file.
617 * math/auto-libm-test-in: Add more tests.
618 * math/auto-libm-test-out: Update.
619
0712c9d8
JM
620 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
621 (sqrt_test_tonearest): New function.
622 (sqrt_towardzero_test_data): New variable.
623 (sqrt_test_towardzero): New function.
624 (sqrt_downward_test_data): New variable.
625 (sqrt_test_downward): New function.
626 (sqrt_upward_test_data): New variable.
627 (sqrt_test_upward): New function.
628 (main): Call the new functions.
629
ffb536d0
JM
630 * math/gen-auto-libm-tests.c: New file.
631 * math/auto-libm-test-in: Likewise.
632 * math/auto-libm-test-out: New generated file.
633 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
634 variables.
635 (%beautify): Add generated representations of zero.
636 (top level): Set $auto_input and call parse_auto_input.
637 (beautify): Remove trailing "f" from hex float constants.
638 (parse_args): Handle XFAIL_TEST.
639 (convert_condition): New function.
640 (or_value): Likewise.
641 (or_cond_value): Likewise.
642 (generate_testfile): Handle AUTO_TESTS_* lines.
643 (parse_auto_input): New function.
644 * math/libm-test.inc (XFAIL_TEST): New macro.
645 (ERRNO_UNCHANGED): Update value.
646 (ERRNO_EDOM): Likewise.
647 (ERRNO_ERANGE): Likewise.
648 (IGNORE_RESULT): Likewise.
649 (TEST_COND_flt_32): New macro.
650 (TEST_COND_dbl_64): Likewise.
651 (TEST_COND_ldbl_96_intel): Likewise.
652 (TEST_COND_ldbl_96_m68k): Likewise.
653 (TEST_COND_ldbl_128): Likewise.
654 (TEST_COND_ldbl_128ibm): Likewise.
655 (TEST_COND_long32): Likewise.
656 (TEST_COND_long64): Likewise.
657 (TEST_COND_before_rounding): Likewise.
658 (TEST_COND_after_rounding): Likewise.
659 (enable_test): Handle XFAIL_TEST flag.
660 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
661 with finite results.
662 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
663 auto-libm-test-out.
664
acd98a8e
AK
6652013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
666 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
667
668 [BZ #16214]
669 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
670 __tls_get_addr_internal instead of __tls_get_offset in order to
671 avoid GOT pointer dependency. Make rtld export
672 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
673 __tls_get_addr since we are a __tls_get_offset platform.
674 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
675 GOT pointer being set up before.
676 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
677
3c1c46a6
JM
6782013-11-28 Joseph Myers <joseph@codesourcery.com>
679
7475aef5
JM
680 * manual/math.texi (Errors in Math Functions): Document accuracy
681 goals.
682
8bca7cd8
JM
683 [BZ #15004]
684 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
685 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
686 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
687 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
688 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
689 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
690 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
691 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
692 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
693 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
694 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
695 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
696 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
697 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
698 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
699 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
700
91a1f3fe
JM
701 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
702 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
703 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
704 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
705 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
706 Likewise.
707 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
708 Likewise.
709 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
710 Likewise.
711 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
712 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
713 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
714 atomic-feupdateenv and flt-rounds.
715 * sysdeps/powerpc/nofpu/Versions (libc): Add
716 __atomic_feholdexcept, __atomic_feclearexcept,
717 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
718 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
719 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
720 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
721 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
722 here.
723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
724 Update.
725
c5df7609
JM
726 * manual/arith.texi (FP Exceptions): Document that exceptions may
727 not be raised when matherr is used.
728 (Math Error Reporting): Document overflow in directed rounding
729 modes. Document that errno may not be set when finite values are
730 returned on overflow. Document intent to set errno on underflow
731 only for underflow to zero.
732
3c1c46a6
JM
733 [BZ #16271]
734 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
735 round-to-nearest then adjust result for other rounding modes.
736 * include/fenv.h (fegetround): Use libm_hidden_proto.
737 * math/fegetround.c (fegetround): Use libm_hidden_def.
738 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
739 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
740 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
741 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
742 Likewise.
743 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
744 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
745 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
746 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
747
5a4c6d53
SP
7482013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
749
750 [BZ #16077]
751 * nss/Versions (libnss_files): Add
752 _nss_files_gethostbyname3_r.
753 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
754 New function.
755 (HOST_DB_LOOKUP): Remove macro.
756 (_nss_files_gethostbyname_r): Implement function without the
757 HOST_DB_LOOKUP macro.
758 (_nss_files_gethostbyname2_r): Likewise.
759
897b98ba
OB
7602013-11-28 Ondřej Bílka <neleai@seznam.cz>
761
762 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
763
6f476861
UB
7642013-11-26 Uros Bizjak <ubizjak@gmail.com>
765
766 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
767 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
768 warning.
769
bd12ab55
AZ
7702013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
771
772 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
773 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
774 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
775 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
776 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
777 __fe_nomask_env_priv and attribute_hidden.
778 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
779 (libc_feupdateenv_test_ppc): Likewise.
780 (libc_feresetround_ppc): Likewise.
781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
782 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
783 compat_symbol macro.
784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
785 (__fe_nomask_env): Likewise.
786 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
787
52bb6543
OB
7882013-11-26 Ondřej Bílka <neleai@seznam.cz>
789
790 * string/Makefile: Remove ifunc tests.
791 * string/test-string.h: Define TEST_IFUNC.
792 * string/test-bcopy-ifunc.c: Remove.
793 * string/test-bzero-ifunc.c: Likewise.
794 * string/test-memccpy-ifunc.c: Likewise.
795 * string/test-memchr-ifunc.c: Likewise.
796 * string/test-memcmp-ifunc.c: Likewise.
797 * string/test-memcpy-ifunc.c: Likewise.
798 * string/test-memmem-ifunc.c: Likewise.
799 * string/test-memmove-ifunc.c: Likewise.
800 * string/test-mempcpy-ifunc.c: Likewise.
801 * string/test-memrchr-ifunc.c: Likewise.
802 * string/test-memset-ifunc.c: Likewise.
803 * string/test-rawmemchr-ifunc.c: Likewise.
804 * string/test-stpcpy-ifunc.c: Likewise.
805 * string/test-stpncpy-ifunc.c: Likewise.
806 * string/test-strcasecmp-ifunc.c: Likewise.
807 * string/test-strcasestr-ifunc.c: Likewise.
808 * string/test-strcat-ifunc.c: Likewise.
809 * string/test-strchr-ifunc.c: Likewise.
810 * string/test-strchrnul-ifunc.c: Likewise.
811 * string/test-strcmp-ifunc.c: Likewise.
812 * string/test-strcpy-ifunc.c: Likewise.
813 * string/test-strcspn-ifunc.c: Likewise.
814 * string/test-strlen-ifunc.c: Likewise.
815 * string/test-strncasecmp-ifunc.c: Likewise.
816 * string/test-strncat-ifunc.c: Likewise.
817 * string/test-strncmp-ifunc.c: Likewise.
818 * string/test-strncpy-ifunc.c: Likewise.
819 * string/test-strnlen-ifunc.c: Likewise.
820 * string/test-strpbrk-ifunc.c: Likewise.
821 * string/test-strrchr-ifunc.c: Likewise.
822 * string/test-strspn-ifunc.c: Likewise.
823 * string/test-strstr-ifunc.c: Likewise.
824
ab260039 8252013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
826
827 * benchtests/Makefile: Remove ifunc tests.
828 * benchtests/bench-string.h: Define TEST_IFUNC.
829 * benchtests/bench-bcopy-ifunc.c: Remove.
830 * benchtests/bench-bzero-ifunc.c: Likewise.
831 * benchtests/bench-memccpy-ifunc.c: Likewise.
832 * benchtests/bench-memchr-ifunc.c: Likewise.
833 * benchtests/bench-memcmp-ifunc.c: Likewise.
834 * benchtests/bench-memcpy-ifunc.c: Likewise.
835 * benchtests/bench-memmem-ifunc.c: Likewise.
836 * benchtests/bench-memmove-ifunc.c: Likewise.
837 * benchtests/bench-mempcpy-ifunc.c: Likewise.
838 * benchtests/bench-memrchr-ifunc.c: Likewise.
839 * benchtests/bench-memset-ifunc.c: Likewise.
840 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
841 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
842 * benchtests/bench-stpcpy-ifunc.c: Likewise.
843 * benchtests/bench-stpncpy-ifunc.c: Likewise.
844 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
845 * benchtests/bench-strcasestr-ifunc.c: Likewise.
846 * benchtests/bench-strcat-ifunc.c: Likewise.
847 * benchtests/bench-strchr-ifunc.c: Likewise.
848 * benchtests/bench-strchrnul-ifunc.c: Likewise.
849 * benchtests/bench-strcmp-ifunc.c: Likewise.
850 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
851 * benchtests/bench-strcpy-ifunc.c: Likewise.
852 * benchtests/bench-strcspn-ifunc.c: Likewise.
853 * benchtests/bench-strlen-ifunc.c: Likewise.
854 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
855 * benchtests/bench-strncat-ifunc.c: Likewise.
856 * benchtests/bench-strncmp-ifunc.c: Likewise.
857 * benchtests/bench-strncpy-ifunc.c: Likewise.
858 * benchtests/bench-strnlen-ifunc.c: Likewise.
859 * benchtests/bench-strpbrk-ifunc.c: Likewise.
860 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 861 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
862 * benchtests/bench-strspn-ifunc.c: Likewise.
863 * benchtests/bench-strstr-ifunc.c: Likewise.
864
8652013-11-26 Ondřej Bílka <neleai@seznam.cz>
866
ab260039
OB
867 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
868
d1d9eaf4 8692013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 870
d1d9eaf4
OB
871 * resolv/netdb.h: Use __glibc_reserved instead __unused.
872 * rt/aio.h: Likewise.
873 * sysdeps/gnu/bits/utmp.h: Likewise.
874 * sysdeps/gnu/bits/utmpx.h: Likewise.
875 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
876 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
877 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
878 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
879 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
880 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
881 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
882 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
883 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
884 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
885 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
886 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
887 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
889 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
890 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
891 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
892 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
893 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
894 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
895 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
896 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
897 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
898 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
899 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
901 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
902 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
903 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
904 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
905 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
906 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
907 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
908 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
909 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
910 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
911 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
912 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
913 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
914 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
915 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
916 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
917
a7624ed9
CD
9182013-11-25 Carlos O'Donell <carlos@redhat.com>
919
920 [BZ #16245]
921 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
922 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
923
63cfe52b
JM
9242013-11-25 Joseph Myers <joseph@codesourcery.com>
925
926 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
927 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
928 Likewise.
929
41e8926a
AZ
9302013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
931
932 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
933 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
934 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
935 (__fesetround): Remove define.
936 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
937 rounding and exceptions handling.
938 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
939 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
940 (__fe_nomask_env): Likewise.
941 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
942 __fegetround instead of fegetround.
943 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
944 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
945
6851bd4d
RM
9462013-11-21 Roland McGrath <roland@hack.frob.com>
947
070906ff
RM
948 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
949 it's there.
950
6851bd4d
RM
951 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
952
84ae135d
MI
9532013-11-21 Meador Inge <meadori@codesourcery.com>
954
955 [BZ #11157]
956 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
957 (encrypt_r): Likewise.
958 * malloc/obstack.h (obstack_free): Likewise.
959 * posix/unistd.h (encrypt): Likewise.
960
daf75146
GM
9612013-11-21 Guy Martin <gmsoft@tuxicoman.be>
962
963 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
964 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
965 DL_CALL_DT_FINI() that call the functions directly.
966 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
967 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
968 * elf/dl-fini.c: Likewise.
969
10ad46bc
OB
9702013-11-20 Ondřej Bílka <neleai@seznam.cz>
971
972 * malloc/hooks.c (memalign_check): Add alignment rounding.
973 * malloc/malloc.c (_mid_memalign): New function.
974 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
975 Implement by calling _mid_memalign.
976 * manual/probes.texi (Memory Allocation Probes): Remove
977 memory_valloc_retry and memory_pvalloc_retry.
978
f3fd2628
SP
9792013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
980
4712799f
SP
981 * locale/programs/locarchive.c (open_archive): Add const
982 qualifier to ARCHIVEFNAME and copy default fname to
983 DEFAULT_FNAME.
984
0417b20f
SP
985 [BZ #15601]
986 * libio/tst-widetext.input: Rename Oriya to Odia.
987 * locale/iso-639.def: Likewise.
988
f3fd2628
SP
989 * manual/probes.texi (Mathematical Function Probes): Add
990 documentation for sin, cos, asin and acos probes.
991 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
992 (__sin32): Add slowasin probe.
993 (__cos32): Add slowacos probe.
994 (__mpsin): Add slowsin probe.
995 (__mpcos): Add slowcos probe.
996
73c1ce4f
JM
9972013-11-19 Joseph Myers <joseph@codesourcery.com>
998
999 [BZ #15483]
1000 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1001 thread-local __sim_exceptions_thread and global
1002 __sim_exceptions_global.
1003 (__sim_disabled_exceptions): Change to thread-local
1004 __sim_disabled_exceptions_thread and global
1005 __sim_disabled_exceptions_global.
1006 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1007 and global __sim_round_mode_global.
1008 (__simulate_exceptions): Use thread-local floating-point state and
1009 set global state from it as needed.
1010 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1011 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1012 __sim_round_mode_thread.
1013 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1014 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1015 and global __sim_exceptions_global.
1016 (__sim_disabled_exceptions): Change to thread-local
1017 __sim_disabled_exceptions_thread and global
1018 __sim_disabled_exceptions_global.
1019 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1020 and global __sim_round_mode_global.
1021 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1022 (SIM_SET_GLOBAL): Likewise.
1023 * sysdeps/powerpc/soft-fp/sfp-machine.h
1024 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1025 __sim_round_mode_thread.
1026 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1027 __sim_disabled_exceptions_thread.
1028 (__sim_exceptions): Change to __sim_exceptions_thread.
1029 (__sim_disabled_exceptions): Change to
1030 __sim_disabled_exceptions_thread.
1031 (__sim_round_mode): Change to __sim_round_mode_thread.
1032 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1033 thread-local floating-point state and set global state from it as
1034 needed.
1035 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1036 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1037 (__sim_disabled_exceptions): Remove extern declaration.
1038 (feenableexcept): Use thread-local floating-point state and set
1039 global state from it as needed.
1040 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1041 extern declaration.
1042 (__sim_disabled_exceptions): Likewise.
1043 (__sim_round_mode): Likewise.
1044 (__fegetenv): Use thread-local floating-point state.
1045 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1046 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1047 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1048 floating-point state and set global state from it as needed.
1049 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1050 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1051 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1052 Likewise.
1053 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1054 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1055 Likewise.
1056 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1057 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1058 Use __sim_round_mode_thread.
1059 * math/test-fenv-tls.c: New file.
1060 * math/Makefile (tests): Add test-fenv-tls.
1061 ($(objpfx)test-fenv-tls): Depend on
1062 $(common-objpfx)nptl/libpthread.so.
1063
b5449b12
AS
10642013-11-19 Andreas Schwab <schwab@suse.de>
1065
1066 * locale/programs/locale.c (show_info): Decode wordarray elements.
1067 * locale/categories.def (LC_MONETARY): Add element for
1068 _NL_MONETARY_CRNCYSTR.
1069 * locale/C-monetary.c (conversion_rate): New variable.
1070 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1071 element.
1072
e186536b
CM
10732013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1074
1075 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1076 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1077
5c349950
PP
10782013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1079
1080 * elf/Makefile (tst-auxv): New test.
1081 * elf/tst-auxv.c: New
1082 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1083
699df45b
JM
10842013-11-18 Joseph Myers <joseph@codesourcery.com>
1085
1086 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1087 (hidden_proto): Caller changed.
1088 (hidden_tls_proto): New macro.
1089 (libc_hidden_tls_proto): Likewise.
1090 (rtld_hidden_tls_proto): Likewise.
1091 (libm_hidden_tls_proto): Likewise.
1092 (libresolv_hidden_tls_proto): Likewise.
1093 (librt_hidden_tls_proto): Likewise.
1094 (libdl_hidden_tls_proto): Likewise.
1095 (libnss_files_hidden_tls_proto): Likewise.
1096 (libnsl_hidden_tls_proto): Likewise.
1097 (libnss_nisplus_hidden_tls_proto): Likewise.
1098 (libutil_hidden_tls_proto): Likewise.
1099
b7589107
OB
11002013-11-18 Ondřej Bílka <neleai@seznam.cz>
1101
1102 [BZ #10253]
1103 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1104 (decompose_rpath): Defer expansion to fillin_rpath.
1105 (_dl_init_paths): Pass linkmap to fillin_rpath.
1106
250c23bd
RS
11072013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1108
1109 * benchtests/Makefile: Add strsep.
1110 * benchtests/bench-strsep.c: New file: strsep benchtest.
1111 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1112
a7931fcf
AS
11132013-11-18 Andreas Schwab <schwab@suse.de>
1114
1115 * locale/programs/locale.c (show_info) [case byte]: Check for
1116 '\377' instead of '\177'.
1117 * locale/C-monetary.c (not_available): Always use "\377".
1118 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1119 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1120 detect unavailable sign_posn locale elements.
1121 * locale/localeconv.c (__localeconv): For grouping and
1122 mon_grouping handle "\177" and "\377" like no grouping.
1123 (INT_ELEM): New macro. Use it to set all numeric members.
1124 * locale/programs/ld-monetary.c (monetary_read)
1125 <tok_mon_grouping>: Normalize single -1 to the empty string.
1126 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1127 Likewise.
1128
728dab0e
OB
11292013-11-07 Ondřej Bílka <neleai@seznam.cz>
1130
1131 [BZ #16055]
1132 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1133 when we match (nil).
1134 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1135
66294491
JM
11362013-11-16 Joseph Myers <joseph@codesourcery.com>
1137
ce665817
JM
1138 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1139 (NO_TEST_INLINE): Update value.
1140 (ERRNO_UNCHANGED): Likewise.
1141 (ERRNO_EDOM): Likewise.
1142 (ERRNO_ERANGE): Likewise.
1143 (IGNORE_RESULT): Likewise.
1144 (check_float_internal): Check signs of NaN results if
1145 TEST_NAN_SIGN used.
1146 (check_complex): Pass TEST_NAN_SIGN flag through to second
1147 check_float_internal call.
1148 (copysign_test_data): Add tests with quiet NaNs as second
1149 argument. Use TEST_NAN_SIGN.
1150 (fabs_test_data): Add test of negative quiet NaN argument. Use
1151 TEST_NAN_SIGN.
1152 (signbit_test_data): Add tests of quiet NaN argument.
1153 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1154
ee1466a9
JM
1155 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1156 $ignore_result.
1157 (parse_args): Handle function results specified as IGNORE.
1158 * math/libm-test.inc (IGNORE_RESULT): New macro.
1159 (check_float_internal): Do not check numerical result if flag
1160 IGNORE_RESULT set.
1161 (check_complex): Pass through IGNORE_RESULT to second
1162 check_float_internal call.
1163 (check_int): Do not check numerical result if flag IGNORE_RESULT
1164 set.
1165 (check_long): Likewise.
1166 (check_bool): Likewise.
1167 (check_longlong): Likewise.
1168 (lrint_test_data): Add tests of infinite and NaN arguments.
1169 (lrint_tonearest_test_data): Likewise.
1170 (lrint_towardzero_test_data): Likewise.
1171 (lrint_downward_test_data): Likewise.
1172 (lrint_upward_test_data): Likewise.
1173 (llrint_test_data): Likewise.
1174 (llrint_tonearest_test_data): Likewise.
1175 (llrint_towardzero_test_data): Likewise.
1176 (llrint_downward_test_data): Likewise.
1177 (llrint_upward_test_data): Likewise.
1178 (lround_test_data): Likewise.
1179 (llround_test_data): Likewise.
1180
14407b7e
JM
1181 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1182 (ERRNO_UNCHANGED): Update value.
1183 (ERRNO_EDOM): Likewise.
1184 (ERRNO_ERANGE): Likewise.
1185 (NO_TEST_INLINE_FLOAT): New macro.
1186 (NO_TEST_INLINE_DOUBLE): Likewise.
1187 (enable_test): New function.
1188 (RUN_TEST_f_f): Check enable_test before running test.
1189 (RUN_TEST_2_f): Likewise.
1190 (RUN_TEST_fff_f): Likewise.
1191 (RUN_TEST_c_f): Likewise.
1192 (RUN_TEST_f_f1): Likewise.
1193 (RUN_TEST_fF_f1): Likewise.
1194 (RUN_TEST_fI_f1): Likewise.
1195 (RUN_TEST_ffI_f1): Likewise.
1196 (RUN_TEST_c_c): Likewise.
1197 (RUN_TEST_cc_c): Likewise.
1198 (RUN_TEST_f_i): Likewise.
1199 (RUN_TEST_f_i_tg): Likewise.
1200 (RUN_TEST_ff_i_tg): Likewise.
1201 (RUN_TEST_f_b): Likewise.
1202 (RUN_TEST_f_b_tg): Likewise.
1203 (RUN_TEST_f_l): Likewise.
1204 (RUN_TEST_f_L): Likewise.
1205 (RUN_TEST_fFF_11): Likewise.
1206 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1207 conditionals.
1208 (cosh_test_data): Likewise.
1209 (exp_test_data): Likewise.
1210 (expm1_test_data): Likewise.
1211 (hypot_test_data): Likewise.
1212 (pow_test_data): Likewise.
1213 (sinh_test_data): Likewise.
1214 (tanh_test_data): Likewise.
1215 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1216 flags argument.
1217
ca07f197
JM
1218 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1219 tests with quiet NaN input and output.
1220 (acosh_test_data): Likewise.
1221 (asin_test_data): Likewise.
1222 (asinh_test_data): Likewise.
1223 (atan_test_data): Likewise.
1224 (atanh_test_data): Likewise.
1225 (atan2_test_data): Likewise.
1226 (cbrt_test_data): Likewise.
1227 (cos_test_data): Likewise.
1228 (cosh_test_data): Likewise.
1229 (erf_test_data): Likewise.
1230 (erfc_test_data): Likewise.
1231 (exp_test_data): Likewise.
1232 (exp10_test_data): Likewise.
1233 (exp2_test_data): Likewise.
1234 (expm1_test_data): Likewise.
1235 (hypot_test_data): Likewise.
1236 (j0_test_data): Likewise.
1237 (j1_test_data): Likewise.
1238 (jn_test_data): Likewise.
1239 (lgamma_test_data): Likewise.
1240 (log_test_data): Likewise.
1241 (log10_test_data): Likewise.
1242 (log1p_test_data): Likewise.
1243 (log2_test_data): Likewise.
1244 (pow_test_data): Likewise.
1245 (scalb_test_data): Likewise.
1246 (sin_test_data): Likewise.
1247 (sincos_test_data): Likewise.
1248 (sinh_test_data): Likewise.
1249 (tan_test_data): Likewise.
1250 (tanh_test_data): Likewise.
1251 (tgamma_test_data): Likewise.
1252 (y0_test_data): Likewise.
1253 (y1_test_data): Likewise.
1254 (yn_test_data): Likewise.
1255
66294491
JM
1256 [BZ #16167]
1257 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1258 argument being NaN and avoid computations with second argument in
1259 that case.
1260 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1261 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1262 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1263
1820b143
CL
12642013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1265
1266 * locale/iso-639.def: Add Chitwani Tharu (the).
1267
714bd261
AS
12682013-11-14 Andreas Schwab <schwab@suse.de>
1269
1270 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1271 word instead of empty string.
1272
7ab44563
AZ
12732013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1274
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1276 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1278 (__fe_nomask_env): Likewise.
1279
e8470ea2
SE
12802013-11-13 Steve Ellcey <sellcey@mips.com>
1281
1282 * benchtests/bench-timing.h: Include time.h.
1283
17c1d9f0
L
12842013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1285
1286 [BZ #15997]
1287 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1288 to 3.4.0 for x32.
1289 * sysdeps/unix/sysv/linux/configure: Regenerated.
1290
9310c284
JM
12912013-11-13 Joseph Myers <joseph@codesourcery.com>
1292
1293 [BZ #16151]
1294 * stdlib/strtod_l.c (round_and_return): Do not consider
1295 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1296 exponent one less than half the least subnormal exponent.
1297 * stdlib/test-strtod-round-data: Add more tests.
1298 * stdlib/tst-strtod-round.c (tests): Regenerated.
1299
7a2ad8cf
AZ
13002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301
1302 [BZ #14143]
1303 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1304 (__fe_mask_env): Likewise.
1305 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1306 libm_hidden_proto and add function prototype.
1307 (__fe_mask_env): Add function prototype.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1309 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1311 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1313 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1314
50727aa7
MS
13152013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1316
b2f386c1 1317 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1318 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1319
a615be46
MS
13202013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1321
1322 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1323 of htab_find_slot().
1324
7ddace62
DM
13252013-11-11 David S. Miller <davem@davemloft.net>
1326
1327 [BZ #16150]
1328 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1329 symbol in the non-vis3 case in static builds.
1330 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1331 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1332 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1333 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1334
9182aa67
JK
13352013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1336
1337 [BZ #387]
1338 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1339 it is empty.
1340
450a2e2d
AZ
13412013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342
b2f386c1
SP
1343 * benchtests/Makefile: Add bench-strtod.
1344 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1345
8ec3f656
AS
13462013-11-11 Andreas Schwab <schwab@suse.de>
1347
1348 [BZ #16153]
1349 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1350 terminating NUL in key length.
1351
76a9b998
AZ
13522013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1353
1354 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1355 Add artificial ODP entry for vDSO symbol for PPC64.
1356 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1357 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1358
e4368156
OB
13592013-11-07 Ondřej Bílka <neleai@seznam.cz>
1360
1361 [BZ #15374]
1362 * nss/getent.c (services_keys): Recognize services starting with digit.
1363
8d6bb57c
DM
13642013-11-06 David S. Miller <davem@davemloft.net>
1365
1366 [BZ #15985]
1367 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1368 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1369
e256c421
WN
13702013-11-06 Will Newton <will.newton@linaro.org>
1371
1372 * manual/memory.texi (Malloc Examples): Remove register
1373 keyword from examples.
1374
f6e12daa 13752013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1376
f6e12daa 1377 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1378
9d880655
AS
13792013-11-04 Joseph Myers <joseph@codesourcery.com>
1380
1381 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1382 depending on [__GCC_IEC_559 > 0].
1383 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1384 depending on [__GCC_IEC_559_COMPLEX > 0].
1385
ae129d3c
CL
13862013-11-03 Chris Leonard <cjl@sugarlabs.org>
1387
1388 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1389 to iso-639.def.
1390
4a15c2a4 13912013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1392
1393 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1394
8b35e35d
OB
13952013-11-01 Ondřej Bílka <neleai@seznam.cz>
1396
1397 [BZ #16112]
1398 * malloc/malloc (malloc_info): Do not handle first bin as
1399 special case.
1400
1d70fd6c
CL
14012013-11-01 Chris Leonard <cjl@sugarlabs.org>
1402
1403 * locale/iso-639.def: Add Central Nahuatl (nhn).
1404
8c5c2600
BH
14052013-11-01 Bruno Haible <bruno@clisp.org>
1406
1407 [BZ #7003]
1408 * manual/math.texi (BSD Random): Specify range upper bound as
1409 in POSIX.
1410
da5579c2
CL
14112013-10-31 Chris Leonard <cjl@sugarlabs.org>
1412
1413 * locale/iso-639.def: Add Meadow Mari (mhr).
1414
5d30d853
OB
14152013-10-31 Ondřej Bílka <neleai@seznam.cz>
1416
1417 [BZ #14752], [BZ #15763]
1418 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1419 Validate name.
1420 * rt/tst_shm.c: Add test for escaping directory.
1421
a4966c61
AS
14222013-10-31 Andreas Schwab <schwab@suse.de>
1423
8a43e768 1424 [BZ #15917]
a4966c61
AS
1425 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1426 followed by 'x' as part of digit sequence.
1427 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1428
28d708c4
MAP
14292013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1430
1431 [BZ #16037]
1432 * configure.ac: allow GNU Make 4.0 and greater.
1433 * configure: Regenerated.
1434
a56ee40b
WN
14352013-10-30 Will Newton <will.newton@linaro.org>
1436
1437 [BZ #16038]
1438 * malloc/hooks.c (memalign_check): Limit alignment to the
1439 maximum representable power of two.
1440 * malloc/malloc.c (__libc_memalign): Likewise.
1441 * malloc/tst-memalign.c (do_test): Add test for very
1442 large alignment values.
1443 * malloc/tst-posix_memalign.c (do_test): Likewise.
1444
c6e4925d
OB
14452013-10-30 Ondřej Bílka <neleai@seznam.cz>
1446
1447 [BZ #11087]
1448 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1449 (munmap_chunk): Likewise.
1450 (mremap_chunk): Likewise.
1451
14522013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1453
8a43e768 1454 [BZ #15799]
bbea82f7
OB
1455 * stdlib/div.c (div): Remove obsolete code.
1456 * stdlib/ldiv.c (ldiv): Likewise.
1457 * stdlib/lldiv.c (lldiv): Likewise.
1458
977f4b31
SP
14592013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1460
1461 [BZ #16071]
1462 * nss/nss_files/files-XXX.c (get_contents_ret): New
1463 enumerator.
1464 (get_contents): New function.
1465 (internal_getent): Use it. Expand size of LINEBUFLEN.
1466
cb8a6dbd
MF
14672013-10-30 Mike Frysinger <vapier@gentoo.org>
1468
1469 * configure.in: Moved to ...
1470 * configure.ac: ... here. Change reference to configure.in
1471 to configure.ac.
1472 * sysdeps/arm/preconfigure.ac: ... here.
1473 configure.in to configure.ac.
1474 * sysdeps/gnu/configure.in: Moved to ...
1475 * sysdeps/gnu/configure.ac: ... here.
1476 * sysdeps/i386/configure.in: Moved to ...
1477 * sysdeps/i386/configure.ac: ... here.
1478 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1479 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1480 * sysdeps/mach/configure.in: Moved to ...
1481 * sysdeps/mach/configure.ac: ... here.
1482 * sysdeps/mach/hurd/configure.in: Moved to ...
1483 * sysdeps/mach/hurd/configure.ac: ... here.
1484 * sysdeps/powerpc/configure.in: Moved to ...
1485 * sysdeps/powerpc/configure.ac: ... here.
1486 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1487 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1488 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1489 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1490 * sysdeps/s390/s390-32/configure.in: Moved to ...
1491 * sysdeps/s390/s390-32/configure.ac: ... here.
1492 * sysdeps/s390/s390-64/configure.in: Moved to ...
1493 * sysdeps/s390/s390-64/configure.ac: ... here.
1494 * sysdeps/sh/configure.in: Moved to ...
1495 * sysdeps/sh/configure.ac: ... here.
1496 * sysdeps/sparc/configure.in: Moved to ...
1497 * sysdeps/sparc/configure.ac: ... here.
1498 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1499 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1500 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1501 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1502 * sysdeps/x86_64/configure.in: Moved to ...
1503 * sysdeps/x86_64/configure.ac: ... here.
1504 * sysdeps/x86_64/preconfigure.in: Moved to ...
1505 * sysdeps/x86_64/preconfigure.ac: ... here.
1506 * aclocal.m4: Change reference to configure.in to configure.ac.
1507 * config.h.in: Likewise.
1508 * manual/install.texi: Likewise.
1509 * manual/maint.texi: Likewise.
1510 * Makefile: Likewise.
1511 * malloc/Makefile: Likewise.
1512 * nscd/Makefile: Likewise.
1513 * Makeconfig: Change reference to configure.in and
1514 preconfigure.in to configure.ac and preconfigure.ac
1515 respectively.
1516 * INSTALL: Regenerated.
1517 * configure: Likewise.
1518 * sysdeps/gnu/configure: Likewise.
1519 * sysdeps/i386/configure: Likewise.
1520 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1521 * sysdeps/mach/configure: Likewise.
1522 * sysdeps/mach/hurd/configure: Likewise.
1523 * sysdeps/powerpc/configure: Likewise.
1524 * sysdeps/powerpc/powerpc32/configure: Likewise.
1525 * sysdeps/powerpc/powerpc64/configure: Likewise.
1526 * sysdeps/s390/s390-32/configure: Likewise.
1527 * sysdeps/s390/s390-64/configure: Likewise.
1528 * sysdeps/sh/configure: Likewise.
1529 * sysdeps/sparc/configure: Likewise.
1530 * sysdeps/unix/sysv/linux/configure: Likewise.
1531 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1532 * sysdeps/x86_64/configure: Likewise.
1533 * sysdeps/x86_64/preconfigure: Likewise.
1534
36a4953a
AS
15352013-10-29 Andreas Schwab <schwab@suse.de>
1536
1537 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1538
c79a1204
SP
15392013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1540
dfa1b402
SP
1541 * benchtests/pow-inputs: Add new inputs.
1542
54f73d9c
SP
1543 * benchtests/exp-inputs: Add new inputs.
1544
c79a1204
SP
1545 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1546 conditional check for return value.
1547 (__cos32): Likewise.
1548
67beb545 15492013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1550
1551 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1552 to provide a boost for large inputs with word alignment.
1553 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1554 implementation based on optimized PPC64 strcpy.
1555 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1556 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1557 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1558 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1559
151659f6
OB
15602013-10-25 Ondřej Bílka <neleai@seznam.cz>
1561
482a077e 1562 [BZ #2801]
151659f6
OB
1563 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1564
10b0f26b
OB
15652013-10-25 Ondřej Bílka <neleai@seznam.cz>
1566
1567 [BZ #14876]
1568 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1569 * time/tst-strptime.c (day_tests): Add testcase.
1570
ca42d35e
OB
15712013-10-25 Ondřej Bílka <neleai@seznam.cz>
1572
482a077e 1573 [BZ #14029]
ca42d35e
OB
1574 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1575
52e6d801
FB
15762013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1577
1578 [BZ #16074]
1579 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1580 MAP_FAILED on error.
1581
7cbcdb36
SP
15822013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1583
1584 [BZ #16072]
1585 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1586 heap for large requests.
1587
894f3f10
AM
15882013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1589
1590 [BZ #9954]
1591 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1592 result if the result has no associated interface.
1593 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1594 interface for all 127.X.Y.Z addresses.
1595
b85545a6
CL
15962013-10-24 Chris Leonard <cjl@sugarlabs.org>
1597
1598 * locale/iso-639.def: Add Ligurian (lij)
1599
d1f23d46
OB
16002013-10-21 Ondřej Bílka <neleai@seznam.cz>
1601
1602 [BZ #15825]
1603 * sunrpc/rpc_main.c: Document rpcgen -5.
1604
4db5b08f
MS
16052013-10-19 Michael Stahl <mstahl@redhat.com>
1606
1607 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1608
a471e96a
OB
16092013-10-19 Ondřej Bílka <neleai@seznam.cz>
1610
d1f23d46 1611 [BZ #10278]
a471e96a
OB
1612 * posix/glob.c: Match only directories when trailing slash is present.
1613 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1614 (main): Add testcase.
1615
45c30c61
OB
16162013-10-19 Ondřej Bílka <neleai@seznam.cz>
1617
1618 [BZ #15670]
1619 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1620
484c12fb
CD
16212013-10-18 Carlos O'Donell <carlos@redhat.com>
1622
3d7dc513
CD
1623 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1624 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1625 AUTH_DES and cindex for FIPS 140-2.
1626 (DES Encryption): Add cindex FIPS 46-3.
1627
484c12fb
CD
1628 * locale/locarchive.h (struct locarhandle): Add fname.
1629 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1630 if an optional argument was specified to --list-archive,
1631 otherwise NULL.
1632 * locale/programs/locarchive.c (show_archive_content): Take new
1633 argument fname and pass it via ah.fname to open_archive.
1634 * locale/programs/localedef.h: Update decl.
1635 (open_archive): If AH->fname is non-null, open that file
1636 rather than the default file name, and don't ignore ENOENT.
1637 (create_archive): Set AH.fname to NULL.
1638 (delete_locales_from_archive): Likewise.
1639 (add_locales_to_archive): Likewise.
1640 * locale/programs/locfile.c (write_all_categories): Likewise.
1641
3c8325fb
JM
16422013-10-18 Joseph Myers <joseph@codesourcery.com>
1643 Aldy Hernandez <aldyh@redhat.com>
1644
1645 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1646 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1647 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1648 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1649 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1650 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1651 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1652 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1653 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1654 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1655 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1656 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1657 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1658 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1659 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1660 Likewise.
1661 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1662 Likewise.
1663 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1664 Likewise.
1665 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1666 Likewise.
1667 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1668 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1669 Likewise.
1670 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1671 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1672 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1673 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1674 Likewise.
1675 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1676 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1677 * sysdeps/powerpc/preconfigure: Likewise.
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1679 Likewise.
1680 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1681 Replace contents of file by #include of <fenv_libc.h>.
1682 * sysdeps/powerpc/soft-fp/sfp-machine.h
1683 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1684 and <sys/prctl.h>.
1685 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1686 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1687 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1688 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1689 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1690 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1692 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1693 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1694 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1695 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1696 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1698 Allow copysignl PLT reference to be missing.
1699
5abe0682
RS
17002013-10-18 Richard Sandiford <richard@codesourcery.com>
1701 Joseph Myers <joseph@codesourcery.com
1702
1703 [BZ #15948]
1704 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1705 single character.
1706 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1707
c7738d08
SP
17082013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1709
1710 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1711 * elf/tst-tls1.c: Likewise.
1712 * elf/tst-tls10.h: Likewise.
1713 * elf/tst-tls14.c: Likewise.
1714 * elf/tst-tls2.c: Likewise.
1715 * elf/tst-tls3.c: Likewise.
1716 * elf/tst-tls4.c: Likewise.
1717 * elf/tst-tls5.c: Likewise.
1718 * elf/tst-tls6.c: Likewise.
1719 * elf/tst-tls7.c: Likewise.
1720 * elf/tst-tls8.c: Likewise.
1721 * elf/tst-tls9.c: Likewise.
1722 * elf/tst-tlsmod1.c: Likewise.
1723 * elf/tst-tlsmod13.c: Likewise.
1724 * elf/tst-tlsmod13a.c: Likewise.
1725 * elf/tst-tlsmod14a.c: Likewise.
1726 * elf/tst-tlsmod16a.c: Likewise.
1727 * elf/tst-tlsmod16b.c: Likewise.
1728 * elf/tst-tlsmod2.c: Likewise.
1729 * elf/tst-tlsmod3.c: Likewise.
1730 * elf/tst-tlsmod4.c: Likewise.
1731 * elf/tst-tlsmod5.c: Likewise.
1732 * elf/tst-tlsmod6.c: Likewise.
1733
0bfcf2c7
OB
17342013-10-18 Ondřej Bílka <neleai@seznam.cz>
1735
1736 [BZ #12486]
1737 * malloc/malloc.c: remove checks for statistics.
1738
264aad1e
OB
17392013-10-17 Ondřej Bílka <neleai@seznam.cz>
1740
1741 [BZ #15277]
1742 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1743 * inet/tst-network.c: Add testcase.
1744
b957ced8
AS
17452013-10-17 Andreas Schwab <schwab@suse.de>
1746
1747 [BZ #15218]
1748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1749 to determine canonical name.
1750
c5d5d574
OB
17512013-10-17 Ondřej Bílka <neleai@seznam.cz>
1752
1753 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1754 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1755 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1756 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1757 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1758 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1759 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1760 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1761 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1762 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1763 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1764 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1765 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1766 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1767 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1768 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1770 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1771 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1772 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1773 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1774 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1775 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1776 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1777 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1778 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1779 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1780 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1781 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1782 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1783 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1784 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1785 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1786 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1787 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1788 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1789 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1790 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1791 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1792 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1793 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1794 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1795 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1796 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1797 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1798 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1799 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1800 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1801 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1802 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1803 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1805 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1806 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1807 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1808 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1810 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1811
e5c2c2d0
JM
18122013-10-17 Joseph Myers <joseph@codesourcery.com>
1813
1814 [BZ #16041]
1815 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1816 make result into a quiet NaN.
1817
51ca9e29
JM
18182013-10-16 Joseph Myers <joseph@codesourcery.com>
1819
1820 * soft-fp/adddf3.c: Fix horizontal whitespace.
1821 * soft-fp/addsf3.c: Likewise.
1822 * soft-fp/addtf3.c: Likewise.
1823 * soft-fp/divdf3.c: Likewise.
1824 * soft-fp/divsf3.c: Likewise.
1825 * soft-fp/divtf3.c: Likewise.
1826 * soft-fp/double.h: Likewise.
1827 * soft-fp/eqdf2.c: Likewise.
1828 * soft-fp/eqsf2.c: Likewise.
1829 * soft-fp/eqtf2.c: Likewise.
1830 * soft-fp/extenddftf2.c: Likewise.
1831 * soft-fp/extended.h: Likewise.
1832 * soft-fp/extendsfdf2.c: Likewise.
1833 * soft-fp/extendsftf2.c: Likewise.
1834 * soft-fp/extendxftf2.c: Likewise.
1835 * soft-fp/fixdfdi.c: Likewise.
1836 * soft-fp/fixdfsi.c: Likewise.
1837 * soft-fp/fixdfti.c: Likewise.
1838 * soft-fp/fixsfdi.c: Likewise.
1839 * soft-fp/fixsfsi.c: Likewise.
1840 * soft-fp/fixsfti.c: Likewise.
1841 * soft-fp/fixtfdi.c: Likewise.
1842 * soft-fp/fixtfsi.c: Likewise.
1843 * soft-fp/fixtfti.c: Likewise.
1844 * soft-fp/fixunsdfdi.c: Likewise.
1845 * soft-fp/fixunsdfsi.c: Likewise.
1846 * soft-fp/fixunsdfti.c: Likewise.
1847 * soft-fp/fixunssfdi.c: Likewise.
1848 * soft-fp/fixunssfsi.c: Likewise.
1849 * soft-fp/fixunssfti.c: Likewise.
1850 * soft-fp/fixunstfdi.c: Likewise.
1851 * soft-fp/fixunstfsi.c: Likewise.
1852 * soft-fp/fixunstfti.c: Likewise.
1853 * soft-fp/floatdidf.c: Likewise.
1854 * soft-fp/floatdisf.c: Likewise.
1855 * soft-fp/floatditf.c: Likewise.
1856 * soft-fp/floatsidf.c: Likewise.
1857 * soft-fp/floatsisf.c: Likewise.
1858 * soft-fp/floatsitf.c: Likewise.
1859 * soft-fp/floattidf.c: Likewise.
1860 * soft-fp/floattisf.c: Likewise.
1861 * soft-fp/floattitf.c: Likewise.
1862 * soft-fp/floatundidf.c: Likewise.
1863 * soft-fp/floatundisf.c: Likewise.
1864 * soft-fp/floatunditf.c: Likewise.
1865 * soft-fp/floatunsidf.c: Likewise.
1866 * soft-fp/floatunsisf.c: Likewise.
1867 * soft-fp/floatunsitf.c: Likewise.
1868 * soft-fp/floatuntidf.c: Likewise.
1869 * soft-fp/floatuntisf.c: Likewise.
1870 * soft-fp/floatuntitf.c: Likewise.
1871 * soft-fp/fmadf4.c: Likewise.
1872 * soft-fp/fmasf4.c: Likewise.
1873 * soft-fp/fmatf4.c: Likewise.
1874 * soft-fp/gedf2.c: Likewise.
1875 * soft-fp/gesf2.c: Likewise.
1876 * soft-fp/getf2.c: Likewise.
1877 * soft-fp/ledf2.c: Likewise.
1878 * soft-fp/lesf2.c: Likewise.
1879 * soft-fp/letf2.c: Likewise.
1880 * soft-fp/muldf3.c: Likewise.
1881 * soft-fp/mulsf3.c: Likewise.
1882 * soft-fp/multf3.c: Likewise.
1883 * soft-fp/negdf2.c: Likewise.
1884 * soft-fp/negsf2.c: Likewise.
1885 * soft-fp/negtf2.c: Likewise.
1886 * soft-fp/op-1.h: Likewise.
1887 * soft-fp/op-2.h: Likewise.
1888 * soft-fp/op-4.h: Likewise.
1889 * soft-fp/op-8.h: Likewise.
1890 * soft-fp/op-common.h: Likewise.
1891 * soft-fp/quad.h: Likewise.
1892 * soft-fp/single.h: Likewise.
1893 * soft-fp/soft-fp.h: Likewise.
1894 * soft-fp/sqrtdf2.c: Likewise.
1895 * soft-fp/sqrtsf2.c: Likewise.
1896 * soft-fp/sqrttf2.c: Likewise.
1897 * soft-fp/subdf3.c: Likewise.
1898 * soft-fp/subsf3.c: Likewise.
1899 * soft-fp/subtf3.c: Likewise.
1900 * soft-fp/truncdfsf2.c: Likewise.
1901 * soft-fp/trunctfdf2.c: Likewise.
1902 * soft-fp/trunctfsf2.c: Likewise.
1903 * soft-fp/trunctfxf2.c: Likewise.
1904 * soft-fp/unorddf2.c: Likewise.
1905 * soft-fp/unordsf2.c: Likewise.
1906 * soft-fp/unordtf2.c: Likewise.
1907
9ebb0332
JM
19082013-10-15 Joseph Myers <joseph@codesourcery.com>
1909
1910 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1911 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1912
4b1a6d8b
OB
19132013-10-15 Ondřej Bílka <neleai@seznam.cz>
1914
1915 * elf/dl-libc.c: Clear initfini list after freeing.
1916
1e145589
JM
19172013-10-14 Joseph Myers <joseph@codesourcery.com>
1918
1919 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1920 * soft-fp/addsf3.c: Likewise.
1921 * soft-fp/addtf3.c: Likewise.
1922 * soft-fp/divdf3.c: Likewise.
1923 * soft-fp/divsf3.c: Likewise.
1924 * soft-fp/divtf3.c: Likewise.
1925 * soft-fp/double.h: Likewise.
1926 * soft-fp/eqdf2.c: Likewise.
1927 * soft-fp/eqsf2.c: Likewise.
1928 * soft-fp/eqtf2.c: Likewise.
1929 * soft-fp/extenddftf2.c: Likewise.
1930 * soft-fp/extended.h: Likewise.
1931 * soft-fp/extendsfdf2.c: Likewise.
1932 * soft-fp/extendsftf2.c: Likewise.
1933 * soft-fp/extendxftf2.c: Likewise.
1934 * soft-fp/fixdfdi.c: Likewise.
1935 * soft-fp/fixdfsi.c: Likewise.
1936 * soft-fp/fixdfti.c: Likewise.
1937 * soft-fp/fixsfdi.c: Likewise.
1938 * soft-fp/fixsfsi.c: Likewise.
1939 * soft-fp/fixsfti.c: Likewise.
1940 * soft-fp/fixtfdi.c: Likewise.
1941 * soft-fp/fixtfsi.c: Likewise.
1942 * soft-fp/fixtfti.c: Likewise.
1943 * soft-fp/fixunsdfdi.c: Likewise.
1944 * soft-fp/fixunsdfsi.c: Likewise.
1945 * soft-fp/fixunsdfti.c: Likewise.
1946 * soft-fp/fixunssfdi.c: Likewise.
1947 * soft-fp/fixunssfsi.c: Likewise.
1948 * soft-fp/fixunssfti.c: Likewise.
1949 * soft-fp/fixunstfdi.c: Likewise.
1950 * soft-fp/fixunstfsi.c: Likewise.
1951 * soft-fp/fixunstfti.c: Likewise.
1952 * soft-fp/floatdidf.c: Likewise.
1953 * soft-fp/floatdisf.c: Likewise.
1954 * soft-fp/floatditf.c: Likewise.
1955 * soft-fp/floatsidf.c: Likewise.
1956 * soft-fp/floatsisf.c: Likewise.
1957 * soft-fp/floatsitf.c: Likewise.
1958 * soft-fp/floattidf.c: Likewise.
1959 * soft-fp/floattisf.c: Likewise.
1960 * soft-fp/floattitf.c: Likewise.
1961 * soft-fp/floatundidf.c: Likewise.
1962 * soft-fp/floatundisf.c: Likewise.
1963 * soft-fp/floatunsidf.c: Likewise.
1964 * soft-fp/floatunsisf.c: Likewise.
1965 * soft-fp/floatuntidf.c: Likewise.
1966 * soft-fp/floatuntisf.c: Likewise.
1967 * soft-fp/floatuntitf.c: Likewise.
1968 * soft-fp/fmadf4.c: Likewise.
1969 * soft-fp/fmasf4.c: Likewise.
1970 * soft-fp/fmatf4.c: Likewise.
1971 * soft-fp/gedf2.c: Likewise.
1972 * soft-fp/gesf2.c: Likewise.
1973 * soft-fp/getf2.c: Likewise.
1974 * soft-fp/ledf2.c: Likewise.
1975 * soft-fp/lesf2.c: Likewise.
1976 * soft-fp/letf2.c: Likewise.
1977 * soft-fp/muldf3.c: Likewise.
1978 * soft-fp/mulsf3.c: Likewise.
1979 * soft-fp/multf3.c: Likewise.
1980 * soft-fp/negdf2.c: Likewise.
1981 * soft-fp/negsf2.c: Likewise.
1982 * soft-fp/negtf2.c: Likewise.
1983 * soft-fp/op-1.h: Likewise.
1984 * soft-fp/op-2.h: Likewise.
1985 * soft-fp/op-4.h: Likewise.
1986 * soft-fp/op-8.h: Likewise.
1987 * soft-fp/op-common.h: Likewise.
1988 * soft-fp/quad.h: Likewise.
1989 * soft-fp/single.h: Likewise.
1990 * soft-fp/soft-fp.h: Likewise.
1991 * soft-fp/sqrtdf2.c: Likewise.
1992 * soft-fp/sqrtsf2.c: Likewise.
1993 * soft-fp/sqrttf2.c: Likewise.
1994 * soft-fp/subdf3.c: Likewise.
1995 * soft-fp/subsf3.c: Likewise.
1996 * soft-fp/subtf3.c: Likewise.
1997 * soft-fp/truncdfsf2.c: Likewise.
1998 * soft-fp/trunctfdf2.c: Likewise.
1999 * soft-fp/trunctfsf2.c: Likewise.
2000 * soft-fp/trunctfxf2.c: Likewise.
2001 * soft-fp/unorddf2.c: Likewise.
2002 * soft-fp/unordsf2.c: Likewise.
2003 * soft-fp/unordtf2.c: Likewise.
2004
17c48a60
OB
20052013-10-14 Ondřej Bílka <neleai@seznam.cz>
2006
2007 [BZ #15672]
2008 * misc/error.c (error_tail): Fix possible buffer overflow.
2009
cabba934
OB
20102013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2011
2012 [BZ #13028]
2013 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2014 address.
2015
94bf958a
PM
20162013-10-14 P. J. McDermott <pj@pehjota.net>
2017
2018 [BZ #832]
2019 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2020 testing pipefail option.
2021
71b4dea7
JM
20222013-10-12 Joseph Myers <joseph@codesourcery.com>
2023
2024 * soft-fp/double.h: Indent preprocessor directives inside #if.
2025 * soft-fp/extended.h: Likewise.
2026 * soft-fp/op-2.h: Likewise.
2027 * soft-fp/op-4.h: Likewise.
2028 * soft-fp/op-common.h: Likewise.
2029 * soft-fp/quad.h: Likewise.
2030 * soft-fp/single.h: Likewise.
2031 * soft-fp/soft-fp.h: Likewise.
2032
55602758
YC
20332013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2034
2035 * iconv/iconv_prog.c: Fix typos.
2036 * stdio-common/psiginfo-data.h: Likewise.
2037
9cd83302
RT
20382013-10-12 Reuben Thomas <rrt@sc3d.org>
2039
2040 [BZ #15764]
2041 * locale/setlocale.c: Fix typo.
2042
99fd9f47
JM
20432013-10-12 Joseph Myers <joseph@codesourcery.com>
2044
b7ea74f0
JM
2045 [BZ #16036]
2046 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2047 signaling NaN arguments.
2048 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2049 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2050
8a509447
JM
2051 [BZ #14910]
2052 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2053 unordered operands.
2054 * soft-fp/gesf2.c (__gesf2): Likewise.
2055 * soft-fp/getf2.c (__getf2): Likewise.
2056 * soft-fp/ledf2.c (__ledf2): Likewise.
2057 * soft-fp/lesf2.c (__lesf2): Likewise.
2058 * soft-fp/letf2.c (__letf2): Likewise.
2059
98998e9f
JM
2060 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2061 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2062 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2063 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2064 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2065 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2066 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2067 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2068 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2069 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2070 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2071 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2072 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2073 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2074 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2075 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2076 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2077 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2078 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2079 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2080 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2081 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2082 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2083 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2084 * soft-fp/floattidf.c (__floattidf): Likewise.
2085 * soft-fp/floattisf.c (__floattisf): Likewise.
2086 * soft-fp/floattitf.c (__floattitf): Likewise.
2087 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2088 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2089 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2090 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2091 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2092 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2093 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2094 * soft-fp/gesf2.c (__gesf2): Likewise.
2095 * soft-fp/getf2.c (__getf2): Likewise.
2096 * soft-fp/ledf2.c (__ledf2): Likewise.
2097 * soft-fp/lesf2.c (__lesf2): Likewise.
2098 * soft-fp/letf2.c (__letf2): Likewise.
2099
8edc4a11
JM
2100 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2101 Undefine and redefine.
2102 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2103 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2104 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2105 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2106 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2107 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2108 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2109 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2110 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2111 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2112 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2113 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2114 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2115 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2116 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2117
8399acaf
JM
2118 [BZ #16032]
2119 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2120 without decrementing exponent if mantissa >= that for the
2121 denominator, not >.
2122 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2123 denominator, not >. Decrement exponent in < case instead of
2124 incrementing in >= case.
2125 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2126 without decrementing exponent if mantissa >= that for the
2127 denominator, not >.
2128
99fd9f47
JM
2129 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2130 computing saturated result for unsigned overflow.
2131
10e1cf6b
SP
21322013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2133 Jeff Law <law@redhat.com>
2134
2135 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2136 (atan2Mp): Add systemtap probe marker.
2137 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2138 (__ieee754_log): Add systemtap probe marker.
2139 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2140 (atanMp): Add systemtap probe marker.
2141 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2142 (tanMp): Add systemtap probe marker.
2143 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2144 (__slowexp): Add systemtap probe marker.
2145 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2146 (__slowpow): Add systemtap probe marker.
2147 * manual/probes.texi: Document probes.
2148
3d110c7c
EB
21492013-10-11 Eric Biggers <ebiggers3@gmail.com>
2150
2151 [BZ #15362]
2152 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2153 written.
2154 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2155 written.
2156 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2157 written to buffer but not flushed.
2158 * libio/iofwrite_u.c: Likewise.
2159 * libio/iopadn.c: Return bytes returned even if EOF was
2160 encountered.
2161 * libio/iowpadn.c: Likewise.
2162 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2163 if _IO_padn does not write the whole buffer.
2164 [!COMPILE_WPRINTF] (PAD): Likewise.
2165
75b4202a
DM
21662013-10-10 David S. Miller <davem@davemloft.net>
2167
2168 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2169 directory block.
2170
6c6352e6
JM
21712013-10-10 Joseph Myers <joseph@codesourcery.com>
2172
33b853c3
JM
2173 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2174 instead of FSF address.
2175 * soft-fp/fixdfti.c: Likewise.
2176 * soft-fp/fixsfti.c: Likewise.
2177 * soft-fp/fixtfti.c: Likewise.
2178 * soft-fp/fixunsdfti.c: Likewise.
2179 * soft-fp/fixunssfti.c: Likewise.
2180 * soft-fp/fixunstfti.c: Likewise.
2181 * soft-fp/floattidf.c: Likewise.
2182 * soft-fp/floattisf.c: Likewise.
2183 * soft-fp/floattitf.c: Likewise.
2184 * soft-fp/floatuntidf.c: Likewise.
2185 * soft-fp/floatuntisf.c: Likewise.
2186 * soft-fp/floatuntitf.c: Likewise.
2187 * soft-fp/trunctfxf2.c: Likewise.
2188
6c6352e6
JM
2189 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2190 * soft-fp/fixdfti.c: Likewise.
2191 * soft-fp/fixsfti.c: Likewise.
2192 * soft-fp/fixtfti.c: Likewise.
2193 * soft-fp/fixunsdfti.c: Likewise.
2194 * soft-fp/fixunssfti.c: Likewise.
2195 * soft-fp/fixunstfti.c: Likewise.
2196 * soft-fp/floattidf.c: Likewise.
2197 * soft-fp/floattisf.c: Likewise.
2198 * soft-fp/floattitf.c: Likewise.
2199 * soft-fp/floatuntidf.c: Likewise.
2200 * soft-fp/floatuntisf.c: Likewise.
2201 * soft-fp/floatuntitf.c: Likewise.
2202 * soft-fp/trunctfxf2.c: Likewise.
2203
3bf78b71
DM
22042013-10-10 David S. Miller <davem@davemloft.net>
2205
2206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2207
6f10289e
JM
22082013-10-10 Joseph Myers <joseph@codsourcery.com>
2209
bd878fc0
JM
2210 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2211 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2212 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2213 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2214 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2215 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2216 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2217
6f10289e
JM
2218 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2219 for NaNs before doing comparisons on argument.
2220 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2221 Likewise.
2222
321e2684
WN
22232013-10-10 Will Newton <will.newton@linaro.org>
2224
2225 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2226 passed to _int_memalign does not overflow.
2227
40fefba1
TR
22282013-10-10 Torvald Riegel <triegel@redhat.com>
2229
2230 * scripts/bench.pl: Add include-sources directive.
2231 * benchtests/README: Update documentation.
2232
2ae21ed2
JM
22332013-10-10 Joseph Myers <joseph@codesourcery.com>
2234
dcc2dd3f
JM
2235 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2236 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2237 instead of FP_INIT_ROUNDMODE.
2238 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2239 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2240
2ae21ed2
JM
2241 [BZ #16034]
2242 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2243 copy class of input value.
2244 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2245 not handle exceptions.
2246 * soft-fp/negsf2.c (__negsf2): Likewise.
2247 * soft-fp/negtf2.c (__negtf2): Likewise.
2248 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2249
cb8f9562
JM
22502013-10-09 Joseph Myers <joseph@codesourcery.com>
2251
2252 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2253 semicolon. From Linux kernel.
2254
5b60c59d
AB
22552013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2256
2257 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2258
b86835ca
YC
22592013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2260
2261 [BZ #156]
2262 * manual/socket.texi: Added statement about buffer
2263 for gethostbyname2_r.
2264
e7044ea7
OB
22652013-10-08 Ondřej Bílka <neleai@seznam.cz>
2266
2267 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2268 Use .p2align directive instead, throughout.
2269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2270 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2271 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2272 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2273 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2274 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2275 * sysdeps/x86_64/strchr.S: Likewise.
2276 * sysdeps/x86_64/strrchr.S: Likewise.
2277
09544cbc
SP
22782013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2279
88576635
SP
2280 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2281
e7b2d1dd
SP
2282 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2283
09544cbc
SP
2284 * sysdeps/generic/math_private.h (__mpsin1): Remove
2285 declaration.
2286 (__mpcos1): Likewise.
2287 (__mpsin): New argument __range_reduce.
2288 (__mpcos): Likewise.
2289 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2290 (slow): Use __mpsin and __mpcos.
2291 (slow1): Likewise.
2292 (slow2): Likewise.
2293 (sloww): Likewise.
2294 (sloww1): Likewise.
2295 (sloww2): Likewise.
2296 (bsloww): Likewise.
2297 (bsloww1): Likewise.
2298 (bsloww2): Likewise.
2299 (cslow2): Likewise.
2300 (csloww): Likewise.
2301 (csloww1): Likewise.
2302 (csloww2): Likewise.
2303 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2304 range_reduce. Merge in __mpsin1.
2305 (__mpcos): Likewise.
2306 (__mpsin1): Remove.
2307 (__mpcos1): Likewise.
2308
7602d070
JM
23092013-10-07 Joseph Myers <joseph@codesourcery.com>
2310
2311 * locale/loadlocale.c (_nl_intern_locale_data): Use
2312 LOCFILE_ALIGNED_P.
2313 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2314 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2315 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2316 obstack data is appropriately aligned.
2317 (obstack_int32_grow_fast): Likewise.
2318 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2319 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2320 (add_locale_uint32_array): Likewise.
2321
a357259b
SP
23222013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2323
2324 * benchtests/Makefile: Remove ARGLIST and RET variables.
2325 ($(objpfx)bench-%.c): Pass only function name to the script.
2326 * benchtests/README: Update documentation.
2327 * benchtests/acos-inputs: Add new directives.
2328 * benchtests/acosh-inputs: Likewise.
2329 * benchtests/asin-inputs: Likewise.
2330 * benchtests/asinh-inputs: Likewise.
2331 * benchtests/atan-inputs: Likewise.
2332 * benchtests/atanh-inputs: Likewise.
2333 * benchtests/cos-inputs: Likewise.
2334 * benchtests/cosh-inputs: Likewise.
2335 * benchtests/exp-inputs: Likewise.
2336 * benchtests/log-inputs: Likewise.
2337 * benchtests/pow-inputs: Likewise.
2338 * benchtests/rint-inputs: Likewise.
2339 * benchtests/sin-inputs: Likewise.
2340 * benchtests/sinh-inputs: Likewise.
2341 * benchtests/tan-inputs: Likewise.
2342 * benchtests/tanh-inputs: Likewise.
2343 * scripts/bench.pl: Add support for new directives.
2344
9ec1b13d
AM
23452013-10-07 Alan Modra <amodra@gmail.com>
2346
2347 * README: Fix careless merge.
2348
8b7d57cd
AM
23492013-10-05 Alan Modra <amodra@gmail.com>
2350
2351 * NEWS: Mention powerpc64le support and bugs fixed.
2352 * README: Both big-endian and little-endian powerpc64 supported.
2353
7b7bab13
ST
23542013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2355
2356 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2357 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2358 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2359 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2360
d39baad1
RA
23612013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2362
2363 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2364 match prototype.
2365
cd78f7e7
JM
23662013-10-04 Joseph Myers <joseph@codesourcery.com>
2367
29d73d86
JM
2368 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2369 Move -mhard-float appending from
2370 ports/sysdeps/powerpc/powerpc32/Makefile.
2371 [$(with-fp) = yes] (ASFLAGS): Likewise.
2372 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2373 * sysdeps/powerpc/nofpu: Move directory from
2374 ports/sysdeps/powerpc/nofpu.
2375 * sysdeps/powerpc/soft-fp: Move directory from
2376 ports/sysdeps/powerpc/soft-fp.
2377 * sysdeps/powerpc/powerpc32/405: Move directory from
2378 ports/sysdeps/powerpc/powerpc32/405.
2379 * sysdeps/powerpc/powerpc32/440: Move directory from
2380 ports/sysdeps/powerpc/powerpc32/440.
2381 * sysdeps/powerpc/powerpc32/464: Move directory from
2382 ports/sysdeps/powerpc/powerpc32/464.
2383 * sysdeps/powerpc/powerpc32/476: Move directory from
2384 ports/sysdeps/powerpc/powerpc32/476.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2386 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2388 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2390 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2392 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2394 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2395 * README: Update for powerpc-*-linux-gnu software floating point
2396 support in libc.
2397
e246b347
JM
2398 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2399 case to powerpc/powerpc32*.
2400 * sysdeps/unix/sysv/linux/configure: Regenerated.
2401
89c2003e
JM
2402 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2403 (_FPU_MASK_OM): Define as 0x04.
2404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2406 0x00c10080.
2407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2408 0x0000003c.
2409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2410
cd78f7e7
JM
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2412 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2413 getcontext_e500.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2415 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2416 setcontext_e500.
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2418 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2419 and setcontext_e500.
2420
c755294d
CL
24212013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2422
2423 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2424
e16d221c
SP
24252013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2426
2427 * manual/threads.texi (Default Thread Attributes): Fix typo.
2428
215c7d43
WN
24292013-10-04 Will Newton <will.newton@linaro.org>
2430
2431 * malloc/Makefile: Add tst-memalign.
2432 * malloc/tst-memalign.c: New file.
2433
27d0461b
WN
2434 * malloc/tst-posix_memalign.c: Add comments.
2435 (do_test): Add comments and call free on all potentially
2436 allocated pointers. Add space after cast.
2437
1bc92709
WN
2438 * malloc/tst-pvalloc.c: Add comments.
2439 (do_test): Add comments and call free on all potentially
2440 allocated pointers. Remove duplicate check for NULL pointer.
2441 Add space after cast.
2442
66a9be9d
WN
2443 * malloc/tst-valloc.c: Add comments.
2444 (do_test): Add comments and call free on all potentially
2445 allocated pointers. Remove duplicate check for NULL pointer.
2446 Add space after cast.
2447
4cb81307
AM
24482013-10-04 Alan Modra <amodra@gmail.com>
2449
2450 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2451 Use stdint types in rather than __attribute__((mode())).
2452 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2453
f8e3e9f3
AM
24542013-10-04 Alan Modra <amodra@gmail.com>
2455
2456 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2457 Correct handling of unaligned relocs for little-endian.
2458 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2459
8f9ebb08
AM
24602013-10-04 Alan Modra <amodra@gmail.com>
2461
2462 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2463 * configure: Regenerate.
2464 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2465 * shlib-versions: Likewise.
2466
0edf96c2
AM
24672013-10-04 Alan Modra <amodra@gmail.com>
2468
2469 * string/tester.c (test_memrchr): Increment reported test cycle.
2470
e0f7a380
AM
24712013-10-04 Alan Modra <amodra@gmail.com>
2472
2473 * string/test-memcpy.c (do_one_test): When reporting errors, print
2474 string address and don't overrun end of string.
2475
466b0393
AM
24762013-10-04 Alan Modra <amodra@gmail.com>
2477
2478 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2479 insrdi. Make better use of reg selection to speed exit slightly.
2480 Schedule entry path a little better. Remove useless "are we done"
2481 checks on entry to main loop. Handle wrapping around zero address.
2482 Correct main loop count. Handle single left-over word from main
2483 loop inline rather than by using loop_small. Remove extra word
2484 case in loop_small caused by wrong loop count. Add little-endian
2485 support.
2486 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2487 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2488 cache hint.
2489 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2490 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2491 support. Avoid rlwimi.
2492 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2493
3be87c77
AM
24942013-10-04 Alan Modra <amodra@gmail.com>
2495
2496 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2497 insrdi. Formatting.
3be87c77
AM
2498 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2499 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2500 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2501 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2502 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2503 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2504
759cfef3
AM
25052013-10-04 Alan Modra <amodra@gmail.com>
2506
2507 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2508 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2509 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2510 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2511 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2512 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2513 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2514 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2515 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2516 use of regs. Use power7 mtocrf. Tidy function tails.
2517
fe6e95d7
AM
25182013-10-04 Alan Modra <amodra@gmail.com>
2519
2520 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2521 Formatting. Consistently use rXXX register defines or rN defines.
2522 Use early exit labels that avoid restoring unused non-volatile regs.
2523 Make cr field use more consistent with rWORDn compares. Rename
2524 regs used as shift registers for unaligned loop, using rN defines
2525 for short lifetime/multiple use regs.
2526 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2527 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2528 addi 1,1,64 to pop stack frame. Simplify return value code.
2529 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2530
664318c3
AM
25312013-10-04 Alan Modra <amodra@gmail.com>
2532
2533 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2534 support. Correct typos, formatting. Optimize tail. Use insrdi
2535 rather than rlwimi.
2536 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2537 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2538 little-endian support. Correct typos.
2539 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2540 rather than rlwimi.
2541 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2542 in loop and entry code to keep "and." results.
2543 (strchr): Add little-endian support. Comment. Move cntlzd
2544 earlier in tail.
2545 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2546
43b84013
AM
25472013-10-04 Alan Modra <amodra@gmail.com>
2548
2549 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2550 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2551 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2552 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2553
8a7413f9
AM
25542013-10-04 Alan Modra <amodra@gmail.com>
2555
2556 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2557 (rTMP): Define as r11.
2558 (strcmp): Add little-endian support. Optimise tail.
2559 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2560 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2561 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2562 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2563 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2564 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2566
33ee81de
AM
25672013-10-04 Alan Modra <amodra@gmail.com>
2568
2569 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2570 little-endian support. Remove unnecessary "are we done" tests.
2571 Handle "s" wrapping around zero and extremely large "size".
2572 Correct main loop count. Handle single left-over word from main
2573 loop inline rather than by using small_loop. Correct comments.
2574 Delete "zero" tail, use "end_max" instead.
2575 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2576
db9b4570
AM
25772013-10-04 Alan Modra <amodra@gmail.com>
2578
2579 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2580 support. Don't branch over align.
2581 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2582 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2583 support. Rearrange tmp reg use to suit. Comment.
2584 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2585
f7c399cf
AM
25862013-10-04 Alan Modra <amodra@gmail.com>
2587
2588 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2589
0b2c2ace
AM
25902013-10-04 Alan Modra <amodra@gmail.com>
2591
2592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2593 conditional form of branch and link when obtaining pc.
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2595
02f04a6c
AM
25962013-10-04 Alan Modra <amodra@gmail.com>
2597
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2599 HIWORD/LOWORD.
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2602
9b874b2f
AM
26032013-10-04 Alan Modra <amodra@gmail.com>
2604
2605 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2606 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2607 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2608 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2609 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2610 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2611 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2612 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2613 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2614 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2615
be1e5d31
AB
26162013-10-04 Anton Blanchard <anton@au1.ibm.com>
2617 Alistair Popple <alistair@ozlabs.au.ibm.com>
2618 Alan Modra <amodra@gmail.com>
2619
2620 [BZ #15723]
2621 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2622 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2623 _dl_hwcap access for little-endian.
2624 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2625 destroy vmx regs when saving unaligned.
2626 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2627 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2628 destroy vmx regs when saving unaligned.
2629
fef13a78
AM
26302013-10-04 Alan Modra <amodra@gmail.com>
2631
2632 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2633 Don't use a union to pack hi/low value.
2634
76a66d51
AB
26352013-10-04 Anton Blanchard <anton@au1.ibm.com>
2636
2637 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2638 for little-endian.
2639 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2640 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2641 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2642 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2643 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2644
6a31fe7f
AM
26452013-10-04 Alan Modra <amodra@gmail.com>
2646
2647 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2648 constants to usual value for .cst8 section, and remove redundant
2649 high address load.
2650 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2651 constant for 0x1p52. Load little-endian words of double from
2652 correct stack offsets.
2653
7b88401f
AM
26542013-10-04 Alan Modra <amodra@gmail.com>
2655
2656 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2657 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2658 words of double from correct stack offsets.
2659 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2660 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2661 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2662 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2663 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2665 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2666 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2667 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2668 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2669 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2670 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2671 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2672 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2673 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2674 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2675 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2676
9c008155
AM
26772013-10-04 Alan Modra <amodra@gmail.com>
2678
2679 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2680 64-bit int/double union.
2681 (_FPU_SETCW): Likewise.
2682 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2683 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2684
da13146d
AM
26852013-10-04 Alan Modra <amodra@gmail.com>
2686
2687 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2688 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2689
603e8410
AM
26902013-10-04 Alan Modra <amodra@gmail.com>
2691
2692 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2693 use vector int constants.
2694 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2695
4a28b3ca
AB
26962013-10-04 Anton Blanchard <anton@au1.ibm.com>
2697
2698 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2699 array with long long.
2700 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2701 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2702 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2703 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2704 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2705 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2706 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2707 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2708 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2709 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2710 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2711 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2712 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2713
2ca85d2b
AB
27142013-10-04 Anton Blanchard <anton@au1.ibm.com>
2715
2716 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2717 (__signbit): Likewise. Correct for little-endian.
2718 (__signbitl): Call __signbit.
2719 (lrint): Correct for little-endian.
2720 (lrintf): Call lrint.
2721
62a728ae
AM
27222013-10-04 Alan Modra <amodra@gmail.com>
2723
2724 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2725 union 32-bit int array member with 64-bit int array.
2726 (t515, tm256): Double rather than long double.
2727 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2728
32c301df
AM
27292013-10-04 Alan Modra <amodra@gmail.com>
2730
2731 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2732 Delete.
2733 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2734 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2735 version of math_ldbl.h.
2736
650ef4bd
AM
27372013-10-04 Alan Modra <amodra@gmail.com>
2738
2739 [BZ #15734], [BZ #15735]
2740 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2741 all uses of ieee875 long double macros and unions. Simplify test
2742 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2743 ldbl_extract_mantissa value for ix,iy exponents. Properly
2744 normalize after ldbl_extract_mantissa, and don't add hidden bit
2745 already handled. Don't treat low word of ieee854 mantissa like
2746 low word of IBM long double and mask off bit when testing for
2747 zero.
2748 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2749 all uses of ieee875 long double macros and unions. Simplify tests
2750 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2751 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2752 two1022, instead use their values. Recognise that tests for large
2753 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2754 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2755 Rewrite all uses of ieee875 long double macros and unions. Simplify
2756 test for 0.0L and nan. Correct negation.
2757 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2758 ieee875 long double macros and unions. Correct output for large
2759 magnitude x. Correct absolute value calculation.
2760 (__erfcl): Likewise.
2761 * math/libm-test.inc: Add tests for errors discovered in IBM long
2762 double versions of fmodl, remainderl, erfl and erfcl.
2763
765714ca
AM
27642013-10-04 Alan Modra <amodra@gmail.com>
2765
2766 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2767 all uses of ieee854 long double macros and unions. Simplify tests
2768 for long doubles that are fully specified by the high double.
2769 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2770 Likewise.
2771 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2772 Remove dead code too.
2773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2774 (__ieee754_ynl): Likewise.
2775 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2776 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2777 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2778 Remove dead code too.
2779 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2780 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2782 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2783 Simplify.
2784 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2785 Simplify.
2786 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2787 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2788 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2789 Comment on variable precision.
2790 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2791 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2792 Likewise.
2793 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2794 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2795 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2796 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2797 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2798
4ebd120c
AM
27992013-10-04 Alan Modra <amodra@gmail.com>
2800
2801 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2802 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2803 all uses of ieee854 long double macros and unions.
2804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2805 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2806 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2807 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2808 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2809 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2810 Likewise.
2811 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2812 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2813 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2814 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2815 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2816 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2817 Simplify sign and nan test too.
2818 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2819 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2820 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2821 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2822 Likewise.
2823 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2824 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2825 Likewise.
2826 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2827 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2828 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2829 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2831 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2832
1b6adf88
AM
28332013-10-04 Alan Modra <amodra@gmail.com>
2834
2835 * stdio-common/printf_size.c (__printf_size): Don't use
2836 union ieee854_long_double in fpnum union.
2837 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2838 signbit macro to retrieve sign from long double.
2839 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2840 retrieve sign from long double.
2841 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2842 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2843 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2844 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2845 * math/test-misc.c (main): Don't use union ieee854_long_double.
2846
4cf69995
AM
28472013-10-04 Alan Modra <amodra@gmail.com>
2848
2849 [BZ #15680]
2850 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2851 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2852 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2853 calculation. Remove unnecessary test for denormal exponent.
2854 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2855 Correct handling of denormals. Avoid undefined shift behaviour.
2856 Correct normalisation of low mantissa when low double is denormal.
2857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2858 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2859 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2860 Correct normalisation of low mantissa. Test for overflow of high
2861 mantissa and normalise.
2862 (ldbl_nearbyint): Use more readable constant for two52.
2863 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2864 (__mpn_construct_long_double): Fix test for overflow of high
2865 mantissa and correct normalisation. Avoid undefined shift.
2866
9605ca6c
AM
28672013-10-04 Alan Modra <amodra@gmail.com>
2868
2869 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2870 (union ibm_extended_long_double): Define as an array of ieee754_double.
2871 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2872 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2873 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2874 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2875 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2876 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2878 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2879 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2880 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2881 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2882
975569d0
JM
28832013-10-03 Joseph Myers <joseph@codesourcery.com>
2884
d3d23756
JM
2885 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2886 page size instead of calling getpagesize.
2887
975569d0
JM
2888 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2889 (LOCFILE_ALIGN_MASK): Likewise.
2890 (LOCFILE_ALIGN_UP): Likewise.
2891 (LOCFILE_ALIGNED_P): Likewise.
2892 * locale/programs/ld-collate.c (collate_output): Use the new
2893 macros instead of __alignof__ (int32_t).
2894 * locale/weight.h (findidx): Likewise.
2895
b1fe1f2b
OB
28962013-10-03 Ondřej Bílka <neleai@seznam.cz>
2897
2898 [BZ #431]
2899 * manual/string.texi: Fix strncat and wcsncat.
2900
5f855e35
BM
29012013-10-03 Brooks Moses <bmoses@google.com>
2902
2903 [BZ #15915]
2904 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2905 * Makerules: ...here, and adjust associated comments.
2906
3cef6009
WN
29072013-10-02 Will Newton <will.newton@linaro.org>
2908
2909 * malloc/Makefile: Add tst-pvalloc.
2910 * malloc/tst-pvalloc.c: New file.
2911
7815420b
WN
29122013-10-02 Will Newton <will.newton@linaro.org>
2913
2914 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2915 improve test coverage.
2916
4868b204
WN
29172013-10-02 Will Newton <will.newton@linaro.org>
2918
2919 * malloc/Makefile: Add tst-posix_memalign.
2920 * malloc/tst-posix_memalign.c: New file.
2921
29c793b3
EB
29222013-10-01 Eric Blake <eblake@redhat.com>
2923
2924 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2925 Use __THROWNL rather than __THROW on static functions.
2926
fd967522
PM
29272013-09-30 Petr Machata <pmachata@redhat.com>
2928
2929 * elf/elf.h (R_AARCH64_ABS16): New macro.
2930 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2931 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2932 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2933 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2934 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2935 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2936 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2937 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2938 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2939 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2940 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2941 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2942 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2943 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2944 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2945 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2946 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2947 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2948 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2949 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2950 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2951 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2952 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2953 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2954 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2955 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2956 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2957 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2958 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2959 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2960 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2961 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2962 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2963 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2964 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2965 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2966 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2967 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2968 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2969 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2970 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2971 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2972 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2973 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2974 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2975 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2976 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2977 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2978 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2979 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2980 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2981 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2982 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2983 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2984 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2985 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2986 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2987 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2988 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2989 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2990 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2991 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2992 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2993 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2994 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2995 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2996 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2997 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2998 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2999 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3000 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3001 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3002 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3003 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3004 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3005 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3006 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3007 (R_AARCH64_TLSDESC_LDR): Likewise.
3008 (R_AARCH64_TLSDESC_ADD): Likewise.
3009 (R_AARCH64_TLSDESC_CALL): Likewise.
3010
b2179107
AS
30112013-09-30 Andreas Schwab <schwab@suse.de>
3012
3013 [BZ #15048]
3014 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3015 the nss database lookup.
3016 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3018
47f28d0a
MF
30192013-09-28 Mike Frysinger <vapier@gentoo.org>
3020
3021 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3022
30232013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3024
3025 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3026 ${Bash-specific parameter/pattern/string} parameter expansion.
3027 * sysdeps/unix/make-syscalls.sh: Likewise.
3028
f4518a17
KK
30292013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3030
3031 * sysdeps/sh/stackguard-macros.h: New file.
3032
dc1a95c7
OB
30332013-09-26 Ondřej Bílka <neleai@seznam.cz>
3034
3035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3036 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3037 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3038 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3039 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3040 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3041
5ebbff8f
AZ
30422013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3043
3044 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3045 Fix thread ID register.
3046
4fd2cf9f
JM
30472013-09-25 Joseph Myers <joseph@codesourcery.com>
3048
3049 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3050 [POSIX || UNIX98]: Require rather than permitting all symbols from
3051 <time.h>.
3052 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3053 element of struct sched_param.
3054 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3055 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3056 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3057 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3058 constant.
3059
12c22bc4
OL
30602013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3061
3062 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3063 argument calculation.
3064
a03d8ea7
JM
30652013-09-24 Joseph Myers <joseph@codesourcery.com>
3066
3067 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3068 Expect macro.
3069 [POSIX] (pthread_attr_t): Do not require type.
3070 [POSIX] (pthread_cond_t): Likewise.
3071 [POSIX] (pthread_condattr_t): Likewise.
3072 [POSIX] (pthread_key_t): Likewise.
3073 [POSIX] (pthread_mutex_t): Likewise.
3074 [POSIX] (pthread_mutexattr_t): Likewise.
3075 [POSIX] (pthread_once_t): Likewise.
3076 [POSIX] (pthread_t): Likewise.
3077 [POSIX-based standards] (pthread_atfork): Expect function.
3078
6055173a
JM
30792013-09-24 Joseph Myers <joseph@codesourcery.com>
3080 Richard Sandiford <richard@codesourcery.com>
3081
3082 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3083 (swap_endianness_p): New extern variable.
3084 (set_big_endian): New inline function.
3085 (maybe_swap_uint32): Likewise.
3086 (maybe_swap_uint32_array): Likewise.
3087 (maybe_swap_uint32_obstack): Likewise.
3088 * locale/programs/locfile.c: Include <stdbool.h>.
3089 (swap_endianness_p): New variable.
3090 (add_locale_uint32): Call maybe_swap_uint32.
3091 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3092 (write_locale_data): Call maybe_swap_uint32_array.
3093 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3094 maybe_swap_uint32.
3095 (obstack_int32_grow_fast): Likewise.
3096 (output_weightwc): Call maybe_swap_uint32_obstack.
3097 (collate_output): Likewise.
3098 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3099 (OPT_LITTLE_ENDIAN): Likewise.
3100 (options): Add --little-endian and --big-endian options.
3101 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3102 * locale/programs/locarchive.c: Include "locfile.h".
3103 (GET): New macro.
3104 (SET): Likewise.
3105 (INC): Likewise.
3106 (create_archive): Use the new macros to access fields of
3107 structures directly mapped from or written to locale archives.
3108 (oldlocrecentcmp): Likewise.
3109 (enlarge_archive): Likewise.
3110 (insert_name): Likewise.
3111 (add_alias): Likewise.
3112 (add_locale): Likewise.
3113 (delete_locales_from_archive): Likewise.
3114 (show_archive_content): Likewise.
3115 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3116 locale data.
3117
39bf0bb4
RM
31182013-09-24 Roland McGrath <roland@hack.frob.com>
3119
3120 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3121 http://www.gnu.org/doc/freemanuals.texi.
3122 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3123
f02eed10
WN
31242013-09-24 Will Newton <will.newton@linaro.org>
3125
3126 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3127 macro.
3128
a3a6c312
JM
31292013-09-23 Joseph Myers <joseph@codesourcery.com>
3130
3131 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3132 unsigned char.
3133
107375ac
MR
31342013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3135
3136 * manual/threads.texi (POSIX Threads): Fix a typo.
3137
141f3a77
SP
31382013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3139
303e567a
SP
3140 [BZ #14547]
3141 * string/tst-strcoll-overflow.c: New test case.
3142 * string/Makefile (xtests): Add tst-strcoll-overflow.
3143 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3144 cache if string sizes may cause integer overflow.
3145
141f3a77
SP
3146 [BZ #14547]
3147 * string/strcoll_l.c (coll_seq): New members rule, idx,
3148 save_idx and back_us.
3149 (get_next_seq_nocache): New function.
3150 (do_compare_nocache): New function.
3151 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3152 when malloc fails.
3153
c61b4d41
CD
31542013-09-23 Carlos O'Donell <carlos@redhat.com>
3155
0b1f8e35
CD
3156 [BZ #15754]
3157 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3158 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3159 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3160
c61b4d41
CD
3161 [BZ #15754]
3162 * elf/Makefile (tests): Add tst-ptrguard1.
3163 (tests-static): Add tst-ptrguard1-static.
3164 (tst-ptrguard1-ARGS): Define.
3165 (tst-ptrguard1-static-ARGS): Define.
3166 * elf/tst-ptrguard1.c: New file.
3167 * elf/tst-ptrguard1-static.c: New file.
3168 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3169 * sysdeps/i386/stackguard-macros.h: Likewise.
3170 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3171 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3172 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3173 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3174 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3175 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3176
31772013-09-23 Hector Marco <hecmargi@upv.es>
3178 Ismael Ripoll <iripoll@disca.upv.es>
3179 Carlos O'Donell <carlos@redhat.com>
3180
3181 [BZ #15754]
3182 * sysdeps/generic/stackguard-macros.h: Define
3183 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3184 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3185 Define __pointer_chk_guard_local.
3186 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3187 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3188
f5f4e7b4
VV
31892013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3190
3191 [BZ #15859]
3192 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3193
5bb43a43
AS
31942013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3195
3196 * include/string.h (__ffs): Declare as hidden.
3197 * string/ffs.c (__ffs): Define as hidden.
3198 * sysdeps/i386/ffs.c (__ffs): Likewise.
3199 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3200 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3201 * sysdeps/s390/ffs.c (__ffs): Likewise.
3202 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3203
3ea5be54
AO
32042013-09-20 Alexandre Oliva <aoliva@redhat.com>
3205
ffb89e53
AO
3206 * NEWS: Mention malloc probes.
3207
322dea08
AO
3208 * malloc/arena.c (new_heap): New memory_heap_new probe.
3209 (grow_heap): New memory_heap_more probe.
3210 (shrink_heap): New memory_heap_less probe.
3211 (heap_trim): New memory_heap_free probe.
3212 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3213 (systrim): New memory_sbrk_less probe.
3214 * manual/probes.texi: Document them.
3215
655673f3
AO
3216 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3217 * manual/probes.texi: Document it.
3218
35fed6f1
AO
3219 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3220 (__libc_realloc): Add memory_realloc_retry probe.
3221 (__libc_memalign): Add memory_memalign_retry probe.
3222 (__libc_valloc): Add memory_valloc_retry probe.
3223 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3224 (__libc_calloc): Add memory_calloc_retry probe.
3225 * manual/probes.texi: Document them.
3226
6999d38c
AO
3227 * malloc/arena.c (get_free_list): Add probe
3228 memory_arena_reuse_free_list.
3229 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3230 and memory_arena_reuse.
3231 (arena_get2) [!PER_THREAD]: Likewise.
3232 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3233 memory_arena_reuse_realloc.
3234 * manual/probes.texi: Document them.
3235
0653427f
AO
3236 * malloc/malloc.c (__libc_free): Add
3237 memory_mallopt_free_dyn_thresholds probe.
3238 (__libc_mallopt): Add multiple memory_mallopt probes.
3239 * manual/probes.texi: Document them.
3240
3ea5be54
AO
3241 * malloc/malloc.c: Include stap-probe.h.
3242 (__libc_mallopt): Add memory_mallopt probe.
3243 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3244 * manual/probes.texi: New.
3245 * manual/Makefile (chapters): Add probes.
3246 * manual/threads.texi: Set next node.
3247
e35696c3 32482013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3249
e35696c3
CL
3250 [BZ #15963, #13985]
3251 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3252 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3253 Add `Chinese' to `nan' entry name.
3254
4aafb73c
SP
32552013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3256
3257 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3258 (POLYNOMIAL): Likewise.
3259 (TAYLOR_SINCOS): Likewise.
3260 (TAYLOR_SLOW): Likewise.
3261 (__sin): Use TAYLOR_SINCOS.
3262 (__cos): Likewise.
3263 (slow): Use TAYLOR_SLOW.
3264 (sloww): Likewise.
3265 (bsloww): Likewise.
3266 (csloww): Likewise.
3267
d84f25c7
LD
32682013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3269
3270 * stdlib/strtod_l.c: Fix buffer overrun.
3271
5eea0404
SP
32722013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3273
7849ff93
SP
3274 * benchtests/Makefile (bench): Add sincos.
3275 * benchtests/bench-sincos.c: New file.
3276
cfa3c886
SP
3277 * math/libm-test.inc (cos_test_data): New test inputs.
3278 (sin_test_data): Likewise.
3279
b348e1e3
SP
3280 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3281 macro.
3282 (__sin): Use it.
3283 (__cos): Likewise.
3284 (slow1): Likewise.
3285 (slow2): Likewise.
3286 (sloww1): Likewise.
3287 (sloww2): Likewise.
3288 (bsloww1): Likewise.
3289 (bsloww2): Likewise.
3290 (cslow2): Likewise.
3291 (csloww1): Likewise.
3292 (csloww2): Likewise.
3293
6cce25f8
SP
3294 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3295 function.
3296 (__sin): Use it.
3297 (__cos): Likewise.
3298
5eea0404
SP
3299 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3300 gotos.
3301 (__cos): Likewise.
3302
9c21573c
MR
33032013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3304
3305 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3306 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3307 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3308 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3309 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3310 * elf/cache.c (print_entry): Handle the new cache flags.
3311
24d22e65
JM
33122013-09-18 Joseph Myers <joseph@codesourcery.com>
3313 Aldy Hernandez <aldyh@redhat.com>
3314
3315 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3316 Change condition to [_SOFT_FLOAT].
3317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3329 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3332 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3333 declaration.
3334
d13ef066
JM
33352013-09-18 Joseph Myers <joseph@codesourcery.com>
3336
2e071de0
JM
3337 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3338 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3339 (__longjmp): Use LOAD_GP to load saved GPRs.
3340 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3341 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3342 (__sigsetjmp): Use SAVE_GP to save GPRs.
3343
d13ef066
JM
3344 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3345 Do not append -msoft-float.
3346 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3347
97a0650b
SP
33482013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3349
3350 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3351
11ca09e9
JM
33522013-09-17 Joseph Myers <joseph@codesourcery.com>
3353
3354 [BZ #15966]
3355 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3356 (_FPU_GETCW): Use initial "__" on variable and field names but not
3357 on macro parameter name.
3358 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3359 parentheses around reference to macro parameter.
3360
08ffcf34
RS
33612013-09-13 Richard Sandiford <richard@codesourcery.com>
3362
3363 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3364 prototype.
3365 (ctype_startup): Use uint32_t in cast and sizeof for
3366 ctype->charnames.
3367
ae7080d3
JL
33682013-09-11 Jia Liu <proljc@gmail.com>
3369
3370 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3371 __daddr_t_defined.
3372 [__FreeBSD__]: Likewise.
3373
5905e7b3
OB
33742013-09-11 Ondřej Bílka <neleai@seznam.cz>
3375
3376 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3377 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3378 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3379 (strchr): Remove __strchr_sse42 ifunc selection.
3380 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3381 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3382
b987c776
WN
33832013-09-11 Will Newton <will.newton@linaro.org>
3384
3385 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3386 parameter to RES. Remove hardcoded 1000 value.
3387 * benchtests/bench-skeleton.c (main): Pass RES parameter
3388 to TIMING_INIT and multiply result by 1000.
3389
ddf985af
AZ
33902013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3391
3392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3393
ffdd3181
AS
33942013-09-11 Andreas Schwab <schwab@suse.de>
3395
3396 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3397 if not defined.
3398 (O_TMPFILE) [__USE_GNU]: Define.
3399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3400 Define.
3401
b73ed247
WN
34022013-09-11 Will Newton <will.newton@linaro.org>
3403
3404 [BZ #15857]
3405 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3406 does not overflow.
3407
55e17aad
WN
34082013-09-11 Will Newton <will.newton@linaro.org>
3409
3410 [BZ #15856]
3411 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3412 does not overflow.
3413
1159a193
WN
34142013-09-11 Will Newton <will.newton@linaro.org>
3415
3416 [BZ #15855]
3417 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3418 does not overflow.
3419
5905e7b3 34202013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3421
3422 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3423 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3424 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3425 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3426 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3427
cdfc721b
AM
34282013-09-10 Allan McRae <allan@archlinux.org>
3429
aa04af00
AM
3430 [BZ #15748]
3431 * manual/arith.texi (Parsing of Floats): Clarify
3432 cross-reference.
3433
cdfc721b
AM
3434 [BZ #15849]
3435 * manual/install.texi (Running make install): Mention
3436 --enable-pt-chown.
3437 * INSTALL: Regenerated.
3438
95e7cf29
MR
34392013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3440
3441 * csu/init-first.c (_init): Remove the !SHARED condition around
3442 FPU control word initialization.
3443 * elf/dl-support.c (_dl_fpu_control): New variable.
3444 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3445 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3446 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3447 * math/test-fpucw-static.c: New file.
3448 * math/test-fpucw-ieee.c: New file.
3449 * math/test-fpucw-ieee-static.c: New file.
3450 * math/Makefile (tests): Add `test-fpucw-ieee' and
3451 `$(tests-static)'.
3452 (tests-static): New variable.
3453 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3454 dependency to...
3455 [($(build-shared),yes)]
3456 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3457 ... this.
3458 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3459 New dependency.
3460
83e43bf0
AM
34612013-09-09 Allan McRae <allan@archlinux.org>
3462
a9f5ce09
AM
3463 [BZ #15939]
3464 * manual/string.texi (Collation Functions): Fix typo in
3465 strcoll example.
3466 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3467
34829bc2
AM
3468 [BZ #15893]
3469 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3470
3932737d
AM
3471 [BZ #15892]
3472 * libio/memstream.c (open_memstream): Fix memory leak.
3473 * libio/wmemstream.c (open_wmemstream): Likewise.
3474
83e43bf0
AM
3475 [BZ #15895]
3476 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3477
0c66b8e9
WN
34782013-09-09 Will Newton <will.newton@linaro.org>
3479
3480 * malloc/Makefile: Add tst-realloc to tests.
3481 * malloc/tst-realloc.c: New file.
3482
f6b00fd1
AM
34832013-09-09 Allan McRae <allan@archlinux.org>
3484
3485 [BZ #15844]
3486 * COPYING: Update from GNU website to fix FSF address.
3487 * COPYING.LIB: Likewise.
3488
eec55e16
DM
34892013-09-06 David S. Miller <davem@davemloft.net>
3490
3491 * po/zh_TW.po: Update Chinese (traditional) translation from
3492 translation project.
3493
1ecbb381
RS
34942013-09-06 Richard Sandiford <richard@codesourcery.com>
3495 Joseph Myers <joseph@codesourcery.com>
3496
3497 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3498 "localeinfo.h".
3499 (obstack_chunk_alloc): New macro.
3500 (obstack_chunk_free): Likewise.
3501 (record_offset): New function.
3502 (init_locale_data): Likewise.
3503 (align_locale_data): Likewise.
3504 (add_locale_empty): Likewise.
3505 (add_locale_raw_data): Likewise.
3506 (add_locale_raw_obstack): Likewise.
3507 (add_locale_string): Likewise.
3508 (add_locale_wstring): Likewise.
3509 (add_locale_uint32): Likewise.
3510 (add_locale_uint32_array): Likewise.
3511 (add_locale_char): Likewise.
3512 (start_locale_structure): Likewise.
3513 (end_locale_structure): Likewise.
3514 (start_locale_prelude): Likewise.
3515 (end_locale_prelude): Likewise.
3516 (write_locale_data): Take locale_file structure rather than an
3517 iovec.
3518 * locale/programs/locfile.h: Include "obstack.h".
3519 (struct locale_file): Change to store locale file contents instead
3520 of header.
3521 (init_locale_data): New prototype.
3522 (align_locale_data): Likewise.
3523 (add_locale_empty): Likewise.
3524 (add_locale_raw_data): Likewise.
3525 (add_locale_raw_obstack): Likewise.
3526 (add_locale_string): Likewise.
3527 (add_locale_wstring): Likewise.
3528 (add_locale_uint32): Likewise.
3529 (add_locale_uint32_array): Likewise.
3530 (add_locale_char): Likewise.
3531 (start_locale_structure): Likewise.
3532 (end_locale_structure): Likewise.
3533 (start_locale_prelude): Likewise.
3534 (end_locale_prelude): Likewise.
3535 (write_locale_data): Update prototype.
3536 * locale/programs/3level.h (struct TABLE): Remove result field.
3537 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3538 Use new locale_file interface.
3539 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3540 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3541 * locale/programs/ld-address.c (address_output): Use new
3542 locale_file interface.
3543 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3544 NO_ADD_LOCALE.
3545 (collate_finish): Don't call collseq_table_finalize.
3546 (collate_output): Use new locale_file interface.
3547 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3548 in file.
3549 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3550 (TABLE): Move defines earlier in file.
3551 (ELEMENT): Likewise.
3552 (DEFAULT): Likewise.
3553 (wctrans_table_add): Move macro and inline function earlier in
3554 file.
3555 (struct wctype_table): Move type earlier in file.
3556 (add_locale_wctype_table): New static prototype.
3557 (struct locale_ctype_t): Use logical types instead of struct iovec
3558 pointers for members.
3559 (ctype_output): Use new locale_file interface.
3560 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3561 new locale_file interface.
3562 (allocate_arrays): Update for use of new locale_file interface.
3563 * locale/programs/ld-identification.c (identification_output): Use
3564 new locale_file interface.
3565 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3566 * locale/programs/ld-messages.c (messages_output): Likewise.
3567 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3568 * locale/programs/ld-name.c (name_output): Likewise.
3569 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3570 * locale/programs/ld-paper.c (paper_output): Likewise.
3571 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3572 * locale/programs/ld-time.c (time_output): Likewise.
3573
e029e2e5
AZ
35742013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3575
3576 * benchtests/Makefile: Add memrchr benchmark.
3577 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3578 benchmark as memrchr.
3579 * benchtests/bench-memrchr-ifunc.c: New file.
3580 * benchtests/bench-memrchr.c: New file.
3581
bbf6e8e4
WN
35822013-09-06 Will Newton <will.newton@linaro.org>
3583
3584 * benchtests/Makefile (string-bench): Add memcpy.
3585
6c82a2f8
CD
35862013-09-05 Carlos O'Donell <carlos@redhat.com>
3587 Cong Wang <amwang@redhat.com>
3588
3589 * sysdeps/unix/sysv/linux/bits/in.h
3590 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3591 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3592 before __USE_KERNEL_IPV6_DEFS uses.
3593 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3594 IPPROTO_BEETPH.
3595 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3596 sockaddr_in6, or ipv6_mreq.
3597
5430fc65
AZ
35982013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3599
3600 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3601 memory access for final bytes in some large inputs.
3602 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3603
4660856c
AZ
36042013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3605
3606 * string/test-memrchr.c: New file.
3607 * string/test-memrchr-ifunc.c: New file.
3608 * string/Makefile: Add new memrchr testcase.
3609
bb8ea713
MF
36102013-09-05 Mike Frysinger <vapier@gentoo.org>
3611
3612 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3613 fanotify_init returns EPERM.
3614
b92a20b5
JM
36152013-09-04 Joseph Myers <joseph@codesourcery.com>
3616
3617 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3618 errors.
3619 (top level): Treat second token from macro or constant entries for
3620 allowed headers as allowed.
3621 * include/complex.h: Condition internal declarations on
3622 [!_ISOMAC].
3623 * include/fenv.h: Condition include of <stdbool.h> and internal
3624 declarations on [!_ISOMAC].
7447ccd9
CL
3625
36262013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3627
3e181dda 3628 [BZ #15923]
7447ccd9
CL
3629 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3630
3f2e46a4
JM
36312013-09-04 Joseph Myers <joseph@codesourcery.com>
3632
3633 * configure.in (--enable-versioning): Remove configure option.
3634 (libc_cv_asm_symver_directive): Remove configure test.
3635 (libc_cv_ld_version_script_option): Likewise.
3636 (VERSIONING): Remove variable and AC_SUBST.
3637 (DO_VERSIONING): Remove AC_DEFINE.
3638 * configure: Regenerated.
3639 * config.h.in (DO_VERSIONING): Remove macro.
3640 * Makerules [$(versioning) = yes]: Change conditionals to
3641 [$(build-shared) = yes].
3642 * config.make.in (versioning): Remove variable.
3643 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3644 [$(build-shared) = yes].
3645 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3646 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3647 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3648 [$(build-shared) = yes].
3649 * extra-lib.mk [$(versioning) = yes]: Likewise.
3650 * hurd/Makefile [$(versioning) = yes]: Likewise.
3651 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3652 [SHARED].
3653 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3654 [SHARED].
3655 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3656 [SHARED && !NO_HIDDEN].
3657 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3658 [SHARED].
3659 [SHARED && DO_VERSIONING]: Likewise..
3660 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3661 [$(build-shared) = yes].
3662 * manual/install.texi (--disable-versioning): Remove
3663 documentation.
3664 * INSTALL: Regenerated.
3665 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3666 to [SHARED].
3667 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3668 [$(build-shared) = yes].
3669 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3670 * sysdeps/i386/i686/multiarch/strstr-c.c
3671 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3672 [SHARED && !NO_HIDDEN].
3673 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3674 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3675 * sysdeps/powerpc/powerpc32/dl-machine.c
3676 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3677 * sysdeps/powerpc/powerpc32/sysdep.h
3678 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3679 to [SHARED && PIC && !NO_HIDDEN].
3680 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3681 conditional to [SHARED].
3682
44558701
WN
36832013-09-04 Will Newton <will.newton@linaro.org>
3684
3685 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3686 * benchtests/bench-string.h: Include bench-timing.h instead
3687 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3688 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3689 call to HP_TIMING_DIFF_INIT.
3690 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3691 instead of hp-timing.h macros.
3692 * benchtests/bench-memchr.c: Likewise.
3693 * benchtests/bench-memcmp.c: Likewise.
3694 * benchtests/bench-memcpy.c: Likewise.
3695 * benchtests/bench-memmem.c: Likewise.
3696 * benchtests/bench-memmove.c: Likewise.
3697 * benchtests/bench-memset.c: Likewise.
3698 * benchtests/bench-rawmemchr.c: Likewise.
3699 * benchtests/bench-strcasecmp.c: Likewise.
3700 * benchtests/bench-strcasestr.c: Likewise.
3701 * benchtests/bench-strcat.c: Likewise.
3702 * benchtests/bench-strchr.c: Likewise.
3703 * benchtests/bench-strcmp.c: Likewise.
3704 * benchtests/bench-strcpy.c: Likewise.
3705 * benchtests/bench-strcpy_chk.c: Likewise.
3706 * benchtests/bench-strlen.c: Likewise.
3707 * benchtests/bench-strncasecmp.c: Likewise.
3708 * benchtests/bench-strncat.c: Likewise.
3709 * benchtests/bench-strncmp.c: Likewise.
3710 * benchtests/bench-strncpy.c: Likewise.
3711 * benchtests/bench-strnlen.c: Likewise.
3712 * benchtests/bench-strpbrk.c: Likewise.
3713 * benchtests/bench-strrchr.c: Likewise.
3714 * benchtests/bench-strspn.c: Likewise.
3715 * benchtests/bench-strstr.c: Likewise.
3716
cae16d66
WN
37172013-09-04 Will Newton <will.newton@linaro.org>
3718
3719 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3720
ffa3cd7f
JM
37212013-09-03 Joseph Myers <joseph@codesourcery.com>
3722
3723 [BZ #15427]
3724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3725 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3726 * math/libm-test.inc (lgamma_test_data): Add more tests.
3727 * sysdeps/i386/fpu/libm-test-ulps: Update.
3728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3729
8f02859f
OB
37302013-09-03 Ondřej Bílka <neleai@seznam.cz>
3731
3732 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3734 Add ifunc.
3735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3736 Add strcmp-sse2-unaligned
3737 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3738
18d43716
MF
37392013-09-02 Mike Frysinger <vapier@gentoo.org>
3740
3741 * Versions.def (libc): Add GLIBC_2.19.
3742
ac444012
MF
37432013-09-02 Mike Frysinger <vapier@gentoo.org>
3744
3745 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3746 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3747
b7835e32
JM
37482013-09-02 Joseph Myers <joseph@codesourcery.com>
3749
3750 [BZ #14155]
3751 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3752 intermediate calculations in recurrence.
3753 (__ieee754_ynf): Likewise.
3754 * math/libm-test.inc (jn_test_data): Do not allow spurious
3755 underflow exception. Add more tests.
3756 (yn_test_data): Add more tests.
3757 * sysdeps/i386/fpu/libm-test-ulps: Update.
3758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3759
8220f4f0
OB
37602013-09-02 Ondřej Bílka <neleai@seznam.cz>
3761
3762 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3763
f24a6d08
OB
37642013-08-30 Ondřej Bílka <neleai@seznam.cz>
3765
3766 * csu/init-first.c: Fix then/than typos.
3767 * locale/programs/ld-collate.c: Likewise.
3768 * locale/programs/linereader.h: Likewise.
3769 * manual/charset.texi: Likewise.
3770 * manual/filesys.texi: Likewise.
3771 * manual/stdio.texi: Likewise.
3772 * manual/string.texi: Likewise.
3773 * stdlib/fmtmsg.c: Likewise.
3774 * sysdeps/i386/stpncpy.S: Likewise.
3775 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3776 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3777 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3778 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3779
382466e0
OB
37802013-08-30 Ondřej Bílka <neleai@seznam.cz>
3781
3782 * elf/dl-open.c: Fix typos.
3783 * iconvdata/gbbig5.c: Likewise.
3784 * iconvdata/iso-2022-jp.c: Likewise.
3785 * iconv/gconv_int.h: Likewise.
3786 * iconv/loop.c: Likewise.
3787 * nis/rpcsvc/nis.h: Likewise.
3788 * resolv/ns_name.c: Likewise.
3789 * stdio-common/vfscanf.c: Likewise.
3790 * streams/stropts.h: Likewise.
3791 * sunrpc/rpc_thread.c: Likewise.
3792 * sysdeps/i386/strpbrk.S: Likewise.
3793 * sysdeps/ieee754/k_standard.c: Likewise.
3794 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3796 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3797 * sysdeps/mach/hurd/profil.c: Likewise.
3798 * sysdeps/s390/dl-procinfo.h: Likewise.
3799 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3800 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3801 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3802 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3804
0186c6e9
OB
38052013-08-30 Ondřej Bílka <neleai@seznam.cz>
3806
3807 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3809
d4e16af1
OB
38102013-08-29 Ondřej Bílka <neleai@seznam.cz>
3811
3812 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3813 aix specific files.
3814 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3815 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3816 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3817 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3818 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3820 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3821 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3822
88335980
TS
38232013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3824 Roland McGrath <roland@hack.frob.com>
3825
3826 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3827 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3828
ed479b02
ST
38292013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3830
3831 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3832 __executable_start symbol instead of _start.
3833
f1cc4c86
TS
38342013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3835
d821f07c
TS
3836 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3837 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3838 Move macros to...
3839 * sysdeps/gnu/ldsodefs.h: ... this new file.
3840
c54290cf
TS
3841 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3842 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3843 instead of ELFOSABI_LINUX.
3844
0007fc9b 3845 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3846 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3847 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3848 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3849 Likewise.
3850 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3851 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3852 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3853 Likewise.
3854 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3855 (ibm_extended_long_double): Add ieee_nan member.
3856 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3857 (do_test): New function.
3858
f1cc4c86
TS
3859 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3860 TEST_TRUNC.
3861 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3862 functions, renamed from truncdfsf_test, trunctfsf_test,
3863 trunctfdf_test.
3864 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3865 functions.
3866 (do_test): Run all these.
3867
6f65e668
OB
38682013-08-29 Ondřej Bílka <neleai@seznam.cz>
3869
3870 * argp/argp-help.c: Fix typos.
3871 * argp/argp-parse.c: Likewise.
3872 * debug/backtracesyms.c: Likewise.
3873 * elf/elf.h: Likewise.
3874 * malloc/malloc.c: Likewise.
3875 * nis/nis_print.c: Likewise.
3876 * resolv/res_comp.c: Likewise.
3877 * stdlib/stdlib.h: Likewise.
3878 * sunrpc/clnt_tcp.c: Likewise.
3879 * sunrpc/clnt_udp.c: Likewise.
3880 * sunrpc/clnt_unix.c: Likewise.
3881 * sysdeps/unix/bsd/ptsname.c: Likewise.
3882 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3883 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3885 Likewise.
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3887 Likewise.
3888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3889 Likewise.
6f65e668
OB
3890 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3891
3a309239
SP
38922013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3893
3894 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3896
3b813b29
MF
38972013-08-27 Mike Frysinger <vapier@gentoo.org>
3898
3899 [BZ #15897]
3900 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3901 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3902 ($(objpfx)bug-dl-leaf): New rule.
3903 ($(objpfx)bug-dl-leaf.so): Likewise.
3904 ($(objpfx)bug-dl-leaf.out): Likewise.
3905 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3906 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3907 * dlfcn/bug-dl-leaf.c: New test.
3908 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3909 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3910 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3911 (dlclose): Likewise.
3912 (dlmopen): Likewise.
3913
8cc3269f
RM
39142013-08-27 Roland McGrath <roland@hack.frob.com>
3915
7f9d0034
RM
3916 * include/netdb.h [!_ISOMAC]:
3917 Don't include <tls.h>.
3918 (h_errno, __libc_h_errno): Move declaration and macros out of
3919 [_LIBC_REENTRANT].
3920
fb431262
RM
3921 * include/resolv.h [_RESOLV_H_]:
3922 Don't include <tls.h>.
3923 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3924 * resolv/res_libc.c: Don't include <tls.h>.
3925 (_res): Use __attribute__ ((nocommon)) in place of
3926 __attribute__ ((section (".bss"))).
3927
bd81123a
RM
3928 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3929 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3930
c4e42566
RM
3931 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3932
f890a59b
RM
3933 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3934 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3935
3936 * resolv/res_mkquery.c: Include <sys/time.h>.
3937
5d1f0a09
RM
3938 * inet/ifreq.c: Moved to ...
3939 * sysdeps/unix/ifreq.c: ... here.
3940 * inet/ifreq.c: New file, true stub version.
3941
6fcf28b3
RM
3942 * socket/sa_len.c: New file.
3943 * socket/Makefile (aux): Add it.
3944 * sysdeps/unix/sysv/linux/Makefile
3945 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3946 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3947 and #include <socket/sa_len.c>.
3948 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3949 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3950
e041fb8b
RM
3951 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3952 * bits/socket.h: ... here.
3953
8cc3269f
RM
3954 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3955 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3956 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3957
5d228a43
AS
39582013-08-27 Andreas Schwab <schwab@suse.de>
3959
45b8accc
AS
3960 [BZ #15736]
3961 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3962 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3963 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3964 * string/test-strcasecmp.c (test_main): Run tests in several
3965 locales.
3966 * string/test-strncasecmp.c (test_main): Likewise.
3967
5d228a43
AS
3968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3969 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3970 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3972 (__strncasecmp_ssse3) [PIC]: Likewise.
3973
59d112a4
RM
39742013-08-26 Roland McGrath <roland@hack.frob.com>
3975
53234cc3
RM
3976 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3977
59d112a4
RM
3978 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3979 instead of explicitly declaring xdecrypt.
3980 * nis/nss_nis/nis-publickey.c: Likewise.
3981
595aba70
SP
39822013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3983
3984 [BZ #15890]
3985 * nscd/aicache.c: Include res_hconf.h.
3986 (addhstaiX): Initialize res_hconf.
3987
ffabd393
AS
39882013-08-26 Andreas Schwab <schwab@suse.de>
3989
3990 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3991 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3992
e0a69f5c
SP
39932013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3994
3995 * nscd/aicache.c (addhstaiX): Fix indentation.
3996
8c12f01d
MF
39972013-08-25 Mike Frysinger <vapier@gentoo.org>
3998
3999 * configure.ac: Quote $build_pt_chown test.
4000 * configure: Regenerated.
4001
8fe89494
JM
40022013-08-23 Joseph Myers <joseph@codesourcery.com>
4003
4004 [BZ #15532]
4005 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4006 * math/s_cexpf.c (__cexpf): Likewise.
4007 * math/s_cexpl.c (__cexpl): Likewise.
4008 * math/libm-test.inc (cexp_test_data): Correct expected return
4009 value for NaN + i0. Add another test.
4010
75b181d6
DM
40112013-08-22 David S. Miller <davem@davemloft.net>
4012
4013 * po/ca.po: Update Catalan translation from translation project.
936241e4 4014 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4015
acd06bb1
JM
40162013-08-21 Joseph Myers <joseph@codesourcery.com>
4017
4018 [BZ #15797]
4019 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4020 is infinite, not alongside NaN test.
4021 * math/s_fdimf.c (__fdimf): Likewise.
4022 * math/s_fdiml.c (__fdiml): Likewise.
4023 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4024 errno is unchanged.
4025
c0c3f78a
OB
40262013-08-21 Ondřej Bílka <neleai@seznam.cz>
4027
4028 * argp/argp-help.c: Fix typos.
4029 * crypt/speeds.c: Likewise.
4030 * csu/check_fds.c: Likewise.
4031 * elf/dl-load.c: Likewise.
4032 * elf/dl-open.c: Likewise.
4033 * elf/reldep3.c: Likewise.
4034 * elf/reldep.c: Likewise.
4035 * elf/sprof.c: Likewise.
4036 * iconv/iconv_charmap.c: Likewise.
4037 * iconv/skeleton.c: Likewise.
4038 * iconv/strtab.c: Likewise.
4039 * io/lockf64.c: Likewise.
4040 * libio/libioP.h: Likewise.
4041 * resolv/gai_notify.c: Likewise.
4042 * resolv/ns_name.c: Likewise.
4043 * resolv/ns_samedomain.c: Likewise.
4044 * resolv/res_send.c: Likewise.
4045 * stdlib/random.c: Likewise.
4046 * sunrpc/rpc/xdr.h: Likewise.
4047 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4048 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4049 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4050 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4051 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4052 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4054 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4055 * sysdeps/mach/hurd/check_fds.c: Likewise.
4056 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4057 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4058 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4059 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4060 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4061 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4062 * sysdeps/pthread/aio_notify.c: Likewise.
4063 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4064 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4065 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4066 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4067 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4068
46ed1038
LD
40692013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4070
4071 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4072 version if bit_Slow_SSE4_2 is set.
4073 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4074 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4075
d400dcac
AZ
40762013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4077
4078 [BZ #15867]
4079 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4080 trampoline stack frame information.
4081 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4082 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4083 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4084 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4085 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4086 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4087 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4088 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4089 sa_flags value.
4090 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4091 interrupting a syscall and set with option SA_SIGINFO.
4092
42c8fdd8
JM
40932013-08-20 Joseph Myers <joseph@codesourcery.com>
4094
c980f2f4
JM
4095 [BZ #15531]
4096 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4097 argument is infinite.
4098 * math/s_cprojf.c (__cprojf): Likewise.
4099 * math/s_cprojl.c (__cprojl): Likewise.
4100 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4101 * math/libm-test.inc (cproj_test_data): Add more tests.
4102
0716c4fc
JM
4103 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4104
42c8fdd8
JM
4105 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4106 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4107 size. Use __ffs to determine corresponding shift.
4108
b31469d0
JM
41092013-08-20 Joseph Myers <joseph@codesourcery.com>
4110 Roland McGrath <roland@hack.frob.com>
4111
4112 * Makefile (INSTALL): Remove trailing blank lines from output of
4113 makeinfo.
4114
4e39af6e
AK
41152013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4116
4117 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4118 Align 32 bit compat elf_greg to 8 bytes.
4119
f315524e
AA
41202013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4121
4122 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4123
1326ba1a
SP
41242013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4125
4126 * string/strcoll_l.c (coll_seq): New structure.
4127 (get_next_seq_cached): New function.
4128 (get_next_seq): New function.
4129 (do_compare): New function.
4130 (STRCOLL): Use GNU style definition. Simplify implementation
4131 by using get_next_seq, get_next_seq_cached and do_compare.
4132
91ce4085
FW
41332013-08-16 Florian Weimer <fweimer@redhat.com>
4134
4135 [BZ #14699]
4136 CVE-2013-4237
4137 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4138 member.
4139 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4140 member.
4141 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4142 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4143 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4144 conditional.
4145 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4146 GETDENTS_64BIT_ALIGNED.
4147 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4148 * manual/filesys.texi (Reading/Closing Directory): Document
4149 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4150 strongly.
4151 * manual/conf.texi (Limits for Files): Add portability note to
4152 NAME_MAX, PATH_MAX.
4153 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4154
ca0a6bc4
AS
41552013-08-13 Andreas Schwab <schwab@suse.de>
4156
4157 [BZ #15749]
4158 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4159 of fabs.
4160 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4161 LDBL_MAX_EXP >= 16384]: Add tests for it.
4162
6c1fd795
DM
41632013-08-12 David S. Miller <davem@davemloft.net>
4164
4165 * version.h (RELEASE): Set to "development".
4166 (VERSION): Set to "2.18.90".
4167 * NEWS: Add 2.19 section.
4168
31ad488d
DM
41692013-08-03 David S. Miller <davem@davemloft.net>
4170
4171 * po/ko.po: Update Korean translation from translation project.
4172
db24e684
DM
41732013-08-01 David S. Miller <davem@davemloft.net>
4174
4175 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4176 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4177 Bilka.
4178
f723285b
DM
41792013-07-30 David S. Miller <davem@davemloft.net>
4180
4181 * po/fr.po: Update French translation from translation project.
4182
3cbc52db
DM
41832013-07-28 David S. Miller <davem@davemloft.net>
4184
30bbc0cc
DM
4185 * po/cs.po: Update Czech translation from translation project.
4186
3cbc52db
DM
4187 * po/sv.po: Update Swedish translation from translation project.
4188
d492e6d0
DM
41892013-07-27 David S. Miller <davem@davemloft.net>
4190
f1a7f492
DM
4191 * po/eo.po: Update Esperanto translation from translation project.
4192
90e62a4a
DM
4193 * po/vi.po: Update Vietnamese translation from translation project.
4194
d492e6d0
DM
4195 * po/de.po: Update German translation from translation project.
4196
d4baa62d
DM
41972013-07-26 David S. Miller <davem@davemloft.net>
4198
641aa7b4
DM
4199 * po/bg.po: Update Bulgarian translation from translation project.
4200
d4baa62d
DM
4201 * po/nl.po: Update Dutch translation from translation project.
4202 * po/pl.po: Update Polish translation from translation project.
4203 * po/ru.po: Update Russian translation from translation project.
4204
61a9dcb9
DM
42052013-07-24 David S. Miller <davem@davemloft.net>
4206
4207 * po/libc.pot: Update.
4208
7b1f8b58
AZ
42092013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4210
4211 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4212 variable page size.
4213 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4214 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4215 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4216
a8fc7a03
AK
42172013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4218
4219 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4220
e4608715
CD
42212013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4222 Andreas Schwab <schwab@suse.de>
4223 Roland McGrath <roland@hack.frob.com>
4224 Joseph Myers <joseph@codesourcery.com>
4225 Carlos O'Donell <carlos@redhat.com>
4226
4227 [BZ #15755]
4228 * config.h.in: Define HAVE_PT_CHOWN.
4229 * config.make.in (build-pt-chown): New variable.
4230 * configure.in (--enable-pt_chown): New configure option.
4231 * configure: Regenerate.
4232 * login/Makefile: Include Makeconfig. Build pt_chown only if
4233 build-pt-chown is enabled.
4234 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4235 pt_chown to fix pty ownership.
4236 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4237 CLOSE_ALL_FDS.
4238 * manual/install.texi (Configuring and compiling): Mention
4239 --enable-pt_chown. Add @findex for grantpt.
4240 * INSTALL: Regenerate.
4241
da2d62df
DM
42422013-07-20 David S. Miller <davem@davemloft.net>
4243
4244 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4245 difference between 32-bit and 64-bit.
4246
d7e06450
CD
42472013-07-15 Carlos O'Donell <carlos@redhat.com>
4248
4249 [BZ #15711]
4250 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4251 Avoid system header dependency with -ffreestanding.
4252 ($(objpfx)bits/syscall%d): Likewise.
4253
f959cfd7
DM
42542013-07-13 David S. Miller <davem@davemloft.net>
4255
4256 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4257 underflows from atanl/atan2l due to bug 15319.
4258 (casinh_test_data): Likewise.
4259
c61f8513
DM
42602013-07-07 David S. Miller <davem@davemloft.net>
4261
4262 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4263
72c90ed0
JA
42642013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4265
4266 * sysdeps/i386/fpu/libm-test-ulps: Update.
4267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4268
52dfbe13
SP
42692013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4270
4271 * configure.in (--enable-lock-elision): Fix message text.
4272 * INSTALL: Regenerate.
4273 * configure: Regenerate.
4274
3f169543
AZ
42752013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4276
4277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4278
521c6785
AJ
42792013-07-03 Andreas Jaeger <aj@suse.de>
4280
4281 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4282 define.
4283 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4284 (ptrace_peeksiginfo_args): Add.
4285 (__ptrace_peeksiginfo_flags): Add.
4286 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4287 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4288 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4289
d2cc15cb
AM
42902013-07-03 Allan McRae <allan@archlinux.org>
4291
4292 * sysdeps/i386/fpu/libm-test-ulps: Update.
4293
3aaeeca7
DM
42942013-07-02 David S. Miller <davem@davemloft.net>
4295
4296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4297
5314ed1a
MT
42982013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4299
4300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4301
67338156
JM
43022013-07-02 Joseph Myers <joseph@codesourcery.com>
4303
4304 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4306
1717da59
AK
43072013-07-02 Andi Kleen <ak@linux.intel.com>
4308
4309 * config.h.in (ENABLE_LOCK_ELISION): Add.
4310 * configure.in (--enable-lock-elision): Add option.
4311 * manual/install.texi: Document --enable lock elision.
4312 * configure: Regenerate
4313 * INSTALL: Regenerate.
4314
1c81621c
L
43152013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4316
4317 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4318 SSE4.2 strcasecmp for libc.a.
4319 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4320
77f01ab5
JM
43212013-07-02 Joseph Myers <joseph@codesourcery.com>
4322
4323 [BZ #13304]
4324 * soft-fp/op-common.h (_FP_FMA): New macro.
4325 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4326 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4327 (_FP_MUL_MEAT_1_imm): ... here.
4328 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4329 (_FP_MUL_MEAT_1_wide): ... here.
4330 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4331 (_FP_MUL_MEAT_1_hard): ... here.
4332 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4333 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4334 (_FP_MUL_MEAT_2_wide): ... here.
4335 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4336 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4337 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4338 (_FP_MUL_MEAT_2_gmp): ... here.
4339 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4340 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4341 (_FP_MUL_MEAT_4_wide): ... here.
4342 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4343 (_FP_MUL_MEAT_4_gmp): ... here.
4344 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4345 (_FP_WFRACBITS_DW_S): Likewise.
4346 (_FP_WFRACXBITS_DW_S): Likewise.
4347 (_FP_HIGHBIT_DW_S): Likewise.
4348 (FP_FMA_S): Likewise.
4349 (_FP_FRAC_HIGH_DW_S): Likewise.
4350 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4351 (_FP_WFRACBITS_DW_D): Likewise.
4352 (_FP_WFRACXBITS_DW_D): Likewise.
4353 (_FP_HIGHBIT_DW_D): Likewise.
4354 (FP_FMA_D): Likewise.
4355 (_FP_FRAC_HIGH_DW_D): Likewise.
4356 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4357 (_FP_WFRACBITS_DW_E): Likewise.
4358 (_FP_WFRACXBITS_DW_E): Likewise.
4359 (_FP_HIGHBIT_DW_E): Likewise.
4360 (FP_FMA_E): Likewise.
4361 (_FP_FRAC_HIGH_DW_E): Likewise.
4362 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4363 (_FP_WFRACBITS_DW_Q): Likewise.
4364 (_FP_WFRACXBITS_DW_Q): Likewise.
4365 (_FP_HIGHBIT_DW_Q): Likewise.
4366 (FP_FMA_Q): Likewise.
4367 (_FP_FRAC_HIGH_DW_Q): Likewise.
4368 * soft-fp/fmasf4.c: New file.
4369 * soft-fp/fmadf4.c: Likewise.
4370 * soft-fp/fmatf4.c: Likewise.
4371
6308fd9a
LD
43722013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4373
4374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4375 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4376 Silvermont.
4377 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4378 macro.
4379 (index_Slow_SSE4_2): Likewise.
4380 (index_Prefer_PMINUB_for_stringop): Likewise.
4381 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4382 bit_Slow_SSE4_2 is set.
4383 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4384 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4385
89cd9569
RA
43862013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4387
4388 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4389 rtld_global._dl_hwcap2.
4390 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4391 POWER8.
4392 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4393 POWER8 feature descriptions defined in _dl_hwcap2.
4394 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4395 string handling for POWER8 feature bits.
4396 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4397 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4398 _dl_powerpc_cap_flags.
4399 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4400 * sysdeps/powerpc/rtld-global-offsets.sym
4401 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4402 _dl_hwcap2 in the rtld_global_ro structure.
4403
1ae8bfe0
RA
44042013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4405
4406 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4407 hardware capabilities in support of AT_HWCAP2.
4408 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4409 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4410 GLRO(dl_hwcap2).
4411 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4412 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4413 explicitly the unknown a_type display mechanism is used.
4414 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4415 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4416 struct member.
4417 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4418 to macro prototype for AT_HWCAP2 support.
4419 * sysdeps/i386/dl-procinfo.h: Likewise.
4420 * sysdeps/s390/dl-procinfo.h: Likewise.
4421 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4422 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4423 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4424 return -1 for unknown a_type display fallback.
4425 * sysdeps/sparc/dl-procinfo.h: Likewise.
4426 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4427 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4428
8fbec010
JM
44292013-06-28 Joseph Myers <joseph@codesourcery.com>
4430
4431 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4432 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4433
0432680e
PY
44342013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4435
4436 [BZ #12492]
4437 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4438 mprotect making __stack_prot writable.
4439
ce61a2ad
NF
44402013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4441 Joseph Myers <joseph@codesourcery.com>
4442
4443 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4444 as being properly aligned.
4445
f91f1c0f
MR
44462013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4447
3d0f5d0c
MR
4448 * dlfcn/modstatic5.c: New file.
4449 * dlfcn/tststatic5.c: New file.
4450 * dlfcn/Makefile (tests): Add tststatic5.
4451 (tests-static): Likewise.
4452 (modules-names): Add modstatic5.
4453 (tststatic5-ENV): New variable.
4454 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4455
f91f1c0f
MR
4456 [BZ #15022]
4457 * elf/dl-support.c (_dl_main_map): New variable.
4458 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4459 (_dl_nns, _dl_load_adds): Set to 1.
4460 (_dl_initial_searchlist): Refer to _dl_main_map.
4461 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4462 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4463 call to _dl_get_origin.
4464 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4465 around call_map.
4466 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4467 * dlfcn/modstatic3.c: New file.
4468 * dlfcn/tststatic3.c: New file.
4469 * dlfcn/tststatic4.c: New file.
4470 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4471 (tests-static): Likewise.
4472 (modules-names): Add modstatic3.
4473 (tststatic3-ENV, tststatic4-ENV): New variables.
4474 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4475 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4476
cbe7d24b
JM
44772013-06-26 Joseph Myers <joseph@codesourcery.com>
4478
4479 * configure.in (CC): Require GCC version 4.4 or later.
4480 * configure: Regenerated.
4481 * manual/install.texi (Tools for Compilation): Update GCC version
4482 requirement.
4483 * INSTALL: Regenerated.
4484
11b8a0e1
LD
44852013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4486
4487 [BZ #15674]
bb5bb87c
L
4488 * string/test-memcmp.c (check2): New.
4489 (main): Call check2.
4490
11b8a0e1
LD
4491 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4492
b0037103
MR
44932013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4494
4495 [BZ #15022]
4496 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4497 over to...
4498 (dl_open_worker) [!SHARED]: ... here.
4499
c18c701d
RA
45002013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4501
4502 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4503
1d17fa5f
RH
45042013-06-25 Richard Henderson <rth@redhat.com>
4505
4506 * locale/programs/locarchive.c: Include <libc-internal.h>
4507
8fcb833a
JM
45082013-06-25 Joseph Myers <joseph@codesourcery.com>
4509
4510 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4511 trailing whitespace removed.
4512
17db6e8d
MF
45132013-06-24 Mike Frysinger <vapier@gentoo.org>
4514
4515 [BZ #10283]
17db6e8d
MF
4516 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4517 * locale/programs/locarchive.c: Include libc-mmap.h.
4518 (prepare_address_space): Take two new outputs (the mmap base and len).
4519 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4520 values.
4521 (create_archive): Declare new mmap base and len values for
4522 prepare_address_space, and store the result in ah.
4523 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4524 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4525 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4526 Declare new mmap base and len values for
4527 prepare_address_space, and store the result in new_ah.
4528 (open_archive): Declare new mmap base and len values for
4529 prepare_address_space, and store the result in ah.
4530 (close_archive): If ah->mmap_base is not NULL, use that and
4531 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4532 * sysdeps/generic/libc-mmap.h: New file.
4533
d605071e
MF
45342013-06-24 Mike Frysinger <vapier@gentoo.org>
4535
4536 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4537 (ALIGN_UP): Likewise.
4538 (PTR_ALIGN_DOWN): Likewise.
4539 (PTR_ALIGN_UP): Likewise.
4540
2f063a6e
RA
45412013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4542
4543 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4544 entry mapped to PPC_PLATFORM_POWER8.
4545 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4546 POWER8.
4547 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4548 (_dl_string_platform): Add case for exporting platform position for
4549 POWER8.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4551 search path to sysdeps/powerpc/powerpc32/power8 directory.
4552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4553 search path to sysdeps/powerpc/powerpc64/power8 directory.
4554 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4555 power7 directories.
4556 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4557 power7 directories.
4558
a31ee4b3
SP
45592013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4560
a74ca98f
SP
4561 * INSTALL: Regenerate.
4562
a31ee4b3
SP
4563 * nscd/connections.c (nscd_init): Fix comment.
4564
695c378f
JM
45652013-06-22 Joseph Myers <joseph@codesourcery.com>
4566
d8412221
JM
4567 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4568
695c378f
JM
4569 [BZ #15667]
4570 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4571 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4572
d1d54715
MR
45732013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4574
4575 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4576 DL_DST_REQ_STATIC.
4577 (DL_DST_REQ_STATIC): Remove macro.
4578
8fdda7af
JM
45792013-06-21 Joseph Myers <joseph@codesourcery.com>
4580
4581 [BZ #7006]
4582 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4583 with a shift of 0 bits.
4584
f3bc5e5a
MR
45852013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4586
4587 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4588 $(tststatic-ENV).
4589
be09e8c9
KK
45902013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4591
4592 [BZ #15655]
4593 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4594
85c2e611
AZ
45952013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4596
4597 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4598 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4599 accepts -fno-tree-loop-distribute-patterns.
4600 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4601 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4602 recursive call.
4603 * string/memset.c (memset): Likewise.
4604 * string/test-memmove.c (simple_memmove): Disable loop transformation
4605 to library calls.
4606 * string/test-memset.c (simple_memset): Likewise.
4607 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4608 * benchtests/bench-memset.c (simple_memset): Likewise.
4609 * configure: Regenerated.
4610
c91e0825
JM
46112013-06-20 Joseph Myers <joseph@codesourcery.com>
4612
b8c792af
JM
4613 * math/test-misc.c (main): Ignore fesetround failure when failures
4614 of subsequent rounding tests would be ignored.
4615
c91e0825
JM
4616 [BZ #15654]
4617 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4618 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4619 * math/fegetenv.c (__fegetenv): Return 0.
4620 * math/fegetexcept.c (fegetexcept): Return 0.
4621 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4622 FE_TONEAREST.
4623 * math/feholdexcpt.c (feholdexcept): Return 0.
4624 * math/fesetenv.c (__fesetenv): Return 0.
4625 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4626 argument FE_TONEAREST.
4627 * math/feupdateenv.c (__feupdateenv): Return 0.
4628 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4629
bfcacbde
RM
46302013-06-18 Roland McGrath <roland@hack.frob.com>
4631
4632 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4633 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4634 ($(objpfx)rtld-%.os rules): Use them.
4635
e55a9b25
AZ
46362013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4637
4638 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4639 fields.
4640
346d65b3
RM
46412013-06-17 Roland McGrath <roland@hack.frob.com>
4642
12086fb4
RM
4643 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4644 length of target pattern, then descending length of dependency pattern.
4645 * configure.in (AWK): Require gawk 3.1.2 or newer.
4646 * manual/install.texi (Tools for Compilation): Say that we do.
4647 * configure: Regenerated.
4648
346d65b3
RM
4649 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4650 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4651 * scripts/sysd-rules.awk: ... this new script.
4652 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4653 than a glob-style pattern.
4654
1a846317
JM
46552013-06-17 Joseph Myers <joseph@codesourcery.com>
4656
4657 * math/test-misc.c (main): Do not treat incorrectly rounded
4658 conversions as failure unless ROUNDING_TESTS passes.
4659
8fc75e6f
JM
46602013-06-15 Joseph Myers <joseph@codesourcery.com>
4661
3711a167
JM
4662 [BZ #15631]
4663 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4664 restore exception state around main square root computation, then
4665 check for inexactness explicitly.
4666
8fc75e6f
JM
4667 * math/libm-test.inc (fma_test_data): Add another test.
4668
61dd6208
SP
46692013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4670
adf23d2c
SP
4671 * manual/threads.texi (Non-POSIX Extensions): New document
4672 node. Document pthread_getattr_default_np and
4673 pthread_setattr_default_np.
4674
61dd6208
SP
4675 * Versions.def (libpthread): Add GLIBC_2.18.
4676 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4678 Likewise.
4679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4680 Likewise.
4681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4682 Likewise.
4683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4684 Likewise.
4685 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4686 Likewise.
4687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4688 Likewise.
4689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4690 Likewise.
4691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4692 Likewise.
4693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4694 Likewise.
4695
d086fc7b
LD
46962013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4697
4698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4699 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4700
747ef469
SP
47012013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4702 H.J. Lu <hjl.tools@gmail.com>
4703
4704 [BZ #15627]
4705 * sysdeps/x86_64/rtld-memset.c: Remove file.
4706 * sysdeps/x86_64/rtld-memset.S: New file.
4707
1b2feed2
JM
47082013-06-14 Joseph Myers <joseph@codesourcery.com>
4709
4710 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4711 (test_in_one_mode): Take arguments for whether the rounding mode
4712 is supported for each floating-point type.
4713 (do_test): Pass new arguments to test_in_one_mode using
4714 ROUNDING_TESTS.
4715
a58ad3f8
RM
47162013-06-13 Roland McGrath <roland@hack.frob.com>
4717
4718 * posix/tst-waitid.c (do_test): Distinguish different instances of
4719 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4720 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4721 before entering the kernel for waitpid.
4722
c204ab28
SP
47232013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4724
4725 * NEWS: Fix note on clock function precision. Text by Roland
4726 McGrath.
4727
f4a29fba
RM
47282013-06-13 Roland McGrath <roland@hack.frob.com>
4729
4730 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4731 it into place only when and if the sanity check passes.
4732
1f24b9ad
JM
47332013-06-13 Joseph Myers <joseph@codesourcery.com>
4734
4735 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4736 output for whether conversion result is exact. Take argument
4737 indicating whether type is IBM long double.
4738 (round_for_all): Change need_exact field to ibm_ld.
4739 * stdlib/tst-strtod-round.c (struct exactness): New type.
4740 (struct test): Change bool ld_ok field to struct exactness exact.
4741 (TEST): Update all definitions for change to field.
4742 (tests): Regenerate array contents.
4743 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4744 field value. Check for IBM long double here.
4745 (do_test): Update calls to test_in_one_mode.
4746
58206c68
SP
47472013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4748
4749 [BZ #12515]
4750 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4751 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4752
2d6f4c5b 47532013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4754
4755 [BZ #15605]
4756 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4757 generated by the compiler on loop optimizations.
4758 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4759 general definitions.
4760
94f2c076
JM
47612013-06-12 Joseph Myers <joseph@codesourcery.com>
4762
4763 * math/bug-nextafter.c: Include <math-tests.h>.
4764 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4765 the relevant type.
4766 * math/bug-nexttoward.c: Include <math-tests.h>.
4767 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4768 the relevant type.
4769 * math/test-misc.c: Include <math-tests.h>.
4770 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4771 the relevant type.
4772
e0e50a0a
AJ
47732013-06-12 Andreas Jaeger <aj@suse.de>
4774
4775 * po/ia.po: Update Interlingua translation from translation
4776 project.
4777
25061094
SP
47782013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4779
4780 * include/fenv.h: Include stdbool.h.
4781 (struct rm_ctx): New structure.
4782 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4783 Define macro.
4784 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4785 (SET_RESTORE_ROUNDF): Likewise.
4786 (SET_RESTORE_ROUNDL): Likewise.
4787 (SET_RESTORE_ROUND_NOEX): Likewise.
4788 (SET_RESTORE_ROUND_NOEXF): Likewise.
4789 (SET_RESTORE_ROUND_NOEXL): Likewise.
4790 (SET_RESTORE_ROUND_53BIT): Likewise.
4791 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4792 (libc_feresetround_noexf_ctx): Likewise.
4793 (libc_feresetround_noexl_ctx): Likewise.
4794 (libc_feholdsetround_53bit_ctx): Likewise.
4795 (libc_feresetround_53bit_ctx): Likewise.
4796 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4797 (libc_feholdexcept_setround_sse_ctx): New function.
4798 (libc_fesetenv_sse_ctx): Likewise.
4799 (libc_feupdateenv_sse_ctx): Likewise.
4800 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4801 (libc_feholdexcept_setround_387_ctx): Likewise.
4802 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4803 (libc_feholdsetround_387_prec_ctx): Likewise.
4804 (libc_feholdsetround_387_ctx): Likewise.
4805 (libc_feholdsetround_387_53bit_ctx): Likewise.
4806 (libc_feholdsetround_sse_ctx): Likewise.
4807 (libc_feresetround_sse_ctx): Likewise.
4808 (libc_feresetround_387_ctx): Likewise.
4809 (libc_feupdateenv_387_ctx): Likewise.
4810 (libc_feholdexcept_setroundf_ctx): Define macro.
4811 (libc_fesetenvf_ctx): Likewise.
4812 (libc_feupdateenvf_ctx): Likewise.
4813 (libc_feholdsetroundf_ctx): Likewise.
4814 (libc_feresetroundf_ctx): Likewise.
4815 (libc_feholdexcept_setround_ctx): Likewise.
4816 (libc_fesetenv_ctx): Likewise.
4817 (libc_feupdateenv_ctx): Likewise.
4818 (libc_feholdsetround_ctx): Likewise.
4819 (libc_feresetround_ctx): Likewise.
4820 (libc_feholdexcept_setroundl_ctx): Likewise.
4821 (libc_feupdateenvl_ctx): Likewise.
4822 (libc_feholdsetroundl_ctx): Likewise.
4823 (libc_feresetroundl_ctx): Likewise.
4824 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4825 (libc_feresetround_53bit_ctx): Likewise.
4826
59b30555
SP
48272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4828
4829 * locale/iso-639.def: Convert to UTF-8.
4830
f1d73d30
JM
48312013-06-11 Joseph Myers <joseph@codesourcery.com>
4832
4833 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4834 (EXCEPTION_TESTS_double): Likewise.
4835 (EXCEPTION_TESTS_long_double): Likewise.
4836 (EXCEPTION_TESTS): Likewise.
4837 * math/libm-test.inc (test_exceptions): Only test exceptions if
4838 EXCEPTION_TESTS (FLOAT).
4839
94aca5e7
SP
48402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4841
4842 * benchtests/Makefile (string-bench): Add strcpy_chk and
4843 stpcpy_chk.
4844 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4845 * benchtests/bench-stpcpy_chk.c: New file.
4846 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4847 * benchtests/bench-strcpy_chk.c: New file.
4848 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4849 code.
4850 (do_test): Likewise.
4851
fac0c5f2
RA
48522013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4853
4854 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4855 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4856 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4857 with tabs where appropriate.
4858 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4859 dl-procinfo.h.
4860 [PPC_PLATFORM_PPC440]: Likewise.
4861 [PPC_PLATFORM_PPC464]: Likewise.
4862 [PPC_PLATFORM_PPC476]: Likewise.
4863 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4864 ppc464, and ppc476 platform strings merging from ports/
4865 dl-procinfo.h.
4866
f22bc486
AS
48672013-06-11 Andreas Schwab <schwab@suse.de>
4868
4869 [BZ #14991]
4870 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4871 (from_ucs4_idx): Regenerate.
4872 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4873 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4874 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4875 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4876 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4877 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4878 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4879 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4880 from FROM_LOOP and TO_LOOP specific macros.
4881 (BODY): Handle combining characters.
4882 * iconvdata/BIG5HKSCS.irreversible: Update.
4883 * iconvdata/BIG5HKSCS.precomposed: New file.
4884 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4885 characters.
4886 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4887
c1f75dc3
SP
48882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4889
4eacded2
SP
4890 * include/sys/time.h: Fix indentation and add copyright header.
4891
fec799f8
SP
4892 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4893 (do_test): Likewise.
4894 * string/test-memchr.c (do_one_test): Likewise.
4895 (do_test): Likewise.
4896 * string/test-memcmp.c (do_one_test): Likewise.
4897 (do_test): Likewise.
4898 * string/test-memcpy.c (do_one_test): Likewise.
4899 (do_test): Likewise.
4900 * string/test-memmem.c (do_one_test): Likewise.
4901 (do_test): Likewise.
4902 (do_random_tests): Likewise.
4903 * string/test-memmove.c (do_one_test): Likewise.
4904 (do_test): Likewise.
4905 * string/test-memset.c (do_one_test): Likewise.
4906 (do_test): Likewise.
4907 * string/test-rawmemchr.c (do_one_test): Likewise.
4908 (do_test): Likewise.
4909 * string/test-strcasecmp.c (do_one_test): Likewise.
4910 (do_test): Likewise.
4911 * string/test-strcasestr.c (do_one_test): Likewise.
4912 (do_test): Likewise.
4913 * string/test-strcat.c (do_one_test): Likewise.
4914 (do_test): Likewise.
4915 * string/test-strchr.c (do_one_test): Likewise.
4916 (do_test): Likewise.
4917 * string/test-strcmp.c (do_one_test): Likewise.
4918 (do_test): Likewise.
4919 * string/test-strcpy.c (do_one_test): Likewise.
4920 (do_test): Likewise.
4921 * string/test-string.h: Likewise.
4922 (test_init): Likewise.
4923 * string/test-strlen.c (do_one_test): Likewise.
4924 (do_test): Likewise.
4925 * string/test-strncasecmp.c (do_one_test): Likewise.
4926 (do_test): Likewise.
4927 * string/test-strncat.c (do_one_test): Likewise.
4928 (do_test): Likewise.
4929 * string/test-strncmp.c (do_one_test): Likewise.
4930 (do_test_limit): Likewise.
4931 (do_test): Likewise.
4932 * string/test-strncpy.c (do_one_test): Likewise.
4933 (do_test): Likewise.
4934 * string/test-strnlen.c (do_one_test): Likewise.
4935 (do_test): Likewise.
4936 * string/test-strpbrk.c (do_one_test): Likewise.
4937 (do_test): Likewise.
4938 * string/test-strrchr.c (do_one_test): Likewise.
4939 (do_test): Likewise.
4940 * string/test-strspn.c (do_one_test): Likewise.
4941 (do_test): Likewise.
4942 * string/test-strstr.c (do_one_test): Likewise.
4943 (do_test): Likewise.
4944
97020474
SP
4945 * benchtests/Makefile (string-bench): Add string benchmarks.
4946 * benchtests/bench-bcopy-ifunc.c: New file.
4947 * benchtests/bench-bcopy.c: New file.
4948 * benchtests/bench-bzero-ifunc.c: New file.
4949 * benchtests/bench-bzero.c: New file.
4950 * benchtests/bench-memccpy-ifunc.c: New file.
4951 * benchtests/bench-memccpy.c: New file.
4952 * benchtests/bench-memchr-ifunc.c: New file.
4953 * benchtests/bench-memchr.c: New file.
4954 * benchtests/bench-memcmp-ifunc.c: New file.
4955 * benchtests/bench-memcmp.c: New file.
4956 * benchtests/bench-memmem-ifunc.c: New file.
4957 * benchtests/bench-memmem.c: New file.
4958 * benchtests/bench-memmove-ifunc.c: New file.
4959 * benchtests/bench-memmove.c: New file.
4960 * benchtests/bench-mempcpy-ifunc.c: New file.
4961 * benchtests/bench-mempcpy.c: New file.
4962 * benchtests/bench-memset-ifunc.c: New file.
4963 * benchtests/bench-memset.c: New file.
4964 * benchtests/bench-rawmemchr-ifunc.c: New file.
4965 * benchtests/bench-rawmemchr.c: New file.
4966 * benchtests/bench-stpcpy-ifunc.c: New file.
4967 * benchtests/bench-stpcpy.c: New file.
4968 * benchtests/bench-stpncpy-ifunc.c: New file.
4969 * benchtests/bench-stpncpy.c: New file.
4970 * benchtests/bench-strcasecmp-ifunc.c: New file.
4971 * benchtests/bench-strcasecmp.c: New file.
4972 * benchtests/bench-strcasestr-ifunc.c: New file.
4973 * benchtests/bench-strcasestr.c: New file.
4974 * benchtests/bench-strcat-ifunc.c: New file.
4975 * benchtests/bench-strcat.c: New file.
4976 * benchtests/bench-strchr-ifunc.c: New file.
4977 * benchtests/bench-strchr.c: New file.
4978 * benchtests/bench-strchrnul-ifunc.c: New file.
4979 * benchtests/bench-strchrnul.c: New file.
4980 * benchtests/bench-strcmp-ifunc.c: New file.
4981 * benchtests/bench-strcmp.c: New file.
4982 * benchtests/bench-strcpy-ifunc.c: New file.
4983 * benchtests/bench-strcpy.c: New file.
4984 * benchtests/bench-strcspn-ifunc.c: New file.
4985 * benchtests/bench-strcspn.c: New file.
4986 * benchtests/bench-strlen-ifunc.c: New file.
4987 * benchtests/bench-strlen.c: New file.
4988 * benchtests/bench-strncasecmp-ifunc.c: New file.
4989 * benchtests/bench-strncasecmp.c: New file.
4990 * benchtests/bench-strncat-ifunc.c: New file.
4991 * benchtests/bench-strncat.c: New file.
4992 * benchtests/bench-strncmp-ifunc.c: New file.
4993 * benchtests/bench-strncmp.c: New file.
4994 * benchtests/bench-strncpy-ifunc.c: New file.
4995 * benchtests/bench-strncpy.c: New file.
4996 * benchtests/bench-strnlen-ifunc.c: New file.
4997 * benchtests/bench-strnlen.c: New file.
4998 * benchtests/bench-strpbrk-ifunc.c: New file.
4999 * benchtests/bench-strpbrk.c: New file.
5000 * benchtests/bench-strrchr-ifunc.c: New file.
5001 * benchtests/bench-strrchr.c: New file.
5002 * benchtests/bench-strspn-ifunc.c: New file.
5003 * benchtests/bench-strspn.c: New file.
5004 * benchtests/bench-strstr-ifunc.c: New file.
5005 * benchtests/bench-strstr.c: New file.
5006
c1f75dc3
SP
5007 * benchtests/Makefile: Disable parallel execution of targets.
5008 (string-bench): Add memcpy.
5009 (benchset): New variable to store a list of benchmark sets.
5010 (bench-func): Renamed from bench.
5011 (bench-set): New target.
5012 (bench): Depend on bench-func and bench-set.
5013 * benchtests/README: Add section on benchmark sets.
5014 * benchtests/bench-memcpy-ifunc.c: New file.
5015 * benchtests/bench-memcpy.c: New file.
5016 * benchtests/bench-string.h: New file.
5017
50fd745b
AS
50182013-06-11 Andreas Schwab <schwab@suse.de>
5019
5020 [BZ #15577]
5021 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5022 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5023 values in the triple.
5024 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5025 terminator in the group key.
5026
3ee7e9fe
AJ
50272013-06-11 Andreas Jaeger <aj@suse.de>
5028
5029 * po/zh_TW.po: Update Chinese (traditional) translation from
5030 translation project.
5031
89fb6835
SP
50322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5033
5034 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5035 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5036 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5037 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5038 (clock_getcpuclockid): Likewise.
5039 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5040 Add weak_alias and libc_hidden_def.
5041 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5042 * rt/clock_gettime.c (clock_gettime): Rename to
5043 __clock_gettime. Add weak_alias and libc_hidden_def.
5044 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5045 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5046 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5047 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5048 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5049 Likewise.
5050 * rt/clock_settime.c (clock_settime): Rename to
5051 __clock_settime. Add weak_alias and libc_hidden_def.
5052 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5053
0efa6f8b
JM
50542013-06-10 Joseph Myers <joseph@codesourcery.com>
5055
b8c61b4b
JM
5056 * mach/err_boot.sub: Remove trailing whitespace.
5057 * mach/err_ipc.sub: Likewise.
5058 * mach/err_mach.sub: Likewise.
5059
0efa6f8b
JM
5060 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5061 (ROUNDING_TESTS_double): Likewise.
5062 (ROUNDING_TESTS_long_double): Likewise.
5063 (ROUNDING_TESTS): Likewise.
5064 * math/libm-test.inc: Include <math-tests.h>.
5065 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5066 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5067 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5068 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5069
50b818bf
SP
50702013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5071
5072 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5073 of assigning.
5074
60d2f8f3
JM
50752013-06-08 Joseph Myers <joseph@codesourcery.com>
5076
4902d2c3
JM
5077 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5078 otherwise empty TRANS lines.
5079 * sysdeps/gnu/errlist.c: Regenerated.
5080
60d2f8f3
JM
5081 * catgets/gencat.c (error_print): Use (void) in function
5082 definition.
5083 * crypt/crypt_util.c (__init_des): Likewise.
5084 * crypt/speeds.c (Stop): Likewise.
5085 (main): Likewise.
5086 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5087 * inet/ruserpass.c (token): Likewise.
5088 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5089 * intl/localealias.c (extend_alias_table): Likewise.
5090 * intl/plural-exp.c (init_germanic_plural): Likewise.
5091 * libio/fcloseall.c (__fcloseall): Likewise.
5092 * libio/genops.c (_IO_flush_all): Likewise.
5093 (_IO_flush_all_linebuffered): Likewise.
5094 (_IO_cleanup): Likewise.
5095 (_IO_iter_begin): Likewise.
5096 (_IO_iter_end): Likewise.
5097 (_IO_list_lock): Likewise.
5098 (_IO_list_unlock): Likewise.
5099 (_IO_list_resetlock): Likewise.
5100 * libio/getchar.c (getchar): Likewise.
5101 * libio/getchar_u.c (getchar_unlocked): Likewise.
5102 * libio/getwchar.c (getwchar): Likewise.
5103 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5104 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5105 * login/getpt.c (__getpt): Likewise.
5106 * login/tst-utmp.c (main): Likewise.
5107 * malloc/hooks.c (__malloc_check_init): Likewise.
5108 * malloc/malloc.c (__malloc_stats): Likewise.
5109 * malloc/mtrace.c (tr_break): Likewise.
5110 (mtrace): Likewise.
5111 (muntrace): Likewise.
5112 * misc/fstab.c (endfsent): Likewise.
5113 * misc/getclktck.c (__getclktck): Likewise.
5114 * misc/getdtsz.c (__getdtablesize): Likewise.
5115 * misc/gethostid.c (gethostid): Likewise.
5116 * misc/getpagesize.c (__getpagesize): Likewise.
5117 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5118 (__get_nprocs): Likewise.
5119 (__get_phys_pages): Likewise.
5120 (__get_avphys_pages): Likewise.
5121 * misc/getttyent.c (getttyent): Likewise.
5122 (setttyent): Likewise.
5123 (endttyent): Likewise.
5124 * misc/getusershell.c (getusershell): Likewise.
5125 (endusershell): Likewise.
5126 (setusershell): Likewise.
5127 (initshells): Likewise.
5128 * misc/hsearch.c (__hdestroy): Likewise.
5129 * misc/sync.c (sync): Likewise.
5130 * misc/syslog.c (closelog_internal): Likewise.
5131 (closelog): Likewise.
5132 * misc/ttyslot.c (ttyslot): Likewise.
5133 * misc/vhangup.c (vhangup): Likewise.
5134 * posix/fork.c (__fork): Likewise.
5135 * posix/getegid.c (__getegid): Likewise.
5136 * posix/geteuid.c (__geteuid): Likewise.
5137 * posix/getgid.c (__getgid): Likewise.
5138 * posix/getpid.c (__getpid): Likewise.
5139 * posix/getppid.c (__getppid): Likewise.
5140 * posix/getuid.c (__getuid): Likewise.
5141 * posix/pause.c (pause): Likewise.
5142 * posix/setpgrp.c (setpgrp): Likewise.
5143 * posix/setsid.c (__setsid): Likewise.
5144 * posix/test-vfork.c (noop): Likewise.
5145 * resolv/gethnamaddr.c (_endhtent): Likewise.
5146 (_gethtent): Likewise.
5147 (ht_endhostent): Likewise.
5148 (gethostent): Likewise.
5149 (dns_service): Likewise.
5150 * stdlib/drand48.c (drand48): Likewise.
5151 * stdlib/lrand48.c (lrand48): Likewise.
5152 * stdlib/mrand48.c (mrand48): Likewise.
5153 * stdlib/rand.c (rand): Likewise.
5154 * stdlib/random.c (__random): Likewise.
5155 * stdlib/setenv.c (clearenv): Likewise.
5156 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5157 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5158 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5159 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5160 (__get_nprocs): Likewise.
5161 (__get_phys_pages): Likewise.
5162 (__get_avphys_pages): Likewise.
5163 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5164 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5165 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5166 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5167 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5168 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5169 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5170 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5171 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5172 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5173 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5174 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5175 * sysdeps/posix/clock.c (clock): Likewise.
5176 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5177 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5178 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5179 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5180 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5181 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5182 (__get_nprocs_conf): Likewise.
5183 (__get_phys_pages): Likewise.
5184 (__get_avphys_pages): Likewise.
5185 * time/clock.c (clock): Likewise.
5186 * time/tzset.c (__tzname_max): Likewise.
5187
2e09a79a
JM
51882013-06-07 Joseph Myers <joseph@codesourcery.com>
5189
5190 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5191 (__bswap_32): Do not use "register".
5192 * crypt/crypt.c (_ufc_doit_r): Likewise.
5193 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5194 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5195 * gmon/gmon.c (__monstartup): Likewise.
5196 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5197 * hurd/hurdmalloc.c (more_memory): Likewise.
5198 (malloc): Likewise.
5199 (free): Likewise.
5200 (realloc): Likewise.
5201 (malloc_fork_prepare): Likewise.
5202 (malloc_fork_parent): Likewise.
5203 (malloc_fork_child): Likewise.
5204 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5205 (_svcauth_des): Likewise.
5206 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5207 * inet/inet_net.c (inet_network): Likewise.
5208 * inet/inet_netof.c (inet_netof): Likewise.
5209 * inet/rcmd.c (__validuser2_sa): Likewise.
5210 * io/fts.c (fts_open): Likewise.
5211 (fts_load): Likewise.
5212 (fts_close): Likewise.
5213 (fts_read): Likewise.
5214 (fts_children): Likewise.
5215 (fts_build): Likewise.
5216 (fts_stat): Likewise.
5217 (fts_sort): Likewise.
5218 (fts_alloc): Likewise.
5219 (fts_lfree): Likewise.
5220 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5221 (_IO_file_xsgetn): Likewise.
5222 (_IO_file_xsgetn_mmap): Likewise.
5223 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5224 (_IO_cookie_write): Likewise.
5225 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5226 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5227 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5228 * malloc/obstack.c (_obstack_begin): Likewise.
5229 (_obstack_begin_1): Likewise.
5230 (_obstack_newchunk): Likewise.
5231 (_obstack_allocated_p): Likewise.
5232 (obstack_free): Likewise.
5233 (_obstack_memory_used): Likewise.
5234 * misc/getttyent.c (getttynam): Likewise.
5235 (getttyent): Likewise.
5236 (skip): Likewise.
5237 (value): Likewise.
5238 * misc/getusershell.c (initshells): Likewise.
5239 * misc/syslog.c (__vsyslog_chk): Likewise.
5240 * misc/ttyslot.c (ttyslot): Likewise.
5241 * nis/nis_hash.c (__nis_hash): Likewise.
5242 * posix/fnmatch_loop.c (FCT): Likewise.
5243 * posix/getconf.c (print_all): Likewise.
5244 (main): Likewise.
5245 * posix/getopt.c (exchange): Likewise.
5246 * posix/glob.c (globfree): Likewise.
5247 (prefix_array): Likewise.
5248 (__glob_pattern_type): Likewise.
5249 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5250 (NS_GET32): Likewise.
5251 (NS_PUT16): Likewise.
5252 (NS_PUT32): Likewise.
5253 * resolv/gethnamaddr.c (getanswer): Likewise.
5254 (gethostbyname2): Likewise.
5255 (gethostbyaddr): Likewise.
5256 (_gethtent): Likewise.
5257 (_gethtbyname2): Likewise.
5258 (_gethtbyaddr): Likewise.
5259 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5260 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5261 * resolv/res_init.c (__res_vinit): Likewise.
5262 (net_mask): Likewise.
5263 * resolv/res_mkquery.c (outchar): Likewise.
5264 (PRINT): Likewise.
5265 * stdio-common/printf_fp.c (outchar): Likewise.
5266 (PRINT): Likewise.
5267 * stdio-common/printf_fphex.c (outchar): Likewise.
5268 (PRINT): Likewise.
5269 * stdio-common/printf_size.c (outchar): Likewise.
5270 (PRINT): Likewise.
5271 * stdio-common/test_rdwr.c (main): Likewise.
5272 * stdio-common/tfformat.c (matches): Likewise.
5273 * stdio-common/vfprintf.c (outchar): Likewise.
5274 (printf_unknown): Likewise.
5275 (buffered_vfprintf): Likewise.
5276 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5277 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5278 (ReadFile): Likewise.
5279 * stdlib/qsort.c (SWAP): Likewise.
5280 (_quicksort): Likewise.
5281 * stdlib/setenv.c (__add_to_environ): Likewise.
5282 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5283 * stdlib/strtol_l.c (__strtol_l): Likewise.
5284 * stdlib/tst-strtod.c (main): Likewise.
5285 * stdlib/tst-strtol.c (main): Likewise.
5286 * stdlib/tst-strtoll.c (main): Likewise.
5287 * string/bits/string2.h (__strcmp_cc): Likewise.
5288 (__strcmp_cg): Likewise.
5289 (__strcspn_c1): Likewise.
5290 (__strcspn_c2): Likewise.
5291 (__strcspn_c3): Likewise.
5292 (__strspn_c1): Likewise.
5293 (__strspn_c2): Likewise.
5294 (__strspn_c3): Likewise.
5295 (__strsep_1c): Likewise.
5296 (__strsep_2c): Likewise.
5297 (__strsep_3c): Likewise.
5298 * string/memccpy.c (__memccpy): Likewise.
5299 * string/stpcpy.c (__stpcpy): Likewise.
5300 * string/strcmp.c (strcmp): Likewise.
5301 * string/strrchr.c (strrchr): Likewise.
5302 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5303 Likewise.
5304 * sysdeps/mach/hurd/getcwd.c
5305 (_hurd_canonicalize_directory_name_internal): Likewise.
5306 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5307 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5308 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5309 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5310 Likewise, in both definitions.
5311 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5312 definitions.
5313 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5314 64] (__bswap_64): Likewise.
5315 * time/test_time.c (main): Likewise.
5316 * time/tzfile.c (__tzfile_read): Likewise.
5317 (__tzfile_compute): Likewise.
5318 * time/tzset.c (__tzset_parse_tz): Likewise.
5319 (tzset_internal): Likewise.
5320 (compute_change): Likewise.
5321 * wcsmbs/wcscat.c (__wcscat): Likewise.
5322 * wcsmbs/wcschr.c (wcschr): Likewise.
5323 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5324 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5325 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5326 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5327 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5328 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5329 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5330 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5331 * wcsmbs/wmemset.c (wmemset): Likewise.
5332
9e54314b
JM
53332013-06-06 Joseph Myers <joseph@codesourcery.com>
5334
5335 * scripts/config.guess: Update to version 2013-05-16.
5336 * scripts/config.sub: Update to version 2013-04-24.
5337 * scripts/install-sh: Update to version 2011-11-20.07.
5338 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5339 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5340
350635a5
OB
53412013-06-06 Ondřej Bílka <neleai@seznam.cz>
5342
5343 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5344 * elf/sln.c: Likewise.
5345 * hurd/hurd/ioctl.h: Likewise.
5346 * hurd/hurdmalloc.c: Likewise.
5347 * hurd/xattr.c: Likewise.
5348 * include/shlib-compat.h: Likewise.
5349 * inet/ruserpass.c: Likewise.
5350 * libio/iofgets_u.c: Likewise.
5351 * libio/iofgetws_u.c: Likewise.
5352 * locale/programs/ld-identification.c: Likewise.
5353 * locale/programs/ld-time.c: Likewise.
5354 * mach/msg-destroy.c: Likewise.
5355 * nss/nss_files/files-netgrp.c: Likewise.
5356 * resolv/res_data.c: Likewise.
5357 * soft-fp/op-1.h: Likewise.
5358 * soft-fp/op-2.h: Likewise.
5359 * soft-fp/op-4.h: Likewise.
5360 * soft-fp/op-common.h: Likewise.
5361 * stdio-common/printf_fphex.c: Likewise.
5362 * stdlib/strtod_l.c: Likewise.
5363 * sunrpc/rpc/clnt.h: Likewise.
5364 * sysdeps/generic/framestate.c: Likewise.
5365 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5366 * sysdeps/i386/bsd-setjmp.S: Likewise.
5367 * sysdeps/i386/__longjmp.S: Likewise.
5368 * sysdeps/i386/setjmp.S: Likewise.
5369 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5370 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5371 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5372 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5373 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5375 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5376 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5378 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5379 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5381 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5382 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5383 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5387 * sysdeps/ieee754/support.c: Likewise.
5388 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5389 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5390 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5391 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5392 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5393 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5394 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5395 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5396 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5397 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5398 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5399 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5400 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5401 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5402 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5403 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5404 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5406
44a988af
OB
54072013-06-05 Ondřej Bílka <neleai@seznam.cz>
5408
25506f09 5409 * posix/transbug.c: Remove executable mode.
44a988af 5410
9c84384c
JM
54112013-06-05 Joseph Myers <joseph@codesourcery.com>
5412
5413 * crypt/speeds.c: Remove trailing whitespace.
5414 * dlfcn/default.c: Likewise.
5415 * elf/ifuncdep2.c: Likewise.
5416 * elf/ifuncmain1.c: Likewise.
5417 * elf/ifuncmain1vis.c: Likewise.
5418 * elf/testobj.h: Likewise.
5419 * elf/tst-stackguard1.c: Likewise.
5420 * gmon/sys/gmon.h: Likewise.
5421 * hurd/hurdmsg.c: Likewise.
5422 * hurd/new-fd.c: Likewise.
5423 * hurd/ports-get.c: Likewise.
5424 * iconvdata/ibm1008_420.c: Likewise.
5425 * inet/tst-getni1.c: Likewise.
5426 * inet/tst-getni2.c: Likewise.
5427 * libio/ioungetc.c: Likewise.
5428 * libio/wfiledoalloc.c: Likewise.
5429 * manual/libm-err-tab.pl: Likewise.
5430 * math/w_dremf.c: Likewise.
5431 * misc/ftruncate.c: Likewise.
5432 * posix/bug-glob2.c: Likewise.
5433 * posix/tst-pcre.c: Likewise.
5434 * posix/wait4.c: Likewise.
5435 * resolv/README: Likewise.
5436 * resolv/res_debug.h: Likewise.
5437 * resolv/tst-inet_ntop.c: Likewise.
5438 * setjmp/bug269-setjmp.c: Likewise.
5439 * soft-fp/extended.h: Likewise.
5440 * soft-fp/op-1.h: Likewise.
5441 * soft-fp/op-2.h: Likewise.
5442 * soft-fp/op-4.h: Likewise.
5443 * soft-fp/op-8.h: Likewise.
5444 * soft-fp/testit.c: Likewise.
5445 * stdio-common/bug16.c: Likewise.
5446 * stdlib/random.c: Likewise.
5447 * sunrpc/rpcsvc/rquota.x: Likewise.
5448 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5449 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5451 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5452 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5453 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5454 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5455 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5456 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5457 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5458 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5464 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5475 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5477 * sysdeps/ieee754/s_lib_version.c: Likewise.
5478 * sysdeps/mach/hurd/check_fds.c: Likewise.
5479 * sysdeps/mach/hurd/getsockname.c: Likewise.
5480 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5481 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5482 * sysdeps/powerpc/bits/link.h: Likewise.
5483 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5484 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5485 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5486 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5487 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5488 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5489 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5490 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5491 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5492 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5493 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5494 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5495 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5496 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5497 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5498 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5499 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5500 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5501 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5502 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5503 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5504 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5505 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5506 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5507 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5509 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5510 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5511 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5512 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5513 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5514 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5515 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5517 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5518 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5519 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5520 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5521 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5522 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5523 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5524 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5525 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5526 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5527 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5528 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5529 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5530 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5531 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5532 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5534 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5535 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5536 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5537 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5538 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5539 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5540 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5541 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5542 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5543 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5544 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5545 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5546 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5547 * sysdeps/powerpc/sysdep.h: Likewise.
5548 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5549 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5550 * sysdeps/sh/dl-trampoline.S: Likewise.
5551 * sysdeps/sh/memset.S: Likewise.
5552 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5553 * sysdeps/sh/strlen.S: Likewise.
5554 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5555 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5556 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5557 * sysdeps/sparc/sparc32/rem.S: Likewise.
5558 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5559 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5560 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5561 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5562 * sysdeps/sparc/sparc32/urem.S: Likewise.
5563 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5564 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5565 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5566 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5567 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5568 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5569 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5570 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5571 * sysdeps/unix/bsd/times.c: Likewise.
5572 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5573 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5577 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5578 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5579 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5580 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5581 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5582 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5583 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5584 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5585 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5586 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5587 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5588 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5589 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5590 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5591 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5592 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5593 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5594 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5595 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5596 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5597 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5598 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5599 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5600 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5601 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5602 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5603 * sysdeps/x86_64/strcspn.S: Likewise.
5604
869378a5
RA
56052013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5606
5607 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5608 generated file. Regenerate properly from gen-translit.pl.
5609 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5610 locale/C-translit.h.
5611
840e2943
AS
56122013-06-05 Andreas Schwab <schwab@suse.de>
5613
5614 [BZ #15100]
5615 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5616 week as 6 instead of -1.
5617 * time/tst-strptime.c (day_tests): Add test case.
5618
4c60cb0c
SP
56192013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5620
5621 * sysdeps/generic/math_private.h
5622 (libc_feholdexcept_setround_53bit): Replace with
5623 libc_feholdsetround_53bit.
5624 (libc_feupdateenv_53bit): Replace with
5625 libc_feresetround_53bit.
5626 (SET_RESTORE_ROUND_53BIT): Adjust.
5627
d180203e
SP
56282013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5629
96df079a
SP
5630 * string/test-strchrnul.c: Add copyright header.
5631
d180203e
SP
5632 * posix/tst-getaddrinfo4.c: Increase test timeout.
5633
8b0ccb2d
CD
56342013-06-03 Carlos O'Donell <carlos@redhat.com>
5635
5636 [BZ #15536]
5637 * math/libm-test.inc (MAX_EXP): Remove
5638 (MIN_EXP): Define.
5639 (ulp): Use MIN_EXP - MANT_DIG.
5640 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5641
3b3c4d40
CD
56422013-05-31 Carlos O'Donell <carlos@redhat.com>
5643
5644 * po/be.po: Revert last change.
5645 * po/zh_CN.po: Likewise.
5646 * po/header.pot: Likewise.
5647
fab7ce3f
JM
56482013-05-31 Joseph Myers <joseph@codesourcery.com>
5649
5650 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5651 link-libc-deps to empty as target-specific variable.
5652 * Makerules (link-libc-args): New variable.
5653 (libc-for-link): Likewise.
5654 (link-libc-deps): Likewise.
5655 (lib%.so): Depend on $(link-libc-deps). Link with
5656 $(link-libc-args).
5657 (build-module): Link with $(link-libc-args).
5658 (build-module-asneeded): Likewise.
5659 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5660 list of objects.
5661 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5662 target-specific variable.
5663 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5664 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5665 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5666 libc.
5667 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5668 libc and ld.so.
5669 ($(objpfx)libpcprofile.so): Likewise.
5670 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5671 libc_nonshared.a.
5672 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5673 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5674 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5675 $(link-libc-deps).
5676 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5677 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5678 * login/Makefile ($(objpfx)libutil.so): Likewise.
5679 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5680 * math/Makefile ($(objpfx)libm.so): Likewise.
5681 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5682 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5683 variable instead of depending directly on libc.
5684 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5685 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5686 $(link-libc-deps).
5687 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5688 libc.
5689 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5690 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5691 ($(objpfx)libanl.so): Likewise.
5692 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5693 ld.so.
5694 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5695 $(link-libc-deps).
5696 * sysdeps/i386/fpu/Makefile: Remove file.
5697 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5698 ($(objpfx)libm.so): Remove dependency on ld.so.
5699
eca5920c
PF
57002013-05-30 Patsy Franklin <pfrankli@redhat.com>
5701
5702 [BZ # 15553]
5703 * nis/yp_xdr.c (XDRMAXNAME): Define.
5704 (XDRMAXRECORD): Define.
5705 (xdr_domainname): Use XDRMAXNAME.
5706 (xdr_mapname): Likewise.
5707 (xdr_peername): Likewise.
5708 (xdr_keydat): Use XDRMAXRECORD.
5709 (xdr_valdat): Likewise.
5710
57112013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5712
5713 [BZ #14256]
5714 * manual/errno.texi (ESTALE): Update to account for more than
5715 just NFS file systems.
5716 * sysdeps/gnu/errlist.c: Regenerated.
5717
b9375348
SP
57182013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5719
5720 [BZ #15465]
5721 * elf/Makefile (tests): Add tst-null-argv.
5722 (modules-names): Add tst-null-argv-lib.
5723 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5724 (tst-null-argv-ENV): Set environment for tst-null-argv.
5725 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5726 (RTLD_PROGNAME): New macro.
5727 * elf/tst-null-argv.c: New test case.
5728 * elf/tst-null-argv-lib.c: Library for test case.
5729 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5730 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5731 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5732 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5733 * elf/dl-init.c (call_init): Likewise.
5734 (_dl_init): Likewise.
5735 * elf/dl-load.c (print_search_path): Likewise.
5736 (_dl_map_object): Likewise.
5737 * elf/dl-lookup.c (do_lookup_x): Likewise.
5738 (add_dependency): Likewise.
5739 (_dl_lookup_symbol_x): Likewise.
5740 (_dl_debug_bindings): Likewise.
5741 * elf/dl-open.c (_dl_show_scope): Likewise.
5742 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5743 * elf/dl-version.c (match_symbol): Likewise.
5744 (_dl_check_map_versions): Likewise.
5745 * elf/rtld.c (dl_main): Likewise.
5746 (print_unresolved): Use RTLD_PROGNAME.
5747 (print_missing_version): Likewise.
5748 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5749 (elf_machine_rela): Likewise.
5750 * sysdeps/powerpc/powerpc32/dl-machine.c
5751 (__process_machine_rela): Likewise.
5752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5753 Likewise.
5754 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5755 Likewise.
5756 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5757 Likewise.
5758 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5759 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5760 Likewise.
5761 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5762 Likewise.
5763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5764
8a9f20c8
CD
57652013-05-28 Carlos O'Donell <carlos@redhat.com>
5766
5767 * po/be.po: Add descriptive title.
5768 * po/zh_CN.po: Likewise.
5769 * po/header.pot: Likewise.
5770
0e60d68e
MF
57712013-05-28 Mike Frysinger <vapier@gentoo.org>
5772
5773 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5774 error message.
5775 (enlarge_archive): Likewise.
5776
56b672e9
BN
57772013-05-28 Ben North <ben@redfrontdoor.org>
5778
5779 * manual/arith.texi (frexp): It is the magnitude of the return
5780 value which lies in [0.5, 1), not the return value itself.
5781
5e056687
AZ
57822013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5783
5784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5785
2b66ef5d
TS
57862013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5787
528c2405
TS
5788 * stdio-common/bug26.c (main): Correct fscanf template.
5789
07b4c13d
TS
5790 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5791 declare _dl_skip_args.
5792
ec9dd97c
TS
5793 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5794 Don't declare.
5795
2b66ef5d
TS
5796 * manual/platform.texi: Add missing @end deftypefun.
5797
4f8dfe27
JM
57982013-05-24 Joseph Myers <joseph@codesourcery.com>
5799
0323d086
JM
5800 [BZ #15529]
5801 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5802 bit of mantissa of 2^16382.
5803 * math/libm-test.inc (hypot_test_data): Add more tests.
5804
dd4259b9
JM
5805 * math/libm-test.inc: Add drem and pow10 to list of tested
5806 functions.
5807 (pow10_test): New function.
5808 (drem_test): Likewise.
5809 (drem_test_tonearest): Likewise.
5810 (drem_test_towardzero): Likewise.
5811 (drem_test_downward): Likewise.
5812 (drem_test_upward): Likewise.
5813 (main): Call the new functions.
5814
4f8dfe27
JM
5815 * math/libm-test.inc (finite_test_data): Remove.
5816 (finite_test): Run tests from isfinite_test_data.
5817 (gamma_test_data): Remove.
5818 (gamma_test): Run tests from lgamma_test_data.
5819 * sysdeps/i386/fpu/libm-test-ulps: Update.
5820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5821
d116b7c4
AZ
58222013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5823
5824 * manual/platform.texi: Add PowerPC PPR function set documentation.
5825 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5826 implementation.
5827
e96e3767
CD
58282013-05-24 Carlos O'Donell <carlos@redhat.com>
5829
5830 * math/libm-test.inc (MAX_EXP): Define.
5831 (ULPDIFF): Define.
5832 (ulp): New function.
5833 (check_float_internal): Use ULPDIFF.
5834 (cpow_test): Disable failing test.
5835 (check_ulp): Test ulp() implemetnation.
5836 (main): Call check_ulp before starting tests.
5837
b679a606
JM
58382013-05-24 Joseph Myers <joseph@codesourcery.com>
5839
e8bdba36
JM
5840 * math/gen-libm-test.pl (generate_testfile): Do not handle
5841 START_DATA and END_DATA.
5842 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5843 END_DATA.
5844 (acos_tonearest_test_data): Likewise.
5845 (acos_towardzero_test_data): Likewise.
5846 (acos_downward_test_data): Likewise.
5847 (acos_upward_test_data): Likewise.
5848 (acosh_test_data): Likewise.
5849 (asin_test_data): Likewise.
5850 (asin_tonearest_test_data): Likewise.
5851 (asin_towardzero_test_data): Likewise.
5852 (asin_downward_test_data): Likewise.
5853 (asin_upward_test_data): Likewise.
5854 (asinh_test_data): Likewise.
5855 (atan_test_data): Likewise.
5856 (atanh_test_data): Likewise.
5857 (atan2_test_data): Likewise.
5858 (cabs_test_data): Likewise.
5859 (cacos_test_data): Likewise.
5860 (cacosh_test_data): Likewise.
5861 (carg_test_data): Likewise.
5862 (casin_test_data): Likewise.
5863 (casinh_test_data): Likewise.
5864 (catan_test_data): Likewise.
5865 (catanh_test_data): Likewise.
5866 (cbrt_test_data): Likewise.
5867 (ccos_test_data): Likewise.
5868 (ccosh_test_data): Likewise.
5869 (ceil_test_data): Likewise.
5870 (cexp_test_data): Likewise.
5871 (cimag_test_data): Likewise.
5872 (clog_test_data): Likewise.
5873 (clog10_test_data): Likewise.
5874 (conj_test_data): Likewise.
5875 (copysign_test_data): Likewise.
5876 (cos_test_data): Likewise.
5877 (cos_tonearest_test_data): Likewise.
5878 (cos_towardzero_test_data): Likewise.
5879 (cos_downward_test_data): Likewise.
5880 (cos_upward_test_data): Likewise.
5881 (cosh_test_data): Likewise.
5882 (cosh_tonearest_test_data): Likewise.
5883 (cosh_towardzero_test_data): Likewise.
5884 (cosh_downward_test_data): Likewise.
5885 (cosh_upward_test_data): Likewise.
5886 (cpow_test_data): Likewise.
5887 (cproj_test_data): Likewise.
5888 (creal_test_data): Likewise.
5889 (csin_test_data): Likewise.
5890 (csinh_test_data): Likewise.
5891 (csqrt_test_data): Likewise.
5892 (ctan_test_data): Likewise.
5893 (ctan_tonearest_test_data): Likewise.
5894 (ctan_towardzero_test_data): Likewise.
5895 (ctan_downward_test_data): Likewise.
5896 (ctan_upward_test_data): Likewise.
5897 (ctanh_test_data): Likewise.
5898 (ctanh_tonearest_test_data): Likewise.
5899 (ctanh_towardzero_test_data): Likewise.
5900 (ctanh_downward_test_data): Likewise.
5901 (ctanh_upward_test_data): Likewise.
5902 (erf_test_data): Likewise.
5903 (erfc_test_data): Likewise.
5904 (exp_test_data): Likewise.
5905 (exp_tonearest_test_data): Likewise.
5906 (exp_towardzero_test_data): Likewise.
5907 (exp_downward_test_data): Likewise.
5908 (exp_upward_test_data): Likewise.
5909 (exp10_test_data): Likewise.
5910 (exp2_test_data): Likewise.
5911 (expm1_test_data): Likewise.
5912 (fabs_test_data): Likewise.
5913 (fdim_test_data): Likewise.
5914 (finite_test_data): Likewise.
5915 (floor_test_data): Likewise.
5916 (fma_test_data): Likewise.
5917 (fma_towardzero_test_data): Likewise.
5918 (fma_downward_test_data): Likewise.
5919 (fma_upward_test_data): Likewise.
5920 (fmax_test_data): Likewise.
5921 (fmin_test_data): Likewise.
5922 (fmod_test_data): Likewise.
5923 (fpclassify_test_data): Likewise.
5924 (frexp_test_data): Likewise.
5925 (gamma_test_data): Likewise.
5926 (hypot_test_data): Likewise.
5927 (ilogb_test_data): Likewise.
5928 (isfinite_test_data): Likewise.
5929 (isgreater_test_data): Likewise.
5930 (isgreaterequal_test_data): Likewise.
5931 (isinf_test_data): Likewise.
5932 (isless_test_data): Likewise.
5933 (islessequal_test_data): Likewise.
5934 (islessgreater_test_data): Likewise.
5935 (isnan_test_data): Likewise.
5936 (isnormal_test_data): Likewise.
5937 (issignaling_test_data): Likewise.
5938 (isunordered_test_data): Likewise.
5939 (j0_test_data): Likewise.
5940 (j1_test_data): Likewise.
5941 (jn_test_data): Likewise.
5942 (ldexp_test_data): Likewise.
5943 (lgamma_test_data): Likewise.
5944 (lrint_test_data): Likewise.
5945 (lrint_tonearest_test_data): Likewise.
5946 (lrint_towardzero_test_data): Likewise.
5947 (lrint_downward_test_data): Likewise.
5948 (lrint_upward_test_data): Likewise.
5949 (llrint_test_data): Likewise.
5950 (llrint_tonearest_test_data): Likewise.
5951 (llrint_towardzero_test_data): Likewise.
5952 (llrint_downward_test_data): Likewise.
5953 (llrint_upward_test_data): Likewise.
5954 (log_test_data): Likewise.
5955 (log10_test_data): Likewise.
5956 (log1p_test_data): Likewise.
5957 (log2_test_data): Likewise.
5958 (logb_test_data): Likewise.
5959 (logb_downward_test_data): Likewise.
5960 (lround_test_data): Likewise.
5961 (llround_test_data): Likewise.
5962 (modf_test_data): Likewise.
5963 (nearbyint_test_data): Likewise.
5964 (nextafter_test_data): Likewise.
5965 (nexttoward_test_data): Likewise.
5966 (pow_test_data): Likewise.
5967 (pow_tonearest_test_data): Likewise.
5968 (pow_towardzero_test_data): Likewise.
5969 (pow_downward_test_data): Likewise.
5970 (pow_upward_test_data): Likewise.
5971 (remainder_test_data): Likewise.
5972 (remainder_tonearest_test_data): Likewise.
5973 (remainder_towardzero_test_data): Likewise.
5974 (remainder_downward_test_data): Likewise.
5975 (remainder_upward_test_data): Likewise.
5976 (remquo_test_data): Likewise.
5977 (rint_test_data): Likewise.
5978 (rint_tonearest_test_data): Likewise.
5979 (rint_towardzero_test_data): Likewise.
5980 (rint_downward_test_data): Likewise.
5981 (rint_upward_test_data): Likewise.
5982 (round_test_data): Likewise.
5983 (scalb_test_data): Likewise.
5984 (scalbn_test_data): Likewise.
5985 (scalbln_test_data): Likewise.
5986 (signbit_test_data): Likewise.
5987 (sin_test_data): Likewise.
5988 (sin_tonearest_test_data): Likewise.
5989 (sin_towardzero_test_data): Likewise.
5990 (sin_downward_test_data): Likewise.
5991 (sin_upward_test_data): Likewise.
5992 (sincos_test_data): Likewise.
5993 (sinh_test_data): Likewise.
5994 (sinh_tonearest_test_data): Likewise.
5995 (sinh_towardzero_test_data): Likewise.
5996 (sinh_downward_test_data): Likewise.
5997 (sinh_upward_test_data): Likewise.
5998 (sqrt_test_data): Likewise.
5999 (tan_test_data): Likewise.
6000 (tan_tonearest_test_data): Likewise.
6001 (tan_towardzero_test_data): Likewise.
6002 (tan_downward_test_data): Likewise.
6003 (tan_upward_test_data): Likewise.
6004 (tanh_test_data): Likewise.
6005 (tgamma_test_data): Likewise.
6006 (trunc_test_data): Likewise.
6007 (y0_test_data): Likewise.
6008 (y1_test_data): Likewise.
6009 (yn_test_data): Likewise.
6010 (significand_test_data): Likewise.
6011
b679a606
JM
6012 * math/gen-libm-test.pl (@functions): Remove variable.
6013 (generate_testfile): Don't handle START and END lines.
6014 * math/libm-test.inc (START): New macro.
6015 (END): Likewise.
6016 (END_COMPLEX): Likewise.
6017 (acos_test): Use END macro without arguments.
6018 (acos_test_tonearest): Likewise.
6019 (acos_test_towardzero): Likewise.
6020 (acos_test_downward): Likewise.
6021 (acos_test_upward): Likewise.
6022 (acosh_test): Likewise.
6023 (asin_test): Likewise.
6024 (asin_test_tonearest): Likewise.
6025 (asin_test_towardzero): Likewise.
6026 (asin_test_downward): Likewise.
6027 (asin_test_upward): Likewise.
6028 (asinh_test): Likewise.
6029 (atan_test): Likewise.
6030 (atanh_test): Likewise.
6031 (atan2_test): Likewise.
6032 (cabs_test): Likewise.
6033 (cacos_test): Use END_COMPLEX macro without arguments.
6034 (cacosh_test): Likewise.
6035 (carg_test): Use END macro without arguments.
6036 (casin_test): Use END_COMPLEX macro without arguments.
6037 (casinh_test): Likewise.
6038 (catan_test): Likewise.
6039 (catanh_test): Likewise.
6040 (cbrt_test): Use END macro without arguments.
6041 (ccos_test): Use END_COMPLEX macro without arguments.
6042 (ccosh_test): Likewise.
6043 (ceil_test): Use END macro without arguments.
6044 (cexp_test): Use END_COMPLEX macro without arguments.
6045 (cimag_test): Use END macro without arguments.
6046 (clog_test): Use END_COMPLEX macro without arguments.
6047 (clog10_test): Likewise.
6048 (conj_test): Likewise.
6049 (copysign_test): Use END macro without arguments.
6050 (cos_test): Likewise.
6051 (cos_test_tonearest): Likewise.
6052 (cos_test_towardzero): Likewise.
6053 (cos_test_downward): Likewise.
6054 (cos_test_upward): Likewise.
6055 (cosh_test): Likewise.
6056 (cosh_test_tonearest): Likewise.
6057 (cosh_test_towardzero): Likewise.
6058 (cosh_test_downward): Likewise.
6059 (cosh_test_upward): Likewise.
6060 (cpow_test): Use END_COMPLEX macro without arguments.
6061 (cproj_test): Likewise.
6062 (creal_test): Use END macro without arguments.
6063 (csin_test): Use END_COMPLEX macro without arguments.
6064 (csinh_test): Likewise.
6065 (csqrt_test): Likewise.
6066 (ctan_test): Likewise.
6067 (ctan_test_tonearest): Likewise.
6068 (ctan_test_towardzero): Likewise.
6069 (ctan_test_downward): Likewise.
6070 (ctan_test_upward): Likewise.
6071 (ctanh_test): Likewise.
6072 (ctanh_test_tonearest): Likewise.
6073 (ctanh_test_towardzero): Likewise.
6074 (ctanh_test_downward): Likewise.
6075 (ctanh_test_upward): Likewise.
6076 (erf_test): Use END macro without arguments.
6077 (erfc_test): Likewise.
6078 (exp_test): Likewise.
6079 (exp_test_tonearest): Likewise.
6080 (exp_test_towardzero): Likewise.
6081 (exp_test_downward): Likewise.
6082 (exp_test_upward): Likewise.
6083 (exp10_test): Likewise.
6084 (exp2_test): Likewise.
6085 (expm1_test): Likewise.
6086 (fabs_test): Likewise.
6087 (fdim_test): Likewise.
6088 (finite_test): Likewise.
6089 (floor_test): Likewise.
6090 (fma_test): Likewise.
6091 (fma_test_towardzero): Likewise.
6092 (fma_test_downward): Likewise.
6093 (fma_test_upward): Likewise.
6094 (fmax_test): Likewise.
6095 (fmin_test): Likewise.
6096 (fmod_test): Likewise.
6097 (fpclassify_test): Likewise.
6098 (frexp_test): Likewise.
6099 (gamma_test): Likewise.
6100 (hypot_test): Likewise.
6101 (ilogb_test): Likewise.
6102 (isfinite_test): Likewise.
6103 (isgreater_test): Likewise.
6104 (isgreaterequal_test): Likewise.
6105 (isinf_test): Likewise.
6106 (isless_test): Likewise.
6107 (islessequal_test): Likewise.
6108 (islessgreater_test): Likewise.
6109 (isnan_test): Likewise.
6110 (isnormal_test): Likewise.
6111 (issignaling_test): Likewise.
6112 (isunordered_test): Likewise.
6113 (j0_test): Likewise.
6114 (j1_test): Likewise.
6115 (jn_test): Likewise.
6116 (ldexp_test): Likewise.
6117 (lgamma_test): Likewise.
6118 (lrint_test): Likewise.
6119 (lrint_test_tonearest): Likewise.
6120 (lrint_test_towardzero): Likewise.
6121 (lrint_test_downward): Likewise.
6122 (lrint_test_upward): Likewise.
6123 (llrint_test): Likewise.
6124 (llrint_test_tonearest): Likewise.
6125 (llrint_test_towardzero): Likewise.
6126 (llrint_test_downward): Likewise.
6127 (llrint_test_upward): Likewise.
6128 (log_test): Likewise.
6129 (log10_test): Likewise.
6130 (log1p_test): Likewise.
6131 (log2_test): Likewise.
6132 (logb_test): Likewise.
6133 (logb_test_downward): Likewise.
6134 (lround_test): Likewise.
6135 (llround_test): Likewise.
6136 (modf_test): Likewise.
6137 (nearbyint_test): Likewise.
6138 (nextafter_test): Likewise.
6139 (nexttoward_test): Likewise.
6140 (pow_test): Likewise.
6141 (pow_test_tonearest): Likewise.
6142 (pow_test_towardzero): Likewise.
6143 (pow_test_downward): Likewise.
6144 (pow_test_upward): Likewise.
6145 (remainder_test): Likewise.
6146 (remainder_test_tonearest): Likewise.
6147 (remainder_test_towardzero): Likewise.
6148 (remainder_test_downward): Likewise.
6149 (remainder_test_upward): Likewise.
6150 (remquo_test): Likewise.
6151 (rint_test): Likewise.
6152 (rint_test_tonearest): Likewise.
6153 (rint_test_towardzero): Likewise.
6154 (rint_test_downward): Likewise.
6155 (rint_test_upward): Likewise.
6156 (round_test): Likewise.
6157 (scalb_test): Likewise.
6158 (scalbn_test): Likewise.
6159 (scalbln_test): Likewise.
6160 (signbit_test): Likewise.
6161 (sin_test): Likewise.
6162 (sin_test_tonearest): Likewise.
6163 (sin_test_towardzero): Likewise.
6164 (sin_test_downward): Likewise.
6165 (sin_test_upward): Likewise.
6166 (sincos_test): Likewise.
6167 (sinh_test): Likewise.
6168 (sinh_test_tonearest): Likewise.
6169 (sinh_test_towardzero): Likewise.
6170 (sinh_test_downward): Likewise.
6171 (sinh_test_upward): Likewise.
6172 (sqrt_test): Likewise.
6173 (tan_test): Likewise.
6174 (tan_test_tonearest): Likewise.
6175 (tan_test_towardzero): Likewise.
6176 (tan_test_downward): Likewise.
6177 (tan_test_upward): Likewise.
6178 (tanh_test): Likewise.
6179 (tgamma_test): Likewise.
6180 (trunc_test): Likewise.
6181 (y0_test): Likewise.
6182 (y1_test): Likewise.
6183 (yn_test): Likewise.
6184 (significand_test): Likewise.
6185
bae143d2
OB
61862013-05-24 Ondřej Bílka <neleai@seznam.cz>
6187
6188 [BZ #15381]
6189 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6190
9323d39b
EM
61912013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6192
d4ea44a0 6193 [BZ #14894]
9323d39b
EM
6194 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6195 __ppc_mdoio and __ppc_mdoom.
6196 * manual/platform.texi: Document new functions __ppc_yield,
6197 __ppc_mdoio and __ppc_mdoom.
6198
13e23af7
CD
61992013-05-22 Carlos O'Donell <carlos@redhat.com>
6200
6201 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6202 (main): Mention "tls" pseudo-hwcap is legacy.
6203 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6204
351fe550
JM
62052013-05-22 Joseph Myers <joseph@codesourcery.com>
6206
6207 * math/gen-libm-test.pl (parse_args): Output only string of
6208 arguments as text for test name, not full call or descriptions of
6209 tests for extra outputs.
6210 (generate_testfile): Do not pass function name to parse_args.
6211 Generate this_func variable from START.
6212 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6213 field to arg_str.
6214 (struct test_ff_f_data): Likewise.
6215 (test_ff_f_data_nexttoward): Likewise.
6216 (struct test_fi_f_data): Likewise.
6217 (struct test_fl_f_data): Likewise.
6218 (struct test_if_f_data): Likewise.
6219 (struct test_fff_f_data): Likewise.
6220 (struct test_c_f_data): Likewise.
6221 (struct test_f_f1_data): Likewise. Remove field extra_name.
6222 (struct test_fF_f1_data): Likewise.
6223 (struct test_ffI_f1_data): Likewise.
6224 (struct test_c_c_data): Rename test_name field to arg_str.
6225 (struct test_cc_c_data): Likewise.
6226 (struct test_f_i_data): Likewise.
6227 (struct test_ff_i_data): Likewise.
6228 (struct test_f_l_data): Likewise.
6229 (struct test_f_L_data): Likewise.
6230 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6231 and extra2_name.
6232 (COMMON_TEST_SETUP): New macro.
6233 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6234 (COMMON_TEST_CLEANUP): Likewise.
6235 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6236 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6237 macros.
6238 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6239 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6240 macros.
6241 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6242 (RUN_TEST_fff_f): Take argument string. Call new setup and
6243 cleanup macros.
6244 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6245 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6246 macros.
6247 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6248 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6249 macros.
6250 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6251 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6252 cleanup macros.
6253 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6254 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6255 cleanup macros.
6256 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6257 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6258 cleanup macros.
6259 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6260 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6261 macros.
6262 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6263 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6264 macros.
6265 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6266 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6267 macros.
6268 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6269 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6270 cleanup macros.
6271 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6272 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6273 cleanup macros.
6274 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6275 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6276 macros.
6277 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6278 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6279 cleanup macros.
6280 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6281 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6282 macros.
6283 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6284 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6285 macros.
6286 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6287 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6288 cleanup macros.
6289 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6290
85118d4d
EBM
62912013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6292
6293 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6294 to _sifields.sigfault.
6295 (si_addr_lsb): Define new macro.
6296 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6297 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6298 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6299
7a44c18f
CD
63002013-05-03 Carlos O'Donell <carlos at redhat.com>
6301
6302 [BZ #15441]
6303 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6304 returns -1.
6305 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6306 null return -1.
6307 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6308 loading the domain.
6309
b50a7181
JM
63102013-05-22 Joseph Myers <joseph@codesourcery.com>
6311
6312 * math/gen-libm-test.pl (parse_args): Do not include expected
6313 result in test name.
6314 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6316 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6317 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6318 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6320
051063c8
SP
63212013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6322
3ce9e010
SP
6323 * benchtests/Makefile: Sort function entries.
6324
051063c8
SP
6325 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6326 tanh, asinh, acosh, atanh.
6327 * benchtests/acos-inputs: New file.
6328 * benchtests/acosh-inputs: New file.
6329 * benchtests/asin-inputs: New file.
6330 * benchtests/asinh-inputs: New file.
6331 * benchtests/atanh-inputs: New file.
6332 * benchtests/cosh-inputs: New file.
6333 * benchtests/log-inputs: New file.
6334 * benchtests/sinh-inputs: New file.
6335 * benchtests/tanh-inputs: New file.
6336
47c22455
DL
63372013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6338
6339 [BZ #15339]
6340 * posix/tst-getaddrinfo4.c: New test.
6341 * posix/Makefile (tests): Add it.
6342
3d04f5db
SP
63432013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6344
6345 [BZ #15339]
6346 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6347 when no services were used.
6348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6349 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6350
d5dd6189
AS
63512013-05-21 Andreas Schwab <schwab@suse.de>
6352
6353 [BZ #15014]
6354 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6355 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6356 successful.
6357 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6358 redundant variable declarations and reallocation of buffer when
6359 parsing as IPv6 address. Always set NSS status when called from
6360 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6361 buffer too small. Correct computation of needed size.
6362 * nss/Makefile (tests): Add test-digits-dots.
6363 * nss/test-digits-dots.c: New test.
6364
fef94eab
SP
63652013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6366
6367 * benchtests/Makefile: Remove instructions for adding
6368 benchmark tests.
6369 * benchtests/README: New file to explain how to execute and
6370 enhance the benchmark tests.
6371
e39adf43
AS
63722013-05-21 Andreas Schwab <schwab@suse.de>
6373
6374 [BZ #15493]
6375 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6376 * setjmp/tst-sigsetjmp.c: New test.
6377
b2b671b6
OB
63782013-05-20 Ondřej Bílka <neleai@seznam.cz>
6379
6380 * sysdeps/x86_64/memset.S (memset): New implementation.
6381 (__bzero): Likewise.
6382 (__memset_tail): New function.
6383
2d48b41c
OB
63842013-05-20 Ondřej Bílka <neleai@seznam.cz>
6385
6386 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6387 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6388 __memcpy_sse2_unaligned ifunc selection.
6389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6390 Add memcpy-sse2-unaligned.S.
6391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6392 Add: __memcpy_sse2_unaligned.
6393
f16cc3eb
JM
63942013-05-19 Joseph Myers <joseph@codesourcery.com>
6395
3e694268
JM
6396 [BZ #15490]
6397 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6398 math_force_eval before restoring floating-point envrionment.
6399 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6401 Likewise.
6402 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6403 <math_private.h>.
6404 (__nearbyintl): Use math_force_eval before restoring
6405 floating-point environment.
6406 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6407
db62a907
JM
6408 * math/gen-libm-test.pl (special_functions): Remove.
6409 (parse_args): Don't handle TEST_extra. Handle functions with no
6410 return value.
6411 * math/libm-test.inc (struct test_sincos_data): Replace with
6412 struct test_fFF_11_data.
6413 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6414 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6415 (sincos_test_data): Change element type to struct
6416 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6417 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6418 RUN_TEST_LOOP_sincos.
6419 * math/README.libm-test: Don't mention special handling of
6420 individual functions.
6421 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6423 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6424 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6425 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6427
f16cc3eb
JM
6428 * math/gen-libm-test.pl (get_variable): Remove function.
6429 (parse_args): Don't show pointer parameters to call in test
6430 names. Use "extra output N" in test names for extra outputs
6431 rather than naming variables.
6432
3779b5b6
JM
64332013-05-18 Joseph Myers <joseph@codesourcery.com>
6434
2ee094ff
JM
6435 [BZ #15488]
6436 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6437 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6438 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6439 double tests.
6440 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6441 disable.
6442 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6443 check_long_double.
6444
3779b5b6
JM
6445 * math/gen-libm-test.pl (@tests): Remove variable.
6446 ($count): Likewise.
6447 (new_test): Remove function.
6448 (show_exceptions): New function.
6449 (special_functions): Use show_exceptions instead of new_test.
6450 (parse_args): Likewise.
6451 (generate_testfile): Pass only function name in generated call to
6452 print_max_error or print_complex_max_error.
6453 (get_ulps): Do not handle complex tests specially.
6454 (output_test): Rename to ...
6455 (get_all_ulps_for_test): ... this. Return a string rather than
6456 printing to a file. Require ulps to be present.
6457 (output_ulps): Generate arrays rather than #defines.
6458 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6459 (struct ulp_data): New type.
6460 (BUILD_COMPLEX_ULP): Remove macro.
6461 (compare_ulp_data): New function.
6462 (find_ulps): Likewise.
6463 (find_test_ulps): Likewise.
6464 (find_function_ulps): Likewise.
6465 (find_complex_function_ulps): Likewise.
6466 (print_max_error): Determine allowed ulps using
6467 find_function_ulps.
6468 (print_complex_max_error): Determine allowed ulps using
6469 find_complex_function_ulps.
6470 (check_float_internal): Determine max ulps using find_test_ulps.
6471 (check_float): Do not take max_ulp parameter. Update call to
6472 check_float_internal.
6473 (check_complex): Likewise.
6474 (check_int): Do not take max_ulp parameter.
6475 (check_long): Likewise.
6476 (check_bool): Likewise.
6477 (check_longlong): Likewise.
6478 (struct test_f_f_data): Remove max_ulp field.
6479 (struct test_ff_f_data): Likewise.
6480 (struct test_ff_f_data_nexttoward): Likewise.
6481 (struct test_fi_f_data): Likewise.
6482 (struct test_fl_f_data): Likewise.
6483 (struct test_if_f_data): Likewise.
6484 (struct test_fff_f_data): Likewise.
6485 (struct test_c_f_data): Likewise.
6486 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6487 (struct test_fF_f1_data): Likewise.
6488 (struct test_ffI_f1_data): Likewise.
6489 (struct test_c_c_data): Remove max_ulp field.
6490 (struct test_cc_c_data): Likewise.
6491 (struct test_f_i_data): Likewise.
6492 (struct test_ff_i_data): Likewise.
6493 (struct test_f_l_data): Likewise.
6494 (struct test_f_L_data): Likewise.
6495 (struct test_sincos_data): Likewise.
6496 (RUN_TEST_f_f): Do not handle ulps.
6497 (RUN_TEST_LOOP_f_f): Likewise.
6498 (RUN_TEST_2_f): Likewise.
6499 (RUN_TEST_LOOP_2_f): Likewise.
6500 (RUN_TEST_fff_f): Likewise.
6501 (RUN_TEST_LOOP_fff_f): Likewise.
6502 (RUN_TEST_c_f): Likewise.
6503 (RUN_TEST_LOOP_c_f): Likewise.
6504 (RUN_TEST_f_f1): Likewise.
6505 (RUN_TEST_LOOP_f_f1): Likewise.
6506 (RUN_TEST_fF_f1): Likewise.
6507 (RUN_TEST_LOOP_fF_f1): Likewise.
6508 (RUN_TEST_fI_f1): Likewise.
6509 (RUN_TEST_LOOP_fI_f1): Likewise.
6510 (RUN_TEST_ffI_f1): Likewise.
6511 (RUN_TEST_LOOP_ffI_f1): Likewise.
6512 (RUN_TEST_c_c): Likewise.
6513 (RUN_TEST_LOOP_c_c): Likewise.
6514 (RUN_TEST_cc_c): Likewise.
6515 (RUN_TEST_LOOP_cc_c): Likewise.
6516 (RUN_TEST_f_i): Likewise.
6517 (RUN_TEST_LOOP_f_i): Likewise.
6518 (RUN_TEST_f_i_tg): Likewise.
6519 (RUN_TEST_LOOP_f_i_tg): Likewise.
6520 (RUN_TEST_ff_i_tg): Likewise.
6521 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6522 (RUN_TEST_f_b): Likewise.
6523 (RUN_TEST_LOOP_f_b): Likewise.
6524 (RUN_TEST_f_b_tg): Likewise.
6525 (RUN_TEST_LOOP_f_b_tg): Likewise.
6526 (RUN_TEST_f_l): Likewise.
6527 (RUN_TEST_LOOP_f_l): Likewise.
6528 (RUN_TEST_f_L): Likewise.
6529 (RUN_TEST_LOOP_f_L): Likewise.
6530 (RUN_TEST_sincos): Likewise.
6531 (RUN_TEST_LOOP_sincos): Likewise.
6532
8269107f
JM
65332013-05-17 Joseph Myers <joseph@codesourcery.com>
6534
bb38759d
JM
6535 [BZ #15480]
6536 [BZ #15485]
6537 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6538 main case of finite arguments, set rounding mode to FE_TONEAREST
6539 and discard exceptions.
6540 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6541 exceptions.
6542 (remainder_tonearest_test_data): New variable.
6543 (remainder_test_tonearest): New function.
6544 (remainder_towardzero_test_data): New variable.
6545 (remainder_test_towardzero): New function.
6546 (remainder_downward_test_data): New variable.
6547 (remainder_test_downward): New function.
6548 (remainder_upward_test_data): New variable.
6549 (remainder_test_upward): New function.
6550 (main): Call the new test functions.
6551
a00bdcf0
JM
6552 * math/libm-test.inc (struct test_f_f1_data): Remove field
6553 extra_init.
6554 (struct test_fF_f1_data): Likewise.
6555 (struct test_ffI_f1_data): Likewise.
6556 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6557 based on value of EXTRA_EXPECTED.
6558 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6559 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6560 EXTRA_VAR based on value of EXTRA_EXPECTED.
6561 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6562 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6563 EXTRA_VAR based on value of EXTRA_EXPECTED.
6564 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6565 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6566 EXTRA_VAR based on value of EXTRA_EXPECTED.
6567 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6568 * math/gen-libm-test.pl (parse_args): Don't output initializers
6569 for extra output values.
6570
de407f79
JM
6571 * math/libm-test.inc (check_int): Expect result to be exactly
6572 equal to expected value and do not handle ulps.
6573 (check_long): Likewise.
6574 (check_longlong): Likewise.
6575
8269107f
JM
6576 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6577 exceptions.
6578 (cimag_test_data): Likewise.
6579 (conj_test_data): Likewise.
6580 (copysign_test_data): Likewise.
6581 (cproj_test_data): Likewise.
6582 (creal_test_data): Likewise.
6583 (fabs_test_data): Likewise.
6584 (fdim_test_data): Likewise.
6585 (finite_test_data): Likewise.
6586 (floor_test_data): Likewise.
6587 (fmax_test_data): Likewise.
6588 (fmin_test_data): Likewise.
6589 (fmod_test_data): Likewise.
6590 (fpclassify_test_data): Likewise.
6591 (frexp_test_data): Likewise.
6592 (ilogb_test_data): Likewise.
6593 (isfinite_test_data): Likewise.
6594 (isgreater_test_data): Likewise.
6595 (isgreaterequal_test_data): Likewise.
6596 (isinf_test_data): Likewise.
6597 (isless_test_data): Likewise.
6598 (islessequal_test_data): Likewise.
6599 (islessgreater_test_data): Likewise.
6600 (isnan_test_data): Likewise.
6601 (isnormal_test_data): Likewise.
6602 (issignaling_test_data): Likewise.
6603 (isunordered_test_data): Likewise.
6604 (ldexp_test_data): Likewise.
6605 (lrint_test_data): Likewise.
6606 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6607 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6608 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6609 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6610 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6611 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6612 test input.
6613 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6614 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6615 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6616 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6617 that test input.
6618 (lrint_downward_test_data): Test for "inexact" exceptions.
6619 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6620 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6621 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6622 test input.
6623 (lrint_upward_test_data): Test for "inexact" exceptions.
6624 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6625 test input.
6626 (llrint_test_data): Test for "inexact" exceptions.
6627 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6628 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6629 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6630 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6631 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6632 (llrint_downward_test_data): Test for "inexact" exceptions.
6633 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6634 (llrint_upward_test_data): Test for "inexact" exceptions.
6635 (logb_test_data): Likewise.
6636 (logb_downward_test_data): Likewise.
6637 (nextafter_test_data): Likewise.
6638 (nexttoward_test_data): Likewise.
6639 (remainder_test_data): Likewise.
6640 (remquo_test_data): Likewise.
6641 (scalbn_test_data): Likewise.
6642 (scalbln_test_data): Likewise.
6643 (signbit_test_data): Likewise.
6644 (sqrt_test_data): Likewise.
6645 (significand_test_data): Likewise.
6646
48a18de1
SP
66472013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6648
6649 [BZ #15424]
6650 * benchtests/bench-modf.c (struct args): Mark arg0 as
6651 volatile.
6652 * scripts/bench.pl: Mark members of struct args as volatile.
6653
13d3b41a
AZ
66542013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6655
68191c1d 6656 [BZ # 15497]
13d3b41a
AZ
6657 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6658 negative infinity on POWER6 or lower.
6659 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6660
2848b105
MR
66612013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6662
6663 [BZ #15442]
6664 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6665 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6666 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6667 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6668 (_FP_SETQNAN): New macro.
6669 (_FP_SETQNAN_SEMIRAW): Likewise.
6670 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6671 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6672 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6673 (FP_EXTEND): Use _FP_FRAC_SNANP.
6674 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6675 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6676 into account.
6677 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6678 New macro.
6679 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6680 Likewise.
6681
323e5cb7
JM
66822013-05-16 Joseph Myers <joseph@codesourcery.com>
6683
c58b274f
JM
6684 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6685 with DIVIDE_BY_ZERO_EXCEPTION.
6686 (gamma_test_data): Likewise.
6687 (lgamma_test_data): Likewise.
6688 (log_test_data): Likewise.
6689 (log10_test_data): Likewise.
6690 (log2_test_data): Likewise.
6691 (tgamma_test_data): Likewise.
6692
0ab34904
JM
6693 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6694 (acos_test_tonearest): Likewise.
6695 (acos_test_towardzero): Likewise.
6696 (acos_test_downward): Likewise.
6697 (acos_test_upward): Likewise.
6698 (acosh_test): Likewise.
6699 (asin_test): Likewise.
6700 (asin_test_tonearest): Likewise.
6701 (asin_test_towardzero): Likewise.
6702 (asin_test_downward): Likewise.
6703 (asin_test_upward): Likewise.
6704 (asinh_test): Likewise.
6705 (atan_test): Likewise.
6706 (atanh_test): Likewise.
6707 (atan2_test): Likewise.
6708 (cabs_test): Likewise.
6709 (cacos_test): Likewise.
6710 (cacosh_test): Likewise.
6711 (casin_test): Likewise.
6712 (casinh_test): Likewise.
6713 (catan_test): Likewise.
6714 (catanh_test): Likewise.
6715 (cbrt_test): Likewise.
6716 (ccos_test): Likewise.
6717 (ccosh_test): Likewise.
6718 (cexp_test): Likewise.
6719 (clog_test): Likewise.
6720 (clog10_test): Likewise.
6721 (cos_test): Likewise.
6722 (cos_test_tonearest): Likewise.
6723 (cos_test_towardzero): Likewise.
6724 (cos_test_downward): Likewise.
6725 (cos_test_upward): Likewise.
6726 (cosh_test): Likewise.
6727 (cosh_test_tonearest): Likewise.
6728 (cosh_test_towardzero): Likewise.
6729 (cosh_test_downward): Likewise.
6730 (cosh_test_upward): Likewise.
6731 (cpow_test): Likewise.
6732 (csin_test): Likewise.
6733 (csinh_test): Likewise.
6734 (csqrt_test): Likewise.
6735 (ctan_test): Likewise.
6736 (ctan_test_tonearest): Likewise.
6737 (ctan_test_towardzero): Likewise.
6738 (ctan_test_downward): Likewise.
6739 (ctan_test_upward): Likewise.
6740 (ctanh_test): Likewise.
6741 (ctanh_test_tonearest): Likewise.
6742 (ctanh_test_towardzero): Likewise.
6743 (ctanh_test_downward): Likewise.
6744 (ctanh_test_upward): Likewise.
6745 (erf_test): Likewise.
6746 (erfc_test): Likewise.
6747 (exp_test): Likewise.
6748 (exp_test_tonearest): Likewise.
6749 (exp_test_towardzero): Likewise.
6750 (exp_test_downward): Likewise.
6751 (exp_test_upward): Likewise.
6752 (exp10_test): Likewise.
6753 (exp2_test): Likewise.
6754 (expm1_test): Likewise.
6755 (fmod_test): Likewise.
6756 (gamma_test): Likewise.
6757 (hypot_test): Likewise.
6758 (j0_test): Likewise.
6759 (j1_test): Likewise.
6760 (jn_test): Likewise.
6761 (lgamma_test): Likewise.
6762 (log_test): Likewise.
6763 (log10_test): Likewise.
6764 (log1p_test): Likewise.
6765 (log2_test): Likewise.
6766 (logb_test_downward): Likewise.
6767 (pow_test): Likewise.
6768 (pow_test_tonearest): Likewise.
6769 (pow_test_towardzero): Likewise.
6770 (pow_test_downward): Likewise.
6771 (pow_test_upward): Likewise.
6772 (remainder_test): Likewise.
6773 (remquo_test): Likewise.
6774 (sin_test): Likewise.
6775 (sin_test_tonearest): Likewise.
6776 (sin_test_towardzero): Likewise.
6777 (sin_test_downward): Likewise.
6778 (sin_test_upward): Likewise.
6779 (sincos_test): Likewise.
6780 (sinh_test): Likewise.
6781 (sinh_test_tonearest): Likewise.
6782 (sinh_test_towardzero): Likewise.
6783 (sinh_test_downward): Likewise.
6784 (sinh_test_upward): Likewise.
6785 (sqrt_test): Likewise.
6786 (tan_test): Likewise.
6787 (tan_test_tonearest): Likewise.
6788 (tan_test_towardzero): Likewise.
6789 (tan_test_downward): Likewise.
6790 (tan_test_upward): Likewise.
6791 (tanh_test): Likewise.
6792 (tgamma_test): Likewise.
6793 (y0_test): Likewise.
6794 (y1_test): Likewise.
6795 (yn_test): Likewise.
6796
323e5cb7
JM
6797 * math/gen-libm-test.pl (adjust_arg): Remove function.
6798 (special_function): Remove argument $in_func. Only handle
6799 generating output for tables of tests, not inside functions.
6800 (parse_args): Likewise.
6801 (generate_testfile): Remove variable $in_func. Update call to
6802 parse_args.
6803 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6804 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6805 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6806 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6807 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6808 (MAX_VALUE_INIT): Rename macro to max_value.
6809 (MIN_VALUE_INIT): Rename macro to min_value.
6810 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6811 (plus_zero): Remove variable.
6812 (minus_zero): Likewise.
6813 (plus_infty): Likewise.
6814 (minus_infty): Likewise.
6815 (qnan_value): Likewise.
6816 (max_value): Likewise.
6817 (min_value): Likewise.
6818 (min_subnorm_value): Likewise.
6819
e054f494
RA
68202013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6821
6822 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6823 uint64_t or uint32_t usage.
6824 * crypt/sha256-block.c: Likewise.
6825 * crypt/sha256-crypt.c: Likewise.
6826 * crypt/sha256.c: Likewise.
6827 * crypt/sha512-block.c: Likewise.
6828 * crypt/sha512-crypt.c: Likewise.
6829 * crypt/sha512.c: Likewise.
6830 * debug/backtrace-tst.c: Likewise.
6831 * debug/pcprofiledump.c: Likewise.
6832 * elf/cache.c: Likewise.
6833 * elf/dl-cache.c: Likewise.
6834 * elf/dl-misc.c: Likewise.
6835 * elf/dl-profile.c: Likewise.
6836 * elf/dl-support.c: Likewise.
6837 * elf/ldconfig.c: Likewise.
6838 * elf/sprof.c: Likewise.
6839 * iconv/dummy-repertoire.c: Likewise.
6840 * iconv/iconv_charmap.c: Likewise.
6841 * iconv/skeleton.c: Likewise.
6842 * iconvdata/8bit-generic.c: Likewise.
6843 * iconvdata/cp737.h: Likewise.
6844 * iconvdata/cp775.h: Likewise.
6845 * iconvdata/ibm1008.h: Likewise.
6846 * iconvdata/ibm1025.h: Likewise.
6847 * iconvdata/ibm1046.h: Likewise.
6848 * iconvdata/ibm1097.h: Likewise.
6849 * iconvdata/ibm1112.h: Likewise.
6850 * iconvdata/ibm1122.h: Likewise.
6851 * iconvdata/ibm1123.h: Likewise.
6852 * iconvdata/ibm1124.h: Likewise.
6853 * iconvdata/ibm1129.h: Likewise.
6854 * iconvdata/ibm1130.h: Likewise.
6855 * iconvdata/ibm1132.h: Likewise.
6856 * iconvdata/ibm1133.h: Likewise.
6857 * iconvdata/ibm1137.h: Likewise.
6858 * iconvdata/ibm1140.h: Likewise.
6859 * iconvdata/ibm1141.h: Likewise.
6860 * iconvdata/ibm1142.h: Likewise.
6861 * iconvdata/ibm1143.h: Likewise.
6862 * iconvdata/ibm1144.h: Likewise.
6863 * iconvdata/ibm1145.h: Likewise.
6864 * iconvdata/ibm1146.h: Likewise.
6865 * iconvdata/ibm1147.h: Likewise.
6866 * iconvdata/ibm1148.h: Likewise.
6867 * iconvdata/ibm1149.h: Likewise.
6868 * iconvdata/ibm1153.h: Likewise.
6869 * iconvdata/ibm1154.h: Likewise.
6870 * iconvdata/ibm1155.h: Likewise.
6871 * iconvdata/ibm1156.h: Likewise.
6872 * iconvdata/ibm1157.h: Likewise.
6873 * iconvdata/ibm1158.h: Likewise.
6874 * iconvdata/ibm1160.h: Likewise.
6875 * iconvdata/ibm1161.h: Likewise.
6876 * iconvdata/ibm1162.h: Likewise.
6877 * iconvdata/ibm1163.h: Likewise.
6878 * iconvdata/ibm1164.h: Likewise.
6879 * iconvdata/ibm1166.h: Likewise.
6880 * iconvdata/ibm1167.h: Likewise.
6881 * iconvdata/ibm12712.h: Likewise.
6882 * iconvdata/ibm1390.h: Likewise.
6883 * iconvdata/ibm1399.h: Likewise.
6884 * iconvdata/ibm16804.h: Likewise.
6885 * iconvdata/ibm4517.h: Likewise.
6886 * iconvdata/ibm4899.h: Likewise.
6887 * iconvdata/ibm4909.h: Likewise.
6888 * iconvdata/ibm4971.h: Likewise.
6889 * iconvdata/ibm5347.h: Likewise.
6890 * iconvdata/ibm803.h: Likewise.
6891 * iconvdata/ibm856.h: Likewise.
6892 * iconvdata/ibm901.h: Likewise.
6893 * iconvdata/ibm902.h: Likewise.
6894 * iconvdata/ibm9030.h: Likewise.
6895 * iconvdata/ibm9066.h: Likewise.
6896 * iconvdata/ibm921.h: Likewise.
6897 * iconvdata/ibm922.h: Likewise.
6898 * iconvdata/ibm9448.h: Likewise.
6899 * iconvdata/isiri-3342.h: Likewise.
6900 * iconvdata/jis0201.h: Likewise.
6901 * include/link.h: Likewise.
6902 * include/netdb.h: Likewise.
6903 * inet/check_native.c: Likewise.
6904 * inet/check_pf.c: Likewise.
6905 * inet/getipv4sourcefilter.c: Likewise.
6906 * inet/getnameinfo.c: Likewise.
6907 * inet/getsourcefilter.c: Likewise.
6908 * inet/htonl.c: Likewise.
6909 * inet/setipv4sourcefilter.c: Likewise.
6910 * inet/setsourcefilter.c: Likewise.
6911 * inet/test-inet6_opt.c: Likewise.
6912 * inet/tst-network.c: Likewise.
6913 * locale/C-collate.c: Likewise.
6914 * locale/C-ctype.c: Likewise.
6915 * locale/C-time.c: Likewise.
6916 * locale/C-translit.h: Likewise.
6917 * locale/loadarchive.c: Likewise.
6918 * locale/programs/3level.h: Likewise.
6919 * locale/programs/charmap.c: Likewise.
6920 * locale/programs/charmap.h: Likewise.
6921 * locale/programs/ld-address.c: Likewise.
6922 * locale/programs/ld-collate.c: Likewise.
6923 * locale/programs/ld-ctype.c: Likewise.
6924 * locale/programs/ld-identification.c: Likewise.
6925 * locale/programs/ld-measurement.c: Likewise.
6926 * locale/programs/ld-messages.c: Likewise.
6927 * locale/programs/ld-monetary.c: Likewise.
6928 * locale/programs/ld-name.c: Likewise.
6929 * locale/programs/ld-numeric.c: Likewise.
6930 * locale/programs/ld-paper.c: Likewise.
6931 * locale/programs/ld-telephone.c: Likewise.
6932 * locale/programs/ld-time.c: Likewise.
6933 * locale/programs/linereader.c: Likewise.
6934 * locale/programs/locale.c: Likewise.
6935 * locale/programs/locarchive.c: Likewise.
6936 * locale/programs/locfile.h: Likewise.
6937 * locale/programs/repertoire.c: Likewise.
6938 * locale/programs/simple-hash.c: Likewise.
6939 * locale/programs/simple-hash.h: Likewise.
6940 * malloc/memusage.c: Likewise.
6941 * malloc/memusagestat.c: Likewise.
6942 * nis/nis_defaults.c: Likewise.
6943 * nis/nis_hash.c: Likewise.
6944 * nis/nis_print.c: Likewise.
6945 * nis/nis_xdr.c: Likewise.
6946 * nscd/connections.c: Likewise.
6947 * nscd/hstcache.c: Likewise.
6948 * nscd/nscd_gethst_r.c: Likewise.
6949 * nscd/nscd_getserv_r.c: Likewise.
6950 * nscd/nscd_helper.c: Likewise.
6951 * nscd/servicescache.c: Likewise.
6952 * nss/makedb.c: Likewise.
6953 * nss/nss_db/db-XXX.c: Likewise.
6954 * nss/nss_db/db-initgroups.c: Likewise.
6955 * nss/nss_db/db-netgrp.c: Likewise.
6956 * nss/nss_files/files-network.c: Likewise.
6957 * nss/nss_files/files-parse.c: Likewise.
6958 * posix/bug-regex5.c: Likewise.
6959 * posix/fnmatch_loop.c: Likewise.
6960 * posix/regcomp.c: Likewise.
6961 * posix/regexec.c: Likewise.
6962 * posix/tst-rfc3484-2.c: Likewise.
6963 * posix/tst-rfc3484-3.c: Likewise.
6964 * posix/tst-rfc3484.c: Likewise.
6965 * resolv/nss_dns/dns-canon.c: Likewise.
6966 * resolv/nss_dns/dns-network.c: Likewise.
6967 * resolv/res_init.c: Likewise.
6968 * resolv/res_mkquery.c: Likewise.
6969 * resolv/tst-aton.c: Likewise.
6970 * stdlib/cxa_atexit.c: Likewise.
6971 * stdlib/cxa_finalize.c: Likewise.
6972 * stdlib/gen-fpioconst.c: Likewise.
6973 * stdlib/strtol_l.c: Likewise.
6974 * string/tst-endian.c: Likewise.
6975 * sunrpc/auth_des.c: Likewise.
6976 * sunrpc/clnt_udp.c: Likewise.
6977 * sunrpc/rtime.c: Likewise.
6978 * sunrpc/svcauth_des.c: Likewise.
6979 * sunrpc/xdr.c: Likewise.
6980 * sunrpc/xdr_intXX_t.c: Likewise.
6981 * sunrpc/xdr_rec.c: Likewise.
6982 * sysdeps/generic/ldconfig.h: Likewise.
6983 * sysdeps/generic/ldsodefs.h: Likewise.
6984 * sysdeps/generic/memusage.h: Likewise.
6985 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6987 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6988 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6989 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6995 * sysdeps/posix/getaddrinfo.c: Likewise.
6996 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6997 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6998 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6999 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7000 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7001 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7002 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7003 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7004 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7005 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7006 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7007 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7008 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7009 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7010 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7011 * sysdeps/x86_64/dl-tls.h: Likewise.
7012 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7013 * time/alt_digit.c: Likewise.
7014 * time/era.c: Likewise.
7015 * wcsmbs/tst-c16c32-1.c: Likewise.
7016
8c75f674
JM
70172013-05-16 Joseph Myers <joseph@codesourcery.com>
7018
7019 * math/libm-test.inc (struct test_sincos_data): New type.
7020 (RUN_TEST_LOOP_sincos): New macro.
7021 (sincos_test_data): New variable.
7022 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7023
e6e49e59
RH
70242013-05-16 Richard Henderson <rth@redhat.com>
7025
7026 * math/atest-exp2.c (LIMB64): New macro.
7027 (CONSTSZ): New macro.
7028 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7029 (hexdig): Move ...
7030 (print_mpn_fp): ... to function scope.
7031 (read_mpn_hex): Remove.
7032 (get_log2): Remove.
7033 (exp2_mpn): Use mp_log2.
7034 (main): Use mp_exp1.
7035
15c7c18d
JM
70362013-05-16 Joseph Myers <joseph@codesourcery.com>
7037
105a07df
JM
7038 * math/libm-test.inc: Remove comment about not testing "inexact"
7039 exceptions.
7040 (INEXACT_EXCEPTION): New macro.
7041 (NO_INEXACT_EXCEPTION): Likewise.
7042 (INVALID_EXCEPTION_OK): Update value.
7043 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7044 (OVERFLOW_EXCEPTION_OK): Likewise.
7045 (UNDERFLOW_EXCEPTION_OK): Likewise.
7046 (IGNORE_ZERO_INF_SIGN): Likewise.
7047 (ERRNO_UNCHANGED): Likewise.
7048 (ERRNO_EDOM): Likewise.
7049 (ERRNO_ERANGE): Likewise.
7050 (test_exceptions): Handle testing "inexact" exceptions.
7051 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7052 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7053 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7054 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7055 INEXACT_EXCEPTION.
7056 (rint_towardzero_test_data): Likewise.
7057 (rint_downward_test_data): Likewise.
7058 (rint_upward_test_data): Likewise.
7059
e9eee333
JM
7060 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7061 with OVERFLOW_EXCEPTION.
7062 (exp10_test_data): Likewise.
7063 (exp2_test_data): Likewise.
7064 (expm1_test_data): Likewise.
7065 (lgamma_test_data): Likewise.
7066 (pow_test_data): Likewise.
7067 (tgamma_test_data): Likewise.
7068 (yn_test_data): Remove duplicate test of overflow.
7069
1c38ff73
JM
7070 * math/libm-test.inc (struct test_cc_c_data): New type.
7071 (RUN_TEST_LOOP_cc_c): New macro.
7072 (cpow_test_data): New variable.
7073 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7074
15c7c18d
JM
7075 * math/libm-test.inc (struct test_f_L_data): New type.
7076 (RUN_TEST_LOOP_f_L): New macro.
7077 (llrint_test_data): New variable.
7078 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7079 (llrint_tonearest_test_data): New variable.
7080 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7081 (llrint_towardzero_test_data): New variable.
7082 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7083 (llrint_downward_test_data): New variable.
7084 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7085 (llrint_upward_test_data): New variable.
7086 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7087 (llround_test_data): New variable.
7088 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7089
f137ff13
PC
70902013-05-13 Peter Collingbourne <pcc@google.com>
7091
7092 * math/atest-exp2.c (get_log2): Remove const attribute.
7093
3608cb24
JM
70942013-05-15 Joseph Myers <joseph@codesourcery.com>
7095
7096 * math/libm-test.inc (struct test_f_l_data): New type.
7097 (RUN_TEST_LOOP_f_l): New macro.
7098 (lrint_test_data): New variable.
7099 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7100 (lrint_tonearest_test_data): New variable.
7101 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7102 (lrint_towardzero_test_data): New variable.
7103 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7104 (lrint_downward_test_data): New variable.
7105 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7106 (lrint_upward_test_data): New variable.
7107 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7108 (lround_test_data): New variable.
7109 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7110
39b1f617
PC
71112013-05-15 Peter Collingbourne <pcc@google.com>
7112
1deff3dc
PC
7113 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7114 (EXTRACT_WORDS64) Use where appropriate.
7115 (INSERT_WORDS64) Likewise.
7116
791f3ba0
PC
7117 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7118 constraints with x constraints.
7119 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7120
39b1f617
PC
7121 * malloc/obstack.c (_obstack_compat): Add initializer.
7122
12fba011
EM
71232013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7124
7125 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7126 si_trapno and add si_addr_lsb to _sifields.sigfault.
7127 (si_trapno): Remove macro.
7128 (si_addr_lsb): Define new macro.
7129 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7130
d369f531
JM
71312013-05-15 Joseph Myers <joseph@codesourcery.com>
7132
b861c6c4
JM
7133 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7134 instead of TEST_f_l.
7135 (llrint_test_tonearest): Likewise.
7136 (llrint_test_towardzero): Likewise.
7137 (llrint_test_downward): Likewise.
7138 (llrint_test_upward): Likewise.
7139 (llround_test): Likewise.
7140
7abeee12
JM
7141 * math/libm-test.inc (struct test_f_i_data): Add comment.
7142 (RUN_TEST_LOOP_f_b): New macro.
7143 (RUN_TEST_LOOP_f_b_tg): Likewise.
7144 (finite_test_data): New variable.
7145 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7146 (isfinite_test_data): New variable.
7147 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7148 (isinf_test_data): New variable.
7149 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7150 (isnan_test_data): New variable.
7151 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7152 (isnormal_test_data): New variable.
7153 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7154 (issignaling_test_data): New variable.
7155 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7156 (signbit_test_data): New variable.
7157 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7158
cbe8c4d3
JM
7159 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7160 with INVALID_EXCEPTION.
7161 (acosh_test_data): Likewise.
7162 (asin_test_data): Likewise.
7163 (atanh_test_data): Likewise.
7164 (fmod_test_data): Likewise.
7165 (log_test_data): Likewise.
7166 (log10_test_data): Likewise.
7167 (log2_test_data): Likewise.
7168 (pow_test_data): Likewise.
7169 (sqrt_test_data): Likewise.
7170 (y0_test_data): Likewise.
7171 (y1_test_data): Likewise.
7172 (yn_test_data): Likewise.
7173
5575c0e5
JM
7174 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7175 function contents.
7176
d369f531
JM
7177 * math/libm-test.inc (struct test_ff_i_data): New type.
7178 (RUN_TEST_LOOP_ff_i_tg): New macro.
7179 (isgreater_test_data): New variable.
7180 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7181 (isgreaterequal_test_data): New variable.
7182 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7183 (isless_test_data): New variable.
7184 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7185 (islessequal_test_data): New variable.
7186 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7187 (islessgreater_test_data): New variable.
7188 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7189 (isunordered_test_data): New variable.
7190 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7191
781fd748
DM
71922013-05-14 David S. Miller <davem@davemloft.net>
7193
7194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7195
87aa21df
JM
71962013-05-14 Joseph Myers <joseph@codesourcery.com>
7197
5e908270
JM
7198 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7199
f71172e5
JM
7200 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7201 extra_test to int.
7202 (struct test_f_i_data): Change type of max_ulp to int.
7203
8cfa635a
JM
7204 * math/libm-test.inc (test_ffI_f1_data): New type.
7205 (RUN_TEST_LOOP_ffI_f1): New macro.
7206 (remquo_test_data): New variable.
7207 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7208
2bcb36b2
JM
7209 * setjmp/tst-setjmp-fp.c: New file.
7210 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7211 (link-libm): New variable.
7212 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7213
acbd839a
JM
7214 * math/libm-test.inc (struct test_f_i_data): New type.
7215 (RUN_TEST_LOOP_f_i): New macro.
7216 (RUN_TEST_LOOP_f_i_tg): Likewise.
7217 (fpclassify_test_data): New variable.
7218 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7219 (ilogb_test_data): New variable.
7220 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7221
e414d745
JM
7222 * math/libm-test.inc (scalbln_test): Correct function name in END
7223 call.
7224
d9c2a0fd
JM
7225 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7226 (RUN_TEST_LOOP_fI_f1): New macro.
7227 (frexp_test_data): New variable.
7228 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7229
9dc9095d
JM
7230 * math/libm-test.inc (struct test_fF_f1_data): New type.
7231 (RUN_TEST_LOOP_fF_f1): New macro.
7232 (modf_test_data): New variable.
7233 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7234
87aa21df
JM
7235 * math/libm-test.inc (struct test_f_f1_data): New type.
7236 (RUN_TEST_LOOP_f_f1): New macro.
7237 (gamma_test_data): New variable.
7238 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7239 (lgamma_test_data): New variable.
7240 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7241
141af660
CD
72422013-05-13 Carlos O'Donell <carlos@redhat.com>
7243
7244 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7245 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7246 (main): Comment "tls" pseudo-hwcap.
7247
6d33265c
JM
72482013-05-13 Joseph Myers <joseph@codesourcery.com>
7249
68fc074c
JM
7250 * math/libm-test.inc (struct test_fl_f_data): New type.
7251 (RUN_TEST_LOOP_fl_f): New variable.
7252 (scalbln_test_data): New variable.
7253 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7254
243216e1
JM
7255 * math/libm-test.inc (struct test_fi_f_data): New type.
7256 (RUN_TEST_LOOP_fi_f): New macro.
7257 (ldexp_test_data): New variable.
7258 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7259 (scalbn_test_data): New variable.
7260 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7261
6a1992e2
JM
7262 * math/libm-test.inc (struct test_c_f_data): New type.
7263 (RUN_TEST_LOOP_c_f): New macro.
7264 (cabs_test_data): New variable.
7265 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7266 (carg_test_data): New variable.
7267 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7268 (cimag_test_data): New variable.
7269 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7270 (creal_test_data): New variable.
7271 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7272
0e400df5
JM
7273 * math/libm-test.inc (struct test_if_f_data): New type.
7274 (RUN_TEST_LOOP_if_f): New macro.
7275 (jn_test_data): New variable.
7276 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7277 (yn_test_data): New variable.
7278 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7279
6d33265c
JM
7280 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7281
f98ece5f
AZ
72822013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7283
7284 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7285 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7286
0f7d347b
SP
72872013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7288
43fe811b
SP
7289 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7290 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7291 (bench-deps): Add bench-timing.h.
7292 * benchtests-bench-skeleton.c: Include bench-timing.h.
7293 (main): Use TIMING_* macros instead of clock_gettime.
7294 * benchtests/bench-timing.h: New file.
7295
0f7d347b
SP
7296 [BZ #14582]
7297 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7298 Renamed from _LIB_VERSION.
7299 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7300
601a3a5f
JM
73012013-05-12 Joseph Myers <joseph@codesourcery.com>
7302
4f184d30
JM
7303 * math/libm-test.inc (struct test_fff_f_data): New type.
7304 (RUN_TEST_LOOP_fff_f): New macro.
7305 (fma_test_data): New variable.
7306 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7307 (fma_towardzero_test_data): New variable.
7308 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7309 (fma_downward_test_data): New variable.
7310 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7311 (fma_upward_test_data): New variable.
7312 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7313
08198877
JM
7314 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7315 (struct test_c_c_data): New type.
7316 (RUN_TEST_LOOP_c_c): New macro.
7317 (cacos_test_data): New variable.
7318 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7319 (cacosh_test_data): New variable.
7320 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7321 (casin_test_data): New variable.
7322 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7323 (casinh_test_data): New variable.
7324 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7325 (catan_test_data): New variable.
7326 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7327 (catanh_test_data): New variable.
7328 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7329 (ccos_test_data): New variable.
7330 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7331 (ccosh_test_data): New variable.
7332 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7333 (cexp_test_data): New variable.
7334 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7335 (clog_test_data): New variable.
7336 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7337 (clog10_test_data): New variable.
7338 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7339 (conj_test_data): New variable.
7340 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7341 (cproj_test_data): New variable.
7342 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7343 (csin_test_data): New variable.
7344 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7345 (csinh_test_data): New variable.
7346 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7347 (csqrt_test_data): New variable.
7348 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7349 (ctan_test_data): New variable.
7350 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7351 (ctan_tonearest_test_data): New variable.
7352 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7353 (ctan_towardzero_test_data): New variable.
7354 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7355 (ctan_downward_test_data): New variable.
7356 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7357 (ctan_upward_test_data): New variable.
7358 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7359 (ctanh_test_data): New variable.
7360 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7361 (ctanh_tonearest_test_data): New variable.
7362 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7363 (ctanh_towardzero_test_data): New variable.
7364 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7365 (ctanh_downward_test_data): New variable.
7366 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7367 (ctanh_upward_test_data): New variable.
7368 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7369 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7370 of BUILD_COMPLEX.
7371
601a3a5f
JM
7372 * math/libm-test.inc (struct test_ff_f_data): New type.
7373 (struct test_ff_f_data_nexttoward): Likewise.
7374 (RUN_TEST_LOOP_2_f): New macro.
7375 (RUN_TEST_LOOP_ff_f): Likewise.
7376 (atan2_test_data): New variable.
7377 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7378 (copysign_test_data): New variable.
7379 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7380 (fdim_test_data): New variable.
7381 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7382 (fmax_test_data): New variable.
7383 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7384 (fmin_test_data): New variable.
7385 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7386 (fmod_test_data): New variable.
7387 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7388 (hypot_test_data): New variable.
7389 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7390 (nextafter_test_data): New variable.
7391 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7392 (nexttoward_test_data): New variable.
7393 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7394 (pow_test_data): New variable.
7395 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7396 (pow_tonearest_test_data): New variable.
7397 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7398 (pow_towardzero_test_data): New variable.
7399 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7400 (pow_downward_test_data): New variable.
7401 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7402 (pow_upward_test_data): New variable.
7403 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7404 (remainder_test_data): New variable.
7405 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7406 (scalb_test_data): New variable.
7407 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7408 * sysdeps/i386/fpu/libm-test-ulps: Update.
7409
74c57478
JM
74102013-05-11 Joseph Myers <joseph@codesourcery.com>
7411
8329e4da
JM
7412 * math/libm-test.inc (fma_test): Use max_value instead of local
7413 variable fltmax.
7414 (nextafter_test): Likewise.
7415
74c57478
JM
7416 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7417 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7418 (acos_downward_test_data): New variable.
7419 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7420 (acos_upward_test_data): New variable.
7421 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7422 (acosh_test_data): New variable.
7423 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7424 (asin_test_data): New variable.
7425 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7426 (asin_tonearest_test_data): New variable.
7427 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7428 (asin_towardzero_test_data): New variable.
7429 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7430 (asin_downward_test_data): New variable.
7431 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7432 (asin_upward_test_data): New variable.
7433 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7434 (asinh_test_data): New variable.
7435 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7436 (atan_test_data): New variable.
7437 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7438 (atanh_test_data): New variable.
7439 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7440 (cbrt_test_data): New variable.
7441 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7442 (ceil_test_data): New variable.
7443 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7444 (cos_test_data): New variable.
7445 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7446 (cos_tonearest_test_data): New variable.
7447 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7448 (cos_towardzero_test_data): New variable.
7449 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7450 (cos_downward_test_data): New variable.
7451 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7452 (cos_upward_test_data): New variable.
7453 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7454 (cosh_test_data): New variable.
7455 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7456 (cosh_tonearest_test_data): New variable.
7457 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7458 (cosh_towardzero_test_data): New variable.
7459 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7460 (cosh_downward_test_data): New variable.
7461 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7462 (cosh_upward_test_data): New variable.
7463 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7464 (erf_test_data): New variable.
7465 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7466 (erfc_test_data): New variable.
7467 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7468 (exp_test_data): New variable.
7469 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7470 (exp_tonearest_test_data): New variable.
7471 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7472 (exp_towardzero_test_data): New variable.
7473 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7474 (exp_downward_test_data): New variable.
7475 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7476 (exp_upward_test_data): New variable.
7477 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7478 (exp10_test_data): New variable.
7479 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7480 (exp2_test_data): New variable.
7481 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7482 (expm1_test_data): New variable.
7483 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7484 (fabs_test_data): New variable.
7485 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7486 (floor_test_data): New variable.
7487 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7488 (j0_test_data): New variable.
7489 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7490 (j1_test_data): New variable.
7491 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7492 (log_test_data): New variable.
7493 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7494 (log10_test_data): New variable.
7495 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7496 (log1p_test_data): New variable.
7497 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7498 (log2_test_data): New variable.
7499 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7500 (logb_test_data): New variable.
7501 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7502 (logb_downward_test_data): New variable.
7503 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7504 (nearbyint_test_data): New variable.
7505 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7506 (rint_test_data): New variable.
7507 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7508 (rint_tonearest_test_data): New variable.
7509 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7510 (rint_towardzero_test_data): New variable.
7511 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7512 (rint_downward_test_data): New variable.
7513 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7514 (rint_upward_test_data): New variable.
7515 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7516 (round_test_data): New variable.
7517 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7518 (sin_test_data): New variable.
7519 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7520 (sin_tonearest_test_data): New variable.
7521 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7522 (sin_towardzero_test_data): New variable.
7523 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7524 (sin_downward_test_data): New variable.
7525 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7526 (sin_upward_test_data): New variable.
7527 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7528 (sinh_test_data): New variable.
7529 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7530 (sinh_tonearest_test_data): New variable.
7531 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7532 (sinh_towardzero_test_data): New variable.
7533 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7534 (sinh_downward_test_data): New variable.
7535 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7536 (sinh_upward_test_data): New variable.
7537 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7538 (sqrt_test_data): New variable.
7539 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7540 (tan_test_data): New variable.
7541 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7542 (tan_tonearest_test_data): New variable.
7543 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7544 (tan_towardzero_test_data): New variable.
7545 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7546 (tan_downward_test_data): New variable.
7547 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7548 (tan_upward_test_data): New variable.
7549 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7550 (tanh_test_data): New variable.
7551 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7552 (tgamma_test_data): New variable.
7553 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7554 (trunc_test_data): New variable.
7555 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7556 (y0_test_data): New variable.
7557 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7558 (y1_test_data): New variable.
7559 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7560 (significand_test_data): New variable.
7561 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7562
7187d844
CG
75632013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7564
7565 [BZ #12387]
7566 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7567
f63fae73
PT
75682013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7569
7570 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7571
8a67a4b3
AJ
75722013-05-10 Andreas Jaeger <aj@suse.de>
7573
7574 [BZ #15448]
7575 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7576 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7577
51df539d
JM
75782013-05-10 Joseph Myers <joseph@codesourcery.com>
7579
7580 * math/gen-libm-test.pl (adjust_arg): New function.
7581 (special_functions): Handle generating output in both functions
7582 and arrays.
7583 (parse_args): Likewise.
7584 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7585 $in_func argument to parse_args.
7586 * math/libm-test.inc (struct test_f_f_data): New type.
7587 (IF_ROUND_INIT_): New macro.
7588 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7589 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7590 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7591 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7592 (ROUND_RESTORE_): Likewise.
7593 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7594 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7595 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7596 (ROUND_RESTORE_FE_UPWARD): Likewise.
7597 (RUN_TEST_LOOP_f_f): New macro.
7598 (acos_test_data): New variable.
7599 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7600 (acos_tonearest_test_data): New variable.
7601 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7602
5c637fe5
SP
76032013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7604
7605 * benchtests/bench-skeleton.c (startup): Fix coding style.
7606
ab2b9461
JM
76072013-05-10 Joseph Myers <joseph@codesourcery.com>
7608
7609 [BZ #6809]
7610 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7611 negative infinity argument.
7612 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7613 negative infinity argument.
7614 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7615 negative infinity argument.
7616 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7617 domain errors.
7618
4c0fe6fe
FW
76192013-05-10 Florian Weimer <fweimer@redhat.com>
7620
7621 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7622 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7623 * iconv/iconv_prog.c (main): Likewise.
7624 * locale/programs/charmap-dir.c (charmap_readdir)
7625 (fopen_uncompressed): Likewise.
7626 * locale/programs/locfile.c (siblings_uncached)
7627 (write_locale_data): Use lstat64 instead of lstat.
7628 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7629 stat.
7630
a3375d29
AJ
76312013-05-10 Andreas Jaeger <aj@suse.de>
7632
7633 [BZ #15395]
7634 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7635 localization.
7636 Include <locale.h>.
7637
36129722
CD
76382013-05-09 Carlos O'Donell <carlos@redhat.com>
7639
7640 * elf/dl-close.c (_dl_close_worker): Add comments.
7641
faa7f811
JM
76422013-05-09 Joseph Myers <joseph@codesourcery.com>
7643
ed41ffef
JM
7644 [BZ #15359]
7645 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7646 high part of pi/2.
7647 (__ieee754_rem_pio2l): Update comments.
7648
d0213cd0
JM
7649 [BZ #15429]
7650 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7651 high part of pi/2.
7652 (__ieee754_rem_pio2l): Update comments.
7653
0d3e777a
JM
7654 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7655 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7656
24f56066
JM
7657 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7658 M_PI_4l.
7659
faa7f811
JM
7660 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7661 (M_PI_34_LOG10El): Likewise.
7662 (M_PI2_LOG10El): Likewise.
7663 (M_PI4_LOG10El): Likewise.
7664 (M_PI_LOG10El): Likewise.
7665
e9a5e0fd
AZ
76662013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7667
7668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7669
d8cd06db
JM
76702013-05-08 Joseph Myers <joseph@codesourcery.com>
7671
a0d9f9d7
JM
7672 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7673 (MINUS_ZERO_INIT): Likewise.
7674 (PLUS_INFTY_INIT): Likewise.
7675 (MINUS_INFTY_INIT): Likewise.
7676 (QNAN_VALUE_INIT): Likewise.
7677 (MAX_VALUE_INIT): Likewise.
7678 (MIN_VALUE_INIT): Likewise.
7679 (MIN_SUBNORM_VALUE_INIT): Likewise.
7680 (plus_zero): Initialize with PLUS_ZERO_INIT.
7681 (minus_zero): Initialize with MINUS_ZERO_INIT.
7682 (plus_infty): Initialize with PLUS_INFTY_INIT.
7683 (minus_infty): Initialize with MINUS_INFTY_INIT.
7684 (qnan_value): Initialize with QNAN_VALUE_INIT.
7685 (max_value): Initialize with MAX_VALUE_INIT.
7686 (min_value): Initialize with MIN_VALUE_INIT.
7687 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7688
ae08db3b
JM
7689 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7690 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7691 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7692 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7693
f44bf14a
JM
7694 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7695 (RUN_TEST_2_f): Likewise.
7696 (RUN_TEST_ff_f): Likewise.
7697 (RUN_TEST_fi_f): Likewise.
7698 (RUN_TEST_fl_f): Likewise.
7699 (RUN_TEST_fff_f): Likewise.
7700 (RUN_TEST_c_f): Likewise.
7701 (RUN_TEST_f_f1): Likewise.
7702 (RUN_TEST_fF_f1): Likewise.
7703 (RUN_TEST_fI_f1): Likewise.
7704 (RUN_TEST_ffI_f1): Likewise.
7705 (RUN_TEST_c_c): Likewise.
7706 (RUN_TEST_cc_c): Likewise.
7707 (RUN_TEST_f_i): Likewise.
7708 (RUN_TEST_f_i_tg): Likewise.
7709 (RUN_TEST_ff_i_tg): Likewise.
7710 (RUN_TEST_f_b): Likewise.
7711 (RUN_TEST_f_b_tg): Likewise.
7712 (RUN_TEST_f_l): Likewise.
7713 (RUN_TEST_f_L): Likewise.
7714 (RUN_TEST_sincos): Likewise.
7715 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7716 whether to show exceptions. Do not include ");\n" in return
7717 value.
7718 (special_functions): Output call to RUN_TEST_sincos instead of
7719 check_float calls. Update calls to new_test.
7720 (parse_args): Output call to single RUN_TEST_* macro instead of
7721 check_* calls and other assignments. Update calls to new_test.
7722
d8cd06db
JM
7723 [BZ #2546]
7724 [BZ #2560]
7725 [BZ #5159]
7726 [BZ #15426]
7727 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7728 input to result for tgamma overflow.
7729 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7730 (gamma_coeff): New variable.
7731 (NCOEFF): New macro.
7732 (gamma_positive): New function.
7733 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7734 underflow here. Use gamma_positive instead of exp (lgamma) for
7735 other arguments.
7736 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7737 (gamma_coeff): New variable.
7738 (NCOEFF): New macro.
7739 (gammaf_positive): New function.
7740 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7741 underflow here. Use gamma_positive instead of exp (lgamma) for
7742 other arguments.
7743 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7744 (gamma_coeff): New variable.
7745 (NCOEFF): New macro.
7746 (gammal_positive): New function.
7747 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7748 underflow here. Use gamma_positive instead of exp (lgamma) for
7749 other arguments.
7750 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7751 (gamma_coeff): New variable.
7752 (NCOEFF): New macro.
7753 (gammal_positive): New function.
7754 (__ieee754_gammal_r): Handle positive infinity, overflow and
7755 underflow here. Handle NaN the same as positive infinity. Remove
7756 check x < 0xffffffff for negative integers. Use gamma_positive
7757 instead of exp (lgamma) for other arguments.
7758 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7759 (gamma_coeff): New variable.
7760 (NCOEFF): New macro.
7761 (gammal_positive): New function.
7762 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7763 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7764 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7765 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7766 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7767 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7768 * sysdeps/generic/math_private.h (__gamma_productf): New
7769 prototype.
7770 (__gamma_product): Likewise.
7771 (__gamma_productl): Likewise.
7772 * math/Makefile (libm-calls): Add gamma_product.
7773 * math/libm-test.inc (tgamma_test): Add more tests.
7774 * sysdeps/i386/fpu/libm-test-ulps: Update.
7775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7776
bb7cf681
OB
77772013-05-08 Ondřej Bílka <neleai@seznam.cz>
7778
7779 * benchtests/bench-skeleton.c (main): Preheat CPU.
7780
ba853947
AJ
77812013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7782
7783 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7784
8347c74c
RM
77852013-05-07 Roland McGrath <roland@hack.frob.com>
7786
7787 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7788 and _dl_skip_args_internal.
7789
e8dd4791
CD
77902013-05-07 Carlos O'Donell <carlos@redhat.com>
7791
7792 * manual/message.texi (Message Translation): Talk about users.
7793 Message to key mapping impacts design.
7794
c7405830
RM
77952013-05-06 Roland McGrath <roland@hack.frob.com>
7796
a9173057
RM
7797 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7798
976e2f03
RM
7799 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7800
9723ffc5
RM
7801 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7802 * sysdeps/wordsize-64/glob64.c: ... here.
7803
962e6658
RM
7804 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7805 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7806 New macros.
7807
ee586a6d
RM
7808 * debug/getlogin_r_chk.c: Moved to ...
7809 * login/getlogin_r_chk.c: ... here.
7810 * debug/Makefile (routines): Move getlogin_r_chk to ...
7811 * login/Makefile (routines): ... here.
7812 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7813 * login/Versions (libc: GLIBC_2.4): ... here.
7814
355f9165
RM
7815 * io/poll.c (__poll): Renamed from poll.
7816 Add libc_hidden_def.
7817 (poll): Define as weak alias.
7818
bd9ffde6
RM
7819 * debug/ptsname_r_chk.c: Moved to ...
7820 * login/ptsname_r_chk.c: ... here.
7821 * debug/Makefile (routines): Move ptsname_r_chk to ...
7822 * login/Makefile (routines): ... here.
7823 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7824 * login/Versions (libc: GLIBC_2.4): ... here.
7825
8fb16a04
RM
7826 * posix/getlogin.c: Moved to ...
7827 * login/getlogin.c: ... here.
7828 * posix/getlogin_r.c: Moved to ...
7829 * login/getlogin_r.c: ... here.
7830 * posix/getlogin_r.c: Moved to ...
7831 * login/getlogin_r.c: ... here.
7832 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7833 * login/Makefile (routines): ... here.
7834 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7835 * login/Versions (libc: GLIBC_2.0): ... here.
7836
b99b892f
RM
7837 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7838 (setrlimit): Define as weak alias.
7839
c7405830
RM
7840 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7841 Call __ names for open, ftruncate, and close.
7842 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7843 (truncate): Define as weak alias.
7844
5bf96de5
JM
78452013-05-06 Joseph Myers <joseph@codesourcery.com>
7846
9ea3513c
JM
7847 * math/gen-libm-test.pl (parse_args): Initialize x before each
7848 test of frexp, modf and remquo.
7849
5bf96de5
JM
7850 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7851 test signgam value.
7852
16e616a7
AZ
78532013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7854
7855 [BZ #15418]
7856 [BZ #15419]
7857 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7858 internal tests.
7859 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7860
d5e82754
RM
78612013-05-06 Roland McGrath <roland@hack.frob.com>
7862
7863 * elf/dl-writev.h: New file.
7864 * elf/dl-misc.c: Include it.
7865 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7866 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7867
a7548d41
JM
78682013-05-04 Joseph Myers <joseph@codesourcery.com>
7869
b7dab1e4
JM
7870 * math/libm-test.inc (noXFails): Remove variable.
7871 (noXPasses): Likewise.
7872 (BUILD_COMPLEX_INT): Remove macro.
7873 (print_screen): Remove xfail argument.
7874 (print_screen_max_error): Likewise.
7875 (update_stats): Likewise.
7876 (print_max_error): Likewise. Update calls to other affected
7877 functions.
7878 (print_complex_max_error): Likewise.
7879 (test_single_exception): Update calls to print_screen.
7880 (test_single_errno): Likewise.
7881 (check_float_internal): Remove xfail argument. Update calls to
7882 other affected functions.
7883 (check_float): Likewise.
7884 (check_complex): Likewise.
7885 (check_int): Likewise.
7886 (check_long): Likewise.
7887 (check_bool): Likewise.
7888 (check_longlong): Likewise.
7889 (main): Don't print noXFails and noXPasses.
7890 * math/gen-libm-test.pl (top level): Don't mention expected
7891 failure handling in comment.
7892 (new_test): Don't handle expected failures.
7893 (parse_args): Don't mention expected failure handling in comment.
7894 (generate_testfile): Don't handle expected failures.
7895 (parse_ulps): Likewise.
7896 (print_ulps_file): Likewise.
7897 (get_failure): Remove function.
7898 (output_test): Don't handle expected failures.
7899 * make/README.libm-test: Don't mention expected failure handling.
7900
a7548d41
JM
7901 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7902 (minus_zero): Likewise.
7903 (plus_infty): Likewise.
7904 (minus_infty): Likewise.
7905 (qnan_value): Likewise.
7906 (max_value): Likewise.
7907 (min_value): Likewise.
7908 (min_subnorm_value): Likewise.
7909 (initialize): Do not initialize those variables dynamically.
7910
60bfd54c
RM
79112013-05-03 Roland McGrath <roland@hack.frob.com>
7912
cc0e6ed8
RM
7913 * io/open.c (__open_2): Moved to ...
7914 * io/open_2.c: ... this new file.
7915 * io/open64.c (__open64_2): Moved to ...
7916 * io/open64_2.c: ... this new file.
7917 * io/openat.c (__openat_2): Moved to ...
7918 * io/openat_2.c: ... this new file.
7919 * io/openat64.c (__openat64_2): Moved to ...
7920 * io/openat64_2.c: ... this new file.
7921 * io/Makefile (routines): Add them.
7922 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7923 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7924 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7925 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7926 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7927 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7928 (__openat64): Add hidden_ver.
7929 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7930 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7931
60bfd54c
RM
7932 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7933 Separately conditionalize setting of GLRO(dl_sysinfo) so
7934 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7935 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7936
83e7640f
AZ
79372013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7938
7939 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7940 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7941 definition.
7942 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7943 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7944 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7945 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7946 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7947
d5dc2af3
JM
79482013-05-03 Joseph Myers <joseph@codesourcery.com>
7949
c31a5b1e
JM
7950 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7951 test signgam value.
7952
d5dc2af3
JM
7953 * math/libm-test.inc (hypot_test): Do not use
7954 IGNORE_ZERO_INF_SIGN.
7955
164fd39d
AJ
79562013-05-03 Andreas Jaeger <aj@suse.de>
7957
7958 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7959 Linux 3.9.
7960 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7961 (PF_MAX): Adjust for VSOCK change.
7962
8237f48c
AZ
79632013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7964
7965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7966
9df02941
CD
79672013-05-02 Carlos O'Donell <carlos@redhat.com>
7968
7969 [BZ #15264]
7970 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7971 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7972 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7973
d422395e
DM
79742013-05-02 David S. Miller <davem@davemloft.net>
7975
7976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7977
a07c5731
OB
79782013-05-01 Ondřej Bílka <neleai@seznam.cz>
7979
7980 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7981
1324e37f
RM
79822013-05-01 Roland McGrath <roland@hack.frob.com>
7983
7984 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7985
0695940b
RS
79862013-05-01 Richard Smith <richard@metafoo.co.uk>
7987
bb5f27ad 7988 [BZ #14952]
0695940b
RS
7989 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7990 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7991 Use __attribute__ ((__gnu_inline__)).
7992 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7993 Don't use __attribute__ ((__gnu_inline__)).
7994
10de07f5
JM
79952013-05-01 Joseph Myers <joseph@codesourcery.com>
7996
7997 [BZ #15423]
7998 * math/s_catan.c (__catan): Handle small real or imaginary part of
7999 input specially to avoid spurious underflow.
8000 * math/s_catanf.c (__catanf): Likewise.
8001 * math/s_catanh.c (__catanh): Likewise.
8002 * math/s_catanhf.c (__catanhf): Likewise.
8003 * math/s_catanhl.c (__catanhl): Likewise.
8004 * math/s_catanl.c (__catanl): Likewise.
8005 * math/libm-test.inc (catan_test): Add more tests.
8006 (catanh_test): Likewise.
8007 * sysdeps/i386/fpu/libm-test-ulps: Update.
8008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8009
cb4d5414
AZ
80102013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8011
8012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8013
caf84319
JM
80142013-04-30 Joseph Myers <joseph@codesourcery.com>
8015
8016 [BZ #15416]
8017 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8018 accurately for denominator in atan2.
8019 * math/s_catanf.c (__catanf): Likewise.
8020 * math/s_catanh.c (__catanh): Likewise.
8021 * math/s_catanhf.c (__catanhf): Likewise.
8022 * math/s_catanhl.c (__catanhl): Likewise.
8023 * math/s_catanl.c (__catanl): Likewise.
8024 * math/libm-test.inc (catan_test): Add more tests.
8025 (catanh_test): Likewise.
8026 * sysdeps/i386/fpu/libm-test-ulps: Update.
8027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8028
d569c6ee
SP
80292013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8030
6dbe713d
SP
8031 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8032
f0ee064b
SP
8033 * benchtests/Makefile (bench): Remove slow benchmarks.
8034 * benchtests/atan-inputs: Add slow benchmark inputs.
8035 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8036 (BENCH_FUNC): Accept variant offset.
8037 (VARIANT): Define.
8038 * benchtests/bench-skeleton.c (main): Run benchmark for each
8039 variant.
8040 * benchtests/cos-inputs: Add slow benchmark inputs.
8041 * benchtests/exp-inputs: Likewise.
8042 * benchtests/pow-inputs: Likewise.
8043 * benchtests/sin-inputs: Likewise.
8044 * benchtests/slowatan-inputs: Remove.
8045 * benchtests/slowatan.c: Remove.
8046 * benchtests/slowcos-inputs: Remove.
8047 * benchtests/slowcos.c: Remove.
8048 * benchtests/slowexp-inputs: Remove.
8049 * benchtests/slowexp.c: Remove.
8050 * benchtests/slowpow-inputs: Remove.
8051 * benchtests/slowpow.c: Remove.
8052 * benchtests/slowsin-inputs: Remove.
8053 * benchtests/slowsin.c: Remove.
8054 * benchtests/slowtan-inputs: Remove.
8055 * benchtests/slowtan.c: Remove.
8056 * benchtests/tan-inputs: Add slow benchmark inputs.
8057 * scripts/bench.pl: Parse comments and directives.
8058
d569c6ee
SP
8059 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8060 in CPPFLAGS.
8061 ($(objpfx)bench-%.c): Remove *-ITER.
8062 * benchtests/bench-modf.c: Remove definition of ITER.
8063 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8064 (main): Loop for DURATION seconds instead of fixed number of
8065 iterations.
8066 * scripts/bench.pl: Don't expect iterations in parameters.
8067
a6a242fe
RM
80682013-04-29 Roland McGrath <roland@hack.frob.com>
8069
8070 * io/fchdir.c (__fchdir): Renamed from fchdir.
8071 (fchdir): Define as weak alias.
8072
f2da7793
JM
80732013-04-29 Joseph Myers <joseph@codesourcery.com>
8074
8075 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8076 (ERRNO_EDOM): Likewise.
8077 (ERRNO_ERANGE): Likewise.
8078 (noErrnoTests): New variable.
8079 (init_max_error): Set errno to 0.
8080 (test_single_errno): New function.
8081 (test_errno): Likewise.
8082 (check_float_internal): Call test_errno. Set errno to 0.
8083 (check_complex): Refer to errno tests in comment.
8084 (check_int): Call test_errno. Set errno to 0.
8085 (check_long): Likewise.
8086 (check_bool): Likewise.
8087 (check_longlong): Likewise.
8088 (cos_test): Use ERRNO_* flags for errno tests instead of
8089 check_int.
8090 (expm1_test): Likewise.
8091 (fmod_test): Likewise.
8092 (ilogb_test): Likewise.
8093 (lgamma_test): Likewise.
8094 (pow_test): Likewise.
8095 (remainder_test): Likewise.
8096 (sin_test): Likewise.
8097 (tan_test): Likewise.
8098 (yn_test): Likewise.
8099 (initialize): Set errno to 0.
8100 (main): Print number of errno tests.
8101 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8102
b1a36ceb
AJ
81032013-04-29 Andreas Jaeger <aj@suse.de>
8104
c3ed8088
AJ
8105 [BZ #15084]
8106 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8107 and RES_USEVC.
8108
f1a24198
AJ
8109 [BZ #15085]
8110 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8111 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8112 unimplemented.
8113
9ce3b2cb
AJ
8114 [BZ #15380]
8115 * stdlib/random.c (__initstate): Return NULL if
8116 __initstate fails.
8117
f1a24198 8118 [BZ #15086]
b1a36ceb
AJ
8119 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8120 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8121 RES_SNGLKUPREOP.
8122
7e7b6f36
AZ
81232013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8124
8125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8126
4d14f449
JM
81272013-04-29 Joseph Myers <joseph@codesourcery.com>
8128
8129 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8130 of individual tests.
8131 (casin_test): Likewise.
8132 (casinh_test): Likewise.
8133
5b4217d7
JM
81342013-04-27 Joseph Myers <joseph@codesourcery.com>
8135
8136 [BZ #15409]
8137 * math/s_catan.c (__catan): Handle arguments with large real or
8138 imaginary part separately without squaring.
8139 * math/s_catanf.c (__catanf): Likewise.
8140 * math/s_catanh.c (__catanh): Likewise.
8141 * math/s_catanhf.c (__catanhf): Likewise.
8142 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8143 and redefine.
8144 (__catanhl): Handle arguments with large real or imaginary part
8145 separately without squaring.
8146 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8147 and redefine.
8148 (__catanl): Handle arguments with large real or imaginary part
8149 separately without squaring.
8150 * math/libm-test.inc (catan_test): Add more tests.
8151 (catanh_test): Likewise.
8152 * sysdeps/i386/fpu/libm-test-ulps: Update.
8153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8154
4220c3ef
AJ
81552013-04-27 Andreas Jaeger <aj@suse.de>
8156
8157 [BZ #15007]
8158 * stdlib/stdlib.h: Update guards for qecvt.
8159 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8160 <stdlib.h>.
8161
4721b2d1
AM
81622013-04-27 Allan McRae <allan@archlinux.org>
8163
8164 * sysdeps/i386/fpu/libm-test-ulps: Update.
8165
f0302940
JM
81662013-04-26 Joseph Myers <joseph@codesourcery.com>
8167
9457fd95
JM
8168 [BZ #15406]
8169 * math/s_catan.c: Include <float.h>.
8170 (__catan): Ensure underflow exception occurs for underflowed
8171 result.
8172 * math/s_catanf.c: Include <float.h>.
8173 (__catanf): Ensure underflow exception occurs for underflowed
8174 result.
8175 * math/s_catanh.c: Include <float.h>.
8176 (__catanh): Ensure underflow exception occurs for underflowed
8177 result.
8178 * math/s_catanhf.c: Include <float.h>.
8179 (__catanhf): Ensure underflow exception occurs for underflowed
8180 result.
8181 * math/s_catanhl.c: Include <float.h>.
8182 (__catanhl): Ensure underflow exception occurs for underflowed
8183 result.
8184 * math/s_catanl.c: Include <float.h>.
8185 (__catanl): Ensure underflow exception occurs for underflowed
8186 result.
8187 * math/libm-test.inc (catan_test): Add more tests.
8188 (catanh_test): Likewise.
8189
f0302940
JM
8190 [BZ #15405]
8191 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8192 underflowed result.
8193 * math/s_ccoshf.c (__ccoshf): Likewise.
8194 * math/s_ccoshl.c (__ccoshl): Likewise.
8195 * math/s_csin.c (__csin): Likewise.
8196 * math/s_csinf.c (__csinf): Likewise.
8197 * math/s_csinh.c (__csinh): Likewise.
8198 * math/s_csinhf.c (__csinhf): Likewise.
8199 * math/s_csinhl.c (__csinhl): Likewise.
8200 * math/s_csinl.c (__csinl): Likewise.
8201 * math/libm-test.inc (ccos_test): Add more tests.
8202 (ccosh_test): Likewise.
8203 (csin_test): Likewise.
8204 (csinh_test): Likewise.
8205
aa630f59
AZ
82062013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8207
8208 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8209 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8210 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8211 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8212 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8213 powerpc/power5+/fpu folders.
8214 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8215
8216
1b835983
MT
82172013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8218
8219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8220
73709b26
JM
82212013-04-25 Joseph Myers <joseph@codesourcery.com>
8222
8223 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8224 additions to variable.
8225 [$(config-machine) = x86_64] (modules-names): Likewise.
8226 ($(objpfx)tst-audit3): Remove dependency.
8227 ($(objpfx)tst-audit3.out): Likewise.
8228 ($(objpfx)tst-audit4): Likewise.
8229 ($(objpfx)tst-audit4.out): Likewise.
8230 ($(objpfx)tst-audit5): Likewise.
8231 ($(objpfx)tst-audit5.out): Likewise.
8232 ($(objpfx)tst-audit6): Likewise.
8233 ($(objpfx)tst-audit6.out): Likewise.
8234 ($(objpfx)tst-audit7): Likewise.
8235 ($(objpfx)tst-audit7.out): Likewise.
8236 (tst-audit3-ENV): Remove variable.
8237 (tst-audit4-ENV): Likewise.
8238 (tst-audit5-ENV): Likewise.
8239 (tst-audit6-ENV): Likewise.
8240 (tst-audit7-ENV): Likewise.
8241 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8242 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8243 addition to variable.
8244 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8245 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8246 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8247 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8248 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8249 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8250 tst-audit3, tst-audit4 and tst-audit5.
8251 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8252 tst-audit6 and tst-audit7.
8253 [$(subdir) = elf] (modules-names): Add audit modules for those
8254 tests.
8255 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8256 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8257 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8258 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8259 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8260 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8261 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8262 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8263 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8264 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8265 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8266 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8267 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8268 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8269 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8270 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8271 Likewise.
8272 [$(subdir) = elf && $(config-cflags-avx) = yes]
8273 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8274 [$(subdir) = elf && $(config-cflags-avx) = yes]
8275 (CFLAGS-tst-auditmod4a.c): Likewise.
8276 [$(subdir) = elf && $(config-cflags-avx) = yes]
8277 (CFLAGS-tst-auditmod4b.c): Likewise.
8278 [$(subdir) = elf && $(config-cflags-avx) = yes]
8279 (CFLAGS-tst-auditmod6b.c): Likewise.
8280 [$(subdir) = elf && $(config-cflags-avx) = yes]
8281 (CFLAGS-tst-auditmod6c.c): Likewise.
8282 [$(subdir) = elf && $(config-cflags-avx) = yes]
8283 (CFLAGS-tst-auditmod7b.c): Likewise.
8284 * elf/tst-audit3.c: Move to ...
8285 * sysdeps/x86_64/tst-audit3.c: ... here.
8286 * elf/tst-audit4.c: Move to ...
8287 * sysdeps/x86_64/tst-audit4.c: ... here.
8288 * elf/tst-audit5.c: Move to ...
8289 * sysdeps/x86_64/tst-audit5.c: ... here.
8290 * elf/tst-audit6.c: Move to ...
8291 * sysdeps/x86_64/tst-audit6.c: ... here.
8292 * elf/tst-audit7.c: Move to ...
8293 * sysdeps/x86_64/tst-audit7.c: ... here.
8294 * elf/tst-auditmod3a.c: Move to ...
8295 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8296 * elf/tst-auditmod3b.c: Move to ...
8297 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8298 * elf/tst-auditmod4a.c: Move to ...
8299 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8300 * elf/tst-auditmod4b.c: Move to ...
8301 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8302 * elf/tst-auditmod5a.c: Move to ...
8303 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8304 * elf/tst-auditmod5b.c: Move to ...
8305 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8306 * elf/tst-auditmod6a.c: Move to ...
8307 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8308 * elf/tst-auditmod6b.c: Move to ...
8309 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8310 * elf/tst-auditmod6c.c: Move to ...
8311 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8312 * elf/tst-auditmod7a.c: Move to ...
8313 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8314 * elf/tst-auditmod7b.c: Move to ...
8315 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8316
1ef74943
PP
83172013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8318
8319 [BZ #15366]
8320 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8321 define unconditionally.
8322 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8323 define unconditionally.
8324 (INT8_C, INT16_C, etc.): Likewise.
8325
93fd48c5
MR
83262013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8327
ae9552cf
MR
8328 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8329 __ehdr_start with hidden visibility.
8330
93fd48c5
MR
8331 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8332
418601aa
CD
83332013-04-24 Carlos O'Donell <carlos@redhat.com>
8334
8335 * math/libm-test.inc (cos_test): Use accurate hex constants.
8336 (sincost_test): Likewise.
8337
2f38fbfe
JM
83382013-04-24 Joseph Myers <joseph@codesourcery.com>
8339
5e221800
JM
8340 * math/libm-test.inc (catan_test): Add more tests.
8341 (catanh_test): Likewise.
8342
77f143fd
JM
8343 * math/s_catanf.c (__catanf): Use suffixed floating-point
8344 constants.
8345 * math/s_catanhf.c (__catanhf): Likewise.
8346 * math/s_catanhl.c (__catanhl): Likewise.
8347 * math/s_catanl.c (__catanl): Likewise.
8348
2f38fbfe
JM
8349 [BZ #15394]
8350 * math/s_catan.c (__catan): Calculate imaginary part of result
8351 with log1p not log unless computing log of number close to 0.
8352 * math/s_catanf.c (__catanf): Likewise.
8353 * math/s_catanl.c (__catanl): Likewise.
8354 * math/s_catanh.c (__catanh): Calculate real part of result with
8355 log1p not log unless computing log of number close to 0.
8356 * math/s_catanhf.c (__catanhf): Likewise.
8357 * math/s_catanhl.c (__catanhl): Likewise.
8358 * math/libm-test.inc (catan_test): Add more tests.
8359 (catanh_test): Likewise.
8360 * sysdeps/i386/fpu/libm-test-ulps: Update.
8361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8362
45d69176
SP
83632013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8364
8365 * benchtests/Makefile: Mention files in which fast and slow
8366 paths of math functions are implemented.
8367
87f51853
RM
83682013-04-23 Roland McGrath <roland@hack.frob.com>
8369
8370 * sysdeps/posix/timespec_get.c: New file.
8371
3c026539
AZ
83722013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8373
8374 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8375 POWER.
8376 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8377 for POWER.
8378 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8379 powerpc/power5/fpu folders.
8380 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8381 * benchtests/Makefile: Add modf testcase.
8382 * benchtests/bench-modf.c: New file: Benchmark test for mo
8383
ff491d14
SP
83842013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8385
8386 [BZ #14888]
8387 * time/Makefile (tests): Add tst-strptime-whitespace.
8388 * time/strptime_l.c (get_number): Use ISSPACE.
8389 (__strptime_internal): Likewise.
8390 * time/tst-strptime-whitespace.c: New test case.
8391
7ed3f4e8
AS
83922013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8393
8394 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8395 member.
8396 (_nss_files_init): Set it here.
8397
5c95f7b6
HC
83982013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8399
8400 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8401 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8402 unsigned.
8403
d34c9158
JBG
84042013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8405
8406 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8407
2169712d
SP
84082013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8409
8410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8411 size just once.
8412
29c5de99
DM
84132013-04-21 David S. Miller <davem@davemloft.net>
8414
8415 * po/ru.po: Update Russion translation from translation project.
8416
ccdad15d
AC
84172013-04-17 Adam Conrad <adconrad@0c3.net>
8418
8419 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8420 and setfsgid.
8421
0f122b8d
CD
84222013-04-17 Carlos O'Donell <carlos@redhat.com>
8423
5c5b07da 8424 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8425 * configure: Regenerate.
5c5b07da 8426 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8427 Add example to error message.
8428 * sysdeps/i386/configure: Regenerate.
8429
037714dd
SP
84302013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8431
8432 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8433 slowtan.
8434 * benchtests/cos-inputs: New file.
8435 * benchtests/slowcos-inputs: New file.
8436 * benchtests/slowcos.c: New file.
8437 * benchtests/slowtan-inputs: New file.
8438 * benchtests/slowtan.c: New file.
8439 * benchtests/tan-inputs: New file.
8440
e913141d
RM
84412013-04-16 Roland McGrath <roland@hack.frob.com>
8442
8443 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8444 considered kosher.
8445
a2964074
SP
84462013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8447
4856bcd2
SP
8448 * benchtests/Makefile: Include cppflags-iterator.mk to add
8449 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8450
a2964074
SP
8451 * Makefile.in (bench-clean): New target.
8452 * benchtests/Makefile (bench-clean): Likewise.
8453
9fbf9aca
DH
84542013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8455
8456 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8457
207d1e2a
TS
84582013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8459
8460 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8461
306dfba9
AS
84622013-04-15 Andreas Schwab <schwab@suse.de>
8463
8464 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8466 * nscd/pwdcache.c (cache_addpw): Likewise.
8467 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8468 more than recsize.
8469
206a6699
SP
84702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8471
8472 * benchtests/Makefile (bench): Write all output to
8473 bench-out.tmp together.
8474
0582f6b3
AS
84752013-04-15 Andreas Schwab <schwab@suse.de>
8476
8477 * nscd/nscd.c (main): Don't fork again after closing files.
8478
acb4325f
SP
84792013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8480
5cb26d0a
SP
8481 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8482
acb4325f
SP
8483 * benchtests/Rules (bench-deps): Collect dependencies into a
8484 single variable. Add Makefile to dependencies.
8485 ($(objpfx)bench-%.c): Depend on bench-deps.
8486
47792506
RM
84872013-04-12 Roland McGrath <roland@hack.frob.com>
8488 Xavier Roche <roche+kml2@exalead.com>
8489
8490 [BZ #15361]
8491 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8492 just that it's a file descriptor.
8493 * manual/llio.texi (Synchronizing AIO Operations): Update description
8494 for EBADF error from aio_fsync.
8495
8fc1bee5
SP
84962013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8497
8498 * Rules (bench): Move target definition...
8499 * benchtests/Makefile: ... here.
8500
aba5e333
CD
85012013-04-11 Carlos O'Donell <carlos@redhat.com>
8502
8503 * math/libm-test.inc (cos_test): Fix PI/2 test.
8504 (sincos_test): Likewise.
8505 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8506 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8507
273cdee8
AS
85082013-04-11 Andreas Schwab <schwab@suse.de>
8509
6ecec3b6
AS
8510 [BZ #13988]
8511 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8512 accept exponent character only when digits were seen.
8513 * stdio-common/Makefile (tests): Add bug26.
8514 * stdio-common/bug26.c: New file.
8515
273cdee8
AS
8516 [BZ #14293]
8517 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8518 non-freeable.
8519
8da491f5
SP
85202013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8521
01dc6df9
SP
8522 * Makeconfig (rtld-prefix): Define built linker prefix.
8523 * Rules (run-bench): Use it.
8524 * math/Makefile (run-regen-ulps): Likewise.
8525
8da491f5
SP
8526 * Rules (bench): Remove eval.
8527
abe7f530
SP
85282013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8529 Roland McGrath <roland@hack.frob.com>
8530 Ondrej Bilka <neleai@seznam.cz>
8531
8532 [BZ #15346]
8533 * time/getdate.c: Include ctype.h and alloca.h.
8534 (__getdate_r): Trim leading and trailing spaces of input.
8535 * time/tst-getdate.c (tests): Add tests with leading and
8536 trailing spaces.
8537
61c23e62
RM
85382013-04-08 Roland McGrath <roland@hack.frob.com>
8539
8540 [BZ #14280]
8541 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8542 when computing value.
8543
7208a313
CD
85442013-04-06 Carlos O'Donell <carlos@redhat.com>
8545
085b2d41
CD
8546 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8547 Use testrun.sh to run libm tests.
8548
7208a313
CD
8549 [BZ #15309]
8550 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8551
872c0acd
MM
85522013-04-06 Marko Myllynen <myllynen@redhat.com>
8553
8554 [BZ #15264]
8555 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8556
26510bdd
CD
85572013-04-06 Carlos O'Donell <carlos@redhat.com>
8558
8559 * Makefile.in (regen-ulps): New target.
8560 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8561 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8562 [ifneq (no,$(PERL)] (regen-ulps): New target.
8563 [ifeq (no,$(PERL)] (regen-ulps): New target.
8564 * math/libm-test.inc (ulps_file_name): Define.
8565 (output_dir): New variable.
8566 (options): Add "output-dir" option.
8567 (parse_opt): Handle 'o' case.
8568 (main): If output_dir is non-NULL use it as a prefix
8569 otherwise use "".
8570 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8571
a01f19c8
CD
85722013-04-06 Carlos O'Donell <carlos@redhat.com>
8573
8574 [BZ #10060, #10062]
8575 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8576 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8577 fail configure if __sync_val_compare_and_swap is not inlined.
8578 * sysdeps/i386/configure: Regenerate.
8579 * configure.in: Build for i686 when configured for i386.
8580 * configure: Regenerate.
8581 * README: Remove i386 reference.
8582
b7a329a5
CD
85832013-04-06 Carlos O'Donell <carlos@redhat.com>
8584
8585 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8586 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8587
bf0f50df
TS
85882013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8589
ee091edf
TS
8590 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8591 (lmsnanval): New variables.
8592 (F): Add conversion tests.
8593 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8594 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8595
a8b792d6
TS
8596 * stdio-common/tstdiomisc.c (F): Properly collect individual
8597 tests' results.
8598
a1cbf437
TS
8599 [BZ #14686, #15336]
8600 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8601 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8602 Instead, use input NaN values or generate a qNaN by arithmetic
8603 operation. Also fix bugs to comply with the standard.
8604 * math/libm-test.inc (remainder_test): Add more tests.
8605
8b43a0c9
TS
8606 [BZ #15335, #15342]
8607 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8609 input NaN values or generate a qNaN by arithmetic operation.
8610
d91da4ce
TS
8611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8612 unreachable code.
8613
bf0f50df
TS
8614 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8615 definitions.
8616
05e166c8
JM
86172013-04-03 Joseph Myers <joseph@codesourcery.com>
8618
8619 [BZ #14478]
8620 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8621 underflowed result.
8622 * math/s_cexpf.c (__cexpf): Likewise.
8623 * math/s_cexpl.c (__cexpl): Likewise.
8624 * math/libm-test.inc (cexp_test): Add more tests.
8625
1cef1b19
AS
86262013-04-03 Andreas Schwab <schwab@suse.de>
8627
8628 [BZ #15330]
8629 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8630 order arrays from heap if bigger than alloca cutoff.
8631
74d87055
TS
86322013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8633
8634 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8635 (SNAN_TESTS_double): Refer to GCC PR56831.
8636 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8637 GCC PR56828.
8638
d755bba4
SP
86392013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8640
90d5d5bb
SP
8641 * Rules (bench): Move bench.out after the run is complete.
8642
73e0cd5d
SP
8643 * Rules (bench): Echo currently running benchmark.
8644
64aabd4b
SP
8645 * benchtests/Makefile (bench): Add atan and slowatan.
8646 * benchtests/atan-inputs: New file.
8647 * benchtests/slowatan-inputs: New file.
8648 * benchtests/slowatan.c: New file.
8649
c871eccd
SP
8650 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8651 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8652 its value.
8653
d755bba4
SP
8654 [BZ #15305]
8655 * sysdeps/unix/sysv/linux/kernel-features.h
8656 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8657 __ASSUME_XFS_RESTRICTED_CHOWN.
8658 * sysdeps/unix/sysv/linux/pathconf.c
8659 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8660 Save and restore errno.
8661
52ce4860
JM
86622013-04-02 Joseph Myers <joseph@codesourcery.com>
8663
8664 [BZ #15327]
8665 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8666 arguments using __kernel_casinh.
8667 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8668 arguments using __kernel_casinhf.
8669 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8670 arguments using __kernel_casinhl.
8671 * math/libm-test.inc (cacosh_test): Add more tests.
8672 * sysdeps/i386/fpu/libm-test-ulps: Update.
8673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8674
81f311c2
SP
86752013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8676
e7906a47
SP
8677 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8678 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8679
92e3664b
SP
8680 * bench/Makefile (bench): Add sin and slowsin.
8681 * benchtests/sin-inputs: New file.
8682 * benchtests/slowsin-inputs: New file.
8683 * benchtests/slowsin.c: New file.
8684
81f311c2
SP
8685 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8686 (bench): Add slowexp and slowpow.
8687 (exp-ITER): Increase iterations.
8688 (pow-ITER): Likewise.
8689 * benchtests/exp-inputs: Change input.
8690 * benchtests/pow-inputs: Likewise.
8691 * benchtests/slowexp-inputs: New file.
8692 * benchtests/slowexp.c: New file.
8693 * benchtests/slowpow-inputs: New file.
8694 * benchtests/slowpow.c: New file.
8695
ab0f1aa9
AZ
86962013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8697
8698 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8699 instructions.
8700 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8701 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8702 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8703 * benchtests/Makefile: Add rint benchtest.
8704 * benchtests/rint-inputs: Input for rint benchtest.
8705
57267616
TS
87062013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8707
8708 * Versions.def (libm): Add GLIBC_2.18.
8709 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8710 hidden libm prototypes.
8711 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8712 * math/Makefile (libm-calls): Add s_issignaling.
8713 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8714 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8715 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8716 declaration.
8717 * math/math.h [__USE_GNU] (issignaling): New macro.
8718 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8719 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8721 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8724 * manual/arith.texi (issignaling): New section.
8725 * manual/libm-err-tab.pl (@all_functions): Update comment.
8726 * math/gen-libm-test.pl (parse_args): Apply special handling for
8727 issignaling.
8728 * math/libm-test.inc (print_float, issignaling_test): New
8729 functions.
8730 (check_float_internal): Add issignaling checks.
8731 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8732 default definition.
8733 * sysdeps/powerpc/math-tests.h: New file.
8734 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8735 tests.
8736 * math/test-snan.c (TEST_FUNC): Likewise.
8737
6142896d
DM
87382013-03-30 David S. Miller <davem@davemloft.net>
8739
8740 * po/de.po: Update from translation team.
8741
ccc8cadf
JM
87422013-03-30 Joseph Myers <joseph@codesourcery.com>
8743
8744 [BZ #10357]
8745 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8746 imaginary part less than 1.0 and real part less than 0.5
8747 specially.
8748 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8749 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8750 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8751 (cacos_test): Add more tests.
8752 (casin_test): Likewise.
8753 (casinh_test): Likewise.
8754 * sysdeps/i386/fpu/libm-test-ulps: Update.
8755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8756
0f6a8d4b
SP
87572013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8758
0d1029de
SP
8759 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8760 ONE with its value.
8761
c2d94018
SP
8762 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8763 (__pow_mp): Replace ONE and MONE with their values.
8764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8765 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8766 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8767 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8768 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8769 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8770
27ec37f1
SP
8771 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8772
a64d7e0e
SP
8773 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8774 (__pow_mp): Replace ZERO and MZERO with their values.
8775 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8776 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8777 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8779 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8780 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8781 (__sqr): Likewise.
8782
d26dd3eb
SP
8783 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8784
0f6a8d4b
SP
8785 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8786
e57b0c61
RM
87872013-03-28 Roland McGrath <roland@hack.frob.com>
8788
8789 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8790 Declare with __attribute__ ((weak)).
8791 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8792 Call __call_tls_dtors only if it's not NULL.
8793
356b3480
RM
87942013-03-28 Roland McGrath <roland@hack.frob.com>
8795
288f7d79
RM
8796 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8797 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8798 magic __ehdr_start linker symbol if it's defined.
8799 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8800 them up here if it was already done.
8801
dc0a0263
RM
8802 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8803 (_dl_aux_init): Use const in cast when setting it.
8804 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8805 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8806 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8807
3d3436ae
RM
8808 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8809 Declare them here.
8810 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8811 * csu/libc-tls.c: Nor here.
8812 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8813
356b3480
RM
8814 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8815 (__libc_message): Never call vsyslog.
8816
b0f1246a
AM
88172013-03-28 Alan Modra <amodra@gmail.com>
8818
8819 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8820 Define as empty.
8821 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8822 Likewise.
8823
fbbe2b9a
AZ
88242013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8825
8826 [BZ #15214]
8827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8828 underflow.
8829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8830
1728ab37
SP
88312013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8832
7a86be6e
SP
8833 [BZ #15304]
8834 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8835 Don't add gid passed as argument.
8836
1728ab37
SP
8837 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8838
3a7182a1
JM
88392013-03-27 Joseph Myers <joseph@codesourcery.com>
8840
8841 [BZ #15307]
8842 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8843 imaginary part between 1.0 and 1.5 and real part less than 0.5
8844 specially.
8845 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8846 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8847 * math/libm-test.inc (cacos_test): Add more tests.
8848 (casin_test): Likewise.
8849 (casinh_test): Likewise.
8850 * sysdeps/i386/fpu/libm-test-ulps: Update.
8851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8852
6f2e90e7
SP
88532013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8854
5739f705
SP
8855 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8856 constants.
8857 (norm): Likewise.
8858 (denorm): Likewise.
8859 (__dbl_mp): Likewise.
8860 (add_magnitudes): Likewise.
8861 (sub_magnitudes): Likewise.
8862 (__add): Likewise.
8863 (__sub): Likewise.
8864 (__mul): Likewise.
8865 (__sqr): Likewise.
8866 (__inv): Likewise.
8867 (__dvd): Likewise.
8868
e375e83d
SP
8869 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8870 commented code.
8871 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8872 (__dubcos): Likewise.
8873 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8874 (__ieee754_acos): Likewise.
8875 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8876 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8877 (__exp1): Likewise.
8878 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8880 (log1): Likewise.
8881 (my_log2): Likewise.
8882 (checkint): Likewise.
8883 * sysdeps/ieee754/dbl-64/e_remainder.c
8884 (__ieee754_remainder): Likewise.
8885 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8886 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8887 (bsloww): Likewise.
8888 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8889
6f2e90e7
SP
8890 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8891 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8892 MANTISSA_STORE_T to store computations on mantissa. Use
8893 macros for rounding and division.
8894 (denorm): Likewise.
8895 (__dbl_mp): Likewise.
8896 (add_magnitudes): Likewise.
8897 (sub_magnitudes): Likewise.
8898 (__mul): Likewise.
8899 (__sqr): Likewise.
8900 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8901 powers of two in terms of TWOPOW macro.
8902 (mp_no): Make type of mantissa as MANTISSA_T.
8903 [!RADIXI]: Define RADIXI.
8904 [!TWO52]: Define TWO52.
8905 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8906
fce14d4e
AZ
89072013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8908
8909 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8910 llroundl symbol when building for PPC32.
8911
9ad027fb
MW
89122013-03-24 Mark H Weaver <mhw@netris.org>
8913
8914 * manual/arith.texi (Normalization Functions): Fix prototypes for
8915 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8916
e42a38dd
AZ
89172013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8918
8919 [BZ #13889]
8920 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8921 high value to check if expl overflow.
8922 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8923 to check for underflow and overflow.
8924 * math/libm-test.inc: Add exp test.
8925
2e0fb521
DL
89262013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8927
8928 [BZ #11120]
8929 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8930 with NOT_IN_libc.
8931
b5784d95
AZ
89322013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8933
8934 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8935 symbol.
8936
5aa4a1a1
TS
89372013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8938
bdef0be7
TS
8939 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8940 wrap blocks consisting of several statements.
8941
5aa4a1a1
TS
8942 * sysdeps/generic/math-tests.h: New file.
8943 * sysdeps/i386/fpu/math-tests.h: Likewise.
8944 * math/test-snan.c: Include it.
8945 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8946
98c48fe5
JM
89472013-03-21 Joseph Myers <joseph@codesourcery.com>
8948
8949 [BZ #15285]
8950 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8951 (__ieee754_j0l): Do not improve calculations using cos of twice
8952 input for inputs above LDBL_MAX / 2.0L.
8953 (__ieee754_y0l): Likewise.
8954 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8955 (__ieee754_j1l): Do not improve calculations using cos of twice
8956 input for inputs above LDBL_MAX / 2.0L.
8957 (__ieee754_y1l): Likewise.
8958 * math/libm-test.inc (j0_test): Add another test.
8959 (j1_test): Likewise.
8960 (y0_test): Likewise.
8961 (y1_test): Likewise.
8962 * sysdeps/i386/fpu/libm-test-ulps: Update.
8963
3775a8bc
SP
89642013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8965
8966 * Rules ($(objpfx)bench-%.c): Include code from a C source
8967 file.
8968
0a1b2ae6
JM
89692013-03-21 Joseph Myers <joseph@codesourcery.com>
8970
8971 [BZ #15287]
8972 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8973 imaginary part 1.0 and real part less than 0.5 specially.
8974 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8975 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8976 * math/libm-test.inc (cacos_test): Add more tests.
8977 (casin_test): Likewise.
8978 (casinh_test): Likewise.
8979 * sysdeps/i386/fpu/libm-test-ulps: Update.
8980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8981
b33d4ce4
SP
89822013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8983
8984 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8985 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8986
bef0b507
JM
89872013-03-20 Joseph Myers <joseph@codesourcery.com>
8988
8989 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8990 * config.make.in (config-cflags-sse4): Remove variable.
8991 (config-cflags-avx): Likewise.
8992 (config-cflags-sse2avx): Likewise.
8993 (config-cflags-novzeroupper): Likewise.
8994 (config-asflags-i686): Likewise.
8995 (have-mfma4): Likewise.
8996 (have-as-vis3): Likewise.
8997 (MIG): Likewise.
8998 * configure.in (MIG): Do not AC_SUBST.
8999 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9000 (libc_cv_cc_sse4): Do not AC_SUBST.
9001 (libc_cv_cc_avx): Likewise.
9002 (libc_cv_cc_sse2avx): Likewise.
9003 (libc_cv_cc_novzeroupper): Likewise.
9004 (libc_cv_cc_fma4): Likewise.
9005 (libc_cv_as_i686): Likewise.
9006 (libc_cv_sparc_as_vis3): Likewise.
9007 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9008 LIBC_CONFIG_VAR.
9009 (config-asflags-i686): Likewise.
9010 (config-cflags-avx): Likewise.
9011 (config-cflags-sse2avx): Likewise.
9012 (have-mfma4): Likewise.
9013 (config-cflags-novzeroupper): Likewise.
9014 * sysdeps/mach/configure.in (MIG): Likewise.
9015 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9016 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9017 LIBC_CONFIG_VAR.
9018 (config-cflags-avx): Likewise.
9019 (config-cflags-sse2avx): Likewise.
9020 (have-mfma4): Likewise.
9021 (config-cflags-novzeroupper): Likewise.
9022 * configure: Regenerated.
9023 * sysdeps/i386/configure: Likewise.
9024 * sysdeps/mach/configure: Likewise.
9025 * sysdeps/sparc/configure: Likewise.
9026 * sysdeps/x86_64/configure: Likewise.
9027
912cc4b3
RM
90282013-03-20 Roland McGrath <roland@hack.frob.com>
9029
9030 [BZ #14812]
9031 * locale/programs/localedef.c (options): Put N_ translation marker
9032 on argument names, not just descriptions.
9033
04eed2b0
MS
90342013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9035
9036 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9037
a065ceff
OB
90382013-03-20 Ondřej Bílka <neleai@seznam.cz>
9039
9bb2a810 9040 [BZ #14176]
a065ceff
OB
9041 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9042
a600e5ce
RM
90432013-03-19 Roland McGrath <roland@hack.frob.com>
9044
9045 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9046 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9047 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9048 [!BEFORE_ABORT] (before_abort): New function.
9049 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9050 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9051 (writev_for_fatal): New function.
9052 (WRITEV_FOR_FATAL): New macro; call that.
9053 (backtrace_and_maps): New function.
9054 (BEFORE_ABORT): New macro; call that.
9055 (struct str_list): Type removed.
9056 (__libc_message, __libc_fatal): Functions removed.
9057 Include <sysdeps/posix/libc_fatal.c> instead.
9058
6b18bea6
JM
90592013-03-19 Joseph Myers <joseph@codesourcery.com>
9060
9061 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9062 constants.
9063 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9064 double constants.
9065
aaa8cb4b
AS
90662013-03-19 Andreas Schwab <schwab@suse.de>
9067
44673770
AS
9068 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9069 * sysdeps/gnu/configure: Regenerate.
9070
aaa8cb4b
AS
9071 * configure.in: Substitute libc_cv_rtlddir.
9072 * configure: Regenerate.
9073 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9074 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9075 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9076 * elf/Makefile (install-others, CFLAGS-interp.c)
9077 (ldso_install, common-ldd-rewrite): Likewise.
9078 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9079 $(inst_slibdir)/$(rtld-installed-name).
9080 * scripts/rellns-sh: Add -p option.
9081 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9082 for source.
9083
d3cfc668
SP
90842013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9085
9086 * manual/nptl.texi: Renamed to ...
9087 * manual/threads.texi: ... this.
9088 * manual/Makefile (chapters): Update.
9089
0e2b9cdd
RM
90902013-03-18 Roland McGrath <roland@hack.frob.com>
9091
9092 [BZ #14812]
9093 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9094 on argument names, not just descriptions.
0e2b9cdd
RM
9095 * malloc/memusagestat.c (options): Likewise.
9096 * nss/getent.c (options): Likewise.
63270c24
RM
9097
90982013-03-18 Benno Schulenberg <bensberg@justemail.net>
9099
9100 [BZ #14812]
9101 * iconv/iconv_prog.c (options): Put N_ translation marker
9102 on argument names, not just descriptions.
9103 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9104
b2e1393c
OB
91052013-03-18 Ondrej Bilka <neleai@seznam.cz>
9106
9107 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9108 implementation which is faster on all x86_64 architectures.
9109 Tested on AMD, Intel Nehalem, SNB, IVB.
9110 * sysdeps/x86_64/strnlen.S: Likewise.
9111
9112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9113 Remove all multiarch strlen and strnlen versions.
9114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9115 Remove strlen and strnlen related parts.
9116
9117 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9118 Inline strlen part.
9119 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9120
9121 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9122 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9123 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9124 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9125 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9126 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9127
ec4ff04d
CD
91282013-03-17 Carlos O'Donell <carlos@redhat.com>
9129
9130 * manual/memory.texi (Malloc Tunable Parameters):
9131 Sort parameters alphabetically. Add comments for missing entries.
9132
cd18e90a
DM
91332013-03-17 David S. Miller <davem@davemloft.net>
9134
9135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9136
2a185d32
JM
91372013-03-16 Joseph Myers <joseph@codesourcery.com>
9138
d2f9799e
JM
9139 [BZ #15283]
9140 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9141 for arguments at most half maximum finite value.
9142 * math/libm-test.inc (j0_test): Add more tests.
9143 (j1_test): Likewise.
9144 (y0_test): Likewise.
9145 (y1_test): Likewise.
9146 * sysdeps/i386/fpu/libm-test-ulps: Update.
9147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9148
2a185d32
JM
9149 [BZ #14155]
9150 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9151 1 / x and functions P and Q for arguments above 0x1p256L.
9152 (__ieee754_y0l): Likewise.
9153 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9154 (__ieee754_y1l): Likewise.
9155 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9156 (j1_test): Likewise.
9157 (y0_test): Likewise.
9158 (y1_test): Likewise.
9159
6cbec759
TS
91602013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9161
9162 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9163 variable.
9164
bc16e260
RM
91652013-03-15 Roland McGrath <roland@hack.frob.com>
9166
aefc9b8c
RM
9167 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9168 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9169 zero since it's initialized to EXEC_PAGESIZE.
9170
bc16e260
RM
9171 * sysdeps/unix/sysv/linux/ldsodefs.h
9172 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9173 * sysdeps/generic/ldsodefs.h: ... here.
9174
a57da955
TS
91752013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9176
af00a34d
TS
9177 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9178
495ded2c
TS
9179 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9180 math/test-snan.c.
9181 * math/test-snan.c: Renamed from
9182 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9183 * math/Makefile (tests): Add test-snan.
9184 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9185 test-powerpc-snan.
9186
777b0332
TS
9187 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9188 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9189 functions.
9190 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9191 __builtin_nan family of functions.
9192 * math/libm-test.inc (initialize): Initialize qnan_value with
9193 __builtin_nan family of functions.
9194 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9195 Remove variables.
9196 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9197 Remove functions.
9198 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9199 storage class. Initialize qNaN_var and sNaN_var with
9200 __builtin_nan and __builtin_nans families of functions,
9201 respectively.
9202
64d063b8
TS
9203 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9204 (sqrt_test): Remove duplicate test with qNaN input.
9205 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9206 (round_test, signbit_test, significand_test): Note missing +/-Inf
9207 as well as qNaN tests.
9208
67e971f1
TS
9209 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9210 qNaN_var. Fix a few strings, too.
9211 * math/libm-test.inc (nan_value): Rename to qnan_value.
9212 * math/gen-libm-test.pl (%beautify): Adjust to that.
9213 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9214 * math/test-misc.c (main): Likewise.
9215 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9216 to __qnan_bytes, and __qnan_union, respectively.
9217 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9218 Likewise.
9219 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9220 and lqnanval, respectively.
9221 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9222 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9223 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9224 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9225
64487e12
TS
9226 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9227 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9228 doubles.
9229
e015e27b
TS
9230 * math/test-misc.c (main): Fix copy'n'pastos.
9231 * misc/tst-efgcvt.c (special): Likewise.
9232
a57da955
TS
9233 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9234 Remove declarations.
9235
1e380345
SP
92362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9237
9238 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9239 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9240 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9241 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9242
ef26eece
AZ
92432013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9244
9245 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9246 macro to return vdso values correctly in IFUNC implementations.
9247 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9248 Optimization by using IFUNC.
9249
8cfdb7e0
SP
92502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9251 Richard Henderson <rth@redhat.com>
9252 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9253
9254 * Makefile.in (bench): New target.
9255 * NEWS: Mention the benchmark framework.
9256 * Rules (bench): Likewise.
9257 (binaries-bench): Generate binaries for functions to
9258 benchmark.
9259 * benchtests/Makefile: New makefile for benchmark tests.
9260 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9261 programs.
9262 * benchtests/exp-inputs: New input file for EXP function.
9263 * benchtests/pow-inputs: New input file for POW function.
9264 * scripts/bench.pl: New script to generate source files for
9265 benchmark programs.
9266
bcda9880
SP
92672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9268
d22ca8cd
SP
9269 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9270 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9271 computations on mantissa. Use macros for rounding and
9272 division.
9273 (denorm): Likewise.
9274 (__dbl_mp): Likewise.
9275 (add_magnitudes): Likewise.
9276 (sub_magnitudes): Likewise.
9277 (__mul): Likewise.
9278 (__sqr): Likewise.
9279 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9280 powers of two in terms of TWOPOW macro.
9281 (mp_no): Make type of mantissa as MANTISSA_T.
9282 [!RADIXI]: Define RADIXI.
9283 [!TWO52]: Define TWO52.
9284 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9285
bcda9880
SP
9286 * manual/nptl.texi (cindex): Modify threads to pthreads.
9287
06d5adfb
JM
92882013-03-15 Joseph Myers <joseph@codesourcery.com>
9289
9290 * sysdeps/x86_64/preconfigure: Regenerated.
9291
41c7328e
JM
92922013-03-14 Joseph Myers <joseph@codesourcery.com>
9293
9294 [BZ #14155]
9295 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9296 0x1p28 and above.
9297 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9298 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9299 0x1p28 and above.
9300 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9301 * math/libm-test.inc (j0_test): Do not allow one spurious
9302 underflow exception.
9303 (y1_test): Likewise.
9304
e25cfa60
SP
93052013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9306
0409959c
SP
9307 * manual/Makefile (chapters): Add nptl.
9308 * manual/debug.texi (Debugging Support): Add link to Threads
9309 chapter.
9310 * manual/nptl.texi: New file.
9311
e25cfa60
SP
9312 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9313
58a1335e
PB
93142013-03-14 Petr Baudis <pasky@ucw.cz>
9315
9316 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9317 for non-NULL pointer before the memory validity test. Pointed
9318 out by Holger Brunck <holger.brunck@keymile.com>.
9319
9dc7c64f
AS
93202013-03-13 Andreas Schwab <schwab@suse.de>
9321
9322 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9323 instead of .os.
9324
54206aa6
JM
93252013-03-13 Joseph Myers <joseph@codesourcery.com>
9326
9327 * timezone/zic.c: Update from tzcode 2013b.
9328
e98cdb38
CD
93292013-03-12 Carlos O'Donell <carlos@redhat.com>
9330
9331 * manual/install.texi (Configuring and compiling):
9332 Mention i686 and i586.
9333 * INSTALL: Regenerate.
9334
9967e003
RM
93352013-03-12 Roland McGrath <roland@hack.frob.com>
9336
9337 * sysdeps/init_array/elf-init.c: New file.
9338 * csu/elf-init.c
9339 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9340 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9341
9342 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9343 __gmon_start__ as global, but as static with a .preinit_array pointer.
9344 * sysdeps/init_array/gmon-start.c: New file. Use that.
9345 * sysdeps/init_array/crti.S: New file, empty except for comments.
9346 * sysdeps/init_array/crtn.S: Likewise.
9347
e6b5a293 93482013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9349
9350 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9351 definining bcopy.
80f844c9
OB
9352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9353 Remove Prefer_SSE_for_memop.
9354 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9355 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9356 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9358 memset-x86-64.
80f844c9 9359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9360 Remove bzero, memset ifunc support.
80f844c9
OB
9361 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9362 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9363 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9364 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9365
fb6b0fcb
AS
93662013-03-11 Andreas Schwab <schwab@suse.de>
9367
9368 [BZ #15234]
9369 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9370 by SHLIB_COMPAT.
9371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9372 (GLIBC_2.16): Remove pthread_atfork.
9373
3e6bd4b1
PP
93742013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9375
9376 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9377 (ptestcases.h): Likewise.
9378
222d7f00
RM
93792013-03-08 Roland McGrath <roland@hack.frob.com>
9380
9381 * Makeconfig ($(common-objpfx)config.status): Depend on
9382 sysdeps/*/preconfigure{,.in} too.
9383
1ba4f030
JM
93842013-03-08 Joseph Myers <joseph@codesourcery.com>
9385
a222d91a
JM
9386 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9387 (__free_hook): Use void * instead of __malloc_ptr_t.
9388 (__malloc_hook): Likewise.
9389 (__realloc_hook): Likewise.
9390 (__memalign_hook): Likewise.
9391 (__after_morecore_hook): Likewise.
9392 * malloc/arena.c (save_malloc_hook): Likewise.
9393 (save_free_hook): Likewise.
9394 * malloc/hooks.c (malloc_hook_ini): Likewise.
9395 (realloc_hook_ini): Likewise.
9396 (memalign_hook_ini): Likewise.
9397 * malloc/malloc.c (malloc_hook_ini): Likewise.
9398 (realloc_hook_ini): Likewise.
9399 (memalign_hook_ini): Likewise.
9400 (__free_hook): Likewise.
9401 (__malloc_hook): Likewise.
9402 (__realloc_hook): Likewise.
9403 (__memalign_hook): Likewise.
9404 (__libc_malloc): Likewise.
9405 (__libc_free): Likewise.
9406 (__libc_realloc): Likewise.
9407 (__libc_memalign): Likewise.
9408 (__libc_valloc): Likewise.
9409 (__libc_pvalloc): Likewise.
9410 (__libc_calloc): Likewise.
9411 (__posix_memalign): Likewise.
9412 * malloc/morecore.c (__sbrk): Likewise.
9413 (__default_morecore): Likewise.
9414
5cc45e10
JM
9415 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9416
dd54b864
JM
9417 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9418 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9419 __malloc_ptrdiff_t.
9420
1ba4f030
JM
9421 * malloc/malloc.h (__malloc_size_t): Remove macro.
9422 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9423 __malloc_size_t.
9424 (old_memalign_hook): Likewise.
9425 (old_realloc_hook): Likewise.
9426 (struct hdr): Likewise.
9427 (flood): Likewise.
9428 (mallochook): Likewise.
9429 (memalignhook): Likewise.
9430 (reallochook): Likewise.
9431 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9432 (tr_old_realloc_hook): Likewise.
9433 (tr_old_memalign_hook): Likewise.
9434 (tr_mallochook): Likewise.
9435 (tr_reallochook): Likewise.
9436 (tr_memalignhook): Likewise.
9437
edf66e57
AZ
94382013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9439
9440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9441 default_ldbl_pack and using as default implementation.
9442 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9443 implementation.
9444 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9445 redundant definition.
9446 (ldbl_insert_mantissa): Likewise.
9447 (ldbl_canonicalize): Likewise.
9448 (ldbl_nearbyint): Likewise.
9449 (ldbl_pack): Rename to ldbl_pack_ppc.
9450 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9451 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9452 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9453
6d9145d8
SP
94542013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9455
9456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9457 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9458 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9459 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9462 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9463 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9464
4dd4e157
AJ
94652013-03-07 Andreas Jaeger <aj@suse.de>
9466
9467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9468 bits/mman-linux.h.
9469
adbb8027
SP
94702013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9471
ce544b5b
SP
9472 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9473 Include mpa.h and declare __MPEXP.
9474 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9475 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9476 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9477 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9478 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9479 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9480 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9481
4cc149fd
SP
9482 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9483 (__slowpow): Use long double EXPL and LOGL functions to
9484 compute POW.
9485 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9486 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9487 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9488 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9489 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9490 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9491
e6ebd4a7
SP
9492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9493 intermediate variable to calculate exponent.
9494 (__sqr): Likewise.
9495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9496 Likewise.
9497 (__sqr): Likewise.
9498
82a9811d
SP
9499 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9500 [!NO__SQR]: Define __sqr.
9501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9502 and NO__SQR. Remove all code except __mul and __sqr. Include
9503 sysdeps/ieee754/dbl-64/mpa.c.
9504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9505
adbb8027
SP
9506 [BZ #12723]
9507 * posix/Makefile (tests): Add tst-pathconf.
9508 * posix/tst-pathconf.c: New test case.
9509 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9510 _PC_PIPE_BUF.
9511 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9512
39120df9
PF
95132013-03-06 Patsy Franklin <pfrankli@redhat.com>
9514
9515 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9516
67525cb8
AJ
95172013-03-06 Andreas Jaeger <aj@suse.de>
9518
664a9ce4
AJ
9519 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9520 definition via __MAP_ANONYMOUS.
9521
8e39047d
AJ
9522 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9523 it's not part of Linux headers.
9524
67525cb8
AJ
9525 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9526 (MAP_HUGE_MASK): Define.
9527
9528 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9529 Define.
9530 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9531 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9532 Define.
9533 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9534 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9535 Define.
9536 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9537 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9538 Define.
9539 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9540
9541 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9542 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9543 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9544 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9545 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9546 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9547
9548 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9549 Handle f2fs.
9550
9551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9552 Handle f2fs and efivarfs.
9553
9554 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9555 f2fs.
9556
9557 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9558 (EFIVARFS_MAGIC): Add.
9559 (F2FS_LINK_MAX): Add.
9560
e1b42695
PP
95612013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9562
9563 * stdio-common/vfprintf.c: Replace __builtin_expect with
9564 __glibc_unlikely.
9565
2d67d91a
JM
95662013-03-06 Joseph Myers <joseph@codesourcery.com>
9567
9568 [BZ #13550]
9569 * sysdeps/generic/bp-sym.h: Remove file.
9570 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9571 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9572 <bp-sym.h> and <bp-asm.h>.
9573 (__longjmp): Don't use BP_SYM.
9574 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9575 and <bp-asm.h>.
9576 (memcpy): Don't use BP_SYM.
9577 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9578 <bp-sym.h> and <bp-asm.h>.
9579 (memcpy): Don't use BP_SYM.
9580 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9581 <bp-asm.h>.
9582 (memcpy): Don't use BP_SYM.
9583 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9584 <bp-asm.h>.
9585 (memset): Don't use BP_SYM.
9586 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9587 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9588 (__bzero): Don't use BP_SYM.
9589 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9590 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9591 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9592 <bp-sym.h> and <bp-asm.h>.
9593 (memcmp): Don't use BP_SYM. Remove comment about bounded
9594 pointers.
9595 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9596 <bp-sym.h> and <bp-asm.h>.
9597 (memcpy): Don't use BP_SYM.
9598 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9599 <bp-sym.h> and <bp-asm.h>.
9600 (memset): Don't use BP_SYM.
9601 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9602 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9603 (__bzero): Don't use BP_SYM.
9604 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9605 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9606 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9607 <bp-sym.h> and <bp-asm.h>.
9608 (strncmp): Don't use BP_SYM. Remove comment about bounded
9609 pointers.
9610 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9611 <bp-sym.h> and <bp-asm.h>.
9612 (memcpy): Don't use BP_SYM.
9613 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9614 <bp-sym.h> and <bp-asm.h>.
9615 (memset): Don't use BP_SYM.
9616 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9617 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9618 (__bzero): Don't use BP_SYM.
9619 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9620 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9621 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9622 <bp-sym.h> and <bp-asm.h>.
9623 (__memchr): Don't use BP_SYM.
9624 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9625 <bp-sym.h> and <bp-asm.h>.
9626 (memcmp): Don't use BP_SYM. Remove comment about bounded
9627 pointers.
9628 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9629 <bp-sym.h> and <bp-asm.h>.
9630 (memcpy): Don't use BP_SYM.
9631 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9632 <bp-sym.h> and <bp-asm.h>.
9633 (__mempcpy): Don't use BP_SYM.
9634 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9635 <bp-sym.h> and <bp-asm.h>.
9636 (__memrchr): Don't use BP_SYM.
9637 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9638 <bp-sym.h> and <bp-asm.h>.
9639 (memset): Don't use BP_SYM.
9640 (__bzero): Likewise.
9641 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9642 <bp-sym.h> and <bp-asm.h>.
9643 (__rawmemchr): Don't use BP_SYM.
9644 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9645 <bp-sym.h> and <bp-asm.h>.
9646 (__STRCMP): Don't use BP_SYM.
9647 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9648 <bp-sym.h> and <bp-asm.h>.
9649 (strchr): Don't use BP_SYM.
9650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9651 <bp-sym.h> and <bp-asm.h>.
9652 (__strchrnul): Don't use BP_SYM.
9653 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9654 <bp-sym.h> and <bp-asm.h>.
9655 (strlen): Don't use BP_SYM.
9656 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9657 <bp-sym.h> and <bp-asm.h>.
9658 (strncmp): Don't use BP_SYM. Remove comment about bounded
9659 pointers.
9660 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9661 <bp-sym.h> and <bp-asm.h>.
9662 (__strnlen): Don't use BP_SYM.
9663 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9664 <bp-sym.h> and <bp-asm.h>.
9665 (__GI__setjmp): Don't use BP_SYM.
9666 (_setjmp): Likewise.
9667 (__sigsetjmp): Likewise.
9668 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9669 (L(start_addresses)): Don't use BP_SYM.
9670 (_start): Likewise.
9671 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9672 <bp-asm.h>.
9673 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9674 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9675 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9676 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9677 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9678 <bp-asm.h>.
9679 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9680 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9681 about bounded pointers.
9682 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9683 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9684 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9685 <bp-asm.h>.
9686 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9687 about bounded pointers. Remove GKM FIXME comments.
9688 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9689 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9690 <bp-asm.h>.
9691 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9692 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9693 Remove GKM FIXME comments.
9694 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9695 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9696 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9697 <bp-asm.h>.
9698 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9699 about bounded pointers. Remove GKM FIXME comment.
9700 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9701 and <bp-asm.h>.
9702 (strncmp): Don't use BP_SYM. Remove comment about bounded
9703 pointers.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9705 <bp-sym.h> and <bp-asm.h>.
9706 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9708 <bp-sym.h> and <bp-asm.h>.
9709 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9710 comment.
9711
cdcf361f
PP
97122013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9713
9714 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9715 call free(NULL).
9716
3c4a2b15
DM
97172013-03-05 David S. Miller <davem@davemloft.net>
9718
9719 * po/es.po: Update from translation team.
9720
cdcf361f 97212013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9722
9723 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9724 <bits/mman-linux.h>.
9725 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9726 is fine.
9727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9728 <bits/mman-linux.h> to end of file.
9729 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9730 is fine.
9731 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9732 <bits/mman-linux.h> to end of file.
9733 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9734 is fine.
9735 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9736 <bits/mman-linux.h> to end of file.
9737
9738 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9739 (MCL_CURRENT, MCL_FUTURE): Define here.
9740
5f67c04f
AK
97412013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9742
8a4473cc 9743 [BZ #15232]
5f67c04f
AK
9744 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9745 attribute_hidden.
9746 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9747
c3e94a95
AK
97482013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9749
9750 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9751 fourth parameter needed for rt_sigprocmask syscall.
9752 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9753 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9754 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9755 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9756 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9757 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9758
cfb6382a
JM
97592013-03-04 Joseph Myers <joseph@codesourcery.com>
9760
9761 [BZ #13550]
9762 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9763 comment about bounded pointers.
9764 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9765 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9766
539d8e01
AJ
97672013-03-04 Andreas Jaeger <aj@suse.de>
9768
9769 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9770 common definitions.
9771
9772 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9773 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9774 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9775 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9776 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9777 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9778
2e167a70 97792013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9780
9781 [BZ #15055]
9782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9783 __ieee754_sqrl instead of __sqrl.
9784
68508633
JM
97852013-03-01 Joseph Myers <joseph@codesourcery.com>
9786
9787 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9788 * sysdeps/powerpc/fpu_control.h: ... here.
9789 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9790 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9791 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9792 * sysdeps/powerpc/bits/mathinline.h: ... here.
9793
7775448e
RM
97942013-03-01 Roland McGrath <roland@hack.frob.com>
9795
9796 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9797 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9798 to just [NEED_DL_SYSINFO_DSO].
9799 * elf/dl-support.c: Likewise.
9800 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9801 * elf/rtld.c (dl_main): Likewise.
9802 * elf/setup-vdso.h (setup_vdso): Likewise.
9803 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9804 * sysdeps/unix/sysv/linux/dl-sysdep.c
9805 (_dl_discover_osversion): Likewise.
9806
4e9b5995
CD
98072013-03-01 Carlos O'Donell <carlos@redhat.com>
9808
9809 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9810 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9811
e23872c8
SP
98122013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9813
e5c74c63
SP
9814 * NEWS: Mention libm performance improvements and non-x86 PI
9815 futex support.
9816
e23872c8
SP
9817 * csu/libc-start.c (__pthread_initialize_minimal): Change
9818 function arguments.
9819 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9820
b5510883
JM
98212013-02-28 Joseph Myers <joseph@codesourcery.com>
9822
9823 [BZ #13550]
9824 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9825 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9826 <bp-sym.h> and <bp-asm.h>.
9827 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9828 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9829 and <bp-asm.h>.
9830 (memcpy): Don't use BP_SYM.
9831 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9832 <bp-asm.h>.
9833 (__mpn_add_n): Don't use BP_SYM.
9834 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9835 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9836 and <bp-asm.h>.
9837 (__mpn_addmul_1): Don't use BP_SYM.
9838 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9839 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9840 <bp-sym.h>.
9841 (_setjmp): Don't use BP_SYM.
9842 (__novmx_setjmp): Likewise.
9843 (__GI__setjmp): Likewise.
9844 (__vmx_setjmp): Likewise.
9845 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9846 <bp-sym.h>.
9847 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9848 (__bzero): Don't use BP_SYM.
9849 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9850 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9851 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9852 <bp-sym.h> and <bp-asm.h>.
9853 (memcpy): Don't use BP_SYM.
9854 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9855 <bp-sym.h> and <bp-asm.h>.
9856 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9857 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9858 <bp-sym.h> and <bp-asm.h>.
9859 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9860 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9861 <bp-asm.h>.
9862 (__mpn_lshift): Don't use BP_SYM.
9863 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9864 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9865 <bp-asm.h>.
9866 (memset): Don't use BP_SYM.
9867 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9868 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9869 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9870 <bp-asm.h>.
9871 (__mpn_mul_1): Don't use BP_SYM.
9872 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9873 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9874 <bp-sym.h> and <bp-asm.h>.
9875 (memcmp): Don't use BP_SYM.
9876 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9877 <bp-sym.h> and <bp-asm.h>.
9878 (memcpy): Don't use BP_SYM.
9879 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9880 <bp-sym.h> and <bp-asm.h>.
9881 (memset): Don't use BP_SYM.
9882 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9883 <bp-sym.h> and <bp-asm.h>.
9884 (strncmp): Don't use BP_SYM.
9885 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9886 <bp-sym.h> and <bp-asm.h>.
9887 (memcpy): Don't use BP_SYM.
9888 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9889 <bp-sym.h> and <bp-asm.h>.
9890 (memset): Don't use BP_SYM.
9891 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9892 <bp-sym.h> and <bp-asm.h>.
9893 (__memchr): Don't use BP_SYM.
9894 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9895 <bp-sym.h> and <bp-asm.h>.
9896 (memcmp): Don't use BP_SYM.
9897 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9898 <bp-sym.h> and <bp-asm.h>.
9899 (memcpy): Don't use BP_SYM.
9900 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9901 <bp-sym.h> and <bp-asm.h>.
9902 (__mempcpy): Don't use BP_SYM.
9903 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9904 <bp-sym.h> and <bp-asm.h>.
9905 (__memrchr): Don't use BP_SYM.
9906 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9907 <bp-sym.h> and <bp-asm.h>.
9908 (memset): Don't use BP_SYM.
9909 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9910 <bp-sym.h> and <bp-asm.h>.
9911 (__rawmemchr): Don't use BP_SYM.
9912 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9913 <bp-sym.h> and <bp-asm.h>.
9914 (__STRCMP): Don't use BP_SYM.
9915 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9916 <bp-sym.h> and <bp-asm.h>.
9917 (strchr): Don't use BP_SYM.
9918 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9919 <bp-sym.h> and <bp-asm.h>.
9920 (__strchrnul): Don't use BP_SYM.
9921 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9922 <bp-sym.h> and <bp-asm.h>.
9923 (strlen): Don't use BP_SYM.
9924 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9925 <bp-sym.h> and <bp-asm.h>.
9926 (strncmp): Don't use BP_SYM.
9927 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9928 <bp-sym.h> and <bp-asm.h>.
9929 (__strnlen): Don't use BP_SYM.
9930 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9931 <bp-asm.h>.
9932 (__mpn_rshift): Don't use BP_SYM.
9933 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9934 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9935 <bp-sym.h> and <bp-asm.h>.
9936 (__sigsetjmp): Don't use BP_SYM.
9937 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9938 (L(start_addresses)): Don't use BP_SYM.
9939 (_start): Likewise.
9940 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9941 <bp-asm.h>.
9942 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9943 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9944 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9945 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9946 <bp-asm.h>.
9947 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9948 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9949 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9950 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9951 <bp-asm.h>.
9952 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9953 comments.
9954 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9955 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9956 <bp-asm.h>.
9957 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9958 FIXME comments.
9959 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9960 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9961 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9962 <bp-asm.h>.
9963 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9964 comment.
9965 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9966 and <bp-asm.h>.
9967 (strncmp): Don't use BP_SYM,
9968 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9969 <bp-asm.h>.
9970 (__mpn_sub_n): Don't use BP_SYM.
9971 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9972 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9973 and <bp-asm.h>.
9974 (__mpn_submul_1): Don't use BP_SYM.
9975 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9977 <bp-sym.h> and <bp-asm.h>.
9978 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9980 <bp-sym.h> and <bp-asm.h>.
9981 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9982 comment.
9983
8d19fe64
SP
99842013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9985
9986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9987 Use ZK to minimize writes to Z.
9988 (sub_magnitudes): Simplify code a bit.
9989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9990 Use ZK to minimize writes to Z.
9991 (sub_magnitudes): Simplify code a bit.
9992
85bd816a
RM
99932013-02-27 Roland McGrath <roland@hack.frob.com>
9994
9995 * csu/gmon-start.c: Add special exception to license text.
9996
b5977bf2
RH
99972013-02-27 Richard Henderson <rth@redhat.com>
9998
9999 * scripts/config.guess: Update from config.git.
10000 * scripts/config.sub: Likewise.
10001
11d6e2f2
SP
100022013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10003
09c14ed2
SP
10004 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10005
a688864e
SP
10006 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10007
6295157a
SP
10008 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10009
b8de2202
SP
10010 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10011
11d6e2f2
SP
10012 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10013
7e80ddb8
RM
100142013-02-26 Roland McGrath <roland@hack.frob.com>
10015
10016 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10017 [$(build-shared = yes].
7e80ddb8 10018
7da6d9ed
SP
100192013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10020
45f05884
SP
10021 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10022 (__mul): Reduce iterations for calculating mantissa.
10023
2236d359
SP
10024 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10025 MPTWO.
10026 (__mpranred): Likewise.
10027
7da6d9ed
SP
10028 [BZ #15160]
10029 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10030 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10031
b7688c42
PE
100322013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10033
10034 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10035 Define __attribute__.
10036
53a5c423
SP
100372013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10038
10039 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10040 unused.
10041 * posix/regex_internal.h (__attribute): Remove.
10042 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10043 (re_string_context_at): Likewise.
10044 (bitset_not): Use __attribute__ and mark function as possibly
10045 unused.
10046 (bitset_merge): Likewise.
10047 (bitset_mask): Likewise.
10048 (re_string_char_size_at): Likewise.
10049 (re_string_wchar_at): Likewise.
10050 (re_string_elem_size_at): Likewise.
10051
60f5a8b5
SP
100522013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10053
2a983a2e
SP
10054 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10055 code.
10056 (cc32): Likewise.
10057
e69804d1
SP
10058 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10059 (__acr): Likewise.
10060 (__cpy): Likewise.
10061 (norm): Likewise.
10062 (denorm): Likewise.
10063 (__dbl_mp): Likewise.
10064 (add_magnitudes): Likewise.
10065 (sub_magnitudes): Likewise.
10066 (__mul): Likewise.
10067 (__inv): Likewise.
10068
2f22a1e8
SP
10069 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10070 style.
10071
8930ddc7
SP
10072 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10073 style.
10074
dc60cb11
SP
10075 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10076 code.
10077
60f5a8b5
SP
10078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10079 up changes with default code.
10080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10081 Likewise.
10082
b4d1fd33
AM
100832013-02-24 Allan McRae <allan@archlinux.org>
10084
faf6f8bc
AM
10085 * manual/socket.texi (The Internet Namespace): Order menu items
10086 to match that in the file.
10087
b4d1fd33
AM
10088 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10089 node listing of the info page menu.
10090
2366713d
JM
100912013-02-21 Joseph Myers <joseph@codesourcery.com>
10092
10093 [BZ #13550]
10094 * sysdeps/i386/bp-asm.h: Remove file.
10095 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10096 (PARMS): Do not use macros from bp-asm.h.
10097 (S1): Likewise.
10098 (S2): Likewise.
10099 (SIZE): Likewise.
10100 (__mpn_add_n): Do not use BP_SYM
10101 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10102 "bp-asm.h".
10103 (PARMS): Do not use macros from bp-asm.h.
10104 (S1): Likewise.
10105 (SIZE): Likewise.
10106 (__mpn_addmul_1): Do not use BP_SYM
10107 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10108 "bp-asm.h".
10109 (PARMS): Do not use macros from bp-asm.h.
10110 (SIGMSK): Likewise.
10111 (_setjmp): Likewise. Do not use BP_SYM.
10112 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10113 "bp-asm.h".
10114 (PARMS): Do not use macros from bp-asm.h.
10115 (SIGMSK): Likewise.
10116 (setjmp): Likewise. Do not use BP_SYM.
10117 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10118 "bp-asm.h".
10119 (PARMS): Do not use macros from bp-asm.h.
10120 (__frexp): Do not use BP_SYM.
10121 (frexp): Likewise.
10122 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10123 "bp-asm.h".
10124 (PARMS): Do not use macros from bp-asm.h.
10125 (__frexpf): Do not use BP_SYM.
10126 (frexpf): Likewise.
10127 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10128 "bp-asm.h".
10129 (PARMS): Do not use macros from bp-asm.h.
10130 (__frexpl): Do not use BP_SYM.
10131 (frexpl): Likewise.
10132 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10133 "bp-asm.h".
10134 (PARMS): Do not use macros from bp-asm.h.
10135 (__remquo): Do not use BP_SYM.
10136 (remquo): Likewise.
10137 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10138 "bp-asm.h".
10139 (PARMS): Do not use macros from bp-asm.h.
10140 (__remquof): Do not use BP_SYM.
10141 (remquof): Likewise.
10142 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10143 "bp-asm.h".
10144 (PARMS): Do not use macros from bp-asm.h.
10145 (__remquol): Do not use BP_SYM.
10146 (remquol): Likewise.
10147 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10148 "bp-asm.h".
10149 (PARMS): Do not use macros from bp-asm.h.
10150 (DEST): Likewise.
10151 (SRC): Likewise.
10152 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10153 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10154 "bp-asm.h".
10155 (PARMS): Do not use macros from bp-asm.h.
10156 (strlen): Do not use BP_SYM.
10157 * sysdeps/i386/i586/add_n.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 (S2): Likewise.
10162 (SIZE): Likewise.
10163 (__mpn_add_n): Do not use BP_SYM.
10164 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10165 "bp-asm.h".
10166 (PARMS): Do not use macros from bp-asm.h.
10167 (S1): Likewise.
10168 (SIZE): Likewise.
10169 (__mpn_addmul_1): Do not use BP_SYM.
10170 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10171 weak_alias.
10172 (bzero): Likewise.
10173 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10174 "bp-asm.h".
10175 (PARMS): Do not use macros from bp-asm.h.
10176 (S): Likewise.
10177 (SIZE): Likewise.
10178 (__mpn_lshift): Do not use BP_SYM.
10179 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10180 "bp-asm.h".
10181 (PARMS): Do not use macros from bp-asm.h.
10182 (DEST): Likewise.
10183 (SRC): Likewise.
10184 (LEN): Likewise.
10185 (memcpy): Likewise. Do not use BP_SYM.
10186 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10187 libc_hidden_def and weak_alias.
10188 (mempcpy): Do not use BP_SYM in weak_alias.
10189 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10190 "bp-asm.h".
10191 (PARMS): Do not use macros from bp-asm.h.
10192 (DEST): Likewise.
10193 (LEN): Likewise.
10194 [!BZERO_P] (CHR): Likewise.
10195 (memset): Likewise. Do not use BP_SYM.
10196 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10197 "bp-asm.h".
10198 (PARMS): Do not use macros from bp-asm.h.
10199 (S1): Likewise.
10200 (SIZE): Likewise.
10201 (__mpn_mul_1): Do not use BP_SYM.
10202 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10203 "bp-asm.h".
10204 (PARMS): Do not use macros from bp-asm.h.
10205 (S): Likewise.
10206 (SIZE): Likewise.
10207 (__mpn_rshift): Do not use BP_SYM.
10208 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10209 "bp-asm.h".
10210 (PARMS): Do not use macros from bp-asm.h.
10211 (STR): Likewise.
10212 (CHR): Likewise.
10213 (strchr): Likewise. Do not use BP_SYM.
10214 (index): Do not use BP_SYM in weak_alias.
10215 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10216 "bp-asm.h".
10217 (PARMS): Do not use macros from bp-asm.h.
10218 (DEST): Likewise.
10219 (SRC): Likewise.
10220 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10221 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10222 "bp-asm.h".
10223 (PARMS): Do not use macros from bp-asm.h.
10224 (strlen): Do not use BP_SYM.
10225 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10226 "bp-asm.h".
10227 (PARMS): Do not use macros from bp-asm.h.
10228 (S1): Likewise.
10229 (S2): Likewise.
10230 (SIZE): Likewise.
10231 (__mpn_sub_n): Do not use BP_SYM.
10232 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10233 "bp-asm.h".
10234 (PARMS): Do not use macros from bp-asm.h.
10235 (S1): Likewise.
10236 (SIZE): Likewise.
10237 (__mpn_submul_1): Do not use BP_SYM.
10238 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10239 "bp-asm.h".
10240 (PARMS): Do not use macros from bp-asm.h.
10241 (S1): Likewise.
10242 (S2): Likewise.
10243 (SIZE): Likewise.
10244 (__mpn_add_n): Do not use BP_SYM.
10245 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10246 weak_alias.
10247 (bzero): Likewise.
10248 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10249 "bp-asm.h".
10250 (PARMS): Do not use macros from bp-asm.h.
10251 (BLK2): Likewise.
10252 (LEN): Likewise.
10253 (memcmp): Do not use BP_SYM.
10254 (bcmp): Do not use BP_SYM in weak_alias.
10255 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10256 "bp-asm.h".
10257 (PARMS): Do not use macros from bp-asm.h.
10258 (DEST): Likewise.
10259 (SRC): Likewise.
10260 (LEN): Likewise.
10261 (memcpy): Likewise. Do not use BP_SYM.
10262 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10263 "bp-asm.h".
10264 (PARMS): Do not use macros from bp-asm.h.
10265 (DEST): Likewise.
10266 (SRC): Likewise.
10267 (LEN): Likewise.
10268 (memmove): Likewise. Do not use BP_SYM.
10269 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10270 "bp-asm.h".
10271 (PARMS): Do not use macros from bp-asm.h.
10272 (DEST): Likewise.
10273 (SRC): Likewise.
10274 (LEN): Likewise.
10275 (__mempcpy): Likewise. Do not use BP_SYM.
10276 (mempcpy): Do not use BP_SYM in weak_alias.
10277 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10278 "bp-asm.h".
10279 (PARMS): Do not use macros from bp-asm.h.
10280 (DEST): Likewise.
10281 (LEN): Likewise.
10282 [!BZERO_P] (CHR): Likewise.
10283 (memset): Likewise. Do not use BP_SYM.
10284 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10285 "bp-asm.h".
10286 (PARMS): Do not use macros from bp-asm.h.
10287 (STR2): Likewise.
10288 (strcmp): Do not use BP_SYM.
10289 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10290 "bp-asm.h".
10291 (PARMS): Do not use macros from bp-asm.h.
10292 (STR): Likewise.
10293 (DELIM): Likewise.
10294 [USE_AS_STRTOK_R] (SAVE): Likewise.
10295 (FUNCTION): Likewise. Do not use BP_SYM.
10296 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10297 aliases.
10298 (strtok_r): Likewise.
10299 (__GI___strtok_r): Likewise.
10300 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10301 (PARMS): Do not use macros from bp-asm.h.
10302 (S): Likewise.
10303 (SIZE): Likewise.
10304 (__mpn_lshift): Do not use BP_SYM.
10305 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10306 (PARMS): Do not use macros from bp-asm.h.
10307 (STR): Likewise.
10308 (CHR): Likewise.
10309 (__memchr): Do not use BP_SYM.
10310 (memchr): Do not use BP_SYM in weak_alias.
10311 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10312 (PARMS): Do not use macros from bp-asm.h.
10313 (BLK2): Likewise.
10314 (LEN): Likewise.
10315 (memcmp): Do not use BP_SYM.
10316 (bcmp): Do not use BP_SYM in weak_alias.
10317 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10318 (PARMS): Do not use macros from bp-asm.h.
10319 (S1): Likewise.
10320 (SIZE): Likewise.
10321 (__mpn_mul_1): Do not use BP_SYM.
10322 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10323 "bp-asm.h".
10324 (PARMS): Do not use macros from bp-asm.h.
10325 (STR): Likewise.
10326 (CHR): Likewise.
10327 (__rawmemchr): Do not use BP_SYM.
10328 (rawmemchr): Do not use BP_SYM in weak_alias.
10329 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10330 (PARMS): Do not use macros from bp-asm.h.
10331 (S): Likewise.
10332 (SIZE): Likewise.
10333 (__mpn_rshift): Do not use BP_SYM.
10334 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10335 (PARMS): Do not use macros from bp-asm.h.
10336 (SIGMSK): Likewise.
10337 (__sigsetjmp): Likewise. Do not use BP_SYM.
10338 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10339 (_start): Do not use BP_SYM.
10340 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10341 (PARMS): Do not use macros from bp-asm.h.
10342 (DEST): Likewise.
10343 (SRC): Likewise.
10344 (__stpcpy): Likewise. Do not use BP_SYM.
10345 (stpcpy): Do not use BP_SYM in weak_alias.
10346 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10347 "bp-asm.h".
10348 (PARMS): Do not use macros from bp-asm.h.
10349 (DEST): Likewise.
10350 (SRC): Likewise.
10351 (LEN): Likewise.
10352 (__stpncpy): Likewise. Do not use BP_SYM.
10353 (stpncpy): Do not use BP_SYM in weak_alias.
10354 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10355 (PARMS): Do not use macros from bp-asm.h.
10356 (STR): Likewise.
10357 (CHR): Likewise.
10358 (strchr): Likewise. Do not use BP_SYM.
10359 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10360 "bp-asm.h".
10361 (PARMS): Do not use macros from bp-asm.h.
10362 (STR): Likewise.
10363 (CHR): Likewise.
10364 (__strchrnul): Likewise. Do not use BP_SYM.
10365 (strchrnul): Do not use BP_SYM in weak_alias.
10366 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10367 "bp-asm.h".
10368 (PARMS): Do not use macros from bp-asm.h.
10369 (STOP): Likewise.
10370 (strcspn): Do not use BP_SYM.
10371 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10372 "bp-asm.h".
10373 (PARMS): Do not use macros from bp-asm.h.
10374 (STR): Likewise.
10375 (STOP): Likewise.
10376 (strpbrk): Likewise. Do not use BP_SYM.
10377 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10378 "bp-asm.h".
10379 (PARMS): Do not use macros from bp-asm.h.
10380 (STR): Likewise.
10381 (CHR): Likewise.
10382 (strrchr): Likewise. Do not use BP_SYM.
10383 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10384 (PARMS): Do not use macros from bp-asm.h.
10385 (SKIP): Likewise.
10386 (strspn): Do not use BP_SYM.
10387 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10388 (PARMS): Do not use macros from bp-asm.h.
10389 (STR): Likewise.
10390 (DELIM): Likewise.
10391 (SAVE): Likewise.
10392 (FUNCTION): Likewise. Do not use BP_SYM.
10393 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10394 aliases.
10395 (strtok_r): Likewise.
10396 (__GI___strtok_r): Likewise.
10397 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10398 (PARMS): Do not use macros from bp-asm.h.
10399 (S1): Likewise.
10400 (S2): Likewise.
10401 (SIZE): Likewise.
10402 (__mpn_sub_n): Do not use BP_SYM.
10403 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10404 "bp-asm.h".
10405 (PARMS): Do not use macros from bp-asm.h.
10406 (S1): Likewise.
10407 (SIZE): Likewise.
10408 (__mpn_submul_1): Do not use BP_SYM.
10409 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10410 <bp-sym.h>.
10411 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10412 and <bp-asm.h>.
10413 (PARMS): Do not use macros from bp-asm.h.
10414 (FLAGS): Likewise.
10415 (PTID): Likewise.
10416 (TLS): Likewise.
10417 (CTID): Likewise.
10418 (__clone): Do not use BP_SYM.
10419 (clone): Do not use BP_SYM in weak_alias.
10420 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10421 and <bp-asm.h>.
10422 (PARMS): Do not use macros from bp-asm.h.
10423 (LEN): Likewise.
10424 (__mmap64): Do not use BP_SYM.
10425 (mmap64): Do not use BP_SYM in weak_alias.
10426 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10427 <bp-sym.h> and <bp-asm.h>.
10428 (PARMS): Do not use macros from bp-asm.h.
10429 (__posix_fadvise64_l64): Do not use BP_SYM.
10430 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10431 (PARMS): Do not use macros from bp-asm.h.
10432 (NSOPS): Likewise.
10433 (semtimedop): Do not use BP_SYM.
10434 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10435 and <bp-asm.h>.
10436
582a3cff
AM
104372013-02-21 Allan McRae <allan@archlinux.org>
10438
10439 * manual/message.texi (Charset conversion in gettext):
10440 Move @end statement to beginning of line.
10441
bab8a695
SP
104422013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10443
80945231
SP
10444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10445 static.
10446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10447 Likewise.
10448
bab8a695
SP
10449 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10450 (denorm): Likewise.
10451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10453
e21d7aa7
AK
104542013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10455
10456 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10457 tail-call to the resolved function if pltexit isn't needed.
10458
4c7a4263
SP
104592013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10460
10461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10462 or Y being zero as being unlikely.
10463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10464 Likewise.
10465
41f49342
CD
104662013-02-20 Carlos O'Donell <carlos@redhat.com>
10467
10468 * manual/nss.texi (System Databases and Name Service Switch):
10469 Remove frobnicate @pxref.
10470
50022a93
TS
104712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10472
10473 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10474 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10475
08cbd996
PM
104762013-02-20 Petr Machata <pmachata@redhat.com>
10477
10478 * elf/elf.h (R_ARM_TARGET1): New macro.
10479 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10480 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10481 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10482 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10483 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10484 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10485 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10486 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10487 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10488 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10489 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10490 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10491 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10492 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10493 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10494 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10495 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10496 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10497 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10498 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10499 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10500 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10501 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10502 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10503 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10504 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10505 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10506 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10507 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10508 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10509 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10510 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10511 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10512 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10513 (R_ARM_THM_GOT_BREL12): Likewise.
10514 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10515 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10516 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10517 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10518 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10519 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10520 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10521 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10522 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10523
c7b275d6
TS
105242013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10525
10526 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10527 __attribute_used__ to __attribute__ ((unused)).
10528
20cd7fb3
SP
105292013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10530
10531 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10532 powerpc mpa.c.
10533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10534 comment formatting.
10535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10536
92945b52
JM
105372013-02-19 Joseph Myers <joseph@codesourcery.com>
10538
10539 [BZ #13550]
10540 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10541 Remove macro.
10542 (ENTER): Remove both macro definitions.
10543 (LEAVE): Likewise.
10544 (CHECK_BOUNDS_LOW): Likewise.
10545 (CHECK_BOUNDS_HIGH): Likewise.
10546 (CHECK_BOUNDS_BOTH): Likewise.
10547 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10548 (RETURN_BOUNDED_POINTER): Likewise.
10549 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10550 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10551 (POP_ERRNO_LOCATION_RETURN): Likewise.
10552 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10553 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10554 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10555 macros.
10556 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10557 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10558 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10559 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10560 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10561 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10562 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10563 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10564 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10565 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10566 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10567 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10568 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10569 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10570 removed macros.
10571 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10572 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10573 macros.
10574 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10575 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10576 * sysdeps/i386/i586/memset.S (memset): Likewise.
10577 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10578 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10579 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10580 macros.
10581 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10582 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10583 Change uses of L(2) to L(out).
10584 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10585 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10586 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10587 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10588 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10589 removed macros.
10590 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10591 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10592 macros.
10593 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10594 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10595 (RETURN): Do not use macro LEAVE.
10596 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10597 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10598 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10599 * sysdeps/i386/i686/memset.S (memset): Likewise.
10600 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10601 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10602 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10603 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10604 Likewise.
10605 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10606 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10607 L(1_2) and L(1_3) into L(1).
10608 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10609 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10610 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10611 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10612 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10613 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10614 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10615 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10616 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10617 macros.
10618 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10619 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10620 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10621 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10622 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10623 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10624 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10625 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10626 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10627 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10628 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10629 * sysdeps/i386/strspn.S (strspn): Likewise.
10630 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10631 conditional code.
10632 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10633 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10634 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10635 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10636 L(1_3) into L(1_1).
10637 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10638 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10639 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10640 macros.
10641 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10642
2389741a
JJ
106432013-02-19 Jakub Jelinek <jakub@redhat.com>
10644
10645 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10646 macro.
10647
2016b3cd
SP
106482013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10649
e4f22324
SP
10650 * math/atest-exp.c (exp_mpn): Remove ROUND.
10651 * math/atest-exp2.c (exp_mpn): Likewise.
10652 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10653
2016b3cd
SP
10654 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10655 * stdlib/tst-tls-atexit-lib.c: Likewise.
10656 * stdlib/tst-tls-atexit.c: Likewise.
10657
4be9b544
MF
106582013-02-18 Mike Frysinger <vapier@gentoo.org>
10659
10660 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10661 and __attribute_alloc_size__.
10662
2f62b9ee
MF
106632013-02-18 Mike Frysinger <vapier@gentoo.org>
10664
10665 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10666 __attribute_alloc_size__.
10667 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10668 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10669
6ff444c4
MF
106702013-02-18 Mike Frysinger <vapier@gentoo.org>
10671
10672 * include/programs/xmalloc.h: New file.
10673 * catgets/gencat.c: Include it.
10674 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10675 * elf/pldd.c: Likewise.
10676 * iconv/iconv_charmap.c: Likewise.
10677 * iconv/iconvconfig.c: Likewise.
10678 * iconv/strtab.c: Likewise.
10679 * locale/programs/locale.c: Likewise.
10680 * locale/programs/localedef.h: Likewise.
10681 * locale/programs/simple-hash.c: Likewise.
10682 * nscd/nscd.h: Likewise.
10683 * nss/makedb.c: Likewise.
10684 * sysdeps/generic/ldconfig.h: Likewise.
10685
be179c8a
SP
106862013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10687
ba384f6e
SP
10688 * Versions.def: Add GLIBC_2.18.
10689 * include/link.h (struct link_map): New member l_tls_dtor_count.
10690 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10691 (__call_tls_dtors): Likewise.
10692 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10693 __cxa_thread_atexit_impl.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10695 Likewise.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10697 Likewise.
10698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10699 Likewise.
10700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10701 Likewise.
10702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10704 Likewise.
10705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10706 Likewise.
10707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10709 Likewise.
10710 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10711 (tests): Add test case tst-tls-atexit.
10712 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10713 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10714 (GLIBC_PRIVATE): Add __call_tls_dtors.
10715 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10716 for libstdc++.
10717 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10718 * stdlib/tst-tls-atexit.c: New test case.
10719 * stdlib/tst-tls-atexit-lib.c: New test case.
10720
ffaa74cf 10721 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10722
be179c8a
SP
10723 * elf/Versions (ld): Add _dl_find_dso_for_object.
10724 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10725 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10726 (dl_open_worker): Use _dl_find_dso_for_object.
10727 * elf/dl-sym.c (do_sym): Likewise.
10728 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10729
f78b5caa
AK
107302013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10731
10732 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10733 Syntactic changes only.
10734 (_dl_runtime_profile): Do a tail-call to the resolved function.
10735
29691210
JM
107362013-02-17 Joseph Myers <joseph@codesourcery.com>
10737
10738 [BZ #13550]
10739 * sysdeps/x86_64/bp-asm.h: Remove file.
10740 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10741 <bp-sym.h> and <bp-asm.h>.
10742 (__clone): Do not use BP_SYM.
10743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10744 <bp-sym.h> and <bp-asm.h>.
10745 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10746 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10747 "bp-asm.h".
10748 (_setjmp): Do not use BP_SYM.
10749 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10750 "bp-asm.h".
10751 (setjmp): Do not use BP_SYM.
10752 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10753 libc_hidden_def.
10754 (mempcpy): Do not use BP_SYM in weak_alias.
10755 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10756 "bp-asm.h".
10757 (strchr): Do not use BP_SYM.
10758 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10759 "bp-asm.h".
10760 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10761 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10762 (_start): Do not use BP_SYM.
10763 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10764 "bp-asm.h".
10765 (strcat): Do not use BP_SYM.
10766 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10767 "bp-asm.h".
10768 (STRCMP): Do not use BP_SYM.
10769 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10770 "bp-asm.h".
10771 (STRCPY): Do not use BP_SYM.
10772 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10773 "bp-asm.h".
10774 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10775 "bp-asm.h".
10776 (FUNCTION): Do not use BP_SYM.
10777 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10778 weak_alias.
10779 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10780
f238fd19
AJ
107812013-02-17 Andreas Jaeger <aj@suse.de>
10782
10783 * time/Versions: Sort entries.
10784 * string/Versions: Likewise.
10785 * resolv/Versions: Likewise.
10786 * posix/Versions: Likewise.
10787 * iconv/Versions: Likewise.
10788 * elf/Versions: Likewise.
10789 * wcsmbs/Versions: Likewise.
10790
bd07f23c 107912013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10792
22af19f9
SP
10793 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10794 loop termination condition.
10795
4709fe76
SP
10796 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10797 variable to calculate EZ.
10798 (__sqr): Likewise.
2d0e0f29
SP
10799
10800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10801 the lower precision input.
10802
daaa7713
JM
108032013-02-15 Joseph Myers <joseph@codesourcery.com>
10804
10805 [BZ #13550]
10806 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10807 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10808 (run-via-rtld-prefix): Do not handle %-bp tests.
10809 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10810 (all-object-suffixes): Remove .ob.
10811 (bppfx): Remove variable.
10812 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10813 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10814 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10815 [$(build-bounded) = yes] (libtype.ob): Likewise.
10816 * Makerules (elide-routines.ob): Remove variable.
10817 (do-tests-clean): Do not handle *-bp.out.
10818 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10819 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10820 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10821 (tests): Do not include $(tests-bp.out).
10822 (xtests): Do not include $(xtests-bp.out).
10823 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10824 [$(build-bounded) = yes] ($(addprefix
10825 $(objpfx),$(binaries-bounded))): Remove rule.
10826 ($(objpfx)%-bp.out): Remove rule.
10827 * config.make.in (build-bounded): Remove variable.
10828 * crypt/Makefile [$(build-bounded) = yes]
10829 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10830 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10831 append to variable.
10832 [$(build-bounded) = yes] (install-lib): Likewise.
10833 [$(build-bounded) = yes] (generated): Likewise.
10834 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10835 Remove rule.
10836 * intl/Makefile [$(build-bounded) = yes]
10837 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10838 * math/Makefile [$(build-bounded) = yes]
10839 ($(tests:%=$(objpfx)%-bp): Likewise.
10840 * misc/Makefile [$(build-bounded) = yes]
10841 ($(objpfx)tst-tsearch-bp): Likewise.
10842 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10843 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10844 Remove dependency.
10845 * string/Makefile (o-objects.ob): Remove variable.
10846 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10847 (CFLAGS-.ob): Remove variable.
10848 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10849 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10850 both definitions of variable.
10851 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10852 (ASFLAGS-.ob): Remove variable.
10853
e97ed6dd
JM
108542013-02-14 Joseph Myers <joseph@codesourcery.com>
10855
2bdd4ca6
JM
10856 [BZ #13550]
10857 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10858 Remove __BOUNDED_POINTERS__ from condition.
10859 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10860 * string/bits/string2.h [!__NO_STRING_INLINES &&
10861 !__BOUNDED_POINTERS__]: Likewise.
10862 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10863 Likewise.
10864 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10865 Remove conditional code.
10866 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10867 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10868 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10869 condition.
10870
e97ed6dd
JM
10871 [BZ #13550]
10872 * csu/libc-start.c: Do not include <bp-sym.h>.
10873 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10874 * elf/dl-open.c: Do not include <bp-sym.h>.
10875 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10876 * math/fegetenv.c: Do not include <bp-sym.h>.
10877 (fegetenv): Do not use BP_SYM in versioned symbols.
10878 * nptl/sysdeps/pthread/bits/libc-lockP.h
10879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10880 <bp-sym.h>.
10881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10882 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10884 (__pthread_mutex_destroy): Likewise.
10885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10886 (__pthread_mutex_lock): Likewise.
10887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10888 (__pthread_mutex_trylock): Likewise.
10889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10890 (__pthread_mutex_unlock): Likewise.
10891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10892 (__pthread_mutexattr_init): Likewise.
10893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10894 (__pthread_mutexattr_destroy): Likewise.
10895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10896 (__pthread_mutexattr_settype): Likewise.
10897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10898 (__pthread_rwlock_init): Likewise.
10899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10900 (__pthread_rwlock_destroy): Likewise.
10901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10902 (__pthread_rwlock_rdlock): Likewise.
10903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10904 (__pthread_rwlock_tryrdlock): Likewise.
10905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10906 (__pthread_rwlock_wrlock): Likewise.
10907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10908 (__pthread_rwlock_trywrlock): Likewise.
10909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10910 (__pthread_rwlock_unlock): Likewise.
10911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10912 (__pthread_key_create): Likewise.
10913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10914 (__pthread_setspecific): Likewise.
10915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10916 (__pthread_getspecific): Likewise.
10917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10918 Likewise.
10919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10920 (_pthread_cleanup_push_defer): Likewise.
10921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10922 (_pthread_cleanup_pop_restore): Likewise.
10923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10924 (pthread_setcancelstate): Likewise.
10925 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10926 <bp-sym.h>.
10927 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10928 (memchr): Do not use BP_SYM in weak_alias.
10929 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10930 (fegetenv): Do not use BP_SYM in versioned symbols.
10931 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10932 (fesetenv): Do not use BP_SYM in versioned symbols.
10933 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10934 (feupdateenv): Do not use BP_SYM in versioned symbols.
10935 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10936 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10937 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10938 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10939 (open64): Do not use BP_SYM in weak_alias.
10940 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10941 (fegetenv): Do not use BP_SYM in versioned symbols.
10942 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10943 (fesetenv): Do not use BP_SYM in versioned symbols.
10944 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10945 (feupdateenv): Do not use BP_SYM in versioned symbols.
10946 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10947 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10948 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10949 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10950 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10951 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10952 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10953 <bp-sym.h>.
10954 (__libc_start_main): Do not use BP_SYM.
10955
d6752ccd
SP
109562013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10957
cb57ce60
SP
10958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10959 redundant return line.
10960 (norm): Likewise.
10961 (denorm): Likewise.
10962 (dbl_mp): Likewise.
10963 (sub_magnitudes): Likewise.
10964 (__add): Likewise.
10965 (__sub): Likewise.
10966 (__mul): Likewise.
10967 (__inv): Likewise.
10968 (__dvd): Likewise.
10969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10970 (norm): Likewise.
10971 (denorm): Likewise.
10972 (dbl_mp): Likewise.
10973 (sub_magnitudes): Likewise.
10974 (__add): Likewise.
10975 (__sub): Likewise.
10976 (__mul): Likewise.
10977 (__inv): Likewise.
10978 (__dvd): Likewise.
10979
f414520d
SP
10980 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10981 instead of __mul.
10982 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10983 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10984 (cc32): Likewise.
10985
d6752ccd
SP
10986 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10987 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10989 of __mul for squares.
10990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10991 function
10992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10993 Likewise.
10994 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10995 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10996
70d9946a
JM
109972013-02-13 Joseph Myers <joseph@codesourcery.com>
10998
10999 [BZ #13550]
11000 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11001 code.
11002 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11003 prototype or function definition. Rename ubp_* variables and
11004 parameters. Remove argv definitions conditional on
11005 [__BOUNDED_POINTERS__].
11006 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11007 * elf/dl-runtime.c (_dl_fixup): Likewise.
11008 * include/set-hooks.h (RUN_HOOK): Likewise.
11009 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11010 definition.
11011 * string/strcpy.c (strcpy): Do not use __unbounded.
11012 * sysdeps/generic/frame.h (struct layout): Likewise.
11013 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11014 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11015 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11016 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11017 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11018 (__backtrace): Likewise.
11019 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11020 use __ptrvalue.
11021 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11022 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11023 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11024 Likewise.
11025 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11026 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11027 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11028 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11029 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11030 Do not use __unbounded.
11031 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11032 Rename __unboundedrlimits parameter to rlimits in prototype.
11033 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11034 Do not use __unbounded.
11035 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11036 not use __ptrvalue.
11037 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11038 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11039 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11040 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11041 __ptrvalue or __unbounded.
11042 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11043 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11044 use __unbounded.
11045 (__new_msgctl): Do not use __ptrvalue.
11046 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11047 __unbounded.
11048 (__libc_msgrcv): Do not use __ptrvalue.
11049 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11050 startup_info): Do not use __unbounded.
11051 (__libc_start_main): Likewise. Rename ubp_* variables and
11052 parameters. Remove argv definitions conditional on
11053 [__BOUNDED_POINTERS__].
11054 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11055 __ptrvalue.
11056 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11057 use __unbounded.
11058 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11059 or __ptrvalue.
11060 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11061 use __unbounded.
11062 (__new_shmctl): Do not use __ptrvalue.
11063 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11064 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11065 Likewise.
11066 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11067 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11068 (__libc_sigaction): Likewise.
11069 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11070 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11071 Likewise.
11072 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11073
cc7834d6
OB
110742013-02-13 Ondřej Bílka <neleai@seznam.cz>
11075
ffb1ec7b 11076 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11077
11078 * string/mempcpy.c: Implement by calling memcpy.
11079
bdf02814
SP
110802013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11081
c2af38aa
SP
11082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11083
4e92d59e
SP
11084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11085 evaluation.
11086
909279a5
SP
11087 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11088 values in the mantissa.
11089
bdf02814
SP
11090 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11091 minimize writes to Z.
11092 (sub_magnitudes): Simplify code a bit.
11093
cd525923
RM
110942013-02-12 Roland McGrath <roland@hack.frob.com>
11095
11096 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11097 from the message. The linker prefixes all warnings with that already.
11098
7e2f0d2d
AS
110992013-02-12 Andreas Schwab <schwab@suse.de>
11100
a445af0b
AS
11101 [BZ #15078]
11102 * posix/regexec.c (extend_buffers): Add parameter min_len.
11103 (check_matching): Pass minimum needed length.
11104 (clean_state_log_if_needed): Likewise.
11105 (get_subexp): Likewise.
11106 * posix/Makefile (tests): Add bug-regex34.
11107 (bug-regex34-ENV): Define.
11108 * posix/bug-regex34.c: New file.
11109
7e2f0d2d
AS
11110 [BZ #11561]
11111 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11112 elements compare against the byte sequence of it, not its name.
11113 * posix/Makefile (tests): Add bug-regex35.
11114 (bug-regex35-ENV): Define.
11115 * posix/bug-regex35.c: New file.
11116
a175b684
TV
111172013-02-11 Tom de Vries <tom@codesourcery.com>
11118
11119 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11120 comment.
11121 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11122 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11123 (CHECK_EOL): Add undef.
11124
310998fe 111252013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11126
11127 * bits/stdlib-bsearch.h: New file.
11128 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11129 * stdlib/stdlib.h: Likewise.
41eda41d 11130
8ded91fb
RM
111312013-02-11 Roland McGrath <roland@hack.frob.com>
11132
11133 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11134 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11135 declaration.
11136 * manual/search.texi (Array Search Function): Add missing const in
11137 lfind prototype.
11138 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11139 declaration to use rlim_t.
11140 (Basic Scheduling Functions): Remove erroneous const from
11141 sched_getparam prototype. Remove erroneous * from
11142 sched_get_priority_max and sched_get_priority_min prototypes.
11143 (Resource Usage): Fix summary @comment on vtimes to refer to
11144 sys/vtimes.h rather than vtimes.h.
11145 Add missing *s in vtimes prototype.
11146 (Limits on Resources): Fix ulimit prototype to return long int.
11147 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11148 prototypes to use long int rather than double.
11149 (BSD Random): Fix initstate and setstate to use char *, not void *.
11150 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11151 prototype to make second argument 'struct aiocb64 *const[]'.
11152 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11153 (Status of AIO Operations): Remove erroneous const in aio_return and
11154 aio_return64 prototypes.
11155 (Synchronizing I/O): Fix sync prototype to return void.
11156 * manual/startup.texi (Suboptions): Remove an erroneous const in
11157 getsubopt prototype.
11158 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11159 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11160 use size_t rather than int.
11161 (Scanning All Users): Likewise for getpwent_r.
11162 (Setting Groups): Add missing const to setgroups prototype.
11163 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11164 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11165 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11166 'const void *' rather than 'const char *'.
11167 (Host Address Functions): Likewise for inet_ntop.
11168 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11169 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11170 ssize_t for return value.
11171 (Sending Data): Likewise for send, sendto, sendmsg.
11172 (Socket Option Functions): Add a missing const in setsockopt prototype.
11173 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11174 use wchar_t for the argument.
11175 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11176 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11177 take no arguments.
11178 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11179 double/float/long double for second argument.
11180 Fix return types of significand, significandf, significandl.
11181 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11182 argument in fchmod prototype.
11183 (File Owner): Use uid_t and gid_t in fchown prototype.
11184 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11185 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11186 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11187 use 'const struct dirent **' as argument types to CMP function pointer
11188 argument.
11189 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11190 (File Times): Fix summary magic @comment for struct utimbuf and utime
11191 to refer to utime.h, not time.h.
11192 * manual/string.texi (Argz Functions): Add missing const in
11193 argz_extract and argz_next prototypes.
11194 (Finding Tokens in a String): Likewise for basename.
11195 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11196 (Copying and Concatenation): Fix typo in wmemmove prototype.
11197 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11198 (Signal Stack): Remove erroneous const in sigstack prototype.
11199 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11200 prototype.
11201 (Simple Calendar Time): Likewise for stime.
11202 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11203 prototype.
11204 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11205 say sys/sysctl.h instead.
11206 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11207 and vsyslog prototypes.
11208
fe77fe6d
TV
112092013-02-11 Tom de Vries <tom@codesourcery.com>
11210
11211 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11212 Remove.
11213
3a09b620
RM
112142013-02-11 Roland McGrath <roland@hack.frob.com>
11215
11216 * misc/sys/mman.h: Fix typo in mremap comment.
11217
550a0b89
RM
112182013-02-08 Roland McGrath <roland@hack.frob.com>
11219
11220 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11221 the '\0' terminator.
11222
a2da1673
JM
112232013-02-08 Joseph Myers <joseph@codesourcery.com>
11224
11225 [BZ #13550]
11226 * debug/segfault.c: Don't include <bp-checks.h>.
11227 * sysdeps/generic/bp-checks.h: Remove file.
11228 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11229 (__GETDENTS): Don't use CHECK_N.
11230 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11231 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11232 (__getgroups): Don't use CHECK_N.
11233 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11234 (setgroups): Don't use CHECK_N.
11235 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11236 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11237 (__libc_msgrcv): Don't use CHECK_N.
11238 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11239 (__libc_msgsnd): Don't use CHECK_N.
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11241 <bp-checks.h>.
11242 (__libc_pread): Don't use CHECK_N.
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11244 include <bp-checks.h>.
11245 (__libc_pread64): Don't use CHECK_N.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11247 include <bp-checks.h>.
11248 (__libc_pwrite): Don't use CHECK_N.
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11250 include <bp-checks.h>.
11251 (__libc_pwrite64): Don't use CHECK_N.
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11253 <bp-checks.h>.
11254 (__libc_pread): Don't use CHECK_N.
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11256 include <bp-checks.h>.
11257 (__libc_pread64): Don't use CHECK_N.
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11259 include <bp-checks.h>.
11260 (__libc_pwrite): Don't use CHECK_N.
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11262 include <bp-checks.h>.
11263 (__libc_pwrite64): Don't use CHECK_N.
11264 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11265 (do_pread): Don't use CHECK_N.
11266 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11267 (do_pread64): Don't use CHECK_N.
11268 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11269 (do_pwrite): Don't use CHECK_N.
11270 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11271 (do_pwrite64): Don't use CHECK_N.
11272 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11273 (__libc_readv): Don't use CHECK_N.
11274 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11275 (semop): Don't use CHECK_N.
11276 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11277 <bp-checks.h>.
11278 (semtimedop): Don't use CHECK_N.
11279 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11280 (__libc_pread): Don't use CHECK_N.
11281 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11282 <bp-checks.h>.
11283 (__libc_pread64): Don't use CHECK_N.
11284 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11285 <bp-checks.h>.
11286 (__libc_pwrite): Don't use CHECK_N.
11287 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11288 <bp-checks.h>.
11289 (__libc_pwrite64): Don't use CHECK_N.
11290 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11291 <bp-checks.h>.
11292 (__libc_msgrcv): Don't use CHECK_N.
11293 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11294 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11295 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11296 (__libc_writev): Don't use CHECK_N.
11297
b84660a8
RM
112982013-02-08 Roland McGrath <roland@hack.frob.com>
11299
7f3e75f8
RM
11300 * string/strcpy.c: Removed unused variable.
11301
b84660a8
RM
11302 * Makeconfig (+sysdep-includes): Define with := rather than =.
11303 Use an existing include/ subdir of each sysdeps dir before it.
11304
471514d3
CD
113052013-02-08 Carlos O'Donell <carlos@redhat.com>
11306
11307 * nscd/connection.c (register_traced_file): Comment function.
11308 [HAVE_INOTIFY] (union __inev): Define.
11309 [HAVE_INOTIFY] (inotify_check_files): New function.
11310 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11311 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11312 clear_db_cache.
11313 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11314
b2d3c3be
CD
113152013-02-08 Carlos O'Donell <carlos@redhat.com>
11316
11317 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11318 loaded if not already and that a failure is permanent.
11319
b39949d2
CD
113202013-02-08 Carlos O'Donell <carlos@redhat.com>
11321
ddacd1db 11322 [BZ #15006]
b39949d2
CD
11323 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11324 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11325
b2c9eff4
JM
113262013-02-08 Joseph Myers <joseph@codesourcery.com>
11327
f3aae3f3
JM
11328 [BZ #13550]
11329 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11330 (CHECK_1_NULL_OK): Likewise.
11331 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11332 (__fxstat): Do not use CHECK_1.
11333 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11334 <bp-checks.h>.
11335 (___fxstat64): Do not use CHECK_1.
11336 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11337 <bp-checks.h>.
11338 (__fxstatat): Do not use CHECK_1.
11339 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11340 <bp-checks.h>.
11341 (__fxstatat64): Do not use CHECK_1.
11342 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11343 <bp-checks.h>.
11344 (__fxstat): Do not use CHECK_1.
11345 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11346 <bp-checks.h>.
11347 (__fxstatat): Do not use CHECK_1.
11348 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11349 <bp-checks.h>.
11350 (__getresgid): Do not use CHECK_1.
11351 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11352 <bp-checks.h>.
11353 (__getresuid): Do not use CHECK_1.
11354 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11355 <bp-checks.h>.
11356 (__lxstat): Do not use CHECK_1.
11357 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11358 <bp-checks.h>.
11359 (__old_msgctl): Do not use CHECK_1.
11360 (__new_msgctl): Likewise.
11361 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11362 <bp-checks.h>.
11363 (__new_setrlimit): Do not use CHECK_1.
11364 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11365 <bp-checks.h>.
11366 (__old_shmctl): Do not use CHECK_1.
11367 (__new_shmctl): Likewise.
11368 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11369 <bp-checks.h>.
11370 (__xstat): Do not use CHECK_1.
11371 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11372 (__lxstat): Do not use CHECK_1.
11373 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11374 <bp-checks.h>.
11375 (___lxstat64): Do not use CHECK_1.
11376 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11377 (__old_msgctl): Do not use CHECK_1.
11378 (__new_msgctl): Likewise.
11379 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11380 <bp-checks.h>.
11381 (__gettimeofday): Do not use CHECK_1.
11382 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11383 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11384 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11385 <bp-checks.h>.
11386 (__gettimeofday): Do not use CHECK_1.
11387 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11388 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11389 (__new_shmctl): Do not use CHECK_1.
11390 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11391 <bp-checks.h>.
11392 (do_sigtimedwait): Do not use CHECK_1.
11393 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11394 <bp-checks.h>.
11395 (do_sigwaitinfo): Do not use CHECK_1.
11396 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11397 <bp-checks.h>.
11398 (msgctl): Do not use CHECK_1.
11399 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11400 <bp-checks.h>.
11401 (shmctl): Do not use CHECK_1.
11402 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11403 (ustat): Do not use CHECK_1.
11404 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11405 <bp-checks.h>.
11406 (__fxstat): Do not use CHECK_1.
11407 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11408 <bp-checks.h>.
11409 (__fxstatat): Do not use CHECK_1.
11410 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11411 <bp-checks.h>.
11412 (__lxstat): Do not use CHECK_1.
11413 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11414 <bp-checks.h>.
11415 (__xstat): Do not use CHECK_1.
11416 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11417 (__xstat): Do not use CHECK_1.
11418 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11419 (___xstat64): Do not use CHECK_1.
11420
b2c9eff4
JM
11421 [BZ #13550]
11422 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11423 definitions.
11424 (CHECK_BOUNDS_HIGH): Likewise.
11425 * string/strcpy.c: Do not include <bp-checks.h>.
11426 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11427
f1d70dad
RM
114282013-02-07 Roland McGrath <roland@hack.frob.com>
11429
11430 * nscd/nscd-client.h (__nscd_drop_map_ref):
11431 Add __attribute__ ((unused)).
11432 * nis/nss-nisplus.h (niserr2nss): Likewise.
11433
11434 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11435 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11436
11437 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11438 Remove inline keyword.
11439 * include/rounding-mode.h (round_away): Likewise.
11440 * libio/wfileops.c (adjust_wide_data): Likewise.
11441 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11442 (__m128i_strloadu_tolower): Likewise.
11443 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11444 (__m128i_strloadu_tolower): Likewise.
11445 * time/mktime.c (ydhms_diff): Likewise.
11446 * locale/elem-hash.h (elem_hash): Likewise.
11447 * locale/setlocale.c (setdata): Likewise.
11448 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11449 (re_string_wchar_at): Likewise.
11450 (bitset_not, bitset_merge, bitset_mask): Likewise.
11451 [!(__GNUC__ > 3)] (inline): Remove macro.
11452 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11453 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11454 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11455 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11456 * string/memcmp.c (memcmp_bytes): Likewise.
11457 * locale/programs/locarchive.c (compute_hashval): Likewise.
11458 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11459 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11460 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11461 * nss/getent.c (print_rpc, print_protocols): Likewise.
11462 (print_passwd, print_group, print_aliases): Likewise.
11463 * nis/nss-nisplus.h (niserr2nss): Likewise.
11464 * nscd/connections.c (restart_p): Likewise.
11465 Change return type to bool.
11466
eab55bfb
RM
114672013-02-05 Roland McGrath <roland@hack.frob.com>
11468
7bd642f5
RM
11469 * Makeconfig (all-Depend-files): Add existing
11470 $(sorted-subdirs:=/Depend) files.
11471 (all-subdirs): Remove nss.
11472 * sysdeps/unix/inet/Subdirs: Add it here instead.
11473 * hesiod/Depend: New file.
11474
573c29b2
RM
11475 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11476 instead of calling alloca.
11477
b2e25af0
RM
11478 * io/lseek.c (__lseek): Rename to __libc_lseek.
11479 Define __lseek as an alias.
11480
eab55bfb
RM
11481 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11482
9a0d1941
CD
114832013-02-04 Carlos O'Donell <carlos@redhat.com>
11484
11485 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11486 else clause and remove check for non-standard endianness.
11487
b83bbec4
DM
114882013-02-04 David S. Miller <davem@davemloft.net>
11489
11490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11491
6277fdab
JM
114922013-02-04 Joseph Myers <joseph@codesourcery.com>
11493
11494 [BZ #13550]
11495 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11496 (__ubp_memchr): Remove prototype.
11497 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11498 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11499 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11500 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11501 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11502 Remove alias.
11503 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11504 (__ubp_memchr): Likewise.
11505 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11506 (__ubp_memchr): Likewise.
11507 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11508 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11509 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11510 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11511 CHECK_STRING.
11512 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11513 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11514 (__getcwd): Do not use CHECK_STRING.
11515 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11516 <bp-checks.h>.
11517 (__real_chown): Do not use CHECK_STRING.
11518 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11519 <bp-checks.h>.
11520 (fchownat): Do not use CHECK_STRING.
11521 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11522 CHECK_STRING.
11523 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11524 <bp-checks.h>.
11525 (__lchown): Do not use CHECK_STRING.
11526 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11527 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11528 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11529 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11531 include <bp-checks.h>.
11532 (truncate64): Do not use CHECK_STRING.
11533 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11534 <bp-checks.h>.
11535 (__real_chown): Do not use CHECK_STRING.
11536 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11537 <bp-checks.h>.
11538 (__lchown): Do not use CHECK_STRING.
11539 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11540 <bp-checks.h>.
11541 (__chown): Do not use CHECK_STRING.
11542 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11543 <bp-checks.h>.
11544 (truncate64): Do not use CHECK_STRING.
11545 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11546 Likewise.
11547 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11548 (__xmknod): Do not use CHECK_STRING.
11549 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11550 <bp-checks.h>.
11551 (__xmknodat): Do not use CHECK_STRING.
11552 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11553 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11554
903ae060
AS
115552013-02-04 Andreas Schwab <schwab@suse.de>
11556
11557 [BZ #14142]
11558 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11559 * include/netdb.h: Likewise for h_errno.
11560 * elf/tst-stackguard1.c: Include <tls.h>.
11561
542f9466
JK
115622013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11563
11564 * elf/link.h (struct link_map): Extend the l_addr comment.
11565 * include/link.h (struct link_map): Likewise.
11566
e782a927
JM
115672013-02-01 Joseph Myers <joseph@codesourcery.com>
11568
11569 [BZ #13550]
11570 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11571 (BOUNDED_1): Remove macro.
11572 * debug/backtrace.c: Don't include <bp-checks.h>.
11573 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11574 (__backtrace): Likewise.
11575 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11576 <bp-checks.h>.
11577 (__backtrace): Don't use BOUNDED_1.
11578 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11579 <bp-checks.h>.
11580 (__backtrace): Don't use BOUNDED_1.
11581 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11582 (__backtrace): Don't use BOUNDED_1.
11583 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11584 (shmat): Don't use BOUNDED_N.
11585
8cf28c5e
JM
115862013-01-31 Joseph Myers <joseph@codesourcery.com>
11587
3a7ac8a0
JM
11588 [BZ #13550]
11589 * sysdeps/generic/bp-start.h: Remove file.
11590 * csu/libc-start.c: Don't include <bp-start.h>.
11591 (LIBC_START_MAIN): Set up __environ directly instead of using
11592 INIT_ARGV_and_ENVIRON.
11593 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11594 <bp-start.h>.
11595
f3499f95
JM
11596 [BZ #13550]
11597 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11598 definitions.
11599 (CHECK_FCNTL): Likewise.
11600 (CHECK_N_PAGES): Likewise.
11601
32a45bea
JM
11602 [BZ #13550]
11603 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11604 definitions.
11605 (CHECK_SIGSET_NULL_OK): Likewise.
11606 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11607 <bp-checks.h>.
11608 (sigpending): Don't use CHECK_SIGSET.
11609 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11610 <bp-checks.h>.
11611 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11612 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11613 <bp-checks.h>.
11614 (do_sigsuspend): Don't use CHECK_SIGSET.
11615 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11616 use CHECK_SIGSET.
11617 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11618 (do_sigwait): Don't use CHECK_SIGSET.
11619 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11620 use CHECK_SIGSET.
11621 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11622 include <bp-checks.h>.
11623 (sigpending): Don't use CHECK_SIGSET.
11624 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11625 include <bp-checks.h>.
11626 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11627 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11628 <bp-checks.h>.
11629 (sigpending): Don't use CHECK_SIGSET.
11630 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11631 <bp-checks.h>.
11632 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11633
2e8a5c8c
JM
11634 [BZ #13550]
11635 * sysdeps/generic/bp-semctl.h: Remove file.
11636 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11637 <bp-checks.h> and <bp-semctl.h>.
11638 (__old_semctl): Don't use CHECK_SEMCTL.
11639 (__new_semctl): Likewise.
11640 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11641 and <bp-semctl.h>.
11642 (__old_semctl): Don't use CHECK_SEMCTL.
11643 (__new_semctl): Likewise.
11644 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11645 <bp-checks.h> and <bp-semctl.h>.
11646 (__old_semctl): Don't use CHECK_SEMCTL.
11647 (__new_semctl): Likewise.
11648 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11649 <bp-checks.h> and <bp-semctl.h>.
11650 (semctl): Don't use CHECK_SEMCTL.
11651
c2d54929
JM
11652 [BZ #13550]
11653 * Makerules (elide-bp-thunks): Remove variable.
11654 (elide-routines.oS): Don't use $(elide-bp-thunks).
11655 (elide-routines.os): Likewise.
11656 (elide-routines.o): Likewise.
11657 (elide-routines.op): Likewise.
11658 (elide-routines.og): Likewise.
11659 (objects): Don't use $(bp-thunks).
11660 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11661 include.
11662 (common-generated): Do not add s-proto-bp.d.
11663 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11664 (int): Likewise.
11665 (typ): Likewise.
11666 Do not generate makefile rules for bounded-pointer thunks.
11667 * sysdeps/generic/bp-thunks.h: Remove file.
11668 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11669 * sysdeps/unix/s-proto-bp.S: Likewise.
11670
8cf28c5e
JM
11671 [BZ #15062]
11672 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11673 parts of result separately when argument is not close to line from
11674 -i to i and one part of argument is small.
11675 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11676 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11677 * math/libm-test.inc (cacos_test): Add more tests.
11678 (casin_test): Likewise.
11679 (casinh_test): Likewise.
11680 * sysdeps/i386/fpu/libm-test-ulps: Update.
11681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11682
c4e33b8d
DM
116832013-01-31 David S. Miller <davem@davemloft.net>
11684
11685 * po/de.po: Update from translation team.
11686
3b60b421
MK
116872013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11688
11689 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11690
bb931195
TS
116912013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11692
b5a5da23
TS
11693 * configure.in (_AC_PROG_CC_C89): New definition.
11694 * configure: Regenerate.
11695
bb931195
TS
11696 * configure.in (AC_PROG_CPP): New definition.
11697 * configure: Regenerate.
11698
8c53a12c
JM
116992013-01-23 Joseph Myers <joseph@codesourcery.com>
11700
11701 * debug/tst-backtrace.h: New file.
11702 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11703 (ret): Remove variable.
11704 (x): Likewise.
11705 (FAIL): Remove macro.
11706 (NO_INLINE): Likewise.
11707 (fn1): Use match function instead of strstr.
11708 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11709 (ret): Remove variable.
11710 (x): Likewise.
11711 (FAIL): Remove macro.
11712 (NO_INLINE): Likewise.
11713 (fn): Use match function instead of strstr.
11714 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11715 (ret): Remove variable.
11716 (x): Likewise.
11717 (FAIL): Remove macro.
11718 (NO_INLINE): Likewise.
11719 (handle_signal): Use match function instead of strstr.
11720 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11721 (ret): Remove variable.
11722 (x): Likewise.
11723 (FAIL): Remove macro.
11724 (NO_INLINE): Likewise.
11725 (handle_signal): Use match function instead of strstr.
11726
4858fa2a
RM
117272013-01-23 Roland McGrath <roland@hack.frob.com>
11728
11729 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11730
bae8e7f5
DM
117312013-01-23 David S. Miller <davem@davemloft.net>
11732
11733 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11734 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11735 argument of CAS if possible.
11736 * sysdeps/sparc/sparc64/bits/atomic.h
11737 (__arch_compare_and_exchange_val_32_acq): Likewise.
11738 (__arch_compare_and_exchange_val_64_acq): Likewise.
11739
9cbbc4ae
PT
117402013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11741
11742 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11743 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11744 Include <limits.h>.
67b3f58c 11745 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11746
5655a0b5
AC
117472013-01-23 Adam Conrad <adconrad@0c3.net>
11748
11749 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11750 (LDFLAGS-tst-array5): Likewise.
11751
052aff95
JM
117522013-01-23 Joseph Myers <joseph@codesourcery.com>
11753
11754 [BZ #15036]
11755 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11756 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11757 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11758 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11759
7c1e01aa
DM
117602013-01-21 David S. Miller <davem@davemloft.net>
11761
11762 * sysdeps/sparc/backtrace.c: New file.
11763 * sysdeps/sparc/sparc32/backtrace.h: New file.
11764 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11765 * sysdeps/sparc/sparc64/backtrace.h: New file.
11766 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11767 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11768 -funwind-tables.
11769
ab087e0a
AS
117702013-01-21 Andreas Schwab <schwab@suse.de>
11771
11772 [BZ #15020]
11773 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11774 closed its stdout.
11775
ed689c2f
AS
117762013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11777
11778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11779 "mpa2.h".
11780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11781
31d470ac
JM
117822013-01-18 Joseph Myers <joseph@codesourcery.com>
11783 Mark Mitchell <mark@codesourcery.com>
11784 Tom de Vries <tom@codesourcery.com>
11785 Paul Pluzhnikov <ppluzhnikov@google.com>
11786
11787 * debug/tst-backtrace2.c: New file.
11788 * debug/tst-backtrace3.c: Likewise.
11789 * debug/tst-backtrace4.c: Likewise.
11790 * debug/tst-backtrace5.c: Likewise.
11791 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11792 (CFLAGS-tst-backtrace3.c): Likewise.
11793 (CFLAGS-tst-backtrace4.c): Likewise.
11794 (CFLAGS-tst-backtrace5.c): Likewise.
11795 (LDFLAGS-tst-backtrace2): Likewise.
11796 (LDFLAGS-tst-backtrace3): Likewise.
11797 (LDFLAGS-tst-backtrace4): Likewise.
11798 (LDFLAGS-tst-backtrace5): Likewise.
11799 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11800 tst-backtrace4 and tst-backtrace5.
11801
90567f30 118022013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11803 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11804
11805 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11806 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11807 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11808 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11810 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11811 "+r" and remove output regs list as redundant. Add explicit inline
11812 asm to specify register of return val to work around compiler codegen
11813 bug. Remove (int) cast on return value. Add return type parameter to
11814 use in macro so that this macro does not truncate return value for
11815 64-bit values.
11816 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11817 pass to INTERNAL_VSYSCALL_NCS.
11818 (INLINE_VSYSCALL): Add 'long int' as return type to
11819 INTERNAL_VSYSCALL_NCS macro invocation.
11820 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11821 INTERNAL_VSYSCALL_NCS macro invocation.
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11823
d3b9ea61
SP
118242013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11825
0b57daeb
SP
11826 [BZ #14496]
11827 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11828 Fix application of SIMD FP exception mask.
11829
caa99d06
SP
11830 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11831 mp_no from a power of two.
11832 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11833 __mpexp_twomm1. Use __pow_mp.
11834
d3b9ea61
SP
11835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11836 multiplication.
11837
1dbaee3c
DM
118382013-01-17 David S. Miller <davem@davemloft.net>
11839
11840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11841
728d7b43
JM
118422013-01-17 Joseph Myers <joseph@codesourcery.com>
11843
11844 [BZ #15023]
11845 * include/complex.h: Condition contents on [!_COMPLEX_H].
11846 (__kernel_casinhf): New prototype.
11847 (__kernel_casinh): Likewise.
11848 (__kernel_casinhl): Likewise.
11849 * math/Makefile (libm_calls): Add k_casinh.
11850 * math/k_casinh.c: New file.
11851 * math/k_casinhf.c: Likewise.
11852 * math/k_casinhl.c: Likewise.
11853 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11854 finite nonzero arguments.
11855 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11856 finite nonzero arguments.
11857 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11858 finite nonzero arguments.
11859 * math/s_casinh.c: Do not include <float.h>.
11860 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11861 * math/s_casinhf.c: Do not include <float.h>.
11862 (__casinhf): Move code for finite nonzero arguments to
11863 k_casinhf.c.
11864 * math/s_casinhl.c: Do not include <float.h>.
11865 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11866 redefine.
11867 (__casinhl): Move code for finite nonzero arguments to
11868 k_casinhl.c.
11869 * math/libm-test.inc (cacos_test): Add more tests.
11870 * sysdeps/i386/fpu/libm-test-ulps: Update.
11871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11872
2a26ef3a
PT
118732013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11874
11875 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11876 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11877 [!HAVE_MREMAP]: Remove [defined linux] case.
11878 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11879
a897655d
SP
118802013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11881
11882 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11883
881ebe89 118842013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11885
11886 * elf/elf.h (R_386_SIZE32): New relocation.
11887 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11888 R_386_SIZE32.
11889 (elf_machine_rela): Likewise.
11890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11891 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11892
59981e9b
JM
118932013-01-17 Joseph Myers <joseph@codesourcery.com>
11894
11895 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11896 (FP_FAST_FMA): Do not define.
11897 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11898 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11899 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11900 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11901 !_SOFT_FLOAT]: Likewise.
11902 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11903 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11904 value.
11905 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11906 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11907 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11908 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11909 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11910 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11911 file.
11912
cfa8054f
AS
119132013-01-16 Andreas Schwab <schwab@suse.de>
11914
11915 [BZ #14327]
11916 * include/stdlib.h (__mktemp): Add declaration.
11917 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11918 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11919
dd930cc5
SP
119202013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11921
881ebe89
SP
11922 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11923 definitions.
11924 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11925 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11926 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11927 definitions here.
11928 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11929 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11930 definitions.
11931 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11932 and ONE.
11933 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11934 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11935 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11936 definitions.
11937 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11938 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11939 definitions.
11940 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11941
dd930cc5
SP
11942 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11943
c19a9f89
DM
119442013-01-15 David S. Miller <davem@davemloft.net>
11945
1aa61767
DM
11946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11947 trunc{,f} to libm-sysdep_routes.
11948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11950 file.
11951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11953 file.
11954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11955 file.
11956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11958 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11959 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11960 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11961 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11962 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11963 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11964
c42d5e98
DM
11965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11966 nearbyint{,f} to libm-sysdep_routes.
11967 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11969 New file.
11970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11971 file.
11972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11973 New file.
11974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11975 file.
11976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11978 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11979 file.
11980 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11981 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11982 file.
11983 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11984 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11985 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11986
c19a9f89
DM
11987 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11988 libc_feholdexcept and libc_fesetenv.
11989
357679d2
MF
119902013-01-15 Mike Frysinger <vapier@gentoo.org>
11991
11992 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11993
65a82e3d
DM
119942013-01-14 David S. Miller <davem@davemloft.net>
11995
8b954ab9
DM
11996 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11997 (SPARC_ASM_VIS2_IFUNC): Likewise.
11998 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12000 use of 'siam' instruction.
12001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12002 Likewise.
12003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12004 Likewise.
12005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12006 Likewise.
12007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12012 file.
12013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12014 file.
12015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12016 file.
12017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12018 file.
12019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12024 new VIS2 routines.
12025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12028 Likewise.
12029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12034 routines to libm-sysdep_routines.
12035 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12036
65a82e3d
DM
12037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12038 fdim/fdimf to libm-sysdep_routines.
12039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12040 file.
12041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12043 file.
12044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12047 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12048 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12049 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12050 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12051
e34ab705
SP
120522013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12053
2a91b573
SP
12054 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12055 to optimize copies.
12056
1066a534
SP
12057 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12060
e34ab705
SP
12061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12062 local variable MPTWO.
12063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12064 Likewise.
12065
aba5e596
MF
120662013-01-13 Mike Frysinger <vapier@gentoo.org>
12067
12068 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12069 GLOB_NOESCAPE.
12070
e557e9e5
MF
120712013-01-13 Mike Frysinger <vapier@gentoo.org>
12072
12073 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12074
0428cec9
MF
120752013-01-13 Mike Frysinger <vapier@gentoo.org>
12076
12077 * manual/pattern.texi (glob_t): Document gl_flags.
12078 (glob64_t): Likewise.
12079
8794a964
DM
120802013-01-11 David S. Miller <davem@davemloft.net>
12081
66438c3f
RM
12082 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12083 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12084 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12085 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12086 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12087 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12088 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12089 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12090 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12091 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12092 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12093 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12094 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12095
4ae4244d
DM
12096 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12097 sparc V9 rather than using V8 code.
12098 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12099 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12100
8794a964
DM
12101 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12102 Move to...
12103 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12104 Here.
12105
6270516e
RM
121062013-01-11 Roland McGrath <roland@hack.frob.com>
12107
12108 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12109 not in the main loop.
12110 * configure: Regenerated.
12111
6a57d931
JM
121122013-01-11 Joseph Myers <joseph@codesourcery.com>
12113
12114 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12115 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12116 to just #else.
12117 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12118 [!__GLIBC_HAVE_LONG_LONG] case.
12119 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12120 condition to just #else.
12121 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12122 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12123 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12124 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12125 unconditional.
12126 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12127 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12128 #elif condition to just #else.
12129 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12130 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12131 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12132 #elif condition to just #else.
12133
0e8529e9
SE
121342013-01-11 Steve Ellcey <sellcey@mips.com>
12135
12136 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12137 (EF_MIPS_ARCH_64): Fix value.
12138 (EF_MIPS_ARCH_32R2): New.
12139 (EF_MIPS_ARCH_64R2): New.
12140
740b3dbe
L
121412013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12142
12143 * Makeconfig (+link-pie-before-libc): New.
12144 (+link-pie-after-libc): Likewise.
12145 (+link-pie-tests): Likewise.
12146 (+link-pie): Rewritten.
12147 (link-before-libc): Remove $(config-LDFLAGS).
12148 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12149 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12150 (config-LDFLAGS): Renamed to ...
12151 (rtld-LDFLAGS): This.
12152 (rtld-tests-LDFLAGS): New macro.
12153 (link-libc-rpath-link): Likewise.
12154 (link-libc-tests-rpath-link): Likewise.
12155 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12156 (link-libc): Prepand $(link-libc-rpath-link).
12157 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12158 (test-program-prefix): New macro.
12159 (test-via-rtld-prefix): Likewise.
12160 (test-program-cmd): Likewise.
12161 (host-test-program-cmd): Likewise.
12162 * Makefile ($(common-objpfx)testrun.sh): Replace
12163 $(run-program-prefix) with $(test-program-prefix).
12164 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12165 $(rtld-LDFLAGS).
12166 ($(common-objpfx)shlib.lds): Likewise.
12167 (build-module-helper): Likewise.
12168 ($(common-objpfx)format.lds): Likewise.
12169 * Rules (binaries-pie-tests): New.
12170 (binaries-pie-notests): Likewise.
12171 (binaries-pie): Rewritten.
12172 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12173 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12174 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12175 (make-test-out): Replace $(host-built-program-cmd) with
12176 $(host-test-program-cmd).
12177 * config.make.in (build-hardcoded-path-in-tests): New variable.
12178 * configure.in (--enable-hardcoded-path-in-tests): New configure
12179 option.
12180 (hardcoded_path_in_tests): New AC_SUBST.
12181 * configure: Regenerated.
12182 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12183 $(built-program-cmd) with $(test-program-cmd).
12184 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12185 (test_program_cmd): This.
12186 * elf/Makefile ($(objpfx)order.out): Run test with
12187 $(test-program-prefix).
12188 ($(objpfx)order2.out): Likewise.
12189 ($(objpfx)tst-initorder.out): Likewise.
12190 ($(objpfx)tst-initorder2.out): Likewise.
12191 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12192 $(test-program-cmd).
12193 ($(objpfx)tst-array1-static.out): Likewise.
12194 ($(objpfx)tst-array2.out): Likewise.
12195 ($(objpfx)tst-array3.out): Likewise.
12196 ($(objpfx)tst-array4.out): Likewise.
12197 ($(objpfx)tst-array5.out): Likewise.
12198 ($(objpfx)tst-array5-static.out): Likewise.
12199 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12200 $(test-program-cmd).
12201 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12202 $(run-program-prefix) with $(test-program-prefix).
12203 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12204 (test_program_prefix): This.
12205 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12206 $(run-program-prefix) with $(test-program-prefix).
12207 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12208 (test_program_prefix): This.
12209 * iconvdata/tst-tables.sh: Likewise.
12210 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12211 $(run-program-prefix) with $(test-program-prefix).
12212 ($(objpfx)tst-translit.out): Likewise.
12213 ($(objpfx)tst-gettext2.out): Likewise.
12214 ($(objpfx)tst-gettext4.out): Likewise.
12215 ($(objpfx)tst-gettext6.out): Likewise.
12216 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12217 (test_program_prefix): This.
12218 * intl/tst-gettext2.sh: Likewise.
12219 * intl/tst-gettext4.sh Likewise.
12220 * intl/tst-gettext6.sh: Likewise.
12221 * intl/tst-translit.sh: Likewise.
12222 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12223 with $(test-program-cmd).
12224 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12225 $(run-program-prefix) with $(test-program-prefix).
12226 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12227 (test_program_prefix): This.
12228 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12229 $(run-program-prefix) with $(test-program-prefix).
12230 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12231 (test_program_prefix): This.
12232 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12233 * posix/Makefile ($(objpfx)globtest.out): Replace
12234 $(run-via-rtld-prefix) and $(test-wrapper) with
12235 $(test-program-prefix) and $(test-via-rtld-prefix).
12236 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12237 $(test-program-prefix).
12238 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12239 $(host-test-program-cmd).
12240 (tst-spawn-ARGS): Likewise.
12241 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12242 $(test-program-prefix).
12243 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12244 (test_via_rtld_prefix): This.
12245 (test_wrapper): Renamed to ...
12246 (test_program_prefix): This.
12247 (run_program_prefix): Replaced by test_program_prefix.
12248 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12249 (test_program_prefix): This.
12250 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12251 with $(host-test-program-cmd).
12252 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12253 $(run-program-prefix) with $(test-program-prefix).
12254 ($(objpfx)tst-printf.out): Likewise.
12255 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12256 $(test-program-cmd).
12257 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12258 (test_program_prefix): This.
12259 * stdio-common/tst-unbputc.sh: Likewise.
12260 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12261 $(run-program-prefix) with $(test-program-prefix).
12262 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12263 (test_program_prefix): This.
12264 * string/Makefile ($(objpfx)tst-svc.out): Replace
12265 $(built-program-cmd) with $(test-program-cmd).
12266
c6fe55cf
AJ
122672013-01-11 Andreas Jaeger <aj@suse.de>
12268
12269 [BZ #15003]
12270 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12271 value. Sync with Linux 3.7.
12272
9e6919c8
DM
122732013-01-10 David S. Miller <davem@davemloft.net>
12274
12275 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12276 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12277 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12278
1c9f1a02
RM
122792013-01-10 Roland McGrath <roland@hack.frob.com>
12280
12281 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12282 never set.
12283 * configure: Regenerated.
12284
b9de2dde
DM
122852013-01-10 David S. Miller <davem@davemloft.net>
12286
12287 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12288 sparc V9 rather than using V8 code.
12289 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12290 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12291
e7f68ef4
RM
122922013-01-10 Roland McGrath <roland@hack.frob.com>
12293
12294 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12295 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12296 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12297 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12298 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12299 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12300 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12301 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12302 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12303 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12304 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12305 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12306 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12307 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12308 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12309 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12310 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12311 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12312 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12313 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12314 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12315 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12316 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12317 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12318 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12319 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12320 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12321
5a47cc9c
DM
123222013-01-10 David S. Miller <davem@davemloft.net>
12323
12324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12325
4cf8f209
L
123262013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12327
12328 * posix/Makefile (tests-static): New variable.
12329 (tests): Add $(tests-static).
12330 (tst-exec-static-ARGS): New variable.
12331 (tst-spawn-static-ARGS): Likewise.
12332 * posix/tst-exec-static.c: New file.
12333 * posix/tst-spawn-static.c: Likewise.
12334 * posix/tst-exec.c: Support run directly.
12335 * posix/tst-spawn.c: Likewise.
12336
fed0faa1
JM
123372013-01-10 Joseph Myers <joseph@codesourcery.com>
12338
828beb13
JM
12339 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12340 long.
12341 * math/bits/mathcalls.h (llrint): Likewise.
12342 (llround): Likewise.
12343 * stdlib/stdlib.h (struct drand48_data): Likewise.
12344 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12345 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12346 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12347 Likewise.
12348 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12349 Likewise.
12350 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12351 (elf_greg_t): Likewise.
12352 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12353 (__jmp_buf): Likewise.
12354 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12355 definitions.
12356 (llrint): Likewise, for all definitions.
12357 (llrintl): Likewise.
12358
fed0faa1
JM
12359 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12360 Remove [__GNUC__] condition.
12361 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12362 condition to just [__USE_ISOC99].
12363 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12364
1a20cb20
L
123652013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 [BZ #14200]
12368 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12369 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12370 defined.
12371 (_POSIX_V6_ILP32_OFF32): Likewise.
12372 (_XBS5_ILP32_OFF32): Likewise.
12373 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12374 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12375
751b85f7
SP
123762013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12377
7490eb81
SP
12378 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12379
751b85f7
SP
12380 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12381 doubles __mpexp_twomm1. Adjust usage.
12382 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12383 Remove.
12384
988197f0
AS
123852013-01-10 Andreas Schwab <schwab@suse.de>
12386
12387 [BZ #14964]
12388 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12389 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12390
e83d7298
DM
123912013-01-09 David S. Miller <davem@davemloft.net>
12392
034ed64b 12393 [BZ #15003]
e83d7298
DM
12394 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12395 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12396 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12397 TCP_FASTOPEN): Define.
12398 (tcp_repair_opt): New structure.
12399 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12400 enum values.
12401 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12402 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12403 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12404 (tcp_cookie_transactions): New structure.
12405
d5e0b9bd
AB
124062013-01-09 Anton Blanchard <anton@samba.org>
12407
12408 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12409 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12410 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12411 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12412
0c07e3ea
JM
124132013-01-09 Joseph Myers <joseph@codesourcery.com>
12414
12415 * include/features.h (__USE_ANSI): Remove.
12416
232f7002
RM
124172013-01-09 Roland McGrath <roland@hack.frob.com>
12418
ad98e30c
RM
12419 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12420
232f7002
RM
12421 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12422
950c99ca
SP
124232013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12424
b5792741
SP
12425 * sysdeps/s390/fpu/libm-test-ulps: Update.
12426
47cf2278
SP
12427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12428
950c99ca
SP
12429 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12430 (__acr): Likewise.
12431 (__cpy): Likewise.
12432 (norm): Likewise.
12433 (denorm): Likewise.
12434 (__mp_dbl): Likewise.
12435 (__dbl_mp): Likewise.
12436 (add_magnitudes): Likewise.
12437 (sub_magnitudes): Likewise.
12438 (__add): Likewise.
12439 (__sub): Likewise.
12440 (__mul): Likewise.
12441 (__inv): Likewise.
12442 (__dvd): Likewise.
12443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12444 (__acr): Likewise.
12445 (__cpy): Likewise.
12446 (norm): Likewise.
12447 (denorm): Likewise.
12448 (__mp_dbl): Likewise.
12449 (__dbl_mp): Likewise.
12450 (add_magnitudes): Likewise.
12451 (sub_magnitudes): Likewise.
12452 (__add): Likewise.
12453 (__sub): Likewise.
12454 (__mul): Likewise.
12455 (__inv): Likewise.
12456 (__dvd): Likewise.
12457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12458 (__acr): Likewise.
12459 (__cpy): Likewise.
12460 (norm): Likewise.
12461 (denorm): Likewise.
12462 (__mp_dbl): Likewise.
12463 (__dbl_mp): Likewise.
12464 (add_magnitudes): Likewise.
12465 (sub_magnitudes): Likewise.
12466 (__add): Likewise.
12467 (__sub): Likewise.
12468 (__mul): Likewise.
12469 (__inv): Likewise.
12470 (__dvd): Likewise.
12471
eede9df9
JM
124722013-01-08 Joseph Myers <joseph@codesourcery.com>
12473
12474 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12475 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12476 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12477 2 && __USE_EXTERN_INLINES]: Likewise.
12478
c40ea3d9
AJ
124792013-01-08 Andreas Jaeger <aj@suse.de>
12480
12481 [BZ# 14985]
12482 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12483 Remove.
12484 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12485 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12486
2ccdea26
AB
124872013-01-07 Anton Blanchard <anton@samba.org>
12488
12489 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12490 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12491 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12492 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12493 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12494 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12495 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12496 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12498 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12499 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12500 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12501 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12502 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12503 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12504 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12505 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12506 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12507 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12508 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12509 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12510 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12512 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12513 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12514 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12515 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12516 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12517 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12518 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12519 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12521 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12522 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12523 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12524 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12525 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12526 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12527 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12528 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12529 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12530 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12531 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12532
a9708fed
JM
125332013-01-07 Joseph Myers <joseph@codesourcery.com>
12534
375607b9
JM
12535 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12536 (__MALLOC_PMT): Likewise.
12537 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12538 [__GNUC__], only on [_LIBC].
12539 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12540 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12541 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12542 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12543 forward declaration.
12544 (realloc_hook_ini): Likewise.
12545 (memalign_hook_ini): Likewise.
12546 (__libc_memalign): Do not use __MALLOC_PMT in variable
12547 declaration.
12548 (__libc_valloc): Likewise.
12549 (__libc_pvalloc): Likewise.
12550 (__libc_calloc): Likewise.
12551 (__posix_memalign): Likewise.
12552
a9708fed
JM
12553 [BZ #14996]
12554 * math/s_casinh.c: Include <float.h>.
12555 (__casinh): Do not do computation with squaring and square root
12556 for large arguments.
12557 * math/s_casinhf.c: Include <float.h>.
12558 (__casinhf): Do not do computation with squaring and square root
12559 for large arguments.
12560 * math/s_casinhl.c: Include <float.h>.
12561 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12562 (__casinhl): Do not do computation with squaring and square root
12563 for large arguments.
12564 * math/libm-test.inc (casin_test): Add more tests.
12565 (casinh_test): Likewise.
12566 * sysdeps/i386/fpu/libm-test-ulps: Update.
12567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12568
afec409a
L
125692013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12570
12571 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12572 (__x86_64_raw_data_cache_size): Likewise.
12573 (__x86_64_data_cache_size_half): Likewise.
12574 (__x86_64_raw_data_cache_size_half): Likewise.
12575 (__x86_64_shared_cache_size): Likewise.
12576 (__x86_64_raw_shared_cache_size): Likewise.
12577 (__x86_64_shared_cache_size_half): Likewise.
12578 (__x86_64_raw_shared_cache_size_half): Likewise.
12579 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12580 to ...
12581 (__x86_data_cache_size): This.
12582 (__x86_64_raw_data_cache_size): Renamed to ...
12583 (__x86_raw_data_cache_size): This.
12584 (__x86_64_data_cache_size_half): Renamed to ...
12585 (__x86_data_cache_size_half): This.
12586 (__x86_64_raw_data_cache_size_half): Renamed to ...
12587 (__x86_raw_data_cache_size_half): This.
12588 (__x86_64_shared_cache_size): Renamed to ...
12589 (__x86_shared_cache_size): This.
12590 (__x86_64_raw_shared_cache_size): Renamed to ...
12591 (__x86_raw_shared_cache_size): This.
12592 (__x86_64_shared_cache_size_half): Renamed to ...
12593 (__x86_shared_cache_size_half): This.
12594 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12595 (__x86_raw_shared_cache_size_half): This.
12596 * sysdeps/x86_64/memcpy.S: Updated.
12597 * sysdeps/x86_64/memset.S: Likewise.
12598 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12599 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12600 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12601
0b3986d0
DM
126022013-01-04 David S. Miller <davem@davemloft.net>
12603
12604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12605
e47686e9
AS
126062013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12607
d643bac1
AS
12608 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12609 1 to avoid redefinition warning.
12610 (__USE_GNU): Don't define.
12611 (init_signaling_nan): Protoize.
12612
e47686e9
AS
12613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12614
b18decba
SP
126152013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12616
fffb407f
SP
12617 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12619 (__cpymn): Likewise.
12620 (norm): Remove commented code.
12621 (denorm): Likewise.
12622 (__mp_dbl): Likewise.
12623 (__inv): Likewise.
12624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12625 (__cpymn): Likewise.
12626 (norm): Remove commented code.
12627 (denorm): Likewise.
12628 (__mp_dbl): Likewise.
12629 (__inv): Likewise.
12630
b18decba
SP
12631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12632 mp_no value for 1.0 and 2.0.
12633 (norm): Use RADIXI instead of radixi.d.
12634 (denorm): Likewise.
12635 (__mul): Use 0.0 instead of zero.d.
12636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12637 mp_no value for 1.0 and 2.0.
12638 (norm): Use RADIXI instead of radixi.d.
12639 (denorm): Likewise.
12640 (__mul): Use 0.0 instead of zero.d.
12641
cdc1c96f
JM
126422013-01-04 Joseph Myers <joseph@codesourcery.com>
12643
12644 [BZ #14994]
12645 * math/s_casinh.c (__casinh): Reduce finite argument to first
12646 quadrant then set signs of results at the end.
12647 * math/s_casinhf.c (__casinhf): Likewise.
12648 * math/s_casinhl.c (__casinhl): Likewise.
12649 * math/libm-test.inc (casin_test): Add more tests.
12650 (casinh_test): Likewise.
12651 * sysdeps/i386/fpu/libm-test-ulps: Update.
12652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12653
302913e1
SP
126542013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12655
6420d207
SP
12656 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12657
a9e48ab4
SP
12658 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12659
b7837264
SP
12660 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12661 declarations.
12662 (denorm): Likewise.
12663 (__mp_dbl): Likewise.
12664 (__inv): Likewise.
12665
f8af25d2
SP
12666 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12667 and adjust the header comment.
12668
302913e1
SP
12669 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12670 variable name from declaration.
12671
5d7dd1ca
L
126722013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12673
12674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12675 Initialize COMMON_CPUID_INDEX_7 element.
12676 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12677 (CPUID_RTM): Likewise.
12678 (HAS_RTM): Likewise.
12679 (COMMON_CPUID_INDEX_7): New enum.
12680
2f5f40f4
AS
126812013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12682
12683 [BZ #14981]
12684 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12685 size is zero, record memory as freed.
12686
4056f4a0
AJ
126872013-01-03 Andreas Jaeger <aj@suse.de>
12688
12689 * po/ia.po: Add new Interlingua translation.
12690
ab15736f 126912012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12692
12693 * locale/programs/localedef.c: Fix description of '--posix' flag.
12694
568035b7
JM
126952013-01-02 Joseph Myers <joseph@codesourcery.com>
12696
e6898b8d
JM
12697 * NEWS: Update dates in second copyright notice.
12698 * README: Update copyright dates in example.
12699 * manual/libc.texinfo: Update copyright dates.
12700 * scripts/test-installation.pl: Update copyright date in --version
12701 output.
12702
0e2f9562
JM
12703 * hurd/ctty-input.c: Fix copyright notice formatting.
12704 * hurd/ctty-output.c: Likewise.
12705 * hurd/dtable.c: Likewise.
12706 * hurd/hurd-raise.c: Likewise.
12707 * hurd/hurdprio.c: Likewise.
12708 * hurd/msgportdemux.c: Likewise.
12709 * misc/sys/file.h: Likewise.
12710 * misc/sys/ioctl.h: Likewise.
12711 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12712 * sysdeps/mach/hurd/chdir.c: Likewise.
12713 * sysdeps/mach/hurd/fchdir.c: Likewise.
12714 * sysdeps/mach/hurd/rename.c: Likewise.
12715 * sysdeps/mach/hurd/rmdir.c: Likewise.
12716 * sysdeps/mach/hurd/seekdir.c: Likewise.
12717 * sysdeps/mach/hurd/setsid.c: Likewise.
12718 * sysdeps/posix/wait3.c: Likewise.
12719
568035b7
JM
12720 * All files with FSF copyright notices: Update copyright dates
12721 using scripts/update-copyrights.
12722 * intl/plural.c: Regenerated.
12723 * locale/programs/charmap-kw.h: Likewise.
12724 * locale/programs/locfile-kw.h: Likewise.
12725
da08f647
SP
127262013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12727
0f5477af
SP
12728 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12729 four values.
12730
44e0d4c2
SP
12731 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12732 calculation loop and add branch prediction.
12733
4d55b4e5
SP
12734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12735 check access beyond bounds of m1np.
12736
da08f647
SP
12737 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12738 MPTWO.
12739 (__inv): Remove local variable MPTWO to use the global
12740 constant.
12741 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12742 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12743 variable MPTWO.
12744 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12745 MP3HALFS static const.
12746
8e051029
DM
127472013-01-01 David S. Miller <davem@davemloft.net>
12748
12749 * po/ca.po: Update from translation team.
12750
f4cf5f2d
JM
127512013-01-01 Joseph Myers <joseph@codesourcery.com>
12752
12753 * scripts/update-copyrights: New file.
12754 * Makeconfig: Reformat copyright notice.
12755 * ctype/ctype.h: Likewise.
12756 * debug/swprintf_chk.c: Likewise.
12757 * elf/dl-cache.c: Likewise.
12758 * elf/dl-debug.c: Likewise.
12759 * elf/dl-object.c: Likewise.
12760 * grp/initgroups.c: Likewise.
12761 * hurd/Makefile: Likewise.
12762 * hurd/hurd/signal.h: Likewise.
12763 * hurd/hurdfault.c: Likewise.
12764 * hurd/hurdioctl.c: Likewise.
12765 * hurd/hurdlookup.c: Likewise.
12766 * hurd/intr-msg.c: Likewise.
12767 * iconv/gconv_open.c: Likewise.
12768 * libio/swprintf.c: Likewise.
12769 * locale/lc-ctype.c: Likewise.
12770 * locale/nl_langinfo.c: Likewise.
12771 * mach/Machrules: Likewise.
12772 * mach/Makefile: Likewise.
12773 * malloc/obstack.h: Likewise.
12774 * manual/Makefile: Likewise.
12775 * manual/tsort.awk: Likewise.
12776 * misc/bits/stab.def: Likewise.
12777 * nis/nis_print_group_entry.c: Likewise.
12778 * nis/nis_table.c: Likewise.
12779 * nis/nss_compat/compat-pwd.c: Likewise.
12780 * nis/nss_compat/compat-spwd.c: Likewise.
12781 * po/Makefile: Likewise.
12782 * posix/fnmatch.c: Likewise.
12783 * posix/regex.h: Likewise.
12784 * resolv/Makefile: Likewise.
12785 * resolv/nss_dns/dns-network.c: Likewise.
12786 * resolv/res_hconf.c: Likewise.
12787 * scripts/gen-sorted.awk: Likewise.
12788 * soft-fp/soft-fp.h: Likewise.
12789 * stdio-common/printf.h: Likewise.
12790 * stdlib/monetary.h: Likewise.
12791 * stdlib/random.c: Likewise.
12792 * stdlib/random_r.c: Likewise.
12793 * sysdeps/generic/Makefile: Likewise.
12794 * sysdeps/gnu/Makefile: Likewise.
12795 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12810 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12811 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12812 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12813 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12815 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12816 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12817 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12823 * sysdeps/mach/hurd/errnos.awk: Likewise.
12824 * sysdeps/mach/hurd/fork.c: Likewise.
12825 * sysdeps/mach/hurd/getcwd.c: Likewise.
12826 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12827 * sysdeps/mach/hurd/mmap.c: Likewise.
12828 * sysdeps/mach/hurd/utimes.c: Likewise.
12829 * sysdeps/mach/hurd/xmknod.c: Likewise.
12830 * sysdeps/posix/profil.c: Likewise.
12831 * sysdeps/posix/readdir_r.c: Likewise.
12832 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12833 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12834 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12835 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12837 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12838 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12839 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12841 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12842 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12843 * sysdeps/pthread/lio_listio.c: Likewise.
12844 * sysdeps/sparc/dl-procinfo.h: Likewise.
12845 * sysdeps/unix/i386/sysdep.S: Likewise.
12846 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12847 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12848 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12849 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12851 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12852 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12853 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12854 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12855 * sysdeps/wordsize-32/divdi3.c: Likewise.
12856 * time/sys/time.h: Likewise.
12857 * wcsmbs/Makefile: Likewise.
12858
0549fbba
DM
128592013-01-01 David S. Miller <davem@davemloft.net>
12860
a141f1a7
DM
12861 * po/fr.po: Update from translation team.
12862
0549fbba
DM
12863 * catgets/gencat.c: Update copyright year.
12864 * csu/version.c: Likewise.
12865 * debug/catchsegv.sh: Likewise.
12866 * debug/pcprofiledump.c: Likewise.
12867 * debug/xtrace.sh: Likewise.
12868 * elf/ldconfig.c: Likewise.
12869 * elf/ldd.bash.in: Likewise.
12870 * elf/pldd.c: Likewise.
12871 * elf/sotruss.ksh: Likewise.
12872 * elf/sprof.c: Likewise.
12873 * iconv/iconv_prog.c: Likewise.
12874 * iconv/iconvconfig.c: Likewise.
12875 * locale/programs/locale.c: Likewise.
12876 * locale/programs/localedef.c: Likewise.
12877 * login/programs/pt_chown.c: Likewise.
12878 * malloc/memusage.sh: Likewise.
12879 * malloc/memusagestat.c: Likewise.
12880 * malloc/mtrace.pl: Likewise.
12881 * nscd/nscd.c: Likewise.
12882 * nss/getent.c: Likewise.
12883 * nss/makedb.c: Likewise.
12884 * posix/getconf.c: Likewise.
12885
18ea052c
SP
128862012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12887
12888 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12889 numbers.
12890
9c89fca6
MF
128912012-12-30 Mike Frysinger <vapier@gentoo.org>
12892
12893 * math/bits/mathcalls.h (modf): Use __nonnull.
12894
085ec079
SP
128952012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12896
12897 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12898 (split): Use macro CN instead of the bare value.
12899 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12900 could be used.
12901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12902 instead of the bare value.
12903 (power1): Likewise.
12904
6d9f97e1
SP
129052012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12906
d63f73be
SP
12907 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12908 __ATAN_TWOM.
12909 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12910
6d9f97e1
SP
12911 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12912 their values.
12913 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12914 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12915 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12916 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12917
4c4febf5
AJ
129182012-12-28 Andreas Jaeger <aj@suse.de>
12919
af5843ef
AJ
12920 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12921 values are from Linux 3.7.
12922
4c4febf5
AJ
12923 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12924 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12925
99136f82
SP
129262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12927
2f216c3c 12928 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12929 TRUE case.
12930
99136f82
SP
12931 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12932 (norm): Likewise.
12933 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12934 variables with preprocessor constants.
12935 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12936 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12937 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12938
7fffbdff
BH
129392012-12-27 Bruno Haible <bruno@clisp.org>
12940
12941 [BZ #14317]
12942 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12943 only if needed.
12944
b76eb5f0
SP
129452012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12946
31a7fe5c
SP
12947 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12948 and use variable directly.
12949 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12950
b76eb5f0
SP
12951 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12952 MPONE.
12953 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12954 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12955 variable MPONE.
12956 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12957 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12958 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12959 include directive. Remove local variable MPONE.
12960 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12961 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12963
2c8bfe7d
DM
129642012-12-25 David S. Miller <davem@davemloft.net>
12965
12966 * version.h (RELEASE): Set to "development".
12967 (VERSION): Set to "2.17.90".
12968 * NEWS: Add 2.18 section.
12969
147d03b0
DM
129702012-12-21 David S. Miller <davem@davemloft.net>
12971
12972 * po/hr.po: Update from translation team.
12973
a8ebb2b9
AK
129742012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12975
12976 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12977
95b4f1b6
SE
129782012-12-19 Steve Ellcey <sellcey@mips.com>
12979
b2d94007 12980 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12981
cedb2a90
MS
129822012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12983
12984 * manual/contrib.texi (Contributors): Spelling correction.
12985
bbf527d6
DM
129862012-12-15 David S. Miller <davem@davemloft.net>
12987
12988 * po/ru.po: Update from translation team.
12989
bc38c906
DM
129902012-12-13 David S. Miller <davem@davemloft.net>
12991
85429b1a
DM
12992 * NEWS: Mention IFUNC testsuite enhancements.
12993
d283e353
DM
12994 * po/pl.po: Update from translation team.
12995 * po/bg.po: Likewise.
12996
bc38c906
DM
12997 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12998 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12999
a181b0d7
DM
130002012-12-11 David S. Miller <davem@davemloft.net>
13001
4641d57e
DM
13002 * po/sv.po: Update from translation team.
13003
f7bc6495
DM
13004 * po/vi.po: Update from translation team.
13005
6fc9048f
DM
13006 * po/cs.po: Update from translation team.
13007
a181b0d7
DM
13008 * po/de.po: Update from translation team.
13009 * po/eo.po: Likewise.
13010 * po/nl.po: Likewise.
13011
f70bfe80
SP
130122012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13013
3c8b4190
SP
13014 [BZ #14246]
13015 * manual/argp.texi (Argp Helper Functions): Move node to follow
13016 Argp Parsing State.
13017
f70bfe80
SP
13018 [BZ #14872]
13019 * manual/conf.texi (Limits on File System Capacity): Mention if
13020 terminating null is included in the max size.
13021
188f0adf
AJ
130222012-12-10 Andreas Jaeger <aj@suse.de>
13023
13024 * po/cs.po: Update from translation team.
13025
56e7d3ad
SP
130262012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13027
13028 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13029 void pointer and cast to uintptr_t.
13030 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13031 path.
13032 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13033 * sysdeps/s390/s390-64/memset.S: Likewise.
13034
76f2d2ea 130352012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13036
13037 [BZ #14833]
13038 * menual/message.texi (Message Translation): Fix typos.
13039 (Helper programs for gettext): Likewise.
13040
67cbf9a2
AS
130412012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13042
13043 [BZ #14898]
13044 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13045 Change to -1.
13046
682d0e9a
DM
130472012-12-07 David S. Miller <davem@davemloft.net>
13048
13049 * po/libc.pot: Update.
13050
573cd484
RH
130512012-12-07 Richard Henderson <rth@redhat.com>
13052
7e9da188 13053 [BZ #10114]
573cd484
RH
13054 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13055 normal/normal case to before the switch.
13056 (_FP_DIV): Likewise.
13057
e933a943
MF
130582012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13059 Mike Frysinger <vapier@gentoo.org>
13060
13061 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13062 check for __NR_fadvise64_64.
13063
82123268
CM
130642012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13065
13066 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13067 0, not just to plain "0" as a statement.
13068 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13069 with cw.
13070
d9814526
JM
130712012-12-06 Joseph Myers <joseph@codesourcery.com>
13072
13073 * NEWS: Use sourceware.org in Bugzilla URL.
13074
7728c574
SP
130752012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13076
f16946dd
SP
13077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13078 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13079
5704bbcb
SP
13080 * stdio-common/tst-put-error.c (do_test): Add newline to the
13081 padded test to ensure flush.
13082
17aa0516
JL
130832012-12-05 Jeff Law <law@redhat.com>
13084
13085 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13086
363313b5
JM
130872012-12-05 Joseph Myers <joseph@codesourcery.com>
13088
effbd42a
JM
13089 * README: Don't refer to ports add-on as distributed separately.
13090 Mention AArch64 in list of systems supported in the ports add-on.
13091
87600365
JM
13092 * LICENSES: Add more non-FSF copyright and license notices.
13093
a0d7066a
JM
13094 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13095 ((unused)).
13096
66ca5a5b
JM
13097 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13098
363313b5
JM
13099 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13100 10000 as width of padded output.
13101
b37984ad
JM
131022012-12-04 Joseph Myers <joseph@codesourcery.com>
13103
9003570a
JM
13104 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13105
b37984ad
JM
13106 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13107 variable LX with __attribute__ ((unused)).
13108 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13109 Likewise.
13110 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13111 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13112 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13113 with __attribute__ ((unused)).
13114
c8df52ec
DM
131152012-12-04 David S. Miller <davem@abraco.davemloft.net>
13116
13117 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13118
b3b099af
JM
131192012-12-04 Joseph Myers <joseph@codesourcery.com>
13120
c33aa6e3
JM
13121 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13122 (CFLAGS-nldbl-acos.c): New variable.
13123 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13124 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13125 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13126 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13127 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13128 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13129 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13130 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13131 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13132 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13133 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13134 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13135 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13136 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13137 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13138 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13139 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13140 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13141 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13142 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13143 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13144 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13145 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13146 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13147 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13148 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13149 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13150 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13151 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13152 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13153 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13154 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13155 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13156 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13157 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13158 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13159 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13160 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13161 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13162 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13163 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13164 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13165 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13166 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13167 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13168 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13169 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13170 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13171 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13172 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13173 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13174 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13175 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13176 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13177 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13178 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13179 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13180 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13181 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13182 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13183 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13184 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13185 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13186 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13187 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13188 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13189 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13190 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13191 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13192 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13193 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13194 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13195 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13196 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13197 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13198 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13199 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13200 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13201 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13202 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13203 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13204 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13205 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13206 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13207 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13208 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13209 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13210 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13211 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13212 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13213 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13214 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13215 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13216 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13217 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13218 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13219 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13220
20f0018d
JM
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13222 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13223
b3b099af
JM
13224 [BZ #14914]
13225 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13226 whole low double instead of just low 47 bits when splitting values
13227 into two parts.
13228
029264d1
AM
132292012-12-03 Allan McRae <allan@archlinux.org>
13230
13231 * manual/stdio.texi (Predefined Printf Handlers): Remove
13232 @hsep and @vsep usage.
13233
c9d6789e
MF
132342012-12-03 Mike Frysinger <vapier@gentoo.org>
13235
13236 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13237 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13238
4b7634a5
JL
132392012-12-03 Jeff Law <law@redhat.com>
13240
13241 * time/sys/time.h (settimeofday): Do not mark TV argument
13242 as __nonnull.
13243
eb6cbd24
MF
132442012-12-01 Mike Frysinger <vapier@gentoo.org>
13245
13246 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13247 when currently writing and seek to current position when not.
13248 * libio/Makefile (tests): Remove bug-fclose1.
13249 * libio/bug-fclose1.c: Delete.
13250
f638872a
JM
132512012-12-01 Joseph Myers <joseph@codesourcery.com>
13252
13253 * manual/arith.texi (feenableexcept): Fix typo.
13254 (fedisableexcept): Likewise.
13255
48085d14
RM
132562012-11-30 Roland McGrath <roland@hack.frob.com>
13257
13258 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13259 second, differently-typed declaration, rather than a cast.
13260
1a538b9f
SP
132612012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13262
13263 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13264 * include/rpc/svc.h: ... here.
13265
d07f2ff1 132662012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13267
13268 [BZ #13013]
13269 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13270 depending n and resplen2 to catch cases where answer
13271 equals answerp2.
13272
c93ec1f0
CD
132732012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13274
13275 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13276 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13277
37db69de
MF
132782012-11-29 Mike Frysinger <vapier@gentoo.org>
13279
13280 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13281
e10c4e4f
RM
132822012-11-29 Roland McGrath <roland@hack.frob.com>
13283
13284 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13285
2af1b328
JL
132862012-11-28 Jeff Law <law@redhat.com>
13287
13288 [BZ #13761]
13289 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13290 dataset_temporary. Track alloca usage into alloca_used.
13291 If dataset is large allocate and release it via malloc/free.
13292
111db5b1
FW
132932012-06-04 Florian Weimer <fweimer@redhat.com>
13294
f06cc227 13295 [BZ #14197]
111db5b1
FW
13296 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13297
dd694abd
DM
132982012-11-28 David S. Miller <davem@davemloft.net>
13299
13300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13301
9984dd01
JM
133022012-11-28 Joseph Myers <joseph@codesourcery.com>
13303
13304 [BZ #14803]
13305 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13306 of pi/2 rounded to nearest to 64 bits.
13307 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13308 nearest to 64 bits.
13309 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13310 bits.
13311
14bc93a9
JL
133122012-11-28 Jeff Law <law@redhat.com>
13313 Martin Osvald <mosvald@redhat.com>
13314
13315 [BZ #14889]
13316 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13317 * sunrpc/svc.c: Include time.h.
13318 (__svc_accept_failed): New function.
13319 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13320 any reason other than EINTR, call __svc_accept_failed.
13321 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13322 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13323
e3c6aa3a
AS
133242012-11-28 Andreas Schwab <schwab@suse.de>
13325
13326 * scripts/abilist.awk: Also handle indirect functions in .opd
13327 section.
13328
1bead169
JM
133292012-11-28 Joseph Myers <joseph@codesourcery.com>
13330
13331 [BZ #13881]
13332 * sysdeps/x86/fpu/powl_helper.c: New file.
13333 * sysdeps/x86/fpu/Makefile: Likewise.
13334 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13335 (p3): New object.
13336 (__ieee754_powl): Use __powl_helper for finite arguments except
13337 integer exponents below 8.
13338 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13339 (p3): New object.
13340 (__ieee754_powl): Use __powl_helper for finite arguments except
13341 integer exponents below 8.
13342 * math/libm-test.inc (pow_test): Add more tests and enable some
13343 previously disabled tests.
13344 * sysdeps/i386/fpu/libm-test-ulps: Update.
13345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13346
0817d63d
SP
133472012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13348 Carlos O'Donell <carlos_odonell@mentor.com>
13349
13350 * nss/makedb.c (is_prime): Assert that input is odd and greater
13351 than 4. Note that fact in a comment too.
13352 (next_prime): Add 4 to input.
13353
de2fd463
SP
133542012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13355
13356 [BZ #11741]
13357 * libio/Makefile (tests): Add test case tst-fwrite-error.
13358 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13359 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13360 * libio/tst-fwrite-error.c: New test case.
13361
c515fb51
L
133622012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13363
13364 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13365 before casting to void *.
13366 * include/libc-internal.h (__pointer_type): New macro.
13367 (__integer_if_pointer_type_sub): Likewise.
13368 (__integer_if_pointer_type): Likewise.
13369 (cast_to_integer): Likewise.
13370 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13371 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13372 before casting to atomic64_t.
13373 (atomic_exchange_acq): Likewise.
13374 (__arch_exchange_and_add_body): Likewise.
13375 (__arch_add_body): Likewise.
13376 (atomic_add_negative): Likewise.
13377 (atomic_add_zero): Likewise.
13378
4cf77aa9
JM
133792012-11-26 Joseph Myers <joseph@codesourcery.com>
13380
13381 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13382 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13383 (add_fdes): Likewise.
13384 (linear_search_fdes): Likewise.
13385 (binary_search_unencoded_fdes): Likewise.
13386
d260b3b4
AS
133872012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13388
13389 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13390
67060746
AC
133912012-11-24 Adam Conrad <adconrad@0c3.net>
13392
13393 * configure.in: Autodetect C++ header directories.
13394 * configure: Regenerated.
13395
800938a1
MF
133962012-11-23 Mike Frysinger <vapier@gentoo.org>
13397
13398 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13399
4e6e34e6
AS
134002012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13401
13402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13403
7c7feb47
JM
134042012-11-22 Joseph Myers <joseph@codesourcery.com>
13405
7184dcdf
JM
13406 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13407 LDBL_MANT_DIG == 106]: Disable some tests.
13408 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13409 Likewise.
13410 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13411 Likewise.
13412
0a42601f
JM
13413 [BZ #14871]
13414 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13415 input for small inputs. Return +/- pi/2 for large inputs.
13416 * math/libm-test.inc (atan_test): Add more tests.
13417
79c9b9fe
JM
13418 * sysdeps/generic/unwind-dw2-fde-glibc.c
13419 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13420 __attribute__ ((unused)).
13421
c60d3bf2
JM
13422 [BZ #14645]
13423 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13424 x * y if x and y are nonzero and z is zero.
13425
ef1e0867
JM
13426 [BZ #14811]
13427 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13428 nonzero exponents with absolute value below 0x1p-117 to +/-
13429 0x1p-117.
13430
1468ded3
JM
13431 [BZ #14869]
13432 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13433 up arguments below 2**-450, not just those below 2**-500.
13434 * math/libm-test.inc (hypot_test): Add another test.
13435
8e27e3cc
JM
13436 [BZ #14868]
13437 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13438 Return a+b for ratio over 2**120, not 2**60.
13439 * math/libm-test.inc (hypot_test): Add another test.
13440
c9c0279b
JM
13441 * math/libm-test.inc (clog_test): Use
13442 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13443 (clog10_test): Likewise.
13444
7c7feb47
JM
13445 [BZ #6778]
13446 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13447
fff1530e
AS
134482012-11-22 Andreas Schwab <schwab@suse.de>
13449
13450 * sysdeps/i386/fpu/libm-test-ulps: Update.
13451
94558d30
PT
134522012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13453
13454 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13455 printf output with newline.
13456
7e1be741
L
134572012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13458
6bfea974
L
13459 [BZ #14865]
13460 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13461 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13462 -z nodlopen, -z initfirst and -z execstack support.
13463 * configure: Regenerated.
13464
7e1be741
L
13465 * elf/elf.h (DF_1_NODIRECT): New macro.
13466 (DF_1_IGNMULDEF): Likewise.
13467 (DF_1_NOKSYMS): Likewise.
13468 (DF_1_NOHDR): Likewise.
13469 (DF_1_EDITED): Likewise.
13470 (DF_1_NORELOC): Likewise.
13471 (DF_1_SYMINTPOSE): Likewise.
13472 (DF_1_GLOBAUDIT): Likewise.
13473 (DF_1_SINGLETON): Likewise.
13474 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13475 DT_1_SUPPORTED_MASK bits.
13476 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13477
105ce2ce
CD
134782012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13479
13480 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13481
123be9de
TS
134822012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13483
d072f3f7
TS
13484 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13485 macro.
13486
123be9de
TS
13487 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13488 (sendmmsg): Move declarations...
13489 * socket/sys/socket.h: ... here.
13490 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13491 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13492 include it from...
13493 * socket/recvmmsg.c: ... this new file.
13494 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13495 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13496 definition of __sendmmsg hidden.
13497 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13498 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13499 Move ENOSYS stub into and include it from...
13500 * socket/sendmmsg.c: ... this new file.
13501 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13502 (sysdep_routines): Move recvmmsg and sendmmsg...
13503 * socket/Makefile (routines): ... here.
13504 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13505 (GLIBC_PRIVATE): Add __sendmmsg.
13506 * include/sys/socket.h (__sendmmsg): Add declarations.
13507 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13508 sendmmsg.
13509
cf9a5d18
JM
135102012-11-20 Joseph Myers <joseph@codesourcery.com>
13511
13512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13513 variable I1 with __attribute__ ((unused)).
13514 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13515
ecd4caf9
JM
135162012-11-19 Joseph Myers <joseph@codesourcery.com>
13517
be14d48f
JM
13518 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13519 DUMMY variables with __attribute__ ((unused)).
13520
ecd4caf9
JM
13521 * bits/byteswap.h: Include <bits/types.h>.
13522 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13523
986cab95
PT
135242012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13525
13526 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13527 string_t. Do not manually set errno.
13528 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13529 length with __strnlen. Make sure to both set errno and return it on
13530 failure.
13531
6d33cc9d
DM
135322012-11-19 David S. Miller <davem@davemloft.net>
13533
13534 With help from Joseph Myers.
13535 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13536 very large arguments properly.
13537 * math/libm-test.inc (atan_test): New tests.
13538 (atan2_test): New tests.
13539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13541
ee663277
JM
135422012-11-19 Joseph Myers <joseph@codesourcery.com>
13543
877f2d8e
JM
13544 [BZ #14856]
13545 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13546 Define to 3.
13547
116fc08a
JM
13548 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13549 [POSIX] (EADDRNOTAVAIL): Likewise.
13550 [POSIX] (EAFNOSUPPORT): Likewise.
13551 [POSIX] (EALREADY): Likewise.
13552 [POSIX] (ECONNABORTED): Likewise.
13553 [POSIX] (ECONNREFUSED): Likewise.
13554 [POSIX] (ECONNRESET): Likewise.
13555 [POSIX] (EDESTADDRREQ): Likewise.
13556 [POSIX] (EDQUOT): Likewise.
13557 [POSIX] (EHOSTUNREACH): Likewise.
13558 [POSIX] (EIDRM): Likewise.
13559 [POSIX] (EISCONN): Likewise.
13560 [POSIX] (ELOOP): Likewise.
13561 [POSIX] (EMULTIHOP): Likewise.
13562 [POSIX] (ENETDOWN): Likewise.
13563 [POSIX] (ENETUNREACH): Likewise.
13564 [POSIX] (ENOBUFS): Likewise.
13565 [POSIX] (ENODATA): Likewise.
13566 [POSIX] (ENOLINK): Likewise.
13567 [POSIX] (ENOMSG): Likewise.
13568 [POSIX] (ENOPROTOOPT): Likewise.
13569 [POSIX] (ENOSR): Likewise.
13570 [POSIX] (ENOSTR): Likewise.
13571 [POSIX] (ENOTCONN): Likewise.
13572 [POSIX] (ENOTSOCK): Likewise.
13573 [POSIX] (EOPNOTSUPP): Likewise.
13574 [POSIX] (EOVERFLOW): Likewise.
13575 [POSIX] (EPROTO): Likewise.
13576 [POSIX] (EPROTONOSUPPORT): Likewise.
13577 [POSIX] (EPROTOTYPE): Likewise.
13578 [POSIX] (ESTALE): Likewise.
13579 [POSIX] (ETIME): Likewise.
13580 [POSIX] (ETXTBSY): Likewise.
13581 [POSIX] (EWOULDBLOCK): Likewise.
13582 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13583 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13584 [POSIX] (SEEK_CUR): Likewise.
13585 [POSIX] (SEEK_END): Likewise.
13586 [POSIX || UNIX98] (mode_t): Do not require.
13587 [POSIX] (off_t): Likewise.
13588 [POSIX] (pid_t): Likewise.
13589 [POSIX] (sys/stat.h): Do not allow header.
13590 [POSIX] (unistd.h): Likewise.
13591 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13592 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13593 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13594 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13595 require.
13596 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13597 sigevent): Specify elements.
13598 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13599 entry.
13600 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13601 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13602
a483863f
JM
13603 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13604 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13605 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13606 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13607 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13608 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13609 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13610 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13611 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13612 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13613 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13614 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13615 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13616 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13617 Likewise.
13618 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13619 Likewise.
13620 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13621 Likewise.
13622 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13623 Likewise.
13624 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13625 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13626 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13627 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13628 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13629 Specify lower bound on value.
13630 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13631 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13632 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13633 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13634 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13635 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13636 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13637 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13638 value.
13639 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13640 as optional.
13641 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13642 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13643 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13644 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13645 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13646 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13647 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13648 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13649 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13650 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13651 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13652 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13653 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13654 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13655 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13656 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13657 entry.
13658 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13659 optional.
13660 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13661 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13662 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13663 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13664 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13665 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13666 Likewise.
13667 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13668 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13669 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13670 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13671 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13672 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13673 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13674 as optional.
13675 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13676 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13677 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13678 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13679 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13680 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13681 specify as optional.
13682 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13683 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13684 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13685 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13686 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13687 [XPG3] (NL_LANGMAX): Likewise.
13688 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13689 [POSIX || XPG3] (NL_NMAX): Likewise.
13690 [POSIX || XPG3] (NL_SETMAX): Likewise.
13691 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13692 [XPG3] (NZERO): Likewise.
13693 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13694 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13695 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13696 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13697 (REG_ERANGE): Expect.
13698 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13699 optional-constant.
13700 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13701 Use (void) in prototype.
13702 [POSIX] (*_t): Allow.
13703 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13704 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13705 (WRDE_BADVAL): Expect.
13706
5ba924e3
JM
13707 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13708 expect.
13709 [XPG3 || XPG4] (O_RSYNC): Likewise.
13710 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13711 Likewise.
13712 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13713 [XPG3 || XPG4] (sigqueue): Likewise.
13714 [XPG3 || XPG4] (sigtimedwait): Likewise.
13715 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13716 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13717 [XPG3 || XPG4] (vsnprintf): Likewise.
13718 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13719 Likewise.
13720 [XPG3 || XPG4] (blksize_t): Likewise.
13721 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13722 Likewise.
13723 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13724 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13725 [XPG3 || XPG4] (struct itimerspec): Likewise.
13726 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13727 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13728 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13729 [XPG3 || XPG4] (clockid_t): Likewise.
13730 [XPG3 || XPG4] (timer_t): Likewise.
13731 [XPG3 || XPG4] (clock_getres): Likewise.
13732 [XPG3 || XPG4] (clock_gettime): Likewise.
13733 [XPG3 || XPG4] (clock_settime): Likewise.
13734 [XPG3 || XPG4] (nanosleep): Likewise.
13735 [XPG3 || XPG4] (timer_create): Likewise.
13736 [XPG3 || XPG4] (timer_delete): Likewise.
13737 [XPG3 || XPG4] (timer_gettime): Likewise.
13738 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13739 [XPG3 || XPG4] (timer_settime): Likewise.
13740 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13741 [XPG3 || XPG4] (getlogin_r): Likewise.
13742 [XPG3 || XPG4] (pread): Likewise.
13743 [XPG3 || XPG4] (pthread_atfork): Likewise.
13744 [XPG3 || XPG4] (pwrite): Likewise.
13745
ee663277
JM
13746 [BZ #14835]
13747 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13748 <bits/siginfo.h>.
13749
942caa16
PT
137502012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13751
e19af380
PT
13752 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13753 finalizing MALLSTREAM.
13754
942caa16
PT
13755 * sysdeps/mach/hurd/syncfs.c: New file.
13756
cfde9b46
SP
137572012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13758
13759 [BZ #14719]
13760 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13761 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13762 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13763 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13764 (_nss_dns_gethostbyname4_r): Likewise.
13765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13766 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13767
f6da27e5
PH
137682012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13769
13770 [BZ #13763]
13771 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13772
6665d4a2
SM
137732012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13774
1f51ee92
SM
13775 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13776 * elf/cache.c (print_entry): Print ",AArch64" for
13777 FLAG_AARCH64_LIB64
13778
6665d4a2
SM
13779 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13780 * elf/cache.c (print_entry): Print ",hard-float" for
13781 FLAG_ARM_LIBHF.
13782
05b227bd
DM
137832012-11-18 David S. Miller <davem@davemloft.net>
13784
13785 With help from Joseph Myers.
13786 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13787 cutoff to 2**-13.
13788 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13789 cutoff to 2**-25.
13790 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13791 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13792 small.
13793 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13794 * math/libm-test.inc (y0_test): New tests.
13795 (y1_test): New tests.
13796 * sysdeps/i386/fpu/libm-test-ulps: Update.
13797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13799
786b0b67
AS
138002012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13801
13802 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13803 64-bit targets.
13804 * configure: Regenerated.
13805
8e18b86d
DM
138062012-11-17 David S. Miller <davem@davemloft.net>
13807
13808 [BZ #14811]
13809 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13810 nonzero exponents with absolute value below 0x1p-128 to +/-
13811 0x1p-128.
13812
531f1ae0
JM
138132012-11-17 Joseph Myers <joseph@codesourcery.com>
13814
12df29e2
JM
13815 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13816
150dc1a0
JM
13817 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13818
531f1ae0
JM
13819 * posix/getconf-speclist.c: New file.
13820 * posix/posix-envs.def: Likewise.
13821 * posix/confstr.c (START_ENV_GROUP): New macro.
13822 (END_ENV_GROUP): Likewise.
13823 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13824 (KNOWN_PRESENT_ENV_STRING): Likewise.
13825 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13826 (UNKNOWN_ENVIRONMENT): Likewise.
13827 (confstr): Include posix-envs.def instead of handling
13828 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13829 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13830 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13831 (END_ENV_GROUP): Likewise.
13832 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13833 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13834 (UNKNOWN_ENVIRONMENT): Likewise.
13835 (__sysconf): Include posix-envs.def instead of handling associated
13836 cases directly here.
13837 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13838 preprocessing getconf-speclist.c rather than running getconf or
13839 generating empty file.
13840
a93f9cbc
PT
138412012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13842
13843 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13844
d64d9f87
AL
138452012-11-16 Andrej Lajovic <natrij@gmail.com>
13846
13847 [BZ #14672]
13848 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13849
447885eb
DM
138502012-11-16 David S. Miller <davem@davemloft.net>
13851
13852 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13853 smaller than LDBL_EPSILON/2.0L, just return xm1.
13854
bcbf9830
L
138552012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13856
13857 * elf/tst-array1.c (init): Set constructor priority to 1000.
13858 (fini): Set destructor priority to 1000.
13859 * elf/tst-array2dep.c: Likewise.
13860
2b766585
SP
138612012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13862
13863 [BZ #11741]
13864 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13865 (_IO_new_file_xsputn): Also return EOF if none of the input
13866 data was written when overflow failed.
13867 * libio/iopadn.c (_IO_padn): Likewise.
13868 * libio/iowpadn.c (_IO_wpadn): Likewise.
13869 * stdio-common/tst-put-error.c: Add copyright notice.
13870 (do_test): Add case for printing padded string.
13871 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13872 _IO_padn returned error.
13873 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13874 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13875 return EOF.
13876
b1848fde
SP
138772012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13878
13879 * libio/libioP.h: Add comment note that the references to C++
13880 bits are now obsolete.
13881
2fd89785
MS
138822012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13883
13884 * math/libm-test.inc (check_complex): Use asprintf.
13885
e3ea5409
JM
138862012-11-14 Joseph Myers <joseph@codesourcery.com>
13887
13888 * debug/pcprofiledump.c (print_version): Update copyright year.
13889 * malloc/memusagestat.c (print_version): Likewise.
13890
2e64d265
L
138912012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13892
13893 [BZ #14831]
13894 * elf/Makefile (tests): Add tst-audit8.
13895 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13896 ($(objpfx)tst-audit8.out): New target.
13897 (tst-audit8-ENV): New variable.
13898 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13899 audit if l_reloc_result is NULL.
13900 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13901 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13902 * elf/tst-audit8.c: New file.
13903
c485e4d2
MS
139042012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13905
13906 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13907 * misc/Makefile (CFLAGS-select.c): Define.
13908 * posix/Makefile (CFLAGS-pause.c): Define.
13909
3a0d900a
DM
139102012-11-13 David S. Miller <davem@davemloft.net>
13911
13912 * crypt/Makefile: Move test targets after toplevel Rules
13913 inclusion. Grab any necessary sysdep routines when linking.
13914 * crypt/md5.c (md5_process_block): Remove define, we will always
13915 name it __md5_process_block.
13916 (md5_finish_ctx): Update md5_process_block call.
13917 (md5_stream): Likewise.
13918 (md5_process_bytes): Likewise.
13919 (md5_process_block): Rename to __md5_process_block and move to ...
13920 * crypt/md5-block.c: ... here.
13921 * crypt/sha256.c (sha256_process_block): Move to ...
13922 * crypt/sha256-block.c: ... here.
13923 * crypt/sha512.c (sha512_process_block): Move to ...
13924 * crypt/sha512-block.c: ... here.
13925 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13926 path.
13927 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13928 * sysdeps/sparc/sparc64/multiarch/Makefile
13929 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13930 crypt subdir.
13931 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13932 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13933 multiarch changes.
13934 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13935 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13936 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13937 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13938 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13939 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13940 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13941 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13942 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13943 file.
13944 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13945 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13946 file.
13947 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13948
8ca89318
JM
139492012-11-13 Joseph Myers <joseph@codesourcery.com>
13950
e27d476a
JM
13951 * timezone/tzselect.ksh: Update from tzcode git revision
13952 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13953 * timezone/zdump.c: Likewise.
13954 * timezone/zic.c: Likewise.
13955 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13956 in TZVERSION setting, not $(PKGVERSION).
13957 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13958 REPORT_BUGS_TO settings.
13959
8ca89318
JM
13960 [BZ #14838]
13961 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13962 macro.
13963
47594329
MS
139642012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13965
13966 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13967 detection to immediately after _FP_ROUND().
13968 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13969 bits are 0.
13970
640ac3f1
DM
139712012-11-11 David S. Miller <davem@davemloft.net>
13972
13973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13974 inttypes.h
13975 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13976 __close rather than their public counterparts.
13977
3d2577bb
JM
139782012-11-10 Joseph Myers <joseph@codesourcery.com>
13979
13980 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13981 file.
13982 [UNIX98] (sem_timedwait): Do not expect.
13983 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13984 [XPG4 || UNIX98] (sockatmark): Do not expect.
13985 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13986 (clock_getcpuclockid): Do not expect.
13987 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13988 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13989 Do not expect.
13990 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13991 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13992 [UNIX98] (vwscanf): Likewise.
13993 [UNIX98] (vswscanf): Likewise.
13994
fb1ae1ee
JM
139952012-11-09 Joseph Myers <joseph@codesourcery.com>
13996
9ec6f8bd
JM
13997 * timezone/version.h: Remove file.
13998 * timezone/README: Do not refer to version.h.
13999 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14000 $(objpfx)version.h.
14001 ($(objpfx)zdump.o): Likewise.
c3f81911 14002 ($(objpfx)version.h): New target.
9ec6f8bd 14003
0aa8f8a1
JM
14004 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14005 2012i.
14006 * timezone/README: Don't mention modification to tzselect.ksh.
14007 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14008 work on unmodified tzselect.ksh. Substitute version numbers in
14009 tzselect.ksh.
14010
4e87147f
JM
14011 * Makefile (format-me): Remove.
14012 (INSTALL): Adjust indentation. Use commands directly instead of
14013 using $(format-me).
14014
8b748aed
JM
14015 * aclocal.m4 (ACX_PKGVERSION): New macro.
14016 (ACX_BUGURL): Likewise.
14017 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14018 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14019 (REPORT_BUGS_TO): Likewise.
14020 * configure: Regenerated.
14021 * config.h.in (PKGVERSION): New macro.
14022 (REPORT_BUGS_TO): Likewise.
14023 * config.make.in (PKGVERSION): New variable.
14024 (PKGVERSION_TEXI): Likewise.
14025 (REPORT_BUGS_TO): Likewise.
14026 (REPORT_BUGS_TEXI): Likewise.
14027 * Makefile (format-me): Use -I$(common-objpfx)manual.
14028 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14029 ($(common-objpfx)manual/%): New target.
14030 (manual/%): Remove target.
14031 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14032 (print_version): Use PKGVERSION.
14033 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14034 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14035 and REPORT_BUGS_TO.
14036 ($(objpfx)xtrace): Likewise.
14037 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14038 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14039 (print_version): Use PKGVERSION.
14040 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14041 (do_version): Use PKGVERSION.
14042 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14043 REPORT_BUGS_TO.
14044 (common-ldd-rewrite): Likewise.
14045 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14046 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14047 (print_version): Use PKGVERSION.
14048 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14049 * elf/pldd.c (argp_program_bug_address): Remove variable.
14050 (more_help): New function.
14051 (argp): Use more_help.
14052 (print_version): Use PKGVERSION.
14053 * elf/sln.c (main): Use PKGVERSION.
14054 (usage): Use REPORT_BUGS_TO.
14055 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14056 (top level): Use PKGVERSION.
14057 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14058 (print_version): Use PKGVERSION.
14059 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14060 (print_version): Use PKGVERSION.
14061 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14062 (print_version): Use PKGVERSION.
14063 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14064 (print_version): Use PKGVERSION.
14065 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14066 (print_version): Use PKGVERSION.
14067 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14068 (print_version): Use PKGVERSION.
14069 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14070 and BUGURL.
14071 ($(objpfx)memusage): Likewise.
14072 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14073 (do_version): Use PKGVERSION.
14074 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14075 (print_version): Use PKGVERSION.
14076 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14077 ($PKGVERSION): New variable.
14078 ($REPORT_BUGS_TO): Likewise.
14079 (usage): Use $REPORT_BUGS_TO.
14080 (top level): Use $PKGVERSION.
14081 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14082 ($(objpfx)pkgvers.texi): New rule.
14083 ($(objpfx)stamp-pkgvers): Likewise.
14084 * manual/install.texi: Include pkgvers.texi.
14085 (--with-pkgversion): Document new configure option.
14086 (--with-bugurl): Likewise.
14087 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14088 than necessarily for this particular distribution. Use
14089 REPORT_BUGS_TO for where to report bugs.
14090 * INSTALL: Regenerated.
14091 * manual/libc.texinfo: Include pkgvers.texi.
14092 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14093 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14094 (print_version): Use PKGVERSION.
14095 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14096 (print_version): Use PKGVERSION.
14097 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14098 (print_version): Use PKGVERSION.
14099 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14100 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14101 macro.
14102 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14103 (print_version): Use PKGVERSION.
14104 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14105 (print_version): Use PKGVERSION.
14106 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14107 and PKGVERSION.
14108
92e4b6a9
JM
14109 * timezone/checktab.awk: Update from tzcode 2012i.
14110 * timezone/ialloc.c: Likewise.
14111 * timezone/private.h: Likewise.
14112 * timezone/scheck.c: Likewise.
14113 * timezone/tzfile.h: Likewise.
14114 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14115 (TZVERSION): Hardcode tzcode version number.
14116 * timezone/zdump.c: Update from tzcode 2012i.
14117 * timezone/zic.c: Likewise.
14118 * timezone/version.h: New file.
14119 * timezone/README: Describe version.h. Update upstream location.
14120
9bde902c
JM
14121 [BZ #14824]
14122 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14123 (mktemp): Enable declaration.
14124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14127 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14128 Likewise.
14129 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14130 Likewise.
14131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14132 Likewise.
14133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14134 Likewise.
14135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14136 Likewise.
14137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14138 Likewise.
14139
fb1ae1ee
JM
14140 [BZ #14821]
14141 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14142 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14143 for copies of such integer values.
14144 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14145 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14146
2c1adbcb
AJ
141472012-11-09 Andreas Jaeger <aj@suse.de>
14148
14149 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14150 definitions and declarations that are provided by
14151 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14152
d0f8457e
AK
141532012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14154
3a235abb 14155 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14156 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14157 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14158 definition.
14159
57241e26
MS
141602012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14161
14162 * elf/elf.h: Update comment before AArch64 relocations.
14163
60e8270d
DM
141642012-11-07 David S. Miller <davem@davemloft.net>
14165
14166 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14167 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14168 (__start_context): Declare.
14169 (__makecontext_ret): Delete.
14170 (__makecontext): Hook up __start_context instead of
14171 __makecontext_ret.
14172 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14173 (sysdep_routines): Add __start_context when in stdlib.
14174
0fbb0fbc
JM
141752012-11-07 Joseph Myers <joseph@codesourcery.com>
14176
14177 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14178 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14179 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14180 hardcoded "nm".
14181 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14182 (READELF): New variable. Use it instead of hardcoded "readelf".
14183
eb48db7e
L
141842012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14185
14186 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14187 * sysdeps/x86/Makefile: Here.
14188 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14189 * sysdeps/x86/tst-xmmymm.sh: This.
14190
05bcf62a
JM
141912012-11-07 Joseph Myers <joseph@codesourcery.com>
14192
c4b6cf53
JM
14193 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14194 expectations.
14195 [UNIX98] (pthread_barrier_t): Do not expect.
14196 [UNIX98] (pthread_barrierattr_t): Likewise.
14197 [UNIX98] (pthread_spinlock_t): Likewise.
14198 [UNIX98] (pthread_barrier_destroy): Likewise.
14199 [UNIX98] (pthread_barrier_init): Likewise.
14200 [UNIX98] (pthread_barrier_wait): Likewise.
14201 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14202 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14203 [UNIX98] (pthread_barrierattr_init): Likewise.
14204 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14205 [UNIX98] (pthread_getcpuclockid): Likewise.
14206 [UNIX98] (pthread_mutex_timedlock): Likewise.
14207 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14208 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14209 [UNIX98] (pthread_sigmask): Likewise.
14210 [UNIX98] (pthread_spin_destroy): Likewise.
14211 [UNIX98] (pthread_spin_init): Likewise.
14212 [UNIX98] (pthread_spin_lock): Likewise.
14213 [UNIX98] (pthread_spin_trylock): Likewise.
14214 [UNIX98] (pthread_spin_unlock): Likewise.
14215 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14216 Do not expect.
14217 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14218 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14219 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14220 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14221 [XPG3 || XPG4] (pthread_key_t): Likewise.
14222 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14223 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14224 [XPG3 || XPG4] (pthread_once_t): Likewise.
14225 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14226 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14227 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14228 [XPG3 || XPG4] (pthread_t): Likewise.
14229
cbe6e120
JM
14230 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14231 not expect.
14232 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14233
1b126443
JM
14234 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14235 Change function return type to int.
14236
b961a573
JM
14237 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14238 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14239 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14240 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14241 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14242 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14243 [!POSIX] (posix_madvise): Likewise.
14244 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14245 && !UNIX98].
14246 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14247 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14248 (mode_t): Likewise.
14249 (posix_mem_offset): Likewise.
14250 (posix_typed_mem_get_info): Likewise.
14251 (posix_typed_mem_open): Likewise.
14252
9e188909
JM
14253 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14254 Change condition to [XOPEN2K8].
14255
05bcf62a
JM
14256 * conform/conformtest.pl: Preprocess allow-header data with -x c
14257 instead of from stdin.
14258 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14259 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14260 [C99-based standards] (cerfc): Likewise.
14261 [C99-based standards] (cexp2): Likewise.
14262 [C99-based standards] (cexpm1): Likewise.
14263 [C99-based standards] (clog10): Likewise.
14264 [C99-based standards] (clog1p): Likewise.
14265 [C99-based standards] (clog2): Likewise.
14266 [C99-based standards] (clgamma): Likewise.
14267 [C99-based standards] (ctgamma): Likewise.
14268 [C99-based standards] (cerff): Likewise.
14269 [C99-based standards] (cerfcf): Likewise.
14270 [C99-based standards] (cexp2f): Likewise.
14271 [C99-based standards] (cexpm1f): Likewise.
14272 [C99-based standards] (clog10f): Likewise.
14273 [C99-based standards] (clog1pf): Likewise.
14274 [C99-based standards] (clog2f): Likewise.
14275 [C99-based standards] (clgammaf): Likewise.
14276 [C99-based standards] (ctgammaf): Likewise.
14277 [C99-based standards] (cerfl): Likewise.
14278 [C99-based standards] (cerfcl): Likewise.
14279 [C99-based standards] (cexp2l): Likewise.
14280 [C99-based standards] (cexpm1l): Likewise.
14281 [C99-based standards] (clog10l): Likewise.
14282 [C99-based standards] (clog1pl): Likewise.
14283 [C99-based standards] (clog2l): Likewise.
14284 [C99-based standards] (clgammal): Likewise.
14285 [C99-based standards] (ctgammal): Likewise.
14286 * conform/data/inttypes.h-data [C99-based standards]: Include
14287 stdint.h-data. Remove all expectations for stdint.h contents.
14288 [C99-based standards] (PRI*): Do not allow.
14289 [C99-based standards] (SCN*): Likewise.
14290 [C99-based standards] (*_t): Likewise.
14291 [C99-based-standards] (PRId8): Expect macro.
14292 [C99-based-standards] (PRIi8): Likewise.
14293 [C99-based-standards] (PRIo8): Likewise.
14294 [C99-based-standards] (PRIu8): Likewise.
14295 [C99-based-standards] (PRIx8): Likewise.
14296 [C99-based-standards] (PRIX8): Likewise.
14297 [C99-based-standards] (SCNd8): Likewise.
14298 [C99-based-standards] (SCNi8): Likewise.
14299 [C99-based-standards] (SCNo8): Likewise.
14300 [C99-based-standards] (SCNu8): Likewise.
14301 [C99-based-standards] (SCNx8): Likewise.
14302 [C99-based-standards] (PRIdLEAST8): Likewise.
14303 [C99-based-standards] (PRIiLEAST8): Likewise.
14304 [C99-based-standards] (PRIoLEAST8): Likewise.
14305 [C99-based-standards] (PRIuLEAST8): Likewise.
14306 [C99-based-standards] (PRIxLEAST8): Likewise.
14307 [C99-based-standards] (PRIXLEAST8): Likewise.
14308 [C99-based-standards] (SCNdLEAST8): Likewise.
14309 [C99-based-standards] (SCNiLEAST8): Likewise.
14310 [C99-based-standards] (SCNoLEAST8): Likewise.
14311 [C99-based-standards] (SCNuLEAST8): Likewise.
14312 [C99-based-standards] (SCNxLEAST8): Likewise.
14313 [C99-based-standards] (PRIdFAST8): Likewise.
14314 [C99-based-standards] (PRIiFAST8): Likewise.
14315 [C99-based-standards] (PRIoFAST8): Likewise.
14316 [C99-based-standards] (PRIuFAST8): Likewise.
14317 [C99-based-standards] (PRIxFAST8): Likewise.
14318 [C99-based-standards] (PRIXFAST8): Likewise.
14319 [C99-based-standards] (SCNdFAST8): Likewise.
14320 [C99-based-standards] (SCNiFAST8): Likewise.
14321 [C99-based-standards] (SCNoFAST8): Likewise.
14322 [C99-based-standards] (SCNuFAST8): Likewise.
14323 [C99-based-standards] (SCNxFAST8): Likewise.
14324 [C99-based-standards] (PRId16): Likewise.
14325 [C99-based-standards] (PRIi16): Likewise.
14326 [C99-based-standards] (PRIo16): Likewise.
14327 [C99-based-standards] (PRIu16): Likewise.
14328 [C99-based-standards] (PRIx16): Likewise.
14329 [C99-based-standards] (PRIX16): Likewise.
14330 [C99-based-standards] (SCNd16): Likewise.
14331 [C99-based-standards] (SCNi16): Likewise.
14332 [C99-based-standards] (SCNo16): Likewise.
14333 [C99-based-standards] (SCNu16): Likewise.
14334 [C99-based-standards] (SCNx16): Likewise.
14335 [C99-based-standards] (PRIdLEAST16): Likewise.
14336 [C99-based-standards] (PRIiLEAST16): Likewise.
14337 [C99-based-standards] (PRIoLEAST16): Likewise.
14338 [C99-based-standards] (PRIuLEAST16): Likewise.
14339 [C99-based-standards] (PRIxLEAST16): Likewise.
14340 [C99-based-standards] (PRIXLEAST16): Likewise.
14341 [C99-based-standards] (SCNdLEAST16): Likewise.
14342 [C99-based-standards] (SCNiLEAST16): Likewise.
14343 [C99-based-standards] (SCNoLEAST16): Likewise.
14344 [C99-based-standards] (SCNuLEAST16): Likewise.
14345 [C99-based-standards] (SCNxLEAST16): Likewise.
14346 [C99-based-standards] (PRIdFAST16): Likewise.
14347 [C99-based-standards] (PRIiFAST16): Likewise.
14348 [C99-based-standards] (PRIoFAST16): Likewise.
14349 [C99-based-standards] (PRIuFAST16): Likewise.
14350 [C99-based-standards] (PRIxFAST16): Likewise.
14351 [C99-based-standards] (PRIXFAST16): Likewise.
14352 [C99-based-standards] (SCNdFAST16): Likewise.
14353 [C99-based-standards] (SCNiFAST16): Likewise.
14354 [C99-based-standards] (SCNoFAST16): Likewise.
14355 [C99-based-standards] (SCNuFAST16): Likewise.
14356 [C99-based-standards] (SCNxFAST16): Likewise.
14357 [C99-based-standards] (PRId32): Likewise.
14358 [C99-based-standards] (PRIi32): Likewise.
14359 [C99-based-standards] (PRIo32): Likewise.
14360 [C99-based-standards] (PRIu32): Likewise.
14361 [C99-based-standards] (PRIx32): Likewise.
14362 [C99-based-standards] (PRIX32): Likewise.
14363 [C99-based-standards] (SCNd32): Likewise.
14364 [C99-based-standards] (SCNi32): Likewise.
14365 [C99-based-standards] (SCNo32): Likewise.
14366 [C99-based-standards] (SCNu32): Likewise.
14367 [C99-based-standards] (SCNx32): Likewise.
14368 [C99-based-standards] (PRIdLEAST32): Likewise.
14369 [C99-based-standards] (PRIiLEAST32): Likewise.
14370 [C99-based-standards] (PRIoLEAST32): Likewise.
14371 [C99-based-standards] (PRIuLEAST32): Likewise.
14372 [C99-based-standards] (PRIxLEAST32): Likewise.
14373 [C99-based-standards] (PRIXLEAST32): Likewise.
14374 [C99-based-standards] (SCNdLEAST32): Likewise.
14375 [C99-based-standards] (SCNiLEAST32): Likewise.
14376 [C99-based-standards] (SCNoLEAST32): Likewise.
14377 [C99-based-standards] (SCNuLEAST32): Likewise.
14378 [C99-based-standards] (SCNxLEAST32): Likewise.
14379 [C99-based-standards] (PRIdFAST32): Likewise.
14380 [C99-based-standards] (PRIiFAST32): Likewise.
14381 [C99-based-standards] (PRIoFAST32): Likewise.
14382 [C99-based-standards] (PRIuFAST32): Likewise.
14383 [C99-based-standards] (PRIxFAST32): Likewise.
14384 [C99-based-standards] (PRIXFAST32): Likewise.
14385 [C99-based-standards] (SCNdFAST32): Likewise.
14386 [C99-based-standards] (SCNiFAST32): Likewise.
14387 [C99-based-standards] (SCNoFAST32): Likewise.
14388 [C99-based-standards] (SCNuFAST32): Likewise.
14389 [C99-based-standards] (SCNxFAST32): Likewise.
14390 [C99-based-standards] (PRId64): Likewise.
14391 [C99-based-standards] (PRIi64): Likewise.
14392 [C99-based-standards] (PRIo64): Likewise.
14393 [C99-based-standards] (PRIu64): Likewise.
14394 [C99-based-standards] (PRIx64): Likewise.
14395 [C99-based-standards] (PRIX64): Likewise.
14396 [C99-based-standards] (SCNd64): Likewise.
14397 [C99-based-standards] (SCNi64): Likewise.
14398 [C99-based-standards] (SCNo64): Likewise.
14399 [C99-based-standards] (SCNu64): Likewise.
14400 [C99-based-standards] (SCNx64): Likewise.
14401 [C99-based-standards] (PRIdLEAST64): Likewise.
14402 [C99-based-standards] (PRIiLEAST64): Likewise.
14403 [C99-based-standards] (PRIoLEAST64): Likewise.
14404 [C99-based-standards] (PRIuLEAST64): Likewise.
14405 [C99-based-standards] (PRIxLEAST64): Likewise.
14406 [C99-based-standards] (PRIXLEAST64): Likewise.
14407 [C99-based-standards] (SCNdLEAST64): Likewise.
14408 [C99-based-standards] (SCNiLEAST64): Likewise.
14409 [C99-based-standards] (SCNoLEAST64): Likewise.
14410 [C99-based-standards] (SCNuLEAST64): Likewise.
14411 [C99-based-standards] (SCNxLEAST64): Likewise.
14412 [C99-based-standards] (PRIdFAST64): Likewise.
14413 [C99-based-standards] (PRIiFAST64): Likewise.
14414 [C99-based-standards] (PRIoFAST64): Likewise.
14415 [C99-based-standards] (PRIuFAST64): Likewise.
14416 [C99-based-standards] (PRIxFAST64): Likewise.
14417 [C99-based-standards] (PRIXFAST64): Likewise.
14418 [C99-based-standards] (SCNdFAST64): Likewise.
14419 [C99-based-standards] (SCNiFAST64): Likewise.
14420 [C99-based-standards] (SCNoFAST64): Likewise.
14421 [C99-based-standards] (SCNuFAST64): Likewise.
14422 [C99-based-standards] (SCNxFAST64): Likewise.
14423 [C99-based-standards] (PRIdMAX): Likewise.
14424 [C99-based-standards] (PRIiMAX): Likewise.
14425 [C99-based-standards] (PRIoMAX): Likewise.
14426 [C99-based-standards] (PRIuMAX): Likewise.
14427 [C99-based-standards] (PRIxMAX): Likewise.
14428 [C99-based-standards] (PRIXMAX): Likewise.
14429 [C99-based-standards] (SCNdMAX): Likewise.
14430 [C99-based-standards] (SCNiMAX): Likewise.
14431 [C99-based-standards] (SCNoMAX): Likewise.
14432 [C99-based-standards] (SCNuMAX): Likewise.
14433 [C99-based-standards] (SCNxMAX): Likewise.
14434 [C99-based-standards] (PRIdPTR): Likewise.
14435 [C99-based-standards] (PRIiPTR): Likewise.
14436 [C99-based-standards] (PRIoPTR): Likewise.
14437 [C99-based-standards] (PRIuPTR): Likewise.
14438 [C99-based-standards] (PRIxPTR): Likewise.
14439 [C99-based-standards] (PRIXPTR): Likewise.
14440 [C99-based-standards] (SCNdPTR): Likewise.
14441 [C99-based-standards] (SCNiPTR): Likewise.
14442 [C99-based-standards] (SCNoPTR): Likewise.
14443 [C99-based-standards] (SCNuPTR): Likewise.
14444 [C99-based-standards] (SCNxPTR): Likewise.
14445 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14446 allow.
14447 * conform/data/stdint.h-data: Update comments to clarify
14448 requirements.
14449 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14450 type.
14451 [C99-based standards] (INT8_MAX): Likewise.
14452 [C99-based standards] (INT16_MIN): Likewise.
14453 [C99-based standards] (INT16_MAX): Likewise.
14454 [C99-based standards] (INT32_MIN): Likewise.
14455 [C99-based standards] (INT32_MAX): Likewise.
14456 [C99-based standards] (INT64_MIN): Likewise.
14457 [C99-based standards] (INT64_MAX): Likewise.
14458 [C99-based standards] (UINT8_MAX): Likewise.
14459 [C99-based standards] (UINT16_MAX): Likewise.
14460 [C99-based standards] (UINT32_MAX): Likewise.
14461 [C99-based standards] (UINT64_MAX): Likewise.
14462 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14463 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14464 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14465 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14466 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14467 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14468 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14469 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14470 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14471 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14472 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14473 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14474 [C99-based standards] (INT_FAST8_MIN): Likewise.
14475 [C99-based standards] (INT_FAST8_MAX): Likewise.
14476 [C99-based standards] (INT_FAST16_MIN): Likewise.
14477 [C99-based standards] (INT_FAST16_MAX): Likewise.
14478 [C99-based standards] (INT_FAST32_MIN): Likewise.
14479 [C99-based standards] (INT_FAST32_MAX): Likewise.
14480 [C99-based standards] (INT_FAST64_MIN): Likewise.
14481 [C99-based standards] (INT_FAST64_MAX): Likewise.
14482 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14483 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14484 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14485 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14486 [C99-based standards] (INTPTR_MIN): Likewise.
14487 [C99-based standards] (INTPTR_MAX): Likewise.
14488 [C99-based standards] (UINTPTR_MAX): Likewise.
14489 [C99-based standards] (INTMAX_MIN): Likewise.
14490 [C99-based standards] (INTMAX_MAX): Likewise.
14491 [C99-based standards] (UINTMAX_MAX): Likewise.
14492 [C99-based standards] (PTRDIFF_MIN): Likewise.
14493 [C99-based standards] (PTRDIFF_MAX): Likewise.
14494 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14495 [C99-based standards] (SIZE_MAX): Likewise.
14496 [C99-based standards] (WCHAR_MAX): Likewise.
14497 [C99-based standards] (WINT_MAX): Likewise.
14498 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14499 constraint on value.
14500 [C99-based standards] (WCHAR_MIN): Likewise.
14501 [C99-based standards] (WINT_MIN): Likewise.
14502 [C99-based standards] (*_t): Allow.
14503 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14504 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14505 Include math.h-data and complex.h-data. Remove all expectations
14506 of math.h and complex.h contents.
14507 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14508 at end of line.
14509 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14510 (struct tm): Expect tag.
14511 [C99-based-standards] (wcstof): Expect function.
14512 [C99-based-standards] (wcstold): Likewise.
14513 [C99-based-standards] (wcstoll): Likewise.
14514 [C99-based-standards] (wcstoull): Likewise.
14515 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14516 macro-int-constant. Specify type.
14517 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14518 constraint on value.
14519 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14520 Specify type.
14521 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14522 Specify value.
14523 [ISO C standards]: Do not allow headers.
14524 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14525 wcs[abcdefghijklmnopqrstuvwxyz]*.
14526 [ISO C standards] (*_t): Do not allow.
14527 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14528 Expect function.
14529 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14530 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14531 Specify type.
14532 [ISO C standards]: Do not allow headers.
14533 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14534 is[abcdefghijklmnopqrstuvwxyz]*.
14535 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14536 to[abcdefghijklmnopqrstuvwxyz]*.
14537 [ISO C standards] (*_t): Do not allow.
14538 * conform/data/stdalign.h-data: New file.
14539 * conform/data/stdbool.h-data: Likewise.
14540 * conform/data/stdnoreturn.h-data: Likewise.
14541
7514feb8
RM
145422012-11-07 Roland McGrath <roland@hack.frob.com>
14543
14544 [BZ #14815]
14545 * manual/filesys.texi (Directory Entries): Typo fix.
14546 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14547
19b2ecfc
MS
145482012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14549
14550 * elf/elf.h (EM_AARCH64): New macro.
14551 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14552 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14553 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14554 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14555 (R_AARCH64_TLSDESC): Likewise.
14556 (NT_ARM_TLS): Likewise.
14557 (NT_ARM_HW_BREAK): Likewise.
14558 (NT_ARM_HW_WATCH): Likewise.
14559
60e235ee
JM
145602012-11-07 Joseph Myers <joseph@codesourcery.com>
14561
14562 [BZ #14811]
14563 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14564 (__ieee754_powl): Saturate nonzero exponents with absolute value
14565 below 0x1p-79 to +/- 0x1p-79.
14566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14567 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14568 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14569 nonzero exponents with absolute value below 0x1p-32 to +/-
14570 0x1p-32.
14571 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14572 (__ieee754_powl): Saturate nonzero exponents with absolute value
14573 below 0x1p-79 to +/- 0x1p-79.
14574 * math/libm-test.inc (pow_test): Add more tests.
14575
0ab234b7
AK
145762012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14577
14578 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14579 _dl_s390_cap_flags with kernel. Increase string length.
14580 (_dl_s390_platforms): Add z196 and zEC12.
14581
45832f74
JM
145822012-11-07 Joseph Myers <joseph@codesourcery.com>
14583
14584 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14585 Change XOPEN21K to XOPEN2K.
14586
19218757
MK
145872012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14588
14589 * string/memmove.c: Use memcpy when possible.
14590
c5f45721
AJ
145912012-11-06 Andreas Jaeger <aj@suse.de>
14592
14593 * po/eo.po: Update from translation team.
14594
82477c28
JM
145952012-11-06 Joseph Myers <joseph@codesourcery.com>
14596
14597 [BZ #14793]
14598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14599 exponent and small x and y exponents, scale x or y up. Increase
14600 by 2 the exponent used in scaling up.
14601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14602 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14603 * math/libm-test.inc (fma_test): Add more tests.
14604 (fma_test_towardzero): Likewise.
14605 (fma_test_downward): Likewise.
14606 (fma_test_upward): Likewise.
14607
99252c8c
JM
146082012-11-05 Joseph Myers <joseph@codesourcery.com>
14609
acfa885f
JM
14610 [BZ #14805]
14611 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14612 fenv_t *.
14613
99252c8c
JM
14614 [BZ #14801]
14615 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14616 namespace for names of struct fields.
14617 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14618 fenv_t fields.
14619 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14620 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14621
d6d98dea
ST
146222012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14623
14624 [BZ #3665]
14625 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14626
e10bb107
TS
146272012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14628
14629 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14630 PTR_DEMANGLE.
14631
14632 [BZ #5246]
14633 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14634 PTR_DEMANGLE.
14635
a0c2940d
JM
146362012-11-04 Joseph Myers <joseph@codesourcery.com>
14637
14638 [BZ #14797]
14639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14640 definitely overflow as x * y not x * y + z.
14641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14642 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14643 * math/libm-test.inc (fma_test): Add more tests.
14644 (fma_test_towardzero): Likewise.
14645 (fma_test_downward): Likewise.
14646 (fma_test_upward): Likewise.
14647
b830319d
TS
146482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14649
14650 [BZ #157]
14651
14652 * include/stub-tag.h: Remove file.
14653 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14654 '#include' of it.
14655 * manual/maint.texi (Porting): Don't reference it.
14656 * Makerules ($(objpfx)stubs): Likewise.
14657 * dirent/closedir.c: Don't include <stub-tag.h>.
14658 * dirent/dirfd.c: Likewise.
14659 * dirent/fdopendir.c: Likewise.
14660 * dirent/getdents.c: Likewise.
14661 * dirent/getdents64.c: Likewise.
14662 * dirent/opendir.c: Likewise.
14663 * dirent/readdir.c: Likewise.
14664 * dirent/readdir64.c: Likewise.
14665 * dirent/readdir64_r.c: Likewise.
14666 * dirent/readdir_r.c: Likewise.
14667 * dirent/rewinddir.c: Likewise.
14668 * dirent/seekdir.c: Likewise.
14669 * dirent/telldir.c: Likewise.
14670 * gmon/profil.c: Likewise.
14671 * grp/setgroups.c: Likewise.
14672 * inet/if_index.c: Likewise.
14673 * io/access.c: Likewise.
14674 * io/chdir.c: Likewise.
14675 * io/chmod.c: Likewise.
14676 * io/chown.c: Likewise.
14677 * io/close.c: Likewise.
14678 * io/dup.c: Likewise.
14679 * io/dup2.c: Likewise.
14680 * io/dup3.c: Likewise.
14681 * io/euidaccess.c: Likewise.
14682 * io/faccessat.c: Likewise.
14683 * io/fchdir.c: Likewise.
14684 * io/fchmod.c: Likewise.
14685 * io/fchmodat.c: Likewise.
14686 * io/fchown.c: Likewise.
14687 * io/fchownat.c: Likewise.
14688 * io/fcntl.c: Likewise.
14689 * io/flock.c: Likewise.
14690 * io/fstatfs.c: Likewise.
14691 * io/fstatfs64.c: Likewise.
14692 * io/fstatvfs.c: Likewise.
14693 * io/fstatvfs64.c: Likewise.
14694 * io/futimens.c: Likewise.
14695 * io/fxstat.c: Likewise.
14696 * io/fxstat64.c: Likewise.
14697 * io/fxstatat.c: Likewise.
14698 * io/fxstatat64.c: Likewise.
14699 * io/getcwd.c: Likewise.
14700 * io/isatty.c: Likewise.
14701 * io/lchmod.c: Likewise.
14702 * io/lchown.c: Likewise.
14703 * io/link.c: Likewise.
14704 * io/linkat.c: Likewise.
14705 * io/lseek.c: Likewise.
14706 * io/lseek64.c: Likewise.
14707 * io/lxstat64.c: Likewise.
14708 * io/mkdir.c: Likewise.
14709 * io/mkdirat.c: Likewise.
14710 * io/mkfifo.c: Likewise.
14711 * io/mkfifoat.c: Likewise.
14712 * io/open.c: Likewise.
14713 * io/open64.c: Likewise.
14714 * io/openat.c: Likewise.
14715 * io/openat64.c: Likewise.
14716 * io/pipe.c: Likewise.
14717 * io/pipe2.c: Likewise.
14718 * io/poll.c: Likewise.
14719 * io/posix_fadvise.c: Likewise.
14720 * io/posix_fadvise64.c: Likewise.
14721 * io/posix_fallocate.c: Likewise.
14722 * io/posix_fallocate64.c: Likewise.
14723 * io/read.c: Likewise.
14724 * io/readlink.c: Likewise.
14725 * io/readlinkat.c: Likewise.
14726 * io/rmdir.c: Likewise.
14727 * io/sendfile.c: Likewise.
14728 * io/sendfile64.c: Likewise.
14729 * io/statfs.c: Likewise.
14730 * io/statfs64.c: Likewise.
14731 * io/statvfs.c: Likewise.
14732 * io/statvfs64.c: Likewise.
14733 * io/symlink.c: Likewise.
14734 * io/symlinkat.c: Likewise.
14735 * io/ttyname.c: Likewise.
14736 * io/ttyname_r.c: Likewise.
14737 * io/umask.c: Likewise.
14738 * io/unlink.c: Likewise.
14739 * io/unlinkat.c: Likewise.
14740 * io/utime.c: Likewise.
14741 * io/utimensat.c: Likewise.
14742 * io/write.c: Likewise.
14743 * io/xmknod.c: Likewise.
14744 * io/xmknodat.c: Likewise.
14745 * io/xstat.c: Likewise.
14746 * io/xstat64.c: Likewise.
14747 * login/getpt.c: Likewise.
14748 * login/grantpt.c: Likewise.
14749 * login/unlockpt.c: Likewise.
14750 * math/e_acoshl.c: Likewise.
14751 * math/e_acosl.c: Likewise.
14752 * math/e_asinl.c: Likewise.
14753 * math/e_atan2l.c: Likewise.
14754 * math/e_atanhl.c: Likewise.
14755 * math/e_coshl.c: Likewise.
14756 * math/e_expl.c: Likewise.
14757 * math/e_fmodl.c: Likewise.
14758 * math/e_gammal_r.c: Likewise.
14759 * math/e_hypotl.c: Likewise.
14760 * math/e_j0l.c: Likewise.
14761 * math/e_j1l.c: Likewise.
14762 * math/e_jnl.c: Likewise.
14763 * math/e_lgammal_r.c: Likewise.
14764 * math/e_log10l.c: Likewise.
14765 * math/e_log2l.c: Likewise.
14766 * math/e_logl.c: Likewise.
14767 * math/e_powl.c: Likewise.
14768 * math/e_rem_pio2l.c: Likewise.
14769 * math/e_sinhl.c: Likewise.
14770 * math/e_sqrtl.c: Likewise.
14771 * math/fclrexcpt.c: Likewise.
14772 * math/fedisblxcpt.c: Likewise.
14773 * math/feenablxcpt.c: Likewise.
14774 * math/fegetenv.c: Likewise.
14775 * math/fegetexcept.c: Likewise.
14776 * math/fegetround.c: Likewise.
14777 * math/feholdexcpt.c: Likewise.
14778 * math/fesetenv.c: Likewise.
14779 * math/fesetround.c: Likewise.
14780 * math/feupdateenv.c: Likewise.
14781 * math/fgetexcptflg.c: Likewise.
14782 * math/fraiseexcpt.c: Likewise.
14783 * math/fsetexcptflg.c: Likewise.
14784 * math/ftestexcept.c: Likewise.
14785 * math/k_cosl.c: Likewise.
14786 * math/k_rem_pio2l.c: Likewise.
14787 * math/k_sinl.c: Likewise.
14788 * math/k_tanl.c: Likewise.
14789 * math/s_asinhl.c: Likewise.
14790 * math/s_atanl.c: Likewise.
14791 * math/s_cbrtl.c: Likewise.
14792 * math/s_erfl.c: Likewise.
14793 * math/s_expm1l.c: Likewise.
14794 * math/s_log1pl.c: Likewise.
14795 * math/s_tanhl.c: Likewise.
14796 * misc/acct.c: Likewise.
14797 * misc/brk.c: Likewise.
14798 * misc/chflags.c: Likewise.
14799 * misc/chroot.c: Likewise.
14800 * misc/fchflags.c: Likewise.
14801 * misc/fgetxattr.c: Likewise.
14802 * misc/flistxattr.c: Likewise.
14803 * misc/fremovexattr.c: Likewise.
14804 * misc/fsetxattr.c: Likewise.
14805 * misc/fsync.c: Likewise.
14806 * misc/ftruncate.c: Likewise.
14807 * misc/futimes.c: Likewise.
14808 * misc/futimesat.c: Likewise.
14809 * misc/getdomain.c: Likewise.
14810 * misc/getdtsz.c: Likewise.
14811 * misc/gethostid.c: Likewise.
14812 * misc/gethostname.c: Likewise.
14813 * misc/getloadavg.c: Likewise.
14814 * misc/getpagesize.c: Likewise.
14815 * misc/getsysstats.c: Likewise.
14816 * misc/getxattr.c: Likewise.
14817 * misc/gtty.c: Likewise.
14818 * misc/ioctl.c: Likewise.
14819 * misc/lgetxattr.c: Likewise.
14820 * misc/listxattr.c: Likewise.
14821 * misc/llistxattr.c: Likewise.
14822 * misc/lremovexattr.c: Likewise.
14823 * misc/lsetxattr.c: Likewise.
14824 * misc/lutimes.c: Likewise.
14825 * misc/madvise.c: Likewise.
14826 * misc/mincore.c: Likewise.
14827 * misc/mlock.c: Likewise.
14828 * misc/mlockall.c: Likewise.
14829 * misc/mmap.c: Likewise.
14830 * misc/mprotect.c: Likewise.
14831 * misc/msync.c: Likewise.
14832 * misc/munlock.c: Likewise.
14833 * misc/munlockall.c: Likewise.
14834 * misc/munmap.c: Likewise.
14835 * misc/preadv.c: Likewise.
14836 * misc/preadv64.c: Likewise.
14837 * misc/ptrace.c: Likewise.
14838 * misc/pwritev.c: Likewise.
14839 * misc/pwritev64.c: Likewise.
14840 * misc/readv.c: Likewise.
14841 * misc/reboot.c: Likewise.
14842 * misc/remap_file_pages.c: Likewise.
14843 * misc/removexattr.c: Likewise.
14844 * misc/revoke.c: Likewise.
14845 * misc/select.c: Likewise.
14846 * misc/setdomain.c: Likewise.
14847 * misc/setegid.c: Likewise.
14848 * misc/seteuid.c: Likewise.
14849 * misc/sethostid.c: Likewise.
14850 * misc/sethostname.c: Likewise.
14851 * misc/setregid.c: Likewise.
14852 * misc/setreuid.c: Likewise.
14853 * misc/setxattr.c: Likewise.
14854 * misc/sstk.c: Likewise.
14855 * misc/stty.c: Likewise.
14856 * misc/swapoff.c: Likewise.
14857 * misc/swapon.c: Likewise.
14858 * misc/sync.c: Likewise.
14859 * misc/syncfs.c: Likewise.
14860 * misc/syscall.c: Likewise.
14861 * misc/truncate.c: Likewise.
14862 * misc/ualarm.c: Likewise.
14863 * misc/usleep.c: Likewise.
14864 * misc/ustat.c: Likewise.
14865 * misc/utimes.c: Likewise.
14866 * misc/vhangup.c: Likewise.
14867 * misc/writev.c: Likewise.
14868 * posix/_exit.c: Likewise.
14869 * posix/alarm.c: Likewise.
14870 * posix/execve.c: Likewise.
14871 * posix/fexecve.c: Likewise.
14872 * posix/fork.c: Likewise.
14873 * posix/fpathconf.c: Likewise.
14874 * posix/getaddrinfo.c: Likewise.
14875 * posix/getegid.c: Likewise.
14876 * posix/geteuid.c: Likewise.
14877 * posix/getgid.c: Likewise.
14878 * posix/getgroups.c: Likewise.
14879 * posix/getlogin.c: Likewise.
14880 * posix/getlogin_r.c: Likewise.
14881 * posix/getpgid.c: Likewise.
14882 * posix/getpid.c: Likewise.
14883 * posix/getppid.c: Likewise.
14884 * posix/getresgid.c: Likewise.
14885 * posix/getresuid.c: Likewise.
14886 * posix/getsid.c: Likewise.
14887 * posix/getuid.c: Likewise.
14888 * posix/glob64.c: Likewise.
14889 * posix/nanosleep.c: Likewise.
14890 * posix/pathconf.c: Likewise.
14891 * posix/pause.c: Likewise.
14892 * posix/posix_madvise.c: Likewise.
14893 * posix/pread.c: Likewise.
14894 * posix/pread64.c: Likewise.
14895 * posix/pwrite.c: Likewise.
14896 * posix/pwrite64.c: Likewise.
14897 * posix/sched_getaffinity.c: Likewise.
14898 * posix/sched_getp.c: Likewise.
14899 * posix/sched_gets.c: Likewise.
14900 * posix/sched_primax.c: Likewise.
14901 * posix/sched_primin.c: Likewise.
14902 * posix/sched_rr_gi.c: Likewise.
14903 * posix/sched_setaffinity.c: Likewise.
14904 * posix/sched_setp.c: Likewise.
14905 * posix/sched_sets.c: Likewise.
14906 * posix/sched_yield.c: Likewise.
14907 * posix/setgid.c: Likewise.
14908 * posix/setlogin.c: Likewise.
14909 * posix/setpgid.c: Likewise.
14910 * posix/setresgid.c: Likewise.
14911 * posix/setresuid.c: Likewise.
14912 * posix/setsid.c: Likewise.
14913 * posix/setuid.c: Likewise.
14914 * posix/sleep.c: Likewise.
14915 * posix/spawni.c: Likewise.
14916 * posix/sysconf.c: Likewise.
14917 * posix/times.c: Likewise.
14918 * posix/wait.c: Likewise.
14919 * posix/wait3.c: Likewise.
14920 * posix/wait4.c: Likewise.
14921 * posix/waitpid.c: Likewise.
14922 * resolv/gai_sigqueue.c: Likewise.
14923 * resource/getpriority.c: Likewise.
14924 * resource/getrlimit.c: Likewise.
14925 * resource/getrusage.c: Likewise.
14926 * resource/nice.c: Likewise.
14927 * resource/setpriority.c: Likewise.
14928 * resource/setrlimit.c: Likewise.
14929 * resource/ulimit.c: Likewise.
14930 * rt/aio_cancel.c: Likewise.
14931 * rt/aio_fsync.c: Likewise.
14932 * rt/aio_read.c: Likewise.
14933 * rt/aio_sigqueue.c: Likewise.
14934 * rt/aio_suspend.c: Likewise.
14935 * rt/aio_write.c: Likewise.
14936 * rt/clock_getres.c: Likewise.
14937 * rt/clock_gettime.c: Likewise.
14938 * rt/clock_nanosleep.c: Likewise.
14939 * rt/clock_settime.c: Likewise.
14940 * rt/lio_listio.c: Likewise.
14941 * rt/mq_close.c: Likewise.
14942 * rt/mq_getattr.c: Likewise.
14943 * rt/mq_notify.c: Likewise.
14944 * rt/mq_open.c: Likewise.
14945 * rt/mq_receive.c: Likewise.
14946 * rt/mq_send.c: Likewise.
14947 * rt/mq_setattr.c: Likewise.
14948 * rt/mq_timedreceive.c: Likewise.
14949 * rt/mq_timedsend.c: Likewise.
14950 * rt/mq_unlink.c: Likewise.
14951 * rt/shm_open.c: Likewise.
14952 * rt/shm_unlink.c: Likewise.
14953 * rt/timer_create.c: Likewise.
14954 * rt/timer_delete.c: Likewise.
14955 * rt/timer_getoverr.c: Likewise.
14956 * rt/timer_gettime.c: Likewise.
14957 * rt/timer_settime.c: Likewise.
14958 * setjmp/__longjmp.c: Likewise.
14959 * setjmp/setjmp.c: Likewise.
14960 * signal/kill.c: Likewise.
14961 * signal/killpg.c: Likewise.
14962 * signal/raise.c: Likewise.
14963 * signal/sigaction.c: Likewise.
14964 * signal/sigaltstack.c: Likewise.
14965 * signal/sigblock.c: Likewise.
14966 * signal/sigignore.c: Likewise.
14967 * signal/sigintr.c: Likewise.
14968 * signal/signal.c: Likewise.
14969 * signal/sigpause.c: Likewise.
14970 * signal/sigpending.c: Likewise.
14971 * signal/sigqueue.c: Likewise.
14972 * signal/sigreturn.c: Likewise.
14973 * signal/sigset.c: Likewise.
14974 * signal/sigsetmask.c: Likewise.
14975 * signal/sigstack.c: Likewise.
14976 * signal/sigsuspend.c: Likewise.
14977 * signal/sigtimedwait.c: Likewise.
14978 * signal/sigvec.c: Likewise.
14979 * signal/sigwait.c: Likewise.
14980 * signal/sigwaitinfo.c: Likewise.
14981 * signal/sysv_signal.c: Likewise.
14982 * socket/accept.c: Likewise.
14983 * socket/accept4.c: Likewise.
14984 * socket/bind.c: Likewise.
14985 * socket/connect.c: Likewise.
14986 * socket/getpeername.c: Likewise.
14987 * socket/getsockname.c: Likewise.
14988 * socket/getsockopt.c: Likewise.
14989 * socket/isfdtype.c: Likewise.
14990 * socket/listen.c: Likewise.
14991 * socket/recv.c: Likewise.
14992 * socket/recvfrom.c: Likewise.
14993 * socket/recvmsg.c: Likewise.
14994 * socket/send.c: Likewise.
14995 * socket/sendmsg.c: Likewise.
14996 * socket/sendto.c: Likewise.
14997 * socket/setsockopt.c: Likewise.
14998 * socket/shutdown.c: Likewise.
14999 * socket/sockatmark.c: Likewise.
15000 * socket/socket.c: Likewise.
15001 * socket/socketpair.c: Likewise.
15002 * stdio-common/ctermid.c: Likewise.
15003 * stdio-common/cuserid.c: Likewise.
15004 * stdio-common/remove.c: Likewise.
15005 * stdio-common/rename.c: Likewise.
15006 * stdio-common/renameat.c: Likewise.
15007 * stdio-common/tempname.c: Likewise.
15008 * stdlib/getcontext.c: Likewise.
15009 * stdlib/makecontext.c: Likewise.
15010 * stdlib/setcontext.c: Likewise.
15011 * stdlib/swapcontext.c: Likewise.
15012 * stdlib/system.c: Likewise.
15013 * streams/fattach.c: Likewise.
15014 * streams/fdetach.c: Likewise.
15015 * streams/getmsg.c: Likewise.
15016 * streams/getpmsg.c: Likewise.
15017 * streams/putmsg.c: Likewise.
15018 * streams/putpmsg.c: Likewise.
15019 * sysdeps/unix/bsd/getpt.c: Likewise.
15020 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15021 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15022 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15024 Likewise.
15025 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15026 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15027 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15028 * sysvipc/msgctl.c: Likewise.
15029 * sysvipc/msgget.c: Likewise.
15030 * sysvipc/msgrcv.c: Likewise.
15031 * sysvipc/msgsnd.c: Likewise.
15032 * sysvipc/semctl.c: Likewise.
15033 * sysvipc/semget.c: Likewise.
15034 * sysvipc/semop.c: Likewise.
15035 * sysvipc/semtimedop.c: Likewise.
15036 * sysvipc/shmat.c: Likewise.
15037 * sysvipc/shmctl.c: Likewise.
15038 * sysvipc/shmdt.c: Likewise.
15039 * sysvipc/shmget.c: Likewise.
15040 * termios/tcdrain.c: Likewise.
15041 * termios/tcflow.c: Likewise.
15042 * termios/tcflush.c: Likewise.
15043 * termios/tcgetattr.c: Likewise.
15044 * termios/tcgetpgrp.c: Likewise.
15045 * termios/tcsendbrk.c: Likewise.
15046 * termios/tcsetattr.c: Likewise.
15047 * termios/tcsetpgrp.c: Likewise.
15048 * time/adjtime.c: Likewise.
15049 * time/clock.c: Likewise.
15050 * time/getitimer.c: Likewise.
15051 * time/gettimeofday.c: Likewise.
15052 * time/setitimer.c: Likewise.
15053 * time/settimeofday.c: Likewise.
15054 * time/stime.c: Likewise.
15055 * time/time.c: Likewise.
15056
150572012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15058
a20492cf
PT
15059 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15060 /usr/old/bin.
15061
72e182e3
PT
15062 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15063 instead of spaces.
15064 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15065
fbeafede
JM
150662012-11-03 Joseph Myers <joseph@codesourcery.com>
15067
5b5b04d6
JM
15068 [BZ #14796]
15069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15070 FE_TONEAREST before applying Dekker multiplication and Knuth
15071 addition. Clear inexact exceptions and check for exact zero
15072 results afterwards.
15073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15074 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15075 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15076 * math/libm-test.inc (fma_test): Add more tests.
15077 (fma_test_towardzero): Likewise.
15078 (fma_test_downward): Likewise.
15079 (fma_test_upward): Likewise.
15080 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15081 function.
15082 (libc_fesetround): New macro.
15083 (libc_fesetroundf): Likewise.
15084 (libc_fesetroundl): Likewise.
15085 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15086 function.
15087 (libc_fesetround_387): Likewise.
15088 (libc_fesetroundf): New macro.
15089 (libc_fesetround): Likewise.
15090 (libc_fesetroundl): Likewise.
15091 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15092 function.
15093 (libc_fesetroundf): New macro.
15094 (libc_fesetround): Likewise.
15095 (libc_fesetroundl): Likewise.
15096 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15097 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15098 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15099 libm_hidden_ver.
15100 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15101 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15102 libm_hidden_def.
15103 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15104 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15105 libm_hidden_ver.
15106 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15107 libm_hidden_def.
15108
fbeafede
JM
15109 [BZ #3439]
15110 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15111 integer constant usable in #if and use that to give value to enum
15112 constant.
15113 (FE_DIVBYZERO): Likewise.
15114 (FE_UNDERFLOW): Likewise.
15115 (FE_OVERFLOW): Likewise.
15116 (FE_INVALID): Likewise.
15117 (FE_INVALID_SNAN): Likewise.
15118 (FE_INVALID_ISI): Likewise.
15119 (FE_INVALID_IDI): Likewise.
15120 (FE_INVALID_ZDZ): Likewise.
15121 (FE_INVALID_IMZ): Likewise.
15122 (FE_INVALID_COMPARE): Likewise.
15123 (FE_INVALID_SOFTWARE): Likewise.
15124 (FE_INVALID_SQRT): Likewise.
15125 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15126 (FE_TONEAREST): Likewise.
15127 (FE_TOWARDZERO): Likewise.
15128 (FE_UPWARD): Likewise.
15129 (FE_DOWNWARD): Likewise.
15130 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15131 (FE_DIVBYZERO): Likewise.
15132 (FE_OVERFLOW): Likewise.
15133 (FE_UNDERFLOW): Likewise.
15134 (FE_INEXACT): Likewise.
15135 (FE_TONEAREST): Likewise.
15136 (FE_DOWNWARD): Likewise.
15137 (FE_UPWARD): Likewise.
15138 (FE_TOWARDZERO): Likewise.
15139 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15140 (FE_UNDERFLOW): Likewise.
15141 (FE_OVERFLOW): Likewise.
15142 (FE_DIVBYZERO): Likewise.
15143 (FE_INVALID): Likewise.
15144 (FE_TONEAREST): Likewise.
15145 (FE_TOWARDZERO): Likewise.
15146 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15147 (FE_OVERFLOW): Likewise.
15148 (FE_UNDERFLOW): Likewise.
15149 (FE_DIVBYZERO): Likewise.
15150 (FE_INEXACT): Likewise.
15151 (FE_TONEAREST): Likewise.
15152 (FE_TOWARDZERO): Likewise.
15153 (FE_UPWARD): Likewise.
15154 (FE_DOWNWARD): Likewise.
15155 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15156 (FE_DIVBYZERO): Likewise.
15157 (FE_OVERFLOW): Likewise.
15158 (FE_UNDERFLOW): Likewise.
15159 (FE_INEXACT): Likewise.
15160 (FE_TONEAREST): Likewise.
15161 (FE_DOWNWARD): Likewise.
15162 (FE_UPWARD): Likewise.
15163 (FE_TOWARDZERO): Likewise.
15164
105ca950
CM
151652012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15166
15167 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15168
a542b389
AS
151692012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15170
15171 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15172 commands. Quote $PWD.
15173 (blacklist_exports): Don't use remove_newlines. Replace "declare
15174 -x" by "export".
15175 (remove_newlines): Remove.
15176
f62c8abc
L
151772012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15178
15179 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15180 * stdlib/stdlib.h (atof): Moved to ...
15181 * include/bits/stdlib-float.h: Here. New file.
15182 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15183 * stdlib/bits/stdlib-float.h: New file.
15184 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15185 -mno-sse -mno-mmx.
15186 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15187 <xmmintrin.h>.
15188
0155d5b2
JM
151892012-11-02 Joseph Myers <joseph@codesourcery.com>
15190
a68d0680
JM
15191 * conform/conformtest.pl (@headers): Add fenv.h.
15192 * conform/data/fenv.h-data: New file.
15193 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15194 include of <math/fenv.h>.
15195
caf7f573
JM
15196 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15197 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15198 && !UNIX98]. Enables tests for XOPEN2K8.
15199 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15200 POSIX2008]: Likewise.
15201
6c073ad6
JM
15202 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15203 (struct rusage): Do not expect type or its members.
15204
0155d5b2
JM
15205 [BZ #3439]
15206 * math/math.h (FP_NAN): Define macro to integer constant usable in
15207 #if and use that to give value to enum constant.
15208 (FP_INFINITE): Likewise.
15209 (FP_ZERO): Likewise.
15210 (FP_SUBNORMAL): Likewise.
15211 (FP_NORMAL): Likewise.
15212
b5dcacb4
AS
152132012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15214
15215 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15216 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15217 arguments.
15218
f7934be8
RM
152192012-11-02 Roland McGrath <roland@hack.frob.com>
15220
15221 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15222 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15223 autoconf-time if not.
15224 * configure.in: Remove AC_PREREQ.
15225
d7d08bde
TMQMF
152262012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15227
15228 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15229 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15230 of the internal implementation.
15231
dcdae19a
JM
152322012-11-02 Joseph Myers <joseph@codesourcery.com>
15233
15234 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15235 except include of <misc/sys/syslog.h>.
15236
d6cffd3e
AS
152372012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15238
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15240 function returns with a NULL context exit with zero.
15241
b3563932
TMQMF
152422012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15243
15244 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15245
b288a93d
L
152462012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15247
15248 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15249 (run_program_cmd): This.
15250 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15251 (tst_langinfo): New variable. Use it.
15252
a2421a68
SAS
152532012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15254
15255 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15256 floating point opcodes.
15257
6f796e1b
TS
152582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15259
7402596b
TS
15260 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15261 variable.
15262
d0d4f868
TS
15263 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15264
6f796e1b
TS
15265 * sysdeps/mach/hurd/powerpc: Remove directory.
15266 * sysdeps/mach/powerpc: Likewise.
15267
4da224a2
AS
152682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15269
15270 * scripts/check-local-headers.sh: Ignore c++ headers.
15271
341dd673
TS
152722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15273
15274 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15275 __libc_cleanup_region_start argument.
15276
473611b2
JM
152772012-11-01 Joseph Myers <joseph@codesourcery.com>
15278
15279 [BZ #14784]
15280 [BZ #14785]
15281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15282 x * y using scaling, not as x * y + z.
15283 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15284 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15285 * math/libm-test.inc (fma_test): Add more tests.
15286 (fma_test_towardzero): Likewise.
15287 (fma_test_downward): Likewise.
15288 (fma_test_upward): Likewise.
15289
4078da3d
TS
152902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15291
15292 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15293
903252aa
JM
152942012-10-31 Joseph Myers <joseph@codesourcery.com>
15295
15296 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15297 New variable.
15298
cbc818d0
TS
152992012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15300
15301 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15302
5a03cb1e
AS
153032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15304
15305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15306 Fix sort order.
15307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15308 Likewise.
15309
90aff2ff
TMQMF
153102012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15311
15312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15313 Fix the order of the list for glibc 2.17.
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15315 Likewise.
15316
1818fcb7
AS
153172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15318
15319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15320
ef82f4da
JM
153212012-10-31 Joseph Myers <joseph@codesourcery.com>
15322
16a0e2ec
JM
15323 [BZ #14610]
15324 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15325 for low part of x being zero before using __atanl (y).
15326 * math/libm-test.inc (atan2_test): Add another test.
15327
0eb69512
JM
15328 * manual/install.texi (Configuring and compiling): Document
15329 general use of test-wrapper and test-wrapper-env.
15330 * INSTALL: Regenerated.
15331
ef82f4da
JM
15332 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15333 (__fma): Do not extract and scale down low bits on after-rounding
15334 systems when result rounded to normal precision would have normal
15335 exponent.
15336 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15337 (__fmal): Do not extract and scale down low bits on after-rounding
15338 systems when result rounded to normal precision would have normal
15339 exponent.
15340 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15341 (__fmal): Do not extract and scale down low bits on after-rounding
15342 systems when result rounded to normal precision would have normal
15343 exponent.
15344 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15345 macro.
15346 (fma_test): Add more tests.
15347 (fma_test_towardzero): Likewise.
15348 (fma_test_downward): Likewise.
15349 (fma_test_upward): Likewise.
15350
954ef0d9
L
153512012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15352
15353 * sysdeps/i386/tininess.h: Renamed to ...
15354 * sysdeps/x86/tininess.h: This.
15355 * sysdeps/x86_64/tininess.h: Removed.
15356
df61ffb2
JM
153572012-10-30 Joseph Myers <joseph@codesourcery.com>
15358
15359 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15360 input. Use $(build-program-cmd).
15361 ($(objpfx)tst-array1-static.out): Likewise.
15362 ($(objpfx)tst-array2.out): Likewise.
15363 ($(objpfx)tst-array3.out): Likewise.
15364 ($(objpfx)tst-array4.out): Likewise.
15365 ($(objpfx)tst-array5.out): Likewise.
15366 ($(objpfx)tst-array5-static.out): Likewise.
15367
01767843
CM
153682012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15369
47cc1490
CM
15370 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15371 if defined.
15372
01767843
CM
15373 * nss/nsswitch.h (nss_interface_function): Provide new
15374 macro for use with NSS functions.
15375 * grp/initgroups.c: Use new macro.
15376 * nss/getXXbyYY.c: Likewise.
15377 * nss/getXXbyYY_r.c: Likewise.
15378 * nss/getXXent.c: Likewise.
15379 * nss/getXXent_r.c: Likewise.
15380 * sysdeps/posix/getaddrinfo.c: Likewise.
15381
8321aa97
AJ
153822012-10-30 Andreas Jaeger <aj@suse.de>
15383
15384 * po/ru.po: Update Russion translation from translation project.
15385
2a27fd6d
JM
153862012-10-30 Joseph Myers <joseph@codesourcery.com>
15387
8627a232
JM
15388 [BZ #14152]
15389 [BZ #14783]
15390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15391 result and shift together with sticky bit instead of replicating
15392 round-to-nearest rounding.
15393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15395 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15396 missing underflow exceptions.
15397 (fma_test_towardzero): Add more tests.
15398 (fma_test_downward): Likewise.
15399 (fma_test_upward): Likewise.
15400
2a27fd6d
JM
15401 [BZ #14047]
15402 * sysdeps/generic/tininess.h: New file.
15403 * sysdeps/i386/tininess.h: Likewise.
15404 * sysdeps/sh/tininess.h: Likewise.
15405 * sysdeps/x86_64/tininess.h: Likewise.
15406 * stdlib/tst-strtod-underflow.c: Likewise.
15407 * stdlib/tst-tininess.c: Likewise.
15408 * stdlib/strtod_l.c: Include <tininess.h>.
15409 (round_and_return): Do not set errno for exact underflow cases.
15410 Force an underflow exception when setting errno for underflow.
15411 Determine underflow based on rounding to normal precision if
15412 TININESS_AFTER_ROUNDING.
15413 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15414 ERANGE for exact underflow cases.
15415 * stdlib/Makefile (tests): Add tst-tininess and
15416 tst-strtod-underflow.
15417 ($(objpfx)tst-tininess): Use $(link-libm).
15418 ($(objpfx)tst-strtod-underflow): Likewise.
15419
e7170363
AJ
154202012-10-30 Andreas Jaeger <aj@suse.de>
15421
e5088dc6
AJ
15422 [BZ#14767]
15423 * elf/Makefile (tests): Remove conditional for have-initfini-array
15424 since this is now always required and the variable does not exist
15425 anymore.
15426 (tests-static): Likewise.
15427 (modules-names): Likewise.
15428
e7170363 15429 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15430
15431 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15432 merged with constructor/destructor.
15433 (init_array): Likewise.
15434 * elf/tst-array2dep.c (fini_array): Likewise.
15435 (init_array): Likewise.
15436
60457d8a
MF
154372012-10-29 Mike Frysinger <vapier@gentoo.org>
15438
15439 * manual/message.texi: Delete @cartouche tags.
15440
8bece752
PT
154412012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15442
94ce799f
PT
15443 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15444 EOPNOTSUPP.
15445 * sysdeps/mach/hurd/fsync.c: Likewise.
15446
8bece752
PT
15447 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15448 [_POSIX_REALTIME_SIGNALS]: Change condition to
15449 [_POSIX_REALTIME_SIGNALS > 0].
15450
86ebe6b1
AJ
154512012-10-27 Andreas Jaeger <aj@suse.de>
15452
15453 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15454 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15456 [__WORDSIZE != 64]: Likewise.
15457
54399c08
L
154582012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15459
15460 * iconvdata/tst-table.sh: Remove ${SHELL}.
15461 * iconvdata/tst-tables.sh: Likewise.
15462
e2211bed
DM
154632012-10-25 David S. Miller <davem@davemloft.net>
15464
15465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15466 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15467 of strtoull.
15468
f303f97c
DM
15469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15470 ifunc-impl-list.c
15471 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15472 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15473 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15474 file.
15475
1e9d84cd
RM
154762012-10-25 Roland McGrath <roland@hack.frob.com>
15477
15478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15479 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15480 __getdirentries.
15481
df381762
JM
154822012-10-25 Joseph Myers <joseph@codesourcery.com>
15483 Jim Blandy <jimb@codesourcery.com>
15484
15485 * scripts/cross-test-ssh.sh: New file.
15486 * manual/install.texi (Configuring and compiling): Document use of
15487 cross-test-ssh.sh.
15488 * INSTALL: Regenerated.
15489
bff64913
PT
154902012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15491
15492 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15493 EOPNOTSUPP.
15494
25fe8932
JM
154952012-10-25 Joseph Myers <joseph@codesourcery.com>
15496
15497 * Makeconfig (run-program-prefix): Fix comment.
15498
cc1290d0
JM
154992012-10-24 Joseph Myers <joseph@codesourcery.com>
15500 Jim Blandy <jimb@codesourcery.com>
15501
15502 * Makeconfig (test-wrapper): New variable,
15503 (test-wrapper-env): Likewise.
15504 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15505 (run-built-tests): Define to yes.
15506 (run-program-prefix): Use $(test-wrapper).
15507 (built-program-cmd): Likewise.
15508 * Rules (make-test-out): Use $(test-wrapper-env) and
15509 $(host-built-program-cmd).
15510 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15511 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15512 tst-pathopt.sh.
15513 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15514 $(test-wrapper-env) to tst-rtld-load-self.sh.
15515 ($(objpfx)order2.out): Use $(test-wrapper).
15516 ($(objpfx)tst-initorder.out): Likewise.
15517 ($(objpfx)tst-initorder2.out): Likewise.
15518 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15519 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15520 (test_wrapper_env): New variable. Use it to run ld.so.
15521 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15522 Use it to run ld.so.
15523 (test_wrapper_env): Likewise.
15524 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15525 $(test-wrapper) to run-iconv-test.sh.
15526 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15527 (ICONV): Use $test_wrapper.
15528 * posix/Makefile ($(objpfx)globtest.out): Pass
15529 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15530 globtest.sh, not $(run-program-prefix).
15531 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15532 (test_wrapper): Likewise.
15533 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15534 set together with run_via_rtld_prefix.
15535 (run_program_prefix): Define in terms of test_wrapper and
15536 run_via_rtld_prefix.
15537
6e6249d0
RM
155382012-10-24 Roland McGrath <roland@hack.frob.com>
15539
15540 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15541 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15542 Targets removed.
15543
15544 [BZ #14743]
15545 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15546 Declare __clock_getres, __clock_gettime, __clock_settime,
15547 __clock_nanosleep, and __clock_getcpuclockid.
15548 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15549 Remove librt_hidden_def (clock_gettime).
15550 * sysdeps/unix/clock_gettime.c: Likewise.
15551 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15552 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15553 * rt/clock_getres.c: Define __clock_getres as an alias.
15554 * sysdeps/posix/clock_getres.c: Likewise.
15555 * rt/clock_settime.c: Define __clock_settime as an alias.
15556 * sysdeps/unix/clock_settime.c: Likewise.
15557 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15558 * sysdeps/unix/clock_nanosleep.c: Likewise.
15559 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15560 * rt/clock-compat.c: New file.
15561 * rt/Makefile (librt-routines): Add clock-compat and move
15562 $(clock-routines) to ...
15563 (routines): ... here, new variable.
15564 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15565 Don't add get_clockfreq here.
15566 * rt/Versions (libc: GLIBC_2.17): New version set.
15567 Add clock_* symbols here.
15568 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15570 (GLIBC_2.17): Add clock_* symbols.
15571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15575 Likewise.
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15577 Likewise.
15578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15582 * NEWS: Mention the move.
15583
15584 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15585 Use __open, __read, __close rather than their public counterparts.
15586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15587 (__get_clockfreq_via_cpuinfo): Likewise.
15588 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15589 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15590
15591 * config.h.in (HAVE_IFUNC): New #undef.
15592 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15593 was successful.
15594 * configure: Regenerated.
15595
0cae3f4b
MF
155962012-10-24 Mike Frysinger <vapier@gentoo.org>
15597
15598 * configure.in: Move READELF check to start of file.
15599 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15600 libc_cv_asm_gnu_indirect_function in the process.
15601 * configure: Regenerated.
15602
8175a253
MF
156032012-10-24 Mike Frysinger <vapier@gentoo.org>
15604
15605 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15606 send the output to /dev/null.
15607 (libc_cv_cc_with_libunwind): Likewise.
15608 (libc_cv_as_noexecstack): Likewise.
15609 * configure: Regenerate.
15610
0708a7d1
JM
156112012-10-24 Joseph Myers <joseph@codesourcery.com>
15612
10b40d85
JM
15613 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15614
0708a7d1
JM
15615 * posix/globtest.sh (TMPDIR): Do not set.
15616 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15617 (testout): Likewise.
15618
9fddec1a
AJ
156192012-10-24 Andreas Jaeger <aj@suse.de>
15620
3a8db22f
AJ
15621 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15622 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15623 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15624 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15625 posix_fadvise64, posix_fallocate64.
15626
9fddec1a
AJ
15627 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15628 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15629 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15630 Likewise.
15631 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15632 Likewise.
15633 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15634
15635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15636 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15637 <bits/fcntl-linux.h>.
15638 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15639
15640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15641 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15642 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15643 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15644 [__WORDSIZE != 64]: Likewise.
15645
ebfd1bbd
JM
156462012-10-23 Joseph Myers <joseph@codesourcery.com>
15647
03ac099f
JM
15648 * Makeconfig (run-built-tests): New variable.
15649 * Rules [$(cross-compiling) = yes]: Change condition to
15650 [$(run-built-tests) = no].
15651 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15652 to [$(run-built-tests) = yes].
15653 * elf/Makefile [$(cross-compiling) = no]: Likewise
15654 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15655 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15656 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15657 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15658 * io/Makefile [$(cross-compiling) = no]: Likewise.
15659 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15660 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15661 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15662 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15663 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15664 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15665 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15666 * string/Makefile [$(cross-compiling) = no]: Likewise.
15667
ebfd1bbd
JM
15668 * posix/Makefile ($(objpfx)globtest.out): Pass
15669 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15670 $(rtld-installed-name).
15671 * posix/globtest.sh (elf_objpfx): Remove variable.
15672 (rtld_installed_name): Likewise.
15673 (library_path): Likewise.
15674 (run_program_prefix): New variable. Use for running globtest
15675 binary.
15676
166bca24
JB
156772012-10-23 Jim Blandy <jimb@codesourcery.com>
15678 Joseph Myers <joseph@codesourcery.com>
15679
15680 * Makeconfig (host-built-program-cmd): New variable.
15681 * elf/Makefile (tst-stackguard1-ARGS): Use
15682 $(host-built-program-cmd).
15683 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15684 (tst-spawn-ARGS): Likewise.
15685 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15686
88866099
JM
156872012-10-23 Joseph Myers <joseph@codesourcery.com>
15688 Jim Blandy <jimb@codesourcery.com>
15689
15690 * Makeconfig (run-via-rtld-prefix): New variable.
15691 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15692 (built-program-cmd): Likewise.
15693
b4b4c296
AJ
156942012-10-22 Andreas Jaeger <aj@suse.de>
15695
15696 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15697 __O_RSYNC if it exists, otherwise to O_SYNC.
15698
6fb54a22
JB
156992012-10-22 Jim Blandy <jimb@codesourcery.com>
15700 Joseph Myers <joseph@codesourcery.com>
15701
15702 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15703 /dev/null.
15704 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15705 from /dev/null
15706 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15707 /dev/null.
15708
481b90b9
AJ
157092012-10-22 Andreas Jaeger <aj@suse.de>
15710
2a0e2669
AJ
15711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15712 Define always.
15713 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15714
76e38f9a
AJ
15715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15716 bits/fcntl-linux.h.
15717
7cd37b43
AJ
15718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15719 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15720
481b90b9
AJ
15721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15722 to __O_LARGEFILE.
15723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15724 to __O_LARGEFILE.
15725
aba75984
JB
157262012-10-21 Jim Blandy <jimb@codesourcery.com>
15727 Joseph Myers <joseph@codesourcery.com>
15728
15729 * config.make.in (NM): New variable.
15730
88d4247f
AJ
157312012-10-21 Andreas Jaeger <aj@suse.de>
15732
15733 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15734 definitions and declarations that are provided by
15735 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15736
f2eed205
L
157372012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15738
15739 [BZ #14683]
15740 * elf/Makefile (tests-static): Add tst-leaks1-static.
15741 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15742 ($(objpfx)tst-leaks1-static): New rule.
15743 ($(objpfx)tst-leaks1-static-mem): Likewise.
15744 (tst-leaks1-static-ENV): New macro.
15745 * elf/dl-open.c (dl_open_worker): Check the main application
15746 only if SHARED is defined.
15747 * elf/tst-leaks1-static.c: New file.
15748
335e6931
AJ
157492012-10-20 Andreas Jaeger <aj@suse.de>
15750
15751 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15752 generic values for Linux.
15753 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15754 and declarations that are provided by <bits/fcntl-linux.h> and
15755 include <bits/fcntl-linux.h>.
15756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15758
ac5c94d3
RM
157592012-10-20 Roland McGrath <roland@hack.frob.com>
15760
15761 * io/fcntl.h: Move include of <bits/types.h> to the top and
15762 include it unconditionally.
15763
de54b33a
L
157642012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15765
228cfb01
L
15766 * wcsmbs/Makefile (tests-ifunc): New variable.
15767 (tests): Add $(tests-ifunc).
15768 * wcsmbs/test-wcschr-ifunc.c: New file.
15769 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15770 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15771 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15772 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15773 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15774
69f07e5f
L
15775 * string/Makefile (tests-ifunc): New variable.
15776 (tests): Add $(tests-ifunc).
15777 * string/test-memccpy.c (TEST_NAME): New macro.
15778 * string/test-memchr.c (TEST_NAME): Likewise.
15779 * string/test-memcmp.c (TEST_NAME): Likewise.
15780 * string/test-memcpy.c (TEST_NAME): Likewise.
15781 * string/test-memmem.c (TEST_NAME): Likewise.
15782 * string/test-memmove.c (TEST_NAME): Likewise.
15783 * string/test-memset.c (TEST_NAME): Likewise.
15784 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15785 * string/test-stpcpy.c (TEST_NAME): Likewise.
15786 * string/test-stpncpy.c (TEST_NAME): Likewise.
15787 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15788 * string/test-strcasestr.c (TEST_NAME): Likewise.
15789 * string/test-strcat.c (TEST_NAME): Likewise.
15790 * string/test-strchr.c (TEST_NAME): Likewise.
15791 * string/test-strcmp.c(TEST_NAME): Likewise.
15792 * string/test-strcpy.c (TEST_NAME): Likewise.
15793 * string/test-strcspn.c (TEST_NAME): Likewise.
15794 * string/test-strlen.c (TEST_NAME): Likewise.
15795 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15796 * string/test-strncmp.c (TEST_NAME): Likewise.
15797 * string/test-strncpy.c (TEST_NAME): Likewise.
15798 * string/test-strnlen.c (TEST_NAME): Likewise.
15799 * string/test-strpbrk.c (TEST_NAME): Likewise.
15800 * string/test-strrchr.c (TEST_NAME): Likewise.
15801 * string/test-strspn.c (TEST_NAME): Likewise.
15802 * string/test-strstr.c (TEST_NAME): Likewise.
15803 * string/test-bcopy-ifunc.c: New file.
15804 * string/test-bzero-ifunc.c: Likewise.
15805 * string/test-memccpy-ifunc.c: Likewise.
15806 * string/test-memchr-ifunc.c: Likewise.
15807 * string/test-memcmp-ifunc.c: Likewise.
15808 * string/test-memcpy-ifunc.c: Likewise.
15809 * string/test-memmem-ifunc.c: Likewise.
15810 * string/test-memmove-ifunc.c: Likewise.
15811 * string/test-mempcpy-ifunc.c: Likewise.
15812 * string/test-memset-ifunc.c: Likewise.
15813 * string/test-rawmemchr-ifunc.c: Likewise.
15814 * string/test-stpcpy-ifunc.c: Likewise.
15815 * string/test-stpncpy-ifunc.c: Likewise.
15816 * string/test-strcasecmp-ifunc.c: Likewise.
15817 * string/test-strcasestr-ifunc.c: Likewise.
15818 * string/test-strcat-ifunc.c: Likewise.
15819 * string/test-strchr-ifunc.c: Likewise.
15820 * string/test-strchrnul-ifunc.c: Likewise.
15821 * string/test-strcmp-ifunc.c: Likewise.
15822 * string/test-strcpy-ifunc.c: Likewise.
15823 * string/test-strcspn-ifunc.c: Likewise.
15824 * string/test-strlen-ifunc.c: Likewise.
15825 * string/test-strncasecmp-ifunc.c: Likewise.
15826 * string/test-strncat-ifunc.c: Likewise.
15827 * string/test-strncmp-ifunc.c: Likewise.
15828 * string/test-strncpy-ifunc.c: Likewise.
15829 * string/test-strnlen-ifunc.c: Likewise.
15830 * string/test-strpbrk-ifunc.c: Likewise.
15831 * string/test-strrchr-ifunc.c: Likewise.
15832 * string/test-strspn-ifunc.c: Likewise.
15833 * string/test-strstr-ifunc.c: Likewise.
15834
de54b33a
L
15835 * debug/Makefile (tests-ifunc): New variable.
15836 (tests): Add $(tests-ifunc).
15837 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15838 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15839 * debug/test-stpcpy_chk-ifunc.c: New file.
15840 * debug/test-strcpy_chk-ifunc.c: Likewise.
15841
88481c16
SP
158422012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15843
15844 [BZ #13601]
15845 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15846 header is not read in.
15847
135948bd
JM
158482012-10-19 Joseph Myers <joseph@codesourcery.com>
15849
89f1c388
JM
15850 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15851 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15852 directly. Pass built executable to script as
15853 $(built-program-cmd).
15854 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15855 $testprogram without using LD_LIBRARY_PATH and $ldso.
15856
e40a0d21
JM
15857 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15858 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15859 $(rtld-installed-name).
15860 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15861 (rtld_installed_name): Likewise.
15862 (library_path): Likewise.
15863 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15864 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15865 $(run-program-prefix) to tst-tables.sh.
15866 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15867 it to run tst-table-from and tst-table-to.
15868 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15869 Pass it to tst-table.sh.
15870 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15871 $(run-program-prefix) to tst-gettext.sh.
15872 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15873 tst-translit.sh.
15874 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15875 tst-gettext2.sh.
15876 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15877 to run tst-gettext.
15878 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15879 to run tst-gettext2.
15880 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15881 to run tst-translit.
15882 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15883 $(run-program-prefix) to tst-mtrace.sh.
15884 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15885 to run tst-mtrace.
15886 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15887 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15888 $(rtld-installed-name).
15889 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15890 (rtld_installed_name): Likewise.
15891 (run_program_prefix): New variable. Use it to run wordexp-test.
15892
728e272a
JM
15893 * Makeconfig (ARCH): Remove all definitions.
15894 (machine): Likewise.
15895 [ARCH]: Remove conditional code.
15896 [!objdir]: Give error.
15897 [!objdir] (objpfx): Remove.
15898 [!objdir] (common-objpfx): Likewise.
15899 [!objdir] (common-objdir): Likewise.
15900 * configure.in (config_makefile): Remove. Hardcode Makefile in
15901 AC_CONFIG_FILES call.
15902 * configure: Regenerated.
15903
d528cdcf
JM
15904 [BZ #13888]
15905 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15906 or TMPDIR.
15907 (testout): Likewise.
15908
135948bd
JM
15909 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15910 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15911 $(rtld-installed-name).
15912 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15913 (rtld_installed_name): Likwise.
15914 (runit): Remove function.
15915 (run_getconf): New variable, Use it for running getconf binary.
15916
38c78296
L
159172012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15918
15919 [BZ #14716]
15920 * string/test-memmem.c (check_result): New function.
15921 (do_one_test): Use it.
15922 (check1): New function.
15923 (test_main): Use it.
15924
d077f65f
MT
159252012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15926
15927 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15928
ced52c71
JM
159292012-10-18 Joseph Myers <joseph@codesourcery.com>
15930
15931 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15932 (_G_LSEEK64): Likewise.
15933 (_G_MMAP64): Likewise.
15934 (_G_FSTAT64): Likewise.
15935 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15936 (_G_LSEEK64): Likewise.
15937 (_G_MMAP64): Likewise.
15938 (_G_FSTAT64): Likewise.
15939 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15940 unconditional. Call __mmap64 directly.
15941 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15942 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15943 __lseek64 directly.
15944 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15945 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15946 __mmap64 directly.
15947 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15948 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15949 __lseek64 directly.
15950 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15951 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15952 __lseek64 directly.
15953 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15954 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15955 __lseek64 directly.
15956 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15957 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15958 __fxstat64 directly.
15959 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15960 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15961 unconditional.
15962 (freopen64) [!_G_OPEN64]: Remove conditional code.
15963 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15964 unconditional.
15965 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15966 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15967 unconditional.
15968 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15969 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15970 unconditional.
15971 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15972 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15973 unconditional.
15974 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15975 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15976 unconditional.
15977 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15978 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15979 unconditional.
15980 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15981 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15982 unconditional.
15983 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15984
b741de23
SP
159852012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15986
15987 [BZ #12140]
15988 * manual/memory.texi (Malloc Tunable Parameters): Add note
15989 about free list pointers overwriting some perturb bytes.
15990 Wording suggested by Roland McGrath.
15991
f9b9d9c9
JM
159922012-10-17 Joseph Myers <joseph@codesourcery.com>
15993
15994 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15995 (lgamma_test): Likewise.
15996 (tgamma_test): Likewise.
15997
172a631a
FW
159982012-10-16 Florian Weimer <fweimer@redhat.com>
15999
16000 [BZ #14700]
16001 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16002 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16003
e9f37252
MK
160042012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16005
16006 * NEWS: Mention BZ #14716.
16007 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16008 when removing AVAILABLE1_USES_J macro.
16009
d394eb74
L
160102012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16011
16012 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16013 (__bswap_64): __uint64_t for unsigned 64-bit int.
16014
ca38dc17
AS
160152012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16016
16017 * include/string.h (memmem): Declare libc hidden alias.
16018 * string/memmem.c (memmem): Define libc hidden alias.
16019 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16020 __read, __close instead of open, read, close.
16021
9a387d1f
L
160222012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16023
ac49ecaf
L
16024 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16025 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16026 global and hidden.
16027 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16028 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16029 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16030 Likewise.
16031 (__rawmemchr_sse2): Likewise.
16032 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16033 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16034 (__strchr_sse2): Likewise.
16035 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16036 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16037 (__strcasecmp_sse2): Likewise.
16038 (__strncasecmp_sse2): Likewise.
16039 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16040 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16041 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16042 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16043 (__strrchr_sse2): Likewise.
16044 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16045 ifunc-impl-list.c.
16046 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16047 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16048 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16049 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16050 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16051 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16052 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16053 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16054 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16055 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16056 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16057 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16058 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16059 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16060 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16061 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16062 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16063 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16064 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16065 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16066 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16067 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16068 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16069 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16070 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16071 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16072 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16073 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16074 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16075 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16076
b090e8ea
L
16077 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16078 global and hidden.
16079 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16080 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16081 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16082 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16083 Likewise.
16084 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16085 Likewise.
16086 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16087 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16088 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16089 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16090 ifunc-impl-list.c.
16091 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16092 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16093 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16094 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16095 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16096 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16097 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16098 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16099 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16100 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16101 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16102 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16103 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16104 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16105 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16106 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16107 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16108 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16109 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16110 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16111 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16112 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16113 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16114 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16116 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16117 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16118 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16119 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16120 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16121 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16122 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16123 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16124 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16125 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16126 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16127 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16128 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16129 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16130 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16131 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16132
11dd4af6
L
16133 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16134 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16135 * include/ifunc-impl-list.h: New file.
16136 * misc/ifunc-impl-list.c: Likewise.
16137 * misc/Makefile (routines): Add ifunc-impl-list.
16138 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16139 * string/test-string.h: Include <ifunc-impl-list.h>.
16140 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16141 impl_array): New variables.
16142 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16143 are defined.
16144 (test_init): Call __libc_ifunc_impl_list to initialize
16145 func_list if TEST_IFUNC and TEST_NAME are defined.
16146
9a387d1f
L
16147 * string/Makefile (strop-tests): Add bcopy and bzero.
16148 * string/test-bcopy.c: New file.
16149 * string/test-bzero.c: Likewise.
16150 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16151 defined.
16152 * string/test-memset.c: Support bzero test if TEST_BZERO is
16153 defined.
16154 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16155 __libc_memmove.
16156 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16157 __libc_memset.
16158 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16159 of memset.
16160
472371b9
JM
161612012-10-10 Joseph Myers <joseph@codesourcery.com>
16162
1e4a9536
JM
16163 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16164 * configure: Regenerated.
16165
d173d12e
JM
16166 * Makeconfig (+link-static-before-libc): Don't include
16167 $(link-static-libc).
16168
472371b9
JM
16169 * libio/libio.h (_IO_pos_t): Remove.
16170
89a3ad0b
AO
161712012-10-10 Alexandre Oliva <aoliva@redhat.com>
16172
16173 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16174 McGrath.
16175
e7451425
AO
161762012-10-10 Alexandre Oliva <aoliva@redhat.com>
16177
16178 * crypt/crypt-entry.c: Include fips-private.h.
16179 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16180 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16181 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16182 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16183
4ba74a35
AO
161842012-10-10 Alexandre Oliva <aoliva@redhat.com>
16185
16186 * crypt/crypt-private.h: Include stdbool.h.
16187 (_ufc_setup_salt_r): Return bool.
16188 * crypt/crypt-entry.c: Include errno.h.
16189 (__crypt_r): Return NULL with EINVAL for bad salt.
16190 * crypt/crypt_util.c (bad_for_salt): New.
16191 (_ufc_setup_salt_r): Check that salt is long enough and within
16192 the specified alphabet.
16193 * crypt/badsalttest.c: New file.
16194 * crypt/Makefile (tests): Add it.
16195 ($(objpfx)badsalttest): New.
16196
f96f1242
MK
161972012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16198
16199 * NEWS: Add entry for BZ #14602.
16200
0e8e0c1c
JM
162012012-10-09 Joseph Myers <joseph@codesourcery.com>
16202
16203 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16204 type-generic.
16205 * math/libm-test.inc: Update comment listing what functions and
16206 macros are tested.
16207 (isgreater_test): New function.
16208 (isgreaterequal_test): Likewise.
16209 (isless_test): Likewise.
16210 (islessequal_test): Likewise.
16211 (islessgreater_test): Likewise.
16212 (isunordered_test): Likewise.
16213 (main): Call the new functions.
16214
273edc5e
RM
162152012-10-09 Roland McGrath <roland@hack.frob.com>
16216
b8493de0
RM
16217 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16218 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16219 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16220 * sysdeps/i386/configure: Regenerated.
16221 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16222 * sysdeps/mach/configure: Regenerated.
16223 * sysdeps/mach/hurd/configure: Regenerated.
16224 * sysdeps/powerpc/configure: Regenerated.
16225 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16226 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16227 * sysdeps/s390/s390-32/configure: Regenerated.
16228 * sysdeps/s390/s390-64/configure: Regenerated.
16229 * sysdeps/sh/configure: Regenerated.
16230 * sysdeps/sparc/configure: Regenerated.
16231 * sysdeps/unix/sysv/linux/configure: Regenerated.
16232 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16233 * sysdeps/x86_64/configure: Regenerated.
16234
273edc5e
RM
16235 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16236 defined. Don't check if MAP is NULL.
16237
c8450f70
JM
162382012-10-09 Joseph Myers <joseph@codesourcery.com>
16239
16240 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16241 (_G_stat64): Likewise.
16242 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16243 (_G_stat64): Likewise.
16244 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16245 instead of struct _G_stat64.
16246 * libio/fileops.c (mmap_remap_check): Likewise.
16247 (decide_maybe_mmap): Likewise.
16248 (_IO_new_file_seekoff): Likewise.
16249 (_IO_file_stat): Likewise.
16250 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16251 _G_off64_t.
16252 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16253 instead of struct _G_stat64.
16254 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16255
57e605ba
MK
162562012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16257
16258 [BZ #14602]
16259 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16260 Replace with ...
16261 (CHECK_EOL): New macro.
16262 (two_way_short_needle): Check beginning of haystack for EOL. Use
16263 CHECK_EOL.
16264 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16265 Replace with CHECK_EOL.
16266 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16267 Replace with CHECK_EOL.
16268
ef1bb361
JM
162692012-10-08 Joseph Myers <joseph@codesourcery.com>
16270
16271 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16272 type-generic.
16273 * math/libm-test.inc: Update comment listing what functions and
16274 macros are tested.
16275 (finite_test): New function.
16276 (isinf_test): Likewise.
16277 (isnan_test): Likewise.
16278 (fpclassify_test): Test subnormal input.
16279 (isfinite_test): Likewise.
16280 (isnormal_test): Likewise.
16281 (main): Call the new functions.
16282
55f11534
JN
162832012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16284
16285 [BZ #14660]
16286 * Makerules (%.dynsym): Force C locale when running
16287 $(OBJDUMP) --dynamic-syms.
16288
1ab29350
AS
162892012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16290
16291 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16292 <stdint.h>.
16293
f1ecb7ef
DM
162942012-10-06 David S. Miller <davem@davemloft.net>
16295
16296 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16297 upper 32-bits of the length value in %o2 since we use branch-on-register
16298 tests which consider the entire 64-bit register.
16299
5d41d91a
L
163002012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16301
16302 * string/test-strstr.c (check2): Add a test for page boundary.
16303
3baddb72
DM
163042012-10-05 David S. Miller <davem@davemloft.net>
16305
16306 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16307 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16308 file.
16309 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16310 sysdep_routines.
16311 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16312 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16313 and bzero when HWCAP_SPARC_CRYPTO is present.
16314
9cee5585
L
163152012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16316
d7e0dab9
L
16317 [BZ #14602]
16318 * string/test-strstr.c (check2): New function.
16319 (test_main): Call check2.
16320
03759f47
L
16321 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16322 and bug-strchr1.
16323 * string/bug-strcasestr1.c (do_test): Moved to ...
16324 * string/test-strcasestr.c (check1): Here. New function.
16325 (do_one_test): Break out result checking code into ...
16326 (check_result): This. New function.
16327 (do_one_test): Call check_result.
16328 (test_main): Call check1.
16329 * string/bug-strchr1.c (do_test): Moved to ...
16330 * string/test-strchr.c (check1): Here. New function.
16331 (do_one_test): Break out result checking code into ...
16332 (check_result): This. New function.
16333 (do_one_test): Call check_result.
16334 (test_main): Call check1.
16335 * string/bug-strstr1.c (main): Moved to ...
046f153e 16336 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16337 (do_one_test): Break out result checking code into ...
16338 (check_result): This. New function.
16339 (do_one_test): Call check_result.
16340 (test_main): Call check1.
16341 * string/bug-strcasestr1.c: Removed.
16342 * string/bug-strchr1.c: Likewise.
16343 * string/bug-strstr1.c: Likewise.
16344
53cea63e
L
16345 * elf/Makefile (dl-routines): Add hwcaps.
16346 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16347 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16348 (_dl_important_hwcaps): Moved to ...
16349 * elf/dl-hwcaps.c: Here. New file.
16350 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16351
9cee5585 16352 [BZ #14557]
bb859b06
L
16353 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16354 if IS_IN_rtld isn't defined.
16355
9cee5585
L
16356 * elf/dl-support.c (_dl_sysinfo_map): New.
16357 Include "get-dynamic-info.h" and "setup-vdso.h".
16358 (_dl_non_dynamic_init): Call setup_vdso.
16359 * elf/dynamic-link.h: Don't include <assert.h>.
16360 (elf_get_dynamic_info): Moved to ...
16361 * elf/get-dynamic-info.h: Here. New file.
16362 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16363 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16364 * elf/setup-vdso.h: Here. New file.
16365 * elf/rtld.c: Include "setup-vdso.h".
16366 (dl_main): Call setup_vdso.
16367
23c31b76
JM
163682012-10-05 Joseph Myers <joseph@codesourcery.com>
16369
28234b07
JM
16370 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16371 creal in comment listing functions tested. List finite, isinf,
16372 isnan, isless, islessequal, isgreater, isgreaterequal,
16373 islessgreater, isunordered, lgamma_r and pow10 as functions and
16374 macros not tested. Mention which functions not tested are aliases
16375 for other functions. Fix typo. Note that signs of NaNs are not
16376 tested.
16377
23c31b76
JM
16378 * scripts/config.guess: Update from config.git.
16379 * scripts/config.sub: Likewise.
16380
9043e228
RM
163812012-10-04 Roland McGrath <roland@hack.frob.com>
16382
16383 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16384 * misc/madvise.c (madvise): Renamed to __madvise.
16385 Make madvise a weak alias.
16386 * include/sys/mman.h: Declare __madvise.
16387 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16388 * sysdeps/unix/syscalls.list
16389 (madvise): Make __madvise the strong name, and madvise a weak alias.
16390 * sysdeps/unix/sysv/linux/syscalls.list
16391 (madvise, mmap): Remove redundant entries.
16392 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16393 * malloc/malloc.c (mtrim): Likewise.
16394 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16395
f57f8055
RM
163962012-10-03 Roland McGrath <roland@hack.frob.com>
16397
16398 * sysdeps/mach/hurd/dl-cache.c: File removed.
16399 * config.h.in (USE_LDCONFIG): New #undef.
16400 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16401 * configure: Regenerated.
16402 * elf/Makefile (dl-routines): Add dl-cache only under
16403 [$(use-ldconfig) = yes].
16404 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16405 cache on [USE_LDCONFIG].
16406 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16407 [USE_LDCONFIG].
16408 * elf/rtld.c (dl_main): Likewise.
16409
5bb0c10a
PT
164102012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16411
16412 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16413 _SC_LEVEL4_CACHE_LINESIZE.
16414
010188c6
RM
164152012-10-03 Roland McGrath <roland@hack.frob.com>
16416
16417 * sysdeps/unix/bsd/confstr.h: File removed.
16418
b6c5ec07
AO
164192012-10-02 Alexandre Oliva <aoliva@redhat.com>
16420
16421 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16422 sys/sdt-config.h.
16423
408223d4
RM
164242012-10-02 Roland McGrath <roland@hack.frob.com>
16425
16426 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16427 Make 'mapoff' field ElfW(Off) rather than off_t.
16428
bb9510dc
DL
164292012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16430
fc997c6e
DL
16431 * nscd/Makefile: Remove nscd-cflags and all its users.
16432 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16433 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16434
bb9510dc
DL
16435 [BZ #10631]
16436 * malloc.c (malloc_printerr): Clarify error message.
16437
05699367
L
164382012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16439
16440 [BZ #14648]
16441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16442 Set bit_FMA_Usable if FMA is supported.
16443 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16444 macro.
16445 (bit_FMA4_Usable): Updated.
16446 (index_FMA_Usable): New macro.
16447 (CPUID_FMA): Likewise
16448 (HAS_FMA): Defined with bit_FMA_Usable.
16449
51367701
RM
164502012-10-01 Roland McGrath <roland@hack.frob.com>
16451
16452 * bits/types.h (__swblk_t): Type removed.
16453 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16454 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16455 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16456 (__SWBLK_T_TYPE): Likewise.
16457 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16458 (__SWBLK_T_TYPE): Likewise.
16459 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16460 (__SWBLK_T_TYPE): Likewise.
16461 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16462 (__SWBLK_T_TYPE): Likewise.
16463
4d57bf63 164642012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16465 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16466
16467 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16468 (xdr_mapname): Use YPMAXMAP as maxsize.
16469 (xdr_peername): Use YPMAXPEER as maxsize.
16470 (xdr_keydat): Use YPAXRECORD as maxsize.
16471 (xdr_valdat): Use YPMAXRECORD as maxsize.
16472
93c65d43
RM
164732012-10-01 Roland McGrath <roland@hack.frob.com>
16474
497a03d6
RM
16475 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16476
93c65d43
RM
16477 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16478 * csu/init-first.c: ... here.
16479 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16480 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16481 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16482 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16483 * sysdeps/i386/init-first.c: File removed.
16484 * sysdeps/sh/init-first.c: File removed.
16485
bec749fd
JM
164862012-10-01 Joseph Myers <joseph@codesourcery.com>
16487
16488 [BZ #14645]
16489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16490 if x * y might underflow to zero and z is zero.
16491 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16492 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16493 * math/libm-test.inc (min_subnorm_value): New variable.
16494 (fma_test): Add more tests.
16495 (fma_test_towardzero): Likewise.
16496 (fma_test_downward): Likewise
16497 (fma_test_upward): Likewise.
16498 (initialize): Set min_subnorm_value.
16499
8ec5b013
JM
165002012-09-29 Joseph Myers <joseph@codesourcery.com>
16501
16502 [BZ #14638]
16503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16504 0 + 0.
16505 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16506 mode for addition resulting in exact zero.
16507 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16509 exact 0 + 0.
16510 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16511 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16512 * math/libm-test.inc (fma_test): Add more tests.
16513 (fma_test_towardzero): New function.
16514 (fma_test_downward): Likewise.
16515 (fma_test_upward): Likewise.
16516 (main): Call the new functions.
16517
b1fa802e
DM
165182012-09-28 David S. Miller <davem@davemloft.net>
16519
16520 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16521
d3b9fd9e
RM
165222012-09-28 Roland McGrath <roland@hack.frob.com>
16523
ea4d37b3
RM
16524 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16525 instead of SIGALRM.
16526
ac51c949
RM
16527 * sysdeps/gnu/_G_config.h: Moved to ...
16528 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16529 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16530 * sysdeps/generic/_G_config.h: ... here.
16531
28c195f7
RM
16532 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16533
848917f9
RM
16534 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16535
6bacf05b
RM
16536 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16537 Conditionalize target on [libnss_test1.so-version].
16538
91363dbb
RM
16539 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16540
cc87f7d8
RM
16541 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16542 (elfobjdir): Move out of conditionals.
16543
b1c608fe
RM
16544 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16545 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16546 (__nss_lookup_function): Conditionalize label remove_from_tree on
16547 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16548
1d9a6d96
DM
165492012-09-28 David S. Miller <davem@davemloft.net>
16550
16551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16552 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16553 file.
16554 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16555 sysdep_routines.
16556 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16557 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16558 when HWCAP_SPARC_CRYPTO is present.
16559
72581615
PT
165602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16561
16562 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16563
715a900c
JL
165642012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16565
16566 [BZ #6530]
16567 * stdio-common/vfprintf.c (process_string_arg): Revert
16568 2000-07-22 change.
16569
165702011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16571
16572 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16573 for testcase.
16574 * stdio-common/tst-sprintf.c: Include <locale.h>
16575 (main): Test sprintf's handling of incomplete multibyte
16576 characters.
16577
9bac1d86
L
165782012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16579
16580 * elf/dl-runtime.c (VERSYMIDX): Removed.
16581 * elf/dl-version.c (VERSYMIDX): Likewise.
16582 * elf/do-rel.h (VERSYMIDX): Likewise.
16583 (VALIDX): Likewise.
16584 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16585 * elf/rtld.c (VALIDX): Likewise.
16586 (ADDRIDX): Likewise.
9bac1d86
L
16587 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16588 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16589 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16590 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16591 (VALIDX): Likewise.
16592 (ADDRIDX): Likewise.
9bac1d86 16593
b31606c0
PT
165942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16595
16596 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16597
11541177
JL
165982012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16599
16600 [BZ #11438]
16601 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16602 to global scope.
16603 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16604 addresses are in the same scope as 192.0.2/24.
16605 * posix/gai.conf: Document new scope table defaults.
16606
adb26fae
SP
166072012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16608
16609 [BZ #5298]
16610 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16611 for ftell. Compute offsets from write pointers instead.
16612 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16613
4573c6b0
SP
166142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16615
16616 [BZ #14543]
16617 * libio/Makefile (tests): New test case tst-fseek.
16618 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16619 combination works in wide mode.
16620 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16621 state when the external buffer state changes.
16622
aa9bbfe6
DM
166232012-09-27 David S. Miller <davem@davemloft.net>
16624
16625 [BZ #14376]
16626 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16627 pass reloc->r_addend in as the 'high' argument to
16628 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16629
784421e7
DM
16630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16631
c39bc8b8
PT
166322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16633
16634 * rt/tst-aio2.c: Include <pthread.h>.
16635 * rt/tst-aio3.c: Likewise.
16636
1ccc2399
SE
166372012-09-27 Steve Ellcey <sellcey@mips.com>
16638
16639 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16640
31ed4153
L
166412012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16642
25f5f885
L
16643 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16644 contents on [SHARED].
31ed4153 16645
b7bfe116
MP
166462012-09-26 Marek Polacek <polacek@redhat.com>
16647
16648 [BZ #14530]
16649 [BZ #13741]
16650 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16651 for C++ and GCC <4.3 as well as for non GCC compilers.
16652
43c4edba
MT
166532012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16654
16655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16656
6a1bf82f
RM
166572012-09-25 Roland McGrath <roland@hack.frob.com>
16658
16659 * Makefile.in (all, install): Declare with .PHONY.
16660 Reported by Michael Hope <michael.hope@linaro.org>.
16661
8ad11b9a
TMQMF
166622012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16663
16664 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16665 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16666 system header.
16667 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16668 Likewise.
16669 (sydep_routines): Add the new and the internal functions.
16670 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16671 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16673 (GLIBC_2.17): Add the new function.
16674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16675 (GLIBC_2.17): Likewise.
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16677 (GLIBC_2.17): Likewise.
16678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16679 (GLIBC_2.17): Likewise.
16680 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16681
7e2fca8d
AM
166822012-09-25 Alan Modra <amodra@gmail.com>
16683
16684 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16685 Add release barrier before setting once_control to say
16686 initialisation is done. Add hints on lwarx. Use macro in
16687 place of isync.
16688 (clear_once_control): Add release barrier.
16689
b87c4b24
JM
166902012-09-25 Joseph Myers <joseph@codesourcery.com>
16691
d032e0d2
JM
16692 [BZ #13629]
16693 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16694 specially.
16695 * math/s_clog10.c (__clog10): Likewise.
16696 * math/s_clog10f.c (__clog10f): Likewise.
16697 * math/s_clog10l.c (__clog10l): Likewise.
16698 * math/s_clogf.c (__clogf): Likewise.
16699 * math/s_clogl.c (__clogl): Likewise.
16700 * math/Makefile (libm-calls): Add x2y2m1.
16701 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16702 (__x2y2m1): Likewise.
16703 (__x2y2m1l): Likewise.
16704 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16705 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16706 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16707 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16708 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16709 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16710 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16711 * sysdeps/i386/fpu/libm-test-ulps: Update.
16712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16713
b87c4b24
JM
16714 [BZ #14621]
16715 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16716 int as type of variable DEPTH.
16717 (glob): Use size_t instead of int as type of variables NEWCOUNT
16718 and OLD_PATHC.
16719
6d3bf199
LD
167202012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16721
22bf5c17
LD
16722 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16723 Add s_sincosf-sse2.
16724 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16725 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16726 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16727 macros for using routine as __sincosf_ia32.
16728 Use macro for function declaration and weak_alias.
16729 * sysdeps/i386/fpu/libm-test-ulps: Update.
16730
16731 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16733
16734 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16735 subnormal argument.
16736 * math/s_cexpf.c (__cexpf): Likewise.
16737 * math/s_csinf.c (__csinf): Likewise.
16738 * math/s_csinhf.c (__csinhf): Likewise.
16739 * math/s_ctanf.c (__ctanf): Likewise.
16740 * math/s_ctanhf.c (__ctanhf): Likewise.
16741 * math/s_ccosh.c (__ccoshf): Likewise.
16742 * math/s_cexp.c (__cexpl): Likewise.
16743 * math/s_csin.c (__csin): Likewise.
16744 * math/s_csinh.c (__csinh): Likewise.
16745 * math/s_ctan.c (__ctan): Likewise.
16746 * math/s_ctanh.c (ctanh): Likewise.
16747 * math/s_ccoshl.c (__ccoshl): Likewise.
16748 * math/s_cexpl.c (__cexpl): Likewise.
16749 * math/s_csinl.c (__csinl): Likewise.
16750 * math/s_csinhl.c (__csinhl): Likewise.
16751 * math/s_ctanl.c (__ctanl): Likewise.
16752 * math/s_ctanhl.c (__ctanhl): Likewise.
16753
203e5603
JM
167542012-09-25 Joseph Myers <joseph@codesourcery.com>
16755
16756 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16757 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16758 (_IO_off_t): Define to __off_t, not _G_off_t.
16759 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16760 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16761 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16762 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16763 type of __dummy and __dummy2 fields.
16764 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16765 (_G_ssize_t): Likewise.
16766 (_G_off_t): Likewise.
16767 (_G_pid_t): Likewise.
16768 (_G_uid_t): Likewise.
16769 (_G_wchar_t): Likewise.
16770 (_G_wint_t): Likewise.
16771 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16772 (_G_ssize_t): Likewise.
16773 (_G_off_t): Likewise.
16774 (_G_pid_t): Likewise.
16775 (_G_uid_t): Likewise.
16776 (_G_wchar_t): Likewise.
16777 (_G_wint_t): Likewise.
16778 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16779 (_G_ssize_t): Likewise.
16780 (_G_off_t): Likewise.
16781 (_G_pid_t): Likewise.
16782 (_G_uid_t): Likewise.
16783 (_G_wchar_t): Likewise.
16784 (_G_wint_t): Likewise.
16785
9fab36eb
SP
167862012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16787
16788 * malloc/arena.c: Include malloc-sysdep.h.
16789 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16790 is sufficient to shrink the heap or an unmap is needed.
16791 * sysdeps/generic/malloc-sysdep.h: New file. Define
16792 new function check_may_shrink_heap.
16793 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16794 new function check_may_shrink_heap.
16795
2b4f00d1
SP
167962012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16797
16798 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16799 comments.
16800
9a9028b1
DL
168012012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16802
57c69bef
DL
16803 * catgets/test-gencat.sh: Add "set -e".
16804 * elf/tst-pathopt.sh: Likewise.
16805 * grp/tst_fgetgrent.sh: Likewise.
16806 * iconvdata/run-iconv-test.sh: Likewise.
16807 * intl/tst-gettext.sh: Likewise.
16808 * intl/tst-gettext2.sh: Likewise.
16809 * intl/tst-gettext4.sh: Likewise.
16810 * intl/tst-gettext6.sh: Likewise.
16811 * intl/tst-translit.sh: Likewise.
16812 * io/ftwtest-sh: Likewise.
16813 * libio/test-freopen.sh: Likewise.
16814 * malloc/tst-mtrace.sh: Likewise.
16815 * posix/globtest.sh: Likewise.
16816 * posix/tst-getconf.sh: Likewise.
16817 * posix/wordexp-tst.sh: Likewise.
16818 * stdio-common/tst-printf.sh: Likewise.
16819 * stdio-common/tst-unbputc.sh: Likewise.
16820 * stdlib/tst-fmtmsg.sh: Likewise.
16821 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16822 * catgets/Makefile: Do not specify -e option when running
16823 testsuite shell scripts.
16824 * elf/Makefile: Likewise.
16825 * grp/Makefile: Likewise.
16826 * iconvdata/Makefile: Likewise.
16827 * intl/Makefile: Likewise.
16828 * io/Makefile: Likewise.
16829 * libio/Makefile: Likewise.
16830 * malloc/Makefile: Likewise.
16831 * posix/Makefile: Likewise.
16832 * stdio-common/Makefile: Likewise.
16833 * stdlib/Makefile: Likewise.
16834 * sysdeps/x86_64/Makefile: Likewise.
16835
9a9028b1
DL
16836 * io/ftwtest-sh: Add copyright header.
16837 * posix/globtest.sh: Likewise.
16838 * posix/tst-getconf.sh: Likewise.
16839 * posix/wordexp-tst.sh: Likewise.
16840 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16841
ced6f16e
L
168422012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16843
94b32c39
L
16844 [BZ #13679]
16845 * Makeconfig (+link): Defined as $(+link-static) if
16846 $(build-shared) isn't yes.
16847 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16848 isn't yes.
16849 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16850
189e935b
L
16851 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16852
ced6f16e
L
16853 [BZ #14562]
16854 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16855 new chunk size with MALLOC_ALIGN_MASK.
16856
a9f8e53a
JM
168572012-09-24 Joseph Myers <joseph@codesourcery.com>
16858
16859 [BZ #5044]
16860 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16861 <rounding-mode.h>.
16862 (__printf_fphex): Determine rounding using get_rounding_mode and
16863 round_away.
16864 * stdio-common/tst-printf-round.c (struct hex_test): New
16865 structure.
16866 (hex_tests): New variable.
16867 (test_hex_in_one_mode): New function.
16868 (do_test): Also run tests for hex float output.
16869
43153109
JM
168702012-09-21 Joseph Myers <joseph@codesourcery.com>
16871
16872 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16873 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16874 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16875 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16876 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16877 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16878 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16879 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16880
8a26625d
JM
168812012-09-20 Joseph Myers <joseph@codesourcery.com>
16882
16883 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16884 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16885 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16886 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16887
f3fd569c
DL
168882012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16889
16890 [BZ #14579]
16891 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16892 mode only.
16893 * elf/tst-rtld-load-self.sh: New test.
16894 * elf/Makefile: Run it.
16895
63bbedd4
JM
168962012-09-18 Joseph Myers <joseph@codesourcery.com>
16897
16898 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16899 (tst-writev-ENV): Remove.
16900 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16901
626f8b6a
CM
169022012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16903
16904 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16905
b7aaa4d6
JM
169062012-09-17 Joseph Myers <joseph@codesourcery.com>
16907
16908 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16909 unconditional.
16910 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16911 Likewise.
16912 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16913 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16914 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16915 Likewise.
16916
65513990
L
169172012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16918
16919 [BZ #14587]
16920 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16921 * config.make.in (have-cpp-asm-debuginfo): Removed.
16922 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16923 * configure: Regenerated.
16924
784761be
JM
169252012-09-14 Joseph Myers <joseph@codesourcery.com>
16926
16927 [BZ #5044]
16928 * stdio-common/printf_fp.c: Include <stdbool.h> and
16929 <rounding-mode.h>.
16930 (___printf_fp): Determine rounding using get_rounding_mode and
16931 round_away.
16932 * stdio-common/tst-printf-round.c: New file.
16933 * stdio-common/Makefile (tests): Add tst-printf-round.
16934 (link-libm): New variable.
16935 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16936
9503345f
L
169372012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16938
16939 [BZ #14576]
16940 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16941 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16942 Likewise.
16943 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16944 Likewise.
16945
ad35fc00
JM
169462012-09-13 Joseph Myers <joseph@codesourcery.com>
16947
16948 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16949 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16950 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16951 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16952
6c9b0f68
JM
169532012-09-12 Joseph Myers <joseph@codesourcery.com>
16954
16955 [BZ #14518]
16956 * include/rounding-mode.h: New file.
16957 * sysdeps/generic/get-rounding-mode.h: Likewise.
16958 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16959 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16960 (MAX_VALUE): New macro.
16961 (MIN_VALUE): Likewise.
16962 (overflow_value): New function.
16963 (underflow_value): Likewise.
16964 (round_and_return): Use overflow_value and underflow_value to
16965 determine return values in overflow and underflow cases. Use
16966 round_away to determine rounding depending on rounding mode.
16967 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16968 determine return values in overflow and underflow cases.
16969 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16970 (struct test_results): New structure.
16971 (struct test): Use struct test_results to store expected results
16972 for all rounding modes.
16973 (TEST): Include expected results for all rounding modes.
16974 (test_in_one_mode): New function.
16975 (do_test): Use test_in_one_mode to compute and check results.
16976 Check results for all rounding modes.
16977 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16978 $(link-libm).
16979
19fcedd5
AM
169802012-12-09 Allan McRae <allan@archlinux.org>
16981
1e9d84cd 16982 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16983
8bbfd2f1
JM
169842012-09-11 Joseph Myers <joseph@codesourcery.com>
16985
16986 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16987 (_G_int32_t): Likewise.
16988 (_G_uint16_t): Likewise.
16989 (_G_uint32_t): Likewise.
16990 (_G_HAVE_BOOL): Likewise.
16991 (_G_HAVE_ATEXIT): Likewise.
16992 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16993 (_G_HAVE_IO_FILE_OPEN): Likewise.
16994 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16995 (_G_int32_t): Likewise.
16996 (_G_uint16_t): Likewise.
16997 (_G_uint32_t): Likewise.
16998 (_G_HAVE_BOOL): Likewise.
16999 (_G_HAVE_ATEXIT): Likewise.
17000 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17001 (_G_HAVE_IO_FILE_OPEN): Likewise.
17002 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17003 (_G_int32_t): Likewise.
17004 (_G_uint16_t): Likewise.
17005 (_G_uint32_t): Likewise.
17006 (_G_HAVE_BOOL): Likewise.
17007 (_G_HAVE_ATEXIT): Likewise.
17008 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17009 (_G_HAVE_IO_FILE_OPEN): Likewise.
17010
b1dc5912
L
170112012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17012
17013 * csu/libc-tls.c: Update copyright years.
17014
0e886ef9
JM
170152012-09-10 Joseph Myers <joseph@codesourcery.com>
17016
28361c5e
JM
17017 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17018 [!_G_USING_THUNKS]: Remove conditional code.
17019 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17020 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17021
0e886ef9
JM
17022 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17023 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17024 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17025 (_G_VTABLE_LABEL_PREFIX): Likewise.
17026 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17027 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17028 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17029 (_G_VTABLE_LABEL_PREFIX): Likewise.
17030 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17031 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17032 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17033 (_G_VTABLE_LABEL_PREFIX): Likewise.
17034 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17035
bcba7aa2
L
170362012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17037
17038 * libio/Makefile: Include ../Makeconfig before tests.
17039 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17040 only if $(build-shared) is yes.
17041
06585ee8
L
17042 * iconv/gconv_db.c: Update copyright years.
17043
80ccd52c
LD
170442012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17045
17046 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17047 unwind info if defined PIC. Fix special cases description.
17048 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17049
17050 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17051 DP_HI_MASK entry.
17052 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17053
691bc9c1
L
170542012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17055
3d9b46b3
L
17056 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17057
de2139a9
L
17058 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17059 is NULL.
17060
5ca78dd0
L
17061 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17062 (LDLIBS-tst-chk4): This.
17063 (LDFLAGS-tst-chk5): Renamed to ...
17064 (LDLIBS-tst-chk5): This.
17065 (LDFLAGS-tst-chk6): Renamed to ...
17066 (LDLIBS-tst-chk6): This.
17067 (LDFLAGS-tst-lfschk4): Renamed to ...
17068 (LDLIBS-tst-lfschk4): This.
17069 (LDFLAGS-tst-lfschk5): Renamed to ...
17070 (LDLIBS-tst-lfschk5): This.
17071 (LDFLAGS-tst-lfschk6): Renamed to ...
17072 (LDLIBS-tst-lfschk6): This.
17073
691bc9c1
L
17074 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17075 on $(common-objpfx)soversions.mk.
17076
65cafb1c
JM
170772012-09-07 Joseph Myers <joseph@codesourcery.com>
17078
17079 [BZ #10014]
17080 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17081 example host name.
17082
c78ab094
SP
170832012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17084
17085 * malloc/arena.c (arena_get_retry): New function that gets
17086 another arena for the caller to try its request on.
17087 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17088 current arena cannot fulfill the request.
17089 (__libc_memalign): Likewise.
17090 (__libc_memalign): Likewise.
17091 (__libc_pvalloc): Likewise.
17092 (__libc_calloc): Likewise.
17093
01f49f59
JT
170942012-09-05 John Tobey <john.tobey@gmail.com>
17095
17096 [BZ #13542]
17097 * manual/arith.texi (Operations on Complex): Fix description
17098 of carg branch cut.
17099
4c23fed5
JM
171002012-09-06 Joseph Myers <joseph@codesourcery.com>
17101
1d3c8572
JM
17102 [BZ #10014]
17103 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17104 host name.
17105
4c23fed5
JM
17106 [BZ #10038]
17107 * manual/memory.texi (Memory): Make order of menu items match
17108 order of sections.
17109
04570aaa
L
171102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17111
17112 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17113 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17114 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17115
b80af2f4
L
171162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17117
17118 * csu/libc-tls.c (static_dtv): Renamed to ...
17119 (_dl_static_dtv): This. Make it global.
17120 (_dl_initial_dtv): Removed.
17121 (__libc_setup_tls): Updated.
17122 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17123 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17124 DL_INITIAL_DTV.
17125
2abe9f15
PM
171262012-09-06 Petr Machata <pmachata@redhat.com>
17127
17128 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17129 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17130 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17131 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17132
0948c3af
L
171332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17134
17135 [BZ #14545]
17136 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17137 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17138 freeing dtv[-1].
17139
a5055ad1
L
171402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17141
17142 [BZ #14544]
17143 * Makeconfig (link-static-before-libc): Replace $(+prector)
17144 with $(+prectorT).
17145 (link-static-after-libc): Replace $(+postctor) with
17146 $(+postctorT).
17147 (link-bounded): Replace $(+prector)/$(+postctor) with
17148 $(+prectorT)/$(+postctorT).
17149 (+prectorT): New macro.
17150 (+postctorT): Likewise.
17151
ed8c2ecd
JM
171522012-09-06 Joseph Myers <joseph@codesourcery.com>
17153
17154 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17155 (round_str): Handle values above the maximum for IBM long double
17156 as inexact.
17157 * stdlib/tst-strtod-round.c (tests): Regenerated.
17158
14c996c8
AK
171592012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17160
17161 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17162 assembler flag.
17163 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17164 zarch_nohighgprs around the zarch optimized routines.
17165 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17166 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17167 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17168 for zarch.
17169
430d6ce6
DM
171702012-09-05 David S. Miller <davem@davemloft.net>
17171
17172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17173
ff04dda4
DM
17174 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17175 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17176 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17177 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17178 entries.
17179
24d4e01b
AO
171802012-09-05 Alexandre Oliva <aoliva@redhat.com>
17181
17182 * malloc/arena.c: Fold copyright years.
17183 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17184
61d58174
AO
171852012-09-05 Alexandre Oliva <aoliva@redhat.com>
17186
17187 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17188
20196a5e
AO
171892012-09-05 Alexandre Oliva <aoliva@redhat.com>
17190
17191 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17192
5c447383
AO
171932012-09-05 Alexandre Oliva <aoliva@redhat.com>
17194
17195 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17196 change internal state upon failure.
17197
fad64255
AO
171982012-09-05 Alexandre Oliva <aoliva@redhat.com>
17199
17200 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17201 * malloc/memusage.c (mmap): Likewise.
17202 (mmap64, mremap): Likewise. Adjust name in comment.
17203
1ffb8c90
SP
172042012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17205
17206 * libio/fileops.c: Fix typos in comments.
17207 * libio/oldfileops.c: Likewise.
17208 * libio/wfileops.c: Likewise.
17209
6ef9cc37
SP
172102012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17211
17212 [BZ #1349]
17213 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17214 (tst-malloc-usable-ENV): Set environment for test case.
17215 * malloc/hooks.c (malloc_check_get_size): New function to get
17216 requested size.
17217 * malloc/malloc.c (musable): Use malloc_check_get_size.
17218 * malloc/tst-malloc-usable.c: New test case.
17219
4d038ae3
AS
172202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17221
17222 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17223
c4e85184
AM
172242012-09-05 Allan McRae <allan@archlinux.org>
17225
b9dafc56 17226 [BZ #13966]
c4e85184
AM
17227 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17228 determine header location.
17229 * configure: Regenerated.
17230
e1343020
AS
172312012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17232
17233 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17234 float format.
17235 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17236 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17237 format.
e1343020
AS
17238 (test): Regenerate.
17239
0a9f1987
DM
172402012-09-04 David S. Miller <davem@davemloft.net>
17241
17242 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17243 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17244 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17245
29237804
FW
172462012-09-04 Florian Weimer <fweimer@redhat.com>
17247
17248 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17249 failures.
17250
edb3cb88
FW
17251 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17252
60160d83
JM
172532012-09-04 Joseph Myers <joseph@codesourcery.com>
17254
17255 [BZ #9914]
17256 * libio/iogetdelim.c: Include <limits.h>.
17257 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17258 + len + 1 would overflow.
17259
bcd6c8dc
AJ
172602012-09-03 Andreas Jaeger <aj@suse.de>
17261
17262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17263 * sysdeps/i386/fpu/libm-test-ulps: Update.
17264
4ffffbd2
LD
172652012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17266
17267 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17268 Add s_sinf-sse2, s_conf-sse2.
17269
17270 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17271 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17272 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17273 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17274
17275 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17276 for using routine as __sinf_ia32.
17277 Use macro for function declaration and weak_alias.
17278 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17279 for using routine as __cosf_ia32.
17280 Use macro for function declaration and weak_alias.
17281
17282 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17283 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17284
17285 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17286 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17288
17289 * math/libm-test.inc (cos_test): Add more test cases.
17290 (sin_test): Likewise.
17291 (sincos_test): Likewise.
17292
511fa286
AK
172932012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17294
17295 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17296 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17297 hidden.
17298 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17299
5f30cfec
L
173002012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17301
17302 [BZ #14538]
17303 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17304 first element of the GOT.
17305 (elf_machine_load_address): Return the difference between
17306 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17307
0786794f
AM
173082012-09-01 Allan McRae <allan@archlinux.org>
17309
5f30cfec
L
17310 [BZ #13412]
17311 * configure.in (AWK): Require gawk version 3.0 or later.
17312 * configure: Regenerated.
0786794f 17313
26889eac
JM
173142012-09-01 Joseph Myers <joseph@codesourcery.com>
17315
17316 * sysdeps/unix/sysv/linux/kernel-features.h
17317 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17318 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17319 [__NR_clock_getres]: Make code unconditional.
17320 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17321 (clock_getcpuclockid): Remove code left unreachable by removal of
17322 conditionals.
17323 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17324 code unconditional.
17325 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17326 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17327 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17328 Make code unconditional.
17329 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17330 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17331 * sysdeps/unix/sysv/linux/clock_settime.c
17332 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17333 conditional code.
17334 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17335 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17336
d22e28b0
L
173372012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17338
17339 [BZ #14476]
17340 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17341 scripts/test-installation.pl.
17342
17343 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17344 and $ld_so_version if it is set.
17345
050af9c4
SP
173462012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17347
17348 [BZ #14516]
17349 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17350 failure if reading from procfs failed.
17351 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17352
ad845c0b
JM
173532012-08-27 Joseph Myers <joseph@codesourcery.com>
17354
17355 * sysdeps/unix/sysv/linux/kernel-features.h
17356 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17357 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17358 Remove conditional code.
17359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17360 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17361 Remove conditional code.
17362 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17363 * sysdeps/unix/sysv/linux/i386/fxstat.c
17364 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17365 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17366 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17367 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17368 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17369 * sysdeps/unix/sysv/linux/i386/lxstat.c
17370 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17371 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17372 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17373 Remove conditional code.
17374 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17375 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17376 Remove conditional code.
17377 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17378 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17379 <kernel-features.h>.
17380 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17381 Remove.
17382 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17383 Remove conditional code.
17384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17385 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17386 Remove conditional.
17387
5dbf56af
MF
173882012-08-27 Mike Frysinger <vapier@gentoo.org>
17389
17390 [BZ #5400]
17391 * NEWS: Add fixed bug number.
17392
d6e70f43
JM
173932012-08-27 Joseph Myers <joseph@codesourcery.com>
17394
7efb4737
JM
17395 [BZ #14519]
17396 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17397 underflowing exponent in case of negative sign.
17398 * stdlib/tst-strtod-round-data: Add more tests.
17399 * stdlib/tst-strtod-round.c (tests): Regenerated.
17400
af92131a
JM
17401 [BZ #3479]
17402 * stdlib/strtod_l.c (NDIG): Remove.
17403 (HEXNDIG): Likewise.
17404 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17405 smallest representable value.
17406 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17407 lie within an exact representation of 1/2 ulp of the result.
17408 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17409 unconditionally.
17410 (TENS_P9_IDX): Define unconditionally.
17411 (TENS_P9_SIZE): Likewise.
17412 (TENS_P10_IDX): Likewise.
17413 (TENS_P10_SIZE): Likewise.
17414 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17415 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17416 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17417 entries for 10^2^13 and 10^2^14.
17418 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17419 (TENS_P13_IDX): Define.
17420 (TENS_P13_SIZE): Likewise.
17421 (TENS_P14_IDX): Likewise.
17422 (TENS_P14_SIZE): Likewise.
17423 (_fpioconst_pow10): Change array size to
17424 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17425 unconditional.
17426 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17427 1024]: Add entries for 10^2^13 and 10^2^14.
17428 [LAST_POW10 > _LAST_POW10]: Remove #error.
17429 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17430 (_fpioconst_pow10): Change array size to
17431 FPIOCONST_POW10_ARRAY_SIZE.
17432 * stdlib/gen-fpioconst.c: New file.
17433 * stdlib/gen-tst-strtod-round.c: Likewise.
17434 * stdlib/tst-strtod-round-data: Likewise.
17435 * stdlib/tst-strtod-round.c: Likewise.
17436 * stdlib/Makefile (tests): Add tst-strtod-round.
17437
d6e70f43
JM
17438 [BZ #14459]
17439 * stdlib/strtod_l.c: Include <stdint.h>.
17440 (NDEBUG): Do not define.
17441 (round_and_return): Change EXPONENT parameter to type intmax_t.
17442 Rearrange calculations to avoid internal overflow possibilities.
17443 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17444 Rearrange calculations to avoid internal overflow possibilities.
17445 Assert that number fits inside MPNSIZE limbs.
17446 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17447 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17448 calculations and add assertions to avoid internal overflow
17449 possibilities. Add casts to avoid signed/unsigned operations.
17450 * stdlib/tst-strtod-overflow.c: New file.
17451 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17452
1f529f7d
MP
174532012-08-25 Marek Polacek <polacek@redhat.com>
17454
17455 * time/time.h: Fix some typos in comments.
17456
59a629f1
RM
174572012-08-23 Roland McGrath <roland@hack.frob.com>
17458
17459 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17460 * posix/tst-rfc3484-2.c: Likewise.
17461 * posix/tst-rfc3484-3.c: Likewise.
17462
d3bafbc9
SM
174632012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17464
17465 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17466 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17467
4efcc022
JM
174682012-08-23 Joseph Myers <joseph@codesourcery.com>
17469
17470 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17471 #include of fxstatat64.c.
17472
3cc3ef96
RM
174732012-08-22 Roland McGrath <roland@hack.frob.com>
17474
f04e2132
RM
17475 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17476 * shadow/getspent_r.c: Likewise.
17477 * shadow/getspnam.c: Likewise.
17478 * shadow/getspnam_r.c: Likewise.
17479 * gshadow/getsgent.c: Likewise.
17480 * gshadow/getsgent_r.c: Likewise.
17481 * gshadow/getsgnam.c: Likewise.
17482 * gshadow/getsgnam_r.c: Likewise.
17483 * inet/getnetbyad.c: Likewise.
17484 * inet/getnetbyad_r.c: Likewise.
17485 * inet/getnetbynm.c: Likewise.
17486 * inet/getnetbynm_r.c: Likewise.
17487 * inet/getnetent.c: Likewise.
17488 * inet/getnetent_r.c: Likewise.
17489 * inet/getproto.c: Likewise.
17490 * inet/getproto_r.c: Likewise.
17491 * inet/getprtent.c: Likewise.
17492 * inet/getprtent_r.c: Likewise.
17493 * inet/getprtname.c: Likewise.
17494 * inet/getprtname_r.c: Likewise.
17495 * inet/getrpcbyname.c: Likewise.
17496 * inet/getrpcbyname_r.c: Likewise.
17497 * inet/getrpcbynumber.c: Likewise.
17498 * inet/getrpcbynumber_r.c: Likewise.
17499 * inet/getrpcent.c: Likewise.
17500 * inet/getrpcent_r.c: Likewise.
17501 * inet/getaliasent.c: Likewise.
17502 * inet/getaliasent_r.c: Likewise.
17503 * inet/getaliasname.c: Likewise.
17504 * inet/getaliasname_r.c: Likewise.
17505 * nscd/getgrgid_r.c: Likewise.
17506 * nscd/getgrnam_r.c: Likewise.
17507 * nscd/gethstbyad_r.c: Likewise.
17508 * nscd/gethstbynm3_r.c: Likewise.
17509 * nscd/getpwnam_r.c: Likewise.
17510 * nscd/getpwuid_r.c: Likewise.
17511 * nscd/getsrvbynm_r.c: Likewise.
17512 * nscd/getsrvbypt_r.c: Likewise.
17513 * nscd/gai.c: Likewise.
17514
c53d909c
RM
17515 * configure.in (build_nscd): New substituted variable, set
17516 by --disable-build-nscd and defaults to $use_nscd.
17517 * configure: Regenerated.
17518 * config.make.in (build-nscd): New substituted variable.
17519 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17520 Change conditional to require [$(build-nscd) = yes] as well.
17521 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17522
3cc3ef96
RM
17523 [BZ# 13696]
17524 * configure.in (use_nscd): New substituted variable, set by
17525 --disable-nscd. If enabled, define USE_NSCD.
17526 * configure: Regenerated.
17527 * config.h.in: Add USE_NSCD.
17528 * config.make.in (use-nscd): New substituted variable.
17529 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17530 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17531 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17532 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17533 (CFLAGS-getgrnam_r.c): Likewise.
17534 (CFLAGS-initgroups.c): Likewise.
17535 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17536 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17537 Variables removed.
17538 * inet/getnetgrent_r.c
17539 (nscd_setnetgrent): New function, broken out of ...
17540 (setnetgrent): ... here. Call it.
17541 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17542 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17543 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17544 * nscd/Makefile (routines, aux): Move definitions after include of
17545 Makeconfig. Conditionalize on [$(use-nscd) != no].
17546 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17547 Conditionalize on [USE_NSCD].
17548 (is_nscd, nscd_init_cb): Likewise.
17549 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17550 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17551 * nss/nss_db/db-init.c: Likewise.
17552 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17553 [USE_NSCD].
17554 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17555 (make_request): Use it.
17556 (cache_valid_p): New function.
17557 (__check_pf): Use it.
17558 * NEWS: Add item for --disable-nscd.
17559
07e51550
DL
175602012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17561
17562 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17563 to support sed >= 4.2.1-20-ga9bf076.
17564 * configure: Regenerated.
17565
35a5b08b
RM
175662012-08-22 Roland McGrath <roland@hack.frob.com>
17567
17568 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17569 Conditionalize whole body on [IREL].
17570
8479f23a
JL
175712012-08-22 Jeff Law <law@redhat.com>
17572
17573 [BZ #14505]
17574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17575 if the family is PF_UNSPEC.
17576
48da0b21
MF
175772012-08-22 Mike Frysinger <vapier@gentoo.org>
17578
17579 * Makerules (lib-version): Rename from V.
17580 (install-lib-nosubdir): Change V to lib-version.
17581
15d0da8c
WS
175822012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17583
17584 [BZ #14252]
17585 * powerpc32/power6/wcschr.c: New file.
17586 * powerpc32/power6/wcscpy.c: New file.
17587 * powerpc32/power6/wcsrchr.c: New file.
17588 * powerpc64/power6/wcschr.c: New file.
17589 * powerpc64/power6/wcscpy.c: New file.
17590 * powerpc64/power6/wcsrchr.c: New file.
17591
bcca0895
MK
175922012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17593
17594 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17595 (two_way_short_needle): Use it.
5a4aaa33
RM
17596 * string/strstr.c (AVAILABLE1_USES_J): Define.
17597 * string/strcasestr.c: Likewise.
99677e57
MK
17598
17599 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17600 array references.
17601 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17602
400726de
MK
17603 [BZ #11607]
17604 * NEWS: Add an entry.
17605 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17606 define their defaults.
17607 (two_way_short_needle): Detect end-of-string on-the-fly.
17608 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17609 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17610 * string/bug-strcasestr1.c: New test.
17611 * string/Makefile: Run it.
17612
20a71f2c
MK
176132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17614
17615 [BZ #11607]
17616 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17617 the first character.
17618
21ad0558
RM
176192012-08-21 Roland McGrath <roland@hack.frob.com>
17620
17621 * csu/elf-init.c (__libc_csu_irel): Function removed.
17622 * csu/libc-start.c (apply_irel): New function.
17623 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17624
0e1d9911
JM
176252012-08-21 Joseph Myers <joseph@codesourcery.com>
17626
17627 * sysdeps/unix/sysv/linux/kernel-features.h
17628 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17629 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17630 <kernel-features.h>.
17631 [__NR_fadvise64_64]: Make code unconditional.
17632 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17633 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17634 !__NR_fadvise64_64)]: Likewise.
17635 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17636 !__NR_fadvise64_64))]: Likewise.
17637 [__NR_fadvise64]: Make code unconditional.
17638 [!__NR_fadvise64]: Remove conditional code.
17639 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17640 <kernel-features.h>.
17641 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17642 unconditional.
17643 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17644 conditional code.
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17646 not include <kernel-features.h>.
17647 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17648 unconditional.
17649 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17650 conditional code.
17651 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17652 include <kernel-features.h>.
17653 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17654 unconditional.
17655 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17656 conditional code.
17657
14a50c9d
WS
176582012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17659
17660 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17661 slight instruction rearrangements per scrollpipe analysis.
17662 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17663
c0f4faf0
RM
176642012-08-20 Roland McGrath <roland@hack.frob.com>
17665
696da859
RM
17666 * manual/syslog.texi (syslog; vsyslog, closelog):
17667 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17668 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17669
c0f4faf0
RM
17670 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17671 DSOCAPS to match condition on defining it.
17672
348363b2
JM
176732012-08-20 Joseph Myers <joseph@codesourcery.com>
17674
a35cbf28
JM
17675 * sysdeps/unix/sysv/linux/kernel-features.h
17676 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17678 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17679 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17681 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17682 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17684 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17685 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17686
445f7ecd
JM
17687 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17688 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17689
348363b2
JM
17690 * sysdeps/unix/sysv/linux/kernel-features.h
17691 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17692 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17693 unconditional.
17694 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17695 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17696 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17697 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17698 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17699 Make code unconditional.
17700 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17701 (__mmap64) [!__NR_mmap2]: Likewise.
17702 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17703 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17704 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17705 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17706 [__NR_mmap2]: Make code unconditional.
17707 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17708 (__mmap64) [!__NR_mmap2]: Likewise.
17709
bc5bc0e5
AK
177102012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17711
17712 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17713
88d506de
AJ
177142012-08-18 Andreas Jaeger <aj@suse.de>
17715
17716 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17717
493387d2
MF
177182012-08-18 Mike Frysinger <vapier@gentoo.org>
17719
17720 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17721 * include/unistd.h (__have_sock_cloexec): Likewise.
17722 (__have_pipe2): Likewise.
17723 (__have_dup3): Likewise.
17724
a277af22
MF
177252012-08-18 Mike Frysinger <vapier@gentoo.org>
17726
17727 [BZ #9685]
17728 * include/unistd.h (__have_pipe2): Change define into an extern int.
17729 (__have_dup3): Likewise.
17730 * socket/have_sock_cloexec.c: Include fcntl.h.
17731 (__have_pipe2): New variable.
17732 (__have_dup3): Likewise.
17733
fdab8fd3
MF
177342012-08-17 Mike Frysinger <vapier@gentoo.org>
17735
17736 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17737
31035e80
MP
177382012-08-17 Marek Polacek <polacek@redhat.com>
17739
17740 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17741 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17742
3bd9e993
RM
177432012-08-17 Roland McGrath <roland@hack.frob.com>
17744
c91c505f
RM
17745 * configure.in: Add AC_SUBST for sysheaders.
17746 * configure: Regenerated.
17747 * config.make.in (sysheaders): New substituted variable.
17748
7c6f9d53
RM
17749 * sysdeps/unix/mkfifo.c: Moved ...
17750 * sysdeps/posix/mkfifo.c: ... here.
17751 * sysdeps/unix/mkfifoat.c: Moved ...
17752 * sysdeps/posix/mkfifoat.c: ... here.
17753
17754 * sysdeps/unix/utime.c: Moved ...
17755 * sysdeps/posix/utime.c: ... here.
17756
17757 * sysdeps/unix/time.c: Moved ...
17758 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17759 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17760 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17761
17762 * sysdeps/unix/nice.c: Moved ...
17763 * sysdeps/posix/nice.c: ... here.
17764
17765 * sysdeps/unix/alarm.c: Moved ...
17766 * sysdeps/posix/alarm.c: ... here.
17767
3bd9e993
RM
17768 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17769
d1f09384
JL
177702012-08-17 Jeff Law <law@redhat.com>
17771
17772 * intl/Makefile (codeset_mo): New variable.
17773 ($(codeset_mo)): New target.
17774 (tst-codeset.out): Depend on that. Remove explicit rule.
17775 (tst-gettext3.out, tst-gettext5.out): Likewise.
17776 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17777 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17778 * intl/tst-codeset.sh: Remove.
17779 * intl/tst-gettext3.sh: Likewise.
17780 * intl/tst-gettext5.sh: Likewise.
17781
2ae1ae5c
RM
177822012-08-17 Roland McGrath <roland@hack.frob.com>
17783
c31fdb83
RM
17784 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17785 * sysdeps/unix/syscalls.list: ... here.
17786
a0844057
RM
17787 * sysdeps/posix/getaddrinfo.c
17788 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17789 (gaiconf_init, gaiconf_reload): Use them.
17790 [!_STATBUF_ST_NSEC]
17791 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17792 Define using time_t rather than struct timespec.
17793
750c1f2a
RM
17794 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17795 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17796 Macros removed.
17797 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17798 [!NO_THREADS].
17799 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17800 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17801 Likewise.
17802
2ae1ae5c
RM
17803 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17804 __libc_cleanup_push argument.
17805
e66a42f5
RM
17806 * bits/param.h: New file.
17807 * misc/sys/param.h: New file.
17808 * include/sys/param.h: New file.
17809 * misc/Makefile (headers): Add bits/param.h.
17810 * sysdeps/generic/sys/param.h: File removed.
17811 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17812 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17813 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17814 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17815
b7c08a66
RM
17816 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17817 last change.
17818
b2e1c562
RM
17819 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17820 [_IO_MTSAFE_IO].
17821 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17822 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17823 New macros.
17824
c75ccd4c
RM
17825 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17826 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17827 rather than -D_IO_MTSAFE_IO conditionally.
17828 * stdio-common/Makefile (CPPFLAGS): Likewise.
17829 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17830 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17831 Use $(libio-mtsafe).
17832 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17833 of -D_IO_MTSAFE_IO.
17834 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17835 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17836 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17837 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17838 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17839 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17840 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17841 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17842 (CFLAGS-fread_u_chk.c): Likewise.
17843 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17844 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17845 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17846 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17847 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17848 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17849 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17850 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17851 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17852
17853 * libio/Makefile: Test [$(libc-reentrant) = yes]
17854 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17855
17856 * Makeconfig
17857 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17858 * sysdeps/pthread/configure: File removed.
17859 * sysdeps/pthread/Makeconfig: New file.
17860 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17861 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17862
d9195db8
GB
178632012-08-16 Gary Benson <gbenson@redhat.com>
17864
17865 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17866 unmapping the first object in a namespace.
17867
86466cd9
RM
178682012-08-16 Roland McGrath <roland@hack.frob.com>
17869
17870 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17871 (__internal_setnetgrent): ... this. Add internal_function to
17872 definition. Add libc_hidden_def.
17873 (setnetgrent): Update caller.
17874 (internal_endnetgrent): Renamed to ...
17875 (__internal_endnetgrent): ... this. Add internal_function to
17876 definition. Add libc_hidden_def.
17877 (endnetgrent): Update caller.
17878 (internal_getnetgrent_r): Renamed to ...
17879 (__internal_getnetgrent_r): ... this. Add internal_function to
17880 definition. Add libc_hidden_def.
17881 (__getnetgrent_r): Update caller.
17882 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17883
c3c8283c
JM
178842012-08-16 Joseph Myers <joseph@codesourcery.com>
17885
17886 * stdlib/longlong.h: Update from GCC.
17887
db1ee0a8
RM
178882012-08-16 Roland McGrath <roland@hack.frob.com>
17889
17890 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17891 on _QL, which is set by umul_ppmm but never used.
17892 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17893 variables, which are set by GMP macros but never used.
17894 * stdio-common/_itowa.c (_itowa): Likewise.
17895 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17896 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17897
30f69637
CD
178982012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17899
17900 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17901 struct La_sh_regs is not constant.
17902 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17903 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17904 and struct La_sparc64_regs are not constant.
17905
93a78ac4
JM
179062012-08-16 Joseph Myers <joseph@codesourcery.com>
17907
17908 * sysdeps/unix/sysv/linux/kernel-features.h
17909 (__ASSUME_POSIX_TIMERS): Remove.
17910 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17911 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17912 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17913 Make code unconditional.
17914 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17915 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17916 Make code unconditional.
17917 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17918 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17919 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17920 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17921 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17922 Make code unconditional.
17923 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17924 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17925 (__libc_missing_posix_timers): Remove.
17926
dd924cd7
RM
179272012-08-15 Roland McGrath <roland@hack.frob.com>
17928
4b4f2771
RM
17929 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17930 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17931
601c888b
RM
17932 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17933
176790a7
RM
17934 * elf/dl-sym.c: Include <stdlib.h>.
17935
329bc018
RM
17936 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17937 constants, which avoids warnings in 32-bit builds.
17938
e04e272d
RM
17939 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17940 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17941
952bf94a
RM
17942 * misc/lseek.c: File moved to ...
17943 * io/lseek.c: ... here.
17944
7c99b50a
RM
17945 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17946
dd924cd7
RM
17947 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17948 shifting LEN more than 31 bits at once.
17949
b3f479a8
LD
179502012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17951
17952 [BZ #14195]
8c4ae0d4
RM
17953 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17954 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17955 * string/test-strncasecmp.c (check1): Renamed to...
17956 (bz12205): ...this.
17957 (bz14195): Add new testcase for two empty input strings and N > 0.
17958 (test_main): Call new testcase, adapt for renamed function.
17959
9c55864e
AJ
179602012-08-15 Andreas Jaeger <aj@suse.de>
17961
17962 [BZ #14090]
17963 * crypt/md5test2.c: New test, based on test supplied by Serge
17964 Belyshev <belyshev@depni.sinp.msu.ru>.
17965 * crypt/Makefile (xtests): Add md5test-giant..
17966 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17967
02dcb6c5
PE
179682012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17969
17970 [BZ #14090]
17971 * crypt/md5.c (md5_process_block): Don't assume the buffer
17972 length is less than 2**32.
17973 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17974 length is less than 2**64.
17975
a3f95dcc
RM
179762012-08-15 Roland McGrath <roland@hack.frob.com>
17977
be75d758
RM
17978 * string/str-two-way.h: Include <sys/param.h>.
17979 (MAX): Macro removed.
17980
7312ca90
RM
17981 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17982 Move #define and #undef of memmove to just before and after
17983 including <string.h>.
17984
9a0a5486
RM
17985 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17986 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17987 and after including <string.h>. Move declarations of
17988 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17989 to before #include "string/memmove.c".
17990
67cc348d
RM
17991 * include/dirent.h: Declare __getdirentries.
17992
a3f95dcc
RM
17993 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17994 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17995
ca98e171
MF
179962012-08-14 Mike Frysinger <vapier@gentoo.org>
17997
17998 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17999 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18000 * sysdeps/i386/configure: Regenerated.
18001 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18002 STABS_CURRENT_FILE, and STABS_FUN.
18003 (END): Remove call to STABS_FUN_END.
18004 (STABS_CURRENT_FILE1): Delete.
18005 (STABS_CURRENT_FILE): Likewise.
18006 (STABS_FUN): Likewise.
18007 (STABS_FUN_END): Likewise.
18008 (STABS_FUN2): Likewise.
18009 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18010 * sysdeps/x86_64/configure: Regenerated.
18011
5908bf46
RM
180122012-08-14 Roland McGrath <roland@hack.frob.com>
18013
18014 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18015 * elf/dl-lookup.c: Likewise.
5908bf46 18016
f2c05b9e
JM
180172012-08-14 Joseph Myers <joseph@codesourcery.com>
18018
18019 * sysdeps/unix/sysv/linux/kernel-features.h
18020 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18021 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18022 unconditionally.
18023 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18024 unconditionally.
18025 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18026 condition on __ASSUME_CLONE_THREAD_FLAGS.
18027
e11f5155
AJ
180282012-08-14 Andreas Jaeger <aj@suse.de>
18029
18030 * sysdeps/i386/fpu/libm-test-ulps: Update.
18031
51a9ba86
MK
180322012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18033
2fdd4f78
AJ
18034 * include/atomic.h (atomic_exchange_and_add): Split into ...
18035 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18036 New atomic macros.
51a9ba86 18037
ba6cba9e
MT
180382012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18039
18040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18041
42443a47
JL
180422012-08-13 Jeff Law <law@redhat.com>
18043
18044 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18045 null byte in the output string.
18046
121dce05
JM
180472012-08-10 Joseph Myers <joseph@codesourcery.com>
18048
18049 * sysdeps/unix/sysv/linux/kernel-features.h
18050 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18051 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18052 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18053 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18054 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18055 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18056 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18057
bf51f568
JL
180582012-08-09 Jeff Law <law@redhat.com>
18059
18060 [BZ #13939]
18061 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18062 When avoid_arena is set, don't retry in the that arena. Pick the
18063 next one, whatever it might be.
18064 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18065 (arena_lock): Pass in new parameter to arena_get2.
18066 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18067 arena_get2.
18068 (__libc_malloc): Unify retrying after main arena failure with
18069 __libc_memalign version.
18070 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18071
f85fa270
L
180722012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18073
18074 [BZ #14166]
18075 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18076 to __redirect_strstr.
18077 (__strstr_sse42): Use typeof __redirect_strstr.
18078 (__strstr_ia32): Likewise.
18079 (__libc_strstr): New prototype.
18080 (strstr): Renamed to ...
18081 (__libc_strstr): This.
18082 (strstr): New strong alias of __libc_strstr.
18083 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18084 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18085 __redirect_time.
18086 Include <time.h>.
18087 (__libc_time): New prototype.
18088 (time_ifunc): Replace time with __libc_time.
18089 (time): New strong alias and hidden definition of __libc_time.
18090 (__GI_time): Remove strong alias.
18091 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18092 Include <stddef.h>.
18093 (memmove): Redefined to __redirect_memmove.
18094 (__memmove_sse2): Use typeof __redirect_memmove.
18095 (__memmove_ssse3): Likewise.
18096 (__memmove_ssse3_back): Likewise.
18097 (__libc_memmove): New prototype.
18098 (memmove): Renamed to ...
18099 (__libc_memmove): This.
18100 (memmove): New strong alias of __libc_memmove.
18101
33b4a91e
MS
181022012-08-08 Mark Salter <msalter@redhat.com>
18103
18104 * elf/elf.h
18105 (R_MN10300_TLS_GD): Define.
18106 (R_MN10300_TLS_LD): Likewise.
18107 (R_MN10300_TLS_LDO): Likewise.
18108 (R_MN10300_TLS_GOTIE): Likewise.
18109 (R_MN10300_TLS_IE): Likewise.
18110 (R_MN10300_TLS_LE): Likewise.
18111 (R_MN10300_TLS_DTPMOD): Likewise.
18112 (R_MN10300_TLS_DTPOFF): Likewise.
18113 (R_MN10300_TLS_TPOFF): Likewise.
18114 (R_MN10300_SYM_DIFF): Likewise.
18115 (R_MN10300_ALIGN): Likewise.
18116 (R_MN10300_NUM): Update.
18117
b36137f1
JM
181182012-08-08 Joseph Myers <joseph@codesourcery.com>
18119
18120 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18121 Remove.
18122
cdd915fd
RM
181232012-08-08 Roland McGrath <roland@hack.frob.com>
18124
a2433aac
RM
18125 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18126
cdd915fd
RM
18127 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18128 sysdeps/unix -> sysdeps/posix move.
18129 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18130
bf9b740a
AM
181312012-08-07 Allan McRae <allan@archlinux.org>
18132
18133 [BZ #14303]
18134 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18135 (SUNOS_CPP): Likewise.
18136 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18137 not found.
18138 (open_input): Call CPP using execvp.
18139
93df14ee
JM
181402012-08-07 Joseph Myers <joseph@codesourcery.com>
18141
18142 * sysdeps/unix/sysv/linux/kernel-features.h
18143 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18144 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18145 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18146 (__ASSUME_WAITID_SYSCALL): Likewise.
18147 * sysdeps/unix/sysv/linux/dl-execstack.c
18148 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18149 code unconditional.
18150 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18151 conditional code.
18152 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18153 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18154 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18155 code.
18156 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18157 unconditional.
18158 [__ASSUME_WAITID_SYSCALL]: Likewise.
18159 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18160
d34689de
RM
181612012-08-07 Roland McGrath <roland@hack.frob.com>
18162
a281decc
RM
18163 * sysdeps/unix/closedir.c: Renamed to ...
18164 * sysdeps/posix/closedir.c: ... here.
18165 * sysdeps/unix/dirfd.c: Renamed to ...
18166 * sysdeps/posix/dirfd.c: ... here.
18167 * sysdeps/unix/dirstream.h: Renamed to ...
18168 * sysdeps/posix/dirstream.h: ... here.
18169 * sysdeps/unix/fdopendir.c: Renamed to ...
18170 * sysdeps/posix/fdopendir.c: ... here.
18171 * sysdeps/unix/opendir.c: Renamed to ...
18172 * sysdeps/posix/opendir.c: ... here.
18173 * sysdeps/unix/readdir.c: Renamed to ...
18174 * sysdeps/posix/readdir.c: ... here.
18175 * sysdeps/unix/readdir_r.c: Renamed to ...
18176 * sysdeps/posix/readdir_r.c: ... here.
18177 * sysdeps/unix/rewinddir.c: Renamed to ...
18178 * sysdeps/posix/rewinddir.c: ... here.
18179 * sysdeps/unix/seekdir.c: Renamed to ...
18180 * sysdeps/posix/seekdir.c: ... here.
18181 * sysdeps/unix/telldir.c: Renamed to ...
18182 * sysdeps/posix/telldir.c: ... here.
18183 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18184 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18185 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18186 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18187
22895b47
RM
18188 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18189 * bits/fcntl.h: ... here.
18190
707a53b6
RM
18191 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18192 not 0.
18193 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18194 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18195 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18196 (struct flock): Move l_start, l_len to the beginning.
18197 Use __pid_t for l_pid.
18198 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18199 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18200 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18201 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18202 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18203 [__USE_LARGEFILE64] (struct flock64): New type.
18204 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18205
f0bd3e25
RM
18206 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18207 * bits/dirent.h: ... here.
18208
d34689de
RM
18209 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18210 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18211
6dad2c06
JM
182122012-08-07 Joseph Myers <joseph@codesourcery.com>
18213
18214 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18215 Change from 2.6.0 to 2.6.16.
18216 * sysdeps/unix/sysv/linux/configure: Regenerated.
18217 * sysdeps/unix/sysv/linux/kernel-features.h
18218 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18219 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18220 version.
18221 (__ASSUME_UTIMES): Likewise.
18222 (__ASSUME_CLONE_STOPPED): Remove.
18223 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18224 architectures, not kernel version.
18225 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18226 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18227 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18228 (__ASSUME_WAITID_SYSCALL): Likewise.
18229 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18230 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18231 * README: State 2.6.16 as minimum Linux kernel version. Do not
18232 refer to older versions.
18233
03af9520
RM
182342012-08-06 Roland McGrath <roland@hack.frob.com>
18235
8e49df1d
RM
18236 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18237 Define alphasort64 as an alias.
18238 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18239 Define versionsort64 as an alias.
18240 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18241 Define scandir64 as an alias.
18242 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18243 Define scandirat64 as an alias.
18244 * dirent/alphasort64.c (alphasort64):
18245 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18246 * dirent/versionsort64.c: Likewise.
18247 * dirent/scandir64.c: Likewise.
18248 * dirent/scandirat64.c: Likewise.
18249 * sysdeps/wordsize-64/alphasort.c: File removed.
18250 * sysdeps/wordsize-64/alphasort64.c: File removed.
18251 * sysdeps/wordsize-64/scandir.c: File removed.
18252 * sysdeps/wordsize-64/scandir64.c: File removed.
18253 * sysdeps/wordsize-64/scandirat.c: File removed.
18254 * sysdeps/wordsize-64/scandirat64.c: File removed.
18255 * sysdeps/wordsize-64/versionsort.c: File removed.
18256 * sysdeps/wordsize-64/versionsort64.c: File removed.
18257 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18258 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18259 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18260 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18261 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18262 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18263 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18264 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18265
18266 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18267 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18268 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18269 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18270 [defined __arch64__ || defined __sparcv9]
18271 (__INO_T_MATCHES_INO64_T): New macro.
18272 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18273 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18274 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18275 * sysdeps/unix/sysv/linux/bits/dirent.h
18276 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18277 (_DIRENT_MATCHES_DIRENT64): New macro.
18278
03af9520
RM
18279 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18280 Define lockf64 as an alias.
18281 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18282 Define fseeko64 as an alias.
18283 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18284 Define ftello64 as an alias.
18285 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18286 Define _IO_fgetpos64 and fgetpos64 as aliases.
18287 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18288 Define _IO_fsetpos64 and fsetpos64 as aliases.
18289 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18290 Conditionalize body on this.
18291 * libio/fseeko64.c: Likewise.
18292 * libio/ftello64.c: Likewise.
18293 * libio/iofgetpos64.c: Likewise.
18294 * libio/iofsetpos64.c: Likewise.
18295 * sysdeps/wordsize-64/lockf.c: File removed.
18296 * sysdeps/wordsize-64/lockf64.c: File removed.
18297 * sysdeps/wordsize-64/fseeko.c: File removed.
18298 * sysdeps/wordsize-64/fseeko64.c: File removed.
18299 * sysdeps/wordsize-64/ftello.c: File removed.
18300 * sysdeps/wordsize-64/ftello64.c: File removed.
18301 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18302 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18303 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18304 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18305 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18306 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18307 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18308 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18309 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18310 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18311 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18312 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18313 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18314 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18315
18316 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18318 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18319 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18320 [defined __arch64__ || defined __sparcv9]
18321 (__OFF_T_MATCHES_OFF64_T): New macro.
18322 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18323 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18324 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18325 (__OFF_T_MATCHES_OFF64_T): New macro.
18326
c5757acd
L
183272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18328
18329 * stdlib/secure-getenv.c (__secure_getenv): Replace
18330 GLIBC_2_16 with GLIBC_2_17.
18331
3a31811e
L
183322012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18333
18334 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18335 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18336
faa2bccb
DM
183372012-08-03 David S. Miller <davem@davemloft.net>
18338
18339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18340
85fe1997
JM
183412012-08-03 Joseph Myers <joseph@codesourcery.com>
18342
18343 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18344 Remove.
18345 (__ASSUME_CORRECT_SI_PID): Likewise.
18346 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18347 (__ASSUME_TMPFS_NAME): Likewise.
18348 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18349 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18350 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18351 (HAVE_AUX_SECURE): Make definition unconditional.
18352 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18353 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18354
4f75b7a0
RM
183552012-08-03 Roland McGrath <roland@hack.frob.com>
18356
18357 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18358 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18359 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18360 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18361 __eloop_threshold instead of SYMLOOP_MAX.
18362
18363 * sysdeps/generic/eloop-threshold.h: New file.
18364 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18365 of MAXSYMLINKS.
18366 * elf/chroot_canon.c (chroot_canon): Likewise.
18367
7aab07e4
JM
183682012-08-03 Joseph Myers <joseph@codesourcery.com>
18369
18370 [BZ #13717]
18371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18372 Change to 2.6.0 everywhere.
18373 * sysdeps/unix/sysv/linux/configure: Regenerated.
18374 * sysdeps/unix/sysv/linux/kernel-features.h
18375 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18376 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18377 kernel versions.
18378 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18379 (__ASSUME_FUTEX_REQUEUE): Remove.
18380 (__ASSUME_STATFS64): Define unconditionally.
18381 (__ASSUME_AT_SECURE): Likewise.
18382 (__ASSUME_CORRECT_SI_PID): Likewise.
18383 (__ASSUME_TGKILL): Define without depending on kernel version for
18384 i386.
18385 (__ASSUME_UTIMES): Likewise.
18386 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18387 kernel version.
18388 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18389 (__ASSUME_TMPFS_NAME): Likewise.
18390 * README: Update reference to Linux kernel versions.
18391
b67e9372
MP
183922012-08-02 Marek Polacek <polacek@redhat.com>
18393
1f529f7d 18394 [BZ# 14150]
b67e9372
MP
18395 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18396 libc_cv_asm_type_prefix with %.
18397 * configure: Regenerated.
d2441631
RM
18398 * include/libc-symbols.h: Remove comment about
18399 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18400 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18401 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18402 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18403 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18404 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18405 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18406 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18407 * elf/tst-unique2mod1.c: Likewise.
18408 * elf/tst-unique1mod2.c: Likewise.
18409 * elf/tst-unique1mod1.c: Likewise.
18410 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18411 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18412 Replace ASM_TYPE_DIRECTIVE with .type.
18413 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18414 * sysdeps/i386/sysdep.h: Likewise.
18415 * sysdeps/x86_64/sysdep.h: Likewise.
18416 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18418 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18419 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18420 * sysdeps/powerpc/powerpc32/sysdep.h:
18421 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18422 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18423 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18424 * sysdeps/i386/fpu/e_powf.S: Likewise.
18425 * sysdeps/i386/fpu/e_expl.S: Likewise.
18426 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18427 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18428 * sysdeps/i386/fpu/e_pow.S: Likewise.
18429 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18430 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18431 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18432 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18433 * sysdeps/i386/fpu/e_log2.S: Likewise.
18434 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18435 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18436 * sysdeps/i386/fpu/e_powl.S: Likewise.
18437 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18438 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18439 * sysdeps/i386/fpu/e_logl.S: Likewise.
18440 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18441 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18442 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18443 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18444 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18445 * sysdeps/i386/fpu/e_log.S: Likewise.
18446 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18447 * sysdeps/i386/fpu/e_logf.S: Likewise.
18448 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18449 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18450 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18451 * sysdeps/i386/fpu/e_log10.S: Likewise.
18452 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18453 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18454 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18455 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18456 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18457 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18458 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18459 * sysdeps/i386/i686/strtok.S: Likewise.
18460 * sysdeps/i386/i386-mcount.S: Likewise.
18461 * sysdeps/i386/strtok.S: Likewise.
18462 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18463 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18464 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18465 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18466 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18467 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18468 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18469 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18470 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18471 * sysdeps/x86_64/_mcount.S: Likewise.
18472 * sysdeps/x86_64/strtok.S: Likewise.
18473 * sysdeps/sh/_mcount.S: Likewise.
18474
2747bf9a
RM
184752012-08-01 Roland McGrath <roland@hack.frob.com>
18476
18477 * libio/iofopen.c: Include <fcntl.h>.
18478 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18479 (_IO_fopen64, fopen64): Define as aliases.
18480 * libio/iofopen64.c: Include <fcntl.h>.
18481 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18482 Conditionalize body on this.
18483 * sysdeps/wordsize-64/iofopen.c: File removed.
18484 * sysdeps/wordsize-64/iofopen64.c: File removed.
18485
3fb791b8
MP
184862012-08-01 Marek Polacek <polacek@redhat.com>
18487
18488 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18489 Use dlfcn directly instead of a variable.
18490 (binfmt-subdir): Do not define.
18491 (dlfcn): Likewise.
18492
a9f1039f
JM
184932012-08-01 Joseph Myers <joseph@codesourcery.com>
18494
23bddc06
JM
18495 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18496 Remove all definitions.
18497 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18498 <kernel-features.h>.
18499 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18500 (miss_F_GETOWN_EX): Remove all definitions.
18501 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18502 macro definition.
18503 [!__ASSUME_FCNTL64]: Remove conditional code.
18504 [__ASSUME_FCNTL64]: Make code unconditional.
18505 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18506 <kernel-features.h>.
18507 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18508 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18509 (lockf64) [__NR_fcntl64]: Make code unconditional.
18510 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18511
a9f1039f
JM
18512 * sysdeps/unix/sysv/linux/kernel-features.h
18513 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18514 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18515 Make code unconditional.
18516 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18517 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18519 [__NR_vfork]: Make code unconditional.
18520 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18521 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18523 [__NR_vfork]: Make code unconditional.
18524 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18525 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18526
09c0ee5f
RM
185272012-08-01 Roland McGrath <roland@hack.frob.com>
18528
48aec5b9
RM
18529 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18530 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18531
cd97c966
RM
18532 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18533 Define mkstemp64 as an alias.
3f55550c
RM
18534 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18535 Define mkstemps64 as an alias.
cd97c966
RM
18536 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18537 Define mkostemp64 as an alias.
b8625cfc
RM
18538 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18539 Define mkostemps64 as an alias.
cd97c966
RM
18540 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18541 Conditionalize body on this.
18542 * misc/mkostemp64.c: Likewise.
b8625cfc 18543 * misc/mkostemps64.c: Likewise.
3f55550c 18544 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18545 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18546 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18547 * sysdeps/wordsize-64/mkostemp.c: File removed.
18548 * sysdeps/wordsize-64/mkstemp.c: File removed.
18549 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18550 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18551 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18552 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18553
09c0ee5f
RM
18554 [BZ #14138]
18555 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18556 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18557 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18558 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18559
18560 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18561 compat_symbol macros from <shlib-compat.h> rather than the underlying
18562 default_symbol_version and symbol_version macros, so that DEFAULT
18563 lines in shlib-versions are respected.
18564 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18565
7e66ee51
FW
185662012-08-01 Florian Weimer <fweimer@redhat.com>
18567
18568 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18569 Declare with warn_unused_result.
18570 (setgid, setregid, setegid, setresgid): Likewise.
18571 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18572 Likewise.
18573 * WUR-REPORT: Remove set*id functions.
18574
d2a54255
PT
185752012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18576
18577 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18578
7ecdb005
RM
185792012-07-31 Roland McGrath <roland@hack.frob.com>
18580
b4180a5e 18581 [BZ #10191]
789bd351
RM
18582 * include/sys/socket.h (__libc_accept, __libc_accept4):
18583 Add attribute_hidden.
18584 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18585
40ce302d
RM
18586 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18587 use of PTR_MANGLE.
18588 * inet/getnetgrent_r.c (setup): Likewise.
18589
7ecdb005
RM
18590 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18591
e2eabb2c
DM
185922012-07-31 David S. Miller <davem@davemloft.net>
18593
18594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18595
d0419dbf
JM
185962012-07-31 Joseph Myers <joseph@codesourcery.com>
18597
18598 [BZ #13629]
18599 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18600 value between 1.0 and 2.0 and smaller part has absolute value less
18601 than 1.0.
18602 * math/s_clog10.c (__clog10): Likewise.
18603 * math/s_clog10f.c (__clog10f): Likewise.
18604 * math/s_clog10l.c (__clog10l): Likewise.
18605 * math/s_clogf.c (__clogf): Likewise.
18606 * math/s_clogl.c (__clogl): Likewise.
18607 * math/libm-test.inc (clog_test): Add more tests.
18608 (clog10_test): Likewise.
18609 * sysdeps/i386/fpu/libm-test-ulps: Update.
18610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18611
2bc13872
FW
186122012-07-31 Florian Weimer <fweimer@redhat.com>
18613
18614 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18615 Exit with zero in case no suitable GID is found, and write a
18616 message to standard error.
18617
bea9b193
RM
186182012-07-30 Roland McGrath <roland@hack.frob.com>
18619
18620 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18621 rather than to 1.
18622 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18623 (MAXPATHLEN): Removed.
18624 (NOGROUP, NODEV): New macros.
18625 (setbit, clrbit, isset, isclr): New macros.
18626 (howmany, roundup, powerof2): New macros.
18627 (DEV_BSIZE): New macro.
18628
18629 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18630 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18631
18632 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18633 definition on [!__NO_LONG_DOUBLE_MATH].
18634
18635 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18636 PTR_MANGLE and PTR_DEMANGLE.
18637
18638 * socket/accept4.c (accept4): Rename to __libc_accept4.
18639 Define accept4 as a weak alias.
18640
18641 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18642 on [_DIRENT_HAVE_D_TYPE].
18643 * io/ftw.c (ftw_dir): Likewise.
18644
18645 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18646
18647 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18648
18649 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18650 Use the BSD numbers rather than the arbitrary ones we had.
18651 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18652 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18653 (SIGXCPU, SIGXFSZ): New macros.
18654 (_NSIG): Now 32.
18655
18656 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18657 initializer on [_LIBC_REENTRANT].
18658
18659 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18660 definitions inside [_POSIX_MAPPED_FILES].
18661
18662 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18663
18664 * dirent/opendir.c: Include <fcntl.h>.
18665
18666 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18667 (__libc_getspecific): Likewise.
18668 (__libc_key_create): Likewise.
18669
18670 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18671 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18672 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18673 (tmpfile64): Define as alias.
18674 * sysdeps/wordsize-64/tmpfile.c: File removed.
18675 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18676 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18677 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18678
18679 * stdio-common/vfscanf.c: Include <stdbool.h>.
18680 * nss/makedb.c: Likewise.
18681 * stdio-common/_i18n_number.h: Likewise.
18682 * argp/argp-help.c: Likewise.
18683 * posix/wordexp.c: Likewise.
18684 * sysdeps/posix/spawni.c: Likewise.
18685 * nss/nss_files/files-initgroups.c: Likewise.
18686 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18687 * nss/nss_files/files-initgroups.c: Likewise.
18688 * nss/nss_db/db-netgrp.c: Likewise.
18689 * nss/nss_db/db-initgroups.c: Likewise.
18690 * io/fchmodat.c: Include <sys/stat.h>.
18691
18692 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18693 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18694
18695 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18696 [HAVE_MMAP].
18697
18698 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18699 Add multiple inclusion protection.
18700
e5abc686
DM
187012012-07-27 David S. Miller <davem@davemloft.net>
18702
18703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18704
815e6fa3
GB
187052012-07-27 Gary Benson <gbenson@redhat.com>
18706
18707 [BZ #14298]
18708 * elf/rtld.c: Include <stap-probe.h>.
18709 (dl_main): Added static probes "init_start" and "init_complete".
18710 * elf/dl-load.c: Include <stap-probe.h>.
18711 (lose): Take new parameter "nsid".
18712 Added static probe "map_failed".
18713 (_dl_map_object_from_fd): Pass namespace id to lose.
18714 Added static probe "map_start".
18715 (open_verify): Pass namespace id to lose.
18716 * elf/dl-open.c: Include <stap-probe.h>.
18717 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18718 and "reloc_complete".
18719 * elf/dl-close.c: Include <stap-probe.h>.
18720 (_dl_close_worker): Added static probes "unmap_start" and
18721 "unmap_complete".
18722 * elf/rtld-debugger-interface.txt: New file documenting the above.
18723
9f98c16c
RM
187242012-07-26 Roland McGrath <roland@hack.frob.com>
18725
18726 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18727 rather than a string variable.
18728 * sunrpc/rpc_main.c (h_output): Likewise.
18729 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18730
f3c22df3
PT
187312012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18732
18733 * inet/check_native.c: New file.
18734
3129cfc6
JM
187352012-07-26 Joseph Myers <joseph@codesourcery.com>
18736
da865e95
JM
18737 [BZ #13629]
18738 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18739 if larger part has absolute value 1.0.
18740 * math/s_clog10.c (__clog10): Likewise.
18741 * math/s_clog10f.c (__clog10f): Likewise.
18742 * math/s_clog10l.c (__clog10l): Likewise.
18743 * math/s_clogf.c (__clogf): Likewise.
18744 * math/s_clogl.c (__clogl): Likewise.
18745 * math/libm-test.inc (clog_test): Add more tests.
18746 (clog10_test): Likewise.
18747 * sysdeps/i386/fpu/libm-test-ulps: Update.
18748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18749
3129cfc6
JM
18750 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18751 (pltexit): Likewise.
18752 (La_regs): Likewise.
18753 (La_retval): Likewise.
18754 (int_retval): Likewise.
18755 Update #error for removed macros to refer only to definitions in
18756 tst-audit.h.
18757 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18758 macro.
18759 (pltexit): Likewise.
18760 (La_regs): Likewise.
18761 (La_retval): Likewise.
18762 (int_retval): Likewise.
18763 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18764 macro.
18765 (pltexit): Likewise.
18766 (La_regs): Likewise.
18767 (La_retval): Likewise.
18768 (int_retval): Likewise.
18769 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18770 macro.
18771 (pltexit): Likewise.
18772 (La_regs): Likewise.
18773 (La_retval): Likewise.
18774 (int_retval): Likewise.
18775 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18776 macro.
18777 (pltexit): Likewise.
18778 (La_regs): Likewise.
18779 (La_retval): Likewise.
18780 (int_retval): Likewise.
18781 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18782 macro.
18783 (pltexit): Likewise.
18784 (La_regs): Likewise.
18785 (La_retval): Likewise.
18786 (int_retval): Likewise.
18787 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18788 macro.
18789 (pltexit): Likewise.
18790 (La_regs): Likewise.
18791 (La_retval): Likewise.
18792 (int_retval): Likewise.
18793 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18794 macro definitions in tst-audit.h.
18795 * sysdeps/i386/tst-audit.h: New file.
18796 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18797 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18798 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18799 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18800 * sysdeps/sh/tst-audit.h: Likewise.
18801 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18802 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18803 * sysdeps/x86_64/tst-audit.h: Likewise.
18804
bfc07087
AJ
188052012-07-26 Andreas Jaeger <aj@suse.de>
18806
b1b2aaf8
AJ
18807 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18808 ptrace.
18809
18810 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18811 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18812 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18813 PTRACE_O_MASK.
18814 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18815 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18816 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18817
bfc07087
AJ
18818 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18819 value.
18820
18821 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18822 _sigsys.
18823 (si_call_addr, si_syscall, si_arch): Define new macro.
18824 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18825 _sigsys.
18826 (si_call_addr, si_syscall, si_arch): Define new marcro.
18827 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18828 _sigsys.
18829 (si_call_addr, si_syscall, si_arch): Define new macro.
18830 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18831 _sigsys.
18832 (si_call_addr, si_syscall, si_arch): Define new macro.
18833
89b4b02f
JM
188342012-07-25 Joseph Myers <joseph@codesourcery.com>
18835
18836 [BZ #13717]
18837 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18838 Change to 2.4.21 where previously 2.4.1.
18839 * sysdeps/unix/sysv/linux/configure: Regenerated.
18840 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18841 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18842 Linux kernel version.
18843 (__ASSUME_STD_AUXV): Remove.
18844 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18845 kernel version.
18846 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18847 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18848 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18849 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18850 (__ASSUME_NETLINK_SUPPORT): Likewise.
18851 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18852 (__no_netlink_support): Remove conditional definition.
18853 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18854 Remove.
18855 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18856 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18857 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18858 (if_nameindex_ioctl): Remove.
18859 (if_nameindex_netlink): Do not handle __no_netlink_support.
18860 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18861 code.
18862 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18863 Remove conditional code.
18864 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18865 code.
18866 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18867 unconditional.
18868 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18869 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18870 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18871 Remove.
18872 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18873 [!__ASSUME_STD_AUXV]: Remove conditional code.
18874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18875 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18876 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18878 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18879 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18880 code.
18881 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18883 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18884 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18885 conditional code.
18886 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18888 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18889 code.
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18891 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18892 conditional code.
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18894 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18895 code unconditional.
18896 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18897 conditional code.
18898 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18899 unconditional.
18900 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18901 conditional code.
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18903 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18904 unconditional.
18905 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18906 conditional code.
18907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18908 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18909 code unconditional.
18910 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18911 conditional code.
18912 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18913 unconditional.
18914 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18915 conditional code.
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18917 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18918 code unconditional.
18919 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18920 conditional code.
18921 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18922 unconditional.
18923 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18924 conditional code.
18925
842a39cd
AS
189262012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18927
18928 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18929 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18930 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18931 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18932 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18933 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18934 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18935 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18936 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18937 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18938 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18939 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18940 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18941 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18942 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18943 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18944 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18945 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18946 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18948 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18949 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18950 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18951
84b3fd84
FW
189522012-07-25 Florian Weimer <fweimer@redhat.com>
18953
18954 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18955 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18956 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18957 Introduce __libc_secure_getenv.
0c7936d5
FW
18958 * stdlib/Versions (2.17): Add secure_getenv
18959 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18960 * stdlib/secure-getenv.c: Rename __secure_getenv to
18961 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18962 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18963 * stdlib/tst-secure-getenv.c: New.
18964 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18965 * manual/startup.texi (Environment Access): Document
18966 secure_getenv.
84b3fd84
FW
18967 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18968 __libc_secure_getenv.
18969 * inet/ruserpass.c (ruserpass): Likewise.
18970 * malloc/mtrace.c (mtrace): Likewise.
18971 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18972 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18973 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18974 * sysdeps/posix/tempname.c: Likewise. Evaluate
18975 HAVE_SECURE_GETENV.
18976 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18977 __secure_getenv to __libc_secure_getenv.
84b3fd84 18978 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18980 Likewise.
18981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18982 Likewise.
18983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18985 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18990
56e49b71
JM
189912012-07-25 Joseph Myers <joseph@codesourcery.com>
18992
18993 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18994 (struct La_i86_retval): Likewise.
18995 (struct La_x86_64_regs): Likewise.
18996 (struct La_x86_64_retval): Likewise.
18997 (struct La_x32_regs): Likewise.
18998 (struct La_x32_retval): Likewise.
18999 (struct La_ppc32_regs): Likewise.
19000 (struct La_ppc32_retval): Likewise.
19001 (struct La_ppc64_regs): Likewise.
19002 (struct La_ppc64_retval): Likewise.
19003 (struct La_sh_regs): Likewise.
19004 (struct La_sh_retval): Likewise.
19005 (struct La_s390_32_regs): Likewise.
19006 (struct La_s390_32_retval): Likewise.
19007 (struct La_s390_64_regs): Likewise.
19008 (struct La_s390_64_retval): Likewise.
19009 (struct La_sparc32_regs): Likewise.
19010 (struct La_sparc32_retval): Likewise.
19011 (struct La_sparc64_regs): Likewise.
19012 (struct La_sparc64_retval): Likewise.
19013 (struct audit_ifaces): Remove architecture-specific pltenter and
19014 pltexit members.
19015 * sysdeps/i386/ldsodefs.h: New file.
19016 * sysdeps/powerpc/ldsodefs.h: Likewise.
19017 * sysdeps/s390/ldsodefs.h: Likewise.
19018 * sysdeps/sh/ldsodefs.h: Likewise.
19019 * sysdeps/sparc/ldsodefs.h: Likewise.
19020 * sysdeps/x86_64/ldsodefs.h: Likewise.
19021
354691b7
MP
190222012-07-25 Marek Polacek <polacek@redhat.com>
19023
19024 [BZ #6808]
19025 * math/libm-test.inc (yn_test): Add another test.
19026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19027 to ERANGE when the result is +-Inf.
19028 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19029 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19030 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19031 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19032
bf9e2071
JM
190332012-07-24 Joseph Myers <joseph@codesourcery.com>
19034
19035 * conform/data/time.h-data (NULL): Use macro-constant. Require
19036 equal to 0.
19037 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19038 clock_t.
19039 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19040
57633811
TS
190412012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19042
19043 * configure.in <sysdeps resolving>: Correct printing
19044 Implies_before.
19045 * configure: Regenerate.
19046
c23c33b0
TS
190472012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19048
19049 * math/w_ilogb.c: Include <limits.h>.
19050 * math/w_ilogbl.c: Likewise.
19051
b5982523
JM
190522012-07-20 Joseph Myers <joseph@codesourcery.com>
19053
19054 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19055 va_copy. Document allowing for unavailable va_copy only as
19056 pre-C99 compatibility.
19057 * manual/string.texi (Copying and Concatenation): Use va_copy
19058 instead of __va_copy in concat example.
19059
ac4ea442
PT
190602012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19061
19062 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19063 (__sendto): Use create_address_port. Initialize APORT and deallocate
19064 it if not null.
19065
f98eafbd
PT
19066 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19067 with O_NOLINK passed to __file_name_lookup.
19068
898c7aab
PT
19069 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19070 with O_NOLINK passed to __file_name_lookup.
19071
0ced335a
PT
19072 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19073 negative N or less than NGIDS.
19074
b3404dbd
PT
19075 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19076 type to string_t. Set ERANGE as errno and return it if NAME is not big
19077 enough. Use memcpy instead of strncpy.
19078
0f48659e
JM
190792012-07-20 Joseph Myers <joseph@codesourcery.com>
19080
19081 * elf/Makefile (check-data): Remove.
19082 (localplt.data): New vpath directive.
19083 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19084 instead of $(check-data).
19085 * scripts/data/localplt-generic.data: Move to ...
19086 * sysdeps/generic/localplt.data: ... here.
19087 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19088 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19089 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19091 ... here.
19092 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19094 ... here.
19095 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19097 ... here.
19098 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19100 ... here.
19101 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19103 ... here.
19104 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19106 ... here.
19107
d37cbdaa
AZ
191082012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19109
19110 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19111 PPC32 and PPC64 files.
19112 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19113 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19114
46f85fc2
AK
191152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19116
19117 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19118 __makecontext_ret to ...
19119 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19120 ... here and call exit if uc_link is NULL. New file.
19121 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19122 __makecontext_ret.S.
19123 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19124 __makecontext_ret to ...
19125 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19126 ... here and call exit if uc_link is NULL. New file.
19127 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19128 __makecontext_ret.S.
19129
08f43f9b
AK
191302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19131
19132 * elf/elf.h (R_390_IRELATIVE): New definition.
19133 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19134 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19135 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19136 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19137 (elf_machine_lazy_rel): Likewise.
19138 * sysdeps/s390/dl-irel.h: New file.
19139 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19140 * sysdeps/s390/s390-64/memset.S: New asm code.
19141 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19142 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19143 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19144 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19145 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19146 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19147 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19148 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19149 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19150 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19151 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19152 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19153 * sysdeps/s390/s390-32/memset.S: New asm code.
19154 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19155
3b05db33
MP
191562012-07-17 Marek Polacek <polacek@redhat.com>
19157
19158 [BZ #14349]
19159 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19160 * sysdeps/s390/s390-64/configure.in: Likewise.
19161 * sysdeps/sparc/configure.in: Likewise.
19162 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19163 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19164 * sysdeps/i386/configure.in: Likewise.
19165 * sysdeps/x86_64/configure.in: Likewise.
19166 * sysdeps/sh/configure.in: Likewise.
19167 * sysdeps/s390/s390-32/configure: Regenerated.
19168 * sysdeps/s390/s390-64/configure: Likewise.
19169 * sysdeps/x86_64/configure: Likewise.
19170 * sysdeps/sh/configure: Likewise.
19171 * sysdeps/powerpc/powerpc64/configure: Likewise.
19172 * sysdeps/powerpc/powerpc32/configure: Likewise.
19173 * sysdeps/sparc/configure: Likwise.
19174 * sysdeps/i386/configure: Likewise.
19175
a66877c6
MP
19176 * elf/dl-open.c: Comment fixes.
19177
cfc82fd8
JM
191782012-07-17 Joseph Myers <joseph@codesourcery.com>
19179
bd29910a
JM
19180 * Makefile [CXX] (check-data): Remove.
19181 [CXX] (c++-types.data): New vpath directive.
19182 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19183 vpath. Do not allow for C++ type data being missing.
19184 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19185 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19186 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19187 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19188 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19189 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19190 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19192 ... here.
19193 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19195 ... here.
19196 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19198 ... here.
19199 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19201 ... here.
19202 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19204 ... here.
19205 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19207 ... here.
19208 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19210 ... here.
19211 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19213
cfc82fd8
JM
19214 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19215 definitions to architecture-specific files.
19216 (TLS_IE): Likewise.
19217 (TLS_LD): Likewise.
19218 (TLS_GD): Likewise.
19219 * sysdeps/i386/tls-macros.h: New file.
19220 * sysdeps/powerpc/tls-macros.h: Likewise.
19221 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19222 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19223 * sysdeps/sh/tls-macros.h: Likewise.
19224 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19225 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19226 * sysdeps/x86_64/tls-macros.h: Likewise.
19227
f7db3170
TS
192282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19229
07cbfc23
TS
19230 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19231 zero value for regular exit case.
19232
f7db3170
TS
19233 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19234 (__start_context): Preserve zero value for regular exit case.
19235
dc97c227
TS
192362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19237 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19238
19239 * manual/setjmp.texi (setcontext): Clarify normal process
19240 termination when uc_link is the null pointer.
19241 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19242 exit call.
19243
d0cd7d02
AS
192442012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19245
19246 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19247 preprocessor. Test for each exception mask separately.
19248
dd318934
AJ
192492012-07-16 Andreas Jaeger <aj@suse.de>
19250
19251 * po/ru.po: Update from translation team.
19252
8048311a
JM
192532012-07-15 Joseph Myers <joseph@codesourcery.com>
19254
19255 * conform/data/string.h-data (NULL): Use macro-constant. Require
19256 equal to 0.
19257 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19258 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19259 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19260 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19261 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19262
b637d46e
AJ
192632012-07-13 Andreas Jaeger <aj@suse.de>
19264
19265 * po/fr.po: Update from translation team.
19266
541428fe
MP
192672012-07-12 Marek Polacek <polacek@redhat.com>
19268
19269 [BZ #14173]
19270 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19271 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19272 loop condition.
19273
ec332e94
JM
192742012-07-12 Joseph Myers <joseph@codesourcery.com>
19275
19276 [BZ #13717]
19277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19278 Change to 2.4.1 where previously 2.4.0.
19279 * sysdeps/unix/sysv/linux/configure: Regenerated.
19280 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19281 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19282 version.
19283 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19284 (__ASSUME_AT_CLKTCK): Remove.
19285 (__ASSUME_AT_PAGESIZE): Likewise.
19286 (__ASSUME_AT_XID): Likewise.
19287 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19288 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19289 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19290 unconditionally.
19291 (HAVE_AUX_PAGESIZE): Likewise.
19292 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19293 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19294 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19295
7b6e99be
JB
192962012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19297
19298 [BZ #14307]
19299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19300 the temporary buffer used to invoke __gethostbyname2_r,
19301 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19302 host_data / struct gaih_addrtuple.
19303 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19304 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19305 header file nss/nsswitch.h.
19306 * nss/nsswitch.h (global scope): Add definition of implementation
19307 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19308 resolv/nss_dns/dns-host.c).
19309
608404eb
AJ
193102012-07-11 Andreas Jaeger <aj@suse.de>
19311
19312 * po/fr.po: Update from translation team.
19313
71220aca
AJ
19314 * po/sv.po: Update from translation team
19315 * po/fr.po: Another update from translation team.
19316
28cfe843
AZ
193172012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19318
19319 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19320 for subnormals or multiply small sinh result by itself.
19321 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19323
6b90f981
DM
193242012-07-11 David S. Miller <davem@davemloft.net>
19325
19326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19327
c6825772
AS
193282012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19329
19330 [BZ #14347]
19331 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19332 (INTERNAL_MARK): Shift it here.
19333
7b8e0d49
MP
193342012-07-10 Marek Polacek <polacek@redhat.com>
19335
19336 [BZ #14151]
19337 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19338 libc_cv_asm_global_directive with .globl.
19339 * configure: Regenerated.
19340 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19341 with .globl.
19342 * sysdeps/i386/configure: Regenerated.
19343 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19344 with .globl.
19345 * sysdeps/x86_64/configure: Regenerated.
19346 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19347 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19348 * elf/tst-unique2mod2.c: Likewise.
19349 * elf/tst-unique2mod1.c: Likewise.
19350 * elf/tst-unique1mod2.c: Likewise.
19351 * elf/tst-unique1mod1.c: Likewise.
19352 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19353 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19354 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19355 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19356 * sysdeps/mach/sysdep.h: Likewise.
19357 * sysdeps/i386/sysdep.h: Likewise.
19358 * sysdeps/i386/i386-mcount.S: Likewise.
19359 * sysdeps/x86_64/_mcount.S: Likewise.
19360 * sysdeps/x86_64/sysdep.h: Likewise.
19361 * sysdeps/sh/_mcount.S: Likewise.
19362 * sysdeps/sh/sysdep.h: Likewise.
19363 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19364 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19365 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19366 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19367 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19368 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19369 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19370 * locale/localeinfo.h: Likewise.
19371 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19372 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19373
6c55cda3
RM
193742012-07-09 Roland McGrath <roland@hack.frob.com>
19375
19376 [BZ #14336]
19377 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19378 system".
19379 * manual/message.texi (The Uniforum approach): Likewise.
19380 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19381 (glibc iconv Implementation): Likewise.
19382
638a572e
JM
193832012-07-09 Joseph Myers <joseph@codesourcery.com>
19384
19385 [BZ #14337]
19386 * math/s_clog.c (__clog): Avoid scaling a value down where that
19387 could result in underflow.
19388 * math/s_clog10.c (__clog10): Likewise.
19389 * math/s_clog10f.c (__clog10f): Likewise.
19390 * math/s_clog10l.c (__clog10l): Likewise.
19391 * math/s_clogf.c (__clogf): Likewise.
19392 * math/s_clogl.c (__clogl): Likewise.
19393 * math/libm-test.inc (clog_test): Add more tests.
19394 (clog10_test): Likewise.
19395 * sysdeps/i386/fpu/libm-test-ulps: Update.
19396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19397
261f4859
AS
193982012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19399
0abaf3e4
AS
19400 [BZ #14283]
19401 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19402 by 7 not 8 to examine high bit of fractional part.
19403
261f4859
AS
19404 [BZ #14042]
19405 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19406 for call to __mcount_internal.
19407 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19408 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19409 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19410
f17ac40d
JM
194112012-07-06 Joseph Myers <joseph@codesourcery.com>
19412
9ad63c23
JM
19413 [BZ #14154]
19414 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19415 approximation for values within 0x1p-13f of an odd multiple of
19416 pi/4.
19417 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19418 exception. Add more tests.
19419 * sysdeps/i386/fpu/libm-test-ulps: Update.
19420
f17ac40d
JM
19421 [BZ #6778]
19422 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19423 inputs and return -1 for them. Do not check for +Inf in case not
19424 reachable for +Inf.
19425 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19426 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19427 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19428 and return -1 for them. Do not check for +Inf in case not
19429 reachable for +Inf.
19430 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19431 define.
19432 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19433 and return -1 for them. Do not check for +Inf in case not
19434 reachable for +Inf.
19435 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19436 spurious underflow.
19437 * sysdeps/i386/fpu/libm-test-ulps: Update.
19438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19439
fb21f89b
MF
194402012-07-06 Mike Frysinger <vapier@gentoo.org>
19441
19442 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19443
cdfe2c5e
JM
194442012-07-05 Joseph Myers <joseph@codesourcery.com>
19445
19446 [BZ #14157]
19447 [BZ #14331]
19448 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19449 could result in spurious underflow. Scale down values above
19450 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19451 * math/s_csqrtf.c (__csqrtf): Likewise.
19452 * math/s_csqrtl.c (__csqrtl): Likewise.
19453 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19454 spurious underflow.
19455 * sysdeps/i386/fpu/libm-test-ulps: Update.
19456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19457
70d35b67
AS
194582012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19459
704bc459
AS
19460 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19461 xopen-msg.sed.
19462 * catgets/xopen-msg.awk: New file.
19463 * catgets/xopen-msg.sed: Removed.
19464
70d35b67
AS
19465 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19466 po2text.sed.
19467 * intl/po2test.awk: New file.
19468 * intl/po2test.sed: Removed.
19469
ca61cf32
JM
194702012-07-04 Joseph Myers <joseph@codesourcery.com>
19471
19472 [BZ #14328]
19473 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19474 or multiply small sinh result by itself.
19475 * math/s_ctanf.c (__ctanf): Likewise.
19476 * math/s_ctanh.c (__ctanh): Likewise.
19477 * math/s_ctanhf.c (__ctanhf): Likewise.
19478 * math/s_ctanhl.c (__ctanhl): Likewise.
19479 * math/s_ctanl.c (__ctanl): Likewise.
19480 * math/libm-test.inc (ctan_test_tonearest): New function.
19481 (ctan_test_towardzero): Likewise.
19482 (ctan_test_downward): Likewise.
19483 (ctan_test_upward): Likewise.
19484 (ctanh_test_tonearest): Likewise.
19485 (ctanh_test_towardzero): Likewise.
19486 (ctanh_test_downward): Likewise.
19487 (ctanh_test_upward): Likewise.
19488 (main): Call these new functions.
19489 * sysdeps/i386/fpu/libm-test-ulps: Update.
19490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19491
ca48a46a
MF
194922012-07-03 Mike Frysinger <vapier@gentoo.org>
19493
19494 * .gitignore: Delete /ports entry.
19495
9d63d37d
AJ
194962012-07-03 Andreas Jaeger <aj@suse.de>
19497
19498 * po/bg.po: Update from translation team.
19499 * po/cs.po: Likewise.
19500 * po/de.po: Likewise.
19501 * po/hr.po: Likewise.
19502 * po/nl.pl: Likewise.
19503 * po/pl.po: Likewise.
19504 * po/vi.po: Likewise.
19505
370ca3d2
JM
195062012-07-03 Joseph Myers <joseph@codesourcery.com>
19507
95f5a9a8
JM
19508 * Makeconfig [!+link] (+link-before-libc): New variable.
19509 [!+link] (+link-after-libc): Likewise.
19510 [!+link] (+link-tests): Likewise.
19511 [!+link] (+link): Define in terms of $(+link-before-libc) and
19512 $(+link-after-libc).
19513 [!+link-static] (+link-static-before-libc): New variable.
19514 [!+link-static] (+link-static-after-libc): Likewise.
19515 [!+link-static] (+link-static-tests): Likewise.
19516 [!+link-static] (+link-static): Define in terms of
19517 $(+link-static-before-libc) and $(+link-static-after-libc).
19518 [build-shared] (link-libc-before-gnulib): New variable.
19519 [build-shared] (link-libc-tests): Likewise.
19520 [build-shared] (link-libc): Define in terms of
19521 $(link-libc-before-gnulib).
19522 [!build-shared] (link-libc-tests): New variable.
19523 (link-libc-static-tests): New variable.
19524 [!gnulib] (gnulib-arch): New variable.
19525 [!gnulib] (gnulib-tests): Likewise.
19526 [!gnulib] (static-gnulib-arch): Likewise.
19527 [!gnulib] (static-gnulib-tests): Likewise.
19528 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19529 Define with "=" instead of ":=".
19530 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19531 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19532 * Rules (binaries-all-notests): New variable.
19533 (binaries-all-tests): Likewise.
19534 (binaries-static-notests): Likewise.
19535 (binaries-static-tests): Likewise.
19536 (binaries-all): Define using $(binaries-all-notests) and
19537 $(binaries-all-tests).
19538 (binaries-static): Define using $(binaries-static-notests) and
19539 $(binaries-static-tests).
19540 (binaries-shared-tests): New variable.
19541 (binaries-shared-notests): Likewise.
19542 (binaries-shared): Remove variable.
19543 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19544 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19545 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19546 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19547 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19548 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19549 * elf/Makefile (sln-modules): New variable.
19550 (extra-objs): Add $(sln-modules:=.o).
19551 (ldconfig-modules): Add static-stubs.
19552 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19553 * elf/static-stubs.c: New file.
19554
7a845b2c
JM
19555 [BZ #14283]
19556 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19557 by 7 not 8 to examine high bit of fractional part. Use volatile
19558 variables when splitting into final array of floats if
19559 __FLT_EVAL_METHOD__ != 0.
19560 * math/libm-test.inc (cos_test): Add another test.
19561 (sin_test): Likewise.
19562 * sysdeps/i386/fpu/libm-test-ulps: Update.
19563
e2283f38
JM
19564 [BZ #14273]
19565 * math/libm-test.inc (cosh_test): Add more tests.
19566
370ca3d2
JM
19567 * version.h (RELEASE): Set to "development".
19568 (VERSION): Set to "2.16.90".
19569
ee9247c3
CD
195702012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19571
19572 * NEWS: Update copyright. Remove last-updated date.
19573 Mention math library bug fixes and timezone data changes.
19574 * README: Mention GNU/Hurd, x32, and HPPA support status.
19575
4648c381
TS
195762012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19577
19578 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19579
aac78a43
AJ
195802012-06-27 Andreas Jaeger <aj@suse.de>
19581
19582 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19583
ed3dbfad
AJ
195842012-06-25 Andreas Jaeger <aj@suse.de>
19585
19586 * sysdeps/s390/fpu/libm-test-ulps: Update.
19587
4d0ee855
AS
195882012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19589 Thomas Schwinge <thomas@codesourcery.com>
19590
19591 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19592 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19594 fanotify_mark.
19595
af1bce34
TS
195962012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19597
a9fa33ba
TS
19598 * sysdeps/mach/start.c: Remove file.
19599 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19600 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19601 * sysdeps/sh/init-first.c: Likewise.
19602
58f902b8
TS
19603 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19604 registers for frame unwinding purposes, add CFI directives.
19605 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19606 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19607 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19608 Likewise.
19609
1518f58b
TS
19610 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19611 __fortify_fail returning.
19612 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19613
db9b5059
TS
19614 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19615 sysdeps/sh/____longjmp_chk.S.
19616 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19617 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19618 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19619 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19620
967705fe
TS
19621 * sysdeps/sh/abort-instr.h: New file.
19622 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19623 process in case exit returns.
19624
a9def8c4
TS
19625 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19626 initialize the GOT register before use.
19627
2a649725
TS
19628 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19629 calculation of ARGC > 4.
19630
af1bce34
TS
19631 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19632 meaningful names to some local labels.
19633
d230f50a
KK
196342012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19635 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19636
19637 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19638 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19639 (__arch_compare_and_exchange_val_16_acq): Likewise.
19640 (__arch_compare_and_exchange_val_32_acq): Likewise.
19641 (atomic_exchange_and_add): Fix gUSA sequence.
19642 (atomic_add): Likewise.
19643 (atomic_add_negative): Likewise.
19644 (atomic_add_zero): Likewise.
19645 (atomic_bit_test_set): Likewise.
19646
0479b305
AS
196472012-06-22 Andreas Schwab <schwab@redhat.com>
19648
19649 [BZ #13579]
19650 * include/link.h (struct link_map): Add l_free_initfini.
19651 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19652 l_initfini.
19653 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19654 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19655 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19656 set.
19657
0e3933b9
CD
196582012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19659
19660 * configure.in: Use AC_LANG_SOURCE.
19661 * configure: Regenerate.
19662
4248b1b1
RM
196632012-06-22 Roland McGrath <roland@hack.frob.com>
19664
19665 * configure.in (libc_cv_localstatedir): New substituted variable.
19666 * configure: Regenerated.
19667 * config.make.in (localstatedir): New variable, substituted from
19668 libc_cv_localstatedir.
19669 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19670 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19671 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19672 * sysdeps/gnu/configure: Regenerated.
19673
006dd861
JL
196742012-06-21 Jeff Law <law@redhat.com>
19675
19676 [BZ #14277]
19677 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19678 free. Simplify list management for _LIBC case.
19679
79662d42
JM
196802012-06-21 Joseph Myers <joseph@codesourcery.com>
19681
b7abb4bf
JM
19682 [BZ #14273]
19683 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19684 Clear sign bit of 64-bit integer value before comparing against
19685 overflow value.
19686
79662d42
JM
19687 * sysdeps/mach/configure: Regenerated.
19688
1f150908
L
196892012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19690
19691 [BZ #14278]
19692 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19693
28363bbf
JL
196942012-06-21 Jeff Law <law@redhat.com>
19695
19696 [BZ #13882]
19697 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19698 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19699 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19700 * elf/dl-open.c (dl_open_worker): Likewise.
19701
09615db4
CD
197022012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19703
19704 * scripts/list-sources.sh: Scan PORTS for translations.
19705 * po/libc.pot: Regenerated.
19706
2174c6dd
AJ
197072012-06-21 Andreas Jaeger <aj@suse.de>
19708
19709 [BZ #12194]
19710 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19711 warning.
19712 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19713 * bits/byteswap-16.h (__bswap_16): Likewise.
19714 * bits/byteswap.h (__bswap_constant_16): Likewise.
19715
3ee947b1
L
197162012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19717
19718 [BZ #14117]
a2f34833
L
19719 * sysdeps/i386/fpu_control.h: Removed.
19720 * sysdeps/x86_64/fpu_control.h: Moved to ...
19721 * sysdeps/x86/fpu_control.h: Here.
19722
3ee947b1
L
19723 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19724 (_FPU_SETCW): Likewise.
19725
ed1825f8
L
197262012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19727
25f1282a
L
19728 [BZ #14117]
19729 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19730 * sysdeps/x86/fpu/bits/mathinline.h: This.
19731 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19732
ed1825f8
L
19733 [BZ #14050]
19734 [BZ #14117]
19735 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19736 functions if __x86_64__ is defined.
19737
36d54b74
CLT
197382012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19739
19740 * string/endian.h: Add !__ASSEMBLER__ condition for including
19741 conversion interfaces.
19742
10285c21
JM
197432012-06-15 Joseph Myers <joseph@codesourcery.com>
19744
19745 [BZ #14241]
19746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19747 of ABS(x) in calculating zero to negative powers other than odd
19748 integers.
19749 * math/libm-test.inc (pow_test): Add more tests.
19750
06c5abbd
AJ
197512012-06-15 Andreas Jaeger <aj@suse.de>
19752
19753 * manual/contrib.texi (Contributors): Update entry of Liubov
19754 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19755 Machado Filho.
19756
a3aeac40
CH
197572012-06-15 Cyril Hrubis <metan@ucw.cz>
19758
19759 * string/string.h: Add __wur to GNU version of strerror_r.
19760
49bdf4c1
L
197612012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19762
19763 [BZ #14229]
19764 * string/Makefile (tests): Add tst-strtok_r.
19765 * string/tst-strtok_r.c: New file.
19766 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19767 RAX_LP/RDX_LP on SAVE_PTR.
19768
834f9b8d
RM
197692012-06-14 Roland McGrath <roland@hack.frob.com>
19770
19771 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19772
75fa1921
JM
197732012-06-14 Joseph Myers <joseph@codesourcery.com>
19774
19775 * libm_test.inc (csqrt_test): Allow more spurious underflow
19776 exceptions.
19777 (j0_test): Likewise.
19778 (j1_test): Likewise.
19779 (y0_test): Likewise.
19780 (y1_test): Likewise.
19781
771766df
CD
197822012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19783
19784 * po/Makefile (libc.pot): Use UTF-8 charset.
19785
ceb9e56b
PP
197862012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19787
19788 [BZ #14210]
19789 Suppress sign-conversion warning from FD_SET.
19790 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19791 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19792 not unsigned long int.
19793 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19794
ddb28975
L
197952012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19796
19797 [BZ #14050]
19798 [BZ #14117]
19799 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19800 __extern_always_inline instead of __extern_inline.
19801 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19802 (__signbit): Likewise.
19803 (__signbitl): Support C++ namespace.
19804 (lrintf): New inline function.
19805 (lrint): Likewise.
19806 (llrintf): Likewise.
19807 (llrint): Likewise.
19808 (fmaxf): Likewise.
19809 (fmax): Likewise.
19810 (fminf): Likewise.
19811 (fmin): Likewise.
19812 (rint): Likewise.
19813 (rintf): Likewise.
19814 (ceil): Likewise.
19815 (ceilf): Likewise.
19816 (floor): Likewise.
19817 (floorf): Likewise.
19818 (nearbyint): Likewise.
19819 (nearbyintf): Likewise.
19820
d7b4fb26
TS
198212012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19822
19823 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19824 non-default versions.
19825
eb55f5c2
RM
198262012-06-11 Roland McGrath <roland@hack.frob.com>
19827
19828 [BZ #14218]
19829 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19830
366af02c
TS
198312012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19832
99ff6e5c
TS
19833 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19834 (FE_UPWARD, FE_DOWNWARD): Don't define.
19835 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19836 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19837
366af02c
TS
19838 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19839 reading it.
19840 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19841 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19842
793ea851
KK
198432012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19844
19845 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19847 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19848 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19849
a728a38f
L
198502012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19851
19852 [BZ #14117]
c08010c7
L
19853 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19854 * sysdeps/i386/fpu/Implies: New file.
19855 * sysdeps/x86_64/fpu/Implies: Likewise.
19856 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19857 * sysdeps/x86/fpu/bits/fenv.h: This.
19858
a728a38f
L
19859 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19860 __SSE_MATH__.
19861
6e230d11
SP
198622012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19863
19864 [BZ #14134]
19865 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19866 character 0xffff that matches the last element of the
19867 conversion table.
19868
1b671feb
AZ
198692012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19870
19871 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19872 fmodl commit.
19873
6043738b
AZ
198742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19875
19876 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19877 values higher than 25.6283.
19878
34ae0b32
AZ
198792012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19880
19881 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19882 subnormal exponent extraction and add some __builtin_expect.
19883 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19884 Fix for subnormal mantissa calculation.
19885
1214ec8f
MF
198862012-06-04 Mike Frysinger <vapier@gentoo.org>
19887
19888 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19889 cpu2 is -1 and errno is not ENOSYS.
19890
f3d1f93c
L
198912012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19892
19893 [BZ #14117]
0e4a3cd7
L
19894 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19895 * sysdeps/x86/bits/string.h: This.
19896 * sysdeps/x86_64/bits/string.h: Removed.
19897
6704c645
L
19898 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19899 if not compiling for x86-64, but compiling for >= i486.
19900
48495318
L
19901 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19902 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19903
14adcbfc
L
19904 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19905 New macro from Linux kernel 3.4.0.
19906 (FP_XSTATE_MAGIC2): Likewise.
19907 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19908 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19909 (struct _fpx_sw_bytes): New struct.
19910 (struct _xsave_hdr): Likewise.
19911 (struct _ymmh_state): Likewise.
19912 (struct _xstate): Likewise.
19913
68e408ab
L
19914 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19915 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19916 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19917 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19918 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19919 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19920
f3d1f93c
L
19921 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19922 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19923 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19924 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19925 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19926 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19927
d9dc34cd
TMQMF
199282012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19929
19930 [BZ #13743]
19931 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19932 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19933 (sysdep_headers): Include sys/platform/ppc.h.
19934 * sysdeps/powerpc/test-gettimebase.c: Test for
19935 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19936 * manual/Makefile (appendices): Include platform.texi.
19937 * manual/contrib.texi (Contributors): Update @node pointers.
19938 * manual/maint.texi (Maintenance): Likewise.
19939 (Platform): New node.
19940 * manual/platform.texi: New file. Document the new features.
19941
4af3879c
SP
199422012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19943 Jakub Jelinek <jakub@redhat.com>
19944
19945 [BZ #14188]
19946 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19947 where __builtin_expect is unavailable.
19948
2fd6ff13
DM
199492012-06-03 David S. Miller <davem@davemloft.net>
19950
19951 * stdlib/longlong.h: Updated from GCC.
19952
173f7220
AS
199532012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19954
19955 [BZ #14042]
19956 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19957 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19958 __mcount_internal.
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19960 (GLIBC_2.16): Likewise.
19961
f34a1c6f
L
199622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19963
19964 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19965
88a4576f
JM
199662012-06-01 Joseph Myers <joseph@codesourcery.com>
19967
ea32bcdd
JM
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19969 (default-abi): New variable.
19970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19971 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19972 variable.
19973 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19974 Likewise.
19975 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19976 Likewise.
19977 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19978 Likewise.
19979
88a4576f
JM
19980 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19981 definition. Document in comment.
19982
402fe938
DM
199832012-06-01 David S. Miller <davem@davemloft.net>
19984
19985 * stdlib/longlong.h: Updated from GCC.
19986
3553723f
L
199872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19988
19989 [BZ #14117]
3bd872c4
L
19990 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19991 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19992 sys/debugreg.h sys/io.h here.
19993 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19994 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19995 sys/io.h.
19996 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19997 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19998 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19999 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20000 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20001 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20002
3553723f
L
20003 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20004 Define only if __x86_64__ is defined.
20005
4842e4fe
JM
200062012-06-01 Joseph Myers <joseph@codesourcery.com>
20007
c5bfe3d5
JM
20008 [BZ #14048]
20009 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20010 Use int64_t for variable i.
20011 * math/libm-test.inc (fmod_test): Add more tests.
20012
4842e4fe
JM
20013 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20014 z computation is not scheduled after fetestexcept.
20015 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20016 Use math_force_eval instead of asm to ensure calculation scheduled
20017 before exception test.
20018 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20019 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20020
efb73488
AJ
200212012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20022
20023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20024 computation is not scheduled after fetestexcept.
20025
29bcce7c
L
200262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20027
20028 [BZ #14117]
20029 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20030 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20031
73a68f94
AZ
200322012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20033
20034 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20035 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20036
67b6df78
L
200372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20038
edf2933a 20039 [BZ #14117]
ebc64a18
L
20040 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20041 <bits/wordsize.h>.
20042 (__WCHAR_MIN): Support __WORDSIZE == 64.
20043 (__WCHAR_MAX): Likewise.
20044
edf2933a
L
20045 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20046 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20047
57c6cf40
L
20048 [BZ #14183]
20049 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20050 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20051
67b6df78 20052 [BZ #14117]
8eb6281e
L
20053 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20054 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20055
aac639f4
L
20056 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20057 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20058
67b6df78
L
20059 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20060 Defined to 1 if __x86_64__ isn't defined.
20061 (_STAT_VER_LINUX_OLD): New.
20062 (st_atime): Remove duplicate.
20063 (st_mtime): Likewise.
20064 (st_ctime): Likewise.
20065
1c2cfe81
DM
200662012-05-31 David S. Miller <davem@davemloft.net>
20067
20068 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20069 entries.
20070
5be8418c
AS
200712012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20072
e7725326
AS
20073 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20074 gen-libm-test.pl.
20075
5be8418c
AS
20076 [BZ #14132]
20077 * elf/dl-reloc.c: Include <_itoa.h>.
20078 (_dl_reloc_bad_type): Remove use of INTUSE.
20079 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20080 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20081 * stdio-common/psiginfo.c (psiginfo): Likewise.
20082 * stdio-common/psignal.c (psignal): Likewise.
20083 * string/strsignal.c (strsignal): Likewise.
20084 * include/signal.h (_sys_siglist): Declare hidden proto.
20085 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20086 INTVARDEF with libc_hidden_data_def.
20087 * stdio-common/itoa-udigits.c: Likewise.
20088 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20089 (_itoa_lower_digits_internal): Remove declaration.
20090 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20091 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20092 (_sys_sigabbrev_internal): Remove aliases.
20093 (_sys_siglist): Define hidden alias.
20094
507352f1
MT
200952012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20096
20097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20098 bits/sysctl.h.
20099
42bbb1c3
L
201002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20101
20102 [BZ #14117]
6bd784b6
L
20103 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20104 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20105
8bca20f0
L
20106 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20107 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20108 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20109 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20111 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20112
f9e890a9
L
20113 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20114 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20115 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20116
471101a1
L
20117 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20118 with __addr.
20119 (insw): Likewise.
20120 (insl): Likewise.
20121 (outsb): Likewise.
20122 (outsw): Likewise.
20123 (outsl): Likewise.
20124
6451c862
L
20125 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20126 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20127 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20128
a254b8c9
L
20129 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20130 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20131 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20132 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20133 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20134 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20135
b8dfdd92
L
20136 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20137 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20138
578cd270
L
20139 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20140 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20141
de662f5f
L
20142 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20143 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20144 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20145
25653439
L
20146 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20147 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20148 to ...
20149 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20150
6bad24a0
L
20151 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20152 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20153 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20154
42bbb1c3
L
20155 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20156 for x86-64.
20157 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20158
2d10d547
JM
201592012-05-31 Joseph Myers <joseph@codesourcery.com>
20160
20161 * math/math.h (M_El): Use two more decimal places.
20162 (M_LOG2El): Likewise.
20163 (M_LOG10El): Likewise.
20164 (M_LN2l): Likewise.
20165 (M_LN10l): Likewise.
20166 (M_PIl): Likewise.
20167 (M_PI_2l): Likewise.
20168 (M_PI_4l): Likewise.
20169 (M_1_PIl): Likewise.
20170 (M_2_PIl): Likewise.
20171 (M_2_SQRTPIl): Likewise.
20172 (M_SQRT2l): Likewise.
20173 (M_SQRT1_2l): Likewise.
20174
f230c29b
DM
201752012-05-31 David S. Miller <davem@davemloft.net>
20176
20177 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20178 values between float registers.
20179 * sysdeps/sparc/sparc64/memset.S: Likewise.
20180 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20181
fed806c3
MF
201822012-05-31 Mike Frysinger <vapier@gentoo.org>
20183
20184 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20185 -D_FORTIFY_SOURCE=1.
20186 (CPPFLAGS-tst-longjmp_chk.c): Define.
20187 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20188 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20189 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20190 CFLAGS-tst-wchar-h.c.
20191
30917259
MP
201922012-05-31 Marek Polacek <polacek@redhat.com>
20193
20194 [BZ #14132]
20195 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20196 __endmntent_internal): Remove declaration.
20197 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20198 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20199 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20200
1c58d5dc
DM
202012012-05-30 David S. Miller <davem@davemloft.net>
20202
20203 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20204 (___Q_simulate_exceptions): Use real FP ops rather than writing
20205 into the %fsr.
20206 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20207 Likewise.
20208
7dc00e0d
L
202092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20210
20211 [BZ #14117]
0bd53985
L
20212 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20213 * sysdeps/x86/bits/xtitypes.h: This.
20214
3a257e66
L
20215 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20216 * sysdeps/x86/bits/wordsize.h: This.
20217
62f62904
L
20218 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20219 * sysdeps/x86/bits/huge_vall.h: This.
20220
404fe9d9
L
20221 * sysdeps/i386/bits/select.h: Removed.
20222 * sysdeps/x86_64/bits/select.h: Renamed to ...
20223 * sysdeps/x86/bits/select.h: This.
20224
d48d0446
L
20225 * sysdeps/i386/bits/setjmp.h: Removed.
20226 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20227 * sysdeps/x86/bits/setjmp.h: This.
20228
7dc00e0d
L
20229 * sysdeps/i386/bits/mathdef.h: Removed.
20230 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20231 * sysdeps/x86/bits/mathdef.h: This.
20232
03277f8f
AS
202332012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20234
20235 [BZ #14132]
20236 * include/sys/socket.h (__connect_internal)
20237 (__libc_sa_len_internal): Remove declaration.
20238 (__connect, __libc_sa_len): Declare hidden_proto.
20239 (SA_LEN): Remove use of INTUSE.
20240 * socket/connect.c: Add libc_hidden_def.
20241 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20242 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20243 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20244 alias.
20245 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20246 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20247 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20248 of adding _internal alias.
20249
13764867
L
202502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20251
20252 [BZ #14117]
6bd97696
L
20253 * sysdeps/i386/bits/link.h: Removed.
20254 * sysdeps/i386/bits/linkmap.h: Likewise.
20255 * sysdeps/x86_64/bits/link.h: Renamed to ...
20256 * sysdeps/x86/bits/link.h: This.
20257 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20258 * sysdeps/x86/bits/linkmap.h: This.
20259
f726f0bb
L
20260 * sysdeps/i386/bits/endian.h: Removed.
20261 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20262 * sysdeps/x86/bits/endian.h: This.
20263
13764867
L
20264 * sysdeps/i386/bits/byteswap.h: Removed.
20265 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20266 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20267 * sysdeps/x86/bits/byteswap.h: This.
20268 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20269 * sysdeps/x86/bits/byteswap-16.h: This.
20270 * sysdeps/i386/Implies: Add x86.
20271 * sysdeps/x86_64/Implies: Likewise.
20272
ae251b0b
DM
202732012-05-30 David S. Miller <davem@davemloft.net>
20274
20275 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20276 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20277 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20278 (FP_TRAPPING_EXCEPTIONS): Define.
20279 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20280 (FP_TRAPPING_EXCEPTIONS): Define.
20281 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20282 subnormals only when inexact has been signalled or underflow
20283 exceptions are enabled.
20284 (_FP_PACK_CANONICAL): Likewise.
20285
d5c90867
L
202862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20287
20288 [BZ #14183]
20289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20290 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20291
63f1549e
RH
202922012-05-30 Richard Henderson <rth@twiddle.net>
20293
8d8f2279
RH
20294 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20295 with #ifndef NOT_IN_libc.
20296
63f1549e
RH
20297 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20298 marked to avoid plt entry.
20299
0ab0291b
L
203002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20301
20302 [BZ #14112]
20303 * Makeconfig (default-abi): New macro.
20304 (abi-includes): Likewise.
20305 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20306 $(abi-$(default-abi)-lib-soname) for soname if defined.
20307 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20308 abi-variants.
20309 * Makefile (installed-stubs): Likewise.
20310 * include/stubs-biarch.h: Removed.
20311 * scripts/lib-names.awk: Only handle one library at a time.
20312 * scripts/soversions.awk: Remove WORDSIZE support.
20313 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20314 entries.
20315 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20316 Removed.
20317 (syscall-list-default-condition): Likewise.
20318 (syscall-list-default-condition): Likewise.
20319 (syscall-list-includes): Likewise.
20320 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20321 syscall-list-* with abi-*. Handle undefined abi-variants.
20322 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20323 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20324 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20325 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20326 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20327 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20328 Removed.
20329 (syscall-list-32-options): Likewise.
20330 (syscall-list-32-condition): Likewise.
20331 (syscall-list-64-options): Likewise.
20332 (syscall-list-64-condition): Likewise.
20333 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20334 macro.
20335 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20336 Renamed to ...
20337 (abi-*): This.
20338 (abi-64-ld-soname): New macro.
20339 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20340 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20341 Renamed to ...
20342 (abi-*): This.
20343 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20344 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20345
4da0431d
JM
203462012-05-30 Joseph Myers <joseph@codesourcery.com>
20347
3a85279c
JM
20348 * sysdeps/unix/sysv/linux/kernel-features.h
20349 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20350 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20351 include <kernel-features.h>.
20352 [!__NR_ftruncate64]: Remove conditional code.
20353 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20354 [__NR_ftruncate64]: Make code unconditional.
20355 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20356 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20357 include <kernel-features.h>.
20358 [!__NR_ftruncate64]: Remove conditional code.
20359 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20360 [__NR_ftruncate64]: Make code unconditional.
20361 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20363 include <kernel-features.h>.
20364 [!__NR_ftruncate64]: Remove conditional code.
20365 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20366 [__NR_ftruncate64]: Make code unconditional.
20367 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20369 include <kernel-features.h>.
20370 [!__NR_ftruncate64]: Remove conditional code.
20371 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20372 [__NR_ftruncate64]: Make code unconditional.
20373 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20374
4da0431d
JM
20375 * configure.in (libc_cv_fpie): Weaken to a compile test using
20376 LIBC_TRY_CC_OPTION.
20377 * configure: Regenerated.
20378
11ef492c
AK
203792012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20380
20381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20385 Refreshed.
20386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20392 Refreshed.
20393
d66ef399
DM
203942012-05-27 David S. Miller <davem@davemloft.net>
20395
20396 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20397 (___Q_zero): New.
20398 (__Q_simulate_exceptions): Return void. Change to simulate
20399 exceptions by writing into the %fsr.
20400 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20401 (__Qp_handle_exceptions): Likewise.
20402 (numbers): Delete.
20403 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20404 __Qp_handle_exceptions.
20405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20406 __Qp_handle_exceptions.
20407 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20408 as unused and give dummy FP_RND_NEAREST initializer.
20409 (FP_INHIBIT_RESULTS): Define.
20410 (___Q_simulate_exceptions): Update declaration.
20411 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20412 formatting.
20413 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20414 as unused and give dummy FP_RND_NEAREST initializer.
20415 (__Qp_handle_exceptions): Update declaration.
20416 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20417 formatting.
20418
04fb54b5
TS
204192012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20420
20421 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20422 the temporary FPU control word.
20423 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20424 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20426 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20427 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20428 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20429 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20430 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20431 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20432 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20433 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20434
3f99608f
KK
204352012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20436
20437 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20438 fields.
20439
65a4de4e
CLT
204402012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20441
20442 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20443 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20444 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20445 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20446 Likewise.
20447 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20448 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20449 Likewise.
20450
15749d40
UD
204512012-05-27 Ulrich Drepper <drepper@gmail.com>
20452
20453 * po/h.po: Update from translation team.
20454
25dbcb27
AS
204552012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20456
3d3f8e55
AS
20457 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20458
25dbcb27
AS
20459 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20460 handling of denormals.
20461 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20462 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20463 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20464 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20466 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20468 Likewise.
20469
7ad47a80 204702012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20471
20472 [BZ #14152]
20473 * math/libm-test.inc (fma_test): Don't always expect underflow
20474 exception.
20475
9c6ea9fa
SP
204762012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20477
20478 [BZ #12416]
20479 * elf/tst-execstack.c: Include stackinfo.h.
20480 (do_test): Adjust test case to ensure that pthread_getattr_np
20481 behaviour remains the same after marking stack executable.
20482
a8239222
JM
204832012-05-25 Joseph Myers <joseph@codesourcery.com>
20484
20485 * sysdeps/unix/sysv/linux/kernel-features.h
20486 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20487 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20488 kernel-features.h.
20489 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20490 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20491 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20492 kernel-features.h.
20493 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20494 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20495
918b5606
L
204962012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20497
20498 * configure.in: Define the default includes to being none.
20499 * configure: Regenerated.
20500
3a097cc7
RM
205012012-05-25 Roland McGrath <roland@hack.frob.com>
20502
8422c9a5
RM
20503 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20504 * sysdeps/x86_64/setjmp.S: Likewise.
20505 * sysdeps/i386/bsd-setjmp.S: Likewise.
20506 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20507 * sysdeps/i386/setjmp.S: Likewise.
20508 * sysdeps/i386/__longjmp.S: Likewise.
20509 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20510 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20511
3a097cc7
RM
20512 * include/stap-probe.h: New file.
20513 * configure.in: Handle --enable-systemtap.
20514 * configure: Regenerated.
20515 * config.h.in (USE_STAP_PROBE): New #undef.
20516 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20517 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20518 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20519
21708942
JM
205202012-05-25 Joseph Myers <joseph@codesourcery.com>
20521
20522 [BZ #13717]
20523 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20524 to 2.4.0 where earlier.
20525 * sysdeps/unix/sysv/linux/configure: Regenerated.
20526 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20527 <kernel-features.h>.
20528 [__ASSUME_32BITUIDS]: Make code unconditional.
20529 [!__ASSUME_32BITUIDS]: Remove conditional code.
20530 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20531 <kernel-features.h>.
20532 [__ASSUME_32BITUIDS]: Make code unconditional.
20533 [!__ASSUME_32BITUIDS]: Remove conditional code.
20534 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20535 [__ASSUME_32BITUIDS]: Make code unconditional.
20536 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20537 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20538 <kernel-features.h>.
20539 [__ASSUME_32BITUIDS]: Make code unconditional.
20540 [!__ASSUME_32BITUIDS]: Remove conditional code.
20541 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20542 <kernel-features.h>.
20543 [__ASSUME_32BITUIDS]: Make code unconditional.
20544 [!__ASSUME_32BITUIDS]: Remove conditional code.
20545 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20546 <kernel-features.h>.
20547 [__ASSUME_32BITUIDS]: Make code unconditional.
20548 [!__ASSUME_32BITUIDS]: Remove conditional code.
20549 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20550 <kernel-features.h>.
20551 [__ASSUME_32BITUIDS]: Make code unconditional.
20552 [!__ASSUME_32BITUIDS]: Remove conditional code.
20553 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20554 <kernel-features.h>.
20555 [__ASSUME_32BITUIDS]: Make code unconditional.
20556 [!__ASSUME_32BITUIDS]: Remove conditional code.
20557 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20558 <kernel-features.h>.
20559 [__ASSUME_32BITUIDS]: Make code unconditional.
20560 [!__ASSUME_32BITUIDS]: Remove conditional code.
20561 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20562 <kernel-features.h>.
20563 [__ASSUME_32BITUIDS]: Make code unconditional.
20564 [!__ASSUME_32BITUIDS]: Remove conditional code.
20565 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20566 <kernel-features.h>.
20567 [__ASSUME_32BITUIDS]: Make code unconditional.
20568 [!__ASSUME_32BITUIDS]: Remove conditional code.
20569 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20570 <kernel-features.h>.
20571 [__ASSUME_32BITUIDS]: Make code unconditional.
20572 [!__ASSUME_32BITUIDS]: Remove conditional code.
20573 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20574 <kernel-features.h>.
20575 [__ASSUME_32BITUIDS]: Make code unconditional.
20576 [!__ASSUME_32BITUIDS]: Remove conditional code.
20577 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20578 <kernel-features.h>.
20579 [__NR_setresgid] (__setresgid): Do not declare.
20580 [__ASSUME_32BITUIDS]: Make code unconditional.
20581 [!__ASSUME_32BITUIDS]: Remove conditional code.
20582 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20583 <kernel-features.h>.
20584 [__NR_setresuid] (__setresuid): Do not declare.
20585 [__ASSUME_32BITUIDS]: Make code unconditional.
20586 [!__ASSUME_32BITUIDS]: Remove conditional code.
20587 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20588 <kernel-features.h>.
20589 [__ASSUME_32BITUIDS]: Make code unconditional.
20590 [!__ASSUME_32BITUIDS]: Remove conditional code.
20591 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20592 <kernel-features.h>.
20593 [__ASSUME_32BITUIDS]: Make code unconditional.
20594 [!__ASSUME_32BITUIDS]: Remove conditional code.
20595 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20596 <kernel-features.h>.
20597 [__ASSUME_32BITUIDS]: Make code unconditional.
20598 [!__ASSUME_32BITUIDS]: Remove conditional code.
20599 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20600 <kernel-features.h>.
20601 [__ASSUME_32BITUIDS]: Make code unconditional.
20602 [!__ASSUME_32BITUIDS]: Remove conditional code.
20603 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20604 <kernel-features.h>.
20605 [__ASSUME_32BITUIDS]: Make code unconditional.
20606 [!__ASSUME_32BITUIDS]: Remove conditional code.
20607 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20608 <kernel-features.h>.
20609 [__ASSUME_32BITUIDS]: Make code unconditional.
20610 [!__ASSUME_32BITUIDS]: Remove conditional code.
20611 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20612 <kernel-features.h>.
20613 [__ASSUME_32BITUIDS]: Make code unconditional.
20614 [!__ASSUME_32BITUIDS]: Remove conditional code.
20615 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20616 <kernel-features.h>.
20617 [__ASSUME_32BITUIDS]: Make code unconditional.
20618 [!__ASSUME_32BITUIDS]: Remove conditional code.
20619 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20620 <kernel-features.h>.
20621 [__ASSUME_32BITUIDS]: Make code unconditional.
20622 [!__ASSUME_32BITUIDS]: Remove conditional code.
20623 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20624 <kernel-features.h>.
20625 [__ASSUME_32BITUIDS]: Make code unconditional.
20626 [!__ASSUME_32BITUIDS]: Remove conditional code.
20627 * sysdeps/unix/sysv/linux/kernel-features.h
20628 (__ASSUME_SETRESUID_SYSCALL): Remove.
20629 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20630 (__ASSUME_32BITUIDS): Likewise.
20631 (__ASSUME_LDT_WORKS): Likewise.
20632 (__ASSUME_O_DIRECTORY): Likewise.
20633 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20634 architecture but not kernel version.
20635 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20636 (__ASSUME_MMAP2_SYSCALL): Likewise.
20637 (__ASSUME_STAT64_SYSCALL): Likewise.
20638 (__ASSUME_IPC64): Likewise.
20639 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20640 <kernel-features.h>.
20641 [__ASSUME_32BITUIDS]: Make code unconditional.
20642 [!__ASSUME_32BITUIDS]: Remove conditional code.
20643 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20644 <kernel-features.h>.
20645 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20646 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20647 132096]: Remove conditional code.
20648 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20649 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20650 <kernel-features.h>.
20651 [__ASSUME_32BITUIDS]: Make code unconditional.
20652 [!__ASSUME_32BITUIDS]: Remove conditional code.
20653 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20654 <kernel-features.h>.
20655 [__ASSUME_32BITUIDS]: Make code unconditional.
20656 [!__ASSUME_32BITUIDS]: Remove conditional code.
20657 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20658 <kernel-features.h>.
20659 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20660 unconditional.
20661 (__setresgid): Do not declare.
20662 [__ASSUME_32BITUIDS]: Make code unconditional.
20663 [!__ASSUME_32BITUIDS]: Remove conditional code.
20664 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20665 <kernel-features.h>.
20666 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20667 unconditional.
20668 (__setresuid): Do not declare.
20669 [__ASSUME_32BITUIDS]: Make code unconditional.
20670 [!__ASSUME_32BITUIDS]: Remove conditional code.
20671 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20672 <kernel-features.h>.
20673 [__ASSUME_32BITUIDS]: Make code unconditional.
20674 [!__ASSUME_32BITUIDS]: Remove conditional code.
20675 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20676 <kernel-features.h>.
20677 [__ASSUME_32BITUIDS]: Make code unconditional.
20678 [!__ASSUME_32BITUIDS]: Remove conditional code.
20679
a386f1cc
RH
206802012-05-25 Richard Henderson <rth@twiddle.net>
20681
20682 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20683 dl_hwcap to ifunc resolver.
20684 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20685 elf_ifunc_invoke.
20686 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20687 dl_hwcap to ifunc resolver.
20688 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20689
b6550497
JM
206902012-05-24 Joseph Myers <joseph@codesourcery.com>
20691
20692 [BZ #14153]
20693 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20694 for |x| <= 2**-26, not 2**-57.
20695 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20696 exception.
20697
b0bc23a1
JL
206982012-05-24 Jeff Law <law@redhat.com>
20699
20700 * stdio-common/Makefile (tests): Add bug25.
20701 * stdio-common/bug25.c: New test.
20702
347c92e9
L
207032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20704
20705 [BZ #13576]
20706 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20707 multiple of MALLOC_ALIGNMENT in size.
20708 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20709
6bcc8b3f
JM
207102012-05-24 Joseph Myers <joseph@codesourcery.com>
20711
20712 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20713 Require >= 256.
20714 (FILENAME_MAX): Use macro-int-constant.
20715 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20716 (_IOFBF): Use macro-int-constant.
20717 (_IOLBF): Likewise.
20718 (_IONBF): Likewise.
20719 (SEEK_CUR): Likewise.
20720 (SEEK_END): Likewise.
20721 (SEEK_SET): Likewise.
20722 (TMP_MAX): Likewise.
20723 (EOF): Use macro-int-constant. Require < 0.
20724 (NULL): Use macro-constant. Require == 0.
20725 (stdin): Require type to be FILE *.
20726 (stdout): Likewise.
20727 (stderr): Likewise.
20728 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20729 macro-int-constant.
20730 (EXIT_SUCCESS): Likewise.
20731 (NULL): Use macro-constant. Require == 0.
20732 (RAND_MAX): Use macro-int-constant.
20733 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20734 [C99-based standards] (strtof): Require function.
20735 [C99-based standards] (strtold): Likewise.
20736 [C99-based standards] (strtoll): Likewise.
20737 [C99-based standards] (strtoull): Likewise.
20738 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20739 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20740 [ISO || ISO99 || ISO11] (math.h): Likewise.
20741 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20742 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20743 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20744
d18ea0c5
AS
207452012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20746
20747 [BZ #14132]
56d25bb8
AS
20748 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20749 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20750 * intl/dgettext.c (DCGETTEXT): Likewise.
20751 * intl/gettext.c (DCGETTEXT): Likewise.
20752 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20753 * posix/regex_internal.h (gettext): Likewise.
20754 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20755 Remove declaration.
20756 * include/argz.h (__argz_count_internal)
20757 (__argz_stringify_internal): Remove declaration.
20758 (__argz_count, __argz_stringify): Declare hidden proto.
20759 * intl/dcgettext.c: Remove use of INTDEF.
20760 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20761 * string/argz-stringify.c: Likewise.
20762 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20763 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20764 Declare hidden proto.
d18ea0c5
AS
20765 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20766 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20767 Declare hidden proto.
20768 * include/stdio.h (__asprintf_internal): Don't declare.
20769 (__asprintf): Don't define as macro. Declare hidden proto.
20770 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20771 (__fsetlocking): Declare hidden proto.
20772 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20773 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20774 hidden proto.
20775 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20776 (_IO_setlinebuf): Remove use of INTUSE.
20777 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20778 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20779 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20780 Remove declaration.
20781 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20782 (_IO_do_flush): Remove use of INTUSE.
20783 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20784 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20785 (_IO_adjust_column, _IO_least_wmarker)
20786 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20787 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20788 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20789 (_IO_default_doallocate, _IO_wdefault_doallocate)
20790 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20791 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20792 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20793 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20794 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20795 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20796 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20797 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20798 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20799 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20800 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20801 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20802 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20803 proto.
20804 (_IO_flush_all_internal, _IO_adjust_column_internal)
20805 (_IO_default_uflow_internal, _IO_default_finish_internal)
20806 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20807 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20808 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20809 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20810 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20811 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20812 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20813 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20814 (_IO_file_close_internal, _IO_file_close_it_internal)
20815 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20816 (_IO_file_init_internal, _IO_file_attach_internal)
20817 (_IO_file_fopen_internal, _IO_file_read_internal)
20818 (_IO_file_sync_internal, _IO_file_seek_internal)
20819 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20820 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20821 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20822 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20823 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20824 (_IO_list_all_internal, _IO_link_in_internal)
20825 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20826 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20827 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20828 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20829 (_IO_do_write_internal, _IO_padn_internal)
20830 (_IO_getline_info_internal, _IO_getline_internal)
20831 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20832 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20833 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20834 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20835 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20836 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20837 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20838 with libc_hidden_ver, remove use of INTUSE.
20839 * libio/genops.c: Likewise.
20840 * libio/freopen.c: Likewise.
20841 * libio/freopen64.c: Likewise.
20842 * libio/iofclose.c: Likewise.
20843 * libio/iofdopen.c: Likewise.
20844 * libio/iofflush.c: Likewise.
20845 * libio/iofflush_u.c: Likewise.
20846 * libio/iofgets.c: Likewise.
20847 * libio/iofgets_u.c: Likewise.
20848 * libio/iofopen.c: Likewise.
20849 * libio/iofopncook.c: Likewise.
20850 * libio/iofread.c: Likewise.
20851 * libio/iofread_u.c: Likewise.
20852 * libio/ioftell.c: Likewise.
20853 * libio/iofwrite.c: Likewise.
20854 * libio/iogetline.c: Likewise.
20855 * libio/iogets.c: Likewise.
20856 * libio/iogetwline.c: Likewise.
20857 * libio/iopadn.c: Likewise.
20858 * libio/iopopen.c: Likewise.
20859 * libio/ioseekoff.c: Likewise.
20860 * libio/ioseekpos.c: Likewise.
20861 * libio/iosetbuffer.c: Likewise.
20862 * libio/iosetvbuf.c: Likewise.
20863 * libio/ioungetc.c: Likewise.
20864 * libio/ioungetwc.c: Likewise.
20865 * libio/iovdprintf.c: Likewise.
20866 * libio/iovsprintf.c: Likewise.
20867 * libio/iovsscanf.c: Likewise.
20868 * libio/memstream.c: Likewise.
20869 * libio/obprintf.c: Likewise.
20870 * libio/oldfileops.c: Likewise.
20871 * libio/oldiofclose.c: Likewise.
20872 * libio/oldiofdopen.c: Likewise.
20873 * libio/oldiofopen.c: Likewise.
20874 * libio/oldiopopen.c: Likewise.
20875 * libio/oldstdfiles.c: Likewise.
20876 * libio/putc.c: Likewise.
20877 * libio/setbuf.c: Likewise.
20878 * libio/setlinebuf.c: Likewise.
20879 * libio/stdfiles.c: Likewise.
20880 * libio/strops.c: Likewise.
20881 * libio/vasprintf.c: Likewise.
20882 * libio/vscanf.c: Likewise.
20883 * libio/vsnprintf.c: Likewise.
20884 * libio/vswprintf.c: Likewise.
20885 * libio/wfiledoalloc.c: Likewise.
20886 * libio/wfileops.c: Likewise.
20887 * libio/wgenops.c: Likewise.
20888 * libio/wmemstream.c: Likewise.
20889 * libio/wstrops.c: Likewise.
20890 * libio/__fpurge.c: Likewise.
20891 * libio/__fsetlocking.c: Likewise.
20892 * assert/assert.c: Likewise.
20893 * debug/fgets_chk.c: Likewise.
20894 * debug/fgets_u_chk.c: Likewise.
20895 * debug/fread_chk.c: Likewise.
20896 * debug/fread_u_chk.c: Likewise.
20897 * debug/gets_chk.c: Likewise.
20898 * debug/obprintf_chk.c: Likewise.
20899 * debug/vasprintf_chk.c: Likewise.
20900 * debug/vdprintf_chk.c: Likewise.
20901 * debug/vsnprintf_chk.c: Likewise.
20902 * debug/vsprintf_chk.c: Likewise.
20903 * malloc/mtrace.c: Likewise.
20904 * misc/error.c: Likewise.
20905 * misc/syslog.c: Likewise.
20906 * stdio-common/asprintf.c: Likewise.
20907 * stdio-common/fxprintf.c: Likewise.
20908 * stdio-common/getw.c: Likewise.
20909 * stdio-common/isoc99_fscanf.c: Likewise.
20910 * stdio-common/isoc99_scanf.c: Likewise.
20911 * stdio-common/isoc99_vfscanf.c: Likewise.
20912 * stdio-common/isoc99_vscanf.c: Likewise.
20913 * stdio-common/isoc99_vsscanf.c: Likewise.
20914 * stdio-common/printf-prs.c: Likewise.
20915 * stdio-common/printf_fp.c: Likewise.
20916 * stdio-common/printf_fphex.c: Likewise.
20917 * stdio-common/printf_size.c: Likewise.
20918 * stdio-common/putw.c: Likewise.
20919 * stdio-common/scanf.c: Likewise.
20920 * stdio-common/sprintf.c: Likewise.
20921 * stdio-common/tmpfile.c: Likewise.
20922 * stdio-common/vfprintf.c: Likewise.
20923 * stdio-common/vfscanf.c: Likewise.
20924 * stdlib/strfmon_l.c: Likewise.
20925 * sunrpc/openchild.c: Likewise.
20926 * sunrpc/xdr_stdio.c: Likewise.
20927 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20928 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20929
d6c33fda
RM
209302012-05-24 Roland McGrath <roland@hack.frob.com>
20931
c1487492
RM
20932 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20933
20934 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20935 in the third column, to generate for the shared library an IFUNC
20936 that uses _dl_vdso_vsym.
20937 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20938 * Makeconfig (object-suffixes-noshared): New variable.
20939
20940 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20941 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20942 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20943 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20944
d6c33fda
RM
20945 [BZ #14132]
20946 * include/sys/time.h (__gettimeofday): Remove macro.
20947 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20948 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20949 Remove INTDEF.
20950 (__gettimeofday): Add libc_hidden_def.
20951 (gettimeofday): Add libc_hidden_weak.
20952 * sysdeps/mach/gettimeofday.c: Likewise.
20953 * sysdeps/posix/gettimeofday.c: Likewise.
20954 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20955 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20957 (__gettimeofday_internal): Remove strong_alias.
20958 (__gettimeofday): Add libc_hidden_def.
20959 (gettimeofday): Add libc_hidden_weak.
20960 * sysdeps/unix/syscalls.list (gettimeofday):
20961 Remove __gettimeofday_internal alias.
20962
b5a2bbe6
L
209632012-05-24 Daniel Jacobowitz <drow@false.org>
20964 H.J. Lu <hongjiu.lu@intel.com>
20965
20966 [BZ #12495]
20967 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20968 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20969 (largebin_index_32_big): New.
20970 (largebin_index): Use it for 16-byte alignment.
20971 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20972 correction with front_misalign.
20973
cfba4fda
L
209742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20975
7f907421
L
20976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20978 Likewise.
20979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20980 Likewise.
20981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20982 Likewise.
20983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20984 Likewise.
20985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20986 Likewise.
20987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20988 Likewise.
20989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20990 Likewise.
20991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20992 Likewise.
20993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20994 Likewise.
20995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20996 Likewise.
20997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20998 Likewise.
20999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21000 Likewise.
21001
cfba4fda
L
21002 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21003 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21004
80bad0cc
JM
210052012-05-24 Joseph Myers <joseph@codesourcery.com>
21006
7a25eb06
JM
21007 [BZ #10846]
21008 [BZ #14036]
21009 * math/libm-test.inc (exp_test): Add test from bug 14036.
21010 (pow_test): Add test from bug 10846.
21011
795405f9
JM
21012 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21013 and other flags.
21014 (special_function): Do not include flags in test name.
21015 (parse_args): Likewise.
21016 * sysdeps/i386/fpu/libm-test-ulps: Update.
21017 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21018 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21019 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21021
80bad0cc
JM
21022 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21023 exceptions.
21024 * math/libm-test.inc ("Philosophy"): Update comment about
21025 exception testing.
21026 (UNDERFLOW_EXCEPTION): New macro.
21027 (UNDERFLOW_EXCEPTION_OK): Likewise.
21028 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21029 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21030 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21031 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21032 (INVALID_EXCEPTION_OK): Update value.
21033 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21034 (OVERFLOW_EXCEPTION_OK): Likewise.
21035 (IGNORE_ZERO_INF_SIGN): Likewise.
21036 (test_exceptions): Handle underflow exceptions.
21037 (acos_test): Update for underflow exception expectations.
21038 (cexp_test): Likewise.
21039 (clog_test): Likewise.
21040 (clog10_test): Likewise.
21041 (csqrt_test): Likewise.
21042 (ctan_test): Likewise.
21043 (ctanh_test): Likewise.
21044 (exp_test): Likewise.
21045 (exp10_test): Likewise.
21046 (exp2_test): Likewise.
21047 (expm1_test): Likewise.
21048 (fma_test): Likewise.
21049 (j0_test): Likewise.
21050 (jn_test): Likewise.
21051 (nexttoward_test): Likewise.
21052 (pow_test): Likewise.
21053 (scalbn_test): Likewise.
21054 (scalbln_test): Likewise.
21055 (tan_test): Likewise.
21056 (y1_test): Likewise.
21057 * sysdeps/i386/fpu/libm-test-ulps: Update.
21058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21059
9e0e3d0b
DM
210602012-05-23 David S. Miller <davem@davemloft.net>
21061
21062 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21063 (__libc_sigaction): Remove unused local variables.
21064
ccd0a08f
L
210652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21066
21067 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21068
62bdf9a6
PE
210692012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21070
f8591f80
PE
21071 mktime: avoid signed integer overflow
21072 * time/mktime.c (__mktime_internal): Do not mishandle the case
21073 where diff == INT_MIN.
21074
94c7d826
PE
21075 mktime: simplify computation of average
21076 * time/mktime.c (ranged_convert): Use new time_t_avg function
21077 instead of rolling our own (probably-slower) code.
21078
ce73d683
PE
21079 mktime: do not assume signed right shift propagates sign bit
21080 * time/mktime.c (isdst_differ): New static function.
21081 (__mktime_internal): No need to normalize tm_isdst now.
21082 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21083 tm_isdst values.
21084
72a22e59
PE
21085 mktime: merge another wrapv change from gnulib
21086 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21087 from some compilers.
21088
68605433
PE
21089 mktime: remove incorrect attempt at unusual arithmetics
21090 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21091 The code didn't really work on such machines anyway.
21092 (TYPE_MINIMUM): Assume two's complement.
21093 (twos_complement_arithmetic): Verify that long_int and time_t
21094 are two's complement (or unsigned, in the latter case).
21095
03cf7fe3
PE
21096 mktime: check signed shifts on long_int and time_t, too
21097 * time/mktime.c (SHR): Check that shifts work as desired
21098 on the types long_int and time_t too, as SHR is used on
21099 such types.
21100
f04dfbc2
PE
21101 mktime: do not assume 'long' is wide enough
21102 * time/mktime.c (verify): Move decl up.
21103 (long_int): New type.
21104 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21105 to remove assumption in the code that 'long' is wide enough to
21106 store year values. This assumption is not true on x32 and on
21107 some non-glibc platforms.
21108
62bdf9a6
PE
21109 mktime: merge wrapv change from gnulib
21110 * time/mktime.c (WRAPV): New macro.
21111 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21112 (guess_time_tm, __mktime_internal): Do not assume that signed
21113 integer overflow wraps around; modern compilers generate code
21114 where this assumption is no longer valid.
21115
5e292e4f
L
211162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21117
21118 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21119 Replace "jmp L(pseudo_end)" with "ret".
21120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21121 Likewise.
21122
8caf8c87
AJ
211232012-05-23 Andreas Jaeger <aj@suse.de>
21124
21125 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21126 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21127
1a09dc56
AJ
211282012-05-23 Andreas Jaeger <aj@suse.de>
21129 Maximilian Attems <max@stro.at>
21130
21131 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21132 New macros.
21133
1c87aba0
L
211342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21135
21136 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21137 code so that pseudo_end is just ret and the stack pointer is
21138 correct also for static library in error case.
21139
40e45bd5
JM
211402012-05-23 Joseph Myers <joseph@codesourcery.com>
21141
c2670533
JM
21142 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21143 move to syscalls.list.
21144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21148
40e45bd5
JM
21149 * manual/install.texi (Running make install): Do not mention Linux
21150 kernel version for which pt_chown is not needed.
21151 (Linux): Do not mention problems with nscd with 2.0 kernels.
21152 * INSTALL: Regenerated.
21153
be08eda5
AJ
211542012-05-23 Andreas Jaeger <aj@suse.de>
21155
21156 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21157 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21158 macro.
21159 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21161 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21163 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21164 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21165 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21166 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21167 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21168 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21169 * sysdeps/unix/sysv/linux/bits/in.h
21170 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21171
a6a056bb
RM
211722012-05-22 Roland McGrath <roland@hack.frob.com>
21173
21174 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21175 (PREPARE_VERSION): Just use assert instead, it will be elided
21176 under [NDEBUG] anyway.
21177
c9009328
L
211782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21179
21180 * sysdeps/unix/sysv/linux/Makefile: Include
21181 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21182 (sysdep_routines): Remove sysctl.
c9009328
L
21183 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21184 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21185 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21186 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21187 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21188
73338355
AJ
211892012-05-22 Andreas Jaeger <aj@suse.de>
21190
21191 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21192 that pseudo_end is just ret and the stack pointer is correct also
21193 for static library in error case.
21194
d44638b0
PP
211952012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21196
21197 [BZ #14122]
21198 * nss/nsswitch.c (defconfig_entries): New variable.
21199 (__nss_database_lookup): Don't leak defconfig entries.
21200 (nss_parse_service_list): Don't leak on error paths.
21201 (free_database_entries): New function.
21202 (free_defconfig): New function.
21203 (free_mem): Move common code to free_database_entries.
21204
31a39bd8
L
212052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21206
da0331a8
L
21207 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21208 Add arch_prctl.
21209 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21210
31a39bd8
L
21211 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21212 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21214 New macro.
21215 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21216 (INTERNAL_SYSCALL_TYPES): Likewise.
21217 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21218 (LOAD_REGS_TYPES_[1-6]): Likewise.
21219 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21220 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21221
45470df3
AZ
212222012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21223
21224 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21225 copysignl for GLIBC_2_0.
21226 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21227 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21229 logbl for GLIBC_2_0.
21230 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21231 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21232
98a61bcb
L
212332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21234
a4f6e481
L
21235 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21236 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21237
f63d5db6
L
21238 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21239 Use "neg %eax".
21240
98a61bcb
L
21241 * time/mktime.c: Update copyright years.
21242
95770f14
PE
212432012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21244
6226efbd
PE
21245 mktime: merge comment-quoting-style change from gnulib
21246 * time/mktime.c: Quote 'like this' in comments.
21247 The GNU coding standards suggest that we no longer quote `like this',
21248 as "`" and "'" are typically rendered asymmetrically nowadays.
21249 The typical gnulib style is to quote 'like this' when quoting
21250 code, and "like this" when quoting English.
21251
b99e4f78
PE
21252 * time/mktime.c (compile-command): Add "-I.".
21253
643e01e6
PE
21254 mktime: merge mktime-internal.h change from gnulib
21255 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21256
2554247d
PE
21257 mktime: merge time_r change from gnulib
21258 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21259
826dd0ab
PE
21260 mktime: merge DEBUG change from gnulib
21261 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21262 case system <time.h> has a #define.
21263
bd83aabe
PE
21264 mktime: merge <sys/types.h> change from gnulib
21265 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21266 since <time.t> is now guaranteed to define time_t.
21267
95770f14
PE
21268 mktime: merge HAVE_CONFIG_H change from gnulib
21269 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21270
5e1a27a9
L
212712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21272
0e44a77e
L
21273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21274 Use "neg %eax".
21275
5e1a27a9
L
21276 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21277 __rlim_t cast.
21278 (struct rusage): Use anonymous union to pad each field to
21279 __syscall_slong_t.
21280
46259bec
DM
212812012-05-21 David S. Miller <davem@davemloft.net>
21282
21283 * Makefules (o-iterator): Remove .s cases.
21284 (compile-command.s): Delete.
21285 (COMPILE.s): Delete.
21286 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21287
59f0c22e
JM
212882012-05-21 Joseph Myers <joseph@codesourcery.com>
21289
21290 * configure.in (libc_cv_predef_stack_protector): Only consider
21291 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21292 * configure: Regenerated.
21293
20c07380
L
212942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21295
bbb3154b
L
21296 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21297 New macro. Use R*LP on int and pointer.
21298 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21299 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21300 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21301 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21302
20c07380
L
21303 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21304 [__WORDSIZE_TIME64_COMPAT32] instead of
21305 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21306 (struct utmp): Likewise.
21307 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21308 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21309 Renamed to ...
21310 (__WORDSIZE_TIME64_COMPAT32): This.
21311 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21312 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21313 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21314 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21315 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21316 (__WORDSIZE_TIME64_COMPAT32): New macro.
21317
d8d1017e
AJ
213182012-05-21 Andreas Jaeger <aj@suse.de>
21319
21320 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21321 only if [SHARED]. Add prototype for __wcschr_ia32.
21322
6c7fb145
RM
213232012-05-21 Roland McGrath <roland@hack.frob.com>
21324
21325 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21326 of %rbp unmolested in the jmp_buf while mangling the low bits.
21327 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21328 unmolested high bits of %rbp while demangling the low bits.
21329 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21330
66274218
AJ
213312012-05-21 Andreas Jaeger <aj@suse.de>
21332
07c58f8f
AJ
21333 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21334 * sunrpc/svc_simple.c: Use it for registerrpc.
21335 * sunrpc/xcrypt.c: Use it for passwd2des.
21336
66274218
AJ
21337 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21338
61f65140
L
213392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21340
21341 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21342 Don't define if [__SYSCALL_WORDSIZE != 32].
21343 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21344 New macro.
21345
5fefb436
AJ
213462012-05-21 Bruno Haible <bruno@clisp.org>
21347 Andreas Jaeger <aj@suse.de>
21348
21349 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21350 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21351 inptr and inend for must_buffer_ch.
21352 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21353 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21354 * stdio-common/Makefile (tests): Remove bug15.
21355 (bug15-ENV): Remove macro.
21356 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21357 anymore.
21358
d8e272ab
AJ
213592012-05-19 Andreas Jaeger <aj@suse.de>
21360 Roland McGrath <roland@hack.frob.com>
21361
21362 * manual/contrib.texi: Completely rewritten. It contains now an
21363 alphabetical list of contributors and their contributions.
21364
4a56a162
RH
213652012-05-21 Richard Henderson <rth@twiddle.net>
21366
21367 * misc/getauxval.c (__getauxval): Use unsigned long int.
21368 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21369 (getauxval): Use unsigned long int.
21370
d024d23c
L
213712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21372
21373 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21374
cbc00a03
RM
213752012-05-21 Roland McGrath <roland@hack.frob.com>
21376
21377 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21378 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21379 __alignof__ (long double).
21380
478143fa
AZ
213812012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21382
21383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21384
c7683a6d
RH
213852012-05-20 Richard Henderson <rth@twiddle.net>
21386
21387 * misc/getauxval.c: New file.
21388 * misc/sys/auxv.h: New file.
21389 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21390 (routines): Add getauxval.
21391 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21392 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21393 * elf/dl-sysdep.c (_dl_auxv): Remove.
21394 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21395 * elf/dl-support.c (_dl_auxv): New variable.
21396 (_dl_aux_init): Initialize it.
21397 * manual/startup.texi (Auxiliary Vector): New node.
21398 * sysdeps/generic/bits/hwcap.h: New file.
21399 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21400 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21401 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21402 * sysdeps/sparc/sysdep.h: ... here. Include it.
21403 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21404 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21406 Update.
c7683a6d
RH
21407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21410 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21415
a6f1845d
AZ
214162012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21417
21418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21419
cbcbe830
DM
214202012-05-19 David S. Miller <davem@davemloft.net>
21421
21422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21423
e0b16cc2
JM
214242012-05-19 Joseph Myers <joseph@codesourcery.com>
21425
21426 [BZ #14123]
21427 * math/s_ccosh.c: Include <float.h>
21428 (__ccosh): Avoid internal overflow calculating sinh and cosh
21429 values before multiplying by sin and cos values.
21430 * math/s_ccoshf.c: Likewise.
21431 * math/s_ccoshl.c: Likewise.
21432 * math/s_csin.c: Likewise.
21433 * math/s_csinf.c: Likewise.
21434 * math/s_csinl.c: Likewise.
21435 * math/s_csinh.c: Likewise.
21436 * math/s_csinhf.c: Likewise.
21437 * math/s_csinhl.c: Likewise.
21438 * math/libm-test.inc (ccos_test): Add more tests.
21439 (ccosh_test): Likewise.
21440 (csin_test): Likewise.
21441 (csinh_test): Likewise.
21442 * sysdeps/i386/fpu/libm-test-ulps: Update.
21443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21444
6ad13e08
L
214452012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21446
f66f0ce8
L
21447 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21448 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21449
6ad13e08
L
21450 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21451
b1d072a7
JM
214522012-05-19 Joseph Myers <joseph@codesourcery.com>
21453
21454 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21455 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21456 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21457 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21458 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21459 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21460 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21461 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21462 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21463 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21464 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21465 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21466 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21467 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21468 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21469 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21470 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21471 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21472 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21473 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21474 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21475 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21476 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21477 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21478 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21479 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21480 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21481 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21482 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21483 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21484 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21485
9eae47cb
AJ
214862012-05-18 Andreas Jaeger <aj@suse.de>
21487
21488 * csu/.gitignore: Delete.
21489
bb07f69f
L
214902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21491
21492 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21493 (timex): Use __syscall_slong_t.
21494
e6bdb741
AJ
214952012-05-18 Andreas Jaeger <aj@suse.de>
21496 Carlos O'Donell <carlos_odonell@mentor.com>
21497
21498 * manual/install.texi (Configuring and compiling): Update
21499 description about files modified in the source directory.
d6c33fda 21500 * INSTALL: Regenerated.
e6bdb741 21501
1b74487e
L
215022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21503
21504 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21505 value. Use "or" to set return value to -1.
21506 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21507 negate return value.
21508
a88b64b9
TMQMF
215092012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21510
21511 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21512 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21513 failure if the compiler has Graphite support disabled.
21514 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21515 Likewise.
21516 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21517 CFLAGS-memmove.c): Likewise.
21518 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21519 Likewise.
21520
3707636e
L
215212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21522
610b8622
L
21523 * sysdeps/x86_64/x32/_itoa.h: New file.
21524
7cd195df
L
21525 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21526 getdents system call only if kernel and user dirents have the
21527 same d_ino and d_off.
21528
94b07d20
L
21529 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21530 LLONG_MAX != LONG_MAX.
21531 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21532 (_fitoa_word): Likewise.
21533
18298070
L
21534 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21535 years.
21536 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21537 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21538 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21539
553c7ea4
L
21540 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21541 include <bits/wordsize.h>. Check __x86_64__ instead of
21542 __WORDSIZE.
21543 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21544 if __x86_64__ is defined. Use anonymous union on fpstate.
21545
3707636e
L
21546 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21547 anonymous union.
21548
b53ef01a
AS
215492012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21550
37fb1dc0
AS
21551 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21552 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21553 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21554 Refer to _rtld_local_ro instead of _rtld_global_ro.
21555 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21556 Likewise.
21557 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21558 Likewise.
21559 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21560 Likewise.
21561 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21562 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21563 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21564
b53ef01a
AS
21565 * sysdeps/powerpc/powerpc32/dl-machine.c
21566 (__elf_machine_runtime_setup) [PROF]: Don't reference
21567 _dl_prof_resolve.
21568
7a185db2
AJ
215692012-05-18 Andreas Jaeger <aj@suse.de>
21570
21571 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21572 function only available for GCCs before 3.4 since GCC 3.4
21573 introduced a builtin.
21574 (lrint): Likewise.
21575 (llrintf): Likewise.
21576 (llrint): Likewise.
21577 (fmaxf): Likewise.
21578 (fmax): Likewise.
21579 (fminf): Likewise.
21580 (fmin): Likewise.
21581 (rint): Likewise.
21582 (rintf): Likewise.
21583 (nearbyint): Likewise.
21584 (nearbyintf): Likewise.
21585 (ceil): Likewise.
21586 (ceilf): Likewise.
21587 (floor): Likewise.
21588 (floorf): Likewise.
21589
3e5aef87
L
215902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21591
428bd707
L
21592 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21593 on both fields and cast pointer to __syscall_ulong_t.
21594
3e5aef87
L
21595 * bits/types.h (__fsword_t): New type.
21596 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21597 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21598 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21599 (__FSWORD_T_TYPE): Likewise.
21600 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21601 (__FSWORD_T_TYPE): Likewise.
21602 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21603 (__FSWORD_T_TYPE): Likewise.
21604 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21605 (__FSWORD_T_TYPE): Likewise.
21606 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21607 __SWORD_TYPE with __fsword_t.
21608 (statfs64): Likewise.
21609
1ba7c3dc
DM
216102012-05-17 David S. Miller <davem@davemloft.net>
21611
21612 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21613
59910343
AJ
216142012-05-17 Andreas Jaeger <aj@suse.de>
21615
21616 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21617 warning.
21618
2e4c1e9e
L
216192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21620
21621 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21622
de7f5ce7
AJ
216232012-05-17 Andreas Jaeger <aj@suse.de>
21624
21625 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21626 when it is used.
21627
286abc3d
CM
216282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21629
21630 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21631
477cc68e
L
216322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21633
21634 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21635 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21636
1a0994f5
CD
216372012-05-17 Andreas Jaeger <aj@suse.de>
21638 Carlos O'Donell <carlos_odonell@mentor.com>
21639
21640 [BZ #14059]
21641 * sysdeps/x86_64/multiarch/init-arch.h
21642 (bit_YMM_Usable): Rename to...
21643 (bit_AVX_Usable): ... this.
21644 (bit_FMA4_Usable): New macro.
21645 (bit_XMM_state): New macro.
21646 (bit_YMM_state): New macro.
21647 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21648 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21649 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21650 (CPUID_OSXSAVE): New macro.
21651 (CPUID_AVX): New macro.
21652 (CPUID_FMA4): New macro.
21653 (index_YMM_Usable): Rename to...
21654 (index_AVX_Usable): ... this.
21655 (HAS_AVX): Use HAS_ARCH_FEATURE.
21656 (HAS_FMA4): Likewise.
21657 (HAS_YMM_USABLE): Remove.
21658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21659 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21660 are present.
21661 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21662 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21663 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21664 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21665 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21666
0af797de
CM
216672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21668
21669 * math/libm-test.c: Support platforms without multiple rounding modes.
21670 * math/bug-nextafter.c: Support platforms without FP exceptions.
21671 * math/bug-nexttoward.c: Likewise.
21672 * math/test-fenv.c: Likewise.
21673 * math/test-misc.c: Likewise.
21674 * stdlib/bug-getcontext.c: Likewise.
21675
e39745ff
AJ
216762012-05-17 Andreas Jaeger <aj@suse.de>
21677
21678 * manual/examples/search.c (critter_cmp): Change signature to
21679 avoid warnings.
21680 * manual/string.texi (Collation Functions): Likewise.
21681
48970aba
L
216822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21683
21684 * bits/types.h: Fold copyright years.
21685 * bits/typesizes.h: Likewise.
21686 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21687 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21688 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21689 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21690 * time/time.h: Likewise.
21691
bedee953
PP
216922012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21693
21694 [BZ #208]
21695 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21696 in instead of returning them. Return void.
21697 (__libc_mallinfo): Accumulate over all arenas.
21698 (__malloc_stats): Adjust for change in int_mallinfo interface.
21699
61653dfb
RM
217002012-05-16 Roland McGrath <roland@hack.frob.com>
21701
30b99d79
RM
21702 [BZ #10375]
21703 * configure.in (NM): Add AC_CHECK_TOOL for it.
21704 (libc_extra_cflags): New substituted variable.
21705 Check for -fstack-protector being used implicitly.
21706 * configure: Regenerated.
21707 * config.make.in (config-extra-cflags): New variable,
21708 gets @libc_extra_cflags@.
21709 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21710
61653dfb
RM
21711 [BZ #10375]
21712 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21713 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21714 * configure: Regenerated.
21715 * config.make.in (CPPUNDEFS): New substituted variable.
21716 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21717 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21718 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21719
661768bb
L
217202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21721
21722 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21723 (mq_attr): Use __syscall_slong_t.
21724
d4261567
L
217252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21726
21727 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21728 Check __x86_64__ instead of __WORDSIZE.
21729 (_STAT_VER_LINUX): Likewise.
21730 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21731 __syscall_ulong_t and __syscall_slong_t.
21732 (stat64): Likewise.
21733
cf3ff365
L
217342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21735
21736 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21737
76cf3e4d
L
217382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21739
21740 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21741
a637753a
L
217422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21743
21744 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21745 __syscall_ulong_t.
21746
d5e05119
L
21747 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21748 include <bits/wordsize.h>. Check __x86_64__ instead of
21749 __WORDSIZE.
21750 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21751 defined.
21752 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21753
f62ee380
L
21754 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21755 include <bits/wordsize.h>. Check __x86_64__ instead of
21756 __WORDSIZE.
21757 (user_regs_struct): Use "__extension__ unsigned long long"
21758 instead of "unsigned long" if __x86_64__ is defined.
21759 (user): Likewise. Pad after pointer field if __ILP32__ is
21760 defined.
21761
4e124ced
JM
217622012-05-16 Joseph Myers <joseph@codesourcery.com>
21763
6a3951a0
JM
21764 * configure.in (makeinfo): Require version 4.5 or later. Allow
21765 versions 5 to 9.
21766 * configure: Regenerated.
21767 * manual/install.texi (texinfo): Increase version requirement to
21768 4.5 or later.
21769 * INSTALL: Regenerated.
21770
4e124ced
JM
21771 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21772
953ca31a
L
217732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21774
21775 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21776
617aca05
L
21777 * sysdeps/x86_64/x32/ffs.c: New file.
21778
5762f7ae
L
21779 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21780 __syscall_ulong_t.
21781 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21782 defined. Use __syscall_ulong_t.
21783 (shminfo): Use __syscall_ulong_t.
21784 (shm_info): Likewise.
21785
a26b6856
L
21786 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21787 __syscall_ulong_t.
21788
cb2b9ef7
L
21789 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21790 <bits/wordsize.h>.
21791 (msgqnum_t): Use __syscall_ulong_t.
21792 (msglen_t): Likewise.
21793 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21794 __syscall_ulong_t.
21795
34683bb0
L
21796 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21797 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21798
84a68786
L
21799 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21800
48baa5f1
L
21801 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21802 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21803
180be88b
L
21804 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21805 __syscall_slong_t.
21806
5e90c8ad
L
21807 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21808 include <bits/wordsize.h>. Check __x86_64__ instead of
21809 __WORDSIZE.
21810
23dfb58b
L
21811 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21812 "unsigned long long int" if __x86_64__ is defined.
21813 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21814
ce5d54b0
L
21815 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21816 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21817 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21818
13dc9eac
L
21819 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21820 <stdint.h>.
21821 (GET_PC): Cast to uintptr_t first.
21822 (GET_FRAME): Likewise.
21823 (GET_STACK): Likewise.
21824
a7895d15
L
21825 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21826 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21827 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21828 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21829 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21830 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21831 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21832 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21833 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21834 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21835 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21836 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21837 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21838 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21839 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21840 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21841 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21842 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21843 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21844 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21845 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21846 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21847 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21848 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21849 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21850 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21851 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21852 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21853 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21854
656416c9
AS
218552012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21856
5bd66283
AS
21857 * Makerules (+depfiles): Also collect depfiles from .oS in
21858 $(extra-objs).
21859 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21860 .oS, $(libnldbl-routines)).
21861
656416c9
AS
21862 * Makerules (native-compile-mkdep-flags): Define.
21863 * sunrpc/Makefile (extra-objs): Add $(addprefix
21864 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21865 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21866 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21867 calling $(make-target-directory).
21868
a46f2169
L
218692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21870
21871 * bits/types.h (__snseconds_t): Removed.
21872 * time/time.h (struct timespec): Replace __snseconds_t with
21873 __syscall_slong_t.
21874 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21875 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21876 Likewise.
21877 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21878 (__SNSECONDS_T_TYPE): Likewise.
21879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21880 (__SNSECONDS_T_TYPE): Likewise.
21881 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21882 (__SNSECONDS_T_TYPE): Likewise.
21883
6af6528b
L
218842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21885
21886 * sysdeps/mach/hurd/bits/typesizes.h
21887 (__SYSCALL_SLONG_TYPE): New macro.
21888 (__SYSCALL_ULONG_TYPE): Likewise.
21889
de986b56
L
218902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21891
21892 * bits/types.h (__syscall_slong_t): New type.
21893 (__syscall_ulong_t): Likewise.
21894
21895 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21896 (__SYSCALL_ULONG_TYPE): Likewise.
21897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21898 (__SYSCALL_SLONG_TYPE): Likewise.
21899 (__SYSCALL_ULONG_TYPE): Likewise.
21900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21901 (__SYSCALL_SLONG_TYPE): Likewise.
21902 (__SYSCALL_ULONG_TYPE): Likewise.
21903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21904 (__SYSCALL_SLONG_TYPE): Likewise.
21905 (__SYSCALL_ULONG_TYPE): Likewise.
21906
85736dc7
L
219072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21908
21909 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21910 Add sigaltstack-offsets.sym.
21911 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21912 <sigaltstack-offsets.h>.
21913 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21914 longjmp_msg pointer.
21915 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21916 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21917 signal stack.
21918 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21919
cc03b296
JM
219202012-05-15 Joseph Myers <joseph@codesourcery.com>
21921
a9538892
JM
21922 * elf/stackguard-macros.h: Remove file.
21923 * sysdeps/generic/stackguard-macros.h: New file.
21924 * sysdeps/i386/stackguard-macros.h: Likewise.
21925 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21926 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21927 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21928 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21929 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21930 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21931 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21932 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21933 <elf/stackguard-macros.h>.
21934
cc03b296
JM
21935 [BZ #14109]
21936 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21937 __aligned__ in attribute.
21938 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21939 (gregset_t): Likewise.
21940
93171016
L
219412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21942
21943 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21944 * sysdeps/x86_64/64/Implies-after: Here. New file.
21945 * sysdeps/x86_64/x32/Implies-after: New file.
21946
d86813a0
L
219472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21948
21949 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21950 and access return value for _dl_profile_fixup. Use R10_LP to
21951 load frame size.
21952
2953ec75
L
219532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21954
21955 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21956
3b550e9e
L
219572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21958
21959 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21960 * sysdeps/x86_64/x32/sysdep.h: New file.
21961
eda41706
L
219622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21963
21964 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21965 * sysdeps/x86_64/setjmp.S: Likewise.
21966
9ea01d93
AZ
219672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21968
21969 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21970 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21971 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21972 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21973 remove unused global constant.
21974
02a91938
CM
219752012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21976
21977 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21978 include of <not-cancel.h>.
21979
6540185f
RM
219802012-05-15 Roland McGrath <roland@hack.frob.com>
21981
21982 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21983
509072a0
AJ
219842012-05-15 Jeff Law <law@redhat.com>
21985 Andreas Jaeger <aj@suse.de>
21986
21987 [BZ #13594]
21988 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21989 out from...
21990 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21991 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21992 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21993 code changing __hst_map_handle.map.
21994
ba75122d
RM
219952012-05-15 Roland McGrath <roland@hack.frob.com>
21996
21997 * configure.in (sysnames): Look for Implies-before and Implies-after
21998 files.
21999 * configure: Regenerated.
22000
890d8bd8
L
220012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22002
22003 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22004 8-byte data alignment with LP_SIZE alignment.
22005
f6ee6623
L
220062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22007
22008 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22009 into R10_LP.
22010
ea2626f6
L
220112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22012
22013 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22014
085f715e
L
220152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22016
22017 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22018 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22019 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22020 Likewise.
22021 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22022
be8498fc
L
220232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22024
22025 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22026 (stackinfo_sub_sp): Likewise.
22027
70bc83b9
L
220282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22029
22030 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22031 RAX_LP.
22032
9bc0b730
L
220332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22034
22035 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22036 into R*_LP.
22037
6d2850e7
L
220382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22039
22040 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22041 sizes into R*_LP.
22042
3cb84561
L
220432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22044
22045 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22046
54e2ed81
L
220472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22048
22049 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22050 into R11_LP and load __x86_64_shared_cache_size_half into
22051 R8_LP.
22052
8a17f349
L
220532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22054
22055 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22056 R8_LP.
22057
777b1eea
AZ
220582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22059
22060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22061 logb for POWER7.
22062 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22063 logbf for POWER7.
22064 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22065 logbl for POWER7.
22066 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22067 powerpc32/power7/fpu/s_logb.c via #include.
22068 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22069 powerpc32/power7/fpu/s_logbf.c via #include.
22070 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22071 powerpc32/power7/fpu/s_logbl.c via #include.
22072
d20d4ac2
JM
220732012-05-15 Joseph Myers <joseph@codesourcery.com>
22074
22075 * README.libm: Remove file.
22076
6cdef1ab
L
220772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22078
22079 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22080 count for x32. Use R*_LP and omit operand-size suffix.
22081
0b254d8f
L
220822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22083
22084 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22085 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22086 * sysdeps/x86_64/x32/shlib-versions: New file.
22087
ceb809dc
RM
220882012-05-14 Roland McGrath <roland@hack.frob.com>
22089
22090 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22091 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22092 Use _dl_fatal_printf instead.
22093
37f1abd4
JM
220942012-05-14 Joseph Myers <joseph@codesourcery.com>
22095
22096 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22097 set if not set by the user. Do not allow for being unset.
22098 * sysdeps/unix/sysv/linux/configure: Regenerated.
22099
11de3a33
L
221002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22101
22102 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22103 the `q' suffix from lea and replace .quad with ASM_ADDR.
22104
e02f153a
L
221052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22106
22107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22108 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22109 instead of $17.
22110 (PTR_DEMANGLE): Likewise.
22111
520ae0fd
L
221122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22113
22114 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22115 (LP_OP): Likewise.
22116 (ASM_ADDR): Likewise.
22117 (RAX_LP): Likewise.
22118 (RBP_LP): Likewise.
22119 (RBX_LP): Likewise.
22120 (RCX_LP): Likewise.
22121 (RDI_LP): Likewise.
22122 (RSI_LP): Likewise.
22123 (RSP_LP): Likewise.
22124 (R8_LP): Likewise.
22125 (R9_LP): Likewise.
22126 (R10_LP): Likewise.
22127 (R10_LP): Likewise.
22128 (R11_LP): Likewise.
22129 (R12_LP): Likewise.
22130 (R13_LP): Likewise.
22131 (R14_LP): Likewise.
22132 (R15_LP): Likewise.
22133
b985be81
L
221342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22135
22136 * sysdeps/x86_64/x32/dl-machine.h: New file.
22137
6a4888ff
AJ
221382012-05-14 Andreas Jaeger <aj@suse.de>
22139
22140 * manual/Makefile (subdir): Remove export of subdir.
22141 (all): Remove target.
22142 (.PHONY): Remove all from list.
22143 (mkinstalldirs): Remove.
22144 (.PHONY): Remove installdirs from list.
22145 ($(inst_infodir)/libc.info): Use make-target-directory.
22146 (installdirs): Remove.
22147 (subdir_%): Remove.
22148 (glibc-targets): Remove.
22149 (lib): Remove.
22150 (stubs): Remove.
22151 ($(objpfx)stubs ../po/manual.pot): Remove.
22152 ($(objpfx)stamp%): Remove.
22153 (make-target-directory): Remove.
22154 (subdir_install): Remove.
22155 (routines): Remove.
22156 (aux): Remove.
22157 (sources): Remove.
22158 (objects): Remove.
22159 (headers): Remove.
22160
22161 [BZ #13750]
22162 * manual/.gitignore: Remove, it's not needed anymore.
22163 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22164 all files in it.
22165 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22166 directory.
22167 (texis): Renamed to $(objpfx)texis.
22168 (texis-path): New, contains path to generated files.
22169 (chapters.%): Use texis-path for complete path, add extra argument
22170 libc-texinfo.sh.
22171 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22172 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22173 (summary,texi, stamp-summary): Use complete path of
22174 files. Generate files in build dir.
22175 (dir-add.texi): Build in build dir.
22176 (libm-err.texi,stamp-libm-err): Likewise.
22177 (version.texi, stamp-version): Likewise.
22178 (.%c.texi): Likewise.
22179 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22180 (mostlyclean): Remove target.
22181 (realclean): Remove target.
22182 (generated): Add new variable with contents from mostlyclean and
22183 realclean, remove entries duplicated in common-mostlyclean, add
22184 stamp-libm-err and stamp-version.
22185 (generated-dirs): Add libc directory.
22186 ($(inst_infodir)/libc.info): Install files from build dir.
22187
22188 * manual/install.texi (Configuring and compiling): Adjust since
22189 the info files are not part of the tar ball anymore.
22190
7ac77294
AJ
221912012-05-14 Andreas Jaeger <aj@suse.de>
22192
22193 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22194 variable.
22195
ffb7875d
JM
221962012-05-14 Joseph Myers <joseph@codesourcery.com>
22197
22198 [BZ #13717]
22199 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22200 to 2.2.0 where earlier.
22201 * sysdeps/unix/sysv/linux/configure: Regenerated.
22202 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22203 Remove conditional code.
22204 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22205 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22206 Remove conditional code.
22207 [!__NR_lchown]: Likewise.
22208 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22209 [__NR_lchown]: Likewise.
22210 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22211 comment referencing __ASSUME_LCHOWN_SYSCALL.
22212 * sysdeps/unix/sysv/linux/i386/sigaction.c
22213 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22214 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22215 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22216 Remove conditional code.
22217 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22218 (__protocol_available): Remove #if 0 code.
22219 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22220 conditional code.
22221 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22222 * sysdeps/unix/sysv/linux/kernel-features.h
22223 (__ASSUME_GETCWD_SYSCALL): Don't define.
22224 (__ASSUME_REALTIME_SIGNALS): Likewise.
22225 (__ASSUME_PREAD_SYSCALL): Likewise.
22226 (__ASSUME_PWRITE_SYSCALL): Likewise.
22227 (__ASSUME_POLL_SYSCALL): Likewise.
22228 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22229 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22230 non-SPARC.
22231 (__ASSUME_SIOCGIFNAME): Don't define.
22232 (__ASSUME_MSG_NOSIGNAL): Likewise.
22233 (__ASSUME_SENDFILE): Define unconditionally.
22234 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22235 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22236 conditional code.
22237 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22238 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22239 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22240 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22241 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22242 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22243 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22245 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22246 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22248 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22251 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22252 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22254 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22257 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22258 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22260 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22263 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22266 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22268 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22269 Remove conditional code.
22270 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22271 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22272 Remove conditional code.
22273 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22274 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22275 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22276 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22277 Remove conditional code.
22278 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22279 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22280 Remove conditional code.
22281 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22282 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22283 Remove conditional code.
22284 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22285 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22286 Remove conditional code.
22287 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22288 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22289 Remove conditional code.
22290 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22291 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22292 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22293 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22294 * sysdeps/unix/sysv/linux/sigaction.c
22295 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22296 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22297 * sysdeps/unix/sysv/linux/sigpending.c
22298 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22299 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22300 * sysdeps/unix/sysv/linux/sigprocmask.c
22301 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22302 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22303 * sysdeps/unix/sysv/linux/sigsuspend.c
22304 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22305 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22306 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22307 (__libc_missing_rt_sigs): Remove.
22308 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22309 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22310 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22311 Remove conditional code.
22312 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22313 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22314 return 1.
22315 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22316 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22317 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22318 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22319
1bfb7291
AJ
223202012-05-14 Andreas Jaeger <aj@suse.de>
22321
caae5a81
AJ
22322 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22323 it's not used in glibc.
22324 (__coshm1): Likewise.
22325 (__acosh1p): Likewise.
22326 (__sgn): Likewise.
22327
1bfb7291
AJ
22328 * manual/string.texi (Copying and Concatenation): Add missing
22329 variable in concat example.
22330 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22331
c044d724
L
223322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22333
144c5467 22334 [BZ #14103]
c044d724
L
22335 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22336 __builtin_clzl with __builtin_clzll.
22337
2523c62b
L
223382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22339
22340 [BZ #14104]
22341 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22342 libc_freeres_ptr.
22343
d7bb4c42
LD
223442012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22345
22346 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22347 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22348 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22349 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22350
9dc4e1fb
MF
223512012-05-14 Mike Frysinger <vapier@gentoo.org>
22352
22353 * NEWS: Update ia64 info.
22354
c7df0112
AS
223552012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22356
22357 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22358 used as bcopy.
22359
dc70356c
TS
223602012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22361
22362 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22363 * sysdeps/unix/syscalls.list (dup3): Likewise.
22364 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22365 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22366
9fb1a21f
L
223672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22368
22369 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22370 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22371
4822a2a5
L
223722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22373
22374 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22375 thread pointer.
22376 (TLS_IE): Use mov/add instead of movq/addq to load thread
22377 pointer.
22378 (TLS_GD_PREFIX): New.
22379 (TLS_GD): Use it.
22380
842b81d6
DM
223812012-05-11 David S. Miller <davem@davemloft.net>
22382
22383 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22384 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22385 (_FPU_SETCW): Likewise.
22386
1cf463cd
L
223872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22388
22389 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22390 is 32-byte aligned.
22391
60cc4a18
AS
223922012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22393
22394 [BZ #11837]
22395 * iconvdata/gb18030.c: Update tables.
22396 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22397 characters specially.
22398 (BODY for TO_LOOP): Add encoding of missing ranges.
22399
febb44a4
TS
224002012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22401
22402 [BZ #13673]
22403 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22404 * sysdeps/mach/hurd/dup3.c: Likewise.
22405 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22406 * sysdeps/powerpc/memmove.c:: Likewise.
22407
0a10fb9e
L
224082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22409
22410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22411 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22412
df8a552f
L
224132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22414
22415 * elf/elf.h (R_X86_64_RELATIVE64): New.
22416 (R_X86_64_NUM): Updated.
22417 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22418 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22419 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22420 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22421 tst-quad1pie tst-quad2pie
22422 (modules-names): Add tst-quadmod1 tst-quadmod2.
22423 ($(objpfx)tst-quad1): New dependency.
22424 ($(objpfx)tst-quad2): Likewise.
22425 ($(objpfx)tst-quad1pie): Likewise.
22426 ($(objpfx)tst-quad2pie): Likewise.
22427 * sysdeps/x86_64/tst-quad1.c: New file.
22428 * sysdeps/x86_64/tst-quad1pie.c: New file.
22429 * sysdeps/x86_64/tst-quad2.c: Likewise.
22430 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22431 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22432 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22433 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22434 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22435
f34d6f84
ST
224362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22437
f42d41d1
ST
22438 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22439 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22440 * streams/stropts.h (t_scalar_t): Define type.
22441
3c3571fc
ST
22442 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22443 (_PATH_PRESERVE): Set to "/var/lib".
22444 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22445
61f06bd3
ST
22446 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22447 instead of int.
22448
918d4d71
ST
22449 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22450 if __dir_mkfile succeeded.
22451
f34d6f84
ST
22452 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22453 checking for _hurd_dtablesize. Unlock it right after having
22454 finished _hurd_dtable allocation.
22455
10589b4a
TS
224562012-05-10 Thomas Schwinge <thomas@schwinge.name>
22457
674cdbc7
TS
22458 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22459 * sysdeps/mach/hurd/configure: Regenerated.
22460 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22461 special-casing to...
22462 * sysdeps/gnu/configure.in: ... this new file.
22463 * sysdeps/unix/sysv/linux/configure: Regenerated.
22464 * sysdeps/gnu/configure: New generated file.
22465
8e41b99f
TS
22466 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22467 for Linux: use nsec instead of usec, as well as:
22468 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22469 members of type struct timespec.
22470 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22471 New macros.
22472 (struct stat64): Likewise.
22473 (_STATBUF_ST_NSEC): New macro.
22474 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22475
10589b4a
TS
22476 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22477 __strtoul_internal rather than strtoul.
22478
63643c85
PT
224792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22480
22481 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22482 and reject them.
22483
3faebe6a
ST
224842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22485
22486 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22487 which preserves existing values.
22488 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22489
c6474b07
PT
224902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22491
22492 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22493 TIMEOUT values. Return EINVAL for NFDS values either negative or
22494 greater than FD_SETSIZE.
22495
1043890b
ST
224962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22497
22498 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22499 allocated, call __vm_protect to finish enabling the existing space, and
22500 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22501 allocate the remainder.
22502
37ed8b9b
PT
225032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22504
22505 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22506 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22507
db653660
ST
225082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22509
37ed8b9b
PT
22510 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22511 sysdeps/mach/hurd/readlink.c.
b29d4053 22512
db653660
ST
22513 * posix/tst-sysconf.c (posix_options): Only use
22514 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22515 _POSIX_SYNCHRONIZED_IO when they are defined
22516 * sysdeps/mach/hurd/bits/posix_opt.h:
22517 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22518 (_XOPEN_REALTIME): Undefine macro.
22519 (_XOPEN_REALTIME_THREADS): Undefine macro.
22520 (_XOPEN_SHM): Undefine macro.
22521 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22522 macro to -1.
22523 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22524 macro to -1.
22525 (_POSIX_ASYNC_IO): Undefine macro.
22526 (_POSIX_PRIORITIZED_IO): Undefine macro.
22527 (_POSIX_SPIN_LOCKS): Define macro to -1.
22528
ee16e894
ST
22529 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22530 SA_NODEFER, SA_RESETHAND.
22531 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22532 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22533 F_DUPFD_CLOEXEC.
22534
6103ae3b
TS
225352012-05-10 Thomas Schwinge <thomas@schwinge.name>
22536
22537 * elf/Makefile (pldd-modules): Define unconditionally.
22538
80b4e5f3
TS
225392012-05-10 Thomas Schwinge <thomas@schwinge.name>
22540
22541 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22542
edadcbd6
ST
225432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22544
22545 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22546 Return ENOENT when name is empty.
22547 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22548
80694780
TS
225492012-05-10 Thomas Schwinge <thomas@schwinge.name>
22550
1792c087
TS
22551 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22552
80694780
TS
22553 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22554
6b645f0d
ST
225552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22556
80694780
TS
22557 Fix mlock in all cases except non-readable pages.
22558 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22559 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22560
6b645f0d
ST
22561 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22562 (__mkdir): When path is `/', just fail with EEXIST.
22563 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22564
e468f8a3
TS
225652012-05-10 Thomas Schwinge <thomas@schwinge.name>
22566
22567 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22568 <sys/uio.h> (for writev).
22569 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22570 and <sys/param.h> (for MIN).
22571
a4186cff
PT
225722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22573
22574 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22575 REQUESTED_TIME. Properly set the remaining time and return EINTR
22576 if interrupted.
22577
510bbf14
TS
225782012-05-10 Thomas Schwinge <thomas@schwinge.name>
22579
22580 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22581 Depend on against $(link-rpcuserlibs).
22582
5d5722e8
ST
225832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22584
a4186cff
PT
22585 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22586 (__libc_stack_end): Do not use attribute_relro.
22587 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22588 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22589 to libthread-provided value.
a4186cff
PT
22590 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22591 attribute_relro.
5d5722e8 22592
37233df9
TS
225932012-05-10 Thomas Schwinge <thomas@schwinge.name>
22594
be971a2b
TS
22595 [BZ #3748]
22596 * bits/libc-lock.h (__libc_once_get): New macro.
22597 * sysdeps/mach/bits/libc-lock.h: Likewise.
22598 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22599 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22600 instead of using implementation details.
22601
37233df9
TS
22602 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22603 * libio/freopen.c: Likewise.
22604 * libio/freopen64.c: Likewise.
22605 * misc/syslog.c: Likewise.
22606 * nscd/connections.c: Likewise.
22607 * nscd/netgroupcache.c: Likewise.
22608 * sysdeps/posix/getcwd.c: Likewise.
22609
38de94a5
RM
226102012-05-10 Roland McGrath <roland@hack.frob.com>
22611
22612 * math/w_ilogbf.c: Add #include <limits.h>.
22613
67530489
ST
226142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22615
a4186cff 22616 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22617 path instead of returning without unlocking.
22618
67530489
ST
22619 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22620 immediate-write ioctls.
22621 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22622
5aa3a74a
TS
226232012-05-10 Thomas Schwinge <thomas@schwinge.name>
22624
18bad2ae
TS
22625 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22626 __builtin_frame_address instead of making assumptions about the
22627 location of the return address relative to DATA. Force early load of
22628 the return address.
22629 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22630 __builtin_frame_address.
22631
5aa3a74a
TS
22632 dup3 for GNU Hurd.
22633 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22634 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22635 implement dup3 and do some further code clean-ups.
22636 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22637 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22638
ecd0de9a
ST
226392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22640
cd9fa985
ST
22641 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22642
a4186cff
PT
22643 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22644 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22645 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22646 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22647 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22648 d->port.lock.
802ca5a5 22649
a4186cff
PT
22650 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22651 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22652 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22653
bcf55240
TS
226542012-05-10 Thomas Schwinge <thomas@schwinge.name>
22655
6960eb42
TS
22656 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22657 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22658 definitions.
22659
eb43375f
TS
22660 accept4 for GNU Hurd.
22661 * include/sys/socket.h (__libc_accept4): New prototype.
22662 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22663 to implement __libc_accept4.
22664 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22665 __libc_accept4.
22666 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22667
bcf55240
TS
22668 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22669 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22670 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22671 signal-defines.sym.
22672
6178c55b
ST
226732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22674
a4186cff 22675 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22676
6f080c2f
TS
226772012-05-10 Thomas Schwinge <thomas@schwinge.name>
22678
22679 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22680 assertion on O_CLOEXEC flag.
22681 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22682 * hurd/intern-fd.c: Likewise.
22683 * hurd/port2fd.c: Likewise.
22684
bcfe3a54
ST
226852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22686
22687 [BZ #3906]
22688 * bits/in.h (IPV6_PKTINFO): Define new macro.
22689 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22690
89c9aa49
AZ
226912012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22692
22693 [BZ #13954]
22694 [BZ #13955]
22695 [BZ #13956]
22696 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22698 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22699 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22700 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22701 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22702 * math/libm-test.inc (logb_test) : Additional logb tests.
22703
021db4be
AJ
227042012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22705 Andreas Jaeger <aj@suse.de>
22706
22707 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22708 * configure: Regenerated.
22709 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22710 * config.make.in (link-obsolete-rpc): New substituted variable.
22711 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22712 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22713 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22714 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22715 so that libc.a contains the symbols.
22716 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22717 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22718 * sunrpc/auth_none.c: Likewise.
22719 * sunrpc/auth_unix.c: Likewise.
22720 * sunrpc/authdes_prot.c: Likewise.
22721 * sunrpc/authuxprot.c: Likewise.
22722 * sunrpc/clnt_gen.c: Likewise.
22723 * sunrpc/clnt_perr.c: Likewise.
22724 * sunrpc/clnt_raw.c: Likewise.
22725 * sunrpc/clnt_simp.c: Likewise.
22726 * sunrpc/clnt_tcp.c: Likewise.
22727 * sunrpc/clnt_udp.c: Likewise.
22728 * sunrpc/clnt_unix.c: Likewise.
22729 * sunrpc/des_crypt.c: Likewise.
22730 * sunrpc/des_soft.c: Likewise.
22731 * sunrpc/get_myaddr.c: Likewise.
22732 * sunrpc/key_call.c: Likewise.
22733 * sunrpc/key_prot.c: Likewise.
22734 * sunrpc/netname.c: Likewise.
22735 * sunrpc/pm_getmaps.c: Likewise.
22736 * sunrpc/pm_getport.c: Likewise.
22737 * sunrpc/pmap_clnt.c: Likewise.
22738 * sunrpc/pmap_prot.c: Likewise.
22739 * sunrpc/pmap_prot2.c: Likewise.
22740 * sunrpc/pmap_rmt.c: Likewise.
22741 * sunrpc/publickey.c: Likewise.
22742 * sunrpc/rpc_cmsg.c: Likewise.
22743 * sunrpc/rpc_common.c: Likewise.
22744 * sunrpc/rpc_dtable.c: Likewise.
22745 * sunrpc/rpc_prot.c: Likewise.
22746 * sunrpc/rpc_thread.c: Likewise.
22747 * sunrpc/rtime.c: Likewise.
22748 * sunrpc/svc.c: Likewise.
22749 * sunrpc/svc_auth.c: Likewise.
22750 * sunrpc/svc_raw.c: Likewise.
22751 * sunrpc/svc_run.c: Likewise.
22752 * sunrpc/svc_tcp.c: Likewise.
22753 * sunrpc/svc_udp.c: Likewise.
22754 * sunrpc/svc_unix.c: Likewise.
22755 * sunrpc/svcauth_des.c: Likewise.
22756 * sunrpc/xcrypt.c: Likewise.
22757 * sunrpc/xdr.c: Likewise.
22758 * sunrpc/xdr_array.c: Likewise.
22759 * sunrpc/xdr_float.c: Likewise.
22760 * sunrpc/xdr_intXX_t.c: Likewise.
22761 * sunrpc/xdr_mem.c: Likewise.
22762 * sunrpc/xdr_rec.c: Likewise.
22763 * sunrpc/xdr_ref.c: Likewise.
22764 * sunrpc/xdr_sizeof.c: Likewise.
22765 * sunrpc/xdr_stdio.c: Likewise.
22766
b5c086a2
RM
227672012-05-10 Roland McGrath <roland@hack.frob.com>
22768
22769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22770 change. Update copyright years.
22771
6d74dd09
JM
227722012-05-10 Joseph Myers <joseph@codesourcery.com>
22773
22774 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22775
28e72501
MK
227762012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22777 Joseph Myers <joseph@codesourcery.com>
22778 Paul Pluzhnikov <ppluzhnikov@google.com>
22779
22780 [BZ #14012]
22781 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22782 requiring rpcgen.
22783 [cross-compiling] (extra-libs): Likewise.
22784 [cross-compiling] (extra-libs-others): Likewise.
22785 [cross-compiling] (librpcsvc-routines): Likewise.
22786 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22787 [cross-compiling] (omit-deps): Likewise.
22788 (sunrpc-CPPFLAGS): New variable.
22789 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22790 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22791 (cross-rpcgen-objs): New variable.
22792 (extra-objs): Append $(cross-rpcgen-objs).
22793 ($(cross-rpcgen-objs)): New rule.
22794 ($(objpfx)cross-rpcgen): Likewise.
22795 (rpcgen-cmd): Define to use $(built-program-file). Expand
22796 comment.
22797 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22798 ($(objpfx)x%.stmp): Likewise.
22799 * sunrpc/proto.h [IS_IN_build] (_): Define.
22800 [IS_IN_build] (_libc_intl_domainname): Likewise.
22801
c8c59454
L
228022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22803
22804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22805 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22806 and R_X86_64_TPOFF64.
22807
6f27cd16
JM
228082012-05-10 Joseph Myers <joseph@codesourcery.com>
22809
22810 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22811 sysdeps/unix/sysv/syscalls.list.
22812 (stime): Likewise.
22813 (utime): Likewise.
22814 * sysdeps/unix/sysv/syscalls.list: Remove file.
22815
02467e1c
PE
228162012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22817
22818 [BZ #3440]
22819 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22820 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22821 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22822 (__LC_IDENTIFICATION): Make these macros useful in #if
22823 expressions, as required by C99.
22824
da392631
AS
228252012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22826
22827 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22828 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22829 after this.
22830
8115f29b
L
228312012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22832
22833 * stdlib/longlong.h: Updated from GCC.
22834
bdd74070
AJ
228352012-05-09 Andreas Jaeger <aj@suse.de>
22836
edfe0dbe
AJ
22837 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22838 default is first entry.
22839 (run_mode): Set type.
22840 (main): Remove informal message about syslog.
22841 (options): Fix typo.
22842
bcfe3a54
ST
22843 [BZ #14053]
22844 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22845 to asm.
bcfe3a54
ST
22846 (lrint): Likewise.
22847 (llrintf): Likewise.
22848 (llrint): Likewise.
22849 (rint): Likewise.
22850 (rintf): Likewise.
22851 (nearbyint): Likewise.
22852 (nearbyintf): Likewise.
bdd74070 22853
91d8d69e
AJ
228542012-05-09 Andreas Jaeger <aj@suse.de>
22855 Pedro Alves <palves@redhat.com>
22856
22857 * nscd/nscd.c (run_mode): Use enum.
22858 (main): Cleanup coding style issue.
22859
bb90b80b
AJ
228602012-05-09 Alexandre Oliva <aoliva@redhat.com>
22861 Andreas Jaeger <aj@suse.de>
22862
bcfe3a54
ST
22863 * nscd/nscd.c (go_background): Replaced with...
22864 (run_mode): ... this.
bb90b80b 22865 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22866 (options): Add -F --foreground.
22867 (main): Implement it.
22868 (parse_opt): Parse it.
bb90b80b 22869
1a4b75a1
AJ
228702012-05-09 Andreas Jaeger <aj@suse.de>
22871
22872 [BZ #14083]
22873 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22874 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22875 -Wconversion warning.
22876 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22877 Likewise.
22878
b1cc2472
JM
228792012-05-09 Joseph Myers <joseph@codesourcery.com>
22880
22881 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22882 == 0.
22883 (LC_ALL): Use macro-int-constant.
22884 (LC_COLLATE): Likewise.
22885 (LC_CTYPE): Likewise.
22886 (LC_MESSAGES): Likewise.
22887 (LC_MONETARY): Likewise.
22888 (LC_NUMERIC): Likewise.
22889 (LC_TIME): Likewise.
22890 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22891 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22893 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22894 Specify type.
22895 [C99-based standards] (float_t): Expect type.
22896 [C99-based standards] (double_t): Expect type.
22897 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22898 type.
22899 [C99-based standards] (HUGE_VALL): Likewise.
22900 [C99-based standards] (INFINITY): Likewise.
22901 [C99-based standards] (NAN): Likewise.
22902 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22903 [C99-based standards] (FP_NAN): Likewise.
22904 [C99-based standards] (FP_NORMAL): Likewise.
22905 [C99-based standards] (FP_SUBNORMAL): Likewise.
22906 [C99-based standards] (FP_ZERO): Likewise.
22907 [C99-based standards] (FP_FAST_FMA): Use
22908 optional-macro-int-constant. Specify type. Require == 1.
22909 [C99-based standards] (FP_FAST_FMAF): Likewise.
22910 [C99-based standards] (FP_FAST_FMAL): Likewise.
22911 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22912 [C99-based standards] (FP_ILOGBNAN): Likewise.
22913 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22914 Specify type.
22915 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22916 [C99-based standards] (math_errhandling): Specify type.
22917 [ISO99 || ISO11] (signgam): Do not allow.
22918 [non-C99-based standards] (copysignf): Do not allow.
22919 [non-C99-based standards] (exp2f): Likewise.
22920 [non-C99-based standards] (log2f): Likewise.
22921 [non-C99-based standards] (modff): Allow.
22922 [non-C99-based standards] (erff): Do not allow.
22923 [non-C99-based standards] (erfcf): Likewise.
22924 [non-C99-based standards] (gammaf): Likewise.
22925 [non-C99-based standards] (hypotf): Likewise.
22926 [non-C99-based standards] (j0f): Likewise.
22927 [non-C99-based standards] (j1f): Likewise.
22928 [non-C99-based standards] (jnf): Likewise.
22929 [non-C99-based standards] (lgammaf): Likewise.
22930 [non-C99-based standards] (tgammaf): Likewise.
22931 [non-C99-based standards] (y0f): Likewise.
22932 [non-C99-based standards] (y1f): Likewise.
22933 [non-C99-based standards] (ynf): Likewise.
22934 [non-C99-based standards] (isnanf): Likewise.
22935 [non-C99-based standards] (acoshf): Likewise.
22936 [non-C99-based standards] (asinhf): Likewise.
22937 [non-C99-based standards] (atanhf): Likewise.
22938 [non-C99-based standards] (cbrtf): Likewise.
22939 [non-C99-based standards] (expm1f): Likewise.
22940 [non-C99-based standards] (ilogbf): Likewise.
22941 [non-C99-based standards] (log1pf): Likewise.
22942 [non-C99-based standards] (logbf): Likewise.
22943 [non-C99-based standards] (nextafterf): Likewise.
22944 [non-C99-based standards] (remainderf): Likewise.
22945 [non-C99-based standards] (rintf): Likewise.
22946 [non-C99-based standards] (scalbf): Likewise.
22947 [non-C99-based standards] (copysignl): Likewise.
22948 [non-C99-based standards] (exp2l): Likewise.
22949 [non-C99-based standards] (log2l): Likewise.
22950 [non-C99-based standards] (modfl): Allow.
22951 [non-C99-based standards] (erfl): Do not allow.
22952 [non-C99-based standards] (erfcl): Likewise.
22953 [non-C99-based standards] (gammal): Likewise.
22954 [non-C99-based standards] (hypotl): Likewise.
22955 [non-C99-based standards] (j0l): Likewise.
22956 [non-C99-based standards] (j1l): Likewise.
22957 [non-C99-based standards] (jnl): Likewise.
22958 [non-C99-based standards] (lgammal): Likewise.
22959 [non-C99-based standards] (tgammal): Likewise.
22960 [non-C99-based standards] (y0l): Likewise.
22961 [non-C99-based standards] (y1l): Likewise.
22962 [non-C99-based standards] (ynl): Likewise.
22963 [non-C99-based standards] (isnanl): Likewise.
22964 [non-C99-based standards] (acoshl): Likewise.
22965 [non-C99-based standards] (asinhl): Likewise.
22966 [non-C99-based standards] (atanhl): Likewise.
22967 [non-C99-based standards] (cbrtl): Likewise.
22968 [non-C99-based standards] (expm1l): Likewise.
22969 [non-C99-based standards] (ilogbl): Likewise.
22970 [non-C99-based standards] (log1pl): Likewise.
22971 [non-C99-based standards] (logbl): Likewise.
22972 [non-C99-based standards] (nextafterl): Likewise.
22973 [non-C99-based standards] (remainderl): Likewise.
22974 [non-C99-based standards] (rintl): Likewise.
22975 [non-C99-based standards] (scalbl): Likewise.
22976 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22977 [non-C99-based standards] (FP_*): Do not allow.
22978 [C99-based standards] (FP_*): Change to
22979 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22980 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22981 allow.
22982 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22983 (SIG_ERR): Likewise.
22984 [X/Open-based standards] (SIG_HOLD): Likewise.
22985 (SIG_IGN): Likewise.
22986 (SIGABRT): Use macro-int-constant. Specify type. Require
22987 positive value.
22988 (SIGFPE): Likewise.
22989 (SIGILL): Likewise.
22990 (SIGINT): Likewise.
22991 (SIGSEGV): Likewise.
22992 (SIGTER): Likewise.
22993 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22994 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22995 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22996 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22997 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22998 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22999 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23000 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23001 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23002 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23003 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23004 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23005 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23006 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23007 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23008 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23009 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23010 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23011 [X/Open-based standards] (SIGTRAP): Likewise.
23012 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23013 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23014 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23015 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23016 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23017 allow.
23018
b9f1922d
IW
230192012-05-08 Ian Wienand <ianw@vmware.com>
23020
23021 [BZ #14080]
23022 * time/tzset.c (__tzset_parse_tz): Update default rules for
23023 daylight time changes in the Energy Policy Act of 2005.
23024
1db86e88
AJ
230252012-05-09 Andreas Jaeger <aj@suse.de>
23026
23027 [BZ #13983]
23028 * elf/ldconfig.c (parse_conf): Change string to make clear that
23029 ldconfig only issued a warning if ld.so.conf does not exist.
23030
dee4a4e3
DM
230312012-05-08 David S. Miller <davem@davemloft.net>
23032
ee0db190
DM
23033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23034 movxtod instead of popping the value on the stack.
23035
dee4a4e3
DM
23036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23037
6a43ec98
CD
230382012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23039
23040 * config.h.in: Add HAVE_ARM_PCS_VFP.
23041
05c2c961
RMG
230422012-05-08 Roland Mc Grath <roland@hack.frob.com>
23043
bcfe3a54
ST
23044 [BZ #13979]
23045 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23046 checking but the checks are disabled for any reason.
05c2c961 23047
4b30f61a
L
230482012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23049
23050 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23051 and ELF64_R_TYPE with ELFW(R_TYPE).
23052
eee2bc67
JM
230532012-05-08 Joseph Myers <joseph@codesourcery.com>
23054
7ea5391a
JM
23055 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23056 (ulimit): Likewise.
23057
eee2bc67
JM
23058 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23059 (settimeofday): Likewise.
23060
abb66a67
MF
230612012-05-08 Mike Frysinger <vapier@gentoo.org>
23062
23063 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23064 a struct th_u2 inside the union, and move tu_block/tu_code into
23065 a new th_u3 union of tu_block/tu_code inside of that. Move
23066 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23067 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23068 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23069 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23070 (th_stuff): Change to th_u1.tu_stuff.
23071 (th_data): Define.
23072 (th_msg): Change to th_u1.th_u2.tu_data.
23073
7f18b530
DM
230742012-05-07 David S. Miller <davem@davemloft.net>
23075
05760585
DM
23076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23077
7f18b530
DM
23078 [BZ #14074]
23079 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23080 (SETUP_PIC_REG): Use it.
23081 (SETUP_PIC_REG_LEAF): Use it.
23082
495fd99f
JM
230832012-05-07 Joseph Myers <joseph@codesourcery.com>
23084
23085 [BZ #13885]
23086 [BZ #13923]
23087 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23088 USE_AS_EXPM1L.
23089 (EXPL_FINITE): Likewise.
23090 (FLDLOG): Likewise.
23091 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23092 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23093 e_expl.S.
23094 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23095 USE_AS_EXPM1L.
23096 (EXPL_FINITE): Likewise.
23097 (FLDLOG): Likewise.
23098 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23099 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23100 e_expl.S.
23101 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23102 test of -max_value argument for long double.
23103 * sysdeps/i386/fpu/libm-test-ulps: Update.
23104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23105
6693d694
DM
231062012-05-06 David S. Miller <davem@davemloft.net>
23107
23108 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23109 quad soft-float symbols whose references which are compiler
23110 generated.
23111 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23112
6c23e11c
JM
231132012-05-06 Joseph Myers <joseph@codesourcery.com>
23114
d8b82cad
JM
23115 [BZ #13884]
23116 [BZ #13914]
23117 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23118 USE_AS_EXP10L.
23119 (EXPL_FINITE): Likewise.
23120 (FLDLOG): Likewise.
23121 (c0): Likewise.
23122 (c1): Likewise.
23123 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23124 Adjust comments for base varying.
23125 (__expl_finite): Change alias to EXPL_FINITE.
23126 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23127 e_expl.S.
23128 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23129 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23130 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23131 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23132 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23133 USE_AS_EXP10L.
23134 (EXPL_FINITE): Likewise.
23135 (FLDLOG): Likewise.
23136 (c0): Likewise.
23137 (c1): Likewise.
23138 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23139 Adjust comments for base varying.
23140 (__expl_finite): Change alias to EXPL_FINITE.
23141 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23142 tests for bugs.
23143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23144
6c23e11c
JM
23145 [BZ #14064]
23146 * math/libm-test.inc (check_float_internal): Correct ulp
23147 calculation for subnormal expected results.
23148
29ba805c
AJ
231492012-05-06 Andreas Jaeger <aj@suse.de>
23150
23151 * Makeconfig (+math-flags): New, set to -frounding-math.
23152 (+cflags): Add +math-flags so that all of glibc gets compiled with
23153 it.
23154
23155 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23156
7b17aeda
JM
231572012-05-05 Joseph Myers <joseph@codesourcery.com>
23158
5779f134
JM
23159 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23160 Disable one test.
23161
41498f4d
JM
23162 [BZ #13787]
23163 [BZ #13922]
23164 [BZ #14036]
23165 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23166 (__ieee754_expl): Allow for and saturate large arguments.
23167 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23168 (u_threshold): Likewise.
23169 (__exp): Call __ieee754_exp before checking for overflow and
23170 underflow.
23171 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23172 (u_threshold): Likewise.
23173 (__expf): Call __ieee754_expf before checking for overflow and
23174 underflow.
23175 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23176 (u_threshold): Likewise.
23177 (__expl): Call __ieee754_expl before checking for overflow and
23178 underflow.
23179 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23180 (__ieee754_expl): Allow for and saturate large arguments.
23181 * math/libm-test.inc (exp_test): Add another test. Do not allow
23182 missing overflow exception on overflow.
23183 (expm1_test): Do not allow missing overflow exception on overflow.
23184
6698b8bf
JM
23185 * sysdeps/i386/fpu/e_expl.c: Move to ...
23186 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23187 rather than using inline asm.
23188 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23189 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23190 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23191
7b17aeda
JM
23192 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23193 (nice): Likewise.
23194 (poll): Likewise.
23195 (signal): Likewise.
23196 (time): Likewise.
23197 (times): Likewise.
23198
f7c85819
JM
231992012-05-04 Joseph Myers <joseph@codesourcery.com>
23200
23201 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23202 sysdeps/unix/common/syscalls.list.
23203 (fchmod): Likewise.
23204 (fchown): Likewise.
23205 (ftruncate): Likewise.
23206 (getrusage): Likewise.
23207 (gettimeofday): Likewise.
23208 (setpgid): Likewise.
23209 (setregid): Likewise.
23210 (setreuid): Likewise.
23211 (sigaction): Likewise.
23212 (truncate): Likewise.
23213 (vhangup): Likewise.
23214 * sysdeps/unix/common/syscalls.list: Remove file.
23215 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23216 * sysdeps/unix/sysv/linux/Implies: Likewise.
23217
336270d0
L
232182012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23219
23220 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23222 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23223 Moved to ...
23224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23225 Here.
23226 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23227 to ...
23228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23229 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23230 to ...
23231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23232 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23233 to ...
23234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23235 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23236 to ...
23237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23238 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23239 to ...
23240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23241 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23242 to ...
23243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23244 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23245 to ...
23246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23247 Here.
23248 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23249 to ...
23250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23251 Here.
23252 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23253 to ...
23254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23255 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23256 Moved to ...
23257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23258 Here.
23259 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23260 to ...
23261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23262
d128e450
JM
232632012-05-04 Joseph Myers <joseph@codesourcery.com>
23264
fa8ee516
JM
23265 * sysdeps/unix/common/bits/dirent.h: Remove file.
23266 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23267
d128e450
JM
23268 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23269 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23270 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23271 * sysdeps/unix/bsd/isatty.c: Likewise.
23272 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23273 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23274 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23275
ff8faaf0 232762012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23277
62881be4 23278 [BZ #13563]
31dc8730
AZ
23279 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23280 long double comparison inaccuracies.
23281 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23283
6fef930c
AS
232842012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23285
23286 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23287 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23288
8f203e6c
JM
232892012-05-04 Joseph Myers <joseph@codesourcery.com>
23290
23291 [BZ #14049]
23292 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23293 nonzero digits before rounding a hex value.
23294 * stdlib/tst-strtod.c (tests): Add another test.
23295
5197d9c2
AK
232962012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23297
23298 * sysdeps/s390/fpu/libm-test-ulps: Update.
23299
f0c1dedf
AJ
233002012-05-03 Andreas Jaeger <aj@suse.de>
23301
23302 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23303 does not get optimized out.
23304 (malloc_opt_barrier): New.
23305
a65ef2ae 233062012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23307 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23308
2b942cb7 23309 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23310 intermediate file deletion.
2b942cb7 23311 (generated): Add .symlist files.
a65ef2ae 23312
54b71e02
JM
233132012-05-03 Joseph Myers <joseph@codesourcery.com>
23314
23315 [BZ #13775]
23316 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23317 Redirect under this condition.
23318 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23319 [__USE_GNU] (__dprintf_chk): Not under this condition.
23320 [__USE_GNU] (__vdprintf_chk): Likewise.
23321 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23322 under this condition.
23323 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23324 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23325 [__USE_XOPEN2K8] (vdprintf): Likewise.
23326 [__USE_GNU] (__dprintf_chk): Not under this condition.
23327 [__USE_GNU] (__vdprintf_chk): Likewise.
23328 [__USE_GNU] (dprintf): Likewise.
23329 [__USE_GNU] (vdprintf): Likewise.
23330
d3dfcc41
RM
233312012-05-03 Roland McGrath <roland@hack.frob.com>
23332
23333 * elf/Makefile (common-generated): Set this instead of generated for
23334 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23335 $(all-built-dso)-derived lists.
23336
7ac30cc5
AJ
233372012-05-03 Andreas Jaeger <aj@suse.de>
23338
0c51e550
AJ
23339 * sysdeps/i386/fpu/libm-test-ulps: Update.
23340
7ac30cc5
AJ
23341 * FAQ: Removed.
23342 * FAQ.in: Likewise.
23343 * scripts/gen-FAQ.pl: Likewise.
23344 * manual/install.texi (Installation): Point to online location of
23345 FAQ.
23346 * Makefile (files-for-dist): Remove FAQ.
23347 (FAQ): Remove.
23348
d4c2917f
AM
233492012-05-02 Allan McRae <allan@archlinux.org>
23350
23351 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23352 (LDFLAGS-reldepmod5.so): Likewise.
23353 (LDFLAGS-reldep6mod1.so): Likewise.
23354 (LDFLAGS-reldep6mod4.so): Likewise.
23355 (LDFLAGS-reldep8mod3.so): Likewise.
23356 (LDFLAGS-unload4mod1.so): Likewise.
23357 (LDFLAGS-unload4mod2.so): Likewise.
23358 (LDFLAGS-tst-initorder): Likewise.
23359 (LDFLAGS-tst-initordera2.so): Likewise.
23360 (LDFLAGS-tst-initordera3.so): Likewise.
23361 (LDFLAGS-tst-initordera4.so): Likewise.
23362 (LDFLAGS-tst-initorderb2.so): Likewise.
23363 (LDFLAGS-noload): Likewise.
23364 (LDFLAGS-next): Likewise.
23365 (LDFLAGS-order2mod1.so): Likewise.
23366 (LDFLAGS-order2mod2.so): Likewise.
23367 (LDFLAGS-tst-initorder2): Likewise.
23368 (LDFLAGS-tst-initorder2a.so): Likewise.
23369 (LDFLAGS-tst-initorder2b.so): Likewise.
23370 (LDFLAGS-tst-initorder2c.so): Likewise.
23371 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23372
d77f993f
DM
233732012-05-02 David S. Miller <davem@davemloft.net>
23374
23375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23376
171a70b4
PP
233772012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23378
23379 [BZ #14055]
23380 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23381
0be196ad
AJ
233822012-05-02 Andreas Jaeger <aj@suse.de>
23383
23384 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23385 since we manipulate rounding mode.
23386 (CPPFLAGS-test-idouble.c): Likewise.
23387 (CPPFLAGS-test-ifloat.c): Likewise.
23388 (CFLAGS-test-ldouble.c): Likewise.
23389 (CFLAGS-test-double.c): Likewise.
23390 (CFLAGS-test-float.c): Likewise.
23391 (CFLAGS-test-misc.c): Likewise.
23392 (CFLAGS-test-test-fenv.c): Likewise.
23393
4f9d04aa
AZ
233942012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23395
2b942cb7
RM
23396 [BZ #2550]
23397 [BZ #2570]
23398 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23399 comparisons to determine direction to adjust input.
4f9d04aa 23400
82a79e7d
RM
234012012-05-01 Roland McGrath <roland@hack.frob.com>
23402
f5a01ca9
RM
23403 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23404 output to the target.
23405
90fe4186
RM
23406 * scripts/localplt.awk: New file.
23407 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23408 (check-localplt-CFLAGS): Variable removed.
23409 ($(all-built-dso:=.jmprel)): New static pattern rule.
23410 (generated): Add those targets.
23411 (localplt-built-dso): New variable.
23412 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23413
23414 * elf/check-localplt.c: File removed.
23415
82397ed6
RM
23416 * scripts/check-execstack.awk: New file.
23417 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23418 (check-execstack-CFLAGS): Variable removed.
23419 ($(objpfx)check-execstack.h): Target removed.
23420 ($(objpfx)execstack-default): New target.
23421 (generated): Add that instead of check-execstack.h.
23422 ($(all-built-dso:=.phdr)): New static pattern rule.
23423 (generated): Add those targets.
23424 * elf/check-execstack.c: File removed.
23425
82a79e7d
RM
23426 * scripts/check-textrel.awk: New file.
23427 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23428 (check-textrel-CFLAGS): Variable removed.
23429 (all-built-dso): Use := to define.o
23430 ($(all-built-dso:=.dyn)): New static pattern rule.
23431 (generated): Add those targets.
23432 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23433 * config.make.in (READELF): New substituted variable.
23434 * elf/check-textrel.c: File removed.
23435
62fde54f 234362012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23437
615605c9
JM
23438 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23439 allow.
23440 * conform/data/ctype.h-data [C99-based standards] (isblank):
23441 Expect function.
23442 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23443 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23444 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23445 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23446 Specify type. Require positive value.
23447 (EILSEQ): Likewise.
23448 (ERANGE): Likewise.
23449 [ISO || POSIX] (EILSEQ): Do not expect.
23450 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23451 Specify type. Require positive value.
23452 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23453 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23454 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23455 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23456 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23457 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23458 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23459 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23460 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23461 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23462 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23463 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23464 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23465 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23466 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23467 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23468 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23469 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23470 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23471 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23472 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23473 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23474 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23475 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23476 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23477 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23478 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23479 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23480 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23481 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23482 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23483 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23484 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23485 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23486 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23487 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23488 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23489 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23490 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23491 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23492 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23493 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23494 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23495 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23496 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23497 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23498 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23499 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23500 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23501 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23502 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23503 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23504 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23505 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23506 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23507 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23508 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23509 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23510 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23511 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23512 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23513 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23514 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23515 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23516 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23517 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23518 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23519 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23520 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23521 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23522 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23523 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23524 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23525 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23526 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23527 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23528 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23529 Require >= 2.
23530 (FLT_ROUNDS): Expect as macro, not constant.
23531 (FLT_MANT_DIG): Use macro-int-constant.
23532 (DBL_MANT_DIG): Likewise.
23533 (LDBL_MANT_DIG): Likewise.
23534 (FLT_DIG): Likewise.
23535 (DBL_DIG): Likewise.
23536 (LDBL_DIG): Likewise.
23537 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23538 (DBL_MIN_EXP): Likewise.
23539 (LDBL_MIN_EXP): Likewise.
23540 (FLT_MAX_EXP): Use macro-int-constant.
23541 (DBL_MAX_EXP): Likewise.
23542 (LDBL_MAX_EXP): Likewise.
23543 (FLT_MAX_10_EXP): Likewise.
23544 (DBL_MAX_10_EXP): Likewise.
23545 (LDBL_MAX_10_EXP): Likewise.
23546 (FLT_MAX): Use macro-constant.
23547 (DBL_MAX): Likewise.
23548 (LDBL_MAX): Likewise.
23549 (FLT_EPSILON): Use macro-constant. Give upper bound.
23550 (DBL_EPSILON): Likewise.
23551 (LDBL_EPSILON): Likewise.
23552 (FLT_MIN): Likewise.
23553 (DBL_MIN): Likewise.
23554 (LDBL_MIN): Likewise.
23555 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23556 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23557 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23558 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23559 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23560 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23561 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23562 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23563 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23564 [ISO11] (FLT_TRUE_MIN): Likewise.
23565 [ISO11] (LDBL_TRUE_MIN): Likewise.
23566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23567 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23568 (SCHAR_MIN): Use macro-int-constant. Specify type.
23569 (SCHAR_MAX): Likewise.
23570 (UCHAR_MAX): Likewise.
23571 (CHAR_MIN): Likewise.
23572 (CHAR_MAX): Likewise.
23573 (MB_LEN_MAX): Use macro-int-constant.
23574 (SHRT_MIN): Use macro-int-constant. Specify type.
23575 (SHRT_MAX): Likewise.
23576 (USHRT_MAX): Likewise.
23577 (INT_MAX): Likewise.
23578 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23579 bound negative.
23580 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23581 bound with "U".
23582 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23583 bound with "L".
23584 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23585 bound negative. Suffix upper bound with "L".
23586 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23587 bound with "UL".
23588 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23589 Specify type.
23590 [C99-based standards] (LLONG_MAX): Likewise.
23591 [C99-based standards] (ULLONG_MAX): Likewise.
23592 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23593 == 0.
23594 [ISO11] (max_align_t): Require type.
23595 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23596
c9140a62
JM
23597 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23598 from $CFLAGS, without defining away __attribute__ calls.
23599 (checknamespace): Use $CFLAGS_namespace.
23600
9af0bf29
JM
23601 * conform/conformtest.pl (@keywords): Only include C99 keywords
23602 for standards based on C99 or C11.
23603
343222a2
JM
23604 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23605 Disable tests.
23606 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23607 UNIX98]: Likewise.
23608
661f8cf0
JM
23609 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23610 usability of symbols in #if.
23611
ee74b9cb
JM
23612 * conform/conformtest.pl: If macro or constant types start
23613 "promoted:", expect the symbol to be of the following type
23614 promoted by the integer promotions.
62fde54f 23615
aafc49b3
JM
23616 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23617 in one place. Also handle "macro-constant".
23618
fefdf574
JM
23619 * conform/conformtest.pl: Only accept expected macro values with
23620 "==". Parse all "macro" lines in one place.
23621 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23622
f2d922fe
JM
23623 * conform/conformtest.pl: Handle braced types on "constant" lines
23624 instead of handling "typed-constant".
23625 * conform/data/signal.h-data: Use "constant" instead of
23626 "typed-constant".
23627
d22956c9
JM
23628 * conform/conformtest.pl: Handle "optional-" at start of lines in
23629 one place rather than duplicating several cases. Handle each
23630 format of "macro" line with initial "optional-".
23631
028e2e38
JM
23632 * conform/conformtest.pl: Only accept expected constant or
23633 optional-constant values with "==". Parse all "constant" lines in
23634 one place. Parse all "optional-constant" lines in one place.
23635 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23636 * conform/data/fmtmsg.h-data: Likewise.
23637 * conform/data/netinet/in.h-data: Likewise.
23638 * conform/data/tar.h-data: Likewise.
23639 * conform/data/limits.h-data: Use "==" form on "constant" and
23640 "optional-constant" lines.
23641
1b8f2850
JM
23642 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23643 Use -std=c99 for XOPEN2K.
23644 (@knownproblems): Remove.
23645 (newtoken): Don't check %isknown.
23646
a05a144b
JM
23647 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23648 Do not expect macro.
23649 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23650 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23651 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23652 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23653 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23654 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23655 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23656 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23657 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23658 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23659 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23660 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23661 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23662 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23663 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23664 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23665 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23666 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23667 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23668 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23669 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23670 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23671 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23672 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23673 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23674 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23675 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23676 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23677 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23678 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23679 [XPG3] (acosh): Likewise.
23680 [XPG3] (asinh): Likewise.
23681 [XPG3] (atanh): Likewise.
23682 [XPG3] (cbrt): Likewise.
23683 [XPG3] (expm1): Likewise.
23684 [XPG3] (ilogb): Likewise.
23685 [XPG3] (log1p): Likewise.
23686 [XPG3] (logb): Likewise.
23687 [XPG3] (nextafter): Likewise.
23688 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23689 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23690 [XPG3] (remainder): Likewise.
23691 [XPG3] (rint): Likewise.
23692 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23693 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23694 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23695 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23696 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23697 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23698 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23699 [UNIX98 || XOPEN2K] (scalb): Expect.
23700 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23701 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23702 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23703 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23704 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23705 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23706 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23707 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23708 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23709 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23710 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23711 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23712 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23713 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23714 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23715 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23716 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23717 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23718 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23719 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23720 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23721 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23722 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23723 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23724 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23725 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23726 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23727 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23728 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23729 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23730 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23731 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23732 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23733 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23734 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23735 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23736 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23737 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23738 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23739 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23740 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23741 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23742 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23743 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23744 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23745 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23746 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23747 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23748 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23749 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23750 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23751 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23752 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23753 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23754 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23755 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23756 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23757 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23758 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23759 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23760 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23761 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23762 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23763 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23764 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23765 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23766 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23767 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23768 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23769 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23770 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23771 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23772 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23773 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23774 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23775 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23776 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23777 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23778 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23779 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23780 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23781 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23782 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23783 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23784 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23785 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23786 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23787 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23788 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23789 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23790 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23791 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23792 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23793 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23794 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23795 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23796 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23797 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23798 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23799 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23800 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23801 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23802 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23803 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23804 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23805 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23806 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23807 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23808 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23809 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23810 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23811 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23812 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23813 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23814 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23815 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23816 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23817 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23818 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23819 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23820 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23821 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23822 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23823 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23824 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23825 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23826 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23827 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23828 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23829 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23830 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23831 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23832 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23833 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23834 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23835 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23836 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23837
73c5ebe3
JM
23838 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23839 _XOPEN_SOURCE_EXTENDED for XPG4.
23840
39c33b6c
JM
23841 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23842
62fde54f
JM
23843 * Makeconfig (localtime): Remove variable.
23844 (inst_localtime-file): Likewise.
23845
0741d64c
AS
238462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23847
23848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23849 Update.
23850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23851 Update.
23852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23853 Update.
23854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23855 Update.
23856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23857 Update.
23858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23859 Update.
23860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23861 Update.
23862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23863 Update.
23864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23865 Update.
23866
7cb029ee
JM
238672012-05-01 Joseph Myers <joseph@codesourcery.com>
23868
23869 [BZ #2550]
23870 [BZ #2570]
23871 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23872 comparisons to determine direction to adjust input.
23873 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23874 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23875 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23876 Likewise.
23877 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23878 Likewise.
23879 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23880 Likewise.
23881 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23882 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23883 Likewise.
23884 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23885 Likewise.
23886 * math/libm-test.inc (nexttoward_test): Add more tests.
23887
412bd966
AS
238882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23889
23890 [BZ #14040]
23891 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23892 in version GLIBC_2.1, not GLIBC_2.0.
23893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23894 Likewise.
23895
9568c0c2
JM
238962012-04-30 Joseph Myers <joseph@codesourcery.com>
23897
adfbc8ac
JM
23898 [BZ #13942]
23899 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23900 (1 - x) * (1 + x).
23901 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23902 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23903 * math/libm-test.inc (acos_test): Add more tests.
23904 (asin_test): Likewise.
23905 * sysdeps/i386/fpu/libm-test-ulps: Update.
23906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23907
5ba3cc69
JM
23908 [BZ #14034]
23909 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23910 of square root.
23911 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23912 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23913 * math/libm-test.inc (acos_test_tonearest): New function.
23914 (acos_test_towardzero): Likewise.
23915 (acos_test_downward): Likewise.
23916 (acos_test_upward): Likewise.
23917 (asin_test_tonearest): Likewise.
23918 (asin_test_towardzero): Likewise.
23919 (asin_test_downward): Likewise.
23920 (asin_test_upward): Likewise.
23921 (main): Call the new functions.
23922 * sysdeps/i386/fpu/libm-test-ulps: Update.
23923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23924
9568c0c2
JM
23925 [BZ #13884]
23926 [BZ #13924]
23927 * math/e_exp10.c: Include <float.h>.
23928 (__ieee754_exp10): Handle underflow here rather than multiplying
23929 large negative argument by M_LN10.
23930 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23931 of __ieee754_expf.
23932 * math/e_exp10l.c: Include <float.h>.
23933 (__ieee754_exp10l): Handle underflow here rather than multiplying
23934 large negative argument by M_LN10l.
23935 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23936 spurious overflow exception on underflow.
23937
5ac3ea17
MP
239382012-04-29 Marek Polacek <polacek@redhat.com>
23939
23940 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23941 (__fortify_function): New macro.
23942 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23943 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23944 __extern_always_inline.
23945 * libio/bits/stdio2.h: Likewise.
23946 * libio/bits/stdio.h: Likewise.
23947 * string/string.h: Likewise.
23948 * string/bits/string3.h: Likewise.
23949 * include/stdio.h: Likewise.
23950 * stdlib/bits/stdlib.h: Likewise.
23951 * stdlib/stdlib.h: Likewise.
23952 * rt/bits/mqueue2.h: Likewise.
23953 * rt/mqueue.h: Likewise.
23954 * posix/bits/unistd.h: Likewise.
23955 * posix/unistd.h: Likewise.
23956 * io/bits/poll2.h: Likewise.
23957 * io/bits/fcntl2.h: Likewise.
23958 * io/fcntl.h: Likewise.
23959 * io/sys/poll.h: Likewise.
23960 * misc/bits/syslog.h: Likewise.
23961 * misc/bits/syslog-ldbl.h: Likewise.
23962 * misc/sys/syslog.h: Likewise.
23963 * socket/bits/socket2.h: Likewise.
23964 * socket/sys/socket.h: Likewise.
23965 * debug/tst-chk1.c: Likewise.
23966 * wcsmbs/bits/wchar2.h: Likewise.
23967 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23968 * wcsmbs/wchar.h: Likewise.
23969
ecf0ebfb
AJ
239702012-04-29 Andreas Jaeger <aj@suse.de>
23971
23972 * Makerules (tests): Remove enable-check-abi protection.
23973 (check-abi-warn): Remove.
23974 (check-abi-%): Remove check-abi-warn usage.
23975
23976 * configure.in: Remove check-abi configure option.
23977 * configure: Regenerated.
23978 * config.make.in (enable-check-abi): Remove.
23979
6d5c57fa
AS
239802012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23981
24c5d07e 23982 [BZ #14033]
ded5180a
AS
23983 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23984 double functions to double *_finite functions.
23985
7e0d315d
AS
23986 [BZ #13941]
23987 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23988 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23989 LDBL_MIN_EXP.
23990 * stdio-common/Makefile (tests): Add tst-sprintf3.
23991 * stdio-common/tst-sprintf3.c: New file.
23992
6d5c57fa
AS
23993 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23994 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23995
0749ff8b
JM
239962012-04-28 Joseph Myers <joseph@codesourcery.com>
23997
23998 * conform/conformtest.pl: Remove duplicate typed-constant
23999 handling.
24000
8dbd5d7b
DM
240012012-04-28 David S. Miller <davem@davemloft.net>
24002
24003 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24004 (check-abi-%): Remove AWK script prerequisite and explicit
24005 abilist directory.
24006 (check-abi): Rewrite to just diff the symlist with the abilist.
24007 (config-tls, config-abi-config): Delete, no longer used.
24008 (update-abi-%): Remove AWK script and explicit abilist directory.
24009 (update-abi): Rewrite to simply compare and conditionally copy the
24010 symlist and the sysdep abilist file. Remove update-abi-config
24011 checks.
24012 * abilist/ld.abilist: Remove.
24013 * abilist/libBrokenLocale.abilist: Remove.
24014 * abilist/libanl.abilist: Remove.
24015 * abilist/libcrypt.abilist: Remove.
24016 * abilist/libdl.abilist: Remove.
24017 * abilist/librt.abilist: Remove.
24018 * abilist/libthread_db.abilist: Remove.
24019 * abilist/libutil.abilist: Remove.
24020 * scripts/extract-abilist.awk: Remove.
24021 * scripts/merge-abilist.awk: Remove.
24022 * sysdeps/generic/libcidn.abilist: New file.
24023 * sysdeps/generic/libnss_compat.abilist: New file.
24024 * sysdeps/generic/libnss_db.abilist: New file.
24025 * sysdeps/generic/libnss_dns.abilist: New file.
24026 * sysdeps/generic/libnss_files.abilist: New file.
24027 * sysdeps/generic/libnss_hesiod.abilist: New file.
24028 * sysdeps/generic/libnss_nis.abilist: New file.
24029 * sysdeps/generic/libnss_nisplus.abilist: New file.
24030 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24031 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24032 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24033 file.
24034 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24035 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24036 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24037 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24038 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24039 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24040 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24041 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24042 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24043 file.
24044 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24045 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24046 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24047 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24048 file.
24049 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24050 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24051 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24052 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24053 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24054 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24055 file.
24056 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24057 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24058 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24059 file.
24060 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24062 New file.
24063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24064 New file.
24065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24066 New file.
24067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24068 New file.
24069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24070 New file.
24071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24072 New file.
24073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24074 New file.
24075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24076 New file.
24077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24078 New file.
24079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24080 New file.
24081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24082 New file.
24083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24084 New file.
24085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24086 New file.
24087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24088 file.
24089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24090 New file.
24091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24092 New file.
24093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24094 file.
24095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24096 New file.
24097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24098 New file.
24099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24100 file.
24101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24102 New file.
24103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24104 New file.
24105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24106 New file.
24107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24108 New file.
24109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24110 New file.
24111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24112 New file.
24113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24115 file.
24116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24117 New file.
24118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24119 file.
24120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24121 file.
24122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24123 file.
24124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24125 file.
24126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24127 file.
24128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24129 New file.
24130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24131 file.
24132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24133 file.
24134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24135 New file.
24136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24137 file.
24138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24140 file.
24141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24142 New file.
24143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24144 file.
24145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24146 file.
24147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24148 file.
24149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24150 file.
24151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24152 file.
24153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24154 New file.
24155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24156 file.
24157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24158 file.
24159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24160 New file.
24161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24162 file.
24163 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24164 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24165 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24166 file.
24167 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24168 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24169 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24170 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24171 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24172 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24173 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24174 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24175 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24176 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24179 file.
24180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24181 New file.
24182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24183 file.
24184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24185 file.
24186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24187 file.
24188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24189 file.
24190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24191 file.
24192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24193 New file.
24194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24195 New file.
24196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24197 file.
24198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24199 New file.
24200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24201 file.
24202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24204 file.
24205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24206 New file.
24207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24208 file.
24209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24210 file.
24211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24212 file.
24213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24214 file.
24215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24216 file.
24217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24218 New file.
24219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24220 New file.
24221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24222 file.
24223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24224 New file.
24225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24226 file.
24227
41d73a1b
JM
242282012-04-28 Joseph Myers <joseph@codesourcery.com>
24229
24230 * conform/conformtest.pl: Fix typo in handling typed-constant from
24231 allow-header.
24232
28aeeda4
JM
242332012-04-27 Joseph Myers <joseph@codesourcery.com>
24234
adae8f5e
JM
24235 * README: Cut down references to pre-2.6 Linux kernels and
24236 Linuxthreads. Update lists of configurations in libc and ports
24237 and sort alphabetically. Say "or newer" with Linux kernel version
24238 requirements.
24239
28aeeda4
JM
24240 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24241
a462cb63
RA
242422012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24243
24244 [BZ #887]
24245 * math/libm-test.inc (logb_test_downward): New test to expose
24246 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24247 rounding mode.
24248
6ad3493e
JM
242492012-04-27 Joseph Myers <joseph@codesourcery.com>
24250
24251 [BZ #14027]
24252 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24253 to be done.
24254 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24255 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24256
2ce4f015
JM
242572012-04-26 Joseph Myers <joseph@codesourcery.com>
24258
5aeb141a
JM
24259 * sysdeps/unix/i386/brk.S: Remove file.
24260 * sysdeps/unix/i386/dl-brk.S: Likewise.
24261 * sysdeps/unix/i386/pipe.S: Likewise.
24262 * sysdeps/unix/i386/sigreturn.S: Likewise.
24263 * sysdeps/unix/i386/syscall.S: Likewise.
24264 * sysdeps/unix/i386/vfork.S: Likewise.
24265 * sysdeps/unix/i386/wait.S: Likewise.
24266
7143acae
JM
24267 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24268 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24269
2ce4f015
JM
24270 * configure.in (arm*-none*): Do not allow without
24271 --enable-hacker-mode.
24272 (netbsd*): Remove case setting base_os.
24273 (386bsd*): Likewise.
24274 (freebsd*): Likewise.
24275 (bsdi*): Likewise.
24276 (osf*): Likewise.
24277 (sunos*): Likewise.
24278 (ultrix*): Likewise.
24279 (newsos*): Likewise.
24280 (dynix*): Likewise.
24281 (*bsd*): Likewise.
24282 (sysv*): Likewise.
24283 (isc*): Likewise.
24284 (esix*): Likewise.
24285 (sco*): Likewise.
24286 (minix*): Likewise.
24287 (irix4*): Likewise.
24288 (irix6*): Likewise.
24289 (solaris[2-9]*): Likewise.
24290 (none): Likewise.
24291 * configure: Regenerated.
24292
0ac229c8
AZ
242932012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24294
24295 [BZ #11521]
24296 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24297 overflow or cancellation in calculating denominator.
24298 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24299 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24300 down expression to avoid unexpected rounding in newer GCCs.
24301 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24302
33f244f4
DM
243032012-04-26 David S. Miller <davem@davemloft.net>
24304
24305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24306 long-double compat symbols.
24307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24320
cfa1f3e8
DM
243212012-04-25 David S. Miller <davem@davemloft.net>
24322
24323 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24324 HWCAP_* values only after the memory barriers have been defined.
24325 (atomic_full_barrier): Define.
24326 (atomic_read_barrier): Define.
24327 (atomic_write_barrier): Define.
24328
6e236b92
SP
243292012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24330
24331 * shlib-versions: Add libgcc_s version information.
24332 * sysdeps/generic/libgcc_s.h: Remove.
24333 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24334 libgcc_s.h.
24335 * sysdeps/gnu/unwind-resume.c: Likewise.
24336 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24337
aab39a09
DM
243382012-04-25 David S. Miller <davem@davemloft.net>
24339
24340 * sysdeps/unix/sparc/brk.S: Delete.
24341 * sysdeps/unix/sparc/dl-brk.S: Delete.
24342 * sysdeps/unix/sparc/pipe.S: Delete.
24343 * sysdeps/unix/sparc/sysdep.S: Delete.
24344 * sysdeps/unix/sparc/sysdep.h: Delete.
24345 * sysdeps/unix/sparc/vfork.S: Delete.
24346 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24347 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24348 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24349 ret_ERRVAL, r0, r1, MOVE): Define.
24350 (JUMPTARGET): Remove.
24351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24352 sysdeps/unix/sparc/sysdep.h
24353 (ENTRY, END): Remove.
24354 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24355
a3cc4f48
JM
243562012-04-25 Joseph Myers <joseph@codesourcery.com>
24357
2ed8cda2
JM
24358 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24359 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24360 -DIS_IN_build.
24361
35d76d59
JM
24362 * timezone/README: Update upstream location and email address for
24363 tzcode and tzdata.
24364 * timezone/zdump.c: Update from tzcode 2012b.
24365 * timezone/zic.c: Likewise.
24366
a3cc4f48
JM
24367 * configure.in (libc_cv_as_needed): Remove test.
24368 * configure: Regenerated.
24369 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24370 conditional definition.
24371 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24372 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24373 * config.make.in (have-as-needed): Remove variable.
24374
ceab42c3
SP
243752012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24376 Paul Pluzhnikov <ppluzhnikov@google.com>
24377
24378 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24379 strings correctly.
24380
3ce2865f
CLT
243812012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24382
24383 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24384 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24385 * sysdeps/sh/strlen.S: Likewise.
24386
f37e0d68
JM
243872012-04-24 Joseph Myers <joseph@codesourcery.com>
24388
ae186e9a
JM
24389 * sysdeps/unix/fork.S: Remove file.
24390 * sysdeps/unix/i386/fork.S: Likewise.
24391 * sysdeps/unix/sparc/fork.S: Likewise.
24392
b96914af
JM
24393 * sysdeps/unix/system.c: Remove file.
24394 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24395
f37e0d68
JM
24396 * sysdeps/unix/getegid.S: Remove file.
24397 * sysdeps/unix/geteuid.S: Likewise.
24398
87ef29ca
RM
243992012-04-24 Roland McGrath <roland@hack.frob.com>
24400
83bcd236
RM
24401 * scripts/check-localplt.awk: New file.
24402 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24403 of diff.
24404 * scripts/data/localplt-generic.data: Add a comment.
24405
87ef29ca
RM
24406 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24407 NODE when __dir_mkfile failed.
24408 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24409 Reported by Ludovic Courtès <ludo@gnu.org>.
24410
e5a6e567
AJ
244112012-04-24 Andreas Jaeger <aj@suse.de>
24412
24413 * Makerules (common-clean): Also remove gen-as-const-headers
24414 files.
24415
c1820385
JM
244162012-04-24 Joseph Myers <joseph@codesourcery.com>
24417
24418 * Makerules (native-compile): Do not change working directory for
24419 build. Use $(OUTPUT_OPTION) in command.
24420 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24421
94e02fc4
AZ
244222012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24423
24424 [BZ #13886]
24425 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24426 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24427 * math/libm-test.inc (floor_test): Add more tests.
24428 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24429
3a533ca3
JM
244302012-04-24 Joseph Myers <joseph@codesourcery.com>
24431
940ab4b3
JM
24432 * sysdeps/unix/getdents.c: Remove file.
24433 * sysdeps/unix/sysv/getdents.c: Likewise.
24434 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24435
90e037bd
JM
24436 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24437 sysdeps/unix/mman/syscalls.list.
24438 (mmap): Likewise.
24439 (mprotect): Likewise.
24440 (msync): Likewise.
24441 (munmap): Likewise.
24442 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24443 * sysdeps/unix/mman/syscalls.list: Remove.
24444 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24445
3a533ca3
JM
24446 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24447 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24448 * configure: Regenerated.
24449 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24450 $(libgcc_s_suffix).
24451 * config.make.in (libgcc_s_suffix): Remove variable.
24452
1ad743de
JM
244532012-04-23 Joseph Myers <joseph@codesourcery.com>
24454
4ad451e2
JM
24455 * sysdeps/unix/sysv/gethostname.c: Move to ...
24456 * sysdeps/posix/gethostname.c: ... here.
24457
5e37ce39
JM
24458 * sysdeps/unix/execve.S: Remove file.
24459
1ad743de
JM
24460 * sysdeps/unix/_exit.S: Remove file.
24461
4e681b5b
AJ
244622012-04-23 Andreas Jaeger <aj@suse.de>
24463
24464 [BZ #13739]
24465 * manual/Makefile: Remove make dist support, there's no
24466 need for a stand-alone documentation tar ball.
24467 (TEXI2DVI): Define always, it's not in Makeconfig.
24468 (dist): Removed.
24469 (tar-it): Removed.
24470 (edition): Removed.
24471 (glibc-doc-$(edition).tar): Removed
24472 (%.Z): Removed.
24473 (%.gz): Removed.
24474 (%.uu): Removed.
24475 (ETAGS): Remove, it's in Makeconfig.
24476 (move-if-change): Remove, it's in Makeconfig.
24477
38686a03 244782012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24479
24480 [BZ #13970]
24481 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24482 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24483 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24484 (strtod_l, strtof_l, strtold_l): Remove __wur.
24485 It is not necessarily an error to ignore strtol's return value.
24486 One can reliably look at the stored endptr to decide whether
24487 the number had valid syntax.
24488
7c0616fa
AJ
244892012-04-21 Andreas Jaeger <aj@suse.de>
24490
803cb6b7 24491 [BZ #13739]
7c0616fa
AJ
24492 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24493
b0fe253f
JM
244942012-04-21 Joseph Myers <joseph@codesourcery.com>
24495
24496 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24497 * sysdeps/unix/sysv/Versions: Remove file.
24498
8280f22d
MT
244992012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24500
24501 [BZ #13927]
24502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24503
75ce411f 245042012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24505
24506 [BZ #7064]
24507 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24508 version from __vm86.
24509
097d59fa
JM
245102012-04-20 Joseph Myers <joseph@codesourcery.com>
24511
a90f3bcb
JM
24512 * sysdeps/unix/common/lxstat.c: Remove file.
24513 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24514
edc7ea78
JM
24515 * sysdeps/unix/sysv/Makefile: Remove file.
24516
cb78c221
JM
24517 * sysdeps/unix/sysv/direct.h: Remove file.
24518
efa6a45f
JM
24519 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24520 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24521 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24522 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24523 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24524 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24525 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24526
9c9f2d0c
JM
24527 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24528
4541c83b
JM
24529 * sysdeps/unix/xmknod.c: Remove file.
24530 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24531
f5d153a0
JM
24532 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24533
aa746595
JM
24534 * sysdeps/unix/sysv/i386/time.S: Remove file.
24535
cce5905e
JM
24536 * sysdeps/unix/fxstat.c: Remove file.
24537 * sysdeps/unix/xstat.c: Likewise.
24538 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24539
37fa3841
JM
24540 * sysdeps/unix/sysv/sigaction.c: Remove file.
24541
ff1962a3
JM
24542 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24543 (sysdep_headers): Remove variable.
24544 [termio.h not in sysdep_headers] (generated): Likewise.
24545 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24546 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24547 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24548 * sysdeps/unix/sysv/tcflow.c: Likewise.
24549 * sysdeps/unix/sysv/tcflush.c: Likewise.
24550 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24551 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24552 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24553 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24554 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24555
e7740d31
JM
24556 * sysdeps/unix/siglist.c: Remove file.
24557
ee06f18b
JM
24558 * sysdeps/unix/getppid.S: Remove file.
24559
097d59fa
JM
24560 * sysdeps/unix/mkdir.c: Remove file.
24561 * sysdeps/unix/rmdir.c: Likewise.
24562
ff3d51ec
AS
245632012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24564
24565 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24566 ERR_MAX value.
24567 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24568 errlist-compat value.
24569
50f81fd7
DM
245702012-04-18 David S. Miller <davem@davemloft.net>
24571
24572 * sysdeps/generic/memcopy.h (reg_char): Delete.
24573 * debug/strcat_chk.c: Use char, not reg_char.
24574 * debug/strcpy_chk.c: Likewise.
24575 * debug/strncat_chk.c: Likewise.
24576 * debug/strncpy_chk.c: Likewise.
24577 * string/memchr.c: Likewise.
24578 * string/memrchr.c: Likewise.
24579 * string/rawmemchr.c: Likewise.
24580 * string/strcat.c: Likewise.
24581 * string/strchr.c: Likewise.
24582 * string/strchrnul.c: Likewise.
24583 * string/strcmp.c: Likewise.
24584 * string/strcpy.c: Likewise.
24585 * string/strncat.c: Likewise.
24586 * string/strncmp.c: Likewise.
24587 * string/strncpy.c: Likewise.
24588
8ff41c46
WS
245892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24590
24591 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24592 __builtin_memcopy is called when src and dest ranges are known to not
24593 overlap.
24594
6b652f46
WS
245952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24596
24597 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24598 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24599 fwd_align_merge macro call.
24600 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24601 bwd_align_merge macro call.
24602 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24603
b282631e
WS
246042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24605
24606 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24607 bwd_align_merge macros.
24608 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24609 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24610 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24611
95aa737c
DM
246122012-04-18 David S. Miller <davem@davemloft.net>
24613
24614 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24615
7a99a614
AJ
246162012-04-18 Andreas Jaeger <aj@suse.de>
24617
24618 [BZ# 6794]
24619 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24620 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24621 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24622
24623 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24624 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24625 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24626
24627 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24628 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24629 Adjust for changed ldbl-128 files.
24630
24631 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24632 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24633 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24634
e5270c23
DM
246352012-04-17 David S. Miller <davem@davemloft.net>
24636
24637 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24638
fb5e92c9
AS
246392012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24640
24641 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24642 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24643 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24644 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24645 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24646 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24647
76da7265
AZ
246482012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24649
24650 [BZ #6794]
24651 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24652 * math/libm-test.inc: Add ilogb errno and exception tests.
24653 * math/w_ilogb.c: New file: ilogb wrapper.
24654 * math/w_ilogbf.c: New file: ilogbf wrapper.
24655 * math/w_ilogbl.c: New file: ilogbl wrapper.
24656 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24657 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24658 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24659 exception being thrown with 0.0 as argument.
24660 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24661 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24662 exception being thrown with 0.0 as argument.
24663 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24664 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24665 exception being thrown with 0.0 as argument.
24666 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24667 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24668 exception being thrown with 0.0 as argument.
24669 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24670 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24671 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24672 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24673 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24674 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24675 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24676 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24677 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24678
0396e69d
PB
246792012-04-17 Petr Baudis <pasky@ucw.cz>
24680
24681 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24682 with altivec.
24683
750b5926
MP
246842012-04-16 Marek Polacek <polacek@redhat.com>
24685
24686 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24687
751728a1
MP
246882012-04-16 Marek Polacek <polacek@redhat.com>
24689
24690 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24691 operands of fdivp instruction.
24692
34a27407
L
246932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24694
24695 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24696 * elf/tst-auditmod3b.c: Likewise.
24697 * elf/tst-auditmod4b.c: Likewise.
24698 * elf/tst-auditmod5b.c: Likewise.
24699 * elf/tst-auditmod6b.c: Likewise.
24700 * elf/tst-auditmod6c.c: Likewise.
24701 * elf/tst-auditmod7b.c: Likewise.
24702 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24703 * sysdeps/x86_64/preconfigure.in: Likewise.
24704 * sysdeps/x86_64/preconfigure: Regenerated.
24705
7e73e17d
L
247062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24707
24708 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24709 __ILP32__.
24710
c7a6ab72
AB
247112012-04-13 Antoine Balestrat <merkil33@gmail.com>
24712
24713 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24714 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24715
a9e8e0e0
CL
247162012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24717
24718 [BZ #13973]
24719 * locale/iso-639.def: Fix gl language name. Spotted by
24720 Yaron Shahrabani.
24721
ec98af7d
RM
247222012-04-12 Roland McGrath <roland@hack.frob.com>
24723
24724 [BZ #2074]
24725 * libio/libio.h (__io_write_fn): Update comment.
24726
247c3ede
PB
247272012-04-12 Petr Baudis <pasky@ucw.cz>
24728
24729 [BZ #2074]
24730 * stdio.texi (Hook Functions): The user provided writer function
24731 is not allowed to return -1.
24732
55939d6d
DM
247332012-04-11 David S. Miller <davem@davemloft.net>
24734
24735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24736
90020f5a
MF
247372012-04-11 Mike Frysinger <vapier@gentoo.org>
24738
24739 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24740 Add a leading slash to rtkaio.
24741
288f9098
JM
247422012-04-11 Jim Meyering <meyering@redhat.com>
24743
90020f5a
MF
24744 [BZ #11959]
24745 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24746 It is not necessarily an error to ignore fwrite's return
24747 value. One can reliably use ferror to test for errors after
24748 the fact.
288f9098 24749
4be2b570
L
247502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24751
24752 * bits/types.h (__snseconds_t): New type.
24753 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24754
24755 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24757 (__SNSECONDS_T_TYPE): Likewise.
24758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24759 (__SNSECONDS_T_TYPE): Likewise.
24760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24761 (__SNSECONDS_T_TYPE): Likewise.
24762
288f9098 247632012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24764
24765 [BZ #2636]
24766 * manual/time.texi (Processor Time): Return type of times is
24767 elapsed real time since an arbitrary point in the past.
24768 (CPU Time): Move CLK_TCK from here...
24769 (Processor Time): ...to here. Correct description.
24770 * manual/conf.texi (Constants for Sysconf): Correct description of
24771 _SC_CLK_TCK.
24772
d7dd4413
DM
247732012-04-10 David S. Miller <davem@davemloft.net>
24774
24775 [BZ #13967]
24776 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24777 where the is a gap between DT_REL(A) and DT_JMPREL.
24778
b46068fc
L
247792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24780
24781 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24782 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24783 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24784
73d65cc3
SP
247852012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24786
24787 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24788 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24789 (dl_main): Handle --inhibit-cache.
24790 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24791 _dl_inhibit_cache.
24792 * elf/dl-load.c (_dl_map_object): Use it.
24793 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24794
bcc8d661
JM
247952012-04-09 Joseph Myers <joseph@codesourcery.com>
24796
8f9a2fae
JM
24797 [BZ #13872]
24798 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24799 (__ieee754_powl): Saturate large exponents rather than testing for
24800 overflow of y*log2(x).
24801 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24802 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24803 exceptions.
24804
bcc8d661
JM
24805 [BZ #11521]
24806 * math/s_ctan.c: Include <float.h>.
24807 (__ctan): Avoid internal overflow or cancellation in calculating
24808 denominator.
24809 * math/s_ctanf.c: Likewise.
24810 * math/s_ctanl.c: Likewise.
24811 * math/s_ctanh.c: Likewise.
24812 * math/s_ctanhf.c: Likewise.
24813 * math/s_ctanhl.c: Likewise.
24814 * math/libm-test.inc (ctan_test): Add more tests.
24815 (ctanh_test): Likewise.
24816 * sysdeps/i386/fpu/libm-test-ulps: Update.
24817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24818
823fbbb4
AJ
248192012-04-09 Andreas Jaeger <aj@suse.de>
24820
03879793
AJ
24821 [BZ #6894]
24822 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24823 is an optional BSD extension.
24824
823fbbb4
AJ
24825 [BZ #10254]
24826 * manual/stdio.texi (Opening Streams): Document additional fopen
24827 parameters.
24828
8de131cb
RM
248292012-04-09 Roland McGrath <roland@hack.frob.com>
24830
24831 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24832 %eax without telling the compiler.
24833
c0ed9d7d
CD
248342012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24835
24836 [BZ # 13963]
24837 * manual/install.texi: Use sourceware.org.
24838
c483f6b4
JM
248392012-04-09 Joseph Myers <joseph@codesourcery.com>
24840
d7dd9453
JM
24841 [BZ #13873]
24842 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24843 (__ieee754_pow): Generate overflow and underflow using huge*huge
24844 and tiny*tiny rather than just returning constant infinity or zero
24845 for large exponents.
24846 * math/libm-test.inc (pow_test): Require overflow exceptions for
24847 applicable cases of large exponents.
24848
c483f6b4
JM
24849 [BZ #706]
24850 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24851 (__ieee754_pow): Use iterative multiplication algorithm only for
24852 integer exponents with absolute value below 1024. Check for odd
24853 integer exponents when using algorithm for real exponents.
24854 * math/libm-test.inc (pow_test): Add more tests.
24855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24856
d2de7579
JM
248572012-04-08 Joseph Myers <joseph@codesourcery.com>
24858
24859 [BZ #13705]
24860 * math/libm-test.inc (exp_test): Do not allow overflow exception
24861 on underflow test.
24862
f77f1232
AJ
248632012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24864
24865 [BZ #13705]
24866 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24867 instead of __kernel_standard_f.
24868
3884932b
MF
248692012-04-08 Mike Frysinger <vapier@gentoo.org>
24870
24871 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24872 * sysdeps/x86_64/memset_chk.S: Likewise.
24873
54472e9c
AJ
248742012-04-08 Andreas Jaeger <aj@suse.de>
24875
6ab0fbfc
AJ
24876 [BZ #10153]
24877 * manual/startup.texi (Environment Access): Describe return value
24878 for putenv and setenv.
24879
61efba8c
AJ
24880 [BZ #6895]
24881 * manual/filesys.texi (Directory Entries): Add description for
24882 DT_LNK.
24883
95c3f29a
AJ
24884 [BZ #6890]
24885 * manual/filesys.texi (Directory Entries): Clarify that it's file
24886 system not operating system in the description of DT_UNKNOWN.
24887
54472e9c
AJ
24888 [BZ #6578]
24889 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24890
624254b1
SC
248912012-04-08 Stephen Compall <s11@member.fsf.org>
24892
24893 [BZ #6649]
24894 * manual/llio.texi (Opening and Closing Files): Add cross
24895 reference to explain mode argument.
24896
1e4920e0
MF
248972012-04-07 Mike Frysinger <vapier@gentoo.org>
24898
24899 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24900 * sysdeps/x86_64/memset_chk.S: Likewise.
24901
5ed848f3
DM
249022012-04-07 David S. Miller <davem@davemloft.net>
24903
24904 * elf/elf.h (R_SPARC_WDISP10): Define.
24905 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24906 R_SPARC_SIZE32.
24907 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24908 R_SPARC_SIZE64 and R_SPARC_H34.
24909
96154cd8
CD
249102012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24911
24912 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24913 conditions and remove no longer applicable assertion.
24914
9904dc47
L
249152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24916
24917 * bits/byteswap.h: Include <features.h>.
24918 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24919 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24920
f8887d0a
L
249212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24922
24923 * bits/byteswap.h (__bswap_16): Removed.
24924 Include <bits/byteswap-16.h> to get __bswap_16.
24925 * sysdeps/i386/bits/byteswap.h: Likewise.
24926 * sysdeps/s390/bits/byteswap.h: Likewise.
24927 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24928 * bits/byteswap-16.h: New file.
24929 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24930 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24931 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24932 * string/Makefile (headers): Add bits/byteswap-16.h.
24933
62470f60
PP
249342012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24935
24936 [BZ #13895]
24937 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24938 extra indirection.
24939 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24940 * nss/tst-nss-static.c: New.
24941
4dad7bab
RM
249422012-04-06 Robert Millan <rmh@gnu.org>
24943
24944 [BZ #6486]
24945 * manual/llio.texi (File Position Primitive): lseek
24946 refers to WHENCE when it really means OFFSET.
24947
e9142a17
AJ
249482012-04-06 Andreas Jaeger <aj@suse.de>
24949
2c040eff
AJ
24950 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24951 strncmp declarations.
24952
e9142a17
AJ
24953 * abilist/libc.abilist: Add __poll and __ppoll.
24954
ff9f1c5f
DM
249552012-04-05 David S. Miller <davem@davemloft.net>
24956
dcd2ae90
DM
24957 * scripts/check-local-headers.sh: Accept a host triplet in the
24958 path matched by the exclude regexp.
24959
993eb054
DM
24960 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24961 definition.
24962 * sysdeps/powerpc/powerpc32/dl-machine.h
24963 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24964 * sysdeps/s390/s390-32/dl-machine.h
24965 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24966 * sysdeps/sparc/sparc32/dl-machine.h
24967 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24968 * sysdeps/sparc/sparc64/dl-machine.h
24969 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24970
ff9f1c5f
DM
24971 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24972 lazy binding.
48e2e132 24973 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24974 undefined symbol errors.
24975
48e2e132 24976 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24977 DT_NEEDED entries.
24978
e80d6f94
MM
249792012-04-05 Michael Matz <matz@suse.de>
24980
24981 [BZ #13592]
24982 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24983
349fa79f
AJ
249842012-04-05 Andreas Jaeger <aj@suse.de>
24985
24986 [BZ #13908]
24987 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24988 comment.
24989
f402708f
KK
249902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24991
24992 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24993 which ROUND is no valid rounding mode.
24994
2ecccfc9
KK
249952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24996
24997 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24998 read again.
24999 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25000
8a53f50f
KK
250012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25002
25003 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25004 an exception using FPU order intentionally.
25005
250062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25007
25008 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25009 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25010 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25011 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25012
d653abb7
SJ
250132012-04-05 Simon Josefsson <simon@josefsson.org>
25014
25015 [BZ #12340]
25016 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25017 EINVAL when BUFLEN is too smal.
25018
c3b1bf7d
TS
250192012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25020
25021 [BZ #13553]
25022 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25023 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25024
b1aa60f3
AJ
250252012-04-03 Andreas Jaeger <aj@suse.de>
25026
c3b1bf7d 25027 [BZ #13938]
67f60a26
AJ
25028 * manual/setjmp.texi (System V contexts): Fix sentence.
25029
b1aa60f3
AJ
25030 [BZ #13926]
25031 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25032 New macro for this case.
25033 [!__GNUC__] (__bswap_64): New inline function for this case.
25034 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25035 * bits/byteswap.h: Likewise.
25036 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25037 ull, guard with __GLIBC_HAVE_LONG_LONG.
25038
25039 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25040 __GLIBC_HAVE_LONG_LONG.
25041
25042 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25043 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25044
39c59c35
TMQMF
250452012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25046
25047 [BZ #13691]
25048 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25049 inptr and inend, rather than using last_ch.
25050
135ffda8
DM
250512012-04-02 David S. Miller <davem@davemloft.net>
25052
25053 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25054 * stdio-common/printf-parse.h (read_int): Change return type to
25055 'int', return -1 on INT_MAX overflow.
25056 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25057 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25058 overflows INT_MAX. Check for overflow of in-format-string precision
25059 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25060 SIZE_MAX not INT_MAX for integer overflow test.
25061 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25062 skip the construct in the format string but do not record anything.
25063 * stdio-common/bug22.c: Adjust to test both width/prevision
25064 INT_MAX overflow as well as total length INT_MAX overflow. Check
25065 explicitly for proper errno values.
25066
228c019e
TS
250672012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25068
302cadd3
TS
25069 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25070 CHAR_MAX.
25071 * string/test-strcmp.c [! WIDE]: Likewise.
25072 * time/tst-mktime2.c: Likewise for INT_MAX.
25073 * string/test-string.h: #include <sys/param.h> for MIN.
25074
228c019e
TS
25075 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25076 * sysdeps/i386/init-first.c (init): Likewise.
25077 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25078 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25079 * sysdeps/sh/init-first.c (init): Likewise.
25080
cfa633f5
UD
250812012-04-01 Ulrich Drepper <drepper@gmail.com>
25082
25083 * po/ru.po: Update from translation team.
d1635ef8 25084 * po/vi.po: Likewise.
cfa633f5 25085
6cd0a5ea
SP
250862012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25087
25088 * resolv/nss_dns/dns-host.c: Merge copyright years.
25089
4b43400f
LD
250902012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25091
25092 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25093 Optimize memcpy with prefetch if
25094 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25095 src, dst pointers have unequal 16 byte alignments.
25096
48c41d04
SP
250972012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25098
25099 [BZ #13928]
25100 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25101 from a CNAME entry and return the minimum ttl for the query.
25102 (gaih_getanswer_slice): Likewise.
25103
b8dc394d
JL
251042012-03-30 Jeff Law <law@redhat.com>
25105
25106 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25107 due to long keys.
25108 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25109 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25110
2f5a5ed0
JL
25111 * resolv/nss_dns/dns-host.c: Update copyright year.
25112
1d39e359
UD
251132012-03-30 Ulrich Drepper <drepper@gmail.com>
25114
c030f70c 25115 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25116 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25117
1d39e359
UD
25118 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25119 comments for sendmmsg.
25120
251212012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25122
25123 [BZ #13691]
25124 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25125 with only 1 character between 0x0041 and 0x01b0.
25126 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25127 * wcsmbs/tst-mbsnrtowcs.c: New file.
25128
20fde227
DM
251292012-03-29 David S. Miller <davem@davemloft.net>
25130
25131 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25132 small copies by hand.
25133
984a4237
JL
251342012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25135
25136 [BZ #13761]
25137 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25138 _nss_compat_initgroups_dyn): Fall back to malloc/free
25139 for large group memberships.
25140
18c9d62b
DM
251412012-03-28 David S. Miller <davem@davemloft.net>
25142
88d85d4f
DM
25143 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25144 that branches into memcpy.
25145 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25146 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25147 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25148 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25150 bits.
25151 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25152 implementation too.
25153 * sysdeps/sparc/mempcpy.S: New file.
25154
e5aa83e1
DM
25155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25156 the IFUNC routine in the libc case.
25157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25158
88570753
DM
25159 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25160 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25161 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25162 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25163 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25164 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25165 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25166 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25167
249d7567
DM
25168 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25169 loop to 256 bytes instead of 64 bytes and fix test signedness.
25170
18c9d62b
DM
25171 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25172 * sysdeps/sparc/sparc32/Makefile: rather than here...
25173 * sysdeps/sparc/sparc64/Makefile: and here.
25174
05f3d1f6
UD
251752012-03-28 Ulrich Drepper <drepper@gmail.com>
25176
25177 * malloc/mallocbug.c: Avoid warnings about unused variables.
25178
86ae07a8
JL
251792012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25180
25181 [BZ #13760]
25182 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25183 in the right place. Discard and retry query if response is
25184 larger than input buffer size.
25185
41bf21a1
JM
251862012-03-28 Joseph Myers <joseph@codesourcery.com>
25187
d6270972
JM
25188 [BZ #369]
25189 [BZ #2678]
25190 [BZ #3866]
25191 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25192 x for large integer exponent.
25193 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25194 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25195 sign of result as needed afterwards.
25196 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25197 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25198 result for underflowing pow the same as for overflow.
25199 (__kernel_standard_l): Handle powl overflow and underflow here
25200 rather than calling __kernel_standard.
25201 * math/libm-test.inc (pow_test): Add more tests.
25202
414fca03 25203 [BZ #3868]
41bf21a1
JM
25204 [BZ #13879]
25205 [BZ #13910]
25206 [BZ #13911]
25207 [BZ #13912]
25208 [BZ #13913]
25209 [BZ #13915]
25210 [BZ #13916]
25211 [BZ #13917]
25212 [BZ #13918]
25213 [BZ #13919]
25214 [BZ #13920]
25215 [BZ #13921]
25216 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25217 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25218 (__kernel_standard_l): New function.
25219 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25220 __kernel_standard.
25221 * math/w_acosl.c (__acosl): Likewise.
25222 * math/w_asinl.c (__asinl): Likewise.
25223 * math/w_atan2l.c (__atan2l): Likewise.
25224 * math/w_atanhl.c (__atanhl): Likewise.
25225 * math/w_coshl.c (__coshl): Likewise.
25226 * math/w_exp10l.c (__exp10l): Likewise.
25227 * math/w_exp2l.c (__exp2l): Likewise.
25228 * math/w_fmodl.c (__fmodl): Likewise.
25229 * math/w_hypotl.c (__hypotl): Likewise.
25230 * math/w_j0l.c (__j0l, __y0l): Likewise.
25231 * math/w_j1l.c (__j1l, __y1l): Likewise.
25232 * math/w_jnl.c (__jnl, __ynl): Likewise.
25233 * math/w_lgammal.c (__lgammal): Likewise.
25234 * math/w_log10l.c (__log10l): Likewise.
25235 * math/w_log2l.c (__log2l): Likewise.
25236 * math/w_logl.c (__logl): Likewise.
25237 * math/w_powl.c (__powl): Likewise.
25238 * math/w_remainderl.c (__remainderl): Likewise.
25239 * math/w_scalbl.c (sysv_scalbl): Likewise.
25240 * math/w_sinhl.c (__sinhl): Likewise.
25241 * math/w_sqrtl.c (__sqrtl): Likewise.
25242 * math/w_tgammal.c (__tgammal): Likewise.
25243 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25244 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25245 * math/libm-test.inc (acos_test): Add more tests.
25246 (acosh_test): Likewise.
25247 (asin_test): Likewise.
25248 (atanh_test): Likewise.
25249 (exp_test): Likewise.
25250 (exp10_test): Likewise.
25251 (exp2_test): Likewise.
25252 (expm1_test): Likewise.
25253 (lgamma_test): Likewise.
25254 (log_test): Likewise.
25255 (log10_test): Likewise.
25256 (log1p_test): Likewise.
25257 (log2_test): Likewise.
25258 (pow_test): Do not allow some spurious overflow exceptions.
25259 (sqrt_test): Add more tests.
25260 (tgamma_test): Likewise.
25261 (y0_test): Likewise.
25262 (y1_test): Likewise.
25263 (yn_test): Likewise.
25264
dd62fda6
AB
252652012-03-27 Anton Blanchard <anton@samba.org>
25266
25267 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25268 MAP_HUGETLB.
25269 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25270 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25271 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25272
1e3cdfda
AJ
252732012-03-27 David S. Miller <davem@davemloft.net>
25274
b855ab85
DM
25275 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25276
1e3cdfda
AJ
25277 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25278 have-as-vis3 check.
25279
252802012-03-27 Andreas Jaeger <aj@suse.de>
25281
25282 * sysdeps/x86_64/elf/configure.in: Moved to ...
25283 * sysdeps/x86_64/configure.in: ... here.
25284 * sysdeps/x86_64/elf/start.S: Moved to ...
25285 * sysdeps/x86_64/start.S: ... here.
25286 * sysdeps/x86_64/elf/configure: Delete.
25287
25288 * sysdeps/x86_64/configure.in: Merge contents from
25289 sysdeps/i386/configure.in (without i686 check).
25290
25291 * sysdeps/i386/elf/Versions: Merge into ...
25292 * sysdeps/i386/Versions: ... this.
25293 * sysdeps/i386/elf/Versions: Delete file.
25294 * sysdeps/i386/elf/start.S: Moved to ...
25295 * sysdeps/i386/start.S: ...here.
25296 * sysdeps/i386/elf/configure.in: Merge into...
25297 * sysdeps/i386/configure.in: ...here.
25298 * sysdeps/i386/elf/configure.in: Delete file.
25299 * sysdeps/i386/elf/configure: Delete file.
25300
25301 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25302 * debug/backtracesyms.c: ... here.
25303 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25304 * debug/backtracesymsfd.c: ... here.
25305 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25306 * sysdeps/generic/ifunc-sel.h: ... here.
25307
25308 * sysdeps/unix/i386/start.c: Delete file.
25309 * sysdeps/unix/sparc/start.c: Delete file.
25310 * sysdeps/unix/start.c: Delete file.
25311
25312 * sysdeps/sh/elf/configure.in: Moved to ...
25313 * sysdeps/sh/configure.in: ... here.
25314 * sysdeps/sh/elf/start.S: Moved to ...
25315 * sysdeps/sh/start.S: ... here.
25316 * sysdeps/sh/elf/configure: Delete file.
25317
25318 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25319 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25320 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25321 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25322 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25323 * sysdeps/powerpc/powerpc64/start.S: here.
25324 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25325 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25326 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25327 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25328 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25329
25330 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25331 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25332 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25333 * sysdeps/powerpc/powerpc32/start.S: ... here.
25334 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25335 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25336 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25337
25338 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25339 * sysdeps/powerpc/ifunc-sel.h: ... here.
25340 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25341 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25342
25343 * sysdeps/sparc/elf/configure.in: Moved to ...
25344 * sysdeps/sparc/configure.in: ... here.
25345 * sysdeps/sparc/elf/configure: Delete file.
25346 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25347 * sysdeps/sparc/sparc32/start.S: ... here.
25348 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25349 * sysdeps/sparc/sparc64/start.S: ... here.
25350 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25351 * sysdeps/sparc/sparc32/Makefile: ... this.
25352 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25353 * sysdeps/sparc/sparc64/Makefile: ... this.
25354
25355 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25356 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25357 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25358 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25359 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25360 * sysdeps/s390/s390-32/setjmp.S: ... here.
25361 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25362 * sysdeps/s390/s390-32/configure.in: ... here.
25363 * sysdeps/s390/s390-32/elf/configure: Delete file.
25364 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25365 * sysdeps/s390/s390-32/start.S: ... here.
25366
25367 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25368 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25369 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25370 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25371 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25372 * sysdeps/s390/s390-64/setjmp.S: ... here.
25373 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25374 * sysdeps/s390/s390-64/configure.in: ... here
25375 * sysdeps/s390/s390-64/elf/configure: Delete file.
25376 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25377 * sysdeps/s390/s390-64/start.S: ... here.
25378 * sysdeps/s390/s390-64/elf/configure: Delete.
25379
25380 * configure.in: Remove support for elf directories in sysdeps.
25381
25382 * configure: Regenerated.
25383 * sysdeps/i386/configure: Regenerated.
25384 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25385 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25386 * sysdeps/s390/s390-32/configure: Regenerated.
25387 * sysdeps/s390/s390-64/configure: Regenerated.
25388 * sysdeps/sh/configure: Regenerated.
25389 * sysdeps/sparc/configure: Regenerated.
25390 * sysdeps/x86_64/configure: Regenerated.
25391
a3f61311
AS
253922012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25393
c876e002
AS
25394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25395
a3f61311
AS
25396 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25397 denormal result into account.
25398
ac4c54f0
RM
253992012-03-25 Roland McGrath <roland@hack.frob.com>
25400
25401 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25402 Reported by Allan McRae <allan@archlinux.org>.
25403
6a9b9c02
JL
254042012-03-23 Jeff Law <law@redhat.com>
25405
25406 * nss/getnssent.c (__nss_getent): Fix typo.
25407
4c42a0c1
DM
254082012-03-23 David S. Miller <davem@davemloft.net>
25409
25410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25411
1532c7ac
L
254122012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25413
25414 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25415 to pad to uint64_t for each field.
25416 (dl_tls_index): Replace unsigned long with uint64_t.
25417
3ff42526
PP
254182012-03-23 Daniel Jacobowitz <dmj@google.com>
25419 Paul Pluzhnikov <ppluzhnikov@google.com>
25420
25421 [BZ #6528]
25422 * grp/Makefile (otherlibs): Don't set it.
25423 * inet/Makefile (otherlibs): Likewise.
25424 * login/Makefile (otherlibs): Likewise.
25425 * nscd/Makefile (otherlibs): Likewise.
25426 * posix/Makefile (otherlibs): Likewise.
25427 * pwd/Makefile (otherlibs): Likewise.
25428 * rt/Makefile (otherlibs): Likewise.
25429 * sunrpc/Makefile (otherlibs): Likewise.
25430 * nss/Makefile (otherlibs): Likewise.
25431 Add libnss_files to routines and static-only-routines.
25432 ($(objpfx)getent): Remove rule.
25433 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25434 static-only-routines.
25435
7c69cd14
JM
254362012-03-22 Joseph Myers <joseph@codesourcery.com>
25437
25438 [BZ #13892]
25439 * math/s_cexp.c: Include <float.h>.
25440 (__cexp): Handle exp result overflowing not necessarily
25441 overflowing both real and imaginary parts of result.
25442 * math/s_cexpf.c: Likewise.
25443 * math/s_cexpl.c: Likewise.
25444 * math/libm-test.inc (cexp_test): Add more tests.
25445 * sysdeps/i386/fpu/libm-test-ulps: Update.
25446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25447
81b035fe
L
254482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25449
25450 * include/link.h (ELFW): New macro.
25451 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25452 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25453
1da7940c
L
254542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25455
25456 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25457 with uint64_t.
25458
b749dbb9
L
254592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25460
25461 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25462 declaration.
25463 (struct La_x32_retval): Likewise.
25464
2ff87f3f
L
254652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25466
25467 * sysdeps/x86_64/preconfigure.in: New file.
25468 * sysdeps/x86_64/preconfigure: New generated file.
25469
c0df8e69
JM
254702012-03-22 Joseph Myers <joseph@codesourcery.com>
25471
48e44791
JM
25472 [BZ #13824]
25473 * math/e_exp2l.c: Include <float.h>.
25474 (__ieee754_exp2l): Handle overflow and underflow cases
25475 separately. Only pass fractional part of argument to
25476 __ieee754_expl.
25477 * math/libm-test.inc (exp2_test): Add more tests.
25478
c0df8e69
JM
25479 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25480 negating x to take absolute value.
25481 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25482 Likewise.
25483 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25484 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25485 Likewise.
25486 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25487 computing low part if x was negated.
25488 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25489
c8e43ba7
L
254902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25491
25492 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25493 la_x32_gnu_pltexit.
25494 (pltexit): Cast int_retval to ptrdiff_t.
25495 * elf/tst-auditmod3b.c: Likewise.
25496 * elf/tst-auditmod4b.c: Likewise.
25497 * elf/tst-auditmod5b.c: Likewise.
25498 * elf/tst-auditmod6b.c: Likewise.
25499 * elf/tst-auditmod6c.c: Likewise.
25500 * elf/tst-auditmod7b.c: Likewise.
25501
25502 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25503 and x32_gnu_pltexit.
25504
25505 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25506 __ELF_NATIVE_CLASS.
25507 (La_x32_regs): New macro.
25508 (La_x32_retval): Likewise.
25509 (la_x32_gnu_pltenter): New function prototype.
25510 (la_x32_gnu_pltexit): Likewise.
25511
7998fa78
AS
255122012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25513
dcb33988
AS
25514 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25515 exponent.
25516
233fc563
AS
25517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25518
7998fa78
AS
25519 * configure.in (libc_cv_cc_nofma): Check for option to disable
25520 generation of FMA instructions.
25521 * configure: Regenerate.
25522 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25523 * sysdeps/ieee754/dbl-64/Makefile: New file.
25524 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25525 Remove brandred-fma4.
25526 (CFLAGS-brandred-fma4.c): Remove.
25527 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25528 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25529 define.
25530 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25531 define.
25532
8e95c99a
L
255332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25534
25535 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25536 LLONG_MAX != LONG_MAX.
25537 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25538 (_fitoa_word): Likewise.
25539 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25540 LLONG_MAX != LONG_MAX.
25541 * stdio-common/_itowa.h: Include <_itoa.h>.
25542 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25543 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25544 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25545 only if not defined.
25546 (_ITOA_WORD_TYPE): Likewise.
25547 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25548 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25549
6f4db457
DM
255502012-03-21 David S. Miller <davem@davemloft.net>
25551
25552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25553
7785fe5a
L
255542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25555
25556 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25557 of x86_64 when setting libc_cv_slibdir, libdir and
25558 libc_cv_localedir.
25559 * sysdeps/unix/sysv/linux/configure: Regenerated.
25560
4535cd55
JM
255612012-03-21 Joseph Myers <joseph@codesourcery.com>
25562
25563 * manual/lang.texi (Old Varargs): Remove section.
25564 (How Variadic): Update menu.
25565 (va_start): Do not mention varargs.h.
25566
17228132
TS
255672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25568 Joseph Myers <joseph@codesourcery.com>
25569
25570 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25571 link test.
25572 * configure: Regenerated.
25573
8149f976
TS
255742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25575
05f3d1f6
UD
25576 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25577 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25578 conformtest.pl
8149f976 25579
1a4ac776
JM
255802012-03-21 Joseph Myers <joseph@codesourcery.com>
25581
be22ce65
JM
25582 * NOTES: Remove.
25583 * Makefile (files-for-dist): Remove NOTES.
25584 (NOTES): Remove rule.
25585 * README: Don't refer to NOTES.
25586 * manual/creature.texi: Don't include macros.texi.
25587 * manual/intro.texi (creature.texi): Remove comment referring to
25588 NOTES.
25589
40b601fb
JM
25590 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25591 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25592 * configure: Regenerated.
25593 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25594 LIBC_TRY_CC_OPTION.
25595 (libc_cv_as_i686): Likewise.
25596 (libc_cv_cc_avx): Likewise.
25597 (libc_cv_cc_sse2avx): Likewise.
25598 (libc_cv_cc_fma4): Likewise.
25599 (libc_cv_cc_novzeroupper): Likewise.
25600 * sysdeps/i386/configure: Regenerated.
25601
1a4ac776
JM
25602 [BZ #13883]
25603 * sysdeps/i386/fpu/s_cexp.S: Remove.
25604 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25605 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25606 * math/libm-test.inc (cexp_test): Add more tests.
25607 * sysdeps/i386/fpu/libm-test-ulps: Update.
25608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25609
a458e7fe
AM
256102012-03-21 Allan McRae <allan@archlinux.org>
25611
25612 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25613
0cb7efc5
JM
256142012-03-21 Joseph Myers <joseph@codesourcery.com>
25615
25616 [BZ #13871]
25617 * math/w_exp2.c: Do not include <float.h>.
25618 (o_threshold, u_threshold): Remove.
25619 (__exp2): Calculate result before checking finiteness and calling
25620 __kernel_standard.
25621 * math/w_exp2f.c: Likewise.
25622 * math/w_exp2l.c: Likewise.
25623 * math/libm-test.inc (exp2_test): Require overflow exception for
25624 1e6 input.
2460d3aa
JM
25625
25626 [BZ #3866]
25627 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25628 range of signed 64-bit integers before using fistpll. Remove
25629 checks for whether integers fit in mantissa bits.
25630 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25631 the range of signed 32-bit integers before using fistpl. Remove
25632 checks for whether integers fit in mantissa bits.
25633 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25634 (__ieee754_powl): Test for y outside the range of signed 64-bit
25635 integers before using fistpll. Reduce 64-bit values to 63-bit
25636 ones as needed.
25637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25638 divide-by-zero is raised for zero to large negative powers.
25639 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25640 (__ieee754_powl): Test for y outside the range of signed 64-bit
25641 integers before using fistpll. Reduce 64-bit values to 63-bit
25642 ones as needed.
25643 * math/libm-test.inc (pow_test): Add more tests.
25644
eb96ffb0
L
256452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25646
25647 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25648 <stdio-common/_itoa.h>.
25649 * debug/segfault.c: Likewise.
25650 * elf/dl-cache.c: Likewise.
25651 * elf/dl-minimal.c: Likewise.
25652 * elf/dl-misc.c: Likewise.
25653 * elf/dl-sysdep.c: Likewise.
25654 * elf/dl-version.c: Likewise.
25655 * elf/rtld.c: Likewise.
25656 * hurd/hurdsock.c: Likewise.
25657 * hurd/lookup-retry.c: Likewise.
25658 * malloc/malloc.c: Likewise.
25659 * malloc/mtrace.c: Likewise.
25660 * nscd/nscd_getgr_r.c: Likewise.
25661 * nscd/nscd_getpw_r.c: Likewise.
25662 * nscd/nscd_getserv_r.c: Likewise.
25663 * posix/getopt_init.c: Likewise.
25664 * posix/wordexp.c: Likewise.
25665 * stdio-common/_itoa.c: Likewise.
25666 * stdio-common/printf_fphex.c: Likewise.
25667 * stdio-common/vfprintf.c: Likewise.
25668 * string/_strerror.c: Likewise.
25669 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25670 * sysdeps/i386/i686/hp-timing.h: Likewise.
25671 * sysdeps/mach/_strerror.c: Likewise.
25672 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25673 * sysdeps/mach/hurd/sethostid.c: Likewise.
25674 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25675 * sysdeps/mach/xpg-strerror.c: Likewise.
25676 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25677 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25678 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25679 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25680 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25681 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25682 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25683 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25684 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25685 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25686 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25687 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25688 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25689 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25690 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25691 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25692 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25693 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25694 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25695 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25696 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25697
25698 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25699
25700 * stdio-common/_itoa.h: Moved to ...
25701 * sysdeps/generic/_itoa.h: Here.
25702
25703 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25704
25705 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25706 instead of "_itoa.h" and "_itowa.h".
25707 * stdio-common/vfprintf.: Likewise.
25708
d1af992d
L
257092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25710
25711 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25712 <bits/wordsize.h>.
25713 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25714 (__signbit): Likwise.
25715 (llrintf): Likwise.
25716 (llrint): Likwise.
25717
114883e0
L
257182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25719
25720 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25721 __WORDSIZE != 64.
25722
c135cc1b
JM
257232012-03-20 Joseph Myers <joseph@codesourcery.com>
25724
25725 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25726 OVERFLOW_EXCEPTION_OK.
25727 * math/libm-test.inc ("Philosophy"): Update comment about
25728 exception testing.
25729 (OVERFLOW_EXCEPTION): Define.
25730 (OVERFLOW_EXCEPTION_OK): Likewise.
25731 (INVALID_EXCEPTION_OK): Renumber.
25732 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25733 (IGNORE_ZERO_INF_SIGN): Likewise.
25734 (test_exceptions): Handle FE_OVERFLOW.
25735 (exp10_test): Expect overflow exceptions.
25736 (exp2_test): Likewise.
25737 (expm1_test): Likewise.
25738 (nextafter_test): Likewise.
25739 (pow_test): Likewise.
25740 (scalbn_test): Likewise.
25741 (scalbln_test): Likewise.
25742
95443d88
L
257432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25744
25745 * sysdeps/x86_64/bits/atomic.h
25746 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25747 64bit integer.
25748 (atomic_exchange_acq): Likewise.
25749 (__arch_exchange_and_add_body): Likewise.
25750 (__arch_add_body): Likewise.
25751 (atomic_add_negative): Likewise.
25752 (atomic_add_zero): Likewise.
25753
490df6c4
L
257542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25755
c2722551 25756 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25757 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25758
5e52b189
L
257592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25760
25761 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25762 Check __x86_64__ instead of __WORDSIZE.
25763
a9879d4c
L
257642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25765
25766 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25767
5df98260
DM
257682012-03-19 David S. Miller <davem@davemloft.net>
25769
e1497744
DM
25770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25771
5df98260
DM
25772 * sysdeps/sparc/fpu/fenv_private.h: New file.
25773 * sysdeps/sparc/fpu/math_private.h: Use it.
25774 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25775 Remove.
25776 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25777 (libc_feholdexcept_setroundl): Remove.
25778 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25779 Remove.
25780 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25781 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25782
b4c35121
L
257832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25784
25785 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25786 int64_t instead of long int.
25787 (INSERT_WORDS64): Likwise.
25788
56965fd7
L
257892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25790
25791 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25792 _Unwind_GetCFA return to _Unwind_Ptr first.
25793
83d1aec8
JM
257942012-03-19 Joseph Myers <joseph@codesourcery.com>
25795
1897ad44
JM
25796 [BZ #13629]
25797 * math/s_clog.c: Include <float.h>.
25798 (__clog): Scale large or subnormal inputs.
25799 * math/s_clogf.c: Likewise.
25800 * math/s_clogl.c: Likewise.
25801 * math/s_clog10.c: Include <float.h>.
25802 (M_LOG10_2): Define.
25803 (__clog10): Scale large or subnormal inputs.
25804 * math/s_clog10f.c: Likewise.
25805 * math/s_clog10l.c: Likewise.
25806 * math/libm-test.inc (clog_test): Add more tests.
25807 (clog10_test): Likewise.
25808 * sysdeps/i386/fpu/libm-test-ulps: Update.
25809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25810
7726d6a9
JM
25811 [BZ #11451]
25812 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25813 x and y.
25814 * math/libm-test.inc (atan2_test): Add another test.
25815
83d1aec8
JM
25816 * Makerules (common-objdir-compile): Remove.
25817 * sysdeps/unix/Makefile (config-generated): Do not add
25818 $(unix-generated) to variable.
25819 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25820 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25821 Remove rule.
25822 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25823 Likewise.
25824 [generic bits/local_lim.h] (before-compile): Do not append to
25825 variable.
25826 [generic bits/local_lim.h] (common-generated): Likewise.
25827 [generic sys/param.h] (before-compile): Do not append to variable.
25828 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25829 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25830 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25831 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25832 include.
25833 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25834 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25835 [generic sys/param.h] ($(addprefix
25836 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25837 [generic sys/param.h] (common-generated): Do not append to
25838 variable.
25839 [generic sys/param.h] (sysdep_headers): Likewise.
25840 [generic bits/errno.h] (before-compile): Do not append to
25841 variable.
25842 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25843 rule.
25844 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25845 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25846 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25847 [generic bits/errno.h] (common-generated): Do not append to
25848 variable.
25849 [generic bits/ioctls.h] (before-compile): Do not append to
25850 variable.
25851 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25852 rule.
25853 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25854 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25855 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25856 rule.
25857 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25858 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25859 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25860 [generic bits/ioctls.h] (common-generated): Do not append to
25861 variable.
25862 [generic sys/syscall.h] (syscall.h): Remove variable.
25863 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25864 rule.
25865 [generic sys/syscall.h] (before-compile): Do not append to
25866 variable.
25867 [generic sys/syscall.h] (common-generated): Likewise.
25868 * sysdeps/unix/errnos-tmpl.c: Remove file.
25869 * sysdeps/unix/errnos.awk: Likewise.
25870 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25871 * sysdeps/unix/ioctls.awk: Likewise.
25872 * sysdeps/unix/mk-local_lim.c: Likewise.
25873 * sysdeps/unix/snarf-ioctls: Likewise.
25874
4851a949
RH
258752012-03-19 Richard Henderson <rth@twiddle.net>
25876
bd37f2ee
RH
25877 * sysdeps/i386/fpu/fenv_private.h: New file.
25878 * sysdeps/i386/fpu/math_private.h: Use it.
25879 (math_opt_barrier, math_force_eval): Remove.
25880 (libc_feholdexcept_setround_53bit): Remove.
25881 (libc_feupdateenv_53bit): Remove.
25882 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25883 (math_opt_barrier, math_force_eval): Remove.
25884 (libc_feholdexcept): Remove.
25885 (libc_feholdexcept_setround): Remove.
25886 (libc_fetestexcept, libc_fesetenv): Remove.
25887 (libc_feupdateenv_test): Remove.
25888 (libc_feupdateenv, libc_feholdsetround): Remove.
25889 (libc_feresetround): Remove.
25890
d0adc922
RH
25891 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25892 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25893
0fe0f1f8
RH
25894 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25895 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25896 (libc_feupdateenv_testl): New.
25897 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25898 (libc_feupdateenv_testf): New.
25899 (libc_feupdateenv): Use libc_feupdateenv_test.
25900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25901 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25902
eb92c487
RH
25903 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25904 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25905 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25906 (libc_feresetround_noex): New.
25907 (libc_feresetround_noexf): New.
25908 (libc_feresetround_noexl): New.
25909 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25910 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25911 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25912 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25913 SET_RESTORE_ROUND.
25914 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25915 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25916 (__cos): Likewise.
25917 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25918 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25919 SET_RESTORE_ROUND_NOEX.
25920 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25921 SET_RESTORE_ROUND_NOEXF.
25922 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25923 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25924 (libc_feholdsetroundf): New.
25925 (libc_feresetround, libc_feresetroundf): New.
25926
7d2e8012
RH
25927 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25928 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25929 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25930
b4dabbb4
RH
25931 * sysdeps/generic/math_private.h: Include <fenv.h>.
25932 (default_libc_feholdexcept): New.
25933 (default_libc_feholdexcept_setround): New.
25934 (default_libc_fesetenv, default_libc_feupdateenv): New.
25935 (libc_feholdexcept): Only define if undefined.
25936 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25937 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25938 (libc_feholdexcept_setroundl): Likewise.
25939 (libc_feholdexcept_setround_53bit): Likewise.
25940 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25941 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25942 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25943 (libc_feupdateenv_53bit): Likewise.
25944 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25945 (libc_feholdexcept): Convert from macro to inline function.
25946 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25947 (libc_fesetenv, libc_feupdateenv): Likewise.
25948
4851a949
RH
25949 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25950 not previously defined.
25951 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25952 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25953 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25954 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25955 * sysdeps/ieee754/flt-32/math_private.h: New file.
25956 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25957 math_private.h below SET_FLOAT_WORD.
25958 (__isnan, __isinf_ns, __finite): Remove.
25959 (__isnanf, __isinf_nsf, __finitef): Remove.
25960
e79d442e
AS
259612012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25962
25963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25964
90b80344
DM
259652012-03-17 David S. Miller <davem@davemloft.net>
25966
25967 [BZ #6471]
25968 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25969 for 2.16.
25970
edc21804
DM
259712012-03-16 David S. Miller <davem@davemloft.net>
25972
77e927af
DM
25973 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25974 warnings.
25975
374976dd
DM
25976 [BZ #6471]
25977 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25978 properly.
25979 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25980 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25981 sysdep_routines when subdir is sysvipc.
25982 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25983 __getshmlba helper.
25984
edc21804
DM
25985 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25986
473c3ef3
L
259872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25988
25989 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25990 [__LP64__].
25991
eb0f39b6
L
259922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25993
25994 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25995 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25996 (__lround): Renamed to ...
25997 (__llround): This. Replace long int with long long int.
25998 Define lround functions as aliases of llround functions.
25999 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26000
6b6cd74b
L
260012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26002
26003 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26004 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26005 adresses to uintptr_t. Replace "long int" and "unsigned long
26006 int" with "greg_t" on va_arg.
26007
f1a77b01
L
260082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26009
26010 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26011 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26012
26013 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26014 Move e_machine check before EI_CLASS check. Handle x32
26015 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26016 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26017 SKIP_EM_IA_64 and include
26018 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26019
26020 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26021 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26022 (add_system_dir): New macro.
26023
26024 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26025 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26026
11b90b9f
JM
260272012-03-16 Joseph Myers <joseph@codesourcery.com>
26028
c36e1d23
JM
26029 [BZ #2551]
26030 [BZ #2552]
26031 [BZ #2553]
26032 [BZ #2554]
26033 [BZ #2562]
26034 [BZ #2563]
26035 [BZ #2565]
26036 [BZ #2566]
26037 [BZ #2576]
26038 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26039 (y0): Likewise.
26040 * math/w_j0f.c (j0f): Likewise.
26041 (y0f): Likewise.
26042 * math/w_j0l.c (__j0l): Likewise.
26043 (__y0l): Likewise.
26044 * math/w_j1.c (j1): Likewise.
26045 (y1): Likewise.
26046 * math/w_j1f.c (j1f): Likewise.
26047 (y1f): Likewise.
26048 * math/w_j1l.c (__j1l): Likewise.
26049 (__y1l): Likewise.
26050 * math/w_jn.c (jn): Likewise.
26051 (yn): Likewise.
26052 * math/w_jnf.c (jnf): Likewise.
26053 (ynf): Likewise.
26054 * math/w_jnl.c (__jnl): Likewise.
26055 (__ynl): Likewise.
26056 * math/libm-test.inc (j0_test): Add more tests.
26057 (j1_test): Likewise.
26058 (jn_test): Likewise. Add trailing semicolon to existing test.
26059 (y0_test): Likewise.
26060 (y1_test): Likewise.
26061 * sysdeps/i386/fpu/libm-test-ulps: Update.
26062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26063
11b90b9f
JM
26064 [BZ #13851]
26065 [BZ #13854]
26066 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26067 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26068 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26069 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26070 (__tanl): Set errno for infinite argument.
26071 * sysdeps/i386/fpu/mptan.c: Remove.
26072 * sysdeps/i386/fpu/s_tan.S: Likewise.
26073 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26074 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26075 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26076 * math/libm-test.inc (tan_test): Add more tests and enable more
26077 tests for double and long double.
26078 * sysdeps/i386/fpu/libm-test-ulps: Update.
26079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26080
6a1bd2a1
JK
260812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26082
26083 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26084 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26085
10a803e0
RM
260862012-03-16 Roland McGrath <roland@hack.frob.com>
26087
26088 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26089 * configure.in: Use it for both main tree and add-ons.
26090 * configure: Regenerated.
26091
f196c7f7
L
260922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26093
26094 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26095
8848d99d
JM
260962012-03-16 Joseph Myers <joseph@codesourcery.com>
26097
96cbe7f4
JM
26098 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26099 in comment.
26100
8848d99d
JM
26101 [BZ #13851]
26102 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26103 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26104 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26105 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26106 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26107 infinite argument.
26108 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26109 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26110 != 0 for prec == 2.
26111 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26112 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26113 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26114 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26115 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26116 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26117 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26118 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26119 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26120 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26121 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26122 * math/libm-test.inc (cos_test): Add more tests and enable more
26123 tests for long double.
26124 (sin_test): Likewise.
26125 (sincos_test): Likewise.
26126 * sysdeps/i386/fpu/libm-test-ulps: Update.
26127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26128
dd7f4703
DM
261292012-03-16 David S. Miller <davem@davemloft.net>
26130
26131 * sysdeps/sparc/fpu/math_private.h: New file.
26132
006f1daa
DM
261332012-03-15 David S. Miller <davem@davemloft.net>
26134
c0c83bc8
DM
26135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26136 file.
e6a62e18 26137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26139 file.
e6a62e18
DM
26140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26146 sysdep routines.
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26148
88cb87d9
DM
26149 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26150 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26151
006f1daa 26152 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26154 sparc-ifunc.h
006f1daa 26155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26157 Likewise.
26158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26159 Likewise.
006f1daa
DM
26160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26164 Likewise.
006f1daa
DM
26165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26170 Likewise.
26171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26172 Likewise.
006f1daa
DM
26173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26195 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26196 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26197
11e0098e
AS
261982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26199
26200 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26201 scaling.
26202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26203
e85b09d0
AJ
262042012-03-15 Andreas Jaeger <aj@suse.de>
26205
26206 [BZ #13852]
26207 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26208 ieee754/flt-32 implementation for sin, cos and sincos.
26209 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26210 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26211 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26212 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26213 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26214 ieee754/flt-32 implementation for tan.
26215
26216 * math/libm-test.inc (cos_test): Enable some large input tests for
26217 float as well
26218 (sin_test): Likewise.
26219 (sincos_test): Likewise.
26220 (tan_test): Add tests for large input.
26221
26222 * sysdeps/i386/fpu/libm-test-ulps: Update.
26223
81c64153
AJ
262242012-03-15 Andreas Jaeger <aj@suse.de>
26225
26226 [BZ #13658]
26227 * math/libm-test.inc (cos_test): Add more test cases.
26228 (sin_test): Likewise.
26229 (sincos_test): Likewise.
26230
7bbfa5c6
AJ
262312012-03-15 Andreas Jaeger <aj@suse.de>
26232
26233 [BZ #13837]
26234 * math/libm-test.inc (cos_test): Add a test case for large input
26235 value.
26236 (sin_test): Likewise.
26237 (sincos_test): Likewise.
26238
262392012-03-15 Andreas Jaeger <aj@suse.de>,
26240 Joseph Myers <joseph@codesourcery.com>
26241
26242 [BZ #13658]
0671f479 26243 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26244 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26245 * sysdeps/i386/fpu/branred.c: Likewise.
26246 * sysdeps/i386/fpu/dosincos.c: Likewise.
26247 * sysdeps/i386/fpu/mpa.c: Likewise.
26248 * sysdeps/i386/fpu/s_cos.S: Likewise.
26249 * sysdeps/i386/fpu/s_sin.S: Likewise.
26250 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26251 * sysdeps/i386/fpu/sincos32.c: Likewise.
26252
26253 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26254 Define.
26255 (libc_feupdateenv_53bit): Define.
26256 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26257 Define.
26258 (libc_feupdateenv_53bit): Define.
26259
26260 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26261 53 bit (without extend i386 double precision).
26262
26263 * math/libm-test.inc (sincos_test): Add tests for large input.
26264 (sin): Likewise.
26265 (cos): Likewise.
26266
26267 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26268
9cad04ea
AS
262692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26270
26271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26272
f7062b9a
DM
262732012-03-15 David S. Miller <davem@davemloft.net>
26274
26275 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26276 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26277 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26278 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26291 file.
f7062b9a 26292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26294 file.
f7062b9a 26295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26297 file.
f7062b9a 26298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26300 file.
f7062b9a
DM
26301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26303 fmin/fmax sysdep routines.
26304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26305
7bd951ff
DM
263062012-03-14 David S. Miller <davem@davemloft.net>
26307
559398ab
DM
26308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26328 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26337 routines.
26338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26339 file.
559398ab 26340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26342 file.
559398ab 26343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26345 file.
559398ab 26346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26348 file.
559398ab 26349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26351 file.
559398ab 26352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26354 file.
26355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26356 file.
26357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26358 file.
26359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26360 file.
26361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26362 New file.
26363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26364 file.
26365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26366 file.
559398ab 26367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26369 file.
559398ab 26370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26372 file.
559398ab 26373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26375 file.
559398ab 26376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26378 VIS3 routines.
559398ab
DM
26379
26380 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26381 New file.
26382
5a1c1e32
DM
26383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26384
eae47a36
DM
26385 * sysdeps/sparc/configure.in: New file.
26386 * sysdeps/sparc/configure: Generate.
26387 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26388 * configure: Regenerate.
26389 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26390 * config.make.in (have-as-vis3): New.
26391 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26392 available use -Av9d instead of -Av9a.
26393 * sysdeps/sparc/sparc64/Makefile: Likewise.
26394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26396 New file.
26397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26398 file.
26399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26400 New file.
26401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26402 file.
eae47a36
DM
26403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26404 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26405 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26406 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26407 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26408
c0c83bc8
DM
26409 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26410 fzeros/fnegs to load 0x80000000 into a float register instead of
26411 using the stack.
7bd951ff
DM
26412 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26413
bd951ccb
JM
264142012-03-14 Joseph Myers <joseph@codesourcery.com>
26415
26416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26417 bits/syscall.h.
26418 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26419 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26420 ($(inst_includedir)/bits/syscall.h): Remove rule.
26421 ($(objpfx)bits/syscall.d): Include instead of
26422 $(objpfx)syscall-list.d.
26423 (generated): Change syscall-list.h and syscall-list.d to
26424 bits/syscall.h and bits/syscall.d.
26425
bb4e6db2
RM
264262012-03-14 Roland McGrath <roland@hack.frob.com>
26427
26428 [BZ #13846]
26429 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26430
aa4a2ae1
JM
264312012-03-14 Joseph Myers <joseph@codesourcery.com>
26432
e456826d
JM
26433 [BZ #13841]
26434 * math/s_csqrt.c: Include <float.h>.
26435 (__csqrt): Scale large or subnormal inputs.
26436 * math/s_csqrtf.c: Likewise.
26437 * math/s_csqrtl.c: Likewise.
26438 * math/libm-test.inc (csqrt_test): Add more tests.
26439 * sysdeps/i386/fpu/libm-test-ulps: Update.
26440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26441
aa4a2ae1
JM
26442 [BZ #13840]
26443 * math/libm-test.inc (hypot_test): Add more tests.
26444
7c10fd35
DM
264452012-03-13 David S. Miller <davem@davemloft.net>
26446
26447 [BZ #13840]
26448 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26449 double-precision for the calculation instead of scaling.
26450
f453b98b
JM
264512012-03-13 Joseph Myers <joseph@codesourcery.com>
26452
26453 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26454 manipulate bits before adding and subtracting TWO52[sx].
26455 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26456 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26457 Likewise.
26458 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26459
09a3453f
DM
264602012-03-13 David S. Miller <davem@davemloft.net>
26461
8e59da90
DM
26462 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26463 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26465 rtld-global-offsets.h
26466 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26467
2a8ab7f2
DM
26468 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26469 large parameters.
26470
10f62770
DM
26471 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26472
5f0bdb18
DM
26473 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26474 'err' in the ifdef scope in which it is actually used.
26475
09a3453f
DM
26476 * nss/nss_db/db-init.c: Include string.h
26477
b4b2eb5e
DM
264782012-03-12 David S. Miller <davem@davemloft.net>
26479
98bb2f1c
DM
26480 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26481 masking out of the most significant byte of random value used.
26482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26483 Fix coding style in previous change.
26484
b4b2eb5e
DM
26485 * sysdeps/unix/sysv/linux/kernel-features.h
26486 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26487 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26488 expression.
26489 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26490 later.
26491
6e226b09
DM
264922012-03-11 David S. Miller <davem@davemloft.net>
26493
a1bcbd40
DM
26494 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26495 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26496 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26497 for 'resultvar' otherwise things get truncated on 64-bit.
26498
cb9d6174
DM
26499 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26500 Fix masking out of the most significant byte of random value used.
26501
6e226b09
DM
26502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26503
058c132d
AS
265042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26505
26506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26507
2d2cd515
DM
265082012-03-09 David S. Miller <davem@davemloft.net>
26509
26510 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26511 variables with appropriate CPP guards.
26512 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26513 frame pointer, not the stack pointer. Correct layout comments. Fix test
26514 on resulting framesize and the management of the outregs buffer for pltexit.
26515 Preserve floating point return values across _dl_call_pltexit call.
26516 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26517 framesize and the management of the outregs buffer for pltexit.
26518 Preserve floating point return values across _dl_call_pltexit
26519 call.
26520 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26521 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26522 (print_exit): Fix format string for return register value.
26523
9a07f9d0
JM
265242012-03-10 Joseph Myers <joseph@codesourcery.com>
26525
26526 * sunrpc/Makefile (others): Add rpcgen.
26527 ($(objpfx)rpcgen): Remove special build rule and dependency on
26528 libc.
26529 * sunrpc/rpcgen.c: New file.
26530
547b5e30
PE
265312012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26532
c524201a
PE
26533 [BZ #13673]
26534 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26535 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26536 * sysdeps/i386/crti.S: Likewise.
26537 * sysdeps/i386/crtn.S: Likewise.
26538 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26539 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26540 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26541 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26542 * sysdeps/sh/crti.S: Likewise.
26543 * sysdeps/sh/crtn.S: Likewise.
26544 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26545
7b6235f2
PE
26546 [BZ #13673]
26547 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26548 with URL.
26549 * locale/programs/locfile-kw.gperf: Likewise.
26550 * locale/programs/charmap-kw.h: Regenerated.
26551 * locale/programs/locfile-kw.h: Likewise.
26552
547b5e30
PE
26553 [BZ #13673]
26554 * intl/plural.y: Replace FSF snail mail address with URL.
26555 * intl/plural.c: Regenerated.
26556
5f0a5dae
RH
265572012-03-09 Richard Henderson <rth@twiddle.net>
26558
26559 * include/math_private.h: Remove file.
26560 * math/math_private.h: Move file ...
26561 * sysdeps/generic/math_private.h: ... here.
26562
b8c03620
RH
26563 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26564 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26565 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26566
4e234f5d 26567 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26568 and <math_private.h>.
26569 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26570 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26571 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26572 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26573 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26574 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26575 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26577 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26578 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26579 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26580 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26581 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26582 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26583 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26584 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26585 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26586 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26587 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26588 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26590 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26591 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26592 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26593 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26594 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26595 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26596 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26598 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26599 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26600 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26601 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26602 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26603 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26604 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26605 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26606 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26607 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26608 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26609 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26610 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26611 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26612 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26613 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26614 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26615 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26616 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26617 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26618 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26619 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26620 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26621 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26622 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26623 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26624 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26625 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26626 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26627 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26628 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26629 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26630 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26632 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26633 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26634 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26635 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26636 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26637 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26638 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26639 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26640 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26641 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26642 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26643 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26644 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26645 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26646 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26647 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26648 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26649 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26650 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26651 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26652 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26653 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26654 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26655 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26657 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26658 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26659 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26660 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26661 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26662 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26663 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26664 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26665 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26666 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26667 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26668 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26669 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26670 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26671 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26672 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26673 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26674 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26675 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26676 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26677 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26678 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26679 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26680 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26681 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26682 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26683 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26684 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26685 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26686 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26687 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26688 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26689 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26690 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26691 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26692 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26693 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26694 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26695 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26696 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26697 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26698 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26699 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26700 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26701 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26702 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26703 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26704 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26705 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26706 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26707 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26708 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26709 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26710 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26711 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26712 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26713 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26714 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26715 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26716 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26717 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26718 * sysdeps/ieee754/k_standard.c: Likewise.
26719 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26721 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26722 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26723 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26727 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26728 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26729 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26731 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26732 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26733 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26735 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26736 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26737 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26738 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26739 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26740 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26741 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26742 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26743 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26744 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26745 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26746 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26747 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26748 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26749 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26750 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26752 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26753 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26754 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26755 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26756 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26757 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26759 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26762 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26763 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26768 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26769 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26770 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26771 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26772 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26773 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26774 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26775 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26776 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26780 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26781 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26783 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26785 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26786 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26787 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26789 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26790 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26791 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26792 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26793 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26794 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26796 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26799 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26802 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26804 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26805 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26806 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26807 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26808 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26809 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26810 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26811 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26812 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26813 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26815 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26816 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26817 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26818 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26819 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26820 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26821 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26823 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26824 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26825 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26826 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26827 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26828 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26829 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26830 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26831 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26832 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26833 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26834 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26835 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26836 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26837 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26838 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26839 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26840 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26841 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26842 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26843 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26844 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26845 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26846 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26847 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26848 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26849 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26850 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26851 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26852 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26853 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26854 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26855 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26856 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26857 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26858 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26859 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26860 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26861 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26862 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26863 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26864 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26865 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26866 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26867 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26868 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26869 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26870 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26871 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26872 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26873 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26874 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26875 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26876 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26877 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26878 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26879 * sysdeps/ieee754/s_lib_version.c: Likewise.
26880 * sysdeps/ieee754/s_matherr.c: Likewise.
26881 * sysdeps/ieee754/s_signgam.c: Likewise.
26882 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26883 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26884 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26885 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26886 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26887 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26888 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26889 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26890 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26891 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26892 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26893 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26894 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26895 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26896 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26897 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26898 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26899 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26900 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26901 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26902 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26903
1991fa03
JM
269042012-03-09 Joseph Myers <joseph@codesourcery.com>
26905
26906 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26907 * sunrpc/rpc_main.c: Likewise.
26908 * sunrpc/rpc_svcout.c: Likewise.
26909
60d6f5a6
DM
269102012-03-09 David S. Miller <davem@davemloft.net>
26911
26912 * include/math_private.h: New file.
26913
4962050e
JM
269142012-03-09 Joseph Myers <joseph@codesourcery.com>
26915
02a6f887
JM
26916 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26917 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26918 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26919 from <bits/socket_type.h>.
26920 (enum __socket_type): Don't define here.
26921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26923 bits/socket_type.h.
26924
c6e013c1
JM
26925 [BZ #13566]
26926 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26927 checking __USE_GNU.
26928
4962050e
JM
26929 * Makerules ($(inst_includedir)/%.h): New rule.
26930 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26931 (install-others): Remove variable setting.
26932 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26933
38842f45
RH
269342012-03-08 Richard Henderson <rth@twiddle.net>
26935
67bb6da6
RH
26936 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26937 from macro to inline function; merge with the
26938 !__LIBC_INTERNAL_MATH_INLINES version.
26939 (__ieee754_sqrtf): Likewise.
26940
15194b4b
RH
26941 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26942 to inline function.
26943 (__rintf, __floor, __floorf): Likewise.
26944
64e21ede
RH
26945 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26946 macro to inline function.
26947 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26948
38842f45
RH
26949 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26950 not <math/math_private.h>.
26951
c64bf5fe
DM
269522012-03-08 David S. Miller <davem@davemloft.net>
26953
26954 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26955 copyright year.
26956 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26957
82d86f28
TS
269582012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26959
26960 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26961 normalization.
26962 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26963 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26964
aea5d727
UD
269652012-03-08 Ulrich Drepper <drepper@gmail.com>
26966
26967 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26968 be defined individually, they must be defined as a block. Define
26969 S for printing a string instead of hidint the different by using a
26970 macro for adding the 'l'.
26971 * stdio-common/tst-fphex-wide.c: Adjust.
26972
70bca0a3
MP
269732012-03-07 Marek Polacek <polacek@redhat.com>
26974
26975 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26976
65b81130
MP
269772012-03-08 Marek Polacek <polacek@redhat.com>
26978
26979 [BZ #13806]
26980 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26981 * stdio-common/tst-fphex.c: Define a few macros to make the
26982 test reusable. Use them.
26983 * stdio-common/tst-fphex-wide.c: New file.
26984
07037eeb
JM
269852012-03-08 Joseph Myers <joseph@codesourcery.com>
26986
a7a93d50
JM
26987 [BZ #6911]
26988 * manual/macros.texi (gnusystems): New macro.
26989 (nongnusystems): Likewise.
26990 (gnulinuxhurdsystems): Likewise.
26991 (gnuhurdsystems): Likewise..
26992 (gnulinuxsystems): Likewise.
26993 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26994 variants of the GNU system, not "GNU system".
26995 * manual/conf.texi: Likewise.
26996 * manual/errno.texi: Likewise. Update example of errno macro
26997 expansion.
26998 * manual/filesys.texi: Likewise.
26999 (getumask): Document as specific to GNU/Hurd.
27000 * manual/install.texi: Likewise. Reword some references to
27001 GNU/Linux.
27002 * manual/intro.texi: Likewise.
27003 * manual/io.texi: Likewise.
27004 (File Name Portability): Detail which constraints are inapplicable
27005 to all GNU systems and which are only inapplicable to GNU/Hurd.
27006 * manual/job.texi: Likewise.
27007 * manual/llio.texi: Likewise.
27008 (O_NOCTTY): Document as present on GNU/Linux.
27009 * manual/maint.texi: Likewise.
27010 * manual/memory.texi: Likewise.
27011 * manual/pattern.texi: Likewise.
27012 * manual/pipe.texi: Likewise.
27013 * manual/process.texi: Likewise.
27014 * manual/resource.texi: Likewise.
27015 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27016 child on GNU/Hurd.
27017 * manual/setjmp.texi: Likewise.
27018 * manual/signal.texi: Likewise.
27019 * manual/startup.texi: Likewise.
27020 * manual/stdio.texi: Likewise.
27021 * manual/terminal.texi: Likewise.
27022 (ONLCR): Document as POSIX.
27023 (OXTABS): Document availability on GNU/Linux as XTABS.
27024 (ONOEOT): Document availability separately from other bits.
27025 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27026 * manual/time.texi: Likewise.
27027 * manual/users.texi: Likewise.
27028 * INSTALL: Regenerated.
27029 * sysdeps/gnu/errlist.c: Regenerated.
27030
07037eeb
JM
27031 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27032 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27033 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27034 puts.
27035 * configure: Regenerated.
27036
d1d3431a
JM
270372012-03-07 Joseph Myers <joseph@codesourcery.com>
27038
af6a1e37
JM
27039 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27040 default includes instead of AC_HEADER_CHECK.
27041 * sysdeps/i386/configure: Regenerated.
27042
d1d3431a
JM
27043 [BZ #10716]
27044 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27045 * math/s_cacoshf.c (__cacoshf): Likewise.
27046 * math/s_cacoshl.c (__cacoshl): Likewise.
27047 * math/s_casinh.c (__casinh): Set signs of result from argument.
27048 * math/s_casinhf.c (__casinhf): Likewise.
27049 * math/s_casinhl.c (__casinhl): Likewise.
27050 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27051 (casinh_test): Add more tests.
27052 * sysdeps/i386/fpu/libm-test-ulps: Update.
27053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27054
482ff4da
UD
270552012-03-07 Ulrich Drepper <drepper@gmail.com>
27056
872fda05
UD
27057 * po/zh_TW.po: Update from translation team.
27058
a4300c7a
UD
27059 * login/Makefile (distribute): Remove variable.
27060 * catgets/Makefile: Likewise.
27061 * mach/Makefile: Likewise.
27062 * malloc/Makefile: Likewise.
27063 * misc/Makefile: Likewise.
27064 * iconv/Makefile: Likewise.
27065 * nscd/Makefile: Likewise.
27066 * hurd/Makefile: Likewise.
27067 * manual/Makefile: Likewise.
27068 * locale/Makefile: Likewise.
27069 * intl/Makefile: Likewise.
27070 * conform/Makefile: Likewise.
27071 * nss/Makefile: Likewise.
27072 * time/Makefile: Likewise.
27073 * soft-fp/Makefile: Likewise.
27074 * dirent/Makefile: Likewise.
27075 * gmon/Makefile: Likewise.
27076 * po/Makefile: Likewise.
27077 * rt/Makefile: Likewise.
27078 * socket/Makefile: Likewise.
27079 * math/Makefile: Likewise.
27080 * signal/Makefile: Likewise.
27081 * debug/Makefile: Likewise.
27082 * elf/Makefile: Likewise.
27083 * timezone/Makefile: Likewise.
27084 * stdlib/Makefile: Likewise.
27085 * iconvdata/Makefile: Likewise.
27086 * sunrpc/Makefile: Likewise.
27087 * io/Makefile: Likewise.
27088 * argp/Makefile: Likewise.
27089 * inet/Makefile: Likewise.
27090 * hesiod/Makefile: Likewise.
27091 * grp/Makefile: Likewise.
27092 * csu/Makefile: Likewise.
27093 * wctype/Makefile: Likewise.
27094 * crypt/Makefile: Likewise.
27095 * libio/Makefile: Likewise.
27096 * string/Makefile: Likewise.
27097 * nis/Makefile: Likewise.
27098 * resolv/Makefile: Likewise.
27099 * stdio-common/Makefile: Likewise.
27100 * wcsmbs/Makefile: Likewise.
27101 * dlfcn/Makefile: Likewise.
27102 * posix/Makefile: Likewise.
27103
3b7c4e74 27104 [BZ #6959]
482ff4da
UD
27105 * timezone/Makefile: Don't install timezone files, just the programs
27106 and scripts.
27107
f72ed77d
UD
271082012-03-06 Ulrich Drepper <drepper@gmail.com>
27109
a000466f
UD
27110 * nss/databases.def: Add missing gshadow entry.
27111
f72ed77d
UD
27112 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27113
a53b7a4e
MP
271142012-03-06 Marek Polacek <polacek@redhat.com>
27115
27116 [BZ #13726]
27117 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27118 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27119 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27120 * stdio-common/tst-long-dbl-fphex.c: New file.
27121
e9258400
DM
271222012-03-06 David S. Miller <davem@davemloft.net>
27123
27124 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27125 (set_obp_int): New function.
27126 (get_obp_int): New function.
27127 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27128 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27129 Avoid unused variable warnings on 'val' and use builtin_expect.
27130 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27131 __builtin_expect.
e9258400
DM
27132 (INLINE_CLONE_SYSCALL): Likewise.
27133
3bd2c723
DM
271342012-03-05 David S. Miller <davem@davemloft.net>
27135
27136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27137
bbb78d03
AS
271382012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27139
884c5db4
AS
27140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27141
bbb78d03
AS
27142 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27143 only for |x| >= 40.
27144 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27145
1c9f702a 271462012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27147
27148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27149 Replace gettimeofday with __vdso_gettimeofday.
27150
7be16f82
RM
27151 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27152 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27153 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27154
27155 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27156 time with __vdso_time.
27157
ed58a00f
JM
271582012-03-05 Joseph Myers <joseph@codesourcery.com>
27159
27160 * manual/lang.texi (size_t): Note types to which size_t may be
27161 equivalent with the GNU C Library, but do not describe when
27162 differences between them are significant.
27163
30ee4ced
AJ
271642012-03-05 Andreas Jaeger <aj@suse.de>
27165
27166 * sysdeps/i386/fpu/libm-test-ulps: Update.
27167
b7cd39e8
JM
271682012-03-05 Joseph Myers <joseph@codesourcery.com>
27169
27170 [BZ #3976]
27171 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27172 (__ieee754_pow): Save and restore rounding mode and use
27173 round-to-nearest for main computations.
27174 * math/libm-test.inc (pow_test_tonearest): New function.
27175 (pow_test_towardzero): Likewise.
27176 (pow_test_downward): Likewise.
27177 (pow_test_upward): Likewise.
27178 (main): Call the new functions.
27179 * sysdeps/i386/fpu/libm-test-ulps: Update.
27180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27181
27182 [BZ #3976]
27183 * math/libm-test.inc (cosh_test_tonearest): New function.
27184 (cosh_test_towardzero): Likewise.
27185 (cosh_test_downward): Likewise.
27186 (cosh_test_upward): Likewise.
27187 (sinh_test_tonearest): Likewise.
27188 (sinh_test_towardzero): Likewise.
27189 (sinh_test_downward): Likewise.
27190 (sinh_test_upward): Likewise.
27191 (main): Call the new functions.
27192 * sysdeps/i386/fpu/libm-test-ulps: Update.
27193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27194
6c6a98c9
TV
271952012-03-05 Tom de Vries <tom@codesourcery.com>
27196
27197 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27198 default stack guard is set in last bytes.
27199 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27200
21bb2d2e 272012012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27202
21bb2d2e 27203 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27204
21bb2d2e
AJ
27205 [BZ #13656]
27206 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27207 possibly allocate from heap instead of stack.
27208 * stdio-common/bug-vfprintf-nargs.c: New file.
27209 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27210
c6922934
AS
272112012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27212
27213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27214
bc957d53
MP
272152012-03-03 Marek Polacek <polacek@redhat.com>
27216
27217 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27218 * math/math_private.h: Likewise.
27219 * stdlib/tst-strtod.c: Likewise.
27220 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27221 * sysdeps/x86_64/bits/atomic.h: Likewise.
27222
6358490d
DM
272232012-03-02 David S. Miller <davem@davemloft.net>
27224
27225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27229 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27230 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27231 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27232 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27233
01ae168d
RM
272342012-03-02 Roland McGrath <roland@hack.frob.com>
27235
d9a17c07
RM
27236 [BZ #13792]
27237 * manual/examples/README: New file, says the example source files
27238 can be used under GPL>=2.
27239 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27240 line containing just "*/".
27241 * manual/examples/add.c: Add copyright header (GPL>=2).
27242 * manual/examples/argp-ex1.c: Likewise.
27243 * manual/examples/argp-ex2.c: Likewise.
27244 * manual/examples/argp-ex3.c: Likewise.
27245 * manual/examples/argp-ex4.c: Likewise.
27246 * manual/examples/atexit.c: Likewise.
27247 * manual/examples/db.c: Likewise.
27248 * manual/examples/dir.c: Likewise.
27249 * manual/examples/dir2.c: Likewise.
27250 * manual/examples/execinfo.c: Likewise.
27251 * manual/examples/filecli.c: Likewise.
27252 * manual/examples/filesrv.c: Likewise.
27253 * manual/examples/fmtmsgexpl.c: Likewise.
27254 * manual/examples/genpass.c: Likewise.
27255 * manual/examples/inetcli.c: Likewise.
27256 * manual/examples/inetsrv.c: Likewise.
27257 * manual/examples/isockad.c: Likewise.
27258 * manual/examples/longopt.c: Likewise.
27259 * manual/examples/memopen.c: Likewise.
27260 * manual/examples/memstrm.c: Likewise.
27261 * manual/examples/mkfsock.c: Likewise.
27262 * manual/examples/mkisock.c: Likewise.
27263 * manual/examples/mygetpass.c: Likewise.
27264 * manual/examples/pipe.c: Likewise.
27265 * manual/examples/popen.c: Likewise.
27266 * manual/examples/rprintf.c: Likewise.
27267 * manual/examples/search.c: Likewise.
27268 * manual/examples/select.c: Likewise.
27269 * manual/examples/setjmp.c: Likewise.
27270 * manual/examples/sigh1.c: Likewise.
27271 * manual/examples/sigusr.c: Likewise.
27272 * manual/examples/stpcpy.c: Likewise.
27273 * manual/examples/strdupa.c: Likewise.
27274 * manual/examples/strftim.c: Likewise.
27275 * manual/examples/strncat.c: Likewise.
27276 * manual/examples/subopt.c: Likewise.
27277 * manual/examples/swapcontext.c: Likewise.
27278 * manual/examples/termios.c: Likewise.
27279 * manual/examples/testopt.c: Likewise.
27280 * manual/examples/testpass.c: Likewise.
27281 * manual/examples/timeval_subtract.c: Likewise.
27282
01ae168d
RM
27283 [BZ #13792]
27284 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27285 function to ...
27286 * manual/timeval_subtract.c.texi: ... here, new file.
27287
49efa33d
DM
272882012-03-02 David S. Miller <davem@davemloft.net>
27289
27290 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27291
28afd92d
JM
272922012-03-02 Joseph Myers <joseph@codesourcery.com>
27293
804360ed
JM
27294 [BZ #3976]
27295 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27296 (__sin): Save and restore rounding mode and use round-to-nearest
27297 for all computations.
27298 (__cos): Save and restore rounding mode and use round-to-nearest
27299 for all computations.
27300 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27301 <fenv.h>.
27302 (tan): Save and restore rounding mode and use round-to-nearest for
27303 all computations.
27304 * math/libm-test.inc (cos_test_tonearest): New function.
27305 (cos_test_towardzero): Likewise.
27306 (cos_test_downward): Likewise.
27307 (cos_test_upward): Likewise.
27308 (sin_test_tonearest): Likewise.
27309 (sin_test_towardzero): Likewise.
27310 (sin_test_downward): Likewise.
27311 (sin_test_upward): Likewise.
27312 (tan_test_tonearest): Likewise.
27313 (tan_test_towardzero): Likewise.
27314 (tan_test_downward): Likewise.
27315 (tan_test_upward): Likewise.
27316 (main): Call the new functions.
27317 * sysdeps/i386/fpu/libm-test-ulps: Update.
27318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27319
a6d06d7b
JM
27320 [BZ #10135]
27321 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27322 small n, then large n, before computing and testing k+n.
27323 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27324 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27325 Likewise.
27326 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27327 Likewise.
27328 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27329 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27330 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27331 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27332 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27333 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27334 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27335 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27336 * math/libm-test.inc (scalbn_test): Add more tests.
27337 (scalbln_test): Likewise.
27338
07e12bb3
JM
27339 * manual/filesys.texi (mode_t): Describe constraints on size and
27340 signedness, not exact equivalence to a particular type.
27341 (ino_t): Likewise.
27342 (ino64_t): Likewise.
27343 (dev_t): Likewise.
27344 (nlink_t): Likewise.
27345 (blkcnt_t): Likewise.
27346 (blkcnt64_t): Likewise.
27347 * manual/llio.texi (off_t): Likewise.
27348
28afd92d
JM
27349 [BZ #3976]
27350 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27351 (__ieee754_exp): Save and restore rounding mode and use
27352 round-to-nearest for all computations.
27353 * math/libm-test.inc (exp_test_tonearest): New function.
27354 (exp_test_towardzero): Likewise.
27355 (exp_test_downward): Likewise.
27356 (exp_test_upward): Likewise.
27357 (main): Call the new functions.
27358 * sysdeps/i386/fpu/libm-test-ulps: Update.
27359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27360
b1eeb65d
CD
273612012-03-01 Chris Demetriou <cgd@google.com>
27362
27363 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27364 have predictable order.
27365
53362a4b
DM
273662012-03-01 David S. Miller <davem@davemloft.net>
27367
3c969083
DM
27368 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27369
759707de
DM
27370 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27371 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27372 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27373 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27374
dfdb8ff2
DM
27375 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27376 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27377 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27379 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27380 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27381 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27382 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27383 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27384
ead89f96
DM
27385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27386
7f66bd07
DM
27387 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27388 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27389 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27390
53362a4b
DM
27391 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27392 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27393 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27394 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27395 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27396 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27397 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27398 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27399 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27400 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27401 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27402 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27404 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27405 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27407 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27408 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27409 * sysdeps/sparc/elf/configure: Regenerated.
27410
7b1902cb
JM
274112012-03-01 Joseph Myers <joseph@codesourcery.com>
27412
bec039bc
JM
27413 * configure.in (AS, LD): Require binutils 2.20 or later.
27414 * configure: Regenerated.
27415 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27416 as required minimum version.
27417 * INSTALL: Regenerated.
27418
7b1902cb
JM
27419 [BZ #2541]
27420 [BZ #4108]
27421 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27422 before squaring exponent.
27423 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27424 bottom long double and 27 bits of top long double before squaring
27425 exponent.
27426 * math/libm-test.inc (erfc_test): Add more tests.
27427 * sysdeps/i386/fpu/libm-test-ulps: Update.
27428 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27430
f775c276
KT
274312012-03-01 Kai Tietz <ktietz@redhat.com>
27432
27433 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27434 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27435 containing bit-fields.
27436 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27437 * soft-fp/single.h (_FP_UNION_S): Likewise.
27438 * soft-fp/double.h (_FP_UNION_D): Likewise.
27439
5b8a4d4a
JM
274402012-02-29 Joseph Myers <joseph@codesourcery.com>
27441
0bab47b6
JM
27442 [BZ #13786]
27443 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27444 not include ../strcmp.S.
27445 [USE_AS_STRNCASECMP_L]: Likewise.
27446 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27447 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27448 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27449 (__strncasecmp_l_ia32): Define as alias to
27450 __strncasecmp_l_nonascii.
27451
0fcad3e2
JM
27452 [BZ #5794]
27453 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27454 * sysdeps/i386/fpu/libm-test-ulps: Update.
27455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27456
5b8a4d4a
JM
27457 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27459
8fdceb2e
JL
274602012-02-29 Jeff Law <law@redhat.com>
27461
27462 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27463 out of bounds read.
27464
1f393a11
MP
274652012-02-29 Marek Polacek <polacek@redhat.com>
27466
27467 [BZ #13706]
27468 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27469 * elf/Makefile: Add rules to run tst-unused-dep.out.
27470
8847f037
DM
274712012-02-28 David S. Miller <davem@davemloft.net>
27472
27473 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27474 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27475 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27476 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27477 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27478 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27479
169d7f11
JM
274802012-02-29 Joseph Myers <joseph@codesourcery.com>
27481
27482 * math/libm-test.inc (llround_test): Move one test from
27483 lround_test. Use TEST_f_L in moved test.
27484 (lround_test): Move misplaced test to llround_test. Add testcase
27485 from bug 2561.
27486
39adf059
UD
274872012-02-28 Ulrich Drepper <drepper@gmail.com>
27488
27489 * sysdeps/x86_64/fpu/e_expf.S: New file.
27490 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27491
71b5d1c5
SB
274922012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27493
27494 [BZ #13637]
27495 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27496 of remain_len that may cause incomplete multi-byte character and
27497 false match.
27498 * posix/bug-regex33.c: New file.
27499 * posix/Makefile (tests): Add bug-regex33.
27500
1f77f049
JM
275012012-02-28 Joseph Myers <joseph@codesourcery.com>
27502
27503 * manual/macros.texi: New file.
27504 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27505 * manual/libc.texinfo: Include macros.texi.
27506 * manual/creatute.texi: Likewise.
27507 * manual/install.texi: Likewise.
27508 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27509 @glibcadj{} in references to the GNU C Library.
27510 * manual/charset.texi: Likewise.
27511 * manual/conf.texi: Likewise.
27512 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27513 when not using those macros.
27514 * manual/creature.texi: Likewise.
27515 * manual/crypt.texi: Likewise.
27516 * manual/errno.texi: Likewise.
27517 * manual/filesys.texi: Likewise.
27518 * manual/header.texi: Likewise.
27519 * manual/install.texi: Likewise.
27520 * manual/intro.texi: Likewise.
27521 * manual/io.texi: Likewise.
27522 * manual/job.texi: Likewise.
27523 * manual/lang.texi: Likewise.
27524 * manual/libc.texiinfo: Likewise.
27525 * manual/llio.texi: Likewise.
27526 * manual/locale.texi: Likewise.
27527 * manual/maint.texi: Likewise.
27528 * manual/math.texi: Likewise.
27529 * manual/memory.texi: Likewise.
27530 * manual/message.texi: Likewise.
27531 * manual/nss.texi: Likewise.
27532 * manual/pattern.texi: Likewise.
27533 * manual/process.texi: Likewise.
27534 * manual/resource.texi: Likewise.
27535 * manual/search.texi: Likewise.
27536 * manual/setjmp.texi: Likewise.
27537 * manual/signal.texi: Likewise.
27538 * manual/socket.texi: Likewise.
27539 * manual/startup.texi: Likewise.
27540 * manual/stdio.texi: Likewise.
27541 * manual/string.texi: Likewise.
27542 * manual/sysinfo.texi: Likewise.
27543 * manual/syslog.texi: Likewise.
27544 * manual/terminal.texi: Likewise.
27545 * manual/time.texi: Likewise.
27546 * manual/users.texi: Likewise.
27547 * INSTALL: Regenerated.
27548 * NOTES: Regenerated.
d40c5d54 27549 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27550
450bf206
AS
275512012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27552
27553 * include/dirent.h: Include <dirstream.h> before
27554 <dirent/dirent.h>.
27555
741a235b
DM
275562012-02-28 David S. Miller <davem@davemloft.net>
27557
27558 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27559 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27560 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27561 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27562
d6b5aa58
DM
275632012-02-27 David S. Miller <davem@davemloft.net>
27564
1aff59a3
DM
27565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27567 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27568 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27569
d6b5aa58
DM
27570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27571 frame pointer instead of stack pointer relative arg slot.
27572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27573 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27574 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27575
433f48bf
CD
275762012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27577
27578 [BZ #3992]
27579 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27580
d674b76d
DM
275812012-02-27 David S. Miller <davem@davemloft.net>
27582
27583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27587 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27588 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27589 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27590 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27591
0e7727f7
JM
275922012-02-27 Joseph Myers <joseph@codesourcery.com>
27593
27594 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27595 later. Allow versions 5-9.
43be4ca2 27596 * configure: Regenerated.
0e7727f7
JM
27597 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27598 required minimum version and 4.6 as recommended version. Do not
27599 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27600 * INSTALL: Regenerated.
0e7727f7 27601
a78bc654
DM
276022012-02-27 David S. Miller <davem@davemloft.net>
27603
428d5830
DM
27604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27608 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27609 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27610 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27611 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27612
a78bc654
DM
27613 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27614 manipulate bits before adding and subtracting TWO112[sx].
27615 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27616
4579f81c
RM
276172012-02-27 Roland McGrath <roland@hack.frob.com>
27618
36c8acb4
RM
27619 [BZ #13775]
27620 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27621 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27622 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27623 being in POSIX, because they are in 1003.1-2008.
27624
84ad622b
RM
27625 * rt/tst-aio.c: Include <fcntl.h>.
27626 * rt/tst-aio7.c: Likewise.
27627 * rt/tst-aio64.c: Likewise.
27628
4579f81c
RM
27629 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27630
abd923db
JM
276312012-02-27 Joseph Myers <joseph@codesourcery.com>
27632
27633 * manual/install.texi (--with-headers): Describe headers as
27634 interface headers, not private headers.
27635 (Specific advice for GNU/Linux systems): Describe use of headers
27636 from "make headers_install", not private headers from older
27637 kernels.
43be4ca2 27638 * INSTALL: Regenerated.
abd923db
JM
27639 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27640 Change to 2.6.19.
27641 * sysdeps/unix/sysv/linux/configure: Regenerated.
27642
6664049b
JM
27643 * manual/llio.texi (fclean): Remove documentation.
27644
bb8b6697
JM
27645 * manual/Makefile (libc-texi-generated): New variable. Include
27646 version.texi.
27647 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27648 $(libc-texi-generated), not duplicated list of files.
27649 (version.texi, stamp-version): New rules.
27650 (realclean): Remove $(libc-texi-generated), not individual files
27651 from that list. Do not remove dir-add.texinfo.
27652 * manual/libc.texinfo: Comment out uses of edition numbers and
27653 references to printed manual. Remove last-updated dates.
27654 (EDITION): Comment out.
27655 (ISBN): Likewise.
27656 (VERSION, UPDATED): Remove.
27657 (version.texi): Include.
27658
12e5c3b9
AS
276592012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27660
27661 * sysdeps/posix/spawni.c: Include <signal.h>.
27662 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27663 * sysdeps/pthread/aio_fsync.c: Likewise.
27664
4efeffc1 276652012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27666
ba63ba08
UD
27667 * conform/Makefile (tests): Run only when not cross-compiling and
27668 when fast-check is not defined.
27669
d94a4670
UD
27670 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27671 * conform/data/limits.h-data: Fixes for POSIX2008.
27672 * conform/run-conformtest.sh: Run all tests.
27673 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27674 headers.
27675 * include/bits/dlfcn.h: Likewise.
27676 * include/langinfo.h: Likewise.
27677 * include/monetary.h: Likewise.
27678 * include/sys/poll.h: Likewise.
27679
27680 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27681 for __USE_GNU.
27682 * posix/spawn.h: Define __need_sigset_t.
27683 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27684 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27685 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27686 to get sigevent_t only.
27687 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27688 only for __USE_GNU.
27689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27690 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27691 process_vm_writev only for __USE_GNU.
27692 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27693
27694 * conform/Makefile: For now ignore errors from run-conformtest.
27695 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27696 POSIX to avoid namespace pollution. Don't prepend headers.
27697 * conform/data/aio.h-data: Fixes for POSIX testing.
27698 * conform/data/fcntl.h-data: Likewise.
27699 * conform/data/glob.h-data: Likewise.
27700 * conform/data/grp.h-data: Likewise.
27701 * conform/data/pthread.h-data: Likewise.
27702 * conform/data/pwd.h-data: Likewise.
27703 * conform/data/signal.h-data: Likewise.
27704 * conform/data/spawn.h-data: Likewise.
27705 * conform/data/stdio.h-data: Likewise.
27706 * conform/data/stdlib.h-data: Likewise.
27707 * conform/data/stropts.h-data: Likewise.
27708 * conform/data/sys/mman.h-data: Likewise.
27709 * conform/data/sys/stat.h-data: Likewise.
27710 * conform/data/sys/types.h-data: Likewise.
27711 * conform/data/sys/wait.h-data: Likewise.
27712 * conform/data/time.h-data: Likewise.
27713 * conform/data/unistd.h-data: Likewise.
27714 * conform/data/utime.h-data: Likewise.
27715
27716 * io/sys/stat.h: fchmod was always in POSIX.
27717 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27718 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27719 * rt/aio.h: Define __need_timespec before including <time.h>.
27720 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27721 struct. Add forward declaration of pthread_attr_t and use it in
27722 sigevent.
27723 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27724 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27725 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27726 always remove CLK_TCK definition.
27727
c20105c3
AS
277282012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27729
27730 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27731
7a270350
UD
277322012-02-25 Ulrich Drepper <drepper@gmail.com>
27733
31341567
UD
27734 * conform/run-conformtest.sh: New file.
27735 * conform/Makefile: Run run-conformtest for tests.
27736 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27737 support.
27738
27739 * conform/data/uchar.h-data: New file.
27740 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27741 * conform/data/arpa/inet.h-data: Likewise.
27742 * conform/data/assert.h-data: Likewise.
27743 * conform/data/complex.h-data: Likewise.
27744 * conform/data/cpio.h-data: Likewise.
27745 * conform/data/ctype.h-data: Likewise.
27746 * conform/data/dirent.h-data: Likewise.
27747 * conform/data/dlfcn.h-data: Likewise.
27748 * conform/data/errno.h-data: Likewise.
27749 * conform/data/fcntl.h-data: Likewise.
27750 * conform/data/float.h-data: Likewise.
27751 * conform/data/fmtmsg.h-data: Likewise.
27752 * conform/data/fnmatch.h-data: Likewise.
27753 * conform/data/ftw.h-data: Likewise.
27754 * conform/data/glob.h-data: Likewise.
27755 * conform/data/grp.h-data: Likewise.
27756 * conform/data/iconv.h-data: Likewise.
27757 * conform/data/inttypes.h-data: Likewise.
27758 * conform/data/langinfo.h-data: Likewise.
27759 * conform/data/libgen.h-data: Likewise.
27760 * conform/data/limits.h-data: Likewise.
27761 * conform/data/locale.h-data: Likewise.
27762 * conform/data/math.h-data: Likewise.
27763 * conform/data/monetary.h-data: Likewise.
27764 * conform/data/mqueue.h-data: Likewise.
27765 * conform/data/ndbm.h-data: Likewise.
27766 * conform/data/net/if.h-data: Likewise.
27767 * conform/data/netdb.h-data: Likewise.
27768 * conform/data/netinet/in.h-data: Likewise.
27769 * conform/data/nl_types.h-data: Likewise.
27770 * conform/data/poll.h-data: Likewise.
27771 * conform/data/pthread.h-data: Likewise.
27772 * conform/data/pwd.h-data: Likewise.
27773 * conform/data/regex.h-data: Likewise.
27774 * conform/data/sched.h-data: Likewise.
27775 * conform/data/search.h-data: Likewise.
27776 * conform/data/semaphore.h-data: Likewise.
27777 * conform/data/setjmp.h-data: Likewise.
27778 * conform/data/signal.h-data: Likewise.
27779 * conform/data/spawn.h-data: Likewise.
27780 * conform/data/stdarg.h-data: Likewise.
27781 * conform/data/stdio.h-data: Likewise.
27782 * conform/data/stdlib.h-data: Likewise.
27783 * conform/data/string.h-data: Likewise.
27784 * conform/data/strings.h-data: Likewise.
27785 * conform/data/stropts.h-data: Likewise.
27786 * conform/data/sys/ipc.h-data: Likewise.
27787 * conform/data/sys/mman.h-data: Likewise.
27788 * conform/data/sys/msg.h-data: Likewise.
27789 * conform/data/sys/resource.h-data: Likewise.
27790 * conform/data/sys/select.h-data: Likewise.
27791 * conform/data/sys/sem.h-data: Likewise.
27792 * conform/data/sys/shm.h-data: Likewise.
27793 * conform/data/sys/socket.h-data: Likewise.
27794 * conform/data/sys/stat.h-data: Likewise.
27795 * conform/data/sys/statvfs.h-data: Likewise.
27796 * conform/data/sys/time.h-data: Likewise.
27797 * conform/data/sys/timeb.h-data: Likewise.
27798 * conform/data/sys/times.h-data: Likewise.
27799 * conform/data/sys/types.h-data: Likewise.
27800 * conform/data/sys/uio.h-data: Likewise.
27801 * conform/data/sys/un.h-data: Likewise.
27802 * conform/data/sys/utsname.h-data: Likewise.
27803 * conform/data/sys/wait.h-data: Likewise.
27804 * conform/data/syslog.h-data: Likewise.
27805 * conform/data/tar.h-data: Likewise.
27806 * conform/data/termios.h-data: Likewise.
27807 * conform/data/utime.h-data: Likewise.
27808 * conform/data/utmpx.h-data: Likewise.
27809 * conform/data/varargs.h-data: Likewise.
27810 * conform/data/wchar.h-data: Likewise.
27811 * conform/data/wctype.h-data: Likewise.
27812 * conform/data/wordexp.h-data: Likewise.
27813
27814 * include/stropts.h: New file.
27815 * include/uchar.h: New file.
27816 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27817 * include/assert.h: Likewise.
27818 * include/ctype.h: Likewise.
27819 * include/dirent.h: Likewise.
27820 * include/dlfcn.h: Likewise.
27821 * include/fcntl.h: Likewise.
27822 * include/fnmatch.h: Likewise.
27823 * include/glob.h: Likewise.
27824 * include/grp.h: Likewise.
27825 * include/libio.h: Likewise.
27826 * include/locale.h: Likewise.
27827 * include/math.h: Likewise.
27828 * include/net/if.h: Likewise.
27829 * include/netdb.h: Likewise.
27830 * include/netinet/in.h: Likewise.
27831 * include/pthread.h: Likewise.
27832 * include/pwd.h: Likewise.
27833 * include/regex.h: Likewise.
27834 * include/sched.h: Likewise.
27835 * include/search.h: Likewise.
27836 * include/setjmp.h: Likewise.
27837 * include/signal.h: Likewise.
27838 * include/stdio.h: Likewise.
27839 * include/stdlib.h: Likewise.
27840 * include/string.h: Likewise.
27841 * include/sys/cdefs.h: Likewise.
27842 * include/sys/mman.h: Likewise.
27843 * include/sys/msg.h: Likewise.
27844 * include/sys/resource.h: Likewise.
27845 * include/sys/select.h: Likewise.
27846 * include/sys/socket.h: Likewise.
27847 * include/sys/stat.h: Likewise.
27848 * include/sys/statvfs.h: Likewise.
27849 * include/sys/time.h: Likewise.
27850 * include/sys/times.h: Likewise.
27851 * include/sys/uio.h: Likewise.
27852 * include/sys/utsname.h: Likewise.
27853 * include/sys/wait.h: Likewise.
27854 * include/termios.h: Likewise.
27855 * include/time.h: Likewise.
27856 * include/ulimit.h: Likewise.
27857 * include/unistd.h: Likewise.
27858 * include/utime.h: Likewise.
27859 * include/wchar.h: Likewise.
27860 * include/wctype.h: Likewise.
27861 * include/wordexp.h: Likewise.
27862
27863 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27864
7a270350
UD
27865 * time/time.h: TIME_UTC must be a macro.
27866 Make timespec_get available for ISO C11 only as well.
27867
7724defc
UD
278682012-02-24 Ulrich Drepper <drepper@gmail.com>
27869
27870 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27871 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27872
6b1d1d46
JM
278732012-02-24 Joseph Myers <joseph@codesourcery.com>
27874
27875 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27876
0f8bbd69
JM
278772012-02-24 Joseph Myers <joseph@codesourcery.com>
27878
27879 * manual/texinfo.tex: Update to version 2012-01-19.16.
27880
66ab80bc
JM
278812012-02-24 Joseph Myers <joseph@codesourcery.com>
27882
27883 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27884
74981cc5
RM
278852012-02-24 Roland McGrath <roland@hack.frob.com>
27886
ee968201
RM
27887 [BZ #13738]
27888 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27889 * manual/fdl-1.3.texi: New file.
27890 * manual/fdl-1.1.texi: File removed.
27891
74981cc5
RM
27892 [BZ #13738]
27893 * manual/libc.texinfo (FDL_VERSION): New @set.
27894 Use it for mention of FDL in cover text.
27895 (Documentation License): Use it in @include file name.
27896
7bb764bc
JM
278972012-02-22 Joseph Myers <joseph@codesourcery.com>
27898 Roland McGrath <roland@hack.frob.com>
27899
27900 [BZ #5461]
27901 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27902 not LONG_LONG_MAX and LONG_LONG_MIN.
27903 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27904 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27905 name.
27906 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27907
6cbeae47
JM
279082012-02-22 Joseph Myers <joseph@codesourcery.com>
27909
27910 [BZ #2547]
27911 [BZ #11365]
27912 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27913 manipulate bits before adding and subtracting TWO23[sx].
27914 * math/libm-test.inc (nearbyint_test): Add more tests.
27915
fe45ce09
JM
279162012-02-22 Joseph Myers <joseph@codesourcery.com>
27917
27918 [BZ #2548]
27919 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27920 bits before adding and subtracting TWO23[sx].
27921 * math/libm-test.inc (rint_test): Add more tests.
27922 (rint_test_tonearest): Likewise.
27923 (rint_test_towardzero): Likewise.
27924 (rint_test_downward): Likewise.
27925 (rint_test_upward: Likewise.
27926
ff3b3d82
JM
279272012-02-22 Joseph Myers <joseph@codesourcery.com>
27928
27929 [BZ #10110]
27930 * include/stdc-predef.h: New file. Extracted from features.h.
27931 * include/features.h: Include stdc-predef.h.
27932 * Makefile (headers): Add stdc-predef.h.
27933 * CONFORMANCE (Compiler limitations): Update.
27934
ef0aab35
JM
279352012-02-22 Joseph Myers <joseph@codesourcery.com>
27936
27937 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27938
58639409
DM
279392012-02-21 David S. Miller <davem@davemloft.net>
27940
27941 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27942 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27943
c0e70b25
DM
279442012-02-20 David S. Miller <davem@davemloft.net>
27945
27946 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27947 using a normal save/restore sequence, rather than allocating a
27948 dummy stack frame just to store a frame pointer and restore.
27949 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27950
fb06851d
JM
279512012-02-21 Joseph Myers <joseph@codesourcery.com>
27952
27953 * manual/install.texi: Fix stray word in line-wrapped comment.
27954
7a8b71c3
DM
279552012-02-20 David S. Miller <davem@davemloft.net>
27956
d510c123
DM
27957 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27958 both binutils and gcc support GOTDATA.
27959
0722d7c2
DM
27960 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27961 "rd %pc" in the PIC register setup sequences.
27962
3d2b3019
DM
27963 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27964 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27965 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27966 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27967 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27968 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27969 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27970 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27971 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27972 (SYSCALL_ERROR_HANDLER): Likewise.
27973 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27974 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27975 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27976 (SYSCALL_ERROR_HANDLER): Likewise.
27977
c80098a9
DM
27978 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27979 (HAVE_GCC_GOTDATA): New.
27980 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27981 relocation support in both binutils and gcc.
27982 * sysdeps/sparc/elf/configure: Regenerate.
27983
3a2545a0
DM
27984 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27985 * sysdeps/sparc/sparc32/elf/configure: Delete.
27986 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27987 * sysdeps/sparc/sparc64/elf/configure: Delete.
27988 * sysdeps/sparc/elf/configure.in: New file.
27989 * sysdeps/sparc/elf/configure: Generate.
27990
7a8b71c3
DM
27991 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27992 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27993 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27994 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27995 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27996
f1e86fca
JM
279972012-02-21 Joseph Myers <joseph@codesourcery.com>
27998
27999 * manual/install.texi: Do not mention specific glibc version
28000 numbers.
28001 * manual/libc.texinfo (VERSION, UPDATED): Update.
28002 (@copying): Use @copyright{} and range of years.
28003
0e7dfaef
JM
280042012-02-21 Joseph Myers <joseph@codesourcery.com>
28005
28006 [BZ #13695]
28007 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28008 [crti.S not in sysdirs] (generated): Do not append.
28009 [crti.S not in sysdirs] (omit-deps): Likewise.
28010 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28011 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28012 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28013 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28014 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28015 Likewise.
28016 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28017 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28018 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28019 * csu/defs.awk: Remove file.
28020 * sysdeps/generic/initfini.c: Likewise.
28021 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28022 variable.
28023 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28024 Likewise.
28025
599af3ca
JM
280262012-02-20 Joseph Myers <joseph@codesourcery.com>
28027
28028 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28029 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28030 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28031 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28032 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28033 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28034 <bits/epoll.h>.
28035 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28036 (__EPOLL_PACKED): Define to empty if not defined by
28037 <bits/epoll.h>.
28038 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28040 bits/epoll.h.
28041
0e499750
JM
280422012-02-20 Joseph Myers <joseph@codesourcery.com>
28043
28044 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28045 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28046 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28047 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28048 <bits/timerfd.h>.
28049 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28051 bits/timerfd.h.
28052
5ad91f6e
JM
280532012-02-20 Joseph Myers <joseph@codesourcery.com>
28054
28055 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28056 in C locale.
28057 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28058 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28059 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28061
06b99b02
AJ
280622012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28063
28064 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28065 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28066
7638c0fd
AS
280672012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28068
28069 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28070 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28071 defined.
28072 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28073 Likewise.
28074 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28075 entry for 2.16.
28076
92221550
AJ
280772012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28078
28079 * math/w_acos.c: Use non-signaling floating-point comparisons.
28080 * math/w_acosf.c: Likewise.
28081 * math/w_acosh.c: Likewise.
28082 * math/w_acoshf.c: Likewise.
28083 * math/w_acoshl.c: Likewise.
28084 * math/w_acosl.c: Likewise.
28085 * math/w_asin.c: Likewise.
28086 * math/w_asinf.c: Likewise.
28087 * math/w_asinl.c: Likewise.
28088 * math/w_atanh.c: Likewise.
28089 * math/w_atanhf.c: Likewise.
28090 * math/w_atanhl.c: Likewise.
28091 * math/w_exp2.c: Likewise.
28092 * math/w_exp2f.c: Likewise.
28093 * math/w_exp2l.c: Likewise.
28094 * math/w_j0.c: Likewise.
28095 * math/w_j0f.c: Likewise.
28096 * math/w_j0l.c: Likewise.
28097 * math/w_j1.c: Likewise.
28098 * math/w_j1f.c: Likewise.
28099 * math/w_j1l.c: Likewise.
28100 * math/w_jn.c: Likewise.
28101 * math/w_jnf.c: Likewise.
28102 * math/w_log.c: Likewise.
28103 * math/w_log10.c: Likewise.
28104 * math/w_log10f.c: Likewise.
28105 * math/w_log10l.c: Likewise.
28106 * math/w_log2.c: Likewise.
28107 * math/w_log2f.c: Likewise.
28108 * math/w_log2l.c: Likewise.
28109 * math/w_logf.c: Likewise.
28110 * math/w_logl.c: Likewise.
28111 * math/w_sqrt.c: Likewise.
28112 * math/w_sqrtf.c: Likewise.
28113 * math/w_sqrtl.c: Likewise.
28114 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28115 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28116 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28117 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28118 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28119
ebaf36eb
JM
281202012-02-19 Joseph Myers <joseph@codesourcery.com>
28121
28122 [BZ #9739]
28123 * manual/string.texi (strnlen): Use correct parameter name in
28124 equivalent expression.
28125
71c254a6
JM
281262012-02-19 Joseph Myers <joseph@codesourcery.com>
28127
28128 [BZ #11174]
28129 * manual/users.texi (seteuid): Consistently use neweuid for
28130 argument name.
28131
16d2c631
JM
281322012-02-19 Joseph Myers <joseph@codesourcery.com>
28133
28134 [BZ #13704]
28135 * manual/nss.texi (Services in the NSS configuration): Correct
28136 list of services in example configuration file.
28137
cd837b09
NB
281382012-02-19 Nick Bowler <nbowler@draconx.ca>
28139
28140 [BZ #11322]
28141 * manual/arith.texi: Remove statements about negative zero
28142 behaving identically to zero.
28143
02c4bbad
JM
281442012-02-18 Joseph Myers <joseph@codesourcery.com>
28145
28146 [BZ #5993]
28147 * manual/install.texi: Do not document upgrading from libc5.
28148
366842e7
JM
281492012-02-18 Joseph Myers <joseph@codesourcery.com>
28150
28151 [BZ #4596]
28152 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28153
dd54084d
DM
281542012-02-18 David S. Miller <davem@davemloft.net>
28155
28156 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28157 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28158 %o7 across the call.
28159 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28160 instead.
28161 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28162 SETUP_PIC_REG_LEAF.
28163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28164 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28165 * sysdeps/sparc/crtn.S: Likewise.
28166
2bcc53a3
UD
281672012-02-17 Ulrich Drepper <drepper@gmail.com>
28168
28169 * aout/Makefile: Remove.
28170
09c093b5
RK
281712012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28172
28173 [BZ #13058]
28174 * manual/examples/argp-ex1.c (main): Format definition in GNU
28175 style.
28176 * manual/examples/argp-ex2.c (main): Likewise.
28177 * manual/examples/argp-ex3.c (main): Likewise.
28178 * manual/examples/argp-ex4.c (main): Likewise.
28179 * manual/examples/longopt.c (main): Use new-style prototype
28180 definition.
28181 * manual/examples/strncat.c (main): Specify return type and use
28182 (void) for arguments.
28183 * manual/examples/subopt.c (main): Use char **argv argument.
28184
2ee633a2
JM
281852012-02-17 Joseph Myers <joseph@codesourcery.com>
28186
28187 [BZ #5077]
28188 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28189 rounding modes.
28190
0520adde
FB
281912012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28192
28193 [BZ #6907]
28194 * manual/string.texi (strchr): Change when strchrnul is
28195 recommended.
28196
3f4081cd
DGM
281972012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28198
28199 [BZ #174]
28200 * manual/locale.texi (setlocale): Document LOCPATH.
28201
d1b10e78
JM
282022012-02-17 Joseph Myers <joseph@codesourcery.com>
28203
28204 [BZ #10210]
28205 * manual/process.texi (execle): Move @dots{} before last argument.
28206
79c6869c
PB
282072012-02-17 Paul Bolle <pebolle@tiscali.nl>
28208
28209 [BZ #12047]
28210 * manual/charset.texi (Generic Charset Conversion): Fix typo
28211 (LC_TYPE -> LC_CTYPE).
28212
cc6e48bc
NB
282132012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28214
28215 [BZ #5805]
28216 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28217 (scalbnf): Likewise.
28218 (scalbnl): Likewise.
28219 (scalbln): Likewise.
28220 (scalblnf): Likewise.
28221 (scalblnl): Likewise.
28222 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28223 (vwarnx): Likewise.
28224 (verr): Likewise.
28225 (verrx): Likewise.
28226 * manual/filesys.texi (telldir): Use braces around return type.
28227 * manual/llio.texi (mmap): Add space after comma.
28228 (mmap64): Likewise.
28229 * manual/math.texi (jn): Use @var{} on parameter names.
28230 (jnf): Likewise.
28231 (jnl): Likewise.
28232 (yn): Likewise.
28233 (ynf): Likewise.
28234 (ynl): Likewise.
28235 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28236 line.
28237 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28238 "...".
28239 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28240 (sched_get_priority_max): Likewise.
28241 * manual/signal.texi (sigvec): Add space after comma.
28242 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28243 names.
28244 (if_indextoname): Likewise.
28245 (if_freenameindex): Likewise.
28246 (sendto): Use ',' instead of '.' in prototype.
28247 * manual/startup.texi (syscall): Use @dots{} instead of literal
28248 "...".
28249 * manual/stdio.texi (__fpending): Separate initial words of
28250 paragraph from @deftypefun line.
28251 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28252 "...".
28253 (vsyslog): Use @var{} on parameter names.
28254 * manual/terminal.texi (stty): Use @var{} on parameter names.
28255 * manual/users.texi (getutmp): Use @var{} on parameter names.
28256 (getutmpx): Likewise.
28257
5b23062f
JM
282582012-02-17 Joseph Myers <joseph@codesourcery.com>
28259
28260 [BZ #6884]
28261 * manual/stdio.texi (fopen): Fix typos in description of
28262 ",ccs=STRING".
28263
8dee4833
AJ
282642012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28265
28266 [BZ #4026]
28267 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28268 get clock_id definition.
28269
9078ce93
TS
282702012-02-17 Thomas Schwinge <thomas@schwinge.name>
28271
28272 [BZ #4822]
28273 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28274 (madvise): Cast every argument to void on its own.
28275
3835c55f
JM
282762012-02-17 Joseph Myers <joseph@codesourcery.com>
28277
28278 [BZ #9902]
28279 * manual/startup.texi (Exit Status): Fix typo.
28280
35c47e37
JM
282812012-02-17 Joseph Myers <joseph@codesourcery.com>
28282
28283 [BZ #10140]
28284 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28285 * manual/examples/argp-ex2.c: Likewise.
28286 * manual/examples/argp-ex3.c: Likewise.
28287
e3b69ca7
RH
282882012-02-16 Richard Henderson <rth@redhat.com>
28289
28290 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28291 * sysdeps/s390/s390-32/initfini.c: Remove.
28292 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28293 * sysdeps/s390/s390-64/initfini.c: Remove.
28294
df83af67
KK
282952012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28296
28297 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28298 compiler output for sysdeps/generic/initfini.c.
28299 * sysdeps/sh/elf/initfini.c: Remove file.
28300
f63f3380
DM
283012012-02-16 David S. Miller <davem@davemloft.net>
28302
fb59b3a4
DM
28303 [BZ #11494]
28304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28305
f63f3380
DM
28306 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28307 * sysdeps/sparc/crti.S: New file.
28308 * sysdeps/sparc/crtn.S: New file.
28309 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28310 * sysdeps/sparc/sparc64/Makefile: Likewise.
28311
df6a4a4a
MF
283122012-02-15 Mike Frysinger <vapier@gentoo.org>
28313
6dd8f3dc 28314 [BZ #3335]
df6a4a4a
MF
28315 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28316
1cac7236
RM
283172012-02-15 Roland McGrath <roland@hack.frob.com>
28318
d2c736f8
RM
28319 [BZ #4822]
28320 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28321
1cac7236
RM
28322 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28323 (write, read, close): Likewise.
28324 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28325
8e475601
JM
283262012-02-15 Joseph Myers <joseph@codesourcery.com>
28327
28328 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28329 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28330 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28331 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28332 <bits/signalfd.h>.
28333 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28335 bits/signalfd.h.
28336
ed656b40
MP
283372012-02-14 Marek Polacek <polacek@redhat.com>
28338
28339 * sysdeps/x86_64/crti.S: New file.
28340 * sysdeps/x86_64/crtn.S: New file.
28341 * sysdeps/x86_64/elf/initfini.c: Remove file.
28342
2a979d3a
JM
283432012-02-13 Joseph Myers <joseph@codesourcery.com>
28344
28345 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28346 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28347 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28348 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28349 <bits/inotify.h>.
28350 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28352 bits/inotify.h.
28353
2a418ac3
JM
283542012-02-13 Joseph Myers <joseph@codesourcery.com>
28355
28356 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28357 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28358 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28359 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28360 <bits/eventfd.h>.
28361 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28363 bits/eventfd.h.
28364
fb779be7
TS
283652012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28366
e19e83c5
RM
28367 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28368 __feraiseexcept instead of feraiseexcept.
7c35ffed 28369
fb779be7
TS
28370 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28371 nanosleep invocations.
28372 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28373 strings, and add error checking for a nanosleep invocations.
28374
59ba27a6
PE
283752012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28376
28377 Replace FSF snail mail address with URLs, as per GNU coding standards.
28378 Most of the snail mail addresses were wrong anyway, and omitting
28379 them makes the source code easier to maintain. Almost all of the
28380 changes are to license notices and to locale LC_IDENTIFICATION
28381 addresses, except for this one:
28382 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28383 not its snail mail address.
28384
57b957eb
RH
283852012-02-09 Richard Henderson <rth@twiddle.net>
28386
af850b1c
RH
28387 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28388 of kernel-features.h.
28389
57b957eb
RH
28390 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28391
6b73181a
MP
283922012-02-08 Marek Polacek <polacek@redhat.com>
28393
28394 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28395 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28396 * sysdeps/gnu/_G_config.h: Likewise.
28397 * sysdeps/generic/_G_config.h: Likewise.
28398
26ecc33a
AS
283992012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28400
6c6dbc63
AS
28401 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28402 tests.
28403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28404
e216c012
AS
28405 * sysdeps/powerpc/powerpc32/crti.S: New file.
28406 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28407 * sysdeps/powerpc/powerpc64/crti.S: New file.
28408 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28409
26ecc33a
AS
28410 * Makeconfig (have-initfini): Don't set.
28411 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28412 * configure.in (nopic_initfini): Don't substitute.
28413 * config.h.in (HAVE_INITFINI): Don't #undef.
28414 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28415 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28416
3add8e13
JM
284172012-02-08 Joseph Myers <joseph@codesourcery.com>
28418
28419 Support crti.S and crtn.S provided directly by architectures.
28420 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28421 [crti.S in sysdirs] (omit-deps): Likewise.
28422 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28423 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28424 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28425 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28426 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28427 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28428 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28429 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28430 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28431 compiler output for sysdeps/generic/initfini.c.
28432 * sysdeps/i386/elf/Makefile: Remove file.
28433 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28434
a22f12b4
MP
284352012-02-07 Marek Polacek <polacek@redhat.com>
28436
28437 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28438 * sysdeps/gnu/_G_config.h: Likewise.
28439 * sysdeps/mach/hurd/_G_config.h: Likewise.
28440
148cf100
MP
284412012-02-07 Marek Polacek <polacek@redhat.com>
28442
28443 * math/Makefile (tests): Add tst-CMPLX2.
28444 * math/tst-CMPLX2.c: New file.
28445
cfdc0dd7
AS
284462012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28447
84ba42c4
AS
28448 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28449
cfdc0dd7
AS
28450 * math/libm-test.inc (jn_test): Add missing L suffix.
28451
622c86f4
MP
284522012-02-06 Marek Polacek <polacek@redhat.com>
28453
28454 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28455 * sysdeps/i386/fpu/e_powf.S: Likewise.
28456 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28457 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28458 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28459 * sysdeps/i386/fpu/e_pow.S: Likewise.
28460 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28461 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28462 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28463 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28464 * sysdeps/i386/fpu/e_log2.S: Likewise.
28465 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28466 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28467 * sysdeps/i386/fpu/e_powl.S: Likewise.
28468 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28469 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28470 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28471 * sysdeps/i386/fpu/e_logl.S: Likewise.
28472 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28473 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28474 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28475 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28476 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28477 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28478 * sysdeps/i386/fpu/e_log.S: Likewise.
28479 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28480 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28481 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28482 * sysdeps/i386/fpu/e_logf.S: Likewise.
28483 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28484 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28485 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28486 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28487 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28488 * sysdeps/i386/fpu/e_log10.S: Likewise.
28489 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28490 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28491 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28492 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28493 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28494 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28495 * sysdeps/i386/asm-syntax.h: Likewise.
28496 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28497 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28498 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28499 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28500 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28501 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28502 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28503 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28504 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28505 * sysdeps/powerpc/sysdep.h: Likewise.
28506 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28507 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28508
d4a54ac6
JM
285092012-02-06 Joseph Myers <joseph@codesourcery.com>
28510
28511 [BZ #411]
28512 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28513
314054ea
JM
285142012-02-06 Joseph Myers <joseph@codesourcery.com>
28515
28516 * sysdeps/i386/sysdep.h: Include <features.h>.
28517 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28518 version.
28519
d8e0ca50
JM
285202012-02-05 Joseph Myers <joseph@codesourcery.com>
28521
28522 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28523 Define.
28524 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28525 LOAD_PIC_REG_STR.
28526
b1da7dd9
JM
285272012-02-03 Joseph Myers <joseph@codesourcery.com>
28528
28529 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28530 (SETUP_PIC_REG): Use GET_PC_THUNK.
28531 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28532 macro.
28533
9a1d9254
JM
285342012-02-03 Joseph Myers <joseph@codesourcery.com>
28535
28536 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28537 for non-PIC compilation.
28538 (SETUP_PIC_REG): Add .p2align directive.
28539 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28540 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28541 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28542 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28543 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28544 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28545 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28546 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28547 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28548 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28549 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28550 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28551 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28552 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28553 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28554 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28555 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28556 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28557 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28558 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28559 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28560 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28561 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28562 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28563 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28565 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28566 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28567 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28568 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28569 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28570 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28571 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28572 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28573 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28574 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28575 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28576 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28577 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28578 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28579 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28580
65dc3b75
JM
285812012-02-03 Joseph Myers <joseph@codesourcery.com>
28582
28583 * math/tst-CMPLX.c: Include <stdio.h>.
28584
d55bf177
JM
285852012-01-31 Joseph Myers <joseph@codesourcery.com>
28586
28587 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28588 float.
28589 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28590 * sysdeps/sparc/bits/mathdef.h: Likewise.
28591
69db4f8f
MP
285922012-01-31 Marek Polacek <polacek@redhat.com>
28593
28594 * libio/libio.h: Don't define _PARAMS.
28595 * locale/programs/config.h: Don't define PARAMS.
28596 * stdlib/strtol_l.c: Likewise.
28597 (__strtol_l): Remove PARAMS from the prototype.
28598
41b81892
UD
285992012-01-31 Ulrich Drepper <drepper@gmail.com>
28600
3b49edc0
UD
28601 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28602 names. Just use the correct names. Remove unnecessary wrapper
28603 functions.
28604 * malloc/arena.c: Likewise.
28605 * malloc/hooks.c: Likewise.
28606
41b81892
UD
28607 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28608 ARENA_TEST says not to. Simplify test for creation of a new arena.
28609 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28610
27a25b6e
UD
286112012-01-30 Ulrich Drepper <drepper@gmail.com>
28612
28613 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28614 into tail calls.
28615 (update_get_addr): New function.
28616 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28617 GET_ADDR_MODULE parameter.
28618
c8a89e7d
JM
286192012-01-30 Joseph Myers <joseph@codesourcery.com>
28620
28621 * crypt/cert.c: Remove __STDC__ conditionals.
28622 * crypt/crypt-entry.c: Likewise.
28623 * crypt/crypt_util.c: Likewise.
28624 * libio/filedoalloc.c: Likewise.
28625 * libio/fileops.c: Likewise.
28626 * libio/genops.c: Likewise.
28627 * libio/iofclose.c: Likewise.
28628 * libio/iofdopen.c: Likewise.
28629 * libio/iofopen.c: Likewise.
28630 * libio/iofopen64.c: Likewise.
28631 * libio/iogetdelim.c: Likewise.
28632 * libio/iopopen.c: Likewise.
28633 * libio/obprintf.c: Likewise.
28634 * libio/oldfileops.c: Likewise.
28635 * libio/oldiofclose.c: Likewise.
28636 * libio/oldiofdopen.c: Likewise.
28637 * libio/oldiofopen.c: Likewise.
28638 * libio/oldiopopen.c: Likewise.
28639 * libio/wfiledoalloc.c: Likewise.
28640 * libio/wgenops.c: Likewise.
28641 * locale/programs/xmalloc.c: Likewise.
28642 * misc/syslog.c: Likewise.
28643 * stdio-common/xbug.c: Likewise.
28644 * string/memchr.c: Likewise.
28645 * string/memcmp.c: Likewise.
28646 * string/memrchr.c: Likewise.
28647 * string/rawmemchr.c: Likewise.
28648 * sysdeps/posix/getcwd.c: Likewise.
28649 * time/strftime_l.c: Likewise.
28650
3b100462
JM
286512012-01-30 Joseph Myers <joseph@codesourcery.com>
28652
28653 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28654 * config.make.in (config-cflags-sse2avx): Define.
28655 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28656 Fix typo.
28657
607998af
CM
286582012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28659
28660 * scripts/config.guess: Update from upstream config git repository.
28661 * scripts/config.sub: Likewise.
28662
3601428f
CM
286632012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28664
3ac8b282
CM
28665 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28666 (EM_NUM): Update.
28667 (R_TILEPRO_*, R_TILEGX_*): New macros.
28668
e034841e
CM
28669 * scripts/firstversions.awk: Fix bug in version range handling.
28670
540d7568
CM
28671 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28672
3601428f
CM
28673 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28674
463de862
CM
28675 * include/sys/epoll.h: New file.
28676 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28677 libc_hidden_def.
28678
73139a76
UD
286792012-01-28 Ulrich Drepper <drepper@gmail.com>
28680
96bc5b45
UD
28681 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28682 Avoid unnecessary __WORDSIZE == 64 test.
28683 (fmaxf): Use VEX format if possible.
28684 (fmax): Likewise.
28685 (fminf): Likewise.
28686 (fmin): Likewise.
28687
56f6f6a2
UD
28688 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28689 * math/math_private.h: Remove libc_fegetround* and
28690 libc_fesetround*.
28691 * sysdeps/i386/configure.in: Check for -msse2avx.
28692 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28693 also if SSE2AVX is defined.
28694 Remove libc_fegetround* and libc_fesetround*.
28695 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28696 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28697 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28698 of HAS_YMM_USABLE.
28699 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28700 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28701 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28702 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28703 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28704
73139a76
UD
28705 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28706
d73f93a4
AZ
287072012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28708
28709 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28710 size is not set.
28711 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28712
6ee65ed6
UD
287132012-01-27 Ulrich Drepper <drepper@gmail.com>
28714
28715 [BZ #13618]
28716 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28717 relocation.
28718 * Makeconfig (libm): Define.
28719 * elf/Makefile: Add rules to build and run tst-relsort1.
28720 * elf/tst-relsort1.c: New file.
28721 * elf/tst-relsort1mod1.c: New file.
28722 * elf/tst-relsort1mod2.c: New file.
28723
8db21882
JM
287242012-01-27 Joseph Myers <joseph@codesourcery.com>
28725
28726 * math/s_ldexp.c: Remove __STDC__ conditionals.
28727 * math/s_ldexpf.c: Likewise.
28728 * math/s_ldexpl.c: Likewise.
28729 * math/s_nextafter.c: Likewise.
28730 * math/s_nexttowardf.c: Likewise.
28731 * math/s_significand.c: Likewise.
28732 * math/s_significandf.c: Likewise.
28733 * math/s_significandl.c: Likewise.
28734 * math/w_jnl.c: Likewise.
28735 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28736 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28737 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28738 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28739 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28740 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28741 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28742 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28743 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28744 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28745 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28746 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28747 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28748 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28749 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28750 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28751 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28752 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28753 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28754 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28755 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28756 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28757 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28758 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28759 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28760 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28761 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28762 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28763 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28764 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28765 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28766 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28767 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28768 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28769 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28770 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28771 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28772 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28773 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28774 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28775 * sysdeps/ieee754/k_standard.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28786 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28787 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28788 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28789 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28793 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28794 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28795 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28796 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28797 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28798 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28801 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28802 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28803 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28804 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28805 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28806 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28808 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28809 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28810 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28811 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28812 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28813 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28814 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28818 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28821 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28823 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28824 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28825 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28827 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28831 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28832 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28833 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28834 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28835 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28837 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28838 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28839 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28840 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28841 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28842 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28843 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28844 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28845 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28847 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28848 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28849 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28850 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28851 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28854 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28855 * sysdeps/ieee754/s_matherr.c: Likewise.
28856 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28857 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28858 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28859 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28860
965a54a4
JM
288612012-01-26 Joseph Myers <joseph@codesourcery.com>
28862
28863 * crypt/md5.h: Remove __STDC__ conditionals.
28864 * libio/libioP.h: Likewise.
28865 * locale/programs/config.h: Likewise.
28866 * sysdeps/generic/sysdep.h: Likewise.
28867 * sysdeps/i386/asm-syntax.h: Likewise.
28868 * sysdeps/s390/asm-syntax.h: Likewise.
28869 * sysdeps/unix/sysdep.h: Likewise.
28870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28872
7071ad79
JM
288732012-01-26 Joseph Myers <joseph@codesourcery.com>
28874
28875 * libio/libio.h: Remove __STDC__ conditionals.
28876 * malloc/obstack.h: Likewise.
28877 * math/complex.h: Likewise.
28878 * math/math.h: Likewise.
28879 * sysdeps/generic/_G_config.h: Likewise.
28880 * sysdeps/gnu/_G_config.h: Likewise.
28881 * sysdeps/mach/hurd/_G_config.h: Likewise.
28882 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28883 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28884 * sysdeps/sparc/bits/mathdef.h: Likewise.
28885
afc5ed09
UD
288862012-01-26 Ulrich Drepper <drepper@gmail.com>
28887
28888 [BZ #13583]
28889 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28890 Clean up HAS_* macros.
afc5ed09 28891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28892 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28893 possible.
28894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28895 HAS_AVX.
28896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28897 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28898 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28899 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28900 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28901
bdb6de1d
JM
289022012-01-25 Joseph Myers <joseph@codesourcery.com>
28903
28904 * elf/tst-unique3.cc (gets): Remove declaration.
28905 * elf/tst-unique3lib.cc (gets): Likewise.
28906 * elf/tst-unique3lib2.cc (gets): Likewise.
28907 * elf/tst-unique4.cc (gets): Likewise.
28908
b15549e6
UD
289092012-01-24 Ulrich Drepper <drepper@gmail.com>
28910
28911 * include/stdio.h: Add C++ protection. Add gets declarations and
28912 definitions.
28913 * debug/tst-chk1.c: Don't declare gets here.
28914 * stdio-common/tst-gets.c: Likewise.
28915
a037381f
JM
289162012-01-24 Joseph Myers <joseph@codesourcery.com>
28917
28918 * posix/glob: Remove directory.
28919
f1d4aa75
JM
289202012-01-24 Joseph Myers <joseph@codesourcery.com>
28921
28922 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28923
81c0c964
PT
289242012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28925
28926 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28927 of the non-standard EPFNOSUPPORT.
28928
0ea698ae
ST
289292011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28930
28931 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28932 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28933 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28934
d220b117
UD
289352012-01-21 Ulrich Drepper <drepper@gmail.com>
28936
28937 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28938
3e1aa84e
UD
289392012-01-20 Ulrich Drepper <drepper@gmail.com>
28940
28941 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28942 transient errors.
28943 * nscd/grpcache.c (cache_addgr): Likewise.
28944 * nscd/hstcache.c (cache_addhst): Likewise.
28945 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28946 * nscd/pwdcache.c (cache_addpw): Likewise.
28947 * nscd/servicescache.c (cache_addserv): Likewise.
28948
400aa020
UD
289492012-01-16 Ulrich Drepper <drepper@gmail.com>
28950
d77e7869
UD
28951 * malloc/malloc.c: Various cleanups.
28952 * malloc/hooks.c: Likewise.
28953
400aa020
UD
28954 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28955 * stdlib/bug-fmtmsg1.c: New file.
28956
28957 * stdlib/fmtmsg.c (init): Add missing unlock.
28958 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28959
e0a309cf
MP
289602012-01-12 Marek Polacek <polacek@redhat.com>
28961
28962 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28963 and _GNU_SOURCE.
28964
929d11c7
WS
289652012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28966
28967 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28968 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28969 macro to ensure uniqueness of label name.
28970 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28971 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28972
41d0e869
UD
289732012-01-11 Ulrich Drepper <drepper@gmail.com>
28974
0cc5ed3b
UD
28975 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28976
41d0e869
UD
28977 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28978 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28979 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28980 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28981
a47a831a
UD
289822012-01-10 Ulrich Drepper <drepper@gmail.com>
28983
daa891c0
UD
28984 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28985
28986 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28987 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28988 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28989
e58ef0f2
UD
28990 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28991
a47a831a 28992 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28993 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28994 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28995 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28996
28997 * math/bits/math-finite.h: Add ldexp support.
28998
a0bfc9c7
MP
289992012-01-10 Marek Polacek <polacek@redhat.com>
29000
29001 * locale/programs/localedef.h (show_archive_content): Add noreturn
29002 attribute.
29003
d6e97a1d
UD
290042012-01-09 Ulrich Drepper <drepper@gmail.com>
29005
29006 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29007
d5835c26
UD
290082012-01-08 Ulrich Drepper <drepper@gmail.com>
29009
e5f484c6
UD
29010 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29011
d5835c26
UD
29012 * io/Makefile (headers): Add bits/poll2.h.
29013
d1f741e9
WS
290142011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29015
29016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29017 typo #include statement.
29018
ec09c1c4
UD
290192012-01-08 Ulrich Drepper <drepper@gmail.com>
29020
29021 * include/sys/cdefs.h: Define __attribute_alloc_size.
29022 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29023 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29024 * elf/pldd.c: Likewise.
29025 * iconv/iconv_charmap.c: Likewise.
29026 * iconv/iconvconfig.c: Likewise.
29027 * iconv/strtab.c: Likewise.
29028 * locale/programs/locale.c: Likewise.
29029 * locale/programs/localedef.h: Likewise.
29030 * locale/programs/simple-hash.c: Likewise.
29031 * nscd/nscd.h: Likewise.
29032 * nss/makedb.c: Likewise.
29033 * sysdeps/generic/ldconfig.h: Likewise.
29034 * locale/programs/localedef.c: Remove xmalloc prototype.
29035 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29036
20b38e03
PP
290372012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29038
29039 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29040 appropriate.
29041
a0da5fe1
UD
290422012-01-08 Ulrich Drepper <drepper@gmail.com>
29043
1d5a644a 29044 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29045 * math/tst-CMPLX.c: New file.
1d5a644a 29046
8784a6db
UD
29047 * math/complex.h (CMPLXL): Fix typo.
29048
d9a216c0
UD
29049 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29050 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29051 GLIBC_2.16.
29052 * debug/tst-chk1.c: Add poll and ppoll tests.
29053 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29054 * include/sys/poll.h: Add hidden proto for ppoll.
29055 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29056 * sysdeps/mach/hurd/ppoll.c: Likewise.
29057 * io/ppoll.c: Likewise.
29058 * debug/poll_chk.c: New file.
29059 * debug/ppoll_chk.c: New file.
29060 * include/bits/poll2.h: New file.
29061 * io/bits/poll2.h: New file.
29062
ac097f5c
UD
29063 [BZ #1350]
29064 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29065
2119dcfa
UD
29066 * configure.in: static is always set to yes. Remove.
29067 * config.make.in: Don't set build-static.
29068 * Makeconfig: Remove use of build-static.
29069 * dlfcn/Makefile: Likewise.
29070 * elf/Makefile: Likewise.
29071 * math/Makefile: Likewise.
29072 * misc/Makefile: Likewise.
29073 * nptl/Makefile: Likewise.
29074 * sysdeps/mach/hurd/Makefile: Likewise.
29075
121766a9
UD
29076 * configure.in: PWD_P is not used anymore.
29077 * config.make.in: Remove PWD_P entry.
29078
51a1d39c 29079 * configure.in: Remove last remnants of RANLIB.
8720d066 29080 No need to check for signed size_t anymore.
215f4bdc
UD
29081 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29082 and IA-64.
3857022a 29083 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29084 * aclocal.m4: Likewise.
29085
d3ed7225
UD
29086 * wcsmbs/mbrtoc16.c: Implement using towc function.
29087 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29088 * wcsmbs/wcsmbsload.c: Likewise.
29089 * iconv/gconv_simple.c: Likewise.
29090 * iconv/gconv_int.h: Likewise.
29091 * iconv/gconv_builtin.h: Likewise.
29092 * iconv/iconv_prog.c: Remove CHAR16 handling.
29093
29094 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29095
29096 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29097
a0da5fe1
UD
29098 * configure.in: Remove --with-elf and --enable-bounded options.
29099 Dont set base_machine for ia64. More non-ELF conditions removed.
29100 Remove testing and setting of leading underscore information.
29101 * config.make.in (build-bounded): Set to no.
29102 * config.h.in: Remove NO_UNDERSCORES entry.
29103 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29104 them.
29105 * csu/start.c: Remove !NO_UNDERSCORE code.
29106 * locale/localeinfo.h: Likewise.
29107 * sysdeps/generic/machine-gmon.h: Likewise.
29108 * sysdeps/generic/sysdep.h: Likewise.
29109 * sysdeps/i386/sysdep.h: Likewise.
29110 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29111 * sysdeps/mach/sysdep.h: Likewise.
29112 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29113 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29114 * sysdeps/sh/sysdep.h: Likewise.
29115 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29116 * sysdeps/unix/i386/sysdep.S: Likewise.
29117 * sysdeps/unix/sparc/start.c: Likewise.
29118 * sysdeps/unix/sparc/sysdep.S: Likewise.
29119 * sysdeps/unix/sparc/sysdep.h: Likewise.
29120 * sysdeps/unix/start.c: Likewise.
29121 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29122 * sysdeps/x86_64/sysdep.h: Likewise.
29123
df78418a
UD
291242012-01-07 Ulrich Drepper <drepper@gmail.com>
29125
a784e502
UD
29126 [BZ #13553]
29127 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29128 for non-gcc.
29129 * argp/argp-fmtstream.h: Use const instead __const.
29130 * argp/argp.h: Likewise.
29131 * assert/assert.h: Likewise.
29132 * bits/fenv.h: Likewise.
29133 * bits/sched.h: Likewise.
29134 * bits/sigset.h: Likewise.
29135 * bits/sigthread.h: Likewise.
29136 * catgets/nl_types.h: Likewise.
29137 * conform/data/pthread.h-data: Likewise.
29138 * crypt/crypt-private.h: Likewise.
29139 * crypt/crypt.h: Likewise.
29140 * crypt/crypt_util.c: Likewise.
29141 * ctype/ctype.h: Likewise.
29142 * debug/execinfo.h: Likewise.
29143 * debug/mbsnrtowcs_chk.c: Likewise.
29144 * debug/mbsrtowcs_chk.c: Likewise.
29145 * debug/wcsnrtombs_chk.c: Likewise.
29146 * debug/wcsrtombs_chk.c: Likewise.
29147 * debug/wcstombs_chk.c: Likewise.
29148 * dirent/dirent.h: Likewise.
29149 * dlfcn/dlfcn.h: Likewise.
29150 * elf/neededtest4.c: Likewise.
29151 * grp/grp.h: Likewise.
29152 * gshadow/gshadow.h: Likewise.
29153 * iconv/gconv.h: Likewise.
29154 * iconv/gconv_int.h: Likewise.
29155 * iconv/gconv_simple.c: Likewise.
29156 * iconv/iconv.h: Likewise.
29157 * iconv/loop.c: Likewise.
29158 * iconv/skeleton.c: Likewise.
29159 * include/aio.h: Likewise.
29160 * include/aliases.h: Likewise.
29161 * include/argz.h: Likewise.
29162 * include/arpa/inet.h: Likewise.
29163 * include/assert.h: Likewise.
29164 * include/dirent.h: Likewise.
29165 * include/dlfcn.h: Likewise.
29166 * include/execinfo.h: Likewise.
29167 * include/fcntl.h: Likewise.
29168 * include/fenv.h: Likewise.
29169 * include/glob.h: Likewise.
29170 * include/grp.h: Likewise.
29171 * include/libintl.h: Likewise.
29172 * include/mntent.h: Likewise.
29173 * include/netdb.h: Likewise.
29174 * include/pwd.h: Likewise.
29175 * include/rpc/netdb.h: Likewise.
29176 * include/sched.h: Likewise.
29177 * include/search.h: Likewise.
29178 * include/shadow.h: Likewise.
29179 * include/signal.h: Likewise.
29180 * include/stdio.h: Likewise.
29181 * include/stdlib.h: Likewise.
29182 * include/string.h: Likewise.
29183 * include/sys/socket.h: Likewise.
29184 * include/sys/stat.h: Likewise.
29185 * include/sys/statfs.h: Likewise.
29186 * include/sys/statvfs.h: Likewise.
29187 * include/sys/syslog.h: Likewise.
29188 * include/sys/time.h: Likewise.
29189 * include/sys/uio.h: Likewise.
29190 * include/time.h: Likewise.
29191 * include/unistd.h: Likewise.
29192 * include/utmp.h: Likewise.
29193 * include/wchar.h: Likewise.
29194 * include/wctype.h: Likewise.
29195 * inet/aliases.h: Likewise.
29196 * inet/arpa/inet.h: Likewise.
29197 * inet/netinet/ether.h: Likewise.
29198 * inet/netinet/in.h: Likewise.
29199 * intl/libintl.h: Likewise.
29200 * io/bits/fcntl2.h: Likewise.
29201 * io/fcntl.h: Likewise.
29202 * io/ftw.h: Likewise.
29203 * io/sys/poll.h: Likewise.
29204 * io/sys/stat.h: Likewise.
29205 * io/sys/statfs.h: Likewise.
29206 * io/sys/statvfs.h: Likewise.
29207 * io/utime.h: Likewise.
29208 * libio/bits/stdio.h: Likewise.
29209 * libio/bits/stdio2.h: Likewise.
29210 * libio/libio.h: Likewise.
29211 * libio/libioP.h: Likewise.
29212 * libio/stdio.h: Likewise.
29213 * locale/lc-ctype.c: Likewise.
29214 * locale/locale.h: Likewise.
29215 * login/utmp.h: Likewise.
29216 * malloc/arena.c: Likewise.
29217 * malloc/malloc.c: Likewise.
29218 * malloc/malloc.h: Likewise.
29219 * malloc/mcheck.c: Likewise.
29220 * malloc/mtrace.c: Likewise.
29221 * math/bits/mathcalls.h: Likewise.
29222 * math/fenv.h: Likewise.
29223 * math/math_private.h: Likewise.
29224 * misc/bits/error.h: Likewise.
29225 * misc/bits/syslog.h: Likewise.
29226 * misc/err.h: Likewise.
29227 * misc/error.h: Likewise.
29228 * misc/fstab.h: Likewise.
29229 * misc/mntent.h: Likewise.
29230 * misc/regexp.h: Likewise.
29231 * misc/search.h: Likewise.
29232 * misc/sgtty.h: Likewise.
29233 * misc/sys/mman.h: Likewise.
29234 * misc/sys/syslog.h: Likewise.
29235 * misc/sys/uio.h: Likewise.
29236 * misc/sys/xattr.h: Likewise.
29237 * misc/ttyent.h: Likewise.
29238 * nis/rpcsvc/ypclnt.h: Likewise.
29239 * nss/nss.h: Likewise.
29240 * posix/bits/unistd.h: Likewise.
29241 * posix/fnmatch.h: Likewise.
29242 * posix/glob.h: Likewise.
29243 * posix/sched.h: Likewise.
29244 * posix/spawn.h: Likewise.
29245 * posix/sys/wait.h: Likewise.
29246 * posix/unistd.h: Likewise.
29247 * posix/wordexp.h: Likewise.
29248 * pwd/pwd.h: Likewise.
29249 * resolv/netdb.h: Likewise.
29250 * resource/sys/resource.h: Likewise.
29251 * rt/aio.h: Likewise.
29252 * rt/bits/mqueue2.h: Likewise.
29253 * rt/mqueue.h: Likewise.
29254 * shadow/shadow.h: Likewise.
29255 * signal/signal.h: Likewise.
29256 * socket/send.c: Likewise.
29257 * socket/sendto.c: Likewise.
29258 * socket/sys/socket.h: Likewise.
29259 * stdio-common/printf.h: Likewise.
29260 * stdlib/bits/stdlib.h: Likewise.
29261 * stdlib/fmtmsg.h: Likewise.
29262 * stdlib/monetary.h: Likewise.
29263 * stdlib/stdlib.h: Likewise.
29264 * stdlib/ucontext.h: Likewise.
29265 * streams/stropts.h: Likewise.
29266 * string/argz.h: Likewise.
29267 * string/bits/string2.h: Likewise.
29268 * string/string.h: Likewise.
29269 * string/strings.h: Likewise.
29270 * sunrpc/rpc/auth.h: Likewise.
29271 * sunrpc/rpc/auth_des.h: Likewise.
29272 * sunrpc/rpc/clnt.h: Likewise.
29273 * sunrpc/rpc/netdb.h: Likewise.
29274 * sunrpc/rpc/pmap_clnt.h: Likewise.
29275 * sunrpc/rpc/xdr.h: Likewise.
29276 * sysdeps/generic/inttypes.h: Likewise.
29277 * sysdeps/generic/net/if.h: Likewise.
29278 * sysdeps/generic/sys/swap.h: Likewise.
29279 * sysdeps/gnu/net/if.h: Likewise.
29280 * sysdeps/gnu/utmpx.h: Likewise.
29281 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29282 * sysdeps/i386/i486/bits/string.h: Likewise.
29283 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29284 * sysdeps/s390/bits/string.h: Likewise.
29285 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29286 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29287 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29288 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29289 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29290 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29291 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29292 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29293 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29294 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29295 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29296 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29297 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29298 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29299 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29300 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29301 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29303 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29304 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29305 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29306 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29307 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29308 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29309 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29310 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29311 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29312 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29313 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29314 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29315 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29316 * sysvipc/sys/ipc.h: Likewise.
29317 * sysvipc/sys/msg.h: Likewise.
29318 * sysvipc/sys/sem.h: Likewise.
29319 * sysvipc/sys/shm.h: Likewise.
29320 * termios/termios.h: Likewise.
29321 * time/sys/time.h: Likewise.
29322 * time/time.h: Likewise.
29323 * wcsmbs/bits/wchar2.h: Likewise.
29324 * wcsmbs/uchar.h: Likewise.
29325 * wcsmbs/wchar.h: Likewise.
29326 * wctype/wctype.h: Likewise.
29327
0269750c
UD
29328 [BZ #13551]
29329 * Makeconfig: Remove all but ELF support including AIX support.
29330 * Makerules: Likewise.
29331 * config.h.in: Likewise.
29332 * config.make.in: Likewise.
29333 * configure: Likewise.
29334 * configure.in: Likewise.
29335 * csu/Makefile: Likewise.
29336 * csu/version.c: Likewise.
29337 * debug/Makefile: Likewise.
29338 * dlfcn/Makefile: Likewise.
29339 * elf/Makefile: Likewise.
29340 * extra-lib.mk: Likewise.
29341 * iconv/Makefile: Likewise.
29342 * include/libc-symbols.h: Likewise.
29343 * include/shlib-compat.h: Likewise.
29344 * resolv/Makefile: Likewise.
29345 * resolv/res_libc.c: Likewise.
29346 * rt/Makefile: Likewise.
29347 * sysdeps/i386/asm-syntax.h: Likewise.
29348 * sysdeps/i386/sysdep.h: Likewise.
29349 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29350 * sysdeps/mach/sysdep.h: Likewise.
29351 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29352 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29353 * sysdeps/s390/asm-syntax.h: Likewise.
29354 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29355 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29356 * sysdeps/sh/sysdep.h: Likewise.
29357 * sysdeps/unix/sparc/sysdep.h: Likewise.
29358 * sysdeps/wordsize-32/divdi3.c: Likewise.
29359 * sysdeps/x86_64/sysdep.h: Likewise.
29360
00bbd29b
UD
29361 * argp/Versions: Remove _argp_unlock_xxx.
29362
29363 [BZ #13559]
29364 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29365 * abilist/libBrokenLocale.abilist: Likewise.
29366 * abilist/libanl.abilist: Likewise.
29367 * abilist/libc.abilist: Likewise.
29368 * abilist/libcrypt.abilist: Likewise.
29369 * abilist/libdl.abilist: Likewise.
29370 * abilist/libm.abilist: Likewise.
29371 * abilist/libnsl.abilist: Likewise.
29372 * abilist/libpthread.abilist: Likewise.
29373 * abilist/libresolv.abilist: Likewise.
29374 * abilist/librt.abilist: Likewise.
29375 * abilist/libthread_db.abilist: Likewise.
29376 * abilist/libutil.abilist: Likewise.
29377 * abilist/libnss_db.abilist: New file.
29378
29379 * scripts/abilist.awk: Add support for indirect functions.
29380
a2693a0e
UD
29381 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29382
3f05895f
UD
29383 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29384
ecb6fb48
UD
29385 * shlib-versions: Remove entries for ports architectures.
29386
664f8cb9
UD
29387 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29388 files in ports.
29389 * elf/stackguard-macros.h: Remove support for IA-64.
29390 * elf/tst-auditmod1.c: Likewise.
29391 * sysdeps/generic/ldsodefs.h: Likewise.
29392
7ae81d88
UD
29393 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29394 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29395 configure files.
29396
bdeba135
UD
29397 [BZ #13552]
29398 * configure.in: Remove --enable-omitfp support.
29399 * FAQ.in: Adjust.
29400 * config.make.in: Likewise.
29401 * Makeconfig: Likewise.
29402 * manual/install.texi: Likewise.
29403
d75a0a62
UD
29404 In case anyone cares, the IA-64 architecture could move to ports.
29405 * sysdeps/ia64/*: Removed.
29406 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29407 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29408
dcc9756b
UD
29409 [BZ #13555]
29410 * configure.in: Remove entries for unsupported architectures.
29411
d3761ebc 29412 [BZ #13533]
9954432e
UD
29413 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29414 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29415 routines.
29416 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29417 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29418 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29419 fall back to using wcrtomb.
29420 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29421 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29422 renaming.
29423 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29424 * wcsmbs/tst-c16c32-1.c: New file.
29425
29426 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29427 local variable.
29428
c3a87236
UD
29429 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29430
28926a1b
UD
29431 * elf/tst-unique3.cc: Add explicit declaration of gets.
29432 * elf/tst-unique3lib.cc: Likewise.
29433 * elf/tst-unique3lib2.cc: Likewise.
29434 * elf/tst-unique4.cc: Likewise.
29435
df78418a
UD
29436 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29437
8ecd6b2a
JM
294382012-01-06 Joseph Myers <joseph@codesourcery.com>
29439
29440 [BZ #13566]
29441 * assert/assert.h (static_assert): Don't define for C++.
29442 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29443 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29444
9f115170
UD
294452012-01-03 Ulrich Drepper <drepper@gmail.com>
29446
5e0d0300
UD
29447 * iconv/loop.c (single loop): Fix assertion in storing of
29448 remaining bytes.
29449
9f115170
UD
29450 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29451
81fb02b0
UD
294522012-01-01 Ulrich Drepper <drepper@gmail.com>
29453
29454 * posix/getconf.c: Update copyright year.
29455 * nss/getent.c: Likewise.
a316c1f6 29456 * nss/makedb.c: Likewise.
81fb02b0
UD
29457 * iconv/iconvconfig.c: Likewise.
29458 * iconv/iconv_prog.c: Likewise.
29459 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29460 * elf/pldd.c: Likewise.
29461 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29462 * catgets/gencat.c: Likewise.
29463 * csu/version.c: Likewise.
29464 * elf/ldd.bash.in: Likewise.
29465 * elf/sprof.c (print_version): Likewise.
29466 * locale/programs/locale.c: Likewise.
29467 * locale/programs/localedef.c: Likewise.
a316c1f6 29468 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29469 * nscd/nscd.c (print_version): Likewise.
29470 * debug/xtrace.sh: Likewise.
29471 * malloc/memusage.sh: Likewise.
29472 * malloc/mtrace.pl: Likewise.
29473 * debug/catchsegv.sh: Likewise.
29474
2ba92745
JJ
294752011-12-30 Jakub Jelinek <jakub@redhat.com>
29476
29477 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29478 pure attribute.
29479
dadebdae
UD
294802011-12-24 Ulrich Drepper <drepper@gmail.com>
29481
d3761ebc 29482 [BZ #13533]
db6af3eb
UD
29483 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29484 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29485 transformations.
29486 * iconv/gconv_int.h: Likewise.
29487 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29488 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29489 from libc for GLIBC_2.16.
29490 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29491 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29492 * wcsmbs/uchar.h: Really define mbstate_t.
29493 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29494 * wcsmbs/c16rtomb.c: New file.
29495 * wcsmbs/mbrtoc16.c: New file.
29496 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29497 for C/POSIX locale.
29498 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29499 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29500
dadebdae
UD
29501 * wcsmbs/wchar.h: Add missing __restrict.
29502
67371b56
UD
295032011-12-23 Ulrich Drepper <drepper@gmail.com>
29504
74033a25
UD
29505 [BZ #13532]
29506 * time/Makefile (routines): Add timespec_get.
29507 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29508 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29509 timespec for ISO C11.
29510 * time/timespec_get.c: New file.
29511 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29512 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29513
380d7e87
UD
29514 [BZ #13531]
29515 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29516 * stdlib/stdlib.h: Declare aligned_alloc.
29517 * Versions.def: Add GLIBC_2.16 for libc.
29518 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29519
4e9e7a35
UD
29520 [BZ 13527]
29521 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29522 ISO C11.
29523
380d7e87 29524 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29525 code.
29526
03a71829
UD
29527 [BZ #13528]
29528 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29529
839e283e
UD
29530 [BZ #13529]
29531 * assert/assert.h (static_assert): Define.
29532
ce5294e2 29533 * version.h: Update for 2.16 development version.
90fa7312 29534
8d44e150 29535 [BZ #13526]
d7809905
UD
29536 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29537 _ISOC11_SOURCE.
29538
c0da14cd
UD
29539 * version.h (RELEASE): Bump for 2.15 release.
29540 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29541
530a3249
MP
29542 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29543 Patch by Marek Polacek <mpolacek@redhat.com>.
29544
67371b56
UD
29545 * bits/byteswap.h: Protect long long constants with __extension__.
29546 * sysdeps/i386/bits/byteswap.h: Likewise.
29547 * sysdeps/ia64/bits/byteswap.h: Likewise.
29548 * sysdeps/s390/bits/byteswap.h: Likewise.
29549 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29550
15db4de1
LD
295512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29552
29553 [BZ #13540]
bbe315ea
LD
29554 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29555 destination buffer.
15db4de1
LD
29556 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29557
2b2596b1
MP
295582011-12-23 Marek Polacek <polacek@redhat.com>
29559
29560 * elf/dl-addr.c (determine_info): Add inline keyword.
29561 * elf/tst-auditmod4b.c (check_avx): Likewise.
29562 * elf/tst-auditmod6b.c (check_avx): Likewise.
29563 * elf/tst-auditmod6c.c (check_avx): Likewise.
29564 * elf/tst-auditmod7b.c (check_avx): Likewise.
29565
70c6c246
UD
295662011-12-23 Ulrich Drepper <drepper@gmail.com>
29567
29568 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29569 !__SSE_MATH__.
29570
c044cf14
LD
295712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29572
15db4de1 29573 [BZ #13540]
c044cf14
LD
29574 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29575 processing for last bytes.
29576
6b13d9d9
BH
295772011-08-06 Bruno Haible <bruno@clisp.org>
29578
d455f537
BH
29579 [BZ #13061]
29580 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29581 U+0385, not to U+1FEE.
29582
6b13d9d9
BH
29583 [BZ #13062]
29584 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29585 entry for U+00A5 U+0301.
29586
db910efd
UD
295872011-12-22 Ulrich Drepper <drepper@gmail.com>
29588
27deeafc
UD
29589 [BZ #13166]
29590 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29591 buffer for the output is too small.
29592
aed9d171
UD
29593 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29594 optimization.
29595
db910efd
UD
29596 [BZ #13185]
29597 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29598 SSE flags if possible.
29599
2bd779ae
LD
296002011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29601
e7f9dac3 29602 [BZ #13540]
2bd779ae
LD
29603 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29604 processing for last bytes.
29605
154bfc16
JM
296062011-12-22 Joseph Myers <joseph@codesourcery.com>
29607
29608 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29609 (syscall-list-default-options, syscall-list-default-condition)
29610 (syscall-list-includes): Define.
29611 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29612 list of ABIs and options and #if conditions for each ABI. Do not
29613 handle common syscalls between ABIs specially.
29614 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29615 Remove.
29616 (syscall-list-variants, syscall-list-32bit-options)
29617 (syscall-list-32bit-condition, syscall-list-64bit-options)
29618 (syscall-list-64bit-condition): Define.
29619 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29620 (syscall-list-variants, syscall-list-32bit-options)
29621 (syscall-list-32bit-condition, syscall-list-64bit-options)
29622 (syscall-list-64bit-condition): Define.
29623 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29624 Remove.
29625 (syscall-list-variants, syscall-list-32bit-options)
29626 (syscall-list-32bit-condition, syscall-list-64bit-options)
29627 (syscall-list-64bit-condition): Define.
29628 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29629 Remove.
29630 (syscall-list-variants, syscall-list-32bit-options)
29631 (syscall-list-32bit-condition, syscall-list-64bit-options)
29632 (syscall-list-64bit-condition): Define.
29633
21eaf3a5
UD
296342011-12-22 Ulrich Drepper <drepper@gmail.com>
29635
16c6f992
UD
29636 * locale/iso-639.def: Add brx entry.
29637
41043168
UD
29638 [BZ #13328]
29639 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29640 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29641
21eaf3a5
UD
29642 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29643 __feraiseexcept_renamed.
29644
e3a851a2
UD
296452011-12-21 Ulrich Drepper <drepper@gmail.com>
29646
4920765e
UD
29647 [BZ #13538]
29648 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29649 EPOLLET with unsigned values.
29650 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29651 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29652
e3a851a2
UD
29653 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29654 to large cancellation.
29655 * math/s_cacoshf.c: Likewise.
29656 * math/s_cacoshl.c: Likewise.
29657
b27e24b8
RK
296582011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29659
29660 [BZ #13305]
aebefeee 29661 [BZ #12786]
b27e24b8
RK
29662 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29663 * math/s_cacoshf.c: Likewise.
29664 * math/s_cacoshl.c: Likewise.
29665
ee190f67
UD
296662011-12-21 Ulrich Drepper <drepper@gmail.com>
29667
29668 [BZ #13439]
29669 * iconv/gconv.h: Define __GCONV_SWAP.
29670 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29671 * iconvdata/utf-16.c: Likewise.
29672 * iconvdata/utf-32.c: Likewise.
29673
707f25df
AS
296742011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29675
29676 [BZ #13524]
29677 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29678 numerator after shifting it by one limb.
29679
d2daaa1e
RÁE
296802011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29681
29682 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29683 under [__USE_EXTERN_INLINES].
29684
a4647e72
UD
296852011-12-17 Ulrich Drepper <drepper@gmail.com>
29686
29687 [BZ #13446]
29688 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29689
f0b264f1
AZ
296902011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29691
29692 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29693 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29694 optimized code.
29695 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29696 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29697 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29698 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29699 for strncasecmp/strncasecmp_l compilation.
29700 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29701 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29702
8ef4f244
MP
297032011-12-08 Marek Polacek <mpolacek@redhat.com>
29704
29705 [BZ #13484]
29706 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29707 of __asm__.
29708
97ac2654
UD
297092011-12-17 Ulrich Drepper <drepper@gmail.com>
29710
29711 [BZ #13506]
29712 * time/tzfile.c (__tzfile_read): Check values from file header.
29713
91d2a845
WS
297142011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29715
29716 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29717 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29718 * powerpc/powerpc32/dl-start.S: Likewise.
29719 * powerpc/powerpc32/elf/start.S: Likewise.
29720 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29721 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29722 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29723 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29724 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29725 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29726 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29727 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29728 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29729 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29730 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29731 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29732 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29733 * powerpc/powerpc32/memset.S: Likewise.
29734 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29735 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29736 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29737 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29738 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29739 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29740 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29741 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29742 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29743 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29744 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29745 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29746 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29747
a1267ba1
AZ
297482011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29749
29750 * math/libm-test.inc: Added more nearbyint tests.
29751 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29752 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29753 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29754 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29755
ad8ac1bd
RL
297562011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29757
29758 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29759 FD_CLOEXEC.
29760
1d3e4b61
UD
297612011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29762
29763 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29764 Add wcscpy-ssse3 wcscpy-c.
29765 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29766 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29767 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29768 * sysdeps/x86_64/wcschr.S: New file.
29769 * sysdeps/x86_64/wcsrchr.S: New file.
29770 * string/test-strcmp.c: Remove checking of wcscmp function for
29771 wrong alignments.
29772 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29773 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29774 wcsrchr-sse2 wcsrchr-c.
29775 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29776 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29777 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29778 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29779 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29780 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29781 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29782 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29783 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29784 * wcsmbc/wcschr.c (WCSCHR): New macro.
29785
5b330a2d
UD
297862011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29787
29788 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29789 * wcsmbs/test-wcsrchr.c: New file.
29790 * string/test-strrchr.c: Add wcsrchr support.
29791 (WIDE): New macro.
29792 * wcsmbs/test-wcscpy.c: New file.
29793 * string/test-strcpy.c: Add wcscpy support.
29794 (WIDE): New macro.
26428b7c 29795
f039c043
UD
297962011-12-10 Ulrich Drepper <drepper@gmail.com>
29797
29798 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29799 the inner loop.
29800
850fb039
AS
298012011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29802
29803 [BZ #13472]
29804 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29805
4efbd5cb
UD
298062011-12-04 Ulrich Drepper <drepper@gmail.com>
29807
52ff5dd0 29808 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29809 Minor optimizations.
52ff5dd0 29810
4efbd5cb
UD
29811 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29812 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29813 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29814
8a426e12
UD
298152011-12-03 Ulrich Drepper <drepper@gmail.com>
29816
aff2453d
UD
29817 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29818 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29819 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29820 for gcc to avoid warnings.
29821 * inet/Makefile (tests): Add tst-checks.
29822 * inet/tst-checks.c: New file.
29823
29824 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29825 warning.
29826
29827 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29828 __wmemcmp_sse2.
29829
29830 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29831 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29832
8a426e12
UD
29833 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29834
9bea3473
UD
298352011-12-02 Ulrich Drepper <drepper@gmail.com>
29836
3a965496
UD
29837 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29838 problem.
29839
9bea3473
UD
29840 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29841
f101631b
UD
298422011-11-29 Joseph Myers <joseph@codesourcery.com>
29843
29844 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29845 conditional on GCC version.
29846 (__arch_compare_and_exchange_val_8_acq)
29847 (__arch_compare_and_exchange_val_16_acq)
29848 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29849 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29850 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29851
a98275aa
UD
298522011-12-02 Joseph Myers <joseph@codesourcery.com>
29853
29854 * sysdeps/sh/backtrace.c: New file.
29855
d4cc29a2
AS
298562011-12-02 Andreas Schwab <schwab@redhat.com>
29857
29858 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29859 parenthesis.
29860
6257af2d
AS
298612011-12-01 Andreas Schwab <schwab@redhat.com>
29862
29863 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29864 falling back to utime.
29865
b5f44c1a
AS
298662011-11-30 Andreas Schwab <schwab@redhat.com>
29867
29868 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29869 expectations for float.
29870
f3a6cc0a
AS
298712011-11-29 Andreas Schwab <schwab@redhat.com>
29872
29873 * locale/weight.h (findidx): Add parameter len.
29874 * locale/weightwc.h (findidx): Likewise.
29875 * posix/fnmatch_loop.c (FCT): Adjust caller.
29876 * posix/regcomp.c (build_equiv_class): Likewise.
29877 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29878 * posix/regexec.c (check_node_accept_bytes): Likewise.
29879 * string/strcoll_l.c (STRCOLL): Likewise.
29880 * string/strxfrm_l.c (STRXFRM): Likewise.
29881
9d65ea3a
UD
298822011-11-17 Ulrich Drepper <drepper@gmail.com>
29883
29884 * Makefile.in: Remove CVSOPT handling.
29885 * configure.in: Remove use of AC_REVISION.
29886 * iconvdata/Makefile (distribute): No need to filter out CVS.
29887 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29888 handling.
29889
5583a086
AS
298902011-11-16 Andreas Schwab <schwab@redhat.com>
29891
29892 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29893 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29894 [USE_AS_STRNCASECMP_L]: Likewise.
29895 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29896 NO_TLS_DIRECT_SEG_REFS.
29897 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29898 Fix argument offsets for non-PIC.
29899 [USE_AS_STRNCASECMP_L]: Likewise.
29900 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29901 NO_TLS_DIRECT_SEG_REFS.
29902
d62a8200
UD
299032011-11-15 Ulrich Drepper <drepper@gmail.com>
29904
9d65ea3a 29905 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29906 O_CLOEXEC.
29907 * locale/loadlocale.c (_nl_load_locale): Likewise.
29908
09f93bd3
AS
299092011-11-15 Andreas Schwab <schwab@redhat.com>
29910
446514f9
AS
29911 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29912 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29913 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29914 (SYSCALL_GETTIME): Set errno on error.
29915
09f93bd3
AS
29916 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29917 count references to noai6ai_cached.
29918
312be3f9
UD
299192011-11-15 Ulrich Drepper <drepper@gmail.com>
29920
29921 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29922
29923 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29924 FD_CLOEXEC for /proc/self/maps.
29925
29926 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29927 FD_CLOEXEC for /proc/meminfo.
29928
29929 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29930 gai.conf.
29931
29932 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29933 FD_CLOEXEC for given file.
29934
29935 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29936
29937 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29938 FD_CLOEXEC for /etc/hosts.
29939 (_gethtent): Likewise.
29940
29941 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29942
29943 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29944 cancellation and set FD_CLOEXEC for /etc/netgroup.
29945
29946 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29947 reading /etc/publickey.
29948
29949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29950 allow cancellation when reading /etc/group.
29951
29952 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29953 cancellation.
29954 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29955
29956 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29957 when using data file.
29958
29959 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29960
29961 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29962 (write_nis_obj): Use "c" and "e" in fopen.
29963
29964 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29965
29966 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29967
29968 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29969
29970 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29971
29972 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29973 locale.alias.
29974
29975 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29976
29977 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29978
29979 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29980
29981 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29982 file parsing and set FD_CLOEXEC.
29983
82af0fa8
UD
299842011-11-14 Ulrich Drepper <drepper@gmail.com>
29985
29986 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29987
a5fb313c
AS
299882011-11-14 Andreas Schwab <schwab@redhat.com>
29989
29990 * malloc/arena.c (arena_get2): Don't call reused_arena when
29991 _int_new_arena failed.
29992
6abf3465
UD
299932011-11-14 Ulrich Drepper <drepper@gmail.com>
29994
29995 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29996 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29997 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29998 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29999 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30000 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30001 to compile strcasecmp and strncasecmp.
30002 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30003 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30004
30005 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30006
76e3966e
UD
300072011-11-13 Ulrich Drepper <drepper@gmail.com>
30008
30009 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30010 locale-defines.sym to gen-as-const-headers.
30011 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30012 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30013 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30014 to compile strcasecmp and strncasecmp.
30015 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30016 strcasecmp_l and strncasecmp_l.
30017 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30018 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30019 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30020 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30021 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30022 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30023 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30024 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30025 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30026 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30027 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30028
ab26144e
UD
300292011-11-12 Ulrich Drepper <drepper@gmail.com>
30030
7edb22ef
UD
30031 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30032 result of SYSDEP_GETTIME_CPU to retval.
30033 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30034 parameter list to macro. Remove trailing semicolon. Adjust users.
30035
9694fc44
UD
30036 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30037 variable.
30038
8ad89ef8
UD
30039 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30040 mantissa words.
30041 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30042
0c822ef9
UD
30043 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30044 from unused variable.
30045
874e0564
UD
30046 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30047 DWARF definitions.
30048 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30049 for assembling.
30050
3a2edc79
UD
30051 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30052 over namespaces.
30053
f3c2577f
UD
30054 * sunrpc/rpc_prot.c (rejected): Fix case value.
30055
294ce126
UD
30056 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30057 unsigned long long int to avoid warnings in shift.
30058
5e2b63c6
UD
30059 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30060 of use of trans.
30061 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30062 variable tmp.
30063
e7f4b08e
UD
30064 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30065 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30066 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30067
ab26144e
UD
30068 * nis/nis_table.c (nis_list): Use variable of correct type for
30069 result of __follow_path call.
30070
8a6d5255
AZ
300712011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30072
30073 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30074 of math functions ceil, trunc, floor, round, and sqrt, when
30075 avaliable on the platform.
30076 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30077 name clash.
30078 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30079 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30080 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30081
aaddc98c
MP
300822011-10-30 Marek Polacek <mpolacek@redhat.com>
30083
30084 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30085 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30086
95b7042b
RM
300872011-11-11 Roland McGrath <roland@hack.frob.com>
30088
30089 * include/unistd.h: Fix __readlink return type.
30090 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30091
57769839
UD
300922011-11-11 Ulrich Drepper <drepper@gmail.com>
30093
30094 * stdlib/ucontext.h: Undo last change for makecontext.
30095
edc5984d
AS
300962011-11-11 Andreas Schwab <schwab@redhat.com>
30097
98591e58
AS
30098 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30099
edc5984d
AS
30100 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30101 * setjmp/setjmp.h: Mark functions as non-leaf.
30102 * setjmp/bits/setjmp2.h: Likewise.
30103 * stdlib/ucontext.h: Likewise.
30104
77cdc054
AS
301052011-11-10 Andreas Schwab <schwab@redhat.com>
30106
30107 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30108 (reused_arena): Don't check arena limit.
30109 (arena_get2): Atomically check arena limit.
30110
fe72eebd
UD
301112011-11-08 Ulrich Drepper <drepper@gmail.com>
30112
5f078c32
UD
30113 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30114 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30115
fe72eebd
UD
30116 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30117 instructions.
30118
ae1bc2fa
AS
301192011-11-07 Andreas Schwab <schwab@redhat.com>
30120
7583a88d
AS
30121 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30122 handler when locking.
30123
ae1bc2fa
AS
30124 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30125 Fix size of allocated buffer.
30126
10fb0bfa
AS
301272011-11-04 Andreas Schwab <schwab@redhat.com>
30128
998832a4
AS
30129 [BZ #10103]
30130 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30131 declarations for long double functions.
30132 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30133
10fb0bfa
AS
30134 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30135
3d7ba52b
AS
301362011-11-03 Andreas Schwab <schwab@redhat.com>
30137
a9ae54a1
AS
30138 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30139 installed.
30140
3d7ba52b
AS
30141 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30142 is disabled.
30143
bc8db248
ST
301442011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30145
30146 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30147
45b96dd6
AS
301482011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30149
647776f6
AS
30150 * include/alloca.h (stackinfo_alloca_round): Define.
30151 (extend_alloca): Use it.
30152 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30153 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30154 here.
30155
d91a8b93
AS
30156 * scripts/check-local-headers.sh: Ignore libaudit.h.
30157
45b96dd6
AS
30158 * nscd/Makefile (extra-objs): Make recursively expanded.
30159
432d41ce
UD
301602011-11-01 Ulrich Drepper <drepper@gmail.com>
30161
34372fc6
UD
30162 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30163 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30164
fadb59f8
UD
30165 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30166 * posix/tst-rfc3484-2.c: Likewise.
30167 * posix/tst-rfc3484-3.c: Likewise.
30168
78239589
UD
30169 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30170 process_vm_writev.
30171 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30172 process_vm_writev.
30173 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30174 process_vm_writev from libc using GLIBC_2.15 version.
30175
432d41ce
UD
30176 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30177
02f9c6cf
PP
301782011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30179
30180 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30181 stack usage.
30182
3a2c0242
UD
301832011-10-31 Ulrich Drepper <drepper@gmail.com>
30184
f4ec4833
UD
30185 [BZ #13367]
30186 * nss/getent.c (initgroups_keys): Show error message in case no group
30187 names are given.
30188
3a2c0242
UD
30189 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30190 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30191 __bump_nl_timestamp.
30192 * nscd/connections (nscd_init): When host database is served open
30193 netlink socket and request notification about configuration changes.
30194 (main_loop_poll): Track netlink file descriptor and bump timestamp
30195 in case data becomes available.
30196 (main_loop_epoll): Likewise.
30197 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30198 (database_pers_head): Add extra_data fileds.
30199 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30200 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30201 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30202 Adjust caller.
30203 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30204 in6ai data, call __free_in6ai.
30205 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30206 Add -DHAVE_NETLINK.
30207 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30208 interface information. Reuse previous data if netlink timestamp
30209 is not changed.
30210 (__bump_nl_timestamp): New function.
30211 (__free_in6ai): New function.
30212
636064eb
UD
302132011-10-30 Ulrich Drepper <drepper@gmail.com>
30214
30215 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30216 close_not_cancel_no_status here.
30217 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30218
9beb2334
UD
302192011-10-29 Ulrich Drepper <drepper@gmail.com>
30220
6ef76f3b
UD
30221 [BZ #13276]
30222 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30223 return value.
30224
0ffc4f3e 30225 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30226 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30227 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30228
cb95113e
UD
302292011-07-03 Andreas Jaeger <aj@suse.de>
30230
30231 [BZ #10709]
30232 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30233 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30234 * math/libm-test.inc (sin_test): Add test case.
30235
a1b560ff
UD
302362011-10-29 Ulrich Drepper <drepper@gmail.com>
30237
c9aaface
UD
30238 [BZ #13337]
30239 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30240 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30241
d272e7f1
UD
30242 * elf/chroot_canon.c (chroot_canon): Cleanups.
30243
1bc33071
UD
30244 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30245
1760874d
TJ
30246 [BZ #13335]
30247 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30248 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30249
51d91b18
UD
30250 * string/test-strchr.c: Make usable for strchrnul testing.
30251 * string/test-strchrnul.c: New file.
30252 * string/Makefile (strop-tests): Add strchrnul.
30253
a1b560ff 30254 * po/it.po: Update from translation team.
b611fb81 30255 * po/es.po: Likewise.
a1b560ff 30256
a5b81e1f
UD
302572011-10-28 Ulrich Drepper <drepper@gmail.com>
30258
fd52bc6d
UD
30259 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30260 the three constants needed as parameters. Drop the others.
30261 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30262 __m128i_strloadu_tolower.
52e4b9eb
UD
30263 Create and initialize variable zero and use it in all the places
30264 where _mm_setzero_si128 was used.
fd52bc6d 30265
a5b81e1f
UD
30266 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30267 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30268 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30269 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30270 anymore.
30271 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30272 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30273 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30274 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30275 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30276 __mpranred, __mptan.
30277 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30278 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30279 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30280 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30281 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30282 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30283 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30284 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30285 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30286
b4343346
AS
302872011-10-28 Andreas Schwab <schwab@redhat.com>
30288
0c92d8a8
AS
30289 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30290 redefine if SHARED.
30291 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30292
b4343346
AS
30293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30294 wide char related routines to wcsmbs subdir.
30295
3871f58f
AS
302962011-10-27 Andreas Schwab <schwab@redhat.com>
30297
30298 [BZ #13344]
30299 * misc/sys/cdefs.h (__THROWNL): Define.
30300 * posix/unistd.h: Use __THREADNL instead of __THREAD
30301 for memory synchronization functions.
30302
94d44d9f
RM
303032011-10-26 Roland McGrath <roland@hack.frob.com>
30304
21b64b15 30305 [BZ #13349]
94d44d9f
RM
30306 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30307 doesn't exist.
30308 * manual/stdio.texi (Obstack Streams): Node removed.
30309
f6ce9294
AS
303102011-10-26 Andreas Schwab <schwab@redhat.com>
30311
80479147
AS
30312 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30313 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30314 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30315
f6ce9294
AS
30316 * math/math_private.h (math_force_eval): Allow non-addressable
30317 arguments.
30318 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30319
618280a1
UD
303202011-10-25 Ulrich Drepper <drepper@gmail.com>
30321
e0016b11
UD
30322 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30323 file is not needed.
30324
30325 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30327 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30328 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30329 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30330 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30331 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30332 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30333 Add AVX variants.
30334 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30335 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30336 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30337 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30338 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30339 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30340 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30341 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30342 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30343 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30344 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30345 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30346 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30347 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30348 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30349 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30350 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30351 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30352 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30353
30354 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30355 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30356
618280a1
UD
30357 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30358 place. Use VEX encoding when compiling for AVX.
30359
37822576
AS
303602011-10-25 Andreas Schwab <schwab@redhat.com>
30361
1f1e1947
AS
30362 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30363 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30364
37822576
AS
30365 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30366
31ea014d
UD
303672011-10-25 Ulrich Drepper <drepper@gmail.com>
30368
d7826aa1 30369 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30370 useless if() expression.
d7826aa1
UD
30371 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30372 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30373 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30374 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30375 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30376 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30377 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30378 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30379 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30380 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30381 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30382 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30383 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30384 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30385 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30386 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30387 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30388 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30389 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30390
31ea014d
UD
30391 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30392
16437fec
AS
303932011-10-25 Andreas Schwab <schwab@redhat.com>
30394
30395 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30396 condition.
30397 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30398
31d3cc00
UD
303992011-10-25 Ulrich Drepper <drepper@gmail.com>
30400
30401 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30402 .text section. Avoid duplicate constants.
30403 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30405 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30406 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30407 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30408 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30411 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30412 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30413 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30414 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30415 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30416 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30417 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30418 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30419 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30420 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30421 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30422 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30423 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30424 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30425 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30426 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30427 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30428 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30429 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30430 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30431 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30432 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30433 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30434 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30435 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30436 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30437 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30438 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30439 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30440 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30441 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30442 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30443 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30444 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30445 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30446 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30447 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30448
58985aa9
UD
304492011-10-24 Ulrich Drepper <drepper@gmail.com>
30450
202c9deb
UD
30451 * sysdeps/x86_64/dla.h: Move to ...
30452 * sysdeps/x86_64/fpu/dla.h: ...here.
30453 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30454 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30455
af968f62
UD
30456 * config.make.in: Add have-mfma4 entry.
30457 * configure.in: Substitute libc_cv_cc_fma4.
30458 * math/Makefile (dbl-only-routines): Add sincostab.
30459 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30460 Use __sincostab not sincos.
30461 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30462 name is a macro.
30463 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30464 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30465 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30467 using __copysign.
30468 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30469 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30470 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30471 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30472 and __inv.
30473 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30474 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30475 __copysign.
30476 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30477 define aliases when function name is a macro.
30478 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30479 sysdeps/ieee754/dbl-64/sincos.tbl.
30480 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30481 fma4-enabled routines.
30482 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30483 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30484 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30485 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30486 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30487 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30488 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30489 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30490 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30491 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30492 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30493 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30494 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30495 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30496 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30497 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30498 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30499 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30500 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30501 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30502 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30503 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30504 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30505 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30506 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30507 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30508 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30509 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30510 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30511 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30512
58985aa9
UD
30513 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30514 rename.
30515 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30516 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30517 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30518 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30520 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30522 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30523
a201fbcf
AS
305242011-10-24 Andreas Schwab <schwab@redhat.com>
30525
30526 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30527
fc2ee42a
LD
305282011-10-23 Ulrich Drepper <drepper@gmail.com>
30529
bb3129bd
UD
30530 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30531
0275fff8
UD
30532 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30533 prediction.
30534 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30535
2fa2ae85
UD
30536 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30537 Remove unused variable magic_bits.
30538 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30539
fc2ee42a
LD
30540 * string/strnlen.c: Define and use STRNLEN macro.
30541 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30542 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30543 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30544 * wcsmbs/wcslen.c: Define and use WCSLEN.
30545 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30546 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30547 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30548 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30549 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30550 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30551 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30552
ce7dd29f
LD
305532011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30554
30555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30556 strnlen-sse2-no-bsf.
30557 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30558 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30559 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30560 Add strnlen support.
30561 (USE_AS_STRNLEN): New macro.
30562 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30563 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30564 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30565 * sysdeps/x86_64/wcslen.S: New file.
30566
979c70a3
MZ
305672011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30568
30569 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30570 XMM-moves are used for copying on small sizes.
30571
2d09f82f
LD
305722011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30573
30574 * wcsmbs/Makefile (strop-tests): Add wcschr.
30575 * wcsmbs/test-wcschr.c: New file.
30576 * string/test-strchr.c: Update.
30577 Add wcschr support.
30578 (WIDE): New macro.
30579
619fccca
LD
305802011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30581
2d09f82f 30582 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30583 * wcsmbs/test-wcslen.c: New file.
30584 * string/test-strlen.c: Update.
30585 Add wcslen support.
30586 (WIDE): New macro.
30587
09f699ea
UD
305882011-10-23 Ulrich Drepper <drepper@gmail.com>
30589
30590 * po/it.po: Update from translation team.
30591
95584d3b
LD
305922011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30593
30594 * sysdeps/x86_64/wcscmp.S: Update.
30595 Fix wrong comparison semantics.
30596 wcscmp shall use signed comparison not unsigned.
30597 Don't use substraction to avoid overflow bug.
30598 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30599 * wcsmbc/wcscmp.c: Likewise.
30600 * string/test-strcmp.c: Likewise.
30601 Add new tests to check cases with negative values.
30602
c8b3296b
UD
306032011-10-23 Ulrich Drepper <drepper@gmail.com>
30604
30605 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30606 * sysdeps/x86_64/dla.h: ...here. New file.
30607 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30608 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30610 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30611 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30612 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30614 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30616
246ad57a
AS
306172011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30618
30619 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30620 __ynl_finite aliases.
30621
a1a87169
UD
306222011-10-22 Ulrich Drepper <drepper@gmail.com>
30623
0d355eb7
UD
30624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30625
a1a87169
UD
30626 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30627 define DLA_FMA.
30628 [DLA_FMA] (EMULV): Use DLA_FMA.
30629 [DLA_FMA] (MUL12): Use EMULV.
30630 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30631 that are not needed.
30632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30639
ee2aafe0
AS
306402011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30641
30642 * math/s_nan.c: Undef __nan.
30643 * math/s_nanf.c: Undef __nanf.
30644 * math/s_nanl.c: Undef __nanl.
30645 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30646 "math_private.h".
30647
bc62c2fb
UD
306482011-10-22 Ulrich Drepper <drepper@gmail.com>
30649
77425c63
UD
30650 * math/s_catan.c: Add branch predictions.
30651 * math/s_catanf.c: Likewise.
30652 * math/s_catanh.c: Likewise.
30653 * math/s_catanhf.c: Likewise.
30654 * math/s_catanhl.c: Likewise.
30655 * math/s_catanl.c: Likewise.
30656 * math/s_cexp.c: Likewise.
30657 * math/s_cexpf.c: Likewise.
30658 * math/s_cexpl.c: Likewise.
30659 * math/s_clog.c: Likewise.
30660 * math/s_clog10.c: Likewise.
30661 * math/s_clog10f.c: Likewise.
30662 * math/s_clog10l.c: Likewise.
30663 * math/s_clogf.c: Likewise.
30664 * math/s_clogl.c: Likewise.
30665 * math/s_csqrt.c: Likewise.
30666 * math/s_csqrtf.c: Likewise.
30667 * math/s_csqrtl.c: Likewise.
30668 * math/s_ctanf.c: Likewise.
30669 * math/s_ctanh.c: Likewise.
30670 * math/s_ctanhf.c: Likewise.
30671 * math/s_ctanhl.c: Likewise.
30672 * math/s_ctanl.c: Likewise.
30673
bc62c2fb
UD
30674 * math/math_private.h: Define __nan, __nanf, __nanl.
30675 * math/s_cacosh.c: Include <math_private.h>.
30676 * math/s_cacoshl.c: Likewise.
30677 * math/s_casinh.c: Likewise.
30678 * math/s_casinhf.c: Likewise.
30679 * math/s_casinhl.c: Likewise.
30680 * math/s_ccos.c: Rely entire on ccosh.
30681 * math/s_ccosf.c: Rely entire on ccoshf.
30682 * math/s_ccosl.c: Rely entirely on ccoshl.
30683 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30684 Remove tests for FE_INVALID.
30685 * math/s_ccoshf.c: Likewise.
30686 * math/s_ccoshl.c: Likewise.
30687 * math/s_csin.c: Likewise.
30688 * math/s_csinf.c: Likewise.
30689 * math/s_csinh.c Likewise.
30690 * math/s_csinhf.c: Likewise.
30691 * math/s_csinhl.c: Likewise.
30692 * math/s_csinl.c: Likewise.
30693 * math/s_ctan.c: Likewise.
30694 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30695 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30696 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30697
8ec250a4
UD
306982011-10-21 Ulrich Drepper <drepper@gmail.com>
30699
c196fed8
UD
30700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30701 compilation problems.
30702
8ec250a4
UD
30703 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30704 __builtin_expect.
30705
8d4f46c6
UD
307062011-10-20 Ulrich Drepper <drepper@gmail.com>
30707
ed72b654
UD
30708 * sysdeps/i386/configure.in: Test for -mfma4 option.
30709 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30710 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30711 COMMON_CPUID_INDEX_80000001.
30712 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30713 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30714 use it if FMA3 is not supported.
30715 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30716
8d4f46c6
UD
30717 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30718 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30719
d45c60c2
AS
307202011-10-20 Andreas Schwab <schwab@redhat.com>
30721
30722 [BZ #12892]
30723 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30724 it would create a cycle with a link time dependency.
30725
d9a4d2ab
UD
307262011-10-19 Ulrich Drepper <drepper@gmail.com>
30727
855d1560
UD
30728 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30729 instruction.
30730 * string/Makefile (strop-tests): Add rawmemchr.
30731 * string/test-rawmemchr.c: New file.
30732
d9a4d2ab
UD
30733 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30734 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30735 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30736 when compiling str{,n}casecmp and when AVX is available. Hook up
30737 new optimized code in initializers.
30738
8f3b1ffe
AS
307392011-10-19 Andreas Schwab <schwab@redhat.com>
30740
30741 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30742 __feraiseexcept instead of feraiseexcept.
30743
d38f1dba
UD
307442011-10-18 Ulrich Drepper <drepper@gmail.com>
30745
d9a8d0ab
UD
30746 * math/math_private.h: Define defaults for libc_fetestexcept and
30747 libc_feupdateenv.
30748 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30749 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30750 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30751 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30752 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30753 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30754 libc_fetestexcept and libc_feupdateenv.
30755
4855e3dd
UD
30756 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30757 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30758 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30759 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30760 libc_feholdexcept_setround.
30761
581d30e3
UD
30762 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30763 Add s_nearbyint-c and s_nearbyintf-c.
30764 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30765 nearbyintf inlines.
30766 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30767 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30768 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30769 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30770
d38f1dba
UD
30771 * math/math_private.h: Define defaults for libc_fegetround,
30772 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30773 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30774 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30775 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30776 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30777 standard functions.
30778 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30779 Remove comments and hacks for old compiler versions.
30780 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30781 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30782 libc_feholdexceptl.
30783
caa6c9d8
AS
307842011-10-18 Andreas Schwab <schwab@redhat.com>
30785
30786 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30787 (__feraiseexcept_renamed): Add __NTH.
30788 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30789 namespace violations.
30790
97c066e6
UD
307912011-10-17 Ulrich Drepper <drepper@gmail.com>
30792
99ce7b04
UD
30793 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30794
1004d182
UD
30795 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30796
228a984d
UD
30797 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30798 recently added interfaces.
30799 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30800
c8553a6a
UD
30801 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30802 about macro parameter expansion.
30803
ed22dcf6
UD
30804 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30805 __NO_MATH_INLINES is defined. Cleanups.
30806
30807 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30808 and __floorf is target has SSE4.1.
30809 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30810 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30811 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30812 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30813
b171c137
UD
30814 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30815 name.
30816 (floorf): Likewise.
30817
97c066e6
UD
30818 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30819
629f62ef
AS
308202011-10-17 Andreas Schwab <schwab@redhat.com>
30821
49a43d80
AS
30822 * misc/sys/cdefs.h: Fix last change.
30823
629f62ef
AS
30824 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30825 database lookup.
30826
e453f6cd
UD
308272011-10-16 Ulrich Drepper <drepper@gmail.com>
30828
aa78043a
UD
30829 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30830
ad0f5cad
UD
30831 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30832 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30833 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30834 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30835 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30836 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30837 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30838 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30839 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30840 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30841 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30842 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30843 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30844 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30845 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30846 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30847 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30848 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30849 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30850 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30851 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30852 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30853
30854 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30855 ceil, ceilf, floor, floorf.
30856
30857 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30858 Perform IRELATIVE relocations last.
30859
e453f6cd
UD
30860 * elf/do-rel.h: Add another parameter nrelative, replacing the
30861 local variable with the same name. Change name of the function
30862 to end in Rel or Rela (uppercase).
30863 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30864 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30865 elf_dynamic_do_##reloc function.
30866
fd5bdc09
UD
308672011-10-15 Ulrich Drepper <drepper@gmail.com>
30868
79b195b5
UD
30869 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30870 is sufficient, at least on modern CPUs.
30871
d4a28569
UD
30872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30873
b61099b5
UD
30874 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30875 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30876
bcf01e6d
UD
30877 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30878 __expl_finite.
30879 * math/bits/math-finite.h: Add entries for exp.
30880 * math/e_expl.c: Add __*_finite alias.
30881 * sysdeps/i386/fpu/e_exp.S: Likewise.
30882 * sysdeps/i386/fpu/e_expf.S: Likewise.
30883 * sysdeps/i386/fpu/e_expl.c: Likewise.
30884 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30885 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30886 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30887 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30888 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30889 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30890 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30891
ba1a0d59
UD
30892 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30893 is sufficient, at least on modern CPUs.
30894
fd5bdc09
UD
30895 * ctype/ctype-info.c (__ctype_init): Define.
30896 * include/ctype.h (__ctype_init): Declare.
30897 (__ctype_b_loc): The variable is always initialized.
30898 (__ctype_toupper_loc): Likewise.
30899 (__ctype_tolower_loc): Likewise.
30900 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30901 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30902
7872cfb0
AS
309032011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30904
b468825a
AS
30905 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30906
7872cfb0
AS
30907 * configure.in: Also look in $cxxmachine/include for C++ system
30908 headers.
30909
be13f7bf
LD
309102011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30911
30912 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30913 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30914 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30915 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30916 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30917 (USE_AS_WMEMCMP): New macro.
30918 Fixing indents.
30919 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30920 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30921 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30922 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30924 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30925 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30926 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30927 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30928 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30929 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30930 (USE_AS_WMEMCMP): New macro.
30931 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30932 * sysdeps/string/test-memcmp.c: Update.
30933 Fix simple_wmemcmp.
30934 Add new tests.
30935 * wcsmbs/wmemcmp.c: Update.
30936 (WMEMCMP): New macro.
30937 Fix overflow bug.
30938
556a2007
AJ
309392011-10-12 Andreas Jaeger <aj@suse.de>
30940
30941 [BZ #13268]
30942 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30943
538faaa7
UD
309442011-10-15 Ulrich Drepper <drepper@gmail.com>
30945
ab6737ff
UD
30946 * libio/iofwide.c (do_length): Avoid warning.
30947
538faaa7
UD
30948 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30949
396a21b1
UD
309502011-10-14 Ulrich Drepper <drepper@gmail.com>
30951
cdf2901f
UD
30952 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30953
38ad40ce
UD
30954 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30955 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30956 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30957 * sysdeps/i386/i686/fpu/e_log.S: New file.
30958 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30959 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30960
396a21b1
UD
30961 * ctype/ctype.h: Add support for inlined isXXX functions when
30962 compiling C++ code.
30963
6b1f68c9
AS
309642011-10-14 Andreas Schwab <schwab@redhat.com>
30965
349290c0
AS
30966 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30967
6b1f68c9
AS
30968 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30969
f2282d42
RM
309702011-10-13 Roland McGrath <roland@hack.frob.com>
30971
30972 [BZ #13291]
30973 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30974
5298ffa8
AS
309752011-10-13 Andreas Schwab <schwab@redhat.com>
30976
714fad23
AS
30977 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30978 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30979 feraiseexcept.
30980
81dcc7fb
AS
30981 * sysdeps/x86_64/memrchr.S: Check for zero size.
30982
5298ffa8
AS
30983 * string/stratcliff.c: Add memrchr tests.
30984
951fbcec
LD
309852011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30986
30987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30988 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30989 rawmemchr-sse2 rawmemchr-sse2-bsf.
30990 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30991 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30992 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30993 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30994 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30995 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30996 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30997 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30998 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30999 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31000 * string/memrchr.c (MEMRCHR): New macro.
31001
0ac5ae23
UD
310022011-10-12 Ulrich Drepper <drepper@gmail.com>
31003
31004 Add integration with gcc's -ffinite-math-only and optimize wrapper
31005 functions in libm.
31006 * Versions.def: Define GLIBC_2.15 version for libm.
31007 * math/Makefile (headers): Add bits/math-finite.h.
31008 * math/bits/math-finite.h: New file.
31009 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31010 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31011 * math/e_acoshl.c: Add __*_finite alias.
31012 * math/e_acosl.c: Likewise.
31013 * math/e_asinl.c: Likewise.
31014 * math/e_atan2l.c: Likewise.
31015 * math/e_atanhl.c: Likewise.
31016 * math/e_coshl.c: Likewise.
31017 * math/e_exp10.c: Likewise.
31018 * math/e_exp10f.c: Likewise.
31019 * math/e_exp10l.c: Likewise.
31020 * math/e_exp2l.c: Likewise.
31021 * math/e_fmodl.c: Likewise.
31022 * math/e_gammal_r.c: Likewise.
31023 * math/e_hypotl.c: Likewise.
31024 * math/e_j0l.c: Likewise.
31025 * math/e_j1l.c: Likewise.
31026 * math/e_jnl.c: Likewise.
31027 * math/e_lgammal_r.c: Likewise.
31028 * math/e_log10l.c: Likewise.
31029 * math/e_log2l.c: Likewise.
31030 * math/e_logl.c: Likewise.
31031 * math/e_powl.c: Likewise.
31032 * math/e_sinhl.c: Likewise.
31033 * math/e_sqrtl.c: Likewise.
31034 * math/e_scalb.c: Completely rewritten and optimized.
31035 * math/e_scalbf.c: Likewise.
31036 * math/e_scalbl.c: Likewise.
31037 * math/w_acos.c: Likewise.
31038 * math/w_acosf.c: Likewise.
31039 * math/w_acosl.c: Likewise.
31040 * math/w_acosh.c: Likewise.
31041 * math/w_acoshf.c: Likewise.
31042 * math/w_acoshl.c: Likewise.
31043 * math/w_asin.c: Likewise.
31044 * math/w_asinf.c: Likewise.
31045 * math/w_asinl.c: Likewise.
31046 * math/w_atan2.c: Likewise.
31047 * math/w_atan2f.c: Likewise.
31048 * math/w_atan2l.c: Likewise.
31049 * math/w_atanh.c: Likewise.
31050 * math/w_atanhf.c: Likewise.
31051 * math/w_atanhl.c: Likewise.
31052 * math/w_exp10.c: Likewise.
31053 * math/w_exp10f.c: Likewise.
31054 * math/w_exp10l.c: Likewise.
31055 * math/w_fmod.c: Likewise.
31056 * math/w_fmodf.c: Likewise.
31057 * math/w_fmodl.c: Likewise.
31058 * math/w_j0.c: Likewise.
31059 * math/w_j0f.c: Likewise.
31060 * math/w_j0l.c: Likewise.
31061 * math/w_j1.c: Likewise.
31062 * math/w_j1f.c: Likewise.
31063 * math/w_j1l.c: Likewise.
31064 * math/w_jn.c: Likewise.
31065 * math/w_jnf.c: Likewise.
31066 * math/w_log.c: Likewise.
31067 * math/w_logf.c: Likewise.
31068 * math/w_logl.c: Likewise.
31069 * math/w_log10.c: Likewise.
31070 * math/w_log10f.c: Likewise.
31071 * math/w_log10l.c: Likewise.
31072 * math/w_log2.c: Likewise.
31073 * math/w_log2f.c: Likewise.
31074 * math/w_log2l.c: Likewise.
31075 * math/w_pow.c: Likewise.
31076 * math/w_powf.c: Likewise.
31077 * math/w_powl.c: Likewise.
31078 * math/w_remainder.c: Likewise.
31079 * math/w_remainderf.c: Likewise.
31080 * math/w_remainderl.c: Likewise.
31081 * math/w_scalb.c: Likewise.
31082 * math/w_scalbf.c: Likewise.
31083 * math/w_scalbl.c: Likewise.
31084 * math/w_sqrt.c: Likewise.
31085 * math/w_sqrtf.c: Likewise.
31086 * math/w_sqrtl.c: Likewise.
31087 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31088 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31089 used.
31090 * math/math_private.h: Declare __kernel_standard_f.
31091 * math/w_cosh.c: Remove cruft and optimize a bit.
31092 * math/w_coshf.c: Likewise.
31093 * math/w_coshl.c: Likewise.
31094 * math/w_exp2.c: Likewise.
31095 * math/w_exp2f.c: Likewise.
31096 * math/w_exp2l.c: Likewise.
31097 * math/w_hypot.c: Likewise.
31098 * math/w_hypotf.c: Likewise.
31099 * math/w_hypotl.c: Likewise.
31100 * math/w_lgamma.c: Likewise.
31101 * math/w_lgamma_r.c: Likewise.
31102 * math/w_lgammaf.c: Likewise.
31103 * math/w_lgammaf_r.c: Likewise.
31104 * math/w_lgammal.c: Likewise.
31105 * math/w_lgammal_r.c: Likewise.
31106 * math/w_sinh.c: Likewise.
31107 * math/w_sinhf.c: Likewise.
31108 * math/w_sinhl.c: Likewise.
31109 * math/w_tgamma.c: Likewise.
31110 * math/w_tgammaf.c: Likewise.
31111 * math/w_tgammal.c: Likewise.
31112 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31113 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31114 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31115 Minor optimizations. Pretty printing. Remove cruft.
31116 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31117 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31118 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31119 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31120 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31121 * sysdeps/i386/fpu/e_asin.S: Likewise.
31122 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31123 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31124 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31125 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31126 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31127 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31128 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31129 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31130 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31131 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31132 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31133 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31134 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31135 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31136 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31137 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31138 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31139 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31140 * sysdeps/i386/fpu/e_log.S: Likewise.
31141 * sysdeps/i386/fpu/e_log10.S: Likewise.
31142 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31143 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31144 * sysdeps/i386/fpu/e_log2.S: Likewise.
31145 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31146 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31147 * sysdeps/i386/fpu/e_logf.S: Likewise.
31148 * sysdeps/i386/fpu/e_logl.S: Likewise.
31149 * sysdeps/i386/fpu/e_pow.S: Likewise.
31150 * sysdeps/i386/fpu/e_powf.S: Likewise.
31151 * sysdeps/i386/fpu/e_powl.S: Likewise.
31152 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31153 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31154 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31155 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31156 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31157 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31158 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31159 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31160 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31161 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31162 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31164 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31165 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31166 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31167 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31168 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31169 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31170 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31171 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31172 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31174 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31175 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31177 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31178 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31179 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31181 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31182 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31183 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31184 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31185 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31186 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31187 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31188 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31189 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31190 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31191 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31192 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31193 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31194 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31195 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31196 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31197 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31198 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31199 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31200 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31201 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31202 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31203 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31204 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31205 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31206 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31207 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31208 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31209 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31210 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31211 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31212 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31213 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31214 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31215 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31217 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31218 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31219 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31230 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31231 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31232 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31233 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31236 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31237 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31238 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31240 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31241 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31244 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31246 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31247 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31249 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31252 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31253 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31254 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31255 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31256 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31257 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31258 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31259 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31260 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31261 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31262 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31263 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31264 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31265 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31266 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31267 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31268 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31269 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31270 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31271 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31272 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31273 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31274 (__isnanf): Likewise.
31275 (__isinf_ns): Likewise.
31276 (__isinf_nsf): Likewise.
31277 (__finite): Likewise.
31278 (__finitef): Likewise.
31279 (__ieee754_sqrt): Define as macro.
31280 (__ieee754_sqrtf): Define as macro.
31281 (__ieee754_sqrtl): Define as macro.
31282 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31283 inlined copy.
31284 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31285 __FINITE_MATH_ONLY__ consistent.
31286 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31287
12cc2fcd
AS
312882011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31289
a843a204
AS
31290 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31291 of rawmemchr.
31292
12cc2fcd
AS
31293 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31294
c853acd5
UD
312952011-10-09 Ulrich Drepper <drepper@gmail.com>
31296
31297 * po/ja.po: Update from translation team.
31298
c658d255
RM
312992011-10-08 Roland McGrath <roland@hack.frob.com>
31300
110946e4
RM
31301 * locale/programs/locarchive.c (prepare_address_space): New function.
31302 (create_archive, enlarge_archive, open_archive): Use it.
31303
50604220
RM
31304 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31305 inside [SHARED], where it is used.
31306
c658d255
RM
31307 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31308
31309 * nss/getent.c (netgroup_keys): Remove unused variable.
31310 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31311
6a621eb7
UD
313122011-10-08 Ulrich Drepper <drepper@gmail.com>
31313
7edb55ce
UD
31314 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31315 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31317 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31318 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31319 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31320 * math/Makefile (libm-calls): Add s_isinf_ns.
31321 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31322 * math/multc3.c: Likewise.
31323 * math/s_casin.c: Likewise.
31324 * math/s_casinf.c: Likewise.
31325 * math/s_casinl.c: Likewise.
31326 * math/s_ccos.c: Likewise.
31327 * math/s_ccosf.c: Likewise.
31328 * math/s_ccosl.c: Likewise.
31329 * math/s_ctan.c: Likewise.
31330 * math/s_ctanf.c: Likewise.
31331 * math/s_ctanh.c: Likewise.
31332 * math/s_ctanhf.c: Likewise.
31333 * math/s_ctanhl.c: Likewise.
31334 * math/s_ctanl.c: Likewise.
31335 * math/w_fmod.c: Likewise.
31336 * math/w_fmodf.c: Likewise.
31337 * math/w_fmodl.c: Likewise.
31338 * math/w_remainder.c: Likewise.
31339 * math/w_remainderf.c: Likewise.
31340 * math/w_remainderl.c: Likewise.
31341 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31342 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31343 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31344 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31345 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31346 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31347 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31348 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31349
187da0ae
UD
31350 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31351 of the number.
31352 * stdio-common/printf_fphex.c: Likewise.
31353 * stdio-common/printf_size.c: Likewise.
31354
9277c064
UD
31355 * math/e_exp10.c: Include math_private.h using <...> not "...".
31356 * math/e_exp10f.c: Likewise.
31357 * math/e_exp10l.c: Likewise.
31358 * math/e_exp2l.c: Likewise.
31359 * math/e_j0l.c: Likewise.
31360 * math/e_j1l.c: Likewise.
31361 * math/e_jnl.c: Likewise.
31362 * math/e_lgammal_r.c: Likewise.
31363 * math/e_rem_pio2l.c: Likewise.
31364 * math/e_scalb.c: Likewise.
31365 * math/e_scalbf.c: Likewise.
31366 * math/e_scalbl.c: Likewise.
31367 * math/k_cosl.c: Likewise.
31368 * math/k_sinl.c: Likewise.
31369 * math/k_tanl.c: Likewise.
31370 * math/s_cacoshf.c: Likewise.
31371 * math/s_catan.c: Likewise.
31372 * math/s_catanf.c: Likewise.
31373 * math/s_catanh.c: Likewise.
31374 * math/s_catanhf.c: Likewise.
31375 * math/s_catanhl.c: Likewise.
31376 * math/s_catanl.c: Likewise.
31377 * math/s_ccosh.c: Likewise.
31378 * math/s_ccoshf.c: Likewise.
31379 * math/s_ccoshl.c: Likewise.
31380 * math/s_cexp.c: Likewise.
31381 * math/s_cexpf.c: Likewise.
31382 * math/s_cexpl.c: Likewise.
31383 * math/s_clog.c: Likewise.
31384 * math/s_clog10.c: Likewise.
31385 * math/s_clog10f.c: Likewise.
31386 * math/s_clog10l.c: Likewise.
31387 * math/s_clogf.c: Likewise.
31388 * math/s_clogl.c: Likewise.
31389 * math/s_csin.c: Likewise.
31390 * math/s_csinf.c: Likewise.
31391 * math/s_csinh.c: Likewise.
31392 * math/s_csinhf.c: Likewise.
31393 * math/s_csinhl.c: Likewise.
31394 * math/s_csinl.c: Likewise.
31395 * math/s_csqrt.c: Likewise.
31396 * math/s_csqrtf.c: Likewise.
31397 * math/s_csqrtl.c: Likewise.
31398 * math/s_ctan.c: Likewise.
31399 * math/s_ctanf.c: Likewise.
31400 * math/s_ctanh.c: Likewise.
31401 * math/s_ctanhf.c: Likewise.
31402 * math/s_ctanhl.c: Likewise.
31403 * math/s_ctanl.c: Likewise.
31404 * math/s_ldexp.c: Likewise.
31405 * math/s_ldexpf.c: Likewise.
31406 * math/s_ldexpl.c: Likewise.
31407 * math/s_significand.c: Likewise.
31408 * math/s_significandf.c: Likewise.
31409 * math/s_significandl.c: Likewise.
31410 * math/w_acos.c: Likewise.
31411 * math/w_acosf.c: Likewise.
31412 * math/w_acosh.c: Likewise.
31413 * math/w_acoshf.c: Likewise.
31414 * math/w_acoshl.c: Likewise.
31415 * math/w_acosl.c: Likewise.
31416 * math/w_asin.c: Likewise.
31417 * math/w_asinf.c: Likewise.
31418 * math/w_asinl.c: Likewise.
31419 * math/w_atan2.c: Likewise.
31420 * math/w_atan2f.c: Likewise.
31421 * math/w_atan2l.c: Likewise.
31422 * math/w_atanh.c: Likewise.
31423 * math/w_atanhf.c: Likewise.
31424 * math/w_atanhl.c: Likewise.
31425 * math/w_cosh.c: Likewise.
31426 * math/w_coshf.c: Likewise.
31427 * math/w_coshl.c: Likewise.
31428 * math/w_dremf.c: Likewise.
31429 * math/w_exp10.c: Likewise.
31430 * math/w_exp10f.c: Likewise.
31431 * math/w_exp10l.c: Likewise.
31432 * math/w_exp2.c: Likewise.
31433 * math/w_exp2f.c: Likewise.
31434 * math/w_fmod.c: Likewise.
31435 * math/w_fmodf.c: Likewise.
31436 * math/w_fmodl.c: Likewise.
31437 * math/w_hypot.c: Likewise.
31438 * math/w_hypotf.c: Likewise.
31439 * math/w_hypotl.c: Likewise.
31440 * math/w_j0.c: Likewise.
31441 * math/w_j0f.c: Likewise.
31442 * math/w_j0l.c: Likewise.
31443 * math/w_j1.c: Likewise.
31444 * math/w_j1f.c: Likewise.
31445 * math/w_j1l.c: Likewise.
31446 * math/w_jn.c: Likewise.
31447 * math/w_jnf.c: Likewise.
31448 * math/w_jnl.c: Likewise.
31449 * math/w_lgamma.c: Likewise.
31450 * math/w_lgamma_r.c: Likewise.
31451 * math/w_lgammaf.c: Likewise.
31452 * math/w_lgammaf_r.c: Likewise.
31453 * math/w_lgammal.c: Likewise.
31454 * math/w_lgammal_r.c: Likewise.
31455 * math/w_log.c: Likewise.
31456 * math/w_log10.c: Likewise.
31457 * math/w_log10f.c: Likewise.
31458 * math/w_log10l.c: Likewise.
31459 * math/w_log2.c: Likewise.
31460 * math/w_log2f.c: Likewise.
31461 * math/w_log2l.c: Likewise.
31462 * math/w_logf.c: Likewise.
31463 * math/w_logl.c: Likewise.
31464 * math/w_pow.c: Likewise.
31465 * math/w_powf.c: Likewise.
31466 * math/w_powl.c: Likewise.
31467 * math/w_remainder.c: Likewise.
31468 * math/w_remainderf.c: Likewise.
31469 * math/w_remainderl.c: Likewise.
31470 * math/w_scalb.c: Likewise.
31471 * math/w_scalbf.c: Likewise.
31472 * math/w_scalbl.c: Likewise.
31473 * math/w_sinh.c: Likewise.
31474 * math/w_sinhf.c: Likewise.
31475 * math/w_sinhl.c: Likewise.
31476 * math/w_sqrt.c: Likewise.
31477 * math/w_sqrtf.c: Likewise.
31478 * math/w_sqrtl.c: Likewise.
31479 * math/w_tgamma.c: Likewise.
31480 * math/w_tgammaf.c: Likewise.
31481 * math/w_tgammal.c: Likewise.
31482
6a621eb7
UD
31483 * po/ja.po: Update from translation team.
31484
bf582445
AJ
314852011-09-29 Andreas Jaeger <aj@suse.de>
31486
f9efbf3a
AJ
31487 [BZ #13179]
31488 * sunrpc/netname.c (netname2host): Fix logic.
31489
bf582445
AJ
31490 [BZ #6779]
31491 [BZ #6783]
31492 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31493 correctly.
31494 * math/w_remainder.c (__remainder): Likewise.
31495 * math/w_remainderf.c (__remainderf): Likewise.
31496 * math/libm-test.inc (remainder_test): Add test cases.
31497
48693bea
AK
314982011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31499
31500 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31501 sdiv_qrnnd.
31502
42622229
LD
315032011-10-07 Ulrich Drepper <drepper@gmail.com>
31504
31505 * string/test-memcmp.c: Avoid unncessary #defines.
31506 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31507
093ecf92
LD
315082011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31509
31510 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31511 Use new sse2 version for core i3 - i7 as it's faster
31512 than sse42 version.
31513 (bit_Prefer_PMINUB_for_stringop): New.
31514 * sysdeps/x86_64/rawmemchr.S: Update.
31515 Replace with faster SSE2 version.
31516 * sysdeps/x86_64/memrchr.S: New file.
31517 * sysdeps/x86_64/memchr.S: Update.
31518 Replace with faster SSE2 version.
31519
fde56e5c
MP
315202011-09-12 Marek Polacek <mpolacek@redhat.com>
31521
31522 * elf/dl-load.c (lose): Add cast to avoid warning.
31523
21fd49a9
UD
315242011-10-07 Ulrich Drepper <drepper@gmail.com>
31525
5a06e643
UD
31526 * po/ca.po: Update from translation team.
31527
684ae515
UD
31528 * inet/getnetgrent_r.c: Hook up nscd.
31529 * nscd/Makefile (routines): Add nscd_netgroup.
31530 (nscd-modules): Add netgroupcache.
31531 (CFLAGS-netgroupcache.c): Define.
31532 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31533 (cache_search): Add const to second parameter.
31534 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31535 INNETGR.
31536 (dbs): Add netgrdb entry.
31537 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31538 (verify_persistent_db): Handle netgrdb.
31539 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31540 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31541 GETFDNETGR.
31542 (netgroup_response_header): Define.
31543 (innetgroup_response_header): Define.
31544 (datahead): Add netgroup_response_header and innetgroup_response_header
31545 elements.
31546 * nscd/nscd.conf: Add entries for netgroup cache.
31547 * nscd/nscd.h (dbtype): Add netgrdb.
31548 (_PATH_NSCD_NETGROUP_DB): Define.
31549 (netgroup_iov_disabled): Declare.
31550 (xmalloc, xcalloc, xrealloc): Move declarations here.
31551 (cache_search): Adjust prototype.
31552 Add netgroup-related prototypes.
31553 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31554 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31555 (__nscd_innetgr): Declare.
31556 * nscd/selinux.c (perms): Use access_vector_t as element type and
31557 add netgroup-related initializers.
31558 * nscd/netgroupcache.c: New file.
31559 * nscd/nscd_netgroup.c: New file.
31560 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31561 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31562 For four parameters use innetgr.
31563 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31564 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31565 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31566 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31567
21fd49a9
UD
31568 * nscd/connections.c (register_traced_file): Don't register file
31569 for disabled databases.
31570
054c0457
UD
315712011-10-06 Ulrich Drepper <drepper@gmail.com>
31572
32b63198
UD
31573 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31574
054c0457
UD
31575 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31576 from tree and freeing node.
31577
64031225
JO
315782011-09-25 Jiri Olsa <jolsa@redhat.com>
31579
31580 * nss/nsswitch.c (__nss_database_lookup): Handle
31581 nss_parse_service_list out of memory case.
31582
0490345c
JO
315832011-09-15 Jiri Olsa <jolsa@redhat.com>
31584
31585 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31586 out of memory case.
31587
3a62d00d
AS
315882011-10-04 Andreas Schwab <schwab@redhat.com>
31589
31590 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31591 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31592 pass it down.
31593 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31594 elf_machine_rela, elf_machine_lazy_rel.
31595 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31596 (ELF_DYNAMIC_DO_REL): Likewise.
31597 (ELF_DYNAMIC_DO_RELA): Likewise.
31598 (ELF_DYNAMIC_RELOCATE): Likewise.
31599 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31600 to ELF_DYNAMIC_DO_REL.
31601 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31602 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31603 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31604 elf_machine_rela.
31605 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31606 skip_ifunc, don't call ifunc function if non-zero.
31607 (elf_machine_rela): Likewise.
31608 (elf_machine_lazy_rel): Likewise.
31609 (elf_machine_lazy_rela): Likewise.
31610 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31611 (elf_machine_lazy_rel): Likewise.
31612 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31613 Likewise.
31614 (elf_machine_lazy_rel): Likewise.
31615 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31616 Likewise.
31617 (elf_machine_lazy_rel): Likewise.
31618 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31619 (elf_machine_lazy_rel): Likewise.
31620 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31621 (elf_machine_lazy_rel): Likewise.
31622 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31623 (elf_machine_lazy_rel): Likewise.
31624 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31625 (elf_machine_lazy_rel): Likewise.
31626 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31627 (elf_machine_lazy_rel): Likewise.
31628 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31629 (elf_machine_lazy_rel): Likewise.
31630
68577918
UD
316312011-09-28 Ulrich Drepper <drepper@gmail.com>
31632
31633 * nss/nss_files/files-init.c (_nss_files_init): Use static
31634 initialization for all the *_traced_file variables.
31635
68822d74
AS
316362011-09-28 Andreas Schwab <schwab@redhat.com>
31637
31638 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31639
2056100b
RM
316402011-09-27 Roland McGrath <roland@hack.frob.com>
31641
31642 [BZ #13226]
31643 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31644
32c76b63
AS
316452011-09-27 Andreas Schwab <schwab@redhat.com>
31646
31647 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31648 Reread the line before reparsing it.
31649
bf972c9d
AS
316502011-09-26 Andreas Schwab <schwab@redhat.com>
31651
31652 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31653
e057a1b5
JM
316542011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31655 Maxim Kuvyrkov <maxim@codesourcery.com>
31656 Joseph Myers <joseph@codesourcery.com>
31657
31658 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31659 if needed for __stack_chk_guard.
31660
bc7e1c36
RM
316612011-09-19 Roland McGrath <roland@hack.frob.com>
31662
ecb1482f
RM
31663 * sysdeps/posix/spawni.c (script_execute): Always define it.
31664 It will be optimized away if unused.
31665 (maybe_script_execute): New function.
31666 (__spawni): Call it.
31667
bc7e1c36
RM
31668 * Makerules: Don't include tls.make.
31669 (config-tls): Always set to thread.
31670 * tls.make.c: File removed.
31671
1c3b002b
MF
316722011-09-19 Mike Frysinger <vapier@gentoo.org>
31673
31674 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31675 * config.make.in (CPPFLAGS-config): New substituted variable.
31676
2840865d
UD
316772011-09-15 Ulrich Drepper <drepper@gmail.com>
31678
88738eb6
UD
31679 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31680
cbf645a6 31681 [BZ #13192]
2840865d
UD
31682 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31683 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31684
b402e91a
RM
316852011-09-15 Roland McGrath <roland@hack.frob.com>
31686
31687 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31688 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31689 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31690 (CALL_FAIL): Likewise.
31691 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31692 (CALL_FAIL): Macro removed.
31693 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31694
4c1a1f71
UD
316952011-09-15 Ulrich Drepper <drepper@gmail.com>
31696
31697 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31698 for __FINITE_MATH_ONLY__ == 1.
31699
edc121be
AS
317002011-09-15 Andreas Schwab <schwab@redhat.com>
31701
31702 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31703 __ieee754_sqrt instead of sqrt.
31704 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31705 __ieee754_sqrtf instead of sqrtf.
31706 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31707 __floorf instead of floorf.
31708 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31709 __floorf, __truncf instead of floorf, truncf.
31710
cd205654
UD
317112011-09-14 Ulrich Drepper <drepper@gmail.com>
31712
ee4d0315
UD
31713 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31714
cd205654
UD
31715 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31716 __extern_always_inline.
31717 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31718 32-bit.
31719
48b67d71
AS
317202011-09-14 Andreas Schwab <schwab@redhat.com>
31721
31722 * elf/rtld.c (dl_main): Also relocate in dependency order when
31723 doing symbol dependency testing.
31724
1ae12c75
AS
317252011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31726
31727 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31728 Always define `refsym'.
31729
995a80df
AS
317302011-09-13 Andreas Schwab <schwab@redhat.com>
31731
e529793b
AS
31732 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31733 (__FD_ELT): Renamed from __FDELT.
31734 * misc/bits/select2.h (__FD_ELT): Likewise.
31735 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31736 __FD_MASK instead of __FDELT, __FDMASK.
31737 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31738 Likewise.
31739 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31740 Likewise.
31741
52d4fef8
AS
31742 * elf/Makefile (gen-ldd): Fix pattern.
31743
995a80df
AS
31744 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31745 (init_tls): Likewise.
31746
8682f8b0
UD
317472011-09-12 Ulrich Drepper <drepper@gmail.com>
31748
31749 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31750
de82006d
AS
317512011-09-12 Andreas Schwab <schwab@redhat.com>
31752
a7c8e6a1
AS
31753 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31754 `struct cmsghdr *' instead of `void *'.
31755 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31756 Likewise.
31757
0f31fe77
AS
317582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31759
31760 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31761 if non-absolute.
31762 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31763 ldd_rewrite_script.
0f31fe77 31764
32b4c839
UD
317652011-09-11 Ulrich Drepper <drepper@gmail.com>
31766
83cd1420
UD
31767 * configure.in: Remove --with-tls option.
31768 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31769 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31770 out in case it is missing.
31771 * sysdeps/ia64/elf/configure.in: Likewise.
31772 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31773 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31774 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31775 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31776 * sysdeps/sh/elf/configure.in: Likewise.
31777 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31778 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31779 * sysdeps/x86_64/elf/configure.in: Likewise.
31780 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31781 * sysdeps/mach/hurd/tls.h: Likewise.
31782
633f745d
UD
31783 [BZ #13067]
31784 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31785
f318beb8
UD
31786 [BZ #13090]
31787 * configure.in: Fix use of AC_INIT.
31788
32b4c839
UD
31789 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31790
3ce1f295
UD
317912011-09-10 Ulrich Drepper <drepper@gmail.com>
31792
bb016596
UD
31793 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31794 __set_errno.
8e58439c
UD
31795 * malloc/hooks.c: Likewise.
31796
aebae053 31797 [BZ #11929]
02d46fc4
UD
31798 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31799 variables statically.
31800 (narenas): Initialize.
31801 (list_lock): Initialize.
bb016596
UD
31802 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31803 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31804 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31805 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31806 Add initializers to main_arena and mp_.
31807 (malloc_state): Remove pagesize member. Change all users to use
31808 GLRO(dl_pagesize).
31809
31810 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31811 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31812 is always initialized.
31813
22a89187
UD
31814 * malloc/malloc.c: Removed unused configurations and dead code.
31815 * malloc/arena.c: Likewise.
31816 * malloc/hooks.c: Likewise.
02d46fc4 31817 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31818
d063d164
UD
31819 * include/tls.h: Removed. USE___THREAD must always be defined.
31820 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31821 * elf/dl-libc.c: Likewise.
31822 * elf/dl-tsd.c: Likewise.
31823 * include/errno.h: Likewise.
31824 * include/netdb.h: Likewise.
31825 * include/resolv.h: Likewise.
31826 * inet/herrno-loc.c: Likewise.
31827 * inet/herrno.c: Likewise.
31828 * malloc/arena.c: Likewise.
31829 * malloc/hooks.c: Likewise.
31830 * malloc/malloc.c: Likewise.
31831 * resolv/res-state.c: Likewise.
31832 * resolv/res_libc.c: Likewise.
31833 * sysdeps/i386/dl-machine.h: Likewise.
31834 * sysdeps/ia64/dl-machine.h: Likewise.
31835 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31836 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31837 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31838 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31839 * sysdeps/sh/dl-machine.h: Likewise.
31840 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31841 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31842 * sysdeps/unix/i386/sysdep.S: Likewise.
31843 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31844 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31845 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31849 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31850 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31851 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31853 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31854 * sysdeps/x86_64/dl-machine.h: Likewise.
31855 * tls.make.c: Likewise.
31856
3ce1f295
UD
31857 * configure.in: Remove --with-__thread option. Make tests for
31858 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31859 tls_model attribute fail if no support is available. Remove
31860 USE_IN_LIBIO.
31861 * Makeconfig: Adjust for dropped configure option. All features are
31862 now mandatory.
31863 * Makerules: Likewise.
31864 * Versions.def: Likewise.
31865 * argp/argp-fmtstream.c: Likewise.
31866 * argp/argp-fmtstream.h: Likewise.
31867 * argp/argp-help.c: Likewise.
31868 * assert/assert.c: Likewise.
31869 * config.h.in: Likewise.
31870 * config.make.in: Likewise.
31871 * configure: Likewise.
31872 * configure.in: Likewise.
31873 * csu/Versions: Likewise.
31874 * csu/init.c: Likewise.
31875 * elf/tst-audit2.c: Likewise.
31876 * elf/tst-tls10.c: Likewise.
31877 * elf/tst-tls10.h: Likewise.
31878 * elf/tst-tls11.c: Likewise.
31879 * elf/tst-tls12.c: Likewise.
31880 * elf/tst-tls14.c: Likewise.
31881 * elf/tst-tlsmod11.c: Likewise.
31882 * elf/tst-tlsmod12.c: Likewise.
31883 * elf/tst-tlsmod13.c: Likewise.
31884 * elf/tst-tlsmod13a.c: Likewise.
31885 * elf/tst-tlsmod14a.c: Likewise.
31886 * elf/tst-tlsmod15b.c: Likewise.
31887 * elf/tst-tlsmod16a.c: Likewise.
31888 * elf/tst-tlsmod16b.c: Likewise.
31889 * elf/tst-tlsmod7.c: Likewise.
31890 * elf/tst-tlsmod8.c: Likewise.
31891 * elf/tst-tlsmod9.c: Likewise.
31892 * gmon/gmon.c: Likewise.
31893 * grp/fgetgrent_r.c: Likewise.
31894 * grp/putgrent.c: Likewise.
31895 * hurd/fopenport.c: Likewise.
31896 * include/libc-symbols.h: Likewise.
31897 * include/tls.h: Likewise.
31898 * intl/gettextP.h: Likewise.
31899 * intl/loadinfo.h: Likewise.
31900 * locale/global-locale.c: Likewise.
31901 * locale/localeinfo.h: Likewise.
31902 * mach/devstream.c: Likewise.
31903 * malloc/arena.c: Likewise.
31904 * malloc/set-freeres.c: Likewise.
31905 * misc/err.c: Likewise.
31906 * misc/getttyent.c: Likewise.
31907 * misc/mntent_r.c: Likewise.
31908 * posix/getopt.c: Likewise.
31909 * posix/wordexp.c: Likewise.
31910 * pwd/fgetpwent_r.c: Likewise.
31911 * resolv/Versions: Likewise.
31912 * resolv/res_hconf.c: Likewise.
31913 * shadow/fgetspent_r.c: Likewise.
31914 * shadow/putspent.c: Likewise.
31915 * stdio-common/printf_fphex.c: Likewise.
31916 * stdio-common/tmpfile.c: Likewise.
31917 * stdlib/abort.c: Likewise.
31918 * stdlib/fmtmsg.c: Likewise.
31919 * sunrpc/auth_unix.c: Likewise.
31920 * sunrpc/clnt_perr.c: Likewise.
31921 * sunrpc/clnt_tcp.c: Likewise.
31922 * sunrpc/clnt_udp.c: Likewise.
31923 * sunrpc/clnt_unix.c: Likewise.
31924 * sunrpc/openchild.c: Likewise.
31925 * sunrpc/svc_simple.c: Likewise.
31926 * sunrpc/svc_tcp.c: Likewise.
31927 * sunrpc/svc_udp.c: Likewise.
31928 * sunrpc/svc_unix.c: Likewise.
31929 * sunrpc/xdr.c: Likewise.
31930 * sunrpc/xdr_array.c: Likewise.
31931 * sunrpc/xdr_rec.c: Likewise.
31932 * sunrpc/xdr_ref.c: Likewise.
31933 * sunrpc/xdr_stdio.c: Likewise.
31934
1248c1c4
PB
319352011-09-09 Ulrich Drepper <drepper@gmail.com>
31936
31937 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31938
319392011-07-03 Andreas Jaeger <aj@suse.de>
31940
31941 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31942 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31943 regenerate with gen-libm-tests.pl.
31944
319452010-05-12 Petr Baudis <pasky@suse.cz>
31946
31947 [BZ #11589]
31948 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31949 around j0() zero points by switching to j1().
31950 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31951 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31952 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31953 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31954
f22e1074
UD
319552011-09-09 Ulrich Drepper <drepper@gmail.com>
31956
f19009c1
UD
31957 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31958 instead of 0.
31959 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31960 instead of 0.
f19009c1
UD
31961 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31962 Patch in part by Pavel Roskin <proski@gnu.org>.
31963
3f8cc204
UD
31964 [BZ #13138]
31965 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31966 realloc.
31967 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31968 Free memory block if necessary.
31969
f22e1074
UD
31970 [BZ #12847]
31971 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31972 be NULL. Don't lock in this case.
31973
0a2349f9
RM
319742011-09-09 Roland McGrath <roland@hack.frob.com>
31975
31976 * elf/elf.h (ELFOSABI_GNU): New macro.
31977 (ELFOSABI_LINUX): Define to that.
31978
f3cdd467
DZ
319792011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31980
31981 * string/strncat.c (strncat): Undef the symbol in case it has been
31982 defined in bits/string.h.
31983
74718d13
UD
319842011-09-09 Ulrich Drepper <drepper@gmail.com>
31985
633e9e0f
UD
31986 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31987
0a2349f9 31988 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31989 link map.
31990
f9924780
AJ
319912011-08-17 Andreas Jaeger <aj@suse.de>
31992
31993 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31994
7f5517aa
PP
319952011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31996 Ian Lance Taylor <iant@google.com>
31997
31998 * math/libm-test.inc (lround_test): New testcase.
31999 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32000
762011fe
UD
320012011-09-08 Ulrich Drepper <drepper@gmail.com>
32002
92963737
UD
32003 * Makefile: Remove support for automatic cvs check-ins.
32004 * Makerules: Likewise.
32005 * config.make.in: Likewise.
32006 * configure.in: Likewise.
32007 * intl/Makefile: Likewise.
32008 * locale/Makefile: Likewise.
32009 * po/Makefile: Likewise.
32010 * posix/Makefile: Likewise.
32011 * sysdeps/gnu/Makefile: Likewise.
32012 * sysdeps/mach/hurd/Makefile: Likewise.
32013 * sysdeps/sparc/sparc32/Makefile: Likewise.
32014
b0727fd8
JS
32015 [BZ #13118]
32016 * posix/Makefile (bug-regex32-ENV): Define.
32017 Patch by John Stanley <jpsinthemix@verizon.net>.
32018
a0f33f99
UD
32019 * misc/Makefile (headers): Add bits/select2.h.
32020 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32021 * misc/bits/select2.h: New file.
32022 * include/bits/select2.h: New file.
32023 * debug/Makefile (routines): Add fdelt_chk.
32024 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32025 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32026 FD_ISSET.
32027 * debug/fdelt_chk.c: New file.
32028
762011fe
UD
32029 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32030 * wcsmbs/test-wmemcmp.c: Likewise.
32031 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32032 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32033
320342011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32035
32036 * string/Makefile (strop-tests): Add memcmp.
32037 * string/test-wmemcmp.c: New file.
32038 * string/test-memcmp.c: Add wmemcmp support.
32039
7f513ec8
RM
320402011-09-08 Roland McGrath <roland@hack.frob.com>
32041
0442afb4
RM
32042 [BZ #13153]
32043 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32044 2011-07-19 change.
32045
7f513ec8
RM
32046 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32047 garbage value in a __mach_port_mod_refs call in the cases of the
32048 task-self and thread-self ports.
32049
a12b2239
ST
320502011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32051
32052 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32053
610f9ab4
AS
320542011-09-08 Andreas Schwab <schwab@redhat.com>
32055
7f513ec8 32056 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32057
48882a1a
LD
320582011-09-07 Ulrich Drepper <drepper@gmail.com>
32059
b49865be
UD
32060 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32061
fdc86bc9
UD
32062 * elf/dl-libc.c (dlerror_run): Pass back error code from
32063 dl_catch_error.
32064
c966526a
UD
32065 [BZ #13123]
32066 * elf/dl-load.c (lose): Free l_origin if it is valid.
32067
48882a1a
LD
32068 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32069 names.
32070 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32071 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32072 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32073 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32074 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32075 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32076
77a2a8b4
AZ
320772011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32078
32079 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32080 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32081 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32082 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32083 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32084 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32085 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32086 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32087 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32088 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32089
24f579d8
AM
320902011-08-15 Alan Modra <amodra@gmail.com>
32091
32092 [BZ #13092]
32093 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32094 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32095 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32096 ppc_mcount to static-only-routines.
32097 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32098 __mcount_internal.
32099 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32100 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32101
3d4837df
UD
321022011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32103
32104 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32105 for finite and infinity parameters.
32106
22700377
WS
321072011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32108
32109 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32110 and add nop instructions for throughput optimization.
32111 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32112
5025581e
WS
321132011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32114
32115 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32116 aligned copy for power7 with vector-scalar instructions.
32117 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32118
08a300c9
L
321192011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32120
32121 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32122 AVX check.
32123
59178ef9
AS
321242011-09-07 Andreas Schwab <schwab@redhat.com>
32125
32126 [BZ #13144]
32127 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32128 last change.
32129
e38ba7ab
UD
321302011-09-07 Ulrich Drepper <drepper@gmail.com>
32131
32132 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32133 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32134 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32135 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32136 clock_gettime.
32137
d53a73ac
UD
321382011-09-06 Ulrich Drepper <drepper@gmail.com>
32139
fc8bffcc
UD
32140 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32141 Forgot to demangle the pointer.
32142
ceaa0c5d
UD
32143 * sysdeps/i386/sysdep.h: Define atom_text_section.
32144 * sysdeps/x86_64/sysdep.h: Likewise.
32145 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32146 section with atom_text_section.
32147 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32148 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32149 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32150 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32151 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32152
a77d3c17
UD
32153 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32154 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32155 already be defined. Change to take two parameters and don't assign
32156 result to variable. Adjust all users.
32157 Define INTERNAL_GETTIME if not already defined.
32158 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32159 call.
32160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32161 HAVE_CLOCK_GETTIME_VSYSCALL.
32162 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32163
d53a73ac
UD
32164 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32165 gettimeofday vsyscall, just use time.
32166
a8f84144
AS
321672011-09-06 Andreas Schwab <schwab@redhat.com>
32168
32169 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32170 <errno.h>.
32171
ef606249
UD
321722011-09-06 Ulrich Drepper <drepper@gmail.com>
32173
32174 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32175 syscall on x86-64.
32176 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32177 syscall.
32178 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32179 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32180 syscall if possible.
32181
6585cb60
UD
321822011-09-05 Ulrich Drepper <drepper@gmail.com>
32183
32184 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32185 e_ident. Don't pass to find_mapsXX.
32186 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32187
a5f524e4
LD
321882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32189
32190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32191 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32192 * sysdeps/x86_64/multiarch/strchr.S: Update.
32193 Check bit_slow_BSF bit.
32194 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32195 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32196 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32197
554881ef
UD
321982011-09-05 Ulrich Drepper <drepper@gmail.com>
32199
d96de963
UD
32200 [BZ #13134]
32201 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32202 before glibc 2.15.
32203 (tryshell): Define.
32204 (__spawni): Change last parameter to be flag. Test
32205 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32206 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32207 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32208 * posix/spawni.c: Likewise.
32209 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32210 * posix/spawnp.c: Likewise. Change normal version to use
32211 SPAWN_XFLAGS_USE_PATH.
32212 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32213 SPAWN_XFLAGS_TRY_SHELL.
32214
d48e5868
UD
32215 [BZ #13150]
32216 * posix/glob.h: Remove gcc 1.x support.
32217
554881ef
UD
32218 [BZ #13068]
32219 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32220
693fb948
LD
322212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32222
32223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32224 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32225 strrchr-sse2-bsf
32226 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32227 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32228 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32229 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32230 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32231 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32232
1b48c537
UD
322332011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32234
49d42c37
UD
32235 * sysdeps/x86_64/wcscmp.S: New file.
32236
1b48c537
UD
32237 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32238 wcscmp-c wcscmp-sse2
32239 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32240 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32241 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32242 * wcsmbs/wcscmp.c: Allow renaming.
32243
15c95c5d
DM
322442011-09-05 David S. Miller <davem@davemloft.net>
32245
32246 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32247 stack slot, rather than the struct return pointer slot.
32248 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32249 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32251 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32252
2f0ad8f3
UD
322532011-09-05 Ulrich Drepper <drepper@gmail.com>
32254
d88ae418
UD
32255 * po/ja.po: Update from translation team.
32256
2f0ad8f3
UD
32257 [BZ #13144]
32258 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32259 kernel in 64-bit binaries.
32260
5f4318d1
DM
322612011-09-01 David S. Miller <davem@davemloft.net>
32262
32263 * elf/elf.h (HWCAP_SPARC_*): Move to..
32264 * sysdeps/sparc/sysdep.h: this new file and add new values.
32265 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32266 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32267 _DL_HWCAP_COUNT to 24.
32268 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32269 entries.
32270 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32271 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32272 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32273 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32274 instead of magic constants.
32275 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32276
3ba57516
DM
322772011-08-31 David S. Miller <davem@davemloft.net>
32278
32279 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32281 Reimplement to do errno handling inline.
32282 (SYSCALL_ERROR_HANDLER): New macro.
32283 (__SYSCALL_STRING): Do not do errno handling in asm.
32284 (__CLONE_SYSCALL_STRING): Delete.
32285 (__INTERNAL_SYSCALL_STRING): Delete.
32286 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32287 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32288 (PSEUDO): Reimplement to do errno handling inline.
32289 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32290 (SYSCALL_ERROR_HANDLER): New macro.
32291 (__SYSCALL_STRING): Do not do errno handling in asm.
32292 (__CLONE_SYSCALL_STRING): Delete.
32293 (__INTERNAL_SYSCALL_STRING): Delete.
32294 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32295 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32296 i386.
32297 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32298 (inline_syscall*): Add 'err' argument.
32299 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32300 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32301 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32302 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32303
32304 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32305 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32306
2bc17433
AS
323072011-08-30 Andreas Schwab <schwab@redhat.com>
32308
32309 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32310
fbeb5f4d
JO
323112011-08-29 Jiri Olsa <jolsa@redhat.com>
32312
32313 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32314 directive.
32315
ad69cc26
DM
323162011-08-24 David S. Miller <davem@davemloft.net>
32317
32318 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32319
39dd69df
AS
323202011-08-24 Andreas Schwab <schwab@redhat.com>
32321
32322 * elf/Makefile: Add rules to build and run unload8 test.
32323 * elf/unload8.c: New file.
32324 * elf/unload8mod1.c: New file.
32325 * elf/unload8mod1x.c: New file.
32326 * elf/unload8mod2.c: New file.
32327 * elf/unload8mod3.c: New file.
32328
32329 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32330 it wasn't used.
32331
2c0b250a
DM
323322011-08-23 David S. Miller <davem@davemloft.net>
32333
32334 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32335 subtract stack bias.
32336 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32337 %sp not %fp in calculations.
32338 (_JMPBUF_UNWINDS_ADJ): Likewise.
32339
22044b48
DM
32340 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32341 (aio_suspend): Call it to force an exception region around the
32342 AIO_MISC_WAIT() invocation.
32343
2cae4995
AS
323442011-08-23 Andreas Schwab <schwab@redhat.com>
32345
32346 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32347 backslash.
32348
873a772e
AJ
323492011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32350
32351 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32352 protection macro.
32353 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32354 and <dl-machine.h>.
32355 (Elf64_FuncDesc): Remove.
32356
25ad0df1
DM
323572011-08-22 David S. Miller <davem@davemloft.net>
32358
32359 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32360 sigaltstack check, add missing cfi directives.
32361 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32362 missing cfi directives, and sigaltstack handling.
32363
e888bcbe
AS
323642011-08-16 Andreas Schwab <schwab@redhat.com>
32365
32366 [BZ #11724]
32367 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32368 object is seen twice.
32369 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32370
32371 * elf/Makefile (distribute): Add tst-initorder2.c.
32372 (tests): Add tst-initorder2.
32373 (modules-names): Add tst-initorder2a tst-initorder2b
32374 tst-initorder2c tst-initorder2d. Add rules to build them.
32375 ($(objpfx)tst-initorder2.out): New rule.
32376 * elf/tst-initorder2.c: New file.
32377 * elf/tst-initorder2.exp: New file.
32378
87162f46
AS
323792011-08-22 Andreas Schwab <schwab@redhat.com>
32380
70538b7f
AS
32381 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32382
f55ffe58
AS
32383 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32384 dependencies back to end of function.
32385
87162f46
AS
32386 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32387 $(elfobjdir)/ld.so.
32388
91b392a4
UD
323892011-08-21 Ulrich Drepper <drepper@gmail.com>
32390
32391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32392 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32393 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32394 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32395 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32396 of __vdso_gettimeofday.
32397 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32398 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32399 attribute_hidden.
32400 (_libc_vdso_platform_setup): Remove initialization of
32401 __vdso_gettimeofday and __vdso_time.
32402
5c43483f
UD
324032011-08-20 Ulrich Drepper <drepper@gmail.com>
32404
775a77e7
UD
32405 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32406 and fgetc_unlocked.
32407 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32408 getc_unlocked.
89f447ed 32409
49c74ba9
UD
32410 * elf/dl-open.c (add_to_global): Report additions to the global scope
32411 for LD_DEBUG=scopes.
32412 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32413 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32414
5c43483f
UD
32415 [BZ #13114]
32416 * stdio-common/Makefile (tests): Add bug24.
32417 * stdio-common/bug24.c: New file.
32418
a101b025
AJ
324192011-08-19 Andreas Jaeger <aj@suse.de>
32420
32421 [BZ #13114]
32422 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32423 non-existant file when using close-on-exec mode.
32424
c88f1766
UD
324252011-08-20 Ulrich Drepper <drepper@gmail.com>
32426
0276a718
UD
32427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32428 the very first instruction.
32429
c88f1766
UD
32430 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32431 the CFI state in the end.
32432 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32433 inclusion of dl-trampoline.h.
32434 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32435
51ccffa0
AS
324362011-08-19 Andreas Schwab <schwab@redhat.com>
32437
94d7165f
AS
32438 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32439 expectations for long double.
32440
51ccffa0
AS
32441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32442 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32443
fd708658 324442011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32445
32446 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32447 artificual limit depends upon the system page size.
32448
44f0a71e
UD
324492011-08-17 Ulrich Drepper <drepper@gmail.com>
32450
32451 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32452 * resolv/Makefile: Define CFLAGS-libresolv.
32453
8de79a24
AS
324542011-08-17 Andreas Schwab <schwab@redhat.com>
32455
32456 * nss/makedb.c (compute_tables): Make variables used in nested
32457 function static.
32458
27724598
UD
324592011-08-17 Ulrich Drepper <drepper@gmail.com>
32460
c5305d88
UD
32461 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32462 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32463 if buffer was too small.
32464
27724598
UD
32465 * elf/pldd.c (main): Attach to all threads in the process.
32466 Rewrite /proc handling to use *at functions.
32467
076fe015
UD
324682011-08-16 Ulrich Drepper <drepper@gmail.com>
32469
174baab3
UD
32470 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32471 specifies first scope to show.
32472 (dl_open_worker): Update callers. Move printing scope of new
32473 object to before the relocation.
44f0a71e 32474 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32475 * sysdeps/generic/ldsodefs.h: Update declaration.
32476
076fe015
UD
32477 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32478 string for the scope number.
32479
a60df2c3
UD
324802011-08-14 Ulrich Drepper <drepper@gmail.com>
32481
32482 * nscd/servicescache.c (cache_addserv): Make sure written is always
32483 initialized.
32484
5e4287d1
RM
324852011-08-14 Roland McGrath <roland@hack.frob.com>
32486
85ae0589
RM
32487 * sysdeps/i386/i486/bits/atomic.h
32488 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32489 statement expression, so as to suppress "set but not used" warning.
32490 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32491
69f63097
RM
32492 * string/strncat.c (STRNCAT): Use prototype definition.
32493
675456ef
RM
32494 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32495 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32496 -Iprograms here.
32497 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32498 (localedef-modules): Add localedef.
32499 (locale-modules): Add locale.
32500
5e4287d1
RM
32501 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32502 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32503 to avoid a warning.
32504
9c96ff23
DM
325052011-08-14 David S. Miller <davem@davemloft.net>
32506
32507 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32508 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32509
f9ddf089
UD
325102011-08-13 Ulrich Drepper <drepper@gmail.com>
32511
44f0a71e 32512 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32513 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32514 * elf/rtld.c (dl_main): Set l_name of vDSO.
32515 Call _dl_show_scope when DL_DEBUG_SCOPES.
32516 (process_dl_debug): Recognize scopes flag and also set it for all.
32517 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32518 Declare _dl_show_scope.
32519
1dc27704
UD
32520 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32521 (do_dlopen): Pass caller_dlopen to dl_open.
32522 (__libc_dlopen_mode): Initialize caller_dlopen.
32523
f9ddf089
UD
32524 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32525 of libc. Make tolower call locale-independent. Optimize a bit by
32526 using isdigit instead of isalnum.
32527 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32528
9ac533d3
UD
325292011-08-12 Ulrich Drepper <drepper@gmail.com>
32530
32531 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32532 was a dependency or dynamically loaded.
32533
89edf2e9
UD
325342011-08-11 Ulrich Drepper <drepper@gmail.com>
32535
8e999d29
UD
32536 * intl/l10nflist.c: Allow architecture-specific pop function.
32537 * sysdeps/x86_64/l10nflist.c: New file.
32538
89edf2e9
UD
32539 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32540 classification.
32541
14d96785
AS
325422011-08-10 Andreas Schwab <schwab@redhat.com>
32543
32544 * include/dirent.h: Add libc_hidden_proto for scandirat and
32545 scandirat64. Don't declare __scandirat64.
32546 * dirent/scandirat.c: Add libc_hidden_def.
32547 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32548 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32549
6761ac04
DM
325502011-08-10 David S. Miller <davem@davemloft.net>
32551
32552 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32553 enum.
32554 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32555 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32556 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32557
c55fbd1e
UD
325582011-08-09 Ulrich Drepper <drepper@gmail.com>
32559
32560 * Versions.def [libc]: Add GLIBC_2.15.
32561 * dirent/Makefile (routines): Add scandirat and scandirat64.
32562 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32563 GLIBC_2.15.
32564 * dirent/dirent.h: Declare scandirat and scandirat64.
32565 * dirent/scandirat.c: New file.
32566 * dirent/scandirat64.c: New file.
32567 * sysdeps/wordsize-64/scandirat.c: New file.
32568 * sysdeps/wordsize-64/scandirat64.c: New file.
32569 * dirent/opendir.c: Define opendirat.
32570 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32571 using scandirat.
32572 * dirent/scandir64.c: Adjust for scandir.c change.
32573 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32574 __scandirat64, and __scandir_cancel_handler.
32575 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32576 additional parameter and use openat instead of open (outside of ld.so).
32577 Add new __opendir as wrapper around __opendirat.
32578 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32579 here without requiring old scandirat implementation.
32580
879165f2
UD
325812011-08-08 Ulrich Drepper <drepper@gmail.com>
32582
32583 * dirent/scandir.c (cancel_handler): Renamed to
32584 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32585 defined. Adjust users.
32586 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32587 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32588
cb7e923b
UD
325892011-08-04 Ulrich Drepper <drepper@gmail.com>
32590
16292edd
UD
32591 * string/test-string.h (IMPL): Use __STRING to expand name and then
32592 stringify it.
32593
cb7e923b
UD
32594 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32595 of cleanups.
32596
cff82933
LD
325972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32598
32599 * string/Makefile: Update.
32600 (strop-tests): Append strncat.
32601 * string/test-wcscmp.c: New file.
32602 New comprehensive test for wcscmp.
32603 * string/test-strcmp.c: Update.
32604 (WIDE): New define.
32605
9be9bfcc
AS
326062011-07-22 Andreas Schwab <schwab@redhat.com>
32607
32608 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32609 line.
32610
2e96f1c7
AS
326112011-07-26 Andreas Schwab <schwab@redhat.com>
32612
32613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32614 encoding to ACE if AI_IDN.
32615
85188888
JJ
326162011-08-01 Jakub Jelinek <jakub@redhat.com>
32617
32618 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32619 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32620
5fa16e9b
LD
326212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32622
32623 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32624 Fix overflow bug in strncat.
32625 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32626
32627 * string/test-strncat.c: Update.
32628 Add new tests for checking overflow bugs.
32629
326302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32631
32632 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32633 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32634 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32635 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32636 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32637 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32638 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32639 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32640 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32641
32642 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32643 (USE_AS_STRCAT): Define.
32644 Add strcat and strncat support.
32645 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32646
8c1a459f
AS
326472011-07-25 Andreas Schwab <schwab@redhat.com>
32648
32649 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32650 __n bigger than INT_MAX+1.
32651 (__strncmp_g): Likewise.
32652
bba33c28
UD
326532011-07-23 Ulrich Drepper <drepper@gmail.com>
32654
798be72d
UD
32655 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32656 * libio/stido.h: Likewise.
32657
8accd4dc
UD
32658 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32659 (AF_NFC): Define.
32660 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32661 (AF_NFC): Define.
32662
cbff0d96
UD
32663 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32664 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32665 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32666 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32668
9191c04a
UD
32669 [BZ #13021]
32670 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32671 installed.
32672
bba33c28
UD
32673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32674 typo.
32675 (_dl_x86_64_save_sse): Likewise.
32676
90f139dd
UD
326772011-07-22 Ulrich Drepper <drepper@gmail.com>
32678
1aae088a
UD
32679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32680 OSXSAVE.
32681 (_dl_x86_64_save_sse): Likewise.
32682
8e2045f5
UD
32683 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32684
90f139dd
UD
32685 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32686
1d002f25
AS
326872011-07-21 Andreas Schwab <schwab@redhat.com>
32688
32689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32690 change.
32691 (_dl_x86_64_save_sse): Use correct AVX check.
32692
21137f89
UD
326932011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32694
32695 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32696 bug in strncpy/strncat.
32697 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32698
a65c0b7a
UD
326992011-07-21 Ulrich Drepper <drepper@gmail.com>
32700
32701 * string/tester.c (test_strcat): Add tests for different alignments
32702 of source and destination.
32703 (test_strncat): Likewise.
32704
6986b98a
UD
327052011-07-20 Ulrich Drepper <drepper@gmail.com>
32706
90bb2039
UD
32707 [BZ #12852]
32708 * posix/glob.c (glob): Check passed in values before using them in
32709 expressions to avoid some overflows.
32710 (glob_in_dir): Likewise.
32711
5644ef54
UD
32712 [BZ #13007]
32713 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32714 check for AVX enablement so that we don't crash with old kernels and
32715 new hardware.
32716 * elf/tst-audit4.c: Add same checks here.
32717 * elf/tst-audit6.c: Likewise.
32718
32719 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32720
bfc9dc9b
AS
327212011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32722
32723 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32724
702e64bb
UD
327252011-07-20 Ulrich Drepper <drepper@gmail.com>
32726
32727 * po/cs.po: Update from translation team.
32728 * po/bg.po: Likewise.
32729
295e904f
MP
327302011-07-12 Marek Polacek <mpolacek@redhat.com>
32731
32732 * misc/sys/cdefs.h: Add support for const attribute.
32733 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32734 to gnu_dev_{major,minor,makedev} functions.
32735
3ff94596
MP
327362011-07-20 Marek Polacek <mpolacek@redhat.com>
32737
32738 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32739
28b59fca
AS
327402011-07-20 Andreas Schwab <schwab@redhat.com>
32741
32742 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32743 strlen results.
32744
19df733e
AK
327452011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32746
32747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32748 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32749 register in order to avoid conflicts with the soft frame pointer
32750 being held in r11 when necessary.
32751 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32752 (INTERNAL_VSYSCALL_NCS): Likewise.
32753
c8835729
MP
327542011-07-14 Marek Polacek <mpolacek@redhat.com>
32755
32756 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32757 * elf/dl-fini.c (_dl_fini): Adjust caller.
32758 * elf/dl-close.c (_dl_close_worker): Likewise.
32759 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32760
b902330c
MP
327612011-07-15 Marek Polacek <mpolacek@redhat.com>
32762
8991e135
MP
32763 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32764 "aux_cache->nlibs < 0".
32765
b902330c
MP
32766 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32767 in the reload-count case.
32768
99710781
LD
327692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32770
32771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32772 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32773 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32774 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32775 * sysdeps/x86_64/multiarch/strcat.S: New file.
32776 * sysdeps/x86_64/multiarch/strncat.S: New file.
32777 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32778 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32779 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32780 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32781 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32782 (USE_AS_STRCAT): Define.
32783 Add strcat and strncat support.
32784 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32785 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32786 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32787 * string/strncat.c: Update.
32788 (USE_AS_STRNCAT): Define.
32789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32790 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32791 and i7.
32792 * sysdeps/x86_64/multiarch/init-arch.h
32793 (bit_Prefer_PMINUB_for_stringop): New.
32794 (index_Prefer_PMINUB_for_stringop): Likewise.
32795 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32796 bit_Prefer_PMINUB_for_stringop.
32797
7dc6bd90
UD
327982011-07-19 Ulrich Drepper <drepper@gmail.com>
32799
32800 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32801 buffer64.
32802 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32803 of casting of buffer.
32804 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32805 buffer32 and buffer64.
32806 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32807 writes instead of casting of buffer.
32808 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32809 buffer32.
32810 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32811 casting of buffer.
32812
e0e72284
AS
328132011-07-19 Andreas Schwab <schwab@redhat.com>
32814
32815 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32816
feb1eb0b
UD
328172011-07-19 Ulrich Drepper <drepper@gmail.com>
32818
32819 * nscd/nscd.c (termination_handler): Don't do anything for a database
32820 if it has not yet been initialized.
32821
298711ff
UD
328222011-07-18 Ulrich Drepper <drepper@gmail.com>
32823
32824 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32825
328262011-07-15 Marek Polacek <mpolacek@redhat.com>
32827
32828 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32829
f9d68389
UD
328302011-07-18 Ulrich Drepper <drepper@gmail.com>
32831
32832 * po/nl.po: Update from translation team.
32833 * po/sv.po: Likewise.
32834
db290cf5
RM
328352011-07-16 Roland McGrath <roland@hack.frob.com>
32836
32837 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32838 now disallowed by GCC.
5c550700 32839
fd5e21c7
RM
32840 * configure.in (use-default-link): Default to yes if a test -shared
32841 link meets our qualifications.
32842 * configure: Regenerated.
32843
5c550700
RM
32844 * config.make.in (output-format): New variable.
32845 * configure.in: Check for ld --print-output-format support.
32846 * configure: Regenerated.
32847 * Makerules ($(common-objpfx)format.lds)
32848 [$(output-format) != unknown]: Just use $(output-format),
32849 instead of the linker-script munging.
32850
9fa2c032
RM
328512011-07-14 Roland McGrath <roland@hack.frob.com>
32852
a6928d51
RM
32853 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32854 of $(common-objpfx)shlib.lds.
32855 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32856
661607b3
RM
32857 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32858 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32859
9fa2c032
RM
32860 * configure.in (-z relro check): Adjust test code to add a large
32861 writable data section after it.
32862 * configure: Regenerated.
32863
defe9061
RM
328642011-07-11 Roland McGrath <roland@hack.frob.com>
32865
32866 * configure.in (-z relro check): Fix test code to make the variable
32867 truly const.
32868 * configure: Regenerated.
32869
319b9ad4
UD
328702011-07-11 Ulrich Drepper <drepper@gmail.com>
32871
32872 * nscd/nscd.h (struct traced_file): Define.
32873 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32874 elements. Add traced_files.
32875 (inotify_fd): Declare.
32876 (register_traced_file): Declare.
32877 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32878 (inotify_fd): Export.
32879 (resolv_conf_descr): Remove.
32880 (nscd_init): Move inotify descriptor creation to main.
32881 Don't register files for notification here.
32882 (register_traced_file): New function.
32883 (invalidate_cache): Don't use reset_res to determine whether to call
32884 res_init, go through the list of registered files.
32885 (main_loop_poll): The inotify descriptors are now stored in the
32886 structures for the traced files.
32887 (main_loop_epoll): Likewise
32888 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32889 to __nss_disable_nscd.
32890 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32891 for a database anymore. Check the records for all the registered
32892 files instead.
32893 * nss/Makefile (libnss_files-routines): Add files-init.
32894 (libnss_db-routines): Add db-init.
32895 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32896 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32897 * nss/nss_db/db-init.c: New file.
32898 * nss/nss_files/files-init.c: New file.
32899 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32900 __nss_lookup_function.
32901 (__nss_lookup_function): Call nss_load_library.
32902 (nss_load_all_libraries): New function.
32903 (__nss_disable_nscd): Take parameter with callback function for files
32904 to register. Set is_nscd. Load all the DSOs for the NSS modules
32905 used for the cached services.
32906 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32907 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32908 options for features to all the files in nscd.
32909
32910 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32911
23bee3e8
RM
329122011-07-10 Roland McGrath <roland@hack.frob.com>
32913
32914 * csu/elf-init.c (__libc_csu_init): Comment typo.
32915
46a5b7f0
UD
329162011-07-09 Ulrich Drepper <drepper@gmail.com>
32917
32918 * po/pl.po: Update from translation team.
32919 * po/ja.po: Likewise.
32920 * po/ru.po: Likewise.
32921 * po/ko.po: Likewise.
32922 * po/fr.po: Likewise.
32923
d30cf5bb
RM
329242011-07-09 Roland McGrath <roland@hack.frob.com>
32925
113ddea4
RM
32926 * configure.in (.ctors/.dtors header and trailer check):
32927 Use an empirical test on a built program.
32928 * configure: Regenerated.
32929
574920b4
RM
32930 * configure.in (-z relro check): Use an empirical test on a built DSO.
32931 Detect, but do not require, on ia64.
32932 * configure: Regenerated.
32933
d30cf5bb
RM
32934 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32935 Update tests that use readelf to use $READELF instead.
32936 * configure: Regenerated.
32937
8538fdb3
UD
329382011-07-08 Ulrich Drepper <drepper@gmail.com>
32939
32940 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32941 if the result is not used.
32942
04d08991
AJ
329432011-07-05 Andreas Jaeger <aj@suse.de>
32944
32945 [BZ#9696]
32946 * stdlib/tst-strtod.c: Add testcase.
32947
de283087
AD
329482011-07-07 Ulrich Drepper <drepper@gmail.com>
32949
4e5f31c8 32950 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32951 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32952 The latter has a higher limit. Take additional parameter to pass to
32953 the new function.
32954 (__pathconf): Pass file to __statfs_link_max.
32955 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32956 __statfs_link_max.
32957 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32958 __statfs_link_max.
32959
de283087
AD
32960 [BZ #12868]
32961 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32962 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32963 Handle Lustre.
32964 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32965 (__statfs_filesize_max): Likewise.
32966 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32967
c75fa153
AJ
329682011-07-05 Andreas Jaeger <aj@suse.de>
32969
32970 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32971
1a544854
UD
329722011-07-06 Marek Polacek <mpolacek@redhat.com>
32973
32974 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32975 `status' variable.
32976 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32977 Likewise.
32978
6f0eec67
UD
329792011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32980
32981 * Makefile (strop-tests): Add strncat.
32982 * string/test-strncat.c: New file.
32983
aae30307
UD
329842011-06-30 Marek Polacek <mpolacek@redhat.com>
32985
32986 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32987
c0cfb5eb
UD
329882011-06-21 Andreas Jaeger <aj@suse.de>
32989
32990 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32991 Copy rule from iconvdata/Makefile.
32992
01636b21
UD
329932011-07-06 Ulrich Drepper <drepper@gmail.com>
32994
32995 [BZ #12922]
32996 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32997 but no long options are defined, just return 'W'.
32998
9895c8bc
UD
329992011-06-22 Marek Polacek <mpolacek@redhat.com>
33000
33001 [BZ #9696]
33002 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33003
5d4cf042
UD
330042011-07-06 Ulrich Drepper <drepper@gmail.com>
33005
33006 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33007 netgroups to read.
960e5535 33008 (innetgr): Likewise.
5d4cf042 33009
751eb97e
RM
330102011-07-05 Roland McGrath <roland@hack.frob.com>
33011
33012 * config.make.in (install_root): Default to $(DESTDIR).
33013
f15f1e45
UD
330142011-07-05 Ulrich Drepper <drepper@gmail.com>
33015
33016 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33017
4e34ac6a
RM
330182011-07-02 Roland McGrath <roland@hack.frob.com>
33019
5e9b6af4
RM
33020 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33021
84f9ea0f
RM
33022 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33023 containing directory rather than embedding absolute directory names.
33024
ea5ee9f7
RM
33025 * scripts/check-local-headers.sh: Rewritten using awk.
33026 Match by word, not by line. Print error messages for matches.
33027 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33028
1b74661a
RM
33029 * Makerules [shlib-lds-flags empty]:
33030 ($(common-objpfx)libc_pic.opts): New target.
33031 ($(common-objpfx)libc_pic.os.clean): New target.
33032 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33033
33034 * config.make.in (OBJCOPY): New variable.
33035 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33036 * configure: Regenerated.
33037
f781ef40
RM
33038 * config.make.in (use-default-link): New variable.
33039 * configure.in (use_default_link): Grok --with-default-link to set it.
33040 * configure: Regenerated.
33041 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33042 (shlib-lds, shlib-lds-flags): Define to empty.
33043
2d4fa81e
RM
33044 * Makerules (shlib-lds): New variable.
33045 (shlib-lds-flags): New variable.
33046 (build-shlib, build-moduile, build-module-asneeded): Use it.
33047 ($(common-objpfx)libc.so): Use $(shlib-lds).
33048 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33049 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33050
31fffa6b
RM
33051 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33052 DT_FLAGS/DT_FLAGS_1 with zero flags.
33053
4e34ac6a
RM
33054 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33055 linker script munging.
33056
fcfc776b
UD
330572011-07-02 Ulrich Drepper <drepper@gmail.com>
33058
33059 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33060 as 128-bit value.
33061 * crypt/sha512.c (sha512_process_block): Perform total addition using
33062 128-bit if possible.
33063 (__sha512_finish_ctx): Likewise.
33064 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33065 as 64-bit value.
33066 * crypt/sha256.c (SWAP64): Define.
33067 (sha256_process_block): Perform total addition using 64-bit if
33068 possible.
33069 (__sha256_finish_ctx): Likewise.
33070
99231d9a
UD
330712011-07-01 Ulrich Drepper <drepper@gmail.com>
33072
33073 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33074 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33075 * nscd/hstcache.c (cache_addhst): Likewise.
33076 * nscd/grpcache.c (cache_addgr): Likewise.
33077 * nscd/aicache.c (addhstaiX): Likewise
33078 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33079
445b4a53
TK
330802011-07-01 Thorsten Kukuk <kukuk@suse.de>
33081
33082 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33083 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33084 * nscd/hstcache.c (cache_addhst): Likewise.
33085 * nscd/grpcache.c (cache_addgr): Likewise.
33086 * nscd/aicache.c (addhstaiX): Likewise
33087
6d4d8e8e
AS
330882011-07-01 Andreas Schwab <schwab@redhat.com>
33089
33090 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33091 domain only when needed.
33092
89f654c5
AS
330932011-06-30 Andreas Schwab <schwab@redhat.com>
33094
33095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33096 is always restored.
33097
cf3b23ff
UD
330982011-06-29 Ulrich Drepper <drepper@gmail.com>
33099
33100 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33101 are re-adding the entry.
33102 * nscd/servicescache.c (cache_addserv): Likewise.
33103
751626f9
AJ
331042011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33105
33106 * sysdeps/generic/dl-irel.h: fix protection against multiple
33107 inclusions.
33108 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33109
9113ea1f
UD
331102011-06-28 Ulrich Drepper <drepper@gmail.com>
33111
5c0b8d90
UD
33112 [BZ #12935]
33113 * malloc/memusage.sh: Fix quoting in message.
33114 * debug/xtrace.sh: Likewise.
33115
9113ea1f
UD
33116 * configure.in: Remove support for --experimental-malloc option, make
33117 it the default.
33118 * config.make.in: Likewise.
33119 * malloc/Makefile: Likewise.
33120
a4172181
AS
331212011-06-27 Andreas Schwab <schwab@redhat.com>
33122
33123 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33124 two-byte characters.
33125
78a7eee7
RM
331262011-06-27 Roland McGrath <roland@hack.frob.com>
33127
62bede13
RM
33128 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33129 AC_CACHE_CHECK invocation.
33130 * configure: Regenerated.
33131
78a7eee7
RM
33132 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33133
5ce33a62
UD
331342011-06-27 Ulrich Drepper <drepper@gmail.com>
33135
034807a9
UD
33136 [BZ #12350]
33137 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33138 bit from old_res_options.
33139
4902da17
UD
33140 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33141
5ce33a62
UD
33142 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33143 value type for setfct.
33144
c2344f56
L
331452011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33146
33147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33148 __gettimeofday instead of gettimeofday.
33149
68468076
UD
331502011-06-26 Ulrich Drepper <drepper@gmail.com>
33151
33152 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33153
acb0d739
L
331542011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33155
33156 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33157
33158 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33159 info.
33160
8912479f
L
331612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33162
33163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33164 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33165 strcpy-sse2-unaligned strncpy-sse2-unaligned
33166 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33167 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33168 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33169 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33170 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33171 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33172 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33173 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33174 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33175 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33176 (STRCPY): Support SSE2 and SSSE3 versions.
33177
d5495a11
UD
331782011-06-24 Ulrich Drepper <drepper@gmail.com>
33179
33180 [BZ #12874]
33181 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33182 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33183 kernels which artificially limit size of requests.
33184
0b1cbaae
L
331852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33186
33187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33188 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33189 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33190 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33191 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33192 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33193 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33194 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33195 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33196 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33197 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33198 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33199 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33200 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33201 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33203 Enable unaligned load optimization for Intel Core i3, i5 and i7
33204 processors.
33205 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33206 Define.
33207 (index_Fast_Unaligned_Load): Define.
33208 (HAS_FAST_UNALIGNED_LOAD): Define.
33209
07f494a0
MP
332102011-06-23 Marek Polacek <mpolacek@redhat.com>
33211
33212 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33213
fa3fc0fe
UD
332142011-06-22 Ulrich Drepper <drepper@gmail.com>
33215
33216 [BZ #12907]
33217 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33218 until it is clear that the information is realy needed.
33219 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33220
e12df166
AS
332212011-06-22 Andreas Schwab <schwab@redhat.com>
33222
33223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33224
852eb34d
UD
332252011-06-22 Ulrich Drepper <drepper@gmail.com>
33226
84e2a551
UD
33227 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33228 /sys/devices/system/cpu/online if it is usable.
33229
852eb34d
UD
33230 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33231 reading the information from the /proc filesystem to once a second.
33232
6e502e19
UD
332332011-06-21 Andreas Jaeger <aj@suse.de>
33234
33235 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33236 NULL after inclusion of kernel headers.
33237
75d39ff2
UD
332382011-06-21 Ulrich Drepper <drepper@gmail.com>
33239
51f9aa6a
UD
33240 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33241 calls to internal_setent.
33242
c0244a9d
UD
33243 [BZ #12885]
33244 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33245 addresses using gethostbyname4_r ignore IPv4 addresses.
33246
c5e3c2ae
UD
33247 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33248 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33249
75d39ff2
UD
33250 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33251
42675c6f
DM
332522011-06-20 David S. Miller <davem@davemloft.net>
33253
33254 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33255 inclusions.
33256 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33257
33258 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33259 (elf_irel): Use it.
33260 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33261 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33262 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33263 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33264 * sysdeps/x86_64/dl-irel.h: Likewise.
33265
33266 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33267 * elf/dl-sym.c: Likewise.
33268
57912a71
UD
332692011-06-15 Ulrich Drepper <drepper@gmail.com>
33270
33271 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33272 need to dereference resplen2.
33273
ee22793d
AS
332742011-06-14 Andreas Schwab <schwab@redhat.com>
33275
33276 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33277
a9e836b0
UD
332782011-06-15 Ulrich Drepper <drepper@gmail.com>
33279
77fb9117
UD
33280 * Makeconfig: Define vardbdir and inst_vardbdir.
33281 * nss/Makefile: Add rules to install db-Makefile.
33282
40c1b22c
UD
33283 * nss/nss_db/db-XXX.c: Cleanup.
33284
9f2da732
UD
33285 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33286 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33287 GLIBC_PRIVATE.
33288 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33289 * nss/makedb.c: Implement -g option to specify that value strings
33290 are generated and should not be added to table iterated over for
33291 get*ent calls.
33292 * nss/nss_db/db-initgroups.c: New file.
33293
82e9a1f7
UD
33294 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33295 interface.
33296
c41af17e
UD
33297 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33298 (internal_getgrouplist): Adjust to name change.
33299 Update use_initgroups_entry if this is not the first call.
33300 * nss/databases.def: Add initgroups entry.
33301
a9e836b0
UD
33302 * nss/makedb.c (compute_tables): Check result of multiple hash table
33303 sizes to minimize maximum chain length.
33304
2666d441
UD
333052011-06-14 Ulrich Drepper <drepper@gmail.com>
33306
33307 * Versions.def: Add entry for libnss_db.
33308 * shlib-versions: Likewise.
33309 * nss/Makefile: Add rules to build libnss_db.
33310 * nss/Versions: Add libnss_db information. Organize libnss_files
33311 entries better.
33312 * nss/db-Makefile: Add gshadow support. Change rules for the new
33313 makedb progra. Some minor improvements to generate smaller files.
33314 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33315 here from...
33316 * nss/makedb.c: ...here.
33317 Improve database format to be smaller and require less memory at
33318 runtime.
33319 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33320 db anymore.
33321 * nss/nss_db/db-netgrp.c: Likewise.
33322 * nss/nss_db/db-open.c: Likewise.
33323 * nss/nss_files/flies-XXX.x: Adjust comments.
33324 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33325 * nss/nss_files/files-grp.c: Likewise.
33326 * nss/nss_files/files-hosts.c: Likewise.
33327 * nss/nss_files/files-network.c: Likewise.
33328 * nss/nss_files/files-proto.c: Likewise.
33329 * nss/nss_files/files-pwd.c: Likewise.
33330 * nss/nss_files/files-rpc.c: Likewise.
33331 * nss/nss_files/files-service.c: Likewise.
33332 * nss/nss_files/files-sgrp.c: Likewise.
33333 * nss/nss_files/files-spwd.c: Likewise.
33334 * nss/nss_db/db-alias.c: Removed.
33335 * nss/nss_db/dummy-db.h: Removed.
33336
9ee76b5a
UD
333372011-06-02 Ulrich Drepper <drepper@gmail.com>
33338
33339 * nss/makedb.c: Rewritten to not use database library.
33340 * nss/Makefile: Update to build new makedb program.
33341
c71ca1f8
AJ
333422011-06-14 Andreas Jaeger <aj@suse.de>
33343
33344 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33345 memset declaration.
33346
3154bfb8
UD
333472011-06-10 Andreas Schwab <schwab@redhat.com>
33348
33349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33350 tmpbuf.
33351
b350afab
RM
333522011-06-10 Roland McGrath <roland@hack.frob.com>
33353
decd4e50
RM
33354 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33355 * elf/Makefile ($(objpfx)ld.so): Likewise.
33356
5615eaf2
RM
33357 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33358 Don't list ld.so twice in dependencies.
33359
33360 * posix/bug-regex31.c: Include <stdlib.h>.
33361
33362 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33363
33364 * nis/nss_compat/compat-spwd.c
33365 (getspent_next_nss_netgr): Remove unused variable.
33366 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33367
33368 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33369 nonmembers" output to use the right array.
33370
33371 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33372
33373 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33374
33375 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33376 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33377 * catgets/gencat.c (read_input_file): Likewise.
33378 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33379
33380 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33381 variable definition inside #if's controlling its use.
33382
33383 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33384
33385 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33386
33387 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33388
33389 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33390 unreachable code.
33391
33392 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33393
b68e08db
RM
33394 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33395 * configure: Regenerated.
33396
b350afab
RM
33397 * Makerules: Revert last change.
33398 * elf/Makefile: Likewise.
33399
28368601
RM
334002011-06-09 Roland McGrath <roland@hack.frob.com>
33401
33402 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33403 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33404 (reloc-link): Likewise.
33405
11988f8f
UD
334062011-06-09 Ulrich Drepper <drepper@gmail.com>
33407
33408 * elf/Makefile: Add rules to build pldd.
33409 * elf/pldd.c: New file.
33410 * elf/pldd-xx.c: New file.
33411
e80fab37
UD
334122011-06-07 Ulrich Drepper <drepper@gmail.com>
33413
33414 * version.h: Update for 2.15 development version.
33415
9b849836
DM
334162011-06-07 David S. Miller <davem@davemloft.net>
33417
33418 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33419 ifuncs.
33420 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33421 elf_machine_lazy_rel): Likewise.
33422 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33423 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33424 elf_machine_lazy_rel): Likewise.
33425 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33426 dl_hwcap via passed in argument.
33427 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33428 Likewise.
33429
5a31b283
AK
334302011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33431
33432 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33433
069e52f8
RM
334342011-06-06 Roland McGrath <roland@hack.frob.com>
33435
33436 [BZ #12849]
33437 * manual/fdl-1.1.texi: New file, verbatim from:
33438 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33439 * manual/lgpl-2.1.texi: New file, verbatim from:
33440 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33441 * manual/Makefile (licenses): New variable, list those new file names.
33442 (texis): Use it.
33443 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33444
33445 * manual/fdl.texi: File removed.
33446 * manual/lesser.texi: File removed.
33447 * manual/libc.texinfo (Copying, Documentation License):
33448 Use new @include file names, put @appendix directive before @include.
33449
f16846a5
JJ
334502011-06-04 Jakub Jelinek <jakub@redhat.com>
33451
33452 [BZ #12841]
33453 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33454 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33455 (mq_open): Add __NTH.
33456
3d29045b
L
334572011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33458
33459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33460 Assume Intel Core i3/i5/i7 processor if AVX is available.
33461
8c297311
UD
334622011-05-31 Ulrich Drepper <drepper@gmail.com>
33463
33464 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33465 typo.
33466
c8fc0c91
UD
334672011-05-31 Andreas Schwab <schwab@redhat.com>
33468
33469 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33470 memory. Use alloca_account. Fix memory leak when retrying.
33471
5b27a807
UD
334722011-05-31 Ulrich Drepper <drepper@gmail.com>
33473
356f8bc6
UD
33474 * version.h (RELEASE): Bump for 2.14 release.
33475 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33476
5b27a807
UD
33477 * config.make.in (RANLIB): Remove entry.
33478
01f16ab0
UD
334792011-05-30 Ulrich Drepper <drepper@gmail.com>
33480
41fce8bd
UD
33481 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33482 (libc.pot): Work around missing support for .ksh extension in xgettext.
33483
4769ae77
UD
33484 [BZ #12684]
33485 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33486 if both request failed.
33487 (send_dg): In case of server errors clear resplen or *resplen2.
33488
6b1e7d19
UD
33489 [BZ #12454]
33490 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33491 when there are multiple maps.
33492 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33493 (_dl_fini): Remove test here.
33494
01f16ab0
UD
33495 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33496
b1ebd700
UD
334972011-05-29 Ulrich Drepper <drepper@gmail.com>
33498
7ae22829
UD
33499 [BZ #12350]
33500 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33501 bit from old_res_options.
33502 (gaih_inet): Likewise.
33503
553149f6 33504 [BZ #11099]
18a84741 33505 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33506 as signed.
33507
652ffab1
UD
33508 * resolv/res_init.c (res_setoptions): Make the code more compact.
33509
16985fd0
UD
33510 [BZ #11558]
33511 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33512 set RES_USEVC.
33513
0464f746
UD
33514 [BZ #11634]
33515 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33516
7d17596c
UD
33517 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33518
cf6bbbd7
UD
33519 [BZ #11781]
33520 * malloc/malloc.h: Declare malloc hook variables as volatile.
33521
13f1ab36
UD
33522 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33523 in last patch.
33524
b1ebd700
UD
33525 [BZ #11799]
33526 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33527 raise in the comment.
80e2212d
UD
33528 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33529 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33530 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33531
ce67228d
UD
335322011-05-28 Ulrich Drepper <drepper@gmail.com>
33533
8887a920
UD
33534 [BZ #12811]
33535 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33536 grow the buffers more if it already has to be sufficient.
33537 (build_wcs_upper_buffer): Likewise.
33538 * posix/regexec.c (check_matching): Likewise.
33539 (clean_state_log_if_needed): Likewise.
33540 (extend_buffers): Don't enlarge buffers beyond size of the input
33541 buffer.
33542 Patches mostly by Emil Wojak <emil@wojak.eu>.
33543 * posix/bug-regex32.c: New file.
33544 * posix/Makefile (tests): Add bug-regex32.
33545
4f031072
UD
33546 * locale/findlocale.c (_nl_find_locale): Return right away if
33547 _nl_explode_name failed.
33548 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33549
d0478f0c
UD
33550 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33551
de81b246
UD
33552 * debug/xtrace.sh: Unify messages.
33553 * malloc/memusage.sh: Likewise.
33554
c738465a
UD
33555 [BZ #12813]
33556 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33557 time symbol from vDSO. Substitute with vsyscall if not available.
33558 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33559 __vdso_time.
33560
f1f929d7
UD
33561 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33562 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33563 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33564 Add sendmmsg and internal_sendmmsg.
33565 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33566 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33567 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33568
ce67228d
UD
33569 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33570 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33571 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33572
e57420c6
UD
335732011-05-27 Ulrich Drepper <drepper@gmail.com>
33574
a8509ca5
UD
33575 [BZ #12813]
33576 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33577 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33578 available.
33579 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33580 __vdso_getcpu.
33581
e57420c6
UD
33582 [BZ #12814]
33583 * iconvdata/Makefile (tests): Add bug-iconv9.
33584 * iconvdata/bug-iconv9.c: New file.
33585
4d07db15
AS
335862011-05-27 Andreas Schwab <schwab@redhat.com>
33587
33588 [BZ #12814]
33589 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33590
ea486f69
JJ
335912011-05-25 Jakub Jelinek <jakub@redhat.com>
33592
33593 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33594 (struct user_regs_struct): Change intcs field back to cs.
33595
6f038433
UD
335962011-05-25 Ulrich Drepper <drepper@gmail.com>
33597
33598 * po/ja.po: Update from translation team.
33599
67f86a25
UD
336002011-05-23 Ulrich Drepper <drepper@gmail.com>
33601
33602 [BZ #12795]
33603 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33604 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33605
def7fbd6
AS
336062011-05-20 Andreas Schwab <schwab@redhat.com>
33607
33608 * stdlib/longlong.h: Update from GCC.
33609
f50ef8f1
AS
336102011-05-23 Andreas Schwab <schwab@redhat.com>
33611
33612 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33613 parameter name.
33614 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33615 Add parameter name.
33616 (__sysconf): Pass it down.
33617
de7ce8f1
UD
336182011-05-22 Ulrich Drepper <drepper@gmail.com>
33619
f2962a71
UD
33620 [BZ #12671]
33621 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33622 some situations.
33623 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33624 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33625 add in in __libc_use_alloca calls. Adjust callers.
33626 (glob): Use malloc in some situations.
33627
de7ce8f1
UD
33628 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33629 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33630 pltexit.
33631
aec84f53
UD
336322011-05-21 Ulrich Drepper <drepper@gmail.com>
33633
05bb4a68
UD
33634 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33635 and CLOCK_BOOTTIME_ALARM.
33636
7ea72f99
UD
33637 [BZ #12782]
33638 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33639 is returned.
33640
7e4afad5
UD
33641 * string/_strerror.c (__strerror_r): Print negative errors as signed
33642 numbers.
33643
8e211fec
UD
33644 [BZ #12777]
33645 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33646 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33647 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33648
f7d82dc9
UD
33649 * configure.in: Fix typo in redirection and correct removal of test
33650 files in two cases.
33651
cc9e536d
UD
33652 [BZ #12788]
33653 * locale/setlocale.c (new_composite_name): Fix test to check for
33654 identical name of all categories.
33655
aec84f53
UD
33656 [BZ #12792]
33657 * libio/filedoalloc.c (local_isatty): New function.
33658 (_IO_file_doallocate): Use local_isatty.
33659 * stdio-common/perror.c (perror): In case a new stream is used
33660 forward the stream error.
33661 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33662 error flag.
33663
78e64fdc
RT
336642011-05-20 Ulrich Drepper <drepper@gmail.com>
33665
34a9094f
UD
33666 [BZ #11869]
33667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33668 alloca.
33669 * include/alloca.h (extend_alloca_account): Define.
33670
78e64fdc
RT
33671 [BZ #11857]
33672 * posix/regex.h: Fix comments with documentation of user-accessible
33673 fields after compilation and describe correct free'ing of pattern
33674 after re_compile_pattern.
33675 Patch by Reuben Thomas <rrt@sc3d.org>.
33676
457bddfc
RA
336772011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33678
33679 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33680 and -mno-altivec to prevent the compiler from using Altivec and/or
33681 VSX instructions when the corresponding registers are not available.
33682
a4527b51
AS
336832011-05-19 Andreas Schwab <schwab@redhat.com>
33684
33685 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33686
ed690b2f
UD
336872011-05-19 Ulrich Drepper <drepper@gmail.com>
33688
33689 * libio/freopen.c (freopen): Use __dup2, not dup2.
33690 * libio/freopen64.c (freopen64): Likewise.
33691
8db73634
L
336922011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33693
33694 [BZ #12775]
33695 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33696 * math/Makefile (tests): Add test-powl.
33697 (CFLAGS-test-powl.c): Define.
33698 * math/test-powl.c: New file.
33699
0a197a9d
L
337002011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33701
33702 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33703
ee30c380
UD
337042011-05-17 Ulrich Drepper <drepper@gmail.com>
33705
33706 [BZ #11837]
33707 * iconvdata/gb18030.c: Update to GB18020-2005.
33708
6ce75379
UD
337092011-05-16 Ulrich Drepper <drepper@gmail.com>
33710
a4b89fd8
AR
33711 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33712 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33713 Patch by Aharon Robbins <arnold@skeeve.com>.
33714
ea389b12
UD
33715 [BZ #11892]
33716 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33717 on the stack.
33718
68a3f91f
UD
33719 [BZ #11895]
33720 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33721 through underflows.
33722
15cc7dd1
UD
33723 [BZ #12766]
33724 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33725 point to strings before performing equality test for error_one_per_line
33726 mode.
33727
f3799213
UD
33728 [BZ #11697]
33729 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33730
d79a9c94
UD
33731 [BZ #11820]
33732 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33733 (struct user_fpregs_struct): Avoid __uint*_t types.
33734
56e5eb46
UD
33735 [BZ #6420]
33736 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33737 symbol info. Use it instead of calling _dl_addr locally.
33738 (lock_and_info): New function.
33739 (tr_freehook): Call lock_and_info and pass symbol info as additional
33740 parameter to tr_where.
33741 (tr_mallochook): Likewise.
33742 (tr_reallochook): Likewise.
33743 (tr_memalignhook): Likewise.
33744
6ce75379
UD
33745 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33746 used and couldn't be at all thread-safe.
33747
f8a3b5bf
UD
337482011-05-15 Ulrich Drepper <drepper@gmail.com>
33749
94b7cc37
UD
33750 * libio/freopen.c (freopen): Don't close old file descriptor
33751 before the new one is opened. Instead dup the new file descriptor
33752 to the old one after the new stream is created.
33753 * libio/freopen64.c (freopen64): Likewise.
33754 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33755 * libio/fileops.c (_IO_new_file_close_it): Handle new
33756 _IO_FLAGS2_NOCLOSE flag.
33757 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33758 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33759 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33760 _IO_FLAGS2_NOCLOSE flag.
33761 * include/unistd.h: Add hidden_proto for dup3.
33762 Define __have_dup3.
33763 * io/dup3.c: Define hidden symbol.
33764 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33765
bd25564e
UD
33766 [BZ #7101]
33767 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33768 when an incomplete long option is used.
33769 * posix/tst-getopt_long1.c: New file.
33770 * posix/Makefile (tests): Add tst-getopt_long1.
33771
c84cfef4
UD
33772 [BZ #10138]
33773 * scripts/config.guess: Update from autoconf-2.68.
33774 * scripts/config.sub: Likewise.
33775
3b85df27
UD
33776 [BZ #10157]
33777 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33778 tests into ...
33779 (has_cpuclock): ...this. New function.
33780 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33781 macro here based on has_cpuclock code.
33782
15a856b1
UD
33783 [BZ #10149]
33784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33785 First byte (not low byte) is now always NUL.
33786 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33787
05f399e6
UD
33788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33789 Use non-cancelable interfaces.
33790
10a52685 33791 [BZ #9809]
94ecc67d
UD
33792 * locale/iso-639.def: Add entry for Sorani.
33793
f8a3b5bf
UD
33794 [BZ #11901]
33795 * include/stdlib.h: Move include protection to the right place.
33796 Define abort_msg_s. Declare __abort_msg with it.
33797 * stdlib/abort.c (__abort_msg): Adjust type.
33798 * assert/assert.c (__assert_fail_base): New function. Majority
33799 of code from __assert_fail. Allocate memory for __abort_msg with
33800 mmap.
33801 (__assert_fail): Now call __assert_fail_base.
33802 * assert/assert-perr.c: Remove bulk of implementation. Use
33803 __assert_fail_base.
33804 * include/assert.hL Declare __assert_fail_base.
33805 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33806 mmap.
33807 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33808
1af4e298
UD
338092011-05-14 Ulrich Drepper <drepper@gmail.com>
33810
f8a3b5bf 33811 [BZ #11952]
d26dfc60
MG
33812 [BZ #12453]
33813 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33814 until all modules are registered in the DTV.
33815 * elf/Makefile: Add rules to build and run tst-tls19.
33816 * elf/tst-tls19.c: New file.
33817 * elf/tst-tls19mod1.c: New file.
33818 * elf/tst-tls19mod2.c: New file.
33819 * elf/tst-tls19mod3.c: New file.
33820 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33821
2fc54d6f
UD
33822 [BZ #12083]
33823 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33824 correctly.
33825
98d76b46
UD
33826 [BZ #12601]
33827 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33828 two-byte sequence errors.
33829 * iconvdata/Makefile (tests): Add bug-iconv8.
33830 * iconvdata/bug-iconv8.c: New file.
33831
da3c19ef
UD
33832 [BZ #12626]
33833 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33834 buf2 definition.
33835
ca408c15
UD
33836 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33837
d6f67f7d
UD
33838 [BZ #12432]
33839 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33840 (dummy_getcfa): New function.
33841 (init): Get _Unwind_GetCFA address, use dummy if not found.
33842 (backtrace_helper): In recursion check, also check whether CFA changes.
33843 (__backtrace): Completely initialize arg.
33844
1af4e298 33845 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33846 storing incomplete byte sequence in state object. Avoid testing for
33847 guaranteed too small input if we know there is enough data available.
1af4e298 33848
da62f81b
AS
338492011-05-11 Andreas Schwab <schwab@redhat.com>
33850
33851 * Makeconfig (+link-pie): Indent.
33852 * Rules (binaries-pie): Define if $(have-fpie) and
33853 $(build-shared).
33854 (binaries-shared): Also filter out $(binaries-pie).
33855 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33856 * nscd/Makefile (others-pie): Add nscd.
33857 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33858 ($(objpfx)nscd): Remove command override.
33859 * login/Makefile (others-pie): Add pt_chown.
33860 ($(objpfx)pt_chown): Remove command override.
33861 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33862 remove command overrides.
33863
fcabc0f8
UD
338642011-05-13 Ulrich Drepper <drepper@gmail.com>
33865
20030ae6
UD
33866 * libio/tst_putwc.c: Fix error messages.
33867
fcabc0f8
UD
33868 [BZ #12724]
33869 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33870 currently writing and seek to current position when not.
33871 * libio/Makefile (tests): Add bug-fclose1.
33872 * libio/bug-fclose1.c: New file.
33873
320a5dc0
PB
338742011-05-12 Ulrich Drepper <drepper@gmail.com>
33875
33876 [BZ #12511]
33877 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33878 don't set DF_1_NODELETE here.
33879 (do_lookup_x): When entering new entry test for copy relocation
33880 and if necessary set DF_1_NODELETE flag.
33881 * elf/tst-unique4.cc: New file.
33882 * elf/tst-unique4.h: New file.
33883 * elf/tst-unique4lib.cc: New file.
33884 * elf/Makefile: Add rules to build and run tst-unique4.
33885 Patch by Piotr Bury <pbury@goahead.com>.
33886
22836f52
UD
338872011-05-11 Ulrich Drepper <drepper@gmail.com>
33888
f574184a
UD
33889 [BZ #12052]
33890 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33891
e1fb097f
UD
33892 [BZ #12625]
33893 * misc/mntent_r.c (addmntent): Flush the stream after the output
33894
22836f52
UD
33895 [BZ #12393]
33896 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33897 (is_trusted_path_normalize): Skip initial colon. Append slash
33898 to empty buffer. Duplicate is_trusted_path code but allow
33899 constructed patch to be prefix.
33900 (is_dst): Allow $ORIGIN followed by /.
33901 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33902 Correct testing of result of is_trusted_path_normalize
33903 (decompose_rpath): Fix warning.
33904
7b3b0b2a
UD
339052011-05-10 Ulrich Drepper <drepper@gmail.com>
33906
33907 [BZ #11257]
33908 * grp/initgroups.c (internal_getgrouplist): When we found the service
33909 list through the initgroups entry in nsswitch.conf do not always
33910 continue on a successful lookup. Don't always use the
eac80ce2 33911 __nss_group_database value if it is set.
7b3b0b2a
UD
33912 * nss/nsswitch.conf (initgroups): Change action for successful db
33913 lookup to continue for compatibility.
33914
2a81eaa5
UD
339152011-05-09 Ulrich Drepper <drepper@gmail.com>
33916
be97a69e
UD
33917 [BZ #11532]
33918 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33919 and CP774 modules.
33920 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33921 and CP774 modules.
33922 * iconvdata/tst-tables.sh: Likewise.
33923 * iconvdata/cp770.c: New file.
33924 * iconvdata/cp771.c: New file.
33925 * iconvdata/cp772.c: New file.
33926 * iconvdata/cp773.c: New file.
33927 * iconvdata/cp774.c: New file.
33928 * iconvdata/testdata/CP770: New file.
33929 * iconvdata/testdata/CP770..UTF8: New file.
33930 * iconvdata/testdata/CP771: New file.
33931 * iconvdata/testdata/CP771..UTF8: New file.
33932 * iconvdata/testdata/CP772: New file.
33933 * iconvdata/testdata/CP772..UTF8: New file.
33934 * iconvdata/testdata/CP773: New file.
33935 * iconvdata/testdata/CP773..UTF8: New file.
33936 * iconvdata/testdata/CP774: New file.
33937 * iconvdata/testdata/CP774..UTF8: New file.
33938
33939 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33940 END CHARMAP line.
33941 * iconvdata/gen-8bit-gap.sh: Likewise.
33942 * iconvdata/gen-8bit.sh: Likewise.
33943
c1e9e399
UD
33944 * locale/iso-639.def: Add ary entry.
33945
24c55fb3 33946 [BZ #11258]
96b4b1b0
UD
33947 * locale/C-translit.h.in: Add U20A1 transliteration.
33948
bdc2f971
KB
33949 [BZ #12178]
33950 * locale/iso-639.def: Add wae entry.
33951 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33952
2952b117
UD
33953 [BZ #12545]
33954 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33955 for n.
33956
2a81eaa5
UD
33957 [BZ #12711]
33958 * locale/C-translit.h.in: Add entry for U20B9.
33959 Patch by pravin.d.s@gmail.com.
33960
28377d1b
UD
339612011-05-08 Ulrich Drepper <drepper@gmail.com>
33962
7fb90fb8
UD
33963 [BZ #12713]
33964 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33965 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33966 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33967 in rtld. Use *stat64.
7fb90fb8 33968 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33969 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33970 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33971 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33972 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33973 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33974 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33975 __fstatat64 macros.
7fb90fb8
UD
33976 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33977 * dirent/rewinddir.c: Add libc_hidden_def.
33978 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33979 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33980
28377d1b
UD
33981 * include/dirent.h (__alloc_dir): Add flags parameter.
33982 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33983 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33984 __alloc_dir.
33985 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33986 from fdopendir if O_CLOEXEC is already set.
33987
66bdbaa4
AM
339882011-03-15 Alan Modra <amodra@gmail.com>
33989
33990 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33991 l_tls_firstbyte_offset non-zero. Save padding offset in
33992 l_tls_firstbyte_offset for later use.
33993 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33994 freeing static tls block.
33995
95721191
JN
339962011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33997
33998 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33999 where #ifdef was intended. The intent is to prevent ARG_MAX from
34000 being defined by the kernel headers.
34001
f87dfb1f
UD
340022011-05-07 Ulrich Drepper <drepper@gmail.com>
34003
34004 [BZ #12734]
34005 * resolv/resolv.h: Define RES_NOTLDQUERY.
34006 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34007 no-tld-query and set RES_NOTLDQUERY.
34008 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34009 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34010 modern BIND to search name as TLD unless forbidden.
34011
47c3cd7a
UD
340122011-05-07 Petr Baudis <pasky@suse.cz>
34013 Ulrich Drepper <drepper@gmail.com>
34014
34015 [BZ #12393]
34016 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34017 (is_trusted_path): ...to here.
c1e9ea35 34018 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34019 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34020 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34021
8a35c912
PP
340222011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34023
34024 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34025 __BEGIN/__END_DECLS.
34026
acd41f47
UD
340272011-05-06 Ulrich Drepper <drepper@gmail.com>
34028
34029 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34030 NSS_STATUS_NOTFOUND if no record was found.
34031
597df647
AS
340322011-05-05 Andreas Schwab <schwab@redhat.com>
34033
34034 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34035 (headers-not-in-tirpc): Remove rpc/netdb.h
34036 * resolv/netdb.h: Revert last change.
34037
b9af1301
PP
340382011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34039
34040 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34041 circular dependency between libgcc.a and libc.a.
34042
4e34d5f5
AS
340432011-05-05 Andreas Schwab <schwab@redhat.com>
34044
34045 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34046 * nis/Makefile: Don't install rpcsvc/*.
34047 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34048 instead of <rpc/types.h>.
34049 (MAXHOSTNAMELEN): Define.
34050
00ee369c
AS
340512011-05-03 Andreas Schwab <schwab@redhat.com>
34052
34053 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34054
0b592a30
MB
340552011-04-28 Maciej Babinski <mbabinski@google.com>
34056
34057 [BZ #12714]
34058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34059 gethostbyname4_r when IPv6 results are possible.
34060
6e04cbbe
UD
340612011-05-02 Ulrich Drepper <drepper@gmail.com>
34062
34063 [BZ #12723]
34064 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34065 _PC_PIPE_BUF handling.
34066
e4ecafe0
BH
340672011-04-30 Bruno Haible <bruno@clisp.org>
34068
34069 [BZ #12717]
34070 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34071 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34072 to 'int'.
34073 * inet/getnameinfo.c (getnameinfo): Likewise.
34074
125ee683
UD
340752011-04-29 Ulrich Drepper <drepper@gmail.com>
34076
34077 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34078 to groups setting in database lookup.
34079 * nss/nsswitch.conf: Add initgroups entry.
34080
b722481a
EB
340812011-04-22 Ulrich Drepper <drepper@gmail.com>
34082
34083 [BZ #12685]
34084 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34085 mode string.
34086 Patch by Eric Blake <eblake@redhat.com>.
34087
4df46dbd
L
340882011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34089
34090 * sunrpc/Makefile (need-export-routines): Add svc_run.
34091 (routines): Remove svc_run.
34092 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34093 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34094 * sunrpc/svc_run.c (svc_run): Likewise.
34095 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34096
e84142d2
UD
340972011-04-21 Ulrich Drepper <drepper@gmail.com>
34098
34099 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34100 problem in reallocation in last patch.
34101
877175d8
UD
341022011-04-20 Ulrich Drepper <drepper@gmail.com>
34103
34104 * sunrpc/Makefile: Move inclusion of Rules.
34105
ab8eed78
UD
341062011-04-19 Ulrich Drepper <drepper@gmail.com>
34107
34108 * nss/nss_files/files-initgroups.c: New file.
34109 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34110 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34111 _nss_files_initgroups_dyn.
34112
e3d8f584
RS
341132011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34114
34115 * elf/elf.h (R_ARM_IRELATIVE): Define.
34116
af190f45
UD
341172011-04-19 Ulrich Drepper <drepper@gmail.com>
34118
34119 * po/ru.po: Update from translation team.
34120
53cf59ef
UD
341212011-04-17 Ulrich Drepper <drepper@gmail.com>
34122
34123 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34124 dependencies.
34125
4c559bcd
MF
341262011-02-06 Mike Frysinger <vapier@gentoo.org>
34127
34128 [BZ #12653]
34129 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34130 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34131 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34132 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34133 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34134
4420675c
AS
341352011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34136
34137 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34138 differing bytes.
34139 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34140 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34141 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34142
75ea32ab
UD
341432011-04-17 Ulrich Drepper <drepper@gmail.com>
34144
34145 [BZ #12420]
34146 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34147 storing it.
34148 * stdlib/bug-getcontext.c: New file.
34149 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34150
27390476
AK
341512011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34152
34153 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34154 instructions into .machine "z9-109".
34155 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34156 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34157
10442705
AK
341582011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34159
34160 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34161 between environment variables and auxiliary vector.
34162
7b57bfe5
UD
341632011-04-16 Ulrich Drepper <drepper@gmail.com>
34164
34165 * Makefile: Add rules to build linkobj/libc.so.
34166 * include/libc-symbols.h: Define libc_hidden_nolink.
34167 * include/rpc/auth.h: Mark functions which are to be hidden.
34168 * include/rpc/auth_des.h: Likewise.
34169 * include/rpc/auth_unix.h: Likewise.
34170 * include/rpc/clnt.h: Likewise.
34171 * include/rpc/des_crypt.h: Likewise.
34172 * include/rpc/key_prot.h: Likewise.
34173 * include/rpc/pmap_clnt.h: Likewise.
34174 * include/rpc/pmap_prot.h: Likewise.
34175 * include/rpc/pmap_rmt.h: Likewise.
34176 * include/rpc/rpc_msg.h: Likewise.
34177 * include/rpc/svc.h: Likewise.
34178 * include/rpc/svc_auth.h: Likewise.
34179 * include/rpc/xdr.h: Likewise.
34180 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34181 * nss/Makefile: Likewise.
34182 * sunrpc/Makefile: Don't install headers. Build library with normal
34183 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34184 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34185 for the compat linking library. Remove use of INTDEF/INTUSE.
34186 * sunrpc/auth_none.c: Likewise.
34187 * sunrpc/auth_unix.c: Likewise.
34188 * sunrpc/authdes_prot.c: Likewise.
34189 * sunrpc/authuxprot.c: Likewise.
34190 * sunrpc/clnt_gen.c: Likewise.
34191 * sunrpc/clnt_perr.c: Likewise.
34192 * sunrpc/clnt_raw.c: Likewise.
34193 * sunrpc/clnt_simp.c: Likewise.
34194 * sunrpc/clnt_tcp.c: Likewise.
34195 * sunrpc/clnt_udp.c: Likewise.
34196 * sunrpc/clnt_unix.c: Likewise.
34197 * sunrpc/des_crypt.c: Likewise.
34198 * sunrpc/des_soft.c: Likewise.
34199 * sunrpc/get_myaddr.c: Likewise.
34200 * sunrpc/key_call.c: Likewise.
34201 * sunrpc/key_prot.c: Likewise.
34202 * sunrpc/netname.c: Likewise.
34203 * sunrpc/pm_getmaps.c: Likewise.
34204 * sunrpc/pm_getport.c: Likewise.
34205 * sunrpc/pmap_clnt.c: Likewise.
34206 * sunrpc/pmap_prot.c: Likewise.
34207 * sunrpc/pmap_prot2.c: Likewise.
34208 * sunrpc/pmap_rmt.c: Likewise.
34209 * sunrpc/publickey.c: Likewise.
34210 * sunrpc/rpc_cmsg.c: Likewise.
34211 * sunrpc/rpc_common.c: Likewise.
34212 * sunrpc/rpc_dtable.c: Likewise.
34213 * sunrpc/rpc_prot.c: Likewise.
34214 * sunrpc/rpc_thread.c: Likewise.
34215 * sunrpc/rtime.c: Likewise.
34216 * sunrpc/svc.c: Likewise.
34217 * sunrpc/svc_auth.c: Likewise.
34218 * sunrpc/svc_authux.c: Likewise.
34219 * sunrpc/svc_raw.c: Likewise.
34220 * sunrpc/svc_run.c: Likewise.
34221 * sunrpc/svc_simple.c: Likewise.
34222 * sunrpc/svc_tcp.c: Likewise.
34223 * sunrpc/svc_udp.c: Likewise.
34224 * sunrpc/svc_unix.c: Likewise.
34225 * sunrpc/svcauth_des.c: Likewise.
34226 * sunrpc/xcrypt.c: Likewise.
34227 * sunrpc/xdr.c: Likewise.
34228 * sunrpc/xdr_array.c: Likewise.
34229 * sunrpc/xdr_float.c: Likewise.
34230 * sunrpc/xdr_intXX_t.c: Likewise.
34231 * sunrpc/xdr_mem.c: Likewise.
34232 * sunrpc/xdr_rec.c: Likewise.
34233 * sunrpc/xdr_ref.c: Likewise.
34234 * sunrpc/xdr_sizeof.c: Likewise.
34235 * sunrpc/xdr_stdio.c: Likewise.
34236
e6c61494
UD
342372011-04-10 Ulrich Drepper <drepper@gmail.com>
34238
34239 [BZ #12650]
34240 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34241 * sysdeps/ia64/dl-tls.h: Likewise.
34242 * sysdeps/powerpc/dl-tls.h: Likewise.
34243 * sysdeps/s390/dl-tls.h: Likewise.
34244 * sysdeps/sh/dl-tls.h: Likewise.
34245 * sysdeps/sparc/dl-tls.h: Likewise.
34246 * sysdeps/x86_64/dl-tls.h: Likewise.
34247 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34248
34fe483e
AS
342492011-03-14 Andreas Schwab <schwab@redhat.com>
34250
34251 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34252 rpath element also skip the following colon.
34253 (expand_dynamic_string_token): Add is_path parameter and pass
34254 down to DL_DST_REQUIRED and _dl_dst_substitute.
34255 (decompose_rpath): Call expand_dynamic_string_token with
34256 non-zero is_path. Ignore empty rpaths.
34257 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34258 with zero is_path.
34259
f12a32e6
AS
342602011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34261
34262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34263 Make cancelable.
34264
38a7d692
UD
342652011-04-09 Ulrich Drepper <drepper@gmail.com>
34266
34267 [BZ #12655]
34268 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34269 Patch by Filipe David Manana <fdmanana@apache.org>.
34270
e451d22b
AS
342712011-04-07 Andreas Schwab <schwab@redhat.com>
34272
34273 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34274 Maintain aligned stack.
34275 (CHECK_RSP): Remove unused macro.
34276
dedc7c7b
UD
342772011-04-03 Ulrich Drepper <drepper@gmail.com>
34278
34279 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34280 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34281
94521213
UD
342822011-04-02 Ulrich Drepper <drepper@gmail.com>
34283
34284 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34285
8cb700c0 34286 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34287
0354e355
L
342882011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34289
34290 [BZ #12518]
34291 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34292 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34293 * sysdeps/x86_64/memmove.c: New file.
34294 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34295 (memcpy): Renamed to ...
34296 (__new_memcpy): This.
34297 (memcpy): Provide GLIBC_2_14 memcpy.
34298 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34299 (memcpy): Provide GLIBC_2_2_5 memcpy.
34300
8593482f
UD
343012011-04-01 Ulrich Drepper <drepper@gmail.com>
34302
34303 [BZ #12631]
34304 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34305
81a5726b
AS
343062011-03-30 Andreas Schwab <schwab@redhat.com>
34307
34308 * misc/syncfs.c: New file.
34309 * misc/Makefile (routines): Add syncfs.
34310 * posix/unistd.h: Declare syncfs.
34311 * sysdeps/unix/syscalls.list: Add syncfs.
34312
00e5419f
AS
343132011-04-01 Andreas Schwab <schwab@redhat.com>
34314
34315 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34316 open_by_handle_at.
34317 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34318 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34319 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34322 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34323 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34324
748876bf
UD
343252011-04-01 Ulrich Drepper <drepper@gmail.com>
34326
658e451d
UD
34327 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34328 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34329 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34330 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34331 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34333 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34334
748876bf
UD
34335 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34336 sync_file_range.c with -fexceptions.
34337 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34338 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34339 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34340 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34341 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34342 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34343 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34344 sync_file_range as cancellation point
34345 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34346 now a wrapper around __call_sync_file_range with cancellation handling.
34347 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34348 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34349 function name to __call_sync_file_range.
34350 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34351 Add call_sync_file_range.
748876bf 34352
6e63d5e1
AS
343532011-04-01 Andreas Schwab <schwab@redhat.com>
34354
34355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34356 bits/timex.h.
6e63d5e1 34357
46998f74
UD
343582011-04-01 Ulrich Drepper <drepper@gmail.com>
34359
4c1423ed
UD
34360 * iconv/iconv.h: Fix typo in comment.
34361 * io/fcntl.h: Likewise.
34362 * libio/stdio.h: Likewise.
34363 * posix/spawn.h: Likewise.
34364 * posix/unistd.h: Likewise.
34365 * stdlib/stdlib.h: Likewise.
34366 * time/time.h: Likewise.
34367 * wcsmbs/wchar.h: Likewise.
34368
158648c0
UD
34369 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34370 open_by_handle): Add.
34371 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34372 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34373 Augment a few comments.
34374 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34375 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34376 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34377 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34378 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34379 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34380 open_by_handle.
34381
46998f74
UD
34382 * io/fcntl.h (AT_EMPTY_PATH): Define.
34383
83fe108b
UD
343842011-03-30 Ulrich Drepper <drepper@gmail.com>
34385
34386 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34387 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34388 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34389 to...
34390 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34391 * Versions.def: Add GLIBC_2.14.
34392 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34393 Export.
83fe108b 34394
bb242059
UD
343952011-03-22 Ulrich Drepper <drepper@gmail.com>
34396
34397 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34398 round counter.
34399 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34400
c97a1282
L
344012011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34402
34403 [BZ #12597]
34404 * string/test-strncmp.c (do_page_test): New function.
34405 (check2): Likewise.
34406 (test_main): Call check2.
34407 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34408
2a115601
UD
344092011-03-20 Ulrich Drepper <drepper@gmail.com>
34410
34411 [BZ #12587]
34412 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34413 Handle cache information in CPU leaf 4.
34414 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34415
8126d904
UD
344162011-03-18 Ulrich Drepper <drepper@gmail.com>
34417
042c49c6 34418 [BZ #12583]
8126d904
UD
34419 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34420 character representation.
34421 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34422
ccfe366e
RA
344232011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34424
34425 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34426 END(__isnan) to END(__isnanf) to match function entry point/label
34427 EALIGN(__isnanf,...).
34428
c6e13027
JJ
344292011-03-10 Jakub Jelinek <jakub@redhat.com>
34430
34431 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34432
33f85a3f
UD
344332011-03-10 Ulrich Drepper <drepper@gmail.com>
34434
028478fa
UD
34435 [BZ #12510]
34436 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34437 copy from the symbol referenced in the relocation to initialize the
34438 used variable.
34439 Patch by Piotr Bury <pbury@goahead.com>.
34440 * elf/Makefile: Add rules to build and tst-unique3.
34441 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34442 * elf/tst-unique3.cc: New file.
34443 * elf/tst-unique3.h: New file.
34444 * elf/tst-unique3lib.cc: New file.
34445 * elf/tst-unique3lib2.cc: New file.
34446
33f85a3f
UD
34447 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34448
03592fc7
MF
344492011-03-10 Mike Frysinger <vapier@gentoo.org>
34450
34451 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34452 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34453 to _start.
03592fc7 34454
6a5ee102
UD
344552011-03-06 Ulrich Drepper <drepper@gmail.com>
34456
34457 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34458 to-be-loaded object along a path to loader is ld.so.
34459
7e4ba49c
HJ
344602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34461 Ulrich Drepper <drepper@gmail.com>
34462
34463 * sysdeps/x86_64/memset.S: After aligning destination, code
34464 branches to different locations depending on the value of
34465 misalignment, when multiarch is enabled. Fix this.
34466
344672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34468
34469 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34470 Set _x86_64_preferred_memory_instruction for AMD processsors.
34471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34472 Set bit_Prefer_SSE_for_memop for AMD processors.
34473
13a804de
UD
344742011-03-04 Ulrich Drepper <drepper@gmail.com>
34475
34476 * libio/fmemopen.c (fmemopen): Optimize a bit.
34477
9d25c392
AS
344782011-03-03 Andreas Schwab <schwab@redhat.com>
34479
34480 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34481
a5543c6a
RM
344822011-03-03 Roland McGrath <roland@redhat.com>
34483
34484 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34485
012d35f7
DM
344862011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34487
7e4ba49c 34488 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34489 __bzero_ultra1 instead of __memset_ultra1.
34490
4bff6e01
AS
344912011-02-23 Andreas Schwab <schwab@redhat.com>
34492 Ulrich Drepper <drepper@gmail.com>
34493
34494 [BZ #12509]
34495 * include/link.h (struct link_map): Add l_orig_initfini.
34496 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34497 returning unsuccessfully.
34498 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34499 close of a file loaded at startup, restore the original l_initfini
34500 list.
34501 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34502 list, store the pointer.
34503 * elf/Makefile ($(objpfx)noload-mem): New rule.
34504 (noload-ENV): Define.
34505 (tests): Add $(objpfx)noload-mem.
34506 * elf/noload.c: Include <memcheck.h>.
34507 (main): Call mtrace. Close all opened handles.
34508
f2092faf
AS
345092011-02-17 Andreas Schwab <schwab@redhat.com>
34510
34511 [BZ #12454]
34512 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34513 dependencies are missing.
34514
6c8a2e88
ST
345152011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34516
f2092faf 34517 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34518 Hurd needs munmap.
34519 * sysdeps/mach/hurd/ifreq.h: New file.
34520
84a42118
PB
345212011-01-27 Petr Baudis <pasky@suse.cz>
34522 Ulrich Drepper <drepper@gmail.com>
34523
071f805e 34524 [BZ 12445]#
84a42118
PB
34525 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34526 to extend_alloca().
34527 * stdio-common/bug23.c: New file.
34528 * stdio-common/Makefile (tests): Add bug23.
34529
e23fe25b
AS
345302010-09-28 Andreas Schwab <schwab@redhat.com>
34531 Ulrich Drepper <drepper@gmail.com>
34532
34533 [BZ #12489]
34534 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34535 before performing relro protection. At old place add assertion
34536 to make sure nothing changed.
34537
d3f02e10
NS
345382011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34539 Glauber de Oliveira Costa <glommer@gmail.com>
34540
34541 * elf/elf.h: Add new ARM TLS relocs.
34542
d55fd7a5
RA
345432011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34544
34545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34546 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34547 cast from r3.
34548 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34549 'tests' variable.
34550 * sysdeps/wordsize-64/tst-writev.c: New file.
34551
2206397e
RA
345522011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34553
34554 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34555 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34556 insns in _dl_start to prevent a TOC reference before relocs are
34557 resolved.
34558
e9433893
UD
345592011-02-15 Ulrich Drepper <drepper@gmail.com>
34560
34561 [BZ #12469]
34562 * Makeconfig: Remove RANLIB definition.
34563 * Makerules: Don't use RANLIB.
34564 * aclocal.m4: Remove ranlib test.
34565 * configure.in: No need to check for ranlib.
34566 * elf/rtld-Rules: Don't use RANLIB.
34567
f75286c6
ST
345682011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34569
8e31c82d
ST
34570 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34571 protection macro.
34572 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34573 inclusion protection macro.
34574
f75286c6
ST
34575 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34576 SIGRTMIN and SIGRTMAX and print information in that case only when
34577 SIGRTMIN is defined.
34578
c1d0e639
JJ
345792011-02-11 Jakub Jelinek <jakub@redhat.com>
34580
34581 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34582 arginfo fn returning -1.
34583
34584 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34585 and thousands string is zero terminated.
34586
edf9294e
AS
345872011-02-03 Andreas Schwab <schwab@redhat.com>
34588
34589 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34590 sysdeps/unix/sysv/linux/bits/socket.h.
34591
2b7e92df
ST
345922011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34593
edf9294e
AS
34594 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34595 (__CPU_COUNT): Remove old macros.
34596 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34597 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34598 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34599 (__sched_cpualloc, __sched_cpufree): Add declarations.
34600
a4c7ea7b
UD
346012011-02-05 Ulrich Drepper <drepper@gmail.com>
34602
34603 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34604 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34605 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34606 (readdhstai): Return value of addhstaiX call.
34607 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34608 (addgrbyX): Return value returned by cache_addgr.
34609 (readdgrbyname): Return value returned by addgrbyX.
34610 (readdgrbygid): Likewise.
34611 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34612 (addpwbyX): Return value returned by cache_addpw.
34613 (readdpwbyname): Return value returned by addhstbyX.
34614 (readdpwbyuid): Likewise.
34615 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34616 (addservbyX): Return value returned by cache_addserv.
34617 (readdservbyname): Return value returned by addservbyX:
34618 (readdservbyport): Likewise.
34619 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34620 (addhstbyX): Return value returned by cache_addhst.
34621 (readdhstbyname): Return value returned by addhstbyX.
34622 (readdhstbyaddr): Likewise.
34623 (readdhstbynamev6): Likewise.
34624 (readdhstbyaddrv6): Likewise.
34625 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34626 (readdinitgroups): Return value returned by addinitgroupsX.
34627 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34628 (prune_cache): Keep track of timeout value of re-added entries.
34629 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34630 * nscd/nscd.h: Adjust prototypes of readd* functions.
34631
a0bf67cc
RM
346322011-02-04 Roland McGrath <roland@redhat.com>
34633
34634 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34635 (nis_stats): Likewise.
34636 * nis/nis_modify.c (nis_modify): Likewise.
34637 * nis/nis_remove.c (nis_remove): Likewise.
34638 * nis/nis_add.c (nis_add): Likewise.
34639
34640 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34641
34642 * posix/fnmatch_loop.c: Add some consts.
34643
34644 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34645
435b95eb
L
346462011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34647
34648 [BZ #12460]
34649 * config.make.in (config-cflags-novzeroupper): Define.
34650 * configure.in: Substitute libc_cv_cc_novzeroupper.
34651 * elf/Makefile (AVX-CFLAGS): Define.
34652 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34653 (CFLAGS-tst-auditmod4a.c): Likewise.
34654 (CFLAGS-tst-auditmod4b.c): Likewise.
34655 (CFLAGS-tst-auditmod6b.c): Likewise.
34656 (CFLAGS-tst-auditmod6c.c): Likewise.
34657 (CFLAGS-tst-auditmod7b.c): Likewise.
34658 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34659
8517b15e
UD
346602011-02-02 Ulrich Drepper <drepper@gmail.com>
34661
34662 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34663 function to the callback.
34664 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34665
10a656fe
AS
346662011-02-02 Andreas Schwab <schwab@redhat.com>
34667
34668 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34669 of errno.
34670
968dad0a
UD
346712011-01-19 Ulrich Drepper <drepper@gmail.com>
34672
9f94d2ea 34673 [BZ #11724]
968dad0a
UD
34674 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34675 of constructors.
34676 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34677 of destructors.
34678 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34679
34680 [BZ #11724]
34681 * elf/Makefile: Add rules to build and run new test.
34682 * elf/tst-initorder.c: New file.
34683 * elf/tst-initorder.exp: New file.
34684 * elf/tst-initordera1.c: New file.
34685 * elf/tst-initordera2.c: New file.
34686 * elf/tst-initordera3.c: New file.
34687 * elf/tst-initordera4.c: New file.
34688 * elf/tst-initorderb1.c: New file.
34689 * elf/tst-initorderb2.c: New file.
34690 * elf/tst-order-a1.c: New file.
34691 * elf/tst-order-a2.c: New file.
34692 * elf/tst-order-a3.c: New file.
34693 * elf/tst-order-a4.c: New file.
34694 * elf/tst-order-b1.c: New file.
34695 * elf/tst-order-b2.c: New file.
34696 * elf/tst-order-main.c: New file.
34697 New test case by George Gensure <werkt0@gmail.com>.
34698
86e92359
UD
346992010-10-01 Andreas Schwab <schwab@redhat.com>
34700
34701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34702 decoding ACE if AI_CANONIDN.
34703
5d5732b0
UD
347042011-01-18 Ulrich Drepper <drepper@gmail.com>
34705
34706 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34707
a77e8cbc
UD
347082011-01-17 Ulrich Drepper <drepper@gmail.com>
34709
6392473f
UD
34710 * version.h (RELEASE): Bump for 2.13 release.
34711 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34712
620a0529
UD
34713 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34714
18ba70a5
UD
34715 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34716 MADV_NOHUGEPAGE.
32465c3e
UD
34717 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34718 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34719 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34720 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34721 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34722 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34723
c0dafcf1
UD
34724 * posix/getconf.c: Update copyright year.
34725 * catgets/gencat.c: Likewise.
34726 * csu/version.c: Likewise.
34727 * debug/catchsegv.sh: Likewise.
34728 * debug/xtrace.sh: Likewise.
34729 * elf/ldconfig.c: Likewise.
34730 * elf/ldd.bash.in: Likewise.
34731 * elf/sprof.c (print_version): Likewise.
34732 * iconv/iconv_prog.c: Likewise.
34733 * iconv/iconvconfig.c: Likewise.
34734 * locale/programs/locale.c: Likewise.
34735 * locale/programs/localedef.c: Likewise.
34736 * malloc/memusage.sh: Likewise.
34737 * malloc/mtrace.pl: Likewise.
34738 * nscd/nscd.c (print_version): Likewise.
34739 * nss/getent.c: Likewise.
34740
a77e8cbc
UD
34741 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34742 PF_CAIF, and PF_ALG.
34743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34744
77e8bddf
AS
347452011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34746
1f20b93a
AS
34747 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34748 (modules-names): Use them.
34749 (ifunc-test-modules, ifunc-pie-tests): Define.
34750 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34751 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34752 (test-extras): Likewise.
34753 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34754 $(compile-command.c).
34755 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34756 (all-built-dso): Define.
34757 (check-textrel.out, check-execstack.out): Depend on it.
34758
77e8bddf
AS
34759 * configure.in: Don't override --enable-multi-arch.
34760
bc425b33
UD
347612011-01-15 Ulrich Drepper <drepper@gmail.com>
34762
34763 [BZ #6812]
34764 * nscd/hstcache.c (tryagain): Define.
34765 (cache_addhst): Return tryagain not notfound for temporary errors.
34766 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34767 failed.
34768
794c3ad3
UD
347692011-01-14 Ulrich Drepper <drepper@gmail.com>
34770
70181fdd
UD
34771 [BZ #10563]
34772 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34773 to make the syscall.
34774 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34775
794c3ad3
UD
34776 [BZ #12378]
34777 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34778 and fall back to matching as normal character if the string ends before
34779 the matching ']' is found. This is what POSIX requires.
34780 * posix/testfnm.c: Adjust test result.
34781 * posix/globtest.sh: Adjust test result. Add new test.
34782 * posix/tst-fnmatch.input: Likewise.
34783 * posix/tst-fnmatch2.c: Add new test.
34784
68dc9497
AS
347852010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34786
34787 * elf/Makefile (check-execstack): Revert last change. Depend on
34788 check-execstack.h.
34789 (check-execstack.h): New target.
34790 (generated): Add check-execstack.h.
34791 * elf/check-execstack.c: Include "check-execstack.h".
34792 (main): Revert last change.
34793 (handle_file): Return zero if GNU_STACK is absent and
34794 DEFAULT_STACK_PERMS doesn't include PF_X.
34795
451f001b
UD
347962011-01-13 Ulrich Drepper <drepper@gmail.com>
34797
cfa28e56
UD
34798 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34799 in child fails because the descriptor is already closed.
8cf8ce17
UD
34800 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34801 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34802 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34803
1086d70d
UD
34804 [BZ #12397]
34805 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34806 syscall.
34807
451f001b
UD
34808 [BZ #10484]
34809 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34810 temporary buffer used to handle multi lookups locally.
a85b5cb4 34811 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34812
08769175
UD
348132011-01-12 Ulrich Drepper <drepper@gmail.com>
34814
34815 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34816 loader is ld.so.
34817
5e49c52e
UD
348182011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34819
34820 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34821 alignment for SSE2.
34822
60522a5f
UD
348232011-01-12 Ulrich Drepper <drepper@gmail.com>
34824
34825 [BZ #12394]
34826 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34827 characters. When rounding increased number of integer digits recompute
34828 number of groups.
34829 * stdio-common/tst-grouping.c: New file.
34830 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34831
f257bbd7
UD
348322011-01-09 Ulrich Drepper <drepper@gmail.com>
34833
34834 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34835 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34836
34837 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34838 void.
34839 * bits/select.h: Likewise.
34840
fa9c15cb
UD
348412011-01-08 Ulrich Drepper <drepper@gmail.com>
34842
34843 * po/ja.po: Update from translation team.
34844
16c2895f
DM
348452011-01-04 David S. Miller <davem@sunset.davemloft.net>
34846
34847 [BZ #11155]
34848 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34849 implementation just like for lxstat, fxstatat, et al.
34850
2543fef2
JM
348512010-12-27 Jim Meyering <meyering@redhat.com>
34852
34853 [BZ #12348]
34854 * posix/regexec.c (build_trtable): Return failure indication upon
34855 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34856
98727dbe
UD
348572010-12-25 Ulrich Drepper <drepper@gmail.com>
34858
5bd6dc5c
UD
34859 [BZ #12201]
34860 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34861 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34862 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34863 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34864
97983464
UD
34865 [BZ #12207]
34866 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34867
98727dbe
UD
34868 [BZ #12204]
34869 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34870 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34871
4a531bb0
L
348722010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34873
34874 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34875 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34876 script has SORT_BY_INIT_PRIORITY.
34877 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34878 NO_CTORS_DTORS_SECTIONS is defined.
34879 * elf/soinit.c: Likewise.
34880 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34881 NO_CTORS_DTORS_SECTIONS is defined.
34882 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34883 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34884 * sysdeps/sh/init-first.c: Likewise.
34885 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34886
07eb4b71
UD
348872010-12-24 Ulrich Drepper <drepper@gmail.com>
34888
34889 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34890 always use the slow path.
34891
30950a5f
RA
348922010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34893
34894 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34895 similar rule which adds the sysdep directories to the header search in
34896 order to pick up the correct platform stackinfo.h.
34897 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34898 perform test if it is, otherwise return successfully without testing.
34899 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34900 DEFAULT_STACK_PERMS define in stackinfo.h.
34901 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34902 defined in stackinfo.h.
34903 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34904 DEFAULT_STACK_PERMS defined in stackinfo.h.
34905 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34906 * sysdeps/ia64/stackinfo.h: Likewise.
34907 * sysdeps/s390/stackinfo.h: Likewise.
34908 * sysdeps/sh/stackinfo.h: Likewise.
34909 * sysdeps/sparc/stackinfo.h: Likewise.
34910 * sysdeps/x86_64/stackinfo.h: Likewise.
34911 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34912 PF_X for powerpc64. Retain PF_X for powerpc32.
34913
db753e2c
UD
349142010-12-19 Ulrich Drepper <drepper@gmail.com>
34915
14b697f7
UD
34916 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34917 accurately.
db753e2c
UD
34918 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34919 GETDENTS_64BIT_ALIGNED.
34920
28300719
UD
349212010-12-14 Ulrich Drepper <dreper@gmail.com>
34922
14b697f7 34923 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34924
4f197237
AS
349252010-12-10 Andreas Schwab <schwab@redhat.com>
34926
dbb0472f
AS
34927 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34928 _GNU_SOURCE.
34929
4f197237
AS
34930 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34931 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34932 Remove __restrict.
34933 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34934 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34935
fb88ac72
UD
349362010-12-09 Ulrich Drepper <drepper@gmail.com>
34937
34938 [BZ #11655]
34939 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34940 are initialized.
34941
42acbb92
JJ
349422010-12-09 Jakub Jelinek <jakub@redhat.com>
34943
34944 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34945
c038d98d
UD
349462010-12-03 Ulrich Drepper <drepper@gmail.com>
34947
34948 * po/it.po: Update from translation team.
34949
3a4a2499
L
349502010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34951
34952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34953 unused codes.
34954
1e24cf6e
UD
349552010-11-30 Ulrich Drepper <drepper@gmail.com>
34956
34957 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34958
a7690819
AS
349592010-11-24 Andreas Schwab <schwab@redhat.com>
34960
34961 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34962 specially.
34963 (gaih_getanswer_slice): Likewise.
34964
3bf8d1b1
JJ
349652010-10-20 Jakub Jelinek <jakub@redhat.com>
34966
34967 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34968
6db52fbb
PB
349692010-05-31 Petr Baudis <pasky@suse.cz>
34970
34971 [BZ #11149]
34972 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34973 silently even in the chroot mode.
34974
eaca7569
UD
349752010-11-22 Ulrich Drepper <drepper@gmail.com>
34976
34977 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34978 last patch a bit. Pretty printing
34979
3056dcdb
UD
349802010-05-31 Petr Baudis <pasky@suse.cz>
34981
34982 [BZ #10085]
34983 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34984 initialization of skip_initgroups_dyn.
34985
cf7c9078
UD
349862010-11-19 Ulrich Drepper <drepper@gmail.com>
34987
34988 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34989 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34990
a1fb5e3e
UD
349912010-11-16 Ulrich Drepper <drepper@gmail.com>
34992
34993 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34994
3540d66b
AS
349952010-11-11 Andreas Schwab <schwab@redhat.com>
34996
34997 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34998 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34999 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35000 ($(objpfx)tst-fnmatch-mem): New rule.
35001 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35002 * posix/tst-fnmatch.c (main): Call mtrace.
35003
13b69574
L
350042010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35005
35006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35007 Support Intel processor model 6 and model 0x2c.
35008
da93d214
LM
350092010-11-10 Luis Machado <luisgpm@br.ibm.com>
35010
35011 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35012 signed comparison.
35013
8ca52c6e
L
350142010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35015
35016 [BZ #12205]
35017 * string/test-strncasecmp.c (check_result): New function.
35018 (do_one_test): Use it.
35019 (check1): New function.
35020 (test_main): Use it.
35021 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35022 Support strcasecmp and strncasecmp.
35023
69da074d
UD
350242010-11-08 Ulrich Drepper <drepper@gmail.com>
35025
35026 [BZ #12194]
35027 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35028 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35029
ff02d528
L
350302010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35031
35032 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35033 IFUNC support.
35034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35035 memset-x86-64.
35036 * sysdeps/x86_64/multiarch/bzero.S: New file.
35037 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35038 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35039 * sysdeps/x86_64/multiarch/memset.S: New file.
35040 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35042 Set bit_Prefer_SSE_for_memop for Intel processors.
35043 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35044 Define.
35045 (index_Prefer_SSE_for_memop): Define.
35046 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35047
344d0b54
LM
350482010-11-04 Luis Machado <luisgpm@br.ibm.com>
35049
35050 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35051 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35052
c0dde15b
UD
350532010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35054
35055 [BZ #12191]
35056 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35057 (__x86_64_raw_data_cache_size_half): Likewise.
35058 (__x86_64_raw_shared_cache_size): Likewise.
35059 (__x86_64_raw_shared_cache_size_half): Likewise.
35060
35061 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35062 (__x86_64_raw_data_cache_size_half): Likewise.
35063 (__x86_64_raw_shared_cache_size): Likewise.
35064 (__x86_64_raw_shared_cache_size_half): Likewise.
35065 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35066 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35067 and __x86_64_raw_shared_cache_size_half. Round
35068 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35069 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35070 to multiple of 256 bytes.
35071
0e516e0e
MS
350722010-11-03 Ulrich Drepper <drepper@gmail.com>
35073
35074 [BZ #12167]
35075 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35076 of inacessible symlinks. Verify result of symlink before returning it.
35077 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35078 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35079
0e012e87
ER
350802010-10-28 Erich Ritz <erichritz@gmail.com>
35081
35082 * math/math.h (isinf): Fix typo in comment.
35083
de0ff7bc
UD
350842010-11-01 Ulrich Drepper <drepper@gmail.com>
35085
35086 * po/da.po: Update from translation team.
35087
fa41c84d
UD
350882010-10-26 Ulrich Drepper <drepper@gmail.com>
35089
35090 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35091 is added to the list.
35092
f0967738
AK
350932010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35094 Ulrich Drepper <drepper@gmail.com>
35095
35096 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35097 the global list here. Move code to...
35098 (_dl_add_to_namespace_list): ...here. New function.
35099 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35100 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35101 * elf/dl-load.c (lose): Don't remove the element from the list.
35102 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35103 (_dl_map_object): Likewise.
35104
351052010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35106
35107 [BZ #12159]
35108 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35109 into all bytes of SSE register.
35110 Patch by Richard Li <richardpku@gmail.com>.
35111
f0967738 351122010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35113
35114 [BZ #12140]
35115 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35116 perturbing.
35117
d0b9e94f
MB
351182010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35119
35120 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35121 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35122 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35123 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35125 submachine.
35126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35127
8e9f92e9
AS
351282010-10-22 Andreas Schwab <schwab@redhat.com>
35129
35130 * include/dlfcn.h (__RTLD_SECURE): Define.
35131 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35132 mode & __RTLD_SECURE instead.
35133 (open_path): Rename preloaded parameter to secure.
35134 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35135 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35136 * elf/dl-deps.c (openaux): Likewise.
35137 * elf/rtld.c (struct map_args): Remove is_preloaded.
35138 (map_doit): Don't use it.
35139 (dl_main): Likewise.
35140 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35141 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35142
bc96fbda
AS
351432010-09-09 Andreas Schwab <schwab@redhat.com>
35144
35145 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35146 (sysd-rules-targets): Remove duplicates.
35147 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35148 rtld-%.$o dependency.
35149
22cd1c9b
AS
351502010-10-18 Andreas Schwab <schwab@redhat.com>
35151
35152 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35153 _dl_map_object do it.
35154
18edac48
UD
351552010-10-19 Ulrich Drepper <drepper@gmail.com>
35156
35157 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35158 fast fma builtins, define the macros in the C99 standard.
35159 (FP_FAST_FMAF): Likewise.
35160 (FP_FAST_FMAL): Likewise.
35161 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35162
35163 * bits/mathdef.h: Update copyright year.
35164 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35165
d2050124
MM
351662010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35167
35168 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35169 builtins, define the macros in the C99 standard.
35170 (FP_FAST_FMAF): Likewise.
35171 (FP_FAST_FMAL): Likewise.
35172 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35173 multiply/add.
35174 (FP_FAST_FMAF): Likewise.
35175
475facd1
JJ
351762010-10-15 Jakub Jelinek <jakub@redhat.com>
35177
35178 [BZ #3268]
35179 * math/libm-test.inc (fma_test): Some new testcases.
35180 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35181 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35182 y and infinite z. Do multiplication by C already in long double.
35183 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35185 y and infinite z. Do bitwise or of inexact bit into u.d.
35186 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35187 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35188 * sysdeps/i386/fpu/s_fma.S: Removed.
35189 * sysdeps/i386/fpu/s_fmal.S: Removed.
35190
7c08a05c
JJ
351912010-10-16 Jakub Jelinek <jakub@redhat.com>
35192
35193 [BZ #3268]
35194 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35195 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35196 computation is not scheduled after fetestexcept. Fix value
35197 of minimum denormal long double.
35198
f3f7372d
JJ
351992010-10-14 Jakub Jelinek <jakub@redhat.com>
35200
35201 [BZ #3268]
35202 * math/libm-test.inc (fma_test): Add some more tests.
35203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35204 correctly.
35205
14d43591
AS
352062010-10-15 Andreas Schwab <schwab@redhat.com>
35207
35208 * scripts/data/localplt-s390-linux-gnu.data: New file.
35209 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35210
5e908464
JJ
352112010-10-13 Jakub Jelinek <jakub@redhat.com>
35212
35213 [BZ #3268]
35214 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35215 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35216 instead of dbl-64.
35217 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35218 inlines.
35219 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35221 if one of x and y is very large and the other is subnormal.
35222 * sysdeps/s390/fpu/s_fmaf.c: New file.
35223 * sysdeps/s390/fpu/s_fma.c: New file.
35224 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35225 * sysdeps/powerpc/fpu/s_fma.S: New file.
35226 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35227 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35228 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35229
352302010-10-12 Jakub Jelinek <jakub@redhat.com>
35231
35232 [BZ #3268]
35233 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35234 fma tests.
35235 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35236 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35237 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35238 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35239 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35240 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35241 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35242
b833d51f
UD
352432010-10-12 Ulrich Drepper <drepper@redhat.com>
35244
35245 [BZ #12078]
35246 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35247 * posix/bug-regex31.input: Add test case.
35248
1751705d
UD
352492010-10-11 Ulrich Drepper <drepper@gmail.com>
35250
e9b9cbf5
UD
35251 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35252 * posix/bug-regex31.input: New file.
35253
35254 [BZ #12078]
35255 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35256 (parse_sub_exp): Fix last change, use postorder.
35257
ef06edbe
UD
35258 * posix/bug-regex31.c: New file.
35259 * posix/Makefile: Add rules to build and run bug-regex31.
35260
a129c80d
UD
35261 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35262
35263 [BZ #12078]
35264 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35265
b76b818e
UD
35266 [BZ #12108]
35267 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35268 to have entries in sys_siglist.
35269
1751705d
UD
35270 [BZ #12093]
35271 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35272 be NULL.
35273
9ff8d36f
JJ
352742010-10-07 Jakub Jelinek <jakub@redhat.com>
35275
35276 [BZ #3268]
35277 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35278 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35279 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35280 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35281 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35282 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35283 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35284 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35285 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35286 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35287 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35288 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35289 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35290 * math/ftestexcept.c (fetestexcept): Likewise.
35291 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35292 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35293 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35294 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35295 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35296 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35297 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35298
af325969
UD
352992010-10-11 Ulrich Drepper <drepper@gmail.com>
35300
c579b202 35301 [BZ #12107]
af325969
UD
35302 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35303 newline.
35304
67a67b95
UD
353052010-10-06 Ulrich Drepper <drepper@gmail.com>
35306
35307 * string/bug-strstr1.c: New file.
35308 * string/Makefile: Add rules to build and run bug-strstr1.
35309
5fb308bc
EB
353102010-10-05 Eric Blake <eblake@redhat.com>
35311
35312 [BZ #12092]
35313 * string/str-two-way.h (two_way_long_needle): Always clear memory
35314 when skipping input due to the shift table.
35315
45db99c7
UD
353162010-10-03 Ulrich Drepper <drepper@gmail.com>
35317
3b111893
UD
35318 [BZ #12005]
35319 * malloc/mcheck.c: Handle large requests.
35320
45db99c7
UD
35321 [BZ #12077]
35322 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35323 for strncmp and strncasecmp.
35324 * string/stratcliff.c: Add tests for strcmp and strncmp.
35325 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35326
cf7a1eb8
NI
353272010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35328
35329 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35330 __set_fpscr.
35331
6484ba5e
AJ
353322010-09-30 Andreas Jaeger <aj@suse.de>
35333
35334 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35335 (CGROUP_SUPER_MAGIC): Define.
35336 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35337 Handle btrfs and cgroup file systems.
35338 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35339 Likewise.
35340
91c42559
LM
353412010-09-27 Luis Machado <luisgpm@br.ibm.com>
35342
35343 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35344 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35345
87a97932
AK
353462010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35347
35348 [BZ #12067]
35349 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35350 trying to locate the ELF header.
35351
c21cc9bc
AS
353522010-09-27 Andreas Schwab <schwab@redhat.com>
35353
35354 [BZ #11611]
35355 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35356 Mask out sign-bit copies when constructing f_fsid.
35357
315970f6
PB
353582010-09-24 Petr Baudis <pasky@suse.cz>
35359
35360 * debug/stack_chk_fail_local.c: Add missing licence exception.
35361 * debug/warning-nop.c: Likewise.
35362
1ac7a2c7
JM
353632010-09-15 Joseph Myers <joseph@codesourcery.com>
35364
35365 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35366 implementing getdents64 using getdents syscall, set d_type if
35367 __ASSUME_GETDENTS32_D_TYPE.
35368
56801c50
AS
353692010-09-16 Andreas Schwab <schwab@redhat.com>
35370
35371 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35372 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35373
dda51327
UD
353742010-09-21 Ulrich Drepper <drepper@redhat.com>
35375
35376 [BZ #12037]
35377 * posix/unistd.h: Undo change of feature selection for ftruncate from
35378 2010-01-11.
35379
8ffcee4a
UD
353802010-09-20 Ulrich Drepper <drepper@redhat.com>
35381
a545ecd9 35382 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35383 detection.
35384
e24f0a8b
AS
353852010-09-20 Andreas Schwab <schwab@redhat.com>
35386
35387 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35388 fanotify_mark.
35389 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35390
7291c56f
AS
353912010-09-14 Andreas Schwab <schwab@redhat.com>
35392
35393 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35394 variables after CHECK_SP call.
35395 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35396
bc5fb037
AS
353972010-09-13 Andreas Schwab <schwab@redhat.com>
35398 Ulrich Drepper <drepper@redhat.com>
35399
35400 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35401 re-relocationg ld.so.
35402 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35403 _dl_init_paths call.
35404 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35405 here anymore.
35406
e66e7419
UD
354072010-09-14 Ulrich Drepper <drepper@redhat.com>
35408
35409 * resolv/res_init.c (__res_vinit): Count the default server we added.
35410
c044aa75
CLT
354112010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35412 Ulrich Drepper <drepper@redhat.com>
35413
35414 [BZ #11968]
35415 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35416 (____longjmp_chk): Use %ebx for saving value across system call.
35417 Add unwind info.
35418
32cf4069
AS
354192010-09-06 Andreas Schwab <schwab@redhat.com>
35420
35421 * manual/Makefile: Don't mix pattern rules with normal rules.
35422
817328ee
AS
354232010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35424
35425 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35426 operation.
35427 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35428 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35429 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35430 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35432 Likewise.
35433
29fddf61
UD
354342010-09-04 Ulrich Drepper <drepper@redhat.com>
35435
35436 [BZ #11979]
35437 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35438 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35439
0959ffc9
UD
354402010-09-02 Ulrich Drepper <drepper@redhat.com>
35441
35442 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35443 * sysdeps/x86_64/addmul_1.S: Likewise.
35444 * sysdeps/x86_64/lshift.S: Likewise.
35445 * sysdeps/x86_64/mul_1.S: Likewise.
35446 * sysdeps/x86_64/rshift.S: Likewise.
35447 * sysdeps/x86_64/sub_n.S: Likewise.
35448 * sysdeps/x86_64/submul_1.S: Likewise.
35449
ece29840
ST
354502010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35451
0959ffc9
UD
35452 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35453 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35454 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35455 * bits/sched.h [__need_schedparam]
ece29840 35456 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35457 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35458 (__defined_schedparam): Define to 1.
ece29840
ST
35459 (__sched_param): New structure, identical to sched_param.
35460 (__need_schedparam): Undefine.
35461
e53a31fe
MF
354622010-08-31 Mike Frysinger <vapier@gentoo.org>
35463
fdc0c10d
MF
35464 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35465 (epoll_create1): Declare.
35466
e53a31fe
MF
35467 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35468
a726d796
AS
354692010-08-31 Andreas Schwab <schwab@redhat.com>
35470
35471 [BZ #7066]
35472 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35473 shifting retval into place.
35474
2f3e3dc7
UD
354752010-09-01 Ulrich Drepper <drepper@redhat.com>
35476
f2933da9
UD
35477 * nis/rpcsvc/nis.h: Update copyright notice.
35478 * nis/rpcsvc/nis.x: Likewise.
35479 * nis/rpcsvc/nis_callback.h: Likewise.
35480 * nis/rpcsvc/nis_callback.x: Likewise.
35481 * nis/rpcsvc/nis_object.x: Likewise.
35482 * nis/rpcsvc/nis_tags.h: Likewise.
35483 * nis/rpcsvc/yp.h: Likewise.
35484 * nis/rpcsvc/yp.x: Likewise.
35485 * nis/rpcsvc/ypupd.h: Likewise.
35486 * nis/yp_xdr.c: Likewise.
35487 * nis/ypupdate_xdr.c: Likewise.
35488
2f3e3dc7
UD
35489 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35490 mainly the body of pmap_getport. Add parameters to specify timeouts.
35491 (pmap_getport): Use __libc_rpc_getport.
35492 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35493 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35494 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35495
f3dcc2f9
AS
354962010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35497
35498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35499 fanotify_mark.
35500
6d34eb5b
RM
355012010-08-27 Roland McGrath <roland@redhat.com>
35502
35503 * sysdeps/i386/i686/multiarch/Makefile
35504 (CFLAGS-varshift.c): New variable.
35505
9ea3de11
UD
355062010-08-27 Ulrich Drepper <drepper@redhat.com>
35507
c96d23fc
UD
35508 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35509 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35510
9ea3de11
UD
35511 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35512
35513 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35514
623aac7f
L
355152010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35516
35517 * sysdeps/x86_64/strlen.S: Unroll the loop.
35518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35519 strlen-sse2 strlen-sse2-bsf.
35520 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35521 __strlen_no_bsf if bit_Slow_BSF is set.
35522 (__strlen_sse42): Removed.
35523 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35524 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35525
8b2b7715
RM
355262010-08-25 Roland McGrath <roland@redhat.com>
35527
35528 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35529 * sysdeps/x86_64/multiarch/varshift.c: New file.
35530 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35531 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35532 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35533 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35534
e73015f2
L
355352010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35536
35537 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35538 strlen-sse2 strlen-sse2-bsf.
35539 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35540 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35541 (__strlen_sse2): Removed.
35542 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35543 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35545 bit_Slow_BSF for Atom.
35546 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35547 (index_Slow_BSF): Define.
35548 (HAS_SLOW_BSF): Define.
35549
df24a73e
UD
355502010-08-25 Ulrich Drepper <drepper@redhat.com>
35551
35552 [BZ #10851]
35553 * resolv/res_init.c (__res_vinit): When no server address at all
35554 is given default to loopback.
35555
f2ac4868
RM
355562010-08-24 Roland McGrath <roland@redhat.com>
35557
09055553
RM
35558 * configure.in: Remove config-name.h generation.
35559 * configure: Regenerated.
35560 * config-name.in: File removed.
35561 * scripts/config-uname.sh: New file.
35562 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35563 ($(objdir)config-name.h): New target.
35564
f2ac4868
RM
35565 * sunrpc/rpc_parse.h: Avoid nested comment.
35566
73f27d5e
RH
355672010-08-24 Richard Henderson <rth@redhat.com>
35568 Ulrich Drepper <drepper@redhat.com>
35569 H.J. Lu <hongjiu.lu@intel.com>
35570
35571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35573 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35574 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35575 _mm_alignr_epi8 with _mm_loadu_si128.
35576 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35577 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35578 (__m128i_shift_right): Removed.
35579 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35580 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35581 * sysdeps/x86_64/multiarch/varshift.h: New file.
35582 * sysdeps/x86_64/multiarch/varshift.S: New file.
35583
84b9230c
MF
355842010-08-21 Mike Frysinger <vapier@gentoo.org>
35585
35586 * configure.in: Move assembler checks to before sysdep dir checking.
35587
9bbd0ddc
PB
355882010-08-20 Petr Baudis <pasky@suse.cz>
35589
35590 * LICENSES: Sync the sunrpc license.
35591
9da4bb31
UD
355922010-08-19 Ulrich Drepper <drepper@redhat.com>
35593
a7ab6ec8
UD
35594 * sunrpc/auth_des.c: Update copyright notice once again.
35595 * sunrpc/auth_none.c: Likewise.
35596 * sunrpc/auth_unix.c: Likewise.
35597 * sunrpc/authdes_prot.c: Likewise.
35598 * sunrpc/authuxprot.c: Likewise.
35599 * sunrpc/bindrsvprt.c: Likewise.
35600 * sunrpc/clnt_gen.c: Likewise.
35601 * sunrpc/clnt_perr.c: Likewise.
35602 * sunrpc/clnt_raw.c: Likewise.
35603 * sunrpc/clnt_simp.c: Likewise.
35604 * sunrpc/clnt_tcp.c: Likewise.
35605 * sunrpc/clnt_udp.c: Likewise.
35606 * sunrpc/clnt_unix.c: Likewise.
35607 * sunrpc/des_crypt.c: Likewise.
35608 * sunrpc/des_soft.c: Likewise.
35609 * sunrpc/get_myaddr.c: Likewise.
35610 * sunrpc/getrpcport.c: Likewise.
35611 * sunrpc/key_call.c: Likewise.
35612 * sunrpc/key_prot.c: Likewise.
35613 * sunrpc/openchild.c: Likewise.
35614 * sunrpc/pm_getmaps.c: Likewise.
35615 * sunrpc/pm_getport.c: Likewise.
35616 * sunrpc/pmap_clnt.c: Likewise.
35617 * sunrpc/pmap_prot.c: Likewise.
35618 * sunrpc/pmap_prot2.c: Likewise.
35619 * sunrpc/pmap_rmt.c: Likewise.
35620 * sunrpc/rpc/auth.h: Likewise.
35621 * sunrpc/rpc/auth_unix.h: Likewise.
35622 * sunrpc/rpc/clnt.h: Likewise.
35623 * sunrpc/rpc/des_crypt.h: Likewise.
35624 * sunrpc/rpc/key_prot.h: Likewise.
35625 * sunrpc/rpc/netdb.h: Likewise.
35626 * sunrpc/rpc/pmap_clnt.h: Likewise.
35627 * sunrpc/rpc/pmap_prot.h: Likewise.
35628 * sunrpc/rpc/pmap_rmt.h: Likewise.
35629 * sunrpc/rpc/rpc.h: Likewise.
35630 * sunrpc/rpc/rpc_des.h: Likewise.
35631 * sunrpc/rpc/rpc_msg.h: Likewise.
35632 * sunrpc/rpc/svc.h: Likewise.
35633 * sunrpc/rpc/svc_auth.h: Likewise.
35634 * sunrpc/rpc/types.h: Likewise.
35635 * sunrpc/rpc/xdr.h: Likewise.
35636 * sunrpc/rpc_clntout.c: Likewise.
35637 * sunrpc/rpc_cmsg.c: Likewise.
35638 * sunrpc/rpc_common.c: Likewise.
35639 * sunrpc/rpc_cout.c: Likewise.
35640 * sunrpc/rpc_dtable.c: Likewise.
35641 * sunrpc/rpc_hout.c: Likewise.
35642 * sunrpc/rpc_main.c: Likewise.
35643 * sunrpc/rpc_parse.c: Likewise.
35644 * sunrpc/rpc_parse.h: Likewise.
35645 * sunrpc/rpc_prot.c: Likewise.
35646 * sunrpc/rpc_sample.c: Likewise.
35647 * sunrpc/rpc_scan.c: Likewise.
35648 * sunrpc/rpc_scan.h: Likewise.
35649 * sunrpc/rpc_svcout.c: Likewise.
35650 * sunrpc/rpc_tblout.c: Likewise.
35651 * sunrpc/rpc_util.c: Likewise.
35652 * sunrpc/rpc_util.h: Likewise.
35653 * sunrpc/rpcinfo.c: Likewise.
35654 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35655 * sunrpc/rpcsvc/key_prot.x: Likewise.
35656 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35657 * sunrpc/rpcsvc/mount.x: Likewise.
35658 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35659 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35660 * sunrpc/rpcsvc/rex.x: Likewise.
35661 * sunrpc/rpcsvc/rstat.x: Likewise.
35662 * sunrpc/rpcsvc/rusers.x: Likewise.
35663 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35664 * sunrpc/rpcsvc/spray.x: Likewise.
35665 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35666 * sunrpc/rtime.c: Likewise.
35667 * sunrpc/svc.c: Likewise.
35668 * sunrpc/svc_auth.c: Likewise.
35669 * sunrpc/svc_authux.c: Likewise.
35670 * sunrpc/svc_raw.c: Likewise.
35671 * sunrpc/svc_run.c: Likewise.
35672 * sunrpc/svc_simple.c: Likewise.
35673 * sunrpc/svc_tcp.c: Likewise.
35674 * sunrpc/svc_udp.c: Likewise.
35675 * sunrpc/svc_unix.c: Likewise.
35676 * sunrpc/svcauth_des.c: Likewise.
35677 * sunrpc/xcrypt.c: Likewise.
35678 * sunrpc/xdr.c: Likewise.
35679 * sunrpc/xdr_array.c: Likewise.
35680 * sunrpc/xdr_float.c: Likewise.
35681 * sunrpc/xdr_mem.c: Likewise.
35682 * sunrpc/xdr_rec.c: Likewise.
35683 * sunrpc/xdr_ref.c: Likewise.
35684 * sunrpc/xdr_sizeof.c: Likewise.
35685 * sunrpc/xdr_stdio.c: Likewise.
35686
9da4bb31
UD
35687 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35688 handling.
35689
bdaa77bc
AS
356902010-08-19 Andreas Schwab <schwab@redhat.com>
35691
35692 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35693
fe2f79db
LM
356942010-08-19 Luis Machado <luisgpm@br.ibm.com>
35695
35696 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35697 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35698 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35699 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35700 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35701 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35702 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35703 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35704 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35705 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35706 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35707 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35708 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35709 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35710
b9b42ee0
AB
357112010-07-26 Anton Blanchard <anton@samba.org>
35712
35713 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35714 * malloc/arena.c (heap_trim): Likewise.
35715
1c06ba31
UD
357162010-08-16 Ulrich Drepper <drepper@redhat.com>
35717
35718 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35719 here. Not...
35720 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35721 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35722
f8392f40
L
357232010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35724
35725 * sysdeps/i386/elf/Makefile: New file.
35726
3162f12e
AS
357272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35728
35729 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35730 from fanotify_init.
35731 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35732 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35733
28c90b2c
UD
357342010-08-15 Ulrich Drepper <drepper@redhat.com>
35735
35736 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35737 of strncasecmp_l.
1feccb6c 35738 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35739
ca6bb004
UD
357402010-08-14 Ulrich Drepper <drepper@redhat.com>
35741
e9f82e0d
UD
35742 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35743 strncase_l-nonascii.
35744 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35745 Add strncase_l-ssse3.
35746 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35747 * sysdeps/x86_64/strcmp.S: Likewise.
35748 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35749 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35750 * sysdeps/x86_64/strncase.S: New file.
35751 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35752 * sysdeps/x86_64/strncase_l.S: New file.
35753 * string/Makefile (strop-tests): Add strncasecmp.
35754 * string/test-strncasecmp.c: New file.
35755
35756 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35757 warning.
35758
ca6bb004
UD
35759 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35760 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35761
052fa7b3
AS
357622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35763
35764 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35765
962dba78
UD
357662010-08-12 Ulrich Drepper <drepper@redhat.com>
35767
35768 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35769 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35770 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35771
bebff237
AM
357722010-05-01 Alan Modra <amodra@gmail.com>
35773
35774 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35775 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35776 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35777 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35778 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35779 tidying. Don't tail-call __sigjmp_save for static lib.
35780 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35781 save location.
35782 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35783 (CALL_MCOUNT): Add eh info, and nop after bl.
35784 (TAIL_CALL_SYSCALL_ERROR): New macro.
35785 (PSEUDO_RET): Use it.
35786 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35787 Correct save location of integer regs and cr.
35788 (_dl_profile_resolve): Correct cr save location. Delete nops
35789 after bl when SHARED. Reduce cfi size a little by better
35790 placement of cfi directives.
35791 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35792 make a stack frame. Instead use parm save area as a temp.
35793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35794 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35796 Don't make a stack frame for parent, use parm save area.
35797 Increase child stack frame to 112 bytes. Don't save unused reg,
35798 and adjust reg usage. Set up cfi on error recovery and
35799 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35801 (__makecontext): Add dummy nop after jump to exit.
35802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35803 Use correct parm save area and cr save, reduce stack frame.
35804 Correct cfi for possible PSEUDO_RET frame setup.
35805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35806 Branch to local label emitted by PSEUDO_RET rather than
35807 __syscall_error.
35808
02637374
AS
358092010-08-12 Andreas Schwab <schwab@redhat.com>
35810
35811 [BZ #11904]
35812 * locale/programs/locale.c (print_assignment): New function.
35813 (show_locale_vars): Use it.
35814
c3e2f19b
UD
358152010-08-11 Ulrich Drepper <drepper@redhat.com>
35816
3cdaa6ad
UD
35817 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35818 field.
35819 (struct statfs64): Likewise.
35820 (_STATFS_F_FLAGS): Define.
35821 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35822 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35823 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35824 (ST_VALID): Define locally.
35825 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35826 __statvfs_getflags, use the provided value.
35827 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35828 __ASSUME_STATFS_F_FLAGS.
35829
754f7da3
UD
35830 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35831
10b3bedc
UD
35832 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35833 Add sys/fanotify.h.
35834 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35835 fanotify_mask for GLIBC_2.13.
35836 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35837 fanotify_init and fanotify_mark.
35838 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35839 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35840
c08fb0d7
UD
35841 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35842 Add prlimit.
35843 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35844 prlimit64 for GLIBC_2.13.
35845 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35846 prlimit64.
35847 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35848 syscall.
35849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35850 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35851 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35852 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35853 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35854 add prlimit alias.
35855 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35856
15bac72b
UD
35857 [BZ #11903]
35858 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35859 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35860
c3e2f19b
UD
35861 * nss/Makefile: Add rules to build and run tst-nss-test1.
35862 * shlib-versions: Add entry for libnss_test1.
35863 * nss/nss_test1.c: New file.
35864 * nss/tst-nss-test1.c: New file.
35865
35866 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35867 (__nss_configure_lookup): Set appropriate entry in
35868 __nss_configure_lookup to true.
35869 * nss/nsswitch.h: Define enum with indeces of databases in
35870 databases and __nss_database_custom arrays. Declare
35871 __nss_database_custom.
35872 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35873 to avoid using nscd when custom rules are installed.
35874 * nss/getXXbyYY_r.c: Likewise.
35875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35876
35877 * nss/nss_files/files-parse.c: Whitespace fixes.
35878
f15ce4d8
UD
358792010-08-09 Ulrich Drepper <drepper@redhat.com>
35880
35881 [BZ #11883]
35882 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35883 * posix/fnmatch_loop.c: Likewise.
35884
d22e4cc9
AK
358852010-07-17 Andi Kleen <ak@linux.intel.com>
35886
35887 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35888 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35889 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35890 * Versions.def [GLIBC_2.13]: Add.
35891
805bc17d
UD
358922010-08-06 Ulrich Drepper <drepper@redhat.com>
35893
35894 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35895 Also fail if tpwd after pwuid call is NULL.
35896
5a42321d
ST
358972010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35898
35899 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35900 when converting to ms.
35901
fd3ebeda
ST
359022010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35903
35904 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35905 EOPNOTSUPP errors with ENOTTY.
35906 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35907 EOPNOTSUPP errors with ENOTTY.
35908
73507d3a
UD
359092010-07-31 Ulrich Drepper <drepper@redhat.com>
35910
35911 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35912 Add strcasecmp_l-ssse3.
35913 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35914 strcasecmp.
35915 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35916 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35917 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35918
fe36dd02
UD
359192010-07-30 Ulrich Drepper <drepper@redhat.com>
35920
66f6765a
UD
35921 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35922
42e08a54
UD
35923 * string/Makefile (strop-tests): Add strcasecmp.
35924 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35925 strcasecmp_l-nonascii.
35926 (gen-as-const-headers): Add locale-defines.sym.
35927 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35928 * sysdeps/x86_64/strcasecmp.S: New file.
35929 * sysdeps/x86_64/strcasecmp_l.S: New file.
35930 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35931 * sysdeps/x86_64/locale-defines.sym: New file.
35932 * string/test-strcasecmp.c: New file.
35933
fe36dd02
UD
35934 * string/test-strcasestr.c: Test both ends of the range of characters.
35935 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35936
48cbc0d6
RM
359372010-07-29 Roland McGrath <roland@redhat.com>
35938
76e6d6bc 35939 [BZ #11856]
48cbc0d6
RM
35940 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35941
880113d9
UD
359422010-07-27 Ulrich Drepper <drepper@redhat.com>
35943
35944 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35945 for ld.so.
35946
deb9cabb
AS
359472010-07-27 Andreas Schwab <schwab@redhat.com>
35948
35949 * manual/memory.texi (Malloc Tunable Parameters): Document
35950 M_PERTURB.
35951
1c7570ff
RM
359522010-07-26 Roland McGrath <roland@redhat.com>
35953
35954 [BZ #11840]
35955 * configure.in (-fgnu89-inline check): Set and substitute
35956 gnu89_inline, not libc_cv_gnu89_inline.
35957 * configure: Regenerated.
35958 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35959
24fb0f88
UD
359602010-07-26 Ulrich Drepper <drepper@redhat.com>
35961
35962 * string/test-strnlen.c: New file.
35963 * string/Makefile (strop-tests): Add strnlen.
35964 * string/tester.c (test_strnlen): Add a few more test cases.
35965 * string/tst-strlen.c: Better error reporting.
35966
35967 * sysdeps/x86_64/strnlen.S: New file.
35968
8e96b93a
UD
359692010-07-24 Ulrich Drepper <drepper@redhat.com>
35970
35971 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35972 lower-latency instructions.
35973
dbc676d4
UD
359742010-07-23 Ulrich Drepper <drepper@redhat.com>
35975
35976 * string/test-strcasestr.c: New file.
35977 * string/test-strstr.c: New file.
35978 * string/Makefile (strop-tests): Add strstr and strcasestr.
35979 * string/str-two-way.h: Don't undefine MAX.
35980 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35981
f6a31e0e
AS
359822010-07-21 Andreas Schwab <schwab@redhat.com>
35983
35984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35985 strcasestr-nonascii.
35986 (CFLAGS-strcasestr-nonascii.c): Define.
35987 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35988 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35989 Remove unused attribute.
35990
5dbc3b6c
RM
359912010-07-20 Roland McGrath <roland@redhat.com>
35992
35993 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35994 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35995 ld.so.cache was broken. With it, there is no way to disable dsocaps
35996 like LD_HWCAP_MASK can disable hwcaps.
35997
23d101d8
EPM
359982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35999
36000 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36001
cc9f2e47
UD
360022010-07-16 Ulrich Drepper <drepper@redhat.com>
36003
36004 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36005 call in strcasestr.
36006 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36007 __strcasestr_sse42_nonascii.
36008 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36009 strcasestr-nonascii.c.
36010 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36011
77c1b069
LM
360122010-06-15 Luis Machado <luisgpm@br.ibm.com>
36013
36014 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36015 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36016 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36017 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36018
440566c3
UD
360192010-07-09 Ulrich Drepper <drepper@redhat.com>
36020
36021 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36022 fcntl.
36023
5be9d05d
AS
360242010-07-06 Andreas Schwab <schwab@redhat.com>
36025
c30b7ee2 36026 [BZ #11577]
5be9d05d
AS
36027 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36028 dl_signal_cerror.
36029
8a492a67
UD
360302010-07-06 Ulrich Drepper <drepper@redhat.com>
36031
36032 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36033 _PC_PIPE_BUF using F_GETPIPE_SZ.
36034
713df3d5
RM
360352010-07-05 Roland McGrath <roland@redhat.com>
36036
36037 * manual/arith.texi (Rounding Functions): Fix rint description
36038 implicit in round description.
36039
702e8f14
UD
360402010-07-02 Ulrich Drepper <drepper@redhat.com>
36041
36042 * elf/Makefile: Fix linking for a few tests to make recent linker
36043 happy.
36044
52ed8be9
AS
360452010-06-30 Andreas Schwab <schwab@redhat.com>
36046
36047 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36048 $(common-objpfx)libc_nonshared.a.
36049
f47c9a11
LM
360502010-06-21 Luis Machado <luisgpm@br.ibm.com>
36051
36052 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36053 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36054 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36055 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36056 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36057 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36058 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36059 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36074 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36075 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36076 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36077 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36078 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36079 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36080 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36081 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36082 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36083 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36084 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36085 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36100
6fb8cbcb
L
361012010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36102
36103 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36104 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36105 * string/memmove.c (memmove): Renamed to ...
36106 (MEMMOVE): ...this. Default to memmove.
36107 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36108 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36109 (END_CHK): Define.
36110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36111 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36112 mempcpy-ssse3-back memmove-ssse3-back.
36113 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36114 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36115 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36116 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36117 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36118 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36119 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36120 * sysdeps/x86_64/multiarch/memmove.c: New file.
36121 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36122 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36123 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36124 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36125 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36126 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36127 Define.
36128 (index_Fast_Copy_Backward): Define.
36129 (HAS_ARCH_FEATURE): Define.
36130 (HAS_FAST_REP_STRING): Define.
36131 (HAS_FAST_COPY_BACKWARD): Define.
36132
4e733bac 361332010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36134
36135 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36136 Restore proper fallback handling.
36137
63c4ed22
UD
361382010-06-19 Ulrich Drepper <drepper@redhat.com>
36139
ac2b484c
UD
36140 [BZ #11701]
36141 * posix/group_member.c (__group_member): Correct checking loop.
36142
63c4ed22
UD
36143 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36144 OOM in getpwuid_r correctly. Return error number when the caller
36145 should return, otherwise -1.
36146 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36147 call returning > 0 value.
36148 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36149
765ade4b
AS
361502010-06-07 Andreas Schwab <schwab@redhat.com>
36151
36152 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36153 libc_nonshared.a from targets in modules-names.
36154
80da2e09
KS
361552010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36156
36157 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36158 requires it.
36159
158db122
LM
361602010-06-10 Luis Machado <luisgpm@br.ibm.com>
36161
36162 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36163 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36164 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36165 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36166
caa78cf8
AS
361672010-06-02 Andreas Schwab <schwab@redhat.com>
36168
36169 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36170
b2ef2c01
UD
361712010-06-14 Ulrich Drepper <drepper@redhat.com>
36172
36173 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36174 and F_GETPIPE_SZ.
36175 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36176 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36178 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36179 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36180 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36181
fbd643b6
RM
361822010-06-14 Roland McGrath <roland@redhat.com>
36183
36184 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36185
f32f2869
JJ
361862010-06-07 Jakub Jelinek <jakub@redhat.com>
36187
36188 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36189 __REDIRECT followed by __THROW.
36190 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36191 * posix/getopt.h (getopt): Likewise.
36192
2a50c078
EPM
361932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36194
36195 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36196 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36197 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36198 in AT_FLAGS.
36199 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36200 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36201
eb5ad2eb
LM
362022010-05-28 Luis Machado <luisgpm@br.ibm.com>
36203
36204 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36205
3c88fe1e
L
362062010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36207
36208 [BZ #11640]
36209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36210 Properly check family and model.
36211
d2f73151
TY
362122010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36213
36214 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36215
ebd2e13d
LM
362162010-05-24 Luis Machado <luisgpm@br.ibm.com>
36217
36218 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36219
b32b8b45
UD
362202010-05-21 Ulrich Drepper <drepper@redhat.com>
36221
36222 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36223 symbol reference.
36224
9acbe24d
AS
362252010-05-19 Andreas Schwab <schwab@redhat.com>
36226
36227 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36228 symbol reference.
36229
f0ccf6ea
AS
362302010-05-21 Andreas Schwab <schwab@redhat.com>
36231
3d04ff3a
AS
36232 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36233 and internal_recvmmsg.
36234 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36235 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36236 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36237 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36238
f0ccf6ea
AS
36239 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36240 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36241 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36242
5b08ac57
AS
362432010-05-20 Andreas Schwab <schwab@redhat.com>
36244
36245 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36246
4828935d
LM
362472010-05-17 Luis Machado <luisgpm@br.ibm.com>
36248
36249 POWER7 optimizations.
36250 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36251 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36252
373d545e
UD
362532010-05-19 Ulrich Drepper <drepper@redhat.com>
36254
36255 * version.h: Update for 2.13 development version.
36256
21a2b1ae
AS
362572010-05-12 Andrew Stubbs <ams@codesourcery.com>
36258
36259 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36260 exceptions. Return 0.
36261
3f7dcb2b
RM
362622010-05-07 Roland McGrath <roland@redhat.com>
36263
36264 * elf/ldconfig.c (main): Add a const.
36265
5f24d53a 362662010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36267
a160f8d8
UD
36268 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36269 (args_options): Add no-idn option.
36270 (ahosts_keys_int): Add idn_flags to ai_flags.
36271 (parse_option): Handle 'i' option to clear idn_flags.
36272
5f24d53a
UD
36273 * malloc/malloc.c (_int_free): Possible race in the most recently
36274 added check. Only act on the data if no current modification
36275 happened.
265bb1ce
UD
36276
36277See ChangeLog.17 for earlier changes.