]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
alpha: Don't symbol_version syscalls outside libc
[thirdparty/glibc.git] / ChangeLog
CommitLineData
63f1549e
RH
12012-05-30 Richard Henderson <rth@twiddle.net>
2
8d8f2279
RH
3 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4 with #ifndef NOT_IN_libc.
5
63f1549e
RH
6 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7 marked to avoid plt entry.
8
0ab0291b
L
92012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10
11 [BZ #14112]
12 * Makeconfig (default-abi): New macro.
13 (abi-includes): Likewise.
14 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15 $(abi-$(default-abi)-lib-soname) for soname if defined.
16 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17 abi-variants.
18 * Makefile (installed-stubs): Likewise.
19 * include/stubs-biarch.h: Removed.
20 * scripts/lib-names.awk: Only handle one library at a time.
21 * scripts/soversions.awk: Remove WORDSIZE support.
22 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23 entries.
24 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
25 Removed.
26 (syscall-list-default-condition): Likewise.
27 (syscall-list-default-condition): Likewise.
28 (syscall-list-includes): Likewise.
29 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30 syscall-list-* with abi-*. Handle undefined abi-variants.
31 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37 Removed.
38 (syscall-list-32-options): Likewise.
39 (syscall-list-32-condition): Likewise.
40 (syscall-list-64-options): Likewise.
41 (syscall-list-64-condition): Likewise.
42 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43 macro.
44 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45 Renamed to ...
46 (abi-*): This.
47 (abi-64-ld-soname): New macro.
48 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50 Renamed to ...
51 (abi-*): This.
52 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
53 * sysdeps/x86_64/x32/shlib-versions: Likewise.
54
4da0431d
JM
552012-05-30 Joseph Myers <joseph@codesourcery.com>
56
3a85279c
JM
57 * sysdeps/unix/sysv/linux/kernel-features.h
58 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60 include <kernel-features.h>.
61 [!__NR_ftruncate64]: Remove conditional code.
62 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63 [__NR_ftruncate64]: Make code unconditional.
64 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65 * sysdeps/unix/sysv/linux/truncate64.c: Do not
66 include <kernel-features.h>.
67 [!__NR_ftruncate64]: Remove conditional code.
68 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69 [__NR_ftruncate64]: Make code unconditional.
70 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
72 include <kernel-features.h>.
73 [!__NR_ftruncate64]: Remove conditional code.
74 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75 [__NR_ftruncate64]: Make code unconditional.
76 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
78 include <kernel-features.h>.
79 [!__NR_ftruncate64]: Remove conditional code.
80 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
81 [__NR_ftruncate64]: Make code unconditional.
82 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
83
4da0431d
JM
84 * configure.in (libc_cv_fpie): Weaken to a compile test using
85 LIBC_TRY_CC_OPTION.
86 * configure: Regenerated.
87
11ef492c
AK
882012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
89
90 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
91 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
92 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
93 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
94 Refreshed.
95 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
96 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
97 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
98 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
99 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
101 Refreshed.
102
d66ef399
DM
1032012-05-27 David S. Miller <davem@davemloft.net>
104
105 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
106 (___Q_zero): New.
107 (__Q_simulate_exceptions): Return void. Change to simulate
108 exceptions by writing into the %fsr.
109 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
110 (__Qp_handle_exceptions): Likewise.
111 (numbers): Delete.
112 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
113 __Qp_handle_exceptions.
114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
115 __Qp_handle_exceptions.
116 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
117 as unused and give dummy FP_RND_NEAREST initializer.
118 (FP_INHIBIT_RESULTS): Define.
119 (___Q_simulate_exceptions): Update declaration.
120 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
121 formatting.
122 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
123 as unused and give dummy FP_RND_NEAREST initializer.
124 (__Qp_handle_exceptions): Update declaration.
125 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
126 formatting.
127
04fb54b5
TS
1282012-05-27 Thomas Schwinge <thomas@codesourcery.com>
129
130 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
131 the temporary FPU control word.
132 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
133 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
134 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
135 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
136 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
137 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
138 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
139 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
140 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
141 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
142 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
143
3f99608f
KK
1442012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
145
146 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
147 fields.
148
65a4de4e
CLT
1492012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
150
151 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
152 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
153 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
154 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
155 Likewise.
156 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
157 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
158 Likewise.
159
15749d40
UD
1602012-05-27 Ulrich Drepper <drepper@gmail.com>
161
162 * po/h.po: Update from translation team.
163
25dbcb27
AS
1642012-05-26 Andreas Schwab <schwab@linux-m68k.org>
165
3d3f8e55
AS
166 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
167
25dbcb27
AS
168 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
169 handling of denormals.
170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
171 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
172 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
173 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
174 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
177 Likewise.
178
7ad47a80 1792012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
180
181 [BZ #14152]
182 * math/libm-test.inc (fma_test): Don't always expect underflow
183 exception.
184
9c6ea9fa
SP
1852012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
186
187 [BZ #12416]
188 * elf/tst-execstack.c: Include stackinfo.h.
189 (do_test): Adjust test case to ensure that pthread_getattr_np
190 behaviour remains the same after marking stack executable.
191
a8239222
JM
1922012-05-25 Joseph Myers <joseph@codesourcery.com>
193
194 * sysdeps/unix/sysv/linux/kernel-features.h
195 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
196 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
197 kernel-features.h.
198 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
199 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
200 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
201 kernel-features.h.
202 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
203 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
204
918b5606
L
2052012-05-25 H.J. Lu <hongjiu.lu@intel.com>
206
207 * configure.in: Define the default includes to being none.
208 * configure: Regenerated.
209
3a097cc7
RM
2102012-05-25 Roland McGrath <roland@hack.frob.com>
211
8422c9a5
RM
212 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
213 * sysdeps/x86_64/setjmp.S: Likewise.
214 * sysdeps/i386/bsd-setjmp.S: Likewise.
215 * sysdeps/i386/bsd-_setjmp.S: Likewise.
216 * sysdeps/i386/setjmp.S: Likewise.
217 * sysdeps/i386/__longjmp.S: Likewise.
218 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
219 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
220
3a097cc7
RM
221 * include/stap-probe.h: New file.
222 * configure.in: Handle --enable-systemtap.
223 * configure: Regenerated.
224 * config.h.in (USE_STAP_PROBE): New #undef.
225 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
226 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
227 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
228
21708942
JM
2292012-05-25 Joseph Myers <joseph@codesourcery.com>
230
231 [BZ #13717]
232 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
233 to 2.4.0 where earlier.
234 * sysdeps/unix/sysv/linux/configure: Regenerated.
235 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
236 <kernel-features.h>.
237 [__ASSUME_32BITUIDS]: Make code unconditional.
238 [!__ASSUME_32BITUIDS]: Remove conditional code.
239 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
240 <kernel-features.h>.
241 [__ASSUME_32BITUIDS]: Make code unconditional.
242 [!__ASSUME_32BITUIDS]: Remove conditional code.
243 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
244 [__ASSUME_32BITUIDS]: Make code unconditional.
245 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
246 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
247 <kernel-features.h>.
248 [__ASSUME_32BITUIDS]: Make code unconditional.
249 [!__ASSUME_32BITUIDS]: Remove conditional code.
250 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
251 <kernel-features.h>.
252 [__ASSUME_32BITUIDS]: Make code unconditional.
253 [!__ASSUME_32BITUIDS]: Remove conditional code.
254 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
255 <kernel-features.h>.
256 [__ASSUME_32BITUIDS]: Make code unconditional.
257 [!__ASSUME_32BITUIDS]: Remove conditional code.
258 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
259 <kernel-features.h>.
260 [__ASSUME_32BITUIDS]: Make code unconditional.
261 [!__ASSUME_32BITUIDS]: Remove conditional code.
262 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
263 <kernel-features.h>.
264 [__ASSUME_32BITUIDS]: Make code unconditional.
265 [!__ASSUME_32BITUIDS]: Remove conditional code.
266 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
267 <kernel-features.h>.
268 [__ASSUME_32BITUIDS]: Make code unconditional.
269 [!__ASSUME_32BITUIDS]: Remove conditional code.
270 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
271 <kernel-features.h>.
272 [__ASSUME_32BITUIDS]: Make code unconditional.
273 [!__ASSUME_32BITUIDS]: Remove conditional code.
274 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
275 <kernel-features.h>.
276 [__ASSUME_32BITUIDS]: Make code unconditional.
277 [!__ASSUME_32BITUIDS]: Remove conditional code.
278 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
279 <kernel-features.h>.
280 [__ASSUME_32BITUIDS]: Make code unconditional.
281 [!__ASSUME_32BITUIDS]: Remove conditional code.
282 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
283 <kernel-features.h>.
284 [__ASSUME_32BITUIDS]: Make code unconditional.
285 [!__ASSUME_32BITUIDS]: Remove conditional code.
286 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
287 <kernel-features.h>.
288 [__NR_setresgid] (__setresgid): Do not declare.
289 [__ASSUME_32BITUIDS]: Make code unconditional.
290 [!__ASSUME_32BITUIDS]: Remove conditional code.
291 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
292 <kernel-features.h>.
293 [__NR_setresuid] (__setresuid): Do not declare.
294 [__ASSUME_32BITUIDS]: Make code unconditional.
295 [!__ASSUME_32BITUIDS]: Remove conditional code.
296 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
297 <kernel-features.h>.
298 [__ASSUME_32BITUIDS]: Make code unconditional.
299 [!__ASSUME_32BITUIDS]: Remove conditional code.
300 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
301 <kernel-features.h>.
302 [__ASSUME_32BITUIDS]: Make code unconditional.
303 [!__ASSUME_32BITUIDS]: Remove conditional code.
304 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
305 <kernel-features.h>.
306 [__ASSUME_32BITUIDS]: Make code unconditional.
307 [!__ASSUME_32BITUIDS]: Remove conditional code.
308 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
309 <kernel-features.h>.
310 [__ASSUME_32BITUIDS]: Make code unconditional.
311 [!__ASSUME_32BITUIDS]: Remove conditional code.
312 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
313 <kernel-features.h>.
314 [__ASSUME_32BITUIDS]: Make code unconditional.
315 [!__ASSUME_32BITUIDS]: Remove conditional code.
316 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
317 <kernel-features.h>.
318 [__ASSUME_32BITUIDS]: Make code unconditional.
319 [!__ASSUME_32BITUIDS]: Remove conditional code.
320 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
321 <kernel-features.h>.
322 [__ASSUME_32BITUIDS]: Make code unconditional.
323 [!__ASSUME_32BITUIDS]: Remove conditional code.
324 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
325 <kernel-features.h>.
326 [__ASSUME_32BITUIDS]: Make code unconditional.
327 [!__ASSUME_32BITUIDS]: Remove conditional code.
328 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
329 <kernel-features.h>.
330 [__ASSUME_32BITUIDS]: Make code unconditional.
331 [!__ASSUME_32BITUIDS]: Remove conditional code.
332 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
333 <kernel-features.h>.
334 [__ASSUME_32BITUIDS]: Make code unconditional.
335 [!__ASSUME_32BITUIDS]: Remove conditional code.
336 * sysdeps/unix/sysv/linux/kernel-features.h
337 (__ASSUME_SETRESUID_SYSCALL): Remove.
338 (__ASSUME_SETRESGID_SYSCALL): Likewise.
339 (__ASSUME_32BITUIDS): Likewise.
340 (__ASSUME_LDT_WORKS): Likewise.
341 (__ASSUME_O_DIRECTORY): Likewise.
342 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
343 architecture but not kernel version.
344 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
345 (__ASSUME_MMAP2_SYSCALL): Likewise.
346 (__ASSUME_STAT64_SYSCALL): Likewise.
347 (__ASSUME_IPC64): Likewise.
348 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
349 <kernel-features.h>.
350 [__ASSUME_32BITUIDS]: Make code unconditional.
351 [!__ASSUME_32BITUIDS]: Remove conditional code.
352 * sysdeps/unix/sysv/linux/opendir.c: Do not include
353 <kernel-features.h>.
354 [__ASSUME_O_DIRECTORY]: Make code unconditional.
355 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
356 132096]: Remove conditional code.
357 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
358 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
359 <kernel-features.h>.
360 [__ASSUME_32BITUIDS]: Make code unconditional.
361 [!__ASSUME_32BITUIDS]: Remove conditional code.
362 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
363 <kernel-features.h>.
364 [__ASSUME_32BITUIDS]: Make code unconditional.
365 [!__ASSUME_32BITUIDS]: Remove conditional code.
366 * sysdeps/unix/sysv/linux/setegid.c: Do not include
367 <kernel-features.h>.
368 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
369 unconditional.
370 (__setresgid): Do not declare.
371 [__ASSUME_32BITUIDS]: Make code unconditional.
372 [!__ASSUME_32BITUIDS]: Remove conditional code.
373 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
374 <kernel-features.h>.
375 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
376 unconditional.
377 (__setresuid): Do not declare.
378 [__ASSUME_32BITUIDS]: Make code unconditional.
379 [!__ASSUME_32BITUIDS]: Remove conditional code.
380 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
381 <kernel-features.h>.
382 [__ASSUME_32BITUIDS]: Make code unconditional.
383 [!__ASSUME_32BITUIDS]: Remove conditional code.
384 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
385 <kernel-features.h>.
386 [__ASSUME_32BITUIDS]: Make code unconditional.
387 [!__ASSUME_32BITUIDS]: Remove conditional code.
388
a386f1cc
RH
3892012-05-25 Richard Henderson <rth@twiddle.net>
390
391 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
392 dl_hwcap to ifunc resolver.
393 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
394 elf_ifunc_invoke.
395 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
396 dl_hwcap to ifunc resolver.
397 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
398
b6550497
JM
3992012-05-24 Joseph Myers <joseph@codesourcery.com>
400
401 [BZ #14153]
402 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
403 for |x| <= 2**-26, not 2**-57.
404 * math/libm-test.inc (acos_test): Do not allow spurious underflow
405 exception.
406
b0bc23a1
JL
4072012-05-24 Jeff Law <law@redhat.com>
408
409 * stdio-common/Makefile (tests): Add bug25.
410 * stdio-common/bug25.c: New test.
411
347c92e9
L
4122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
413
414 [BZ #13576]
415 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
416 multiple of MALLOC_ALIGNMENT in size.
417 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
418
6bcc8b3f
JM
4192012-05-24 Joseph Myers <joseph@codesourcery.com>
420
421 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
422 Require >= 256.
423 (FILENAME_MAX): Use macro-int-constant.
424 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
425 (_IOFBF): Use macro-int-constant.
426 (_IOLBF): Likewise.
427 (_IONBF): Likewise.
428 (SEEK_CUR): Likewise.
429 (SEEK_END): Likewise.
430 (SEEK_SET): Likewise.
431 (TMP_MAX): Likewise.
432 (EOF): Use macro-int-constant. Require < 0.
433 (NULL): Use macro-constant. Require == 0.
434 (stdin): Require type to be FILE *.
435 (stdout): Likewise.
436 (stderr): Likewise.
437 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
438 macro-int-constant.
439 (EXIT_SUCCESS): Likewise.
440 (NULL): Use macro-constant. Require == 0.
441 (RAND_MAX): Use macro-int-constant.
442 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
443 [C99-based standards] (strtof): Require function.
444 [C99-based standards] (strtold): Likewise.
445 [C99-based standards] (strtoll): Likewise.
446 [C99-based standards] (strtoull): Likewise.
447 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
448 [ISO || ISO99 || ISO11] (limits.h): Likewise.
449 [ISO || ISO99 || ISO11] (math.h): Likewise.
450 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
451 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
453
d18ea0c5
AS
4542012-05-24 Andreas Schwab <schwab@linux-m68k.org>
455
456 [BZ #14132]
56d25bb8
AS
457 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
458 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
459 * intl/dgettext.c (DCGETTEXT): Likewise.
460 * intl/gettext.c (DCGETTEXT): Likewise.
461 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
462 * posix/regex_internal.h (gettext): Likewise.
463 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
464 Remove declaration.
465 * include/argz.h (__argz_count_internal)
466 (__argz_stringify_internal): Remove declaration.
467 (__argz_count, __argz_stringify): Declare hidden proto.
468 * intl/dcgettext.c: Remove use of INTDEF.
469 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
470 * string/argz-stringify.c: Likewise.
471 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
472 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
473 Declare hidden proto.
d18ea0c5
AS
474 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
475 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
476 Declare hidden proto.
477 * include/stdio.h (__asprintf_internal): Don't declare.
478 (__asprintf): Don't define as macro. Declare hidden proto.
479 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
480 (__fsetlocking): Declare hidden proto.
481 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
482 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
483 hidden proto.
484 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
485 (_IO_setlinebuf): Remove use of INTUSE.
486 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
487 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
488 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
489 Remove declaration.
490 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
491 (_IO_do_flush): Remove use of INTUSE.
492 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
493 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
494 (_IO_adjust_column, _IO_least_wmarker)
495 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
496 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
497 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
498 (_IO_default_doallocate, _IO_wdefault_doallocate)
499 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
500 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
501 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
502 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
503 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
504 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
505 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
506 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
507 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
508 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
509 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
510 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
511 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
512 proto.
513 (_IO_flush_all_internal, _IO_adjust_column_internal)
514 (_IO_default_uflow_internal, _IO_default_finish_internal)
515 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
516 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
517 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
518 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
519 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
520 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
521 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
522 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
523 (_IO_file_close_internal, _IO_file_close_it_internal)
524 (_IO_file_underflow_internal, _IO_file_overflow_internal)
525 (_IO_file_init_internal, _IO_file_attach_internal)
526 (_IO_file_fopen_internal, _IO_file_read_internal)
527 (_IO_file_sync_internal, _IO_file_seek_internal)
528 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
529 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
530 (_IO_str_underflow_internal, _IO_str_overflow_internal)
531 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
532 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
533 (_IO_list_all_internal, _IO_link_in_internal)
534 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
535 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
536 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
537 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
538 (_IO_do_write_internal, _IO_padn_internal)
539 (_IO_getline_info_internal, _IO_getline_internal)
540 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
541 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
542 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
543 (_IO_vfscanf_internal, _IO_vfprintf_internal)
544 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
545 (_IO_init_internal, _IO_un_link_internal): Don't declare.
546 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
547 with libc_hidden_ver, remove use of INTUSE.
548 * libio/genops.c: Likewise.
549 * libio/freopen.c: Likewise.
550 * libio/freopen64.c: Likewise.
551 * libio/iofclose.c: Likewise.
552 * libio/iofdopen.c: Likewise.
553 * libio/iofflush.c: Likewise.
554 * libio/iofflush_u.c: Likewise.
555 * libio/iofgets.c: Likewise.
556 * libio/iofgets_u.c: Likewise.
557 * libio/iofopen.c: Likewise.
558 * libio/iofopncook.c: Likewise.
559 * libio/iofread.c: Likewise.
560 * libio/iofread_u.c: Likewise.
561 * libio/ioftell.c: Likewise.
562 * libio/iofwrite.c: Likewise.
563 * libio/iogetline.c: Likewise.
564 * libio/iogets.c: Likewise.
565 * libio/iogetwline.c: Likewise.
566 * libio/iopadn.c: Likewise.
567 * libio/iopopen.c: Likewise.
568 * libio/ioseekoff.c: Likewise.
569 * libio/ioseekpos.c: Likewise.
570 * libio/iosetbuffer.c: Likewise.
571 * libio/iosetvbuf.c: Likewise.
572 * libio/ioungetc.c: Likewise.
573 * libio/ioungetwc.c: Likewise.
574 * libio/iovdprintf.c: Likewise.
575 * libio/iovsprintf.c: Likewise.
576 * libio/iovsscanf.c: Likewise.
577 * libio/memstream.c: Likewise.
578 * libio/obprintf.c: Likewise.
579 * libio/oldfileops.c: Likewise.
580 * libio/oldiofclose.c: Likewise.
581 * libio/oldiofdopen.c: Likewise.
582 * libio/oldiofopen.c: Likewise.
583 * libio/oldiopopen.c: Likewise.
584 * libio/oldstdfiles.c: Likewise.
585 * libio/putc.c: Likewise.
586 * libio/setbuf.c: Likewise.
587 * libio/setlinebuf.c: Likewise.
588 * libio/stdfiles.c: Likewise.
589 * libio/strops.c: Likewise.
590 * libio/vasprintf.c: Likewise.
591 * libio/vscanf.c: Likewise.
592 * libio/vsnprintf.c: Likewise.
593 * libio/vswprintf.c: Likewise.
594 * libio/wfiledoalloc.c: Likewise.
595 * libio/wfileops.c: Likewise.
596 * libio/wgenops.c: Likewise.
597 * libio/wmemstream.c: Likewise.
598 * libio/wstrops.c: Likewise.
599 * libio/__fpurge.c: Likewise.
600 * libio/__fsetlocking.c: Likewise.
601 * assert/assert.c: Likewise.
602 * debug/fgets_chk.c: Likewise.
603 * debug/fgets_u_chk.c: Likewise.
604 * debug/fread_chk.c: Likewise.
605 * debug/fread_u_chk.c: Likewise.
606 * debug/gets_chk.c: Likewise.
607 * debug/obprintf_chk.c: Likewise.
608 * debug/vasprintf_chk.c: Likewise.
609 * debug/vdprintf_chk.c: Likewise.
610 * debug/vsnprintf_chk.c: Likewise.
611 * debug/vsprintf_chk.c: Likewise.
612 * malloc/mtrace.c: Likewise.
613 * misc/error.c: Likewise.
614 * misc/syslog.c: Likewise.
615 * stdio-common/asprintf.c: Likewise.
616 * stdio-common/fxprintf.c: Likewise.
617 * stdio-common/getw.c: Likewise.
618 * stdio-common/isoc99_fscanf.c: Likewise.
619 * stdio-common/isoc99_scanf.c: Likewise.
620 * stdio-common/isoc99_vfscanf.c: Likewise.
621 * stdio-common/isoc99_vscanf.c: Likewise.
622 * stdio-common/isoc99_vsscanf.c: Likewise.
623 * stdio-common/printf-prs.c: Likewise.
624 * stdio-common/printf_fp.c: Likewise.
625 * stdio-common/printf_fphex.c: Likewise.
626 * stdio-common/printf_size.c: Likewise.
627 * stdio-common/putw.c: Likewise.
628 * stdio-common/scanf.c: Likewise.
629 * stdio-common/sprintf.c: Likewise.
630 * stdio-common/tmpfile.c: Likewise.
631 * stdio-common/vfprintf.c: Likewise.
632 * stdio-common/vfscanf.c: Likewise.
633 * stdlib/strfmon_l.c: Likewise.
634 * sunrpc/openchild.c: Likewise.
635 * sunrpc/xdr_stdio.c: Likewise.
636 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
637 * sysdeps/mach/hurd/tmpfile.c: Likewise.
638
d6c33fda
RM
6392012-05-24 Roland McGrath <roland@hack.frob.com>
640
c1487492
RM
641 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
642
643 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
644 in the third column, to generate for the shared library an IFUNC
645 that uses _dl_vdso_vsym.
646 * Makerules (COMPILE.c, compile-stdin.c): New variables.
647 * Makeconfig (object-suffixes-noshared): New variable.
648
649 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
650 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
651 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
652 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
653
d6c33fda
RM
654 [BZ #14132]
655 * include/sys/time.h (__gettimeofday): Remove macro.
656 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
657 * time/gettimeofday.c (__gettimeofday): Remove #undef.
658 Remove INTDEF.
659 (__gettimeofday): Add libc_hidden_def.
660 (gettimeofday): Add libc_hidden_weak.
661 * sysdeps/mach/gettimeofday.c: Likewise.
662 * sysdeps/posix/gettimeofday.c: Likewise.
663 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
664 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
665 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
666 (__gettimeofday_internal): Remove strong_alias.
667 (__gettimeofday): Add libc_hidden_def.
668 (gettimeofday): Add libc_hidden_weak.
669 * sysdeps/unix/syscalls.list (gettimeofday):
670 Remove __gettimeofday_internal alias.
671
b5a2bbe6
L
6722012-05-24 Daniel Jacobowitz <drow@false.org>
673 H.J. Lu <hongjiu.lu@intel.com>
674
675 [BZ #12495]
676 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
677 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
678 (largebin_index_32_big): New.
679 (largebin_index): Use it for 16-byte alignment.
680 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
681 correction with front_misalign.
682
cfba4fda
L
6832012-05-24 H.J. Lu <hongjiu.lu@intel.com>
684
7f907421
L
685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
687 Likewise.
688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
689 Likewise.
690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
691 Likewise.
692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
693 Likewise.
694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
695 Likewise.
696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
697 Likewise.
698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
699 Likewise.
700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
701 Likewise.
702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
703 Likewise.
704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
705 Likewise.
706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
707 Likewise.
708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
709 Likewise.
710
cfba4fda
L
711 * scripts/data/c++-types-x32-linux-gnu.data: New file.
712 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
713
80bad0cc
JM
7142012-05-24 Joseph Myers <joseph@codesourcery.com>
715
7a25eb06
JM
716 [BZ #10846]
717 [BZ #14036]
718 * math/libm-test.inc (exp_test): Add test from bug 14036.
719 (pow_test): Add test from bug 10846.
720
795405f9
JM
721 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
722 and other flags.
723 (special_function): Do not include flags in test name.
724 (parse_args): Likewise.
725 * sysdeps/i386/fpu/libm-test-ulps: Update.
726 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
727 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
728 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
730
80bad0cc
JM
731 * math/gen-libm-test.pl (%beautify): Add entries for underflow
732 exceptions.
733 * math/libm-test.inc ("Philosophy"): Update comment about
734 exception testing.
735 (UNDERFLOW_EXCEPTION): New macro.
736 (UNDERFLOW_EXCEPTION_OK): Likewise.
737 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
738 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
739 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
740 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
741 (INVALID_EXCEPTION_OK): Update value.
742 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
743 (OVERFLOW_EXCEPTION_OK): Likewise.
744 (IGNORE_ZERO_INF_SIGN): Likewise.
745 (test_exceptions): Handle underflow exceptions.
746 (acos_test): Update for underflow exception expectations.
747 (cexp_test): Likewise.
748 (clog_test): Likewise.
749 (clog10_test): Likewise.
750 (csqrt_test): Likewise.
751 (ctan_test): Likewise.
752 (ctanh_test): Likewise.
753 (exp_test): Likewise.
754 (exp10_test): Likewise.
755 (exp2_test): Likewise.
756 (expm1_test): Likewise.
757 (fma_test): Likewise.
758 (j0_test): Likewise.
759 (jn_test): Likewise.
760 (nexttoward_test): Likewise.
761 (pow_test): Likewise.
762 (scalbn_test): Likewise.
763 (scalbln_test): Likewise.
764 (tan_test): Likewise.
765 (y1_test): Likewise.
766 * sysdeps/i386/fpu/libm-test-ulps: Update.
767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
768
9e0e3d0b
DM
7692012-05-23 David S. Miller <davem@davemloft.net>
770
771 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
772 (__libc_sigaction): Remove unused local variables.
773
ccd0a08f
L
7742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
775
776 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
777
62bdf9a6
PE
7782012-05-23 Paul Eggert <eggert@cs.ucla.edu>
779
f8591f80
PE
780 mktime: avoid signed integer overflow
781 * time/mktime.c (__mktime_internal): Do not mishandle the case
782 where diff == INT_MIN.
783
94c7d826
PE
784 mktime: simplify computation of average
785 * time/mktime.c (ranged_convert): Use new time_t_avg function
786 instead of rolling our own (probably-slower) code.
787
ce73d683
PE
788 mktime: do not assume signed right shift propagates sign bit
789 * time/mktime.c (isdst_differ): New static function.
790 (__mktime_internal): No need to normalize tm_isdst now.
791 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
792 tm_isdst values.
793
72a22e59
PE
794 mktime: merge another wrapv change from gnulib
795 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
796 from some compilers.
797
68605433
PE
798 mktime: remove incorrect attempt at unusual arithmetics
799 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
800 The code didn't really work on such machines anyway.
801 (TYPE_MINIMUM): Assume two's complement.
802 (twos_complement_arithmetic): Verify that long_int and time_t
803 are two's complement (or unsigned, in the latter case).
804
03cf7fe3
PE
805 mktime: check signed shifts on long_int and time_t, too
806 * time/mktime.c (SHR): Check that shifts work as desired
807 on the types long_int and time_t too, as SHR is used on
808 such types.
809
f04dfbc2
PE
810 mktime: do not assume 'long' is wide enough
811 * time/mktime.c (verify): Move decl up.
812 (long_int): New type.
813 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
814 to remove assumption in the code that 'long' is wide enough to
815 store year values. This assumption is not true on x32 and on
816 some non-glibc platforms.
817
62bdf9a6
PE
818 mktime: merge wrapv change from gnulib
819 * time/mktime.c (WRAPV): New macro.
820 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
821 (guess_time_tm, __mktime_internal): Do not assume that signed
822 integer overflow wraps around; modern compilers generate code
823 where this assumption is no longer valid.
824
5e292e4f
L
8252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
826
827 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
828 Replace "jmp L(pseudo_end)" with "ret".
829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
830 Likewise.
831
8caf8c87
AJ
8322012-05-23 Andreas Jaeger <aj@suse.de>
833
834 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
835 * sysdeps/unix/sysv/linux/poll.c: Remove file.
836
1a09dc56
AJ
8372012-05-23 Andreas Jaeger <aj@suse.de>
838 Maximilian Attems <max@stro.at>
839
840 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
841 New macros.
842
1c87aba0
L
8432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
844
845 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
846 code so that pseudo_end is just ret and the stack pointer is
847 correct also for static library in error case.
848
40e45bd5
JM
8492012-05-23 Joseph Myers <joseph@codesourcery.com>
850
c2670533
JM
851 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
852 move to syscalls.list.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
857
40e45bd5
JM
858 * manual/install.texi (Running make install): Do not mention Linux
859 kernel version for which pt_chown is not needed.
860 (Linux): Do not mention problems with nscd with 2.0 kernels.
861 * INSTALL: Regenerated.
862
be08eda5
AJ
8632012-05-23 Andreas Jaeger <aj@suse.de>
864
865 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
866 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
867 macro.
868 * sysdeps/unix/sysv/linux/s390/bits/mman.h
869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
870 * sysdeps/unix/sysv/linux/sh/bits/mman.h
871 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
872 * sysdeps/unix/sysv/linux/i386/bits/mman.h
873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
874 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
875 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
876 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
877 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
878 * sysdeps/unix/sysv/linux/bits/in.h
879 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
880
a6a056bb
RM
8812012-05-22 Roland McGrath <roland@hack.frob.com>
882
883 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
884 (PREPARE_VERSION): Just use assert instead, it will be elided
885 under [NDEBUG] anyway.
886
c9009328
L
8872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
888
889 * sysdeps/unix/sysv/linux/Makefile: Include
890 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 891 (sysdep_routines): Remove sysctl.
c9009328
L
892 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
893 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
894 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
895 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
896 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
897
73338355
AJ
8982012-05-22 Andreas Jaeger <aj@suse.de>
899
900 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
901 that pseudo_end is just ret and the stack pointer is correct also
902 for static library in error case.
903
d44638b0
PP
9042012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
905
906 [BZ #14122]
907 * nss/nsswitch.c (defconfig_entries): New variable.
908 (__nss_database_lookup): Don't leak defconfig entries.
909 (nss_parse_service_list): Don't leak on error paths.
910 (free_database_entries): New function.
911 (free_defconfig): New function.
912 (free_mem): Move common code to free_database_entries.
913
31a39bd8
L
9142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
915
da0331a8
L
916 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
917 Add arch_prctl.
918 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
919
31a39bd8
L
920 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
921 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
923 New macro.
924 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
925 (INTERNAL_SYSCALL_TYPES): Likewise.
926 (LOAD_ARGS_TYPES_[1-6]): Likewise.
927 (LOAD_REGS_TYPES_[1-6]): Likewise.
928 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
929 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
930
45470df3
AZ
9312012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
932
933 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
934 copysignl for GLIBC_2_0.
935 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
936 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
937 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
938 logbl for GLIBC_2_0.
939 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
940 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
941
98a61bcb
L
9422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
943
a4f6e481
L
944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
945 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
946
f63d5db6
L
947 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
948 Use "neg %eax".
949
98a61bcb
L
950 * time/mktime.c: Update copyright years.
951
95770f14
PE
9522012-05-22 Paul Eggert <eggert@cs.ucla.edu>
953
6226efbd
PE
954 mktime: merge comment-quoting-style change from gnulib
955 * time/mktime.c: Quote 'like this' in comments.
956 The GNU coding standards suggest that we no longer quote `like this',
957 as "`" and "'" are typically rendered asymmetrically nowadays.
958 The typical gnulib style is to quote 'like this' when quoting
959 code, and "like this" when quoting English.
960
b99e4f78
PE
961 * time/mktime.c (compile-command): Add "-I.".
962
643e01e6
PE
963 mktime: merge mktime-internal.h change from gnulib
964 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
965
2554247d
PE
966 mktime: merge time_r change from gnulib
967 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
968
826dd0ab
PE
969 mktime: merge DEBUG change from gnulib
970 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
971 case system <time.h> has a #define.
972
bd83aabe
PE
973 mktime: merge <sys/types.h> change from gnulib
974 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
975 since <time.t> is now guaranteed to define time_t.
976
95770f14
PE
977 mktime: merge HAVE_CONFIG_H change from gnulib
978 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
979
5e1a27a9
L
9802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
981
0e44a77e
L
982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
983 Use "neg %eax".
984
5e1a27a9
L
985 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
986 __rlim_t cast.
987 (struct rusage): Use anonymous union to pad each field to
988 __syscall_slong_t.
989
46259bec
DM
9902012-05-21 David S. Miller <davem@davemloft.net>
991
992 * Makefules (o-iterator): Remove .s cases.
993 (compile-command.s): Delete.
994 (COMPILE.s): Delete.
995 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
996
59f0c22e
JM
9972012-05-21 Joseph Myers <joseph@codesourcery.com>
998
999 * configure.in (libc_cv_predef_stack_protector): Only consider
1000 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1001 * configure: Regenerated.
1002
20c07380
L
10032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1004
bbb3154b
L
1005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1006 New macro. Use R*LP on int and pointer.
1007 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1008 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1009 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1010 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1011
20c07380
L
1012 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1013 [__WORDSIZE_TIME64_COMPAT32] instead of
1014 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1015 (struct utmp): Likewise.
1016 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1017 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1018 Renamed to ...
1019 (__WORDSIZE_TIME64_COMPAT32): This.
1020 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1021 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1022 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1023 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1024 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1025 (__WORDSIZE_TIME64_COMPAT32): New macro.
1026
d8d1017e
AJ
10272012-05-21 Andreas Jaeger <aj@suse.de>
1028
1029 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1030 only if [SHARED]. Add prototype for __wcschr_ia32.
1031
6c7fb145
RM
10322012-05-21 Roland McGrath <roland@hack.frob.com>
1033
1034 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1035 of %rbp unmolested in the jmp_buf while mangling the low bits.
1036 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1037 unmolested high bits of %rbp while demangling the low bits.
1038 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1039
66274218
AJ
10402012-05-21 Andreas Jaeger <aj@suse.de>
1041
07c58f8f
AJ
1042 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1043 * sunrpc/svc_simple.c: Use it for registerrpc.
1044 * sunrpc/xcrypt.c: Use it for passwd2des.
1045
66274218
AJ
1046 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1047
61f65140
L
10482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1049
1050 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1051 Don't define if [__SYSCALL_WORDSIZE != 32].
1052 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1053 New macro.
1054
5fefb436
AJ
10552012-05-21 Bruno Haible <bruno@clisp.org>
1056 Andreas Jaeger <aj@suse.de>
1057
1058 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1059 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1060 inptr and inend for must_buffer_ch.
1061 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1062 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1063 * stdio-common/Makefile (tests): Remove bug15.
1064 (bug15-ENV): Remove macro.
1065 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1066 anymore.
1067
d8e272ab
AJ
10682012-05-19 Andreas Jaeger <aj@suse.de>
1069 Roland McGrath <roland@hack.frob.com>
1070
1071 * manual/contrib.texi: Completely rewritten. It contains now an
1072 alphabetical list of contributors and their contributions.
1073
4a56a162
RH
10742012-05-21 Richard Henderson <rth@twiddle.net>
1075
1076 * misc/getauxval.c (__getauxval): Use unsigned long int.
1077 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1078 (getauxval): Use unsigned long int.
1079
d024d23c
L
10802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1081
1082 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1083
cbc00a03
RM
10842012-05-21 Roland McGrath <roland@hack.frob.com>
1085
1086 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1087 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1088 __alignof__ (long double).
1089
478143fa
AZ
10902012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1091
1092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1093
c7683a6d
RH
10942012-05-20 Richard Henderson <rth@twiddle.net>
1095
1096 * misc/getauxval.c: New file.
1097 * misc/sys/auxv.h: New file.
1098 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1099 (routines): Add getauxval.
1100 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1101 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1102 * elf/dl-sysdep.c (_dl_auxv): Remove.
1103 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1104 * elf/dl-support.c (_dl_auxv): New variable.
1105 (_dl_aux_init): Initialize it.
1106 * manual/startup.texi (Auxiliary Vector): New node.
1107 * sysdeps/generic/bits/hwcap.h: New file.
1108 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1109 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1110 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1111 * sysdeps/sparc/sysdep.h: ... here. Include it.
1112 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1113 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1115 Update.
c7683a6d
RH
1116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1119 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1124
a6f1845d
AZ
11252012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1126
1127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1128
cbcbe830
DM
11292012-05-19 David S. Miller <davem@davemloft.net>
1130
1131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1132
e0b16cc2
JM
11332012-05-19 Joseph Myers <joseph@codesourcery.com>
1134
1135 [BZ #14123]
1136 * math/s_ccosh.c: Include <float.h>
1137 (__ccosh): Avoid internal overflow calculating sinh and cosh
1138 values before multiplying by sin and cos values.
1139 * math/s_ccoshf.c: Likewise.
1140 * math/s_ccoshl.c: Likewise.
1141 * math/s_csin.c: Likewise.
1142 * math/s_csinf.c: Likewise.
1143 * math/s_csinl.c: Likewise.
1144 * math/s_csinh.c: Likewise.
1145 * math/s_csinhf.c: Likewise.
1146 * math/s_csinhl.c: Likewise.
1147 * math/libm-test.inc (ccos_test): Add more tests.
1148 (ccosh_test): Likewise.
1149 (csin_test): Likewise.
1150 (csinh_test): Likewise.
1151 * sysdeps/i386/fpu/libm-test-ulps: Update.
1152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1153
6ad13e08
L
11542012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1155
f66f0ce8
L
1156 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1157 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1158
6ad13e08
L
1159 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1160
b1d072a7
JM
11612012-05-19 Joseph Myers <joseph@codesourcery.com>
1162
1163 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1164 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1165 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1166 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1167 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1168 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1169 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1170 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1171 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1172 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1173 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1174 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1175 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1176 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1177 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1178 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1179 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1180 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1181 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1182 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1183 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1184 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1185 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1186 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1187 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1188 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1189 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1190 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1191 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1192 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1193 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1194
9eae47cb
AJ
11952012-05-18 Andreas Jaeger <aj@suse.de>
1196
1197 * csu/.gitignore: Delete.
1198
bb07f69f
L
11992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1200
1201 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1202 (timex): Use __syscall_slong_t.
1203
e6bdb741
AJ
12042012-05-18 Andreas Jaeger <aj@suse.de>
1205 Carlos O'Donell <carlos_odonell@mentor.com>
1206
1207 * manual/install.texi (Configuring and compiling): Update
1208 description about files modified in the source directory.
d6c33fda 1209 * INSTALL: Regenerated.
e6bdb741 1210
1b74487e
L
12112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1212
1213 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1214 value. Use "or" to set return value to -1.
1215 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1216 negate return value.
1217
a88b64b9
TMQMF
12182012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1219
1220 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1221 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1222 failure if the compiler has Graphite support disabled.
1223 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1224 Likewise.
1225 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1226 CFLAGS-memmove.c): Likewise.
1227 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1228 Likewise.
1229
3707636e
L
12302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1231
610b8622
L
1232 * sysdeps/x86_64/x32/_itoa.h: New file.
1233
7cd195df
L
1234 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1235 getdents system call only if kernel and user dirents have the
1236 same d_ino and d_off.
1237
94b07d20
L
1238 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1239 LLONG_MAX != LONG_MAX.
1240 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1241 (_fitoa_word): Likewise.
1242
18298070
L
1243 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1244 years.
1245 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1246 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1247 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1248
553c7ea4
L
1249 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1250 include <bits/wordsize.h>. Check __x86_64__ instead of
1251 __WORDSIZE.
1252 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1253 if __x86_64__ is defined. Use anonymous union on fpstate.
1254
3707636e
L
1255 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1256 anonymous union.
1257
b53ef01a
AS
12582012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1259
37fb1dc0
AS
1260 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1261 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1262 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1263 Refer to _rtld_local_ro instead of _rtld_global_ro.
1264 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1265 Likewise.
1266 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1267 Likewise.
1268 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1269 Likewise.
1270 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1271 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1272 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1273
b53ef01a
AS
1274 * sysdeps/powerpc/powerpc32/dl-machine.c
1275 (__elf_machine_runtime_setup) [PROF]: Don't reference
1276 _dl_prof_resolve.
1277
7a185db2
AJ
12782012-05-18 Andreas Jaeger <aj@suse.de>
1279
1280 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1281 function only available for GCCs before 3.4 since GCC 3.4
1282 introduced a builtin.
1283 (lrint): Likewise.
1284 (llrintf): Likewise.
1285 (llrint): Likewise.
1286 (fmaxf): Likewise.
1287 (fmax): Likewise.
1288 (fminf): Likewise.
1289 (fmin): Likewise.
1290 (rint): Likewise.
1291 (rintf): Likewise.
1292 (nearbyint): Likewise.
1293 (nearbyintf): Likewise.
1294 (ceil): Likewise.
1295 (ceilf): Likewise.
1296 (floor): Likewise.
1297 (floorf): Likewise.
1298
3e5aef87
L
12992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1300
428bd707
L
1301 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1302 on both fields and cast pointer to __syscall_ulong_t.
1303
3e5aef87
L
1304 * bits/types.h (__fsword_t): New type.
1305 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1306 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1307 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1308 (__FSWORD_T_TYPE): Likewise.
1309 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1310 (__FSWORD_T_TYPE): Likewise.
1311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1312 (__FSWORD_T_TYPE): Likewise.
1313 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1314 (__FSWORD_T_TYPE): Likewise.
1315 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1316 __SWORD_TYPE with __fsword_t.
1317 (statfs64): Likewise.
1318
1ba7c3dc
DM
13192012-05-17 David S. Miller <davem@davemloft.net>
1320
1321 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1322
59910343
AJ
13232012-05-17 Andreas Jaeger <aj@suse.de>
1324
1325 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1326 warning.
1327
2e4c1e9e
L
13282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1329
1330 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1331
de7f5ce7
AJ
13322012-05-17 Andreas Jaeger <aj@suse.de>
1333
1334 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1335 when it is used.
1336
286abc3d
CM
13372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1338
1339 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1340
477cc68e
L
13412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1342
1343 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1344 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1345
1a0994f5
CD
13462012-05-17 Andreas Jaeger <aj@suse.de>
1347 Carlos O'Donell <carlos_odonell@mentor.com>
1348
1349 [BZ #14059]
1350 * sysdeps/x86_64/multiarch/init-arch.h
1351 (bit_YMM_Usable): Rename to...
1352 (bit_AVX_Usable): ... this.
1353 (bit_FMA4_Usable): New macro.
1354 (bit_XMM_state): New macro.
1355 (bit_YMM_state): New macro.
1356 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1357 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1358 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1359 (CPUID_OSXSAVE): New macro.
1360 (CPUID_AVX): New macro.
1361 (CPUID_FMA4): New macro.
1362 (index_YMM_Usable): Rename to...
1363 (index_AVX_Usable): ... this.
1364 (HAS_AVX): Use HAS_ARCH_FEATURE.
1365 (HAS_FMA4): Likewise.
1366 (HAS_YMM_USABLE): Remove.
1367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1368 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1369 are present.
1370 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1371 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1372 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1373 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1374 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1375
0af797de
CM
13762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1377
1378 * math/libm-test.c: Support platforms without multiple rounding modes.
1379 * math/bug-nextafter.c: Support platforms without FP exceptions.
1380 * math/bug-nexttoward.c: Likewise.
1381 * math/test-fenv.c: Likewise.
1382 * math/test-misc.c: Likewise.
1383 * stdlib/bug-getcontext.c: Likewise.
1384
e39745ff
AJ
13852012-05-17 Andreas Jaeger <aj@suse.de>
1386
1387 * manual/examples/search.c (critter_cmp): Change signature to
1388 avoid warnings.
1389 * manual/string.texi (Collation Functions): Likewise.
1390
48970aba
L
13912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1392
1393 * bits/types.h: Fold copyright years.
1394 * bits/typesizes.h: Likewise.
1395 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1396 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1399 * time/time.h: Likewise.
1400
bedee953
PP
14012012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1402
1403 [BZ #208]
1404 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1405 in instead of returning them. Return void.
1406 (__libc_mallinfo): Accumulate over all arenas.
1407 (__malloc_stats): Adjust for change in int_mallinfo interface.
1408
61653dfb
RM
14092012-05-16 Roland McGrath <roland@hack.frob.com>
1410
30b99d79
RM
1411 [BZ #10375]
1412 * configure.in (NM): Add AC_CHECK_TOOL for it.
1413 (libc_extra_cflags): New substituted variable.
1414 Check for -fstack-protector being used implicitly.
1415 * configure: Regenerated.
1416 * config.make.in (config-extra-cflags): New variable,
1417 gets @libc_extra_cflags@.
1418 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1419
61653dfb
RM
1420 [BZ #10375]
1421 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1422 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1423 * configure: Regenerated.
1424 * config.make.in (CPPUNDEFS): New substituted variable.
1425 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1426 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1427 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1428
661768bb
L
14292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1430
1431 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1432 (mq_attr): Use __syscall_slong_t.
1433
d4261567
L
14342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1435
1436 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1437 Check __x86_64__ instead of __WORDSIZE.
1438 (_STAT_VER_LINUX): Likewise.
1439 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1440 __syscall_ulong_t and __syscall_slong_t.
1441 (stat64): Likewise.
1442
cf3ff365
L
14432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1444
1445 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1446
76cf3e4d
L
14472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1448
1449 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1450
a637753a
L
14512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1454 __syscall_ulong_t.
1455
d5e05119
L
1456 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1457 include <bits/wordsize.h>. Check __x86_64__ instead of
1458 __WORDSIZE.
1459 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1460 defined.
1461 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1462
f62ee380
L
1463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1464 include <bits/wordsize.h>. Check __x86_64__ instead of
1465 __WORDSIZE.
1466 (user_regs_struct): Use "__extension__ unsigned long long"
1467 instead of "unsigned long" if __x86_64__ is defined.
1468 (user): Likewise. Pad after pointer field if __ILP32__ is
1469 defined.
1470
4e124ced
JM
14712012-05-16 Joseph Myers <joseph@codesourcery.com>
1472
6a3951a0
JM
1473 * configure.in (makeinfo): Require version 4.5 or later. Allow
1474 versions 5 to 9.
1475 * configure: Regenerated.
1476 * manual/install.texi (texinfo): Increase version requirement to
1477 4.5 or later.
1478 * INSTALL: Regenerated.
1479
4e124ced
JM
1480 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1481
953ca31a
L
14822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1483
1484 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1485
617aca05
L
1486 * sysdeps/x86_64/x32/ffs.c: New file.
1487
5762f7ae
L
1488 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1489 __syscall_ulong_t.
1490 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1491 defined. Use __syscall_ulong_t.
1492 (shminfo): Use __syscall_ulong_t.
1493 (shm_info): Likewise.
1494
a26b6856
L
1495 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1496 __syscall_ulong_t.
1497
cb2b9ef7
L
1498 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1499 <bits/wordsize.h>.
1500 (msgqnum_t): Use __syscall_ulong_t.
1501 (msglen_t): Likewise.
1502 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1503 __syscall_ulong_t.
1504
34683bb0
L
1505 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1506 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1507
84a68786
L
1508 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1509
48baa5f1
L
1510 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1511 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1512
180be88b
L
1513 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1514 __syscall_slong_t.
1515
5e90c8ad
L
1516 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1517 include <bits/wordsize.h>. Check __x86_64__ instead of
1518 __WORDSIZE.
1519
23dfb58b
L
1520 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1521 "unsigned long long int" if __x86_64__ is defined.
1522 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1523
ce5d54b0
L
1524 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1525 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1526 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1527
13dc9eac
L
1528 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1529 <stdint.h>.
1530 (GET_PC): Cast to uintptr_t first.
1531 (GET_FRAME): Likewise.
1532 (GET_STACK): Likewise.
1533
a7895d15
L
1534 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1535 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1536 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1537 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1538 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1539 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1540 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1541 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1542 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1543 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1544 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1545 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1546 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1547 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1548 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1549 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1550 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1551 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1552 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1553 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1554 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1555 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1556 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1557 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1558 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1559 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1560 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1561 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1562 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1563
656416c9
AS
15642012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1565
5bd66283
AS
1566 * Makerules (+depfiles): Also collect depfiles from .oS in
1567 $(extra-objs).
1568 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1569 .oS, $(libnldbl-routines)).
1570
656416c9
AS
1571 * Makerules (native-compile-mkdep-flags): Define.
1572 * sunrpc/Makefile (extra-objs): Add $(addprefix
1573 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1574 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1575 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1576 calling $(make-target-directory).
1577
a46f2169
L
15782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1579
1580 * bits/types.h (__snseconds_t): Removed.
1581 * time/time.h (struct timespec): Replace __snseconds_t with
1582 __syscall_slong_t.
1583 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1584 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1585 Likewise.
1586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1587 (__SNSECONDS_T_TYPE): Likewise.
1588 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1589 (__SNSECONDS_T_TYPE): Likewise.
1590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1591 (__SNSECONDS_T_TYPE): Likewise.
1592
6af6528b
L
15932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 * sysdeps/mach/hurd/bits/typesizes.h
1596 (__SYSCALL_SLONG_TYPE): New macro.
1597 (__SYSCALL_ULONG_TYPE): Likewise.
1598
de986b56
L
15992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1600
1601 * bits/types.h (__syscall_slong_t): New type.
1602 (__syscall_ulong_t): Likewise.
1603
1604 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1605 (__SYSCALL_ULONG_TYPE): Likewise.
1606 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1607 (__SYSCALL_SLONG_TYPE): Likewise.
1608 (__SYSCALL_ULONG_TYPE): Likewise.
1609 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1610 (__SYSCALL_SLONG_TYPE): Likewise.
1611 (__SYSCALL_ULONG_TYPE): Likewise.
1612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1613 (__SYSCALL_SLONG_TYPE): Likewise.
1614 (__SYSCALL_ULONG_TYPE): Likewise.
1615
85736dc7
L
16162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1617
1618 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1619 Add sigaltstack-offsets.sym.
1620 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1621 <sigaltstack-offsets.h>.
1622 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1623 longjmp_msg pointer.
1624 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1625 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1626 signal stack.
1627 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1628
cc03b296
JM
16292012-05-15 Joseph Myers <joseph@codesourcery.com>
1630
a9538892
JM
1631 * elf/stackguard-macros.h: Remove file.
1632 * sysdeps/generic/stackguard-macros.h: New file.
1633 * sysdeps/i386/stackguard-macros.h: Likewise.
1634 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1635 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1636 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1637 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1638 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1639 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1640 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1641 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1642 <elf/stackguard-macros.h>.
1643
cc03b296
JM
1644 [BZ #14109]
1645 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1646 __aligned__ in attribute.
1647 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1648 (gregset_t): Likewise.
1649
93171016
L
16502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1651
1652 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1653 * sysdeps/x86_64/64/Implies-after: Here. New file.
1654 * sysdeps/x86_64/x32/Implies-after: New file.
1655
d86813a0
L
16562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1657
1658 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1659 and access return value for _dl_profile_fixup. Use R10_LP to
1660 load frame size.
1661
2953ec75
L
16622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1663
1664 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1665
3b550e9e
L
16662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1667
1668 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1669 * sysdeps/x86_64/x32/sysdep.h: New file.
1670
eda41706
L
16712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1672
1673 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1674 * sysdeps/x86_64/setjmp.S: Likewise.
1675
9ea01d93
AZ
16762012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1677
1678 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1679 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1680 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1681 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1682 remove unused global constant.
1683
02a91938
CM
16842012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1685
1686 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1687 include of <not-cancel.h>.
1688
6540185f
RM
16892012-05-15 Roland McGrath <roland@hack.frob.com>
1690
1691 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1692
509072a0
AJ
16932012-05-15 Jeff Law <law@redhat.com>
1694 Andreas Jaeger <aj@suse.de>
1695
1696 [BZ #13594]
1697 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1698 out from...
1699 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1700 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1701 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1702 code changing __hst_map_handle.map.
1703
ba75122d
RM
17042012-05-15 Roland McGrath <roland@hack.frob.com>
1705
1706 * configure.in (sysnames): Look for Implies-before and Implies-after
1707 files.
1708 * configure: Regenerated.
1709
890d8bd8
L
17102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1711
1712 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1713 8-byte data alignment with LP_SIZE alignment.
1714
f6ee6623
L
17152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1716
1717 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1718 into R10_LP.
1719
ea2626f6
L
17202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1721
1722 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1723
085f715e
L
17242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1725
1726 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1727 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1728 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1729 Likewise.
1730 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1731
be8498fc
L
17322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1733
1734 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1735 (stackinfo_sub_sp): Likewise.
1736
70bc83b9
L
17372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1738
1739 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1740 RAX_LP.
1741
9bc0b730
L
17422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1743
1744 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1745 into R*_LP.
1746
6d2850e7
L
17472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1748
1749 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1750 sizes into R*_LP.
1751
3cb84561
L
17522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1753
1754 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1755
54e2ed81
L
17562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1757
1758 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1759 into R11_LP and load __x86_64_shared_cache_size_half into
1760 R8_LP.
1761
8a17f349
L
17622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1763
1764 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1765 R8_LP.
1766
777b1eea
AZ
17672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1768
1769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1770 logb for POWER7.
1771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1772 logbf for POWER7.
1773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1774 logbl for POWER7.
1775 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1776 powerpc32/power7/fpu/s_logb.c via #include.
1777 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1778 powerpc32/power7/fpu/s_logbf.c via #include.
1779 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1780 powerpc32/power7/fpu/s_logbl.c via #include.
1781
d20d4ac2
JM
17822012-05-15 Joseph Myers <joseph@codesourcery.com>
1783
1784 * README.libm: Remove file.
1785
6cdef1ab
L
17862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1787
1788 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1789 count for x32. Use R*_LP and omit operand-size suffix.
1790
0b254d8f
L
17912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1792
1793 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1794 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1795 * sysdeps/x86_64/x32/shlib-versions: New file.
1796
ceb809dc
RM
17972012-05-14 Roland McGrath <roland@hack.frob.com>
1798
1799 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1800 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1801 Use _dl_fatal_printf instead.
1802
37f1abd4
JM
18032012-05-14 Joseph Myers <joseph@codesourcery.com>
1804
1805 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1806 set if not set by the user. Do not allow for being unset.
1807 * sysdeps/unix/sysv/linux/configure: Regenerated.
1808
11de3a33
L
18092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1810
1811 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1812 the `q' suffix from lea and replace .quad with ASM_ADDR.
1813
e02f153a
L
18142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1815
1816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1817 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1818 instead of $17.
1819 (PTR_DEMANGLE): Likewise.
1820
520ae0fd
L
18212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1824 (LP_OP): Likewise.
1825 (ASM_ADDR): Likewise.
1826 (RAX_LP): Likewise.
1827 (RBP_LP): Likewise.
1828 (RBX_LP): Likewise.
1829 (RCX_LP): Likewise.
1830 (RDI_LP): Likewise.
1831 (RSI_LP): Likewise.
1832 (RSP_LP): Likewise.
1833 (R8_LP): Likewise.
1834 (R9_LP): Likewise.
1835 (R10_LP): Likewise.
1836 (R10_LP): Likewise.
1837 (R11_LP): Likewise.
1838 (R12_LP): Likewise.
1839 (R13_LP): Likewise.
1840 (R14_LP): Likewise.
1841 (R15_LP): Likewise.
1842
b985be81
L
18432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1844
1845 * sysdeps/x86_64/x32/dl-machine.h: New file.
1846
6a4888ff
AJ
18472012-05-14 Andreas Jaeger <aj@suse.de>
1848
1849 * manual/Makefile (subdir): Remove export of subdir.
1850 (all): Remove target.
1851 (.PHONY): Remove all from list.
1852 (mkinstalldirs): Remove.
1853 (.PHONY): Remove installdirs from list.
1854 ($(inst_infodir)/libc.info): Use make-target-directory.
1855 (installdirs): Remove.
1856 (subdir_%): Remove.
1857 (glibc-targets): Remove.
1858 (lib): Remove.
1859 (stubs): Remove.
1860 ($(objpfx)stubs ../po/manual.pot): Remove.
1861 ($(objpfx)stamp%): Remove.
1862 (make-target-directory): Remove.
1863 (subdir_install): Remove.
1864 (routines): Remove.
1865 (aux): Remove.
1866 (sources): Remove.
1867 (objects): Remove.
1868 (headers): Remove.
1869
1870 [BZ #13750]
1871 * manual/.gitignore: Remove, it's not needed anymore.
1872 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1873 all files in it.
1874 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1875 directory.
1876 (texis): Renamed to $(objpfx)texis.
1877 (texis-path): New, contains path to generated files.
1878 (chapters.%): Use texis-path for complete path, add extra argument
1879 libc-texinfo.sh.
1880 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1881 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1882 (summary,texi, stamp-summary): Use complete path of
1883 files. Generate files in build dir.
1884 (dir-add.texi): Build in build dir.
1885 (libm-err.texi,stamp-libm-err): Likewise.
1886 (version.texi, stamp-version): Likewise.
1887 (.%c.texi): Likewise.
1888 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1889 (mostlyclean): Remove target.
1890 (realclean): Remove target.
1891 (generated): Add new variable with contents from mostlyclean and
1892 realclean, remove entries duplicated in common-mostlyclean, add
1893 stamp-libm-err and stamp-version.
1894 (generated-dirs): Add libc directory.
1895 ($(inst_infodir)/libc.info): Install files from build dir.
1896
1897 * manual/install.texi (Configuring and compiling): Adjust since
1898 the info files are not part of the tar ball anymore.
1899
7ac77294
AJ
19002012-05-14 Andreas Jaeger <aj@suse.de>
1901
1902 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1903 variable.
1904
ffb7875d
JM
19052012-05-14 Joseph Myers <joseph@codesourcery.com>
1906
1907 [BZ #13717]
1908 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1909 to 2.2.0 where earlier.
1910 * sysdeps/unix/sysv/linux/configure: Regenerated.
1911 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1912 Remove conditional code.
1913 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1914 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1915 Remove conditional code.
1916 [!__NR_lchown]: Likewise.
1917 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1918 [__NR_lchown]: Likewise.
1919 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1920 comment referencing __ASSUME_LCHOWN_SYSCALL.
1921 * sysdeps/unix/sysv/linux/i386/sigaction.c
1922 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1923 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1924 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1925 Remove conditional code.
1926 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1927 (__protocol_available): Remove #if 0 code.
1928 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1929 conditional code.
1930 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1931 * sysdeps/unix/sysv/linux/kernel-features.h
1932 (__ASSUME_GETCWD_SYSCALL): Don't define.
1933 (__ASSUME_REALTIME_SIGNALS): Likewise.
1934 (__ASSUME_PREAD_SYSCALL): Likewise.
1935 (__ASSUME_PWRITE_SYSCALL): Likewise.
1936 (__ASSUME_POLL_SYSCALL): Likewise.
1937 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1938 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1939 non-SPARC.
1940 (__ASSUME_SIOCGIFNAME): Don't define.
1941 (__ASSUME_MSG_NOSIGNAL): Likewise.
1942 (__ASSUME_SENDFILE): Define unconditionally.
1943 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1944 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1945 conditional code.
1946 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1947 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1948 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1949 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1950 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1951 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1952 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1954 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1957 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1960 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1963 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1966 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1969 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1972 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1975 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1977 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1978 Remove conditional code.
1979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1980 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1981 Remove conditional code.
1982 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1983 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1984 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1985 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1986 Remove conditional code.
1987 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1988 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1989 Remove conditional code.
1990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1991 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1992 Remove conditional code.
1993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1994 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1995 Remove conditional code.
1996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1997 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1998 Remove conditional code.
1999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2000 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2001 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2002 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2003 * sysdeps/unix/sysv/linux/sigaction.c
2004 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2005 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2006 * sysdeps/unix/sysv/linux/sigpending.c
2007 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2008 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2009 * sysdeps/unix/sysv/linux/sigprocmask.c
2010 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2011 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2012 * sysdeps/unix/sysv/linux/sigsuspend.c
2013 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2014 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2015 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2016 (__libc_missing_rt_sigs): Remove.
2017 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2018 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2019 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2020 Remove conditional code.
2021 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2022 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2023 return 1.
2024 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2025 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2026 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2027 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2028
1bfb7291
AJ
20292012-05-14 Andreas Jaeger <aj@suse.de>
2030
caae5a81
AJ
2031 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2032 it's not used in glibc.
2033 (__coshm1): Likewise.
2034 (__acosh1p): Likewise.
2035 (__sgn): Likewise.
2036
1bfb7291
AJ
2037 * manual/string.texi (Copying and Concatenation): Add missing
2038 variable in concat example.
2039 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2040
c044d724
L
20412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2042
144c5467 2043 [BZ #14103]
c044d724
L
2044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2045 __builtin_clzl with __builtin_clzll.
2046
2523c62b
L
20472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 [BZ #14104]
2050 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2051 libc_freeres_ptr.
2052
d7bb4c42
LD
20532012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2054
2055 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2056 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2057 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2058 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2059
9dc4e1fb
MF
20602012-05-14 Mike Frysinger <vapier@gentoo.org>
2061
2062 * NEWS: Update ia64 info.
2063
c7df0112
AS
20642012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2065
2066 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2067 used as bcopy.
2068
dc70356c
TS
20692012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2070
2071 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2072 * sysdeps/unix/syscalls.list (dup3): Likewise.
2073 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2074 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2075
9fb1a21f
L
20762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2077
2078 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2079 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2080
4822a2a5
L
20812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2082
2083 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2084 thread pointer.
2085 (TLS_IE): Use mov/add instead of movq/addq to load thread
2086 pointer.
2087 (TLS_GD_PREFIX): New.
2088 (TLS_GD): Use it.
2089
842b81d6
DM
20902012-05-11 David S. Miller <davem@davemloft.net>
2091
2092 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2093 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2094 (_FPU_SETCW): Likewise.
2095
1cf463cd
L
20962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2097
2098 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2099 is 32-byte aligned.
2100
60cc4a18
AS
21012012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2102
2103 [BZ #11837]
2104 * iconvdata/gb18030.c: Update tables.
2105 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2106 characters specially.
2107 (BODY for TO_LOOP): Add encoding of missing ranges.
2108
febb44a4
TS
21092012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2110
2111 [BZ #13673]
2112 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2113 * sysdeps/mach/hurd/dup3.c: Likewise.
2114 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2115 * sysdeps/powerpc/memmove.c:: Likewise.
2116
0a10fb9e
L
21172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2118
2119 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2120 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2121
df8a552f
L
21222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2123
2124 * elf/elf.h (R_X86_64_RELATIVE64): New.
2125 (R_X86_64_NUM): Updated.
2126 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2127 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2128 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2129 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2130 tst-quad1pie tst-quad2pie
2131 (modules-names): Add tst-quadmod1 tst-quadmod2.
2132 ($(objpfx)tst-quad1): New dependency.
2133 ($(objpfx)tst-quad2): Likewise.
2134 ($(objpfx)tst-quad1pie): Likewise.
2135 ($(objpfx)tst-quad2pie): Likewise.
2136 * sysdeps/x86_64/tst-quad1.c: New file.
2137 * sysdeps/x86_64/tst-quad1pie.c: New file.
2138 * sysdeps/x86_64/tst-quad2.c: Likewise.
2139 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2140 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2141 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2142 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2143 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2144
f34d6f84
ST
21452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2146
f42d41d1
ST
2147 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2148 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2149 * streams/stropts.h (t_scalar_t): Define type.
2150
3c3571fc
ST
2151 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2152 (_PATH_PRESERVE): Set to "/var/lib".
2153 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2154
61f06bd3
ST
2155 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2156 instead of int.
2157
918d4d71
ST
2158 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2159 if __dir_mkfile succeeded.
2160
f34d6f84
ST
2161 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2162 checking for _hurd_dtablesize. Unlock it right after having
2163 finished _hurd_dtable allocation.
2164
10589b4a
TS
21652012-05-10 Thomas Schwinge <thomas@schwinge.name>
2166
674cdbc7
TS
2167 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2168 * sysdeps/mach/hurd/configure: Regenerated.
2169 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2170 special-casing to...
2171 * sysdeps/gnu/configure.in: ... this new file.
2172 * sysdeps/unix/sysv/linux/configure: Regenerated.
2173 * sysdeps/gnu/configure: New generated file.
2174
8e41b99f
TS
2175 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2176 for Linux: use nsec instead of usec, as well as:
2177 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2178 members of type struct timespec.
2179 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2180 New macros.
2181 (struct stat64): Likewise.
2182 (_STATBUF_ST_NSEC): New macro.
2183 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2184
10589b4a
TS
2185 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2186 __strtoul_internal rather than strtoul.
2187
63643c85
PT
21882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2189
2190 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2191 and reject them.
2192
3faebe6a
ST
21932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2194
2195 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2196 which preserves existing values.
2197 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2198
c6474b07
PT
21992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2200
2201 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2202 TIMEOUT values. Return EINVAL for NFDS values either negative or
2203 greater than FD_SETSIZE.
2204
1043890b
ST
22052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2206
2207 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2208 allocated, call __vm_protect to finish enabling the existing space, and
2209 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2210 allocate the remainder.
2211
37ed8b9b
PT
22122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2213
2214 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2215 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2216
db653660
ST
22172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2218
37ed8b9b
PT
2219 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2220 sysdeps/mach/hurd/readlink.c.
b29d4053 2221
db653660
ST
2222 * posix/tst-sysconf.c (posix_options): Only use
2223 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2224 _POSIX_SYNCHRONIZED_IO when they are defined
2225 * sysdeps/mach/hurd/bits/posix_opt.h:
2226 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2227 (_XOPEN_REALTIME): Undefine macro.
2228 (_XOPEN_REALTIME_THREADS): Undefine macro.
2229 (_XOPEN_SHM): Undefine macro.
2230 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2231 macro to -1.
2232 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2233 macro to -1.
2234 (_POSIX_ASYNC_IO): Undefine macro.
2235 (_POSIX_PRIORITIZED_IO): Undefine macro.
2236 (_POSIX_SPIN_LOCKS): Define macro to -1.
2237
ee16e894
ST
2238 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2239 SA_NODEFER, SA_RESETHAND.
2240 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2241 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2242 F_DUPFD_CLOEXEC.
2243
6103ae3b
TS
22442012-05-10 Thomas Schwinge <thomas@schwinge.name>
2245
2246 * elf/Makefile (pldd-modules): Define unconditionally.
2247
80b4e5f3
TS
22482012-05-10 Thomas Schwinge <thomas@schwinge.name>
2249
2250 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2251
edadcbd6
ST
22522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2253
2254 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2255 Return ENOENT when name is empty.
2256 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2257
80694780
TS
22582012-05-10 Thomas Schwinge <thomas@schwinge.name>
2259
1792c087
TS
2260 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2261
80694780
TS
2262 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2263
6b645f0d
ST
22642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2265
80694780
TS
2266 Fix mlock in all cases except non-readable pages.
2267 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2268 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2269
6b645f0d
ST
2270 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2271 (__mkdir): When path is `/', just fail with EEXIST.
2272 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2273
e468f8a3
TS
22742012-05-10 Thomas Schwinge <thomas@schwinge.name>
2275
2276 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2277 <sys/uio.h> (for writev).
2278 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2279 and <sys/param.h> (for MIN).
2280
a4186cff
PT
22812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2282
2283 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2284 REQUESTED_TIME. Properly set the remaining time and return EINTR
2285 if interrupted.
2286
510bbf14
TS
22872012-05-10 Thomas Schwinge <thomas@schwinge.name>
2288
2289 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2290 Depend on against $(link-rpcuserlibs).
2291
5d5722e8
ST
22922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2293
a4186cff
PT
2294 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2295 (__libc_stack_end): Do not use attribute_relro.
2296 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2297 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2298 to libthread-provided value.
a4186cff
PT
2299 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2300 attribute_relro.
5d5722e8 2301
37233df9
TS
23022012-05-10 Thomas Schwinge <thomas@schwinge.name>
2303
be971a2b
TS
2304 [BZ #3748]
2305 * bits/libc-lock.h (__libc_once_get): New macro.
2306 * sysdeps/mach/bits/libc-lock.h: Likewise.
2307 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2308 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2309 instead of using implementation details.
2310
37233df9
TS
2311 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2312 * libio/freopen.c: Likewise.
2313 * libio/freopen64.c: Likewise.
2314 * misc/syslog.c: Likewise.
2315 * nscd/connections.c: Likewise.
2316 * nscd/netgroupcache.c: Likewise.
2317 * sysdeps/posix/getcwd.c: Likewise.
2318
38de94a5
RM
23192012-05-10 Roland McGrath <roland@hack.frob.com>
2320
2321 * math/w_ilogbf.c: Add #include <limits.h>.
2322
67530489
ST
23232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2324
a4186cff 2325 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2326 path instead of returning without unlocking.
2327
67530489
ST
2328 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2329 immediate-write ioctls.
2330 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2331
5aa3a74a
TS
23322012-05-10 Thomas Schwinge <thomas@schwinge.name>
2333
18bad2ae
TS
2334 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2335 __builtin_frame_address instead of making assumptions about the
2336 location of the return address relative to DATA. Force early load of
2337 the return address.
2338 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2339 __builtin_frame_address.
2340
5aa3a74a
TS
2341 dup3 for GNU Hurd.
2342 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2343 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2344 implement dup3 and do some further code clean-ups.
2345 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2346 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2347
ecd0de9a
ST
23482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2349
cd9fa985
ST
2350 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2351
a4186cff
PT
2352 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2353 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2354 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2355 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2356 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2357 d->port.lock.
802ca5a5 2358
a4186cff
PT
2359 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2360 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2361 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2362
bcf55240
TS
23632012-05-10 Thomas Schwinge <thomas@schwinge.name>
2364
6960eb42
TS
2365 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2366 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2367 definitions.
2368
eb43375f
TS
2369 accept4 for GNU Hurd.
2370 * include/sys/socket.h (__libc_accept4): New prototype.
2371 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2372 to implement __libc_accept4.
2373 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2374 __libc_accept4.
2375 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2376
bcf55240
TS
2377 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2378 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2379 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2380 signal-defines.sym.
2381
6178c55b
ST
23822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2383
a4186cff 2384 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2385
6f080c2f
TS
23862012-05-10 Thomas Schwinge <thomas@schwinge.name>
2387
2388 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2389 assertion on O_CLOEXEC flag.
2390 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2391 * hurd/intern-fd.c: Likewise.
2392 * hurd/port2fd.c: Likewise.
2393
bcfe3a54
ST
23942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2395
2396 [BZ #3906]
2397 * bits/in.h (IPV6_PKTINFO): Define new macro.
2398 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2399
89c9aa49
AZ
24002012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2401
2402 [BZ #13954]
2403 [BZ #13955]
2404 [BZ #13956]
2405 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2406 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2407 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2408 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2409 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2410 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2411 * math/libm-test.inc (logb_test) : Additional logb tests.
2412
021db4be
AJ
24132012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2414 Andreas Jaeger <aj@suse.de>
2415
2416 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2417 * configure: Regenerated.
2418 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2419 * config.make.in (link-obsolete-rpc): New substituted variable.
2420 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2421 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2422 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2423 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2424 so that libc.a contains the symbols.
2425 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2426 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2427 * sunrpc/auth_none.c: Likewise.
2428 * sunrpc/auth_unix.c: Likewise.
2429 * sunrpc/authdes_prot.c: Likewise.
2430 * sunrpc/authuxprot.c: Likewise.
2431 * sunrpc/clnt_gen.c: Likewise.
2432 * sunrpc/clnt_perr.c: Likewise.
2433 * sunrpc/clnt_raw.c: Likewise.
2434 * sunrpc/clnt_simp.c: Likewise.
2435 * sunrpc/clnt_tcp.c: Likewise.
2436 * sunrpc/clnt_udp.c: Likewise.
2437 * sunrpc/clnt_unix.c: Likewise.
2438 * sunrpc/des_crypt.c: Likewise.
2439 * sunrpc/des_soft.c: Likewise.
2440 * sunrpc/get_myaddr.c: Likewise.
2441 * sunrpc/key_call.c: Likewise.
2442 * sunrpc/key_prot.c: Likewise.
2443 * sunrpc/netname.c: Likewise.
2444 * sunrpc/pm_getmaps.c: Likewise.
2445 * sunrpc/pm_getport.c: Likewise.
2446 * sunrpc/pmap_clnt.c: Likewise.
2447 * sunrpc/pmap_prot.c: Likewise.
2448 * sunrpc/pmap_prot2.c: Likewise.
2449 * sunrpc/pmap_rmt.c: Likewise.
2450 * sunrpc/publickey.c: Likewise.
2451 * sunrpc/rpc_cmsg.c: Likewise.
2452 * sunrpc/rpc_common.c: Likewise.
2453 * sunrpc/rpc_dtable.c: Likewise.
2454 * sunrpc/rpc_prot.c: Likewise.
2455 * sunrpc/rpc_thread.c: Likewise.
2456 * sunrpc/rtime.c: Likewise.
2457 * sunrpc/svc.c: Likewise.
2458 * sunrpc/svc_auth.c: Likewise.
2459 * sunrpc/svc_raw.c: Likewise.
2460 * sunrpc/svc_run.c: Likewise.
2461 * sunrpc/svc_tcp.c: Likewise.
2462 * sunrpc/svc_udp.c: Likewise.
2463 * sunrpc/svc_unix.c: Likewise.
2464 * sunrpc/svcauth_des.c: Likewise.
2465 * sunrpc/xcrypt.c: Likewise.
2466 * sunrpc/xdr.c: Likewise.
2467 * sunrpc/xdr_array.c: Likewise.
2468 * sunrpc/xdr_float.c: Likewise.
2469 * sunrpc/xdr_intXX_t.c: Likewise.
2470 * sunrpc/xdr_mem.c: Likewise.
2471 * sunrpc/xdr_rec.c: Likewise.
2472 * sunrpc/xdr_ref.c: Likewise.
2473 * sunrpc/xdr_sizeof.c: Likewise.
2474 * sunrpc/xdr_stdio.c: Likewise.
2475
b5c086a2
RM
24762012-05-10 Roland McGrath <roland@hack.frob.com>
2477
2478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2479 change. Update copyright years.
2480
6d74dd09
JM
24812012-05-10 Joseph Myers <joseph@codesourcery.com>
2482
2483 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2484
28e72501
MK
24852012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2486 Joseph Myers <joseph@codesourcery.com>
2487 Paul Pluzhnikov <ppluzhnikov@google.com>
2488
2489 [BZ #14012]
2490 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2491 requiring rpcgen.
2492 [cross-compiling] (extra-libs): Likewise.
2493 [cross-compiling] (extra-libs-others): Likewise.
2494 [cross-compiling] (librpcsvc-routines): Likewise.
2495 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2496 [cross-compiling] (omit-deps): Likewise.
2497 (sunrpc-CPPFLAGS): New variable.
2498 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2499 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2500 (cross-rpcgen-objs): New variable.
2501 (extra-objs): Append $(cross-rpcgen-objs).
2502 ($(cross-rpcgen-objs)): New rule.
2503 ($(objpfx)cross-rpcgen): Likewise.
2504 (rpcgen-cmd): Define to use $(built-program-file). Expand
2505 comment.
2506 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2507 ($(objpfx)x%.stmp): Likewise.
2508 * sunrpc/proto.h [IS_IN_build] (_): Define.
2509 [IS_IN_build] (_libc_intl_domainname): Likewise.
2510
c8c59454
L
25112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2512
2513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2514 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2515 and R_X86_64_TPOFF64.
2516
6f27cd16
JM
25172012-05-10 Joseph Myers <joseph@codesourcery.com>
2518
2519 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2520 sysdeps/unix/sysv/syscalls.list.
2521 (stime): Likewise.
2522 (utime): Likewise.
2523 * sysdeps/unix/sysv/syscalls.list: Remove file.
2524
02467e1c
PE
25252012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2526
2527 [BZ #3440]
2528 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2529 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2530 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2531 (__LC_IDENTIFICATION): Make these macros useful in #if
2532 expressions, as required by C99.
2533
da392631
AS
25342012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2535
2536 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2537 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2538 after this.
2539
8115f29b
L
25402012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2541
2542 * stdlib/longlong.h: Updated from GCC.
2543
bdd74070
AJ
25442012-05-09 Andreas Jaeger <aj@suse.de>
2545
edfe0dbe
AJ
2546 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2547 default is first entry.
2548 (run_mode): Set type.
2549 (main): Remove informal message about syslog.
2550 (options): Fix typo.
2551
bcfe3a54
ST
2552 [BZ #14053]
2553 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2554 to asm.
bcfe3a54
ST
2555 (lrint): Likewise.
2556 (llrintf): Likewise.
2557 (llrint): Likewise.
2558 (rint): Likewise.
2559 (rintf): Likewise.
2560 (nearbyint): Likewise.
2561 (nearbyintf): Likewise.
bdd74070 2562
91d8d69e
AJ
25632012-05-09 Andreas Jaeger <aj@suse.de>
2564 Pedro Alves <palves@redhat.com>
2565
2566 * nscd/nscd.c (run_mode): Use enum.
2567 (main): Cleanup coding style issue.
2568
bb90b80b
AJ
25692012-05-09 Alexandre Oliva <aoliva@redhat.com>
2570 Andreas Jaeger <aj@suse.de>
2571
bcfe3a54
ST
2572 * nscd/nscd.c (go_background): Replaced with...
2573 (run_mode): ... this.
bb90b80b 2574 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2575 (options): Add -F --foreground.
2576 (main): Implement it.
2577 (parse_opt): Parse it.
bb90b80b 2578
1a4b75a1
AJ
25792012-05-09 Andreas Jaeger <aj@suse.de>
2580
2581 [BZ #14083]
2582 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2583 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2584 -Wconversion warning.
2585 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2586 Likewise.
2587
b1cc2472
JM
25882012-05-09 Joseph Myers <joseph@codesourcery.com>
2589
2590 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2591 == 0.
2592 (LC_ALL): Use macro-int-constant.
2593 (LC_COLLATE): Likewise.
2594 (LC_CTYPE): Likewise.
2595 (LC_MESSAGES): Likewise.
2596 (LC_MONETARY): Likewise.
2597 (LC_NUMERIC): Likewise.
2598 (LC_TIME): Likewise.
2599 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2600 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2601 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2602 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2603 Specify type.
2604 [C99-based standards] (float_t): Expect type.
2605 [C99-based standards] (double_t): Expect type.
2606 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2607 type.
2608 [C99-based standards] (HUGE_VALL): Likewise.
2609 [C99-based standards] (INFINITY): Likewise.
2610 [C99-based standards] (NAN): Likewise.
2611 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2612 [C99-based standards] (FP_NAN): Likewise.
2613 [C99-based standards] (FP_NORMAL): Likewise.
2614 [C99-based standards] (FP_SUBNORMAL): Likewise.
2615 [C99-based standards] (FP_ZERO): Likewise.
2616 [C99-based standards] (FP_FAST_FMA): Use
2617 optional-macro-int-constant. Specify type. Require == 1.
2618 [C99-based standards] (FP_FAST_FMAF): Likewise.
2619 [C99-based standards] (FP_FAST_FMAL): Likewise.
2620 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2621 [C99-based standards] (FP_ILOGBNAN): Likewise.
2622 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2623 Specify type.
2624 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2625 [C99-based standards] (math_errhandling): Specify type.
2626 [ISO99 || ISO11] (signgam): Do not allow.
2627 [non-C99-based standards] (copysignf): Do not allow.
2628 [non-C99-based standards] (exp2f): Likewise.
2629 [non-C99-based standards] (log2f): Likewise.
2630 [non-C99-based standards] (modff): Allow.
2631 [non-C99-based standards] (erff): Do not allow.
2632 [non-C99-based standards] (erfcf): Likewise.
2633 [non-C99-based standards] (gammaf): Likewise.
2634 [non-C99-based standards] (hypotf): Likewise.
2635 [non-C99-based standards] (j0f): Likewise.
2636 [non-C99-based standards] (j1f): Likewise.
2637 [non-C99-based standards] (jnf): Likewise.
2638 [non-C99-based standards] (lgammaf): Likewise.
2639 [non-C99-based standards] (tgammaf): Likewise.
2640 [non-C99-based standards] (y0f): Likewise.
2641 [non-C99-based standards] (y1f): Likewise.
2642 [non-C99-based standards] (ynf): Likewise.
2643 [non-C99-based standards] (isnanf): Likewise.
2644 [non-C99-based standards] (acoshf): Likewise.
2645 [non-C99-based standards] (asinhf): Likewise.
2646 [non-C99-based standards] (atanhf): Likewise.
2647 [non-C99-based standards] (cbrtf): Likewise.
2648 [non-C99-based standards] (expm1f): Likewise.
2649 [non-C99-based standards] (ilogbf): Likewise.
2650 [non-C99-based standards] (log1pf): Likewise.
2651 [non-C99-based standards] (logbf): Likewise.
2652 [non-C99-based standards] (nextafterf): Likewise.
2653 [non-C99-based standards] (remainderf): Likewise.
2654 [non-C99-based standards] (rintf): Likewise.
2655 [non-C99-based standards] (scalbf): Likewise.
2656 [non-C99-based standards] (copysignl): Likewise.
2657 [non-C99-based standards] (exp2l): Likewise.
2658 [non-C99-based standards] (log2l): Likewise.
2659 [non-C99-based standards] (modfl): Allow.
2660 [non-C99-based standards] (erfl): Do not allow.
2661 [non-C99-based standards] (erfcl): Likewise.
2662 [non-C99-based standards] (gammal): Likewise.
2663 [non-C99-based standards] (hypotl): Likewise.
2664 [non-C99-based standards] (j0l): Likewise.
2665 [non-C99-based standards] (j1l): Likewise.
2666 [non-C99-based standards] (jnl): Likewise.
2667 [non-C99-based standards] (lgammal): Likewise.
2668 [non-C99-based standards] (tgammal): Likewise.
2669 [non-C99-based standards] (y0l): Likewise.
2670 [non-C99-based standards] (y1l): Likewise.
2671 [non-C99-based standards] (ynl): Likewise.
2672 [non-C99-based standards] (isnanl): Likewise.
2673 [non-C99-based standards] (acoshl): Likewise.
2674 [non-C99-based standards] (asinhl): Likewise.
2675 [non-C99-based standards] (atanhl): Likewise.
2676 [non-C99-based standards] (cbrtl): Likewise.
2677 [non-C99-based standards] (expm1l): Likewise.
2678 [non-C99-based standards] (ilogbl): Likewise.
2679 [non-C99-based standards] (log1pl): Likewise.
2680 [non-C99-based standards] (logbl): Likewise.
2681 [non-C99-based standards] (nextafterl): Likewise.
2682 [non-C99-based standards] (remainderl): Likewise.
2683 [non-C99-based standards] (rintl): Likewise.
2684 [non-C99-based standards] (scalbl): Likewise.
2685 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2686 [non-C99-based standards] (FP_*): Do not allow.
2687 [C99-based standards] (FP_*): Change to
2688 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2689 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2690 allow.
2691 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2692 (SIG_ERR): Likewise.
2693 [X/Open-based standards] (SIG_HOLD): Likewise.
2694 (SIG_IGN): Likewise.
2695 (SIGABRT): Use macro-int-constant. Specify type. Require
2696 positive value.
2697 (SIGFPE): Likewise.
2698 (SIGILL): Likewise.
2699 (SIGINT): Likewise.
2700 (SIGSEGV): Likewise.
2701 (SIGTER): Likewise.
2702 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2703 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2704 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2705 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2706 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2707 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2708 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2709 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2710 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2711 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2712 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2713 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2714 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2715 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2716 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2717 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2718 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2719 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2720 [X/Open-based standards] (SIGTRAP): Likewise.
2721 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2722 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2723 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2724 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2725 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2726 allow.
2727
b9f1922d
IW
27282012-05-08 Ian Wienand <ianw@vmware.com>
2729
2730 [BZ #14080]
2731 * time/tzset.c (__tzset_parse_tz): Update default rules for
2732 daylight time changes in the Energy Policy Act of 2005.
2733
1db86e88
AJ
27342012-05-09 Andreas Jaeger <aj@suse.de>
2735
2736 [BZ #13983]
2737 * elf/ldconfig.c (parse_conf): Change string to make clear that
2738 ldconfig only issued a warning if ld.so.conf does not exist.
2739
dee4a4e3
DM
27402012-05-08 David S. Miller <davem@davemloft.net>
2741
ee0db190
DM
2742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2743 movxtod instead of popping the value on the stack.
2744
dee4a4e3
DM
2745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2746
6a43ec98
CD
27472012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2748
2749 * config.h.in: Add HAVE_ARM_PCS_VFP.
2750
05c2c961
RMG
27512012-05-08 Roland Mc Grath <roland@hack.frob.com>
2752
bcfe3a54
ST
2753 [BZ #13979]
2754 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2755 checking but the checks are disabled for any reason.
05c2c961 2756
4b30f61a
L
27572012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2758
2759 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2760 and ELF64_R_TYPE with ELFW(R_TYPE).
2761
eee2bc67
JM
27622012-05-08 Joseph Myers <joseph@codesourcery.com>
2763
7ea5391a
JM
2764 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2765 (ulimit): Likewise.
2766
eee2bc67
JM
2767 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2768 (settimeofday): Likewise.
2769
abb66a67
MF
27702012-05-08 Mike Frysinger <vapier@gentoo.org>
2771
2772 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2773 a struct th_u2 inside the union, and move tu_block/tu_code into
2774 a new th_u3 union of tu_block/tu_code inside of that. Move
2775 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2776 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2777 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2778 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2779 (th_stuff): Change to th_u1.tu_stuff.
2780 (th_data): Define.
2781 (th_msg): Change to th_u1.th_u2.tu_data.
2782
7f18b530
DM
27832012-05-07 David S. Miller <davem@davemloft.net>
2784
05760585
DM
2785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2786
7f18b530
DM
2787 [BZ #14074]
2788 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2789 (SETUP_PIC_REG): Use it.
2790 (SETUP_PIC_REG_LEAF): Use it.
2791
495fd99f
JM
27922012-05-07 Joseph Myers <joseph@codesourcery.com>
2793
2794 [BZ #13885]
2795 [BZ #13923]
2796 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2797 USE_AS_EXPM1L.
2798 (EXPL_FINITE): Likewise.
2799 (FLDLOG): Likewise.
2800 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2801 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2802 e_expl.S.
2803 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2804 USE_AS_EXPM1L.
2805 (EXPL_FINITE): Likewise.
2806 (FLDLOG): Likewise.
2807 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2808 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2809 e_expl.S.
2810 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2811 test of -max_value argument for long double.
2812 * sysdeps/i386/fpu/libm-test-ulps: Update.
2813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2814
6693d694
DM
28152012-05-06 David S. Miller <davem@davemloft.net>
2816
2817 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2818 quad soft-float symbols whose references which are compiler
2819 generated.
2820 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2821
6c23e11c
JM
28222012-05-06 Joseph Myers <joseph@codesourcery.com>
2823
d8b82cad
JM
2824 [BZ #13884]
2825 [BZ #13914]
2826 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2827 USE_AS_EXP10L.
2828 (EXPL_FINITE): Likewise.
2829 (FLDLOG): Likewise.
2830 (c0): Likewise.
2831 (c1): Likewise.
2832 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2833 Adjust comments for base varying.
2834 (__expl_finite): Change alias to EXPL_FINITE.
2835 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2836 e_expl.S.
2837 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2838 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2840 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2841 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2842 USE_AS_EXP10L.
2843 (EXPL_FINITE): Likewise.
2844 (FLDLOG): Likewise.
2845 (c0): Likewise.
2846 (c1): Likewise.
2847 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2848 Adjust comments for base varying.
2849 (__expl_finite): Change alias to EXPL_FINITE.
2850 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2851 tests for bugs.
2852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2853
6c23e11c
JM
2854 [BZ #14064]
2855 * math/libm-test.inc (check_float_internal): Correct ulp
2856 calculation for subnormal expected results.
2857
29ba805c
AJ
28582012-05-06 Andreas Jaeger <aj@suse.de>
2859
2860 * Makeconfig (+math-flags): New, set to -frounding-math.
2861 (+cflags): Add +math-flags so that all of glibc gets compiled with
2862 it.
2863
2864 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2865
7b17aeda
JM
28662012-05-05 Joseph Myers <joseph@codesourcery.com>
2867
5779f134
JM
2868 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2869 Disable one test.
2870
41498f4d
JM
2871 [BZ #13787]
2872 [BZ #13922]
2873 [BZ #14036]
2874 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2875 (__ieee754_expl): Allow for and saturate large arguments.
2876 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2877 (u_threshold): Likewise.
2878 (__exp): Call __ieee754_exp before checking for overflow and
2879 underflow.
2880 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2881 (u_threshold): Likewise.
2882 (__expf): Call __ieee754_expf before checking for overflow and
2883 underflow.
2884 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2885 (u_threshold): Likewise.
2886 (__expl): Call __ieee754_expl before checking for overflow and
2887 underflow.
2888 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2889 (__ieee754_expl): Allow for and saturate large arguments.
2890 * math/libm-test.inc (exp_test): Add another test. Do not allow
2891 missing overflow exception on overflow.
2892 (expm1_test): Do not allow missing overflow exception on overflow.
2893
6698b8bf
JM
2894 * sysdeps/i386/fpu/e_expl.c: Move to ...
2895 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2896 rather than using inline asm.
2897 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2898 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2899 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2900
7b17aeda
JM
2901 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2902 (nice): Likewise.
2903 (poll): Likewise.
2904 (signal): Likewise.
2905 (time): Likewise.
2906 (times): Likewise.
2907
f7c85819
JM
29082012-05-04 Joseph Myers <joseph@codesourcery.com>
2909
2910 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2911 sysdeps/unix/common/syscalls.list.
2912 (fchmod): Likewise.
2913 (fchown): Likewise.
2914 (ftruncate): Likewise.
2915 (getrusage): Likewise.
2916 (gettimeofday): Likewise.
2917 (setpgid): Likewise.
2918 (setregid): Likewise.
2919 (setreuid): Likewise.
2920 (sigaction): Likewise.
2921 (truncate): Likewise.
2922 (vhangup): Likewise.
2923 * sysdeps/unix/common/syscalls.list: Remove file.
2924 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2925 * sysdeps/unix/sysv/linux/Implies: Likewise.
2926
336270d0
L
29272012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2928
2929 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2931 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2932 Moved to ...
2933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2934 Here.
2935 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2936 to ...
2937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2938 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2939 to ...
2940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2941 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2942 to ...
2943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2944 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2945 to ...
2946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2947 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2948 to ...
2949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2950 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2951 to ...
2952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2953 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2954 to ...
2955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2956 Here.
2957 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2958 to ...
2959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2960 Here.
2961 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2962 to ...
2963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2964 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2965 Moved to ...
2966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2967 Here.
2968 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2969 to ...
2970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2971
d128e450
JM
29722012-05-04 Joseph Myers <joseph@codesourcery.com>
2973
fa8ee516
JM
2974 * sysdeps/unix/common/bits/dirent.h: Remove file.
2975 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2976
d128e450
JM
2977 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2978 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2979 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2980 * sysdeps/unix/bsd/isatty.c: Likewise.
2981 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2982 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2983 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2984
ff8faaf0 29852012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2986
62881be4 2987 [BZ #13563]
31dc8730
AZ
2988 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2989 long double comparison inaccuracies.
2990 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2992
6fef930c
AS
29932012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2994
2995 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2996 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2997
8f203e6c
JM
29982012-05-04 Joseph Myers <joseph@codesourcery.com>
2999
3000 [BZ #14049]
3001 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3002 nonzero digits before rounding a hex value.
3003 * stdlib/tst-strtod.c (tests): Add another test.
3004
5197d9c2
AK
30052012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3006
3007 * sysdeps/s390/fpu/libm-test-ulps: Update.
3008
f0c1dedf
AJ
30092012-05-03 Andreas Jaeger <aj@suse.de>
3010
3011 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3012 does not get optimized out.
3013 (malloc_opt_barrier): New.
3014
a65ef2ae 30152012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3016 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3017
2b942cb7 3018 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3019 intermediate file deletion.
2b942cb7 3020 (generated): Add .symlist files.
a65ef2ae 3021
54b71e02
JM
30222012-05-03 Joseph Myers <joseph@codesourcery.com>
3023
3024 [BZ #13775]
3025 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3026 Redirect under this condition.
3027 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3028 [__USE_GNU] (__dprintf_chk): Not under this condition.
3029 [__USE_GNU] (__vdprintf_chk): Likewise.
3030 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3031 under this condition.
3032 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3033 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3034 [__USE_XOPEN2K8] (vdprintf): Likewise.
3035 [__USE_GNU] (__dprintf_chk): Not under this condition.
3036 [__USE_GNU] (__vdprintf_chk): Likewise.
3037 [__USE_GNU] (dprintf): Likewise.
3038 [__USE_GNU] (vdprintf): Likewise.
3039
d3dfcc41
RM
30402012-05-03 Roland McGrath <roland@hack.frob.com>
3041
3042 * elf/Makefile (common-generated): Set this instead of generated for
3043 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3044 $(all-built-dso)-derived lists.
3045
7ac30cc5
AJ
30462012-05-03 Andreas Jaeger <aj@suse.de>
3047
0c51e550
AJ
3048 * sysdeps/i386/fpu/libm-test-ulps: Update.
3049
7ac30cc5
AJ
3050 * FAQ: Removed.
3051 * FAQ.in: Likewise.
3052 * scripts/gen-FAQ.pl: Likewise.
3053 * manual/install.texi (Installation): Point to online location of
3054 FAQ.
3055 * Makefile (files-for-dist): Remove FAQ.
3056 (FAQ): Remove.
3057
d4c2917f
AM
30582012-05-02 Allan McRae <allan@archlinux.org>
3059
3060 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3061 (LDFLAGS-reldepmod5.so): Likewise.
3062 (LDFLAGS-reldep6mod1.so): Likewise.
3063 (LDFLAGS-reldep6mod4.so): Likewise.
3064 (LDFLAGS-reldep8mod3.so): Likewise.
3065 (LDFLAGS-unload4mod1.so): Likewise.
3066 (LDFLAGS-unload4mod2.so): Likewise.
3067 (LDFLAGS-tst-initorder): Likewise.
3068 (LDFLAGS-tst-initordera2.so): Likewise.
3069 (LDFLAGS-tst-initordera3.so): Likewise.
3070 (LDFLAGS-tst-initordera4.so): Likewise.
3071 (LDFLAGS-tst-initorderb2.so): Likewise.
3072 (LDFLAGS-noload): Likewise.
3073 (LDFLAGS-next): Likewise.
3074 (LDFLAGS-order2mod1.so): Likewise.
3075 (LDFLAGS-order2mod2.so): Likewise.
3076 (LDFLAGS-tst-initorder2): Likewise.
3077 (LDFLAGS-tst-initorder2a.so): Likewise.
3078 (LDFLAGS-tst-initorder2b.so): Likewise.
3079 (LDFLAGS-tst-initorder2c.so): Likewise.
3080 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3081
d77f993f
DM
30822012-05-02 David S. Miller <davem@davemloft.net>
3083
3084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3085
171a70b4
PP
30862012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3087
3088 [BZ #14055]
3089 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3090
0be196ad
AJ
30912012-05-02 Andreas Jaeger <aj@suse.de>
3092
3093 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3094 since we manipulate rounding mode.
3095 (CPPFLAGS-test-idouble.c): Likewise.
3096 (CPPFLAGS-test-ifloat.c): Likewise.
3097 (CFLAGS-test-ldouble.c): Likewise.
3098 (CFLAGS-test-double.c): Likewise.
3099 (CFLAGS-test-float.c): Likewise.
3100 (CFLAGS-test-misc.c): Likewise.
3101 (CFLAGS-test-test-fenv.c): Likewise.
3102
4f9d04aa
AZ
31032012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3104
2b942cb7
RM
3105 [BZ #2550]
3106 [BZ #2570]
3107 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3108 comparisons to determine direction to adjust input.
4f9d04aa 3109
82a79e7d
RM
31102012-05-01 Roland McGrath <roland@hack.frob.com>
3111
f5a01ca9
RM
3112 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3113 output to the target.
3114
90fe4186
RM
3115 * scripts/localplt.awk: New file.
3116 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3117 (check-localplt-CFLAGS): Variable removed.
3118 ($(all-built-dso:=.jmprel)): New static pattern rule.
3119 (generated): Add those targets.
3120 (localplt-built-dso): New variable.
3121 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3122
3123 * elf/check-localplt.c: File removed.
3124
82397ed6
RM
3125 * scripts/check-execstack.awk: New file.
3126 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3127 (check-execstack-CFLAGS): Variable removed.
3128 ($(objpfx)check-execstack.h): Target removed.
3129 ($(objpfx)execstack-default): New target.
3130 (generated): Add that instead of check-execstack.h.
3131 ($(all-built-dso:=.phdr)): New static pattern rule.
3132 (generated): Add those targets.
3133 * elf/check-execstack.c: File removed.
3134
82a79e7d
RM
3135 * scripts/check-textrel.awk: New file.
3136 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3137 (check-textrel-CFLAGS): Variable removed.
3138 (all-built-dso): Use := to define.o
3139 ($(all-built-dso:=.dyn)): New static pattern rule.
3140 (generated): Add those targets.
3141 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3142 * config.make.in (READELF): New substituted variable.
3143 * elf/check-textrel.c: File removed.
3144
62fde54f 31452012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3146
615605c9
JM
3147 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3148 allow.
3149 * conform/data/ctype.h-data [C99-based standards] (isblank):
3150 Expect function.
3151 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3152 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3153 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3154 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3155 Specify type. Require positive value.
3156 (EILSEQ): Likewise.
3157 (ERANGE): Likewise.
3158 [ISO || POSIX] (EILSEQ): Do not expect.
3159 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3160 Specify type. Require positive value.
3161 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3162 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3163 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3164 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3165 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3166 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3167 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3168 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3169 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3170 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3171 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3172 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3173 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3174 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3175 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3176 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3177 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3178 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3179 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3180 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3181 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3182 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3183 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3184 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3185 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3186 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3187 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3188 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3189 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3190 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3191 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3192 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3193 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3194 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3195 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3196 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3197 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3198 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3199 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3200 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3201 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3202 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3203 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3204 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3205 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3206 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3207 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3208 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3209 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3210 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3211 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3212 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3213 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3214 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3215 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3216 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3217 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3218 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3219 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3220 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3221 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3222 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3223 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3224 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3225 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3226 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3227 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3228 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3229 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3230 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3231 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3232 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3233 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3234 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3235 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3236 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3237 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3238 Require >= 2.
3239 (FLT_ROUNDS): Expect as macro, not constant.
3240 (FLT_MANT_DIG): Use macro-int-constant.
3241 (DBL_MANT_DIG): Likewise.
3242 (LDBL_MANT_DIG): Likewise.
3243 (FLT_DIG): Likewise.
3244 (DBL_DIG): Likewise.
3245 (LDBL_DIG): Likewise.
3246 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3247 (DBL_MIN_EXP): Likewise.
3248 (LDBL_MIN_EXP): Likewise.
3249 (FLT_MAX_EXP): Use macro-int-constant.
3250 (DBL_MAX_EXP): Likewise.
3251 (LDBL_MAX_EXP): Likewise.
3252 (FLT_MAX_10_EXP): Likewise.
3253 (DBL_MAX_10_EXP): Likewise.
3254 (LDBL_MAX_10_EXP): Likewise.
3255 (FLT_MAX): Use macro-constant.
3256 (DBL_MAX): Likewise.
3257 (LDBL_MAX): Likewise.
3258 (FLT_EPSILON): Use macro-constant. Give upper bound.
3259 (DBL_EPSILON): Likewise.
3260 (LDBL_EPSILON): Likewise.
3261 (FLT_MIN): Likewise.
3262 (DBL_MIN): Likewise.
3263 (LDBL_MIN): Likewise.
3264 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3265 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3266 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3267 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3268 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3269 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3270 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3271 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3272 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3273 [ISO11] (FLT_TRUE_MIN): Likewise.
3274 [ISO11] (LDBL_TRUE_MIN): Likewise.
3275 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3276 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3277 (SCHAR_MIN): Use macro-int-constant. Specify type.
3278 (SCHAR_MAX): Likewise.
3279 (UCHAR_MAX): Likewise.
3280 (CHAR_MIN): Likewise.
3281 (CHAR_MAX): Likewise.
3282 (MB_LEN_MAX): Use macro-int-constant.
3283 (SHRT_MIN): Use macro-int-constant. Specify type.
3284 (SHRT_MAX): Likewise.
3285 (USHRT_MAX): Likewise.
3286 (INT_MAX): Likewise.
3287 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3288 bound negative.
3289 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3290 bound with "U".
3291 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3292 bound with "L".
3293 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3294 bound negative. Suffix upper bound with "L".
3295 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3296 bound with "UL".
3297 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3298 Specify type.
3299 [C99-based standards] (LLONG_MAX): Likewise.
3300 [C99-based standards] (ULLONG_MAX): Likewise.
3301 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3302 == 0.
3303 [ISO11] (max_align_t): Require type.
3304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3305
c9140a62
JM
3306 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3307 from $CFLAGS, without defining away __attribute__ calls.
3308 (checknamespace): Use $CFLAGS_namespace.
3309
9af0bf29
JM
3310 * conform/conformtest.pl (@keywords): Only include C99 keywords
3311 for standards based on C99 or C11.
3312
343222a2
JM
3313 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3314 Disable tests.
3315 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3316 UNIX98]: Likewise.
3317
661f8cf0
JM
3318 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3319 usability of symbols in #if.
3320
ee74b9cb
JM
3321 * conform/conformtest.pl: If macro or constant types start
3322 "promoted:", expect the symbol to be of the following type
3323 promoted by the integer promotions.
62fde54f 3324
aafc49b3
JM
3325 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3326 in one place. Also handle "macro-constant".
3327
fefdf574
JM
3328 * conform/conformtest.pl: Only accept expected macro values with
3329 "==". Parse all "macro" lines in one place.
3330 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3331
f2d922fe
JM
3332 * conform/conformtest.pl: Handle braced types on "constant" lines
3333 instead of handling "typed-constant".
3334 * conform/data/signal.h-data: Use "constant" instead of
3335 "typed-constant".
3336
d22956c9
JM
3337 * conform/conformtest.pl: Handle "optional-" at start of lines in
3338 one place rather than duplicating several cases. Handle each
3339 format of "macro" line with initial "optional-".
3340
028e2e38
JM
3341 * conform/conformtest.pl: Only accept expected constant or
3342 optional-constant values with "==". Parse all "constant" lines in
3343 one place. Parse all "optional-constant" lines in one place.
3344 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3345 * conform/data/fmtmsg.h-data: Likewise.
3346 * conform/data/netinet/in.h-data: Likewise.
3347 * conform/data/tar.h-data: Likewise.
3348 * conform/data/limits.h-data: Use "==" form on "constant" and
3349 "optional-constant" lines.
3350
1b8f2850
JM
3351 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3352 Use -std=c99 for XOPEN2K.
3353 (@knownproblems): Remove.
3354 (newtoken): Don't check %isknown.
3355
a05a144b
JM
3356 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3357 Do not expect macro.
3358 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3359 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3360 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3361 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3362 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3363 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3364 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3365 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3366 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3367 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3368 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3369 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3370 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3371 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3372 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3373 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3374 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3375 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3376 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3377 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3378 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3379 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3380 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3381 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3382 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3383 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3384 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3385 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3386 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3387 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3388 [XPG3] (acosh): Likewise.
3389 [XPG3] (asinh): Likewise.
3390 [XPG3] (atanh): Likewise.
3391 [XPG3] (cbrt): Likewise.
3392 [XPG3] (expm1): Likewise.
3393 [XPG3] (ilogb): Likewise.
3394 [XPG3] (log1p): Likewise.
3395 [XPG3] (logb): Likewise.
3396 [XPG3] (nextafter): Likewise.
3397 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3398 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3399 [XPG3] (remainder): Likewise.
3400 [XPG3] (rint): Likewise.
3401 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3402 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3403 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3404 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3405 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3406 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3407 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3408 [UNIX98 || XOPEN2K] (scalb): Expect.
3409 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3410 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3411 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3412 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3413 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3414 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3415 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3416 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3417 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3418 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3419 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3420 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3421 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3422 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3423 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3424 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3425 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3426 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3427 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3428 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3429 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3430 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3431 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3432 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3433 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3434 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3435 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3436 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3437 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3438 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3439 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3440 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3441 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3442 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3443 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3444 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3445 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3446 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3447 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3448 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3449 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3450 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3451 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3452 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3453 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3454 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3455 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3456 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3457 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3458 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3459 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3460 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3461 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3462 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3463 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3464 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3465 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3466 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3467 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3468 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3469 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3470 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3471 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3472 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3473 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3474 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3475 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3476 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3477 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3478 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3479 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3480 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3481 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3482 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3483 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3484 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3485 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3486 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3487 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3488 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3489 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3490 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3491 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3492 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3493 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3494 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3495 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3496 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3497 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3498 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3499 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3500 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3501 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3502 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3503 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3504 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3505 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3506 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3507 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3508 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3509 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3510 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3511 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3512 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3513 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3514 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3515 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3516 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3517 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3546
73c5ebe3
JM
3547 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3548 _XOPEN_SOURCE_EXTENDED for XPG4.
3549
39c33b6c
JM
3550 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3551
62fde54f
JM
3552 * Makeconfig (localtime): Remove variable.
3553 (inst_localtime-file): Likewise.
3554
0741d64c
AS
35552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3556
3557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3558 Update.
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3560 Update.
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3562 Update.
3563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3564 Update.
3565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3566 Update.
3567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3568 Update.
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3570 Update.
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3572 Update.
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3574 Update.
3575
7cb029ee
JM
35762012-05-01 Joseph Myers <joseph@codesourcery.com>
3577
3578 [BZ #2550]
3579 [BZ #2570]
3580 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3581 comparisons to determine direction to adjust input.
3582 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3583 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3584 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3585 Likewise.
3586 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3587 Likewise.
3588 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3589 Likewise.
3590 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3591 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3592 Likewise.
3593 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3594 Likewise.
3595 * math/libm-test.inc (nexttoward_test): Add more tests.
3596
412bd966
AS
35972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3598
3599 [BZ #14040]
3600 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3601 in version GLIBC_2.1, not GLIBC_2.0.
3602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3603 Likewise.
3604
9568c0c2
JM
36052012-04-30 Joseph Myers <joseph@codesourcery.com>
3606
adfbc8ac
JM
3607 [BZ #13942]
3608 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3609 (1 - x) * (1 + x).
3610 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3611 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3612 * math/libm-test.inc (acos_test): Add more tests.
3613 (asin_test): Likewise.
3614 * sysdeps/i386/fpu/libm-test-ulps: Update.
3615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3616
5ba3cc69
JM
3617 [BZ #14034]
3618 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3619 of square root.
3620 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3621 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3622 * math/libm-test.inc (acos_test_tonearest): New function.
3623 (acos_test_towardzero): Likewise.
3624 (acos_test_downward): Likewise.
3625 (acos_test_upward): Likewise.
3626 (asin_test_tonearest): Likewise.
3627 (asin_test_towardzero): Likewise.
3628 (asin_test_downward): Likewise.
3629 (asin_test_upward): Likewise.
3630 (main): Call the new functions.
3631 * sysdeps/i386/fpu/libm-test-ulps: Update.
3632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3633
9568c0c2
JM
3634 [BZ #13884]
3635 [BZ #13924]
3636 * math/e_exp10.c: Include <float.h>.
3637 (__ieee754_exp10): Handle underflow here rather than multiplying
3638 large negative argument by M_LN10.
3639 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3640 of __ieee754_expf.
3641 * math/e_exp10l.c: Include <float.h>.
3642 (__ieee754_exp10l): Handle underflow here rather than multiplying
3643 large negative argument by M_LN10l.
3644 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3645 spurious overflow exception on underflow.
3646
5ac3ea17
MP
36472012-04-29 Marek Polacek <polacek@redhat.com>
3648
3649 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3650 (__fortify_function): New macro.
3651 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3652 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3653 __extern_always_inline.
3654 * libio/bits/stdio2.h: Likewise.
3655 * libio/bits/stdio.h: Likewise.
3656 * string/string.h: Likewise.
3657 * string/bits/string3.h: Likewise.
3658 * include/stdio.h: Likewise.
3659 * stdlib/bits/stdlib.h: Likewise.
3660 * stdlib/stdlib.h: Likewise.
3661 * rt/bits/mqueue2.h: Likewise.
3662 * rt/mqueue.h: Likewise.
3663 * posix/bits/unistd.h: Likewise.
3664 * posix/unistd.h: Likewise.
3665 * io/bits/poll2.h: Likewise.
3666 * io/bits/fcntl2.h: Likewise.
3667 * io/fcntl.h: Likewise.
3668 * io/sys/poll.h: Likewise.
3669 * misc/bits/syslog.h: Likewise.
3670 * misc/bits/syslog-ldbl.h: Likewise.
3671 * misc/sys/syslog.h: Likewise.
3672 * socket/bits/socket2.h: Likewise.
3673 * socket/sys/socket.h: Likewise.
3674 * debug/tst-chk1.c: Likewise.
3675 * wcsmbs/bits/wchar2.h: Likewise.
3676 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3677 * wcsmbs/wchar.h: Likewise.
3678
ecf0ebfb
AJ
36792012-04-29 Andreas Jaeger <aj@suse.de>
3680
3681 * Makerules (tests): Remove enable-check-abi protection.
3682 (check-abi-warn): Remove.
3683 (check-abi-%): Remove check-abi-warn usage.
3684
3685 * configure.in: Remove check-abi configure option.
3686 * configure: Regenerated.
3687 * config.make.in (enable-check-abi): Remove.
3688
6d5c57fa
AS
36892012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3690
24c5d07e 3691 [BZ #14033]
ded5180a
AS
3692 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3693 double functions to double *_finite functions.
3694
7e0d315d
AS
3695 [BZ #13941]
3696 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3697 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3698 LDBL_MIN_EXP.
3699 * stdio-common/Makefile (tests): Add tst-sprintf3.
3700 * stdio-common/tst-sprintf3.c: New file.
3701
6d5c57fa
AS
3702 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3703 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3704
0749ff8b
JM
37052012-04-28 Joseph Myers <joseph@codesourcery.com>
3706
3707 * conform/conformtest.pl: Remove duplicate typed-constant
3708 handling.
3709
8dbd5d7b
DM
37102012-04-28 David S. Miller <davem@davemloft.net>
3711
3712 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3713 (check-abi-%): Remove AWK script prerequisite and explicit
3714 abilist directory.
3715 (check-abi): Rewrite to just diff the symlist with the abilist.
3716 (config-tls, config-abi-config): Delete, no longer used.
3717 (update-abi-%): Remove AWK script and explicit abilist directory.
3718 (update-abi): Rewrite to simply compare and conditionally copy the
3719 symlist and the sysdep abilist file. Remove update-abi-config
3720 checks.
3721 * abilist/ld.abilist: Remove.
3722 * abilist/libBrokenLocale.abilist: Remove.
3723 * abilist/libanl.abilist: Remove.
3724 * abilist/libcrypt.abilist: Remove.
3725 * abilist/libdl.abilist: Remove.
3726 * abilist/librt.abilist: Remove.
3727 * abilist/libthread_db.abilist: Remove.
3728 * abilist/libutil.abilist: Remove.
3729 * scripts/extract-abilist.awk: Remove.
3730 * scripts/merge-abilist.awk: Remove.
3731 * sysdeps/generic/libcidn.abilist: New file.
3732 * sysdeps/generic/libnss_compat.abilist: New file.
3733 * sysdeps/generic/libnss_db.abilist: New file.
3734 * sysdeps/generic/libnss_dns.abilist: New file.
3735 * sysdeps/generic/libnss_files.abilist: New file.
3736 * sysdeps/generic/libnss_hesiod.abilist: New file.
3737 * sysdeps/generic/libnss_nis.abilist: New file.
3738 * sysdeps/generic/libnss_nisplus.abilist: New file.
3739 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3740 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3741 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3742 file.
3743 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3744 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3745 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3746 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3747 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3748 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3749 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3750 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3751 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3752 file.
3753 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3754 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3755 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3756 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3757 file.
3758 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3759 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3760 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3761 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3762 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3763 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3764 file.
3765 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3766 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3767 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3768 file.
3769 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3771 New file.
3772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3773 New file.
3774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3775 New file.
3776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3777 New file.
3778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3779 New file.
3780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3781 New file.
3782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3783 New file.
3784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3785 New file.
3786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3787 New file.
3788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3789 New file.
3790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3791 New file.
3792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3793 New file.
3794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3795 New file.
3796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3797 file.
3798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3799 New file.
3800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3801 New file.
3802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3803 file.
3804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3805 New file.
3806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3807 New file.
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3809 file.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3811 New file.
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3813 New file.
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3815 New file.
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3817 New file.
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3819 New file.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3821 New file.
3822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3824 file.
3825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3826 New file.
3827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3828 file.
3829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3830 file.
3831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3832 file.
3833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3834 file.
3835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3836 file.
3837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3838 New file.
3839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3840 file.
3841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3842 file.
3843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3844 New file.
3845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3846 file.
3847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3849 file.
3850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3851 New file.
3852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3853 file.
3854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3855 file.
3856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3857 file.
3858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3859 file.
3860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3861 file.
3862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3863 New file.
3864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3865 file.
3866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3867 file.
3868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3869 New file.
3870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3871 file.
3872 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3873 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3874 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3875 file.
3876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3877 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3878 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3879 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3880 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3881 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3882 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3883 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3884 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3885 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3888 file.
3889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3890 New file.
3891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3892 file.
3893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3894 file.
3895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3896 file.
3897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3898 file.
3899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3900 file.
3901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3902 New file.
3903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3904 New file.
3905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3906 file.
3907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3908 New file.
3909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3910 file.
3911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3913 file.
3914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3915 New file.
3916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3917 file.
3918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3919 file.
3920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3921 file.
3922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3923 file.
3924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3925 file.
3926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3927 New file.
3928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3929 New file.
3930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3931 file.
3932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3933 New file.
3934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3935 file.
3936
41d73a1b
JM
39372012-04-28 Joseph Myers <joseph@codesourcery.com>
3938
3939 * conform/conformtest.pl: Fix typo in handling typed-constant from
3940 allow-header.
3941
28aeeda4
JM
39422012-04-27 Joseph Myers <joseph@codesourcery.com>
3943
adae8f5e
JM
3944 * README: Cut down references to pre-2.6 Linux kernels and
3945 Linuxthreads. Update lists of configurations in libc and ports
3946 and sort alphabetically. Say "or newer" with Linux kernel version
3947 requirements.
3948
28aeeda4
JM
3949 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3950
a462cb63
RA
39512012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3952
3953 [BZ #887]
3954 * math/libm-test.inc (logb_test_downward): New test to expose
3955 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3956 rounding mode.
3957
6ad3493e
JM
39582012-04-27 Joseph Myers <joseph@codesourcery.com>
3959
3960 [BZ #14027]
3961 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3962 to be done.
3963 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3964 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3965
2ce4f015
JM
39662012-04-26 Joseph Myers <joseph@codesourcery.com>
3967
5aeb141a
JM
3968 * sysdeps/unix/i386/brk.S: Remove file.
3969 * sysdeps/unix/i386/dl-brk.S: Likewise.
3970 * sysdeps/unix/i386/pipe.S: Likewise.
3971 * sysdeps/unix/i386/sigreturn.S: Likewise.
3972 * sysdeps/unix/i386/syscall.S: Likewise.
3973 * sysdeps/unix/i386/vfork.S: Likewise.
3974 * sysdeps/unix/i386/wait.S: Likewise.
3975
7143acae
JM
3976 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3977 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3978
2ce4f015
JM
3979 * configure.in (arm*-none*): Do not allow without
3980 --enable-hacker-mode.
3981 (netbsd*): Remove case setting base_os.
3982 (386bsd*): Likewise.
3983 (freebsd*): Likewise.
3984 (bsdi*): Likewise.
3985 (osf*): Likewise.
3986 (sunos*): Likewise.
3987 (ultrix*): Likewise.
3988 (newsos*): Likewise.
3989 (dynix*): Likewise.
3990 (*bsd*): Likewise.
3991 (sysv*): Likewise.
3992 (isc*): Likewise.
3993 (esix*): Likewise.
3994 (sco*): Likewise.
3995 (minix*): Likewise.
3996 (irix4*): Likewise.
3997 (irix6*): Likewise.
3998 (solaris[2-9]*): Likewise.
3999 (none): Likewise.
4000 * configure: Regenerated.
4001
0ac229c8
AZ
40022012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4003
4004 [BZ #11521]
4005 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4006 overflow or cancellation in calculating denominator.
4007 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4008 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4009 down expression to avoid unexpected rounding in newer GCCs.
4010 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4011
33f244f4
DM
40122012-04-26 David S. Miller <davem@davemloft.net>
4013
4014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4015 long-double compat symbols.
4016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4029
cfa1f3e8
DM
40302012-04-25 David S. Miller <davem@davemloft.net>
4031
4032 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4033 HWCAP_* values only after the memory barriers have been defined.
4034 (atomic_full_barrier): Define.
4035 (atomic_read_barrier): Define.
4036 (atomic_write_barrier): Define.
4037
6e236b92
SP
40382012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4039
4040 * shlib-versions: Add libgcc_s version information.
4041 * sysdeps/generic/libgcc_s.h: Remove.
4042 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4043 libgcc_s.h.
4044 * sysdeps/gnu/unwind-resume.c: Likewise.
4045 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4046
aab39a09
DM
40472012-04-25 David S. Miller <davem@davemloft.net>
4048
4049 * sysdeps/unix/sparc/brk.S: Delete.
4050 * sysdeps/unix/sparc/dl-brk.S: Delete.
4051 * sysdeps/unix/sparc/pipe.S: Delete.
4052 * sysdeps/unix/sparc/sysdep.S: Delete.
4053 * sysdeps/unix/sparc/sysdep.h: Delete.
4054 * sysdeps/unix/sparc/vfork.S: Delete.
4055 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4056 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4057 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4058 ret_ERRVAL, r0, r1, MOVE): Define.
4059 (JUMPTARGET): Remove.
4060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4061 sysdeps/unix/sparc/sysdep.h
4062 (ENTRY, END): Remove.
4063 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4064
a3cc4f48
JM
40652012-04-25 Joseph Myers <joseph@codesourcery.com>
4066
2ed8cda2
JM
4067 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4068 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4069 -DIS_IN_build.
4070
35d76d59
JM
4071 * timezone/README: Update upstream location and email address for
4072 tzcode and tzdata.
4073 * timezone/zdump.c: Update from tzcode 2012b.
4074 * timezone/zic.c: Likewise.
4075
a3cc4f48
JM
4076 * configure.in (libc_cv_as_needed): Remove test.
4077 * configure: Regenerated.
4078 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4079 conditional definition.
4080 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4081 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4082 * config.make.in (have-as-needed): Remove variable.
4083
ceab42c3
SP
40842012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4085 Paul Pluzhnikov <ppluzhnikov@google.com>
4086
4087 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4088 strings correctly.
4089
3ce2865f
CLT
40902012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4091
4092 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4093 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4094 * sysdeps/sh/strlen.S: Likewise.
4095
f37e0d68
JM
40962012-04-24 Joseph Myers <joseph@codesourcery.com>
4097
ae186e9a
JM
4098 * sysdeps/unix/fork.S: Remove file.
4099 * sysdeps/unix/i386/fork.S: Likewise.
4100 * sysdeps/unix/sparc/fork.S: Likewise.
4101
b96914af
JM
4102 * sysdeps/unix/system.c: Remove file.
4103 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4104
f37e0d68
JM
4105 * sysdeps/unix/getegid.S: Remove file.
4106 * sysdeps/unix/geteuid.S: Likewise.
4107
87ef29ca
RM
41082012-04-24 Roland McGrath <roland@hack.frob.com>
4109
83bcd236
RM
4110 * scripts/check-localplt.awk: New file.
4111 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4112 of diff.
4113 * scripts/data/localplt-generic.data: Add a comment.
4114
87ef29ca
RM
4115 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4116 NODE when __dir_mkfile failed.
4117 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4118 Reported by Ludovic Courtès <ludo@gnu.org>.
4119
e5a6e567
AJ
41202012-04-24 Andreas Jaeger <aj@suse.de>
4121
4122 * Makerules (common-clean): Also remove gen-as-const-headers
4123 files.
4124
c1820385
JM
41252012-04-24 Joseph Myers <joseph@codesourcery.com>
4126
4127 * Makerules (native-compile): Do not change working directory for
4128 build. Use $(OUTPUT_OPTION) in command.
4129 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4130
94e02fc4
AZ
41312012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4132
4133 [BZ #13886]
4134 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4135 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4136 * math/libm-test.inc (floor_test): Add more tests.
4137 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4138
3a533ca3
JM
41392012-04-24 Joseph Myers <joseph@codesourcery.com>
4140
940ab4b3
JM
4141 * sysdeps/unix/getdents.c: Remove file.
4142 * sysdeps/unix/sysv/getdents.c: Likewise.
4143 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4144
90e037bd
JM
4145 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4146 sysdeps/unix/mman/syscalls.list.
4147 (mmap): Likewise.
4148 (mprotect): Likewise.
4149 (msync): Likewise.
4150 (munmap): Likewise.
4151 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4152 * sysdeps/unix/mman/syscalls.list: Remove.
4153 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4154
3a533ca3
JM
4155 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4156 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4157 * configure: Regenerated.
4158 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4159 $(libgcc_s_suffix).
4160 * config.make.in (libgcc_s_suffix): Remove variable.
4161
1ad743de
JM
41622012-04-23 Joseph Myers <joseph@codesourcery.com>
4163
4ad451e2
JM
4164 * sysdeps/unix/sysv/gethostname.c: Move to ...
4165 * sysdeps/posix/gethostname.c: ... here.
4166
5e37ce39
JM
4167 * sysdeps/unix/execve.S: Remove file.
4168
1ad743de
JM
4169 * sysdeps/unix/_exit.S: Remove file.
4170
4e681b5b
AJ
41712012-04-23 Andreas Jaeger <aj@suse.de>
4172
4173 [BZ #13739]
4174 * manual/Makefile: Remove make dist support, there's no
4175 need for a stand-alone documentation tar ball.
4176 (TEXI2DVI): Define always, it's not in Makeconfig.
4177 (dist): Removed.
4178 (tar-it): Removed.
4179 (edition): Removed.
4180 (glibc-doc-$(edition).tar): Removed
4181 (%.Z): Removed.
4182 (%.gz): Removed.
4183 (%.uu): Removed.
4184 (ETAGS): Remove, it's in Makeconfig.
4185 (move-if-change): Remove, it's in Makeconfig.
4186
c0baea34
PE
41872013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4188
4189 [BZ #13970]
4190 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4191 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4192 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4193 (strtod_l, strtof_l, strtold_l): Remove __wur.
4194 It is not necessarily an error to ignore strtol's return value.
4195 One can reliably look at the stored endptr to decide whether
4196 the number had valid syntax.
4197
7c0616fa
AJ
41982012-04-21 Andreas Jaeger <aj@suse.de>
4199
803cb6b7 4200 [BZ #13739]
7c0616fa
AJ
4201 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4202
b0fe253f
JM
42032012-04-21 Joseph Myers <joseph@codesourcery.com>
4204
4205 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4206 * sysdeps/unix/sysv/Versions: Remove file.
4207
8280f22d
MT
42082012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4209
4210 [BZ #13927]
4211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4212
75ce411f 42132012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4214
4215 [BZ #7064]
4216 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4217 version from __vm86.
4218
097d59fa
JM
42192012-04-20 Joseph Myers <joseph@codesourcery.com>
4220
a90f3bcb
JM
4221 * sysdeps/unix/common/lxstat.c: Remove file.
4222 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4223
edc7ea78
JM
4224 * sysdeps/unix/sysv/Makefile: Remove file.
4225
cb78c221
JM
4226 * sysdeps/unix/sysv/direct.h: Remove file.
4227
efa6a45f
JM
4228 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4229 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4230 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4231 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4232 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4233 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4234 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4235
9c9f2d0c
JM
4236 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4237
4541c83b
JM
4238 * sysdeps/unix/xmknod.c: Remove file.
4239 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4240
f5d153a0
JM
4241 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4242
aa746595
JM
4243 * sysdeps/unix/sysv/i386/time.S: Remove file.
4244
cce5905e
JM
4245 * sysdeps/unix/fxstat.c: Remove file.
4246 * sysdeps/unix/xstat.c: Likewise.
4247 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4248
37fa3841
JM
4249 * sysdeps/unix/sysv/sigaction.c: Remove file.
4250
ff1962a3
JM
4251 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4252 (sysdep_headers): Remove variable.
4253 [termio.h not in sysdep_headers] (generated): Likewise.
4254 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4255 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4256 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4257 * sysdeps/unix/sysv/tcflow.c: Likewise.
4258 * sysdeps/unix/sysv/tcflush.c: Likewise.
4259 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4260 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4261 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4262 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4263 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4264
e7740d31
JM
4265 * sysdeps/unix/siglist.c: Remove file.
4266
ee06f18b
JM
4267 * sysdeps/unix/getppid.S: Remove file.
4268
097d59fa
JM
4269 * sysdeps/unix/mkdir.c: Remove file.
4270 * sysdeps/unix/rmdir.c: Likewise.
4271
ff3d51ec
AS
42722012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4273
4274 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4275 ERR_MAX value.
4276 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4277 errlist-compat value.
4278
50f81fd7
DM
42792012-04-18 David S. Miller <davem@davemloft.net>
4280
4281 * sysdeps/generic/memcopy.h (reg_char): Delete.
4282 * debug/strcat_chk.c: Use char, not reg_char.
4283 * debug/strcpy_chk.c: Likewise.
4284 * debug/strncat_chk.c: Likewise.
4285 * debug/strncpy_chk.c: Likewise.
4286 * string/memchr.c: Likewise.
4287 * string/memrchr.c: Likewise.
4288 * string/rawmemchr.c: Likewise.
4289 * string/strcat.c: Likewise.
4290 * string/strchr.c: Likewise.
4291 * string/strchrnul.c: Likewise.
4292 * string/strcmp.c: Likewise.
4293 * string/strcpy.c: Likewise.
4294 * string/strncat.c: Likewise.
4295 * string/strncmp.c: Likewise.
4296 * string/strncpy.c: Likewise.
4297
8ff41c46
WS
42982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4299
4300 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4301 __builtin_memcopy is called when src and dest ranges are known to not
4302 overlap.
4303
6b652f46
WS
43042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4305
4306 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4307 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4308 fwd_align_merge macro call.
4309 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4310 bwd_align_merge macro call.
4311 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4312
b282631e
WS
43132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4314
4315 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4316 bwd_align_merge macros.
4317 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4318 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4319 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4320
95aa737c
DM
43212012-04-18 David S. Miller <davem@davemloft.net>
4322
4323 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4324
7a99a614
AJ
43252012-04-18 Andreas Jaeger <aj@suse.de>
4326
4327 [BZ# 6794]
4328 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4329 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4330 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4331
4332 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4333 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4334 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4335
4336 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4337 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4338 Adjust for changed ldbl-128 files.
4339
4340 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4341 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4342 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4343
e5270c23
DM
43442012-04-17 David S. Miller <davem@davemloft.net>
4345
4346 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4347
fb5e92c9
AS
43482012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4349
4350 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4351 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4352 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4353 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4354 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4355 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4356
76da7265
AZ
43572012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4358
4359 [BZ #6794]
4360 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4361 * math/libm-test.inc: Add ilogb errno and exception tests.
4362 * math/w_ilogb.c: New file: ilogb wrapper.
4363 * math/w_ilogbf.c: New file: ilogbf wrapper.
4364 * math/w_ilogbl.c: New file: ilogbl wrapper.
4365 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4366 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4367 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4368 exception being thrown with 0.0 as argument.
4369 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4370 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4371 exception being thrown with 0.0 as argument.
4372 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4373 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4374 exception being thrown with 0.0 as argument.
4375 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4376 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4377 exception being thrown with 0.0 as argument.
4378 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4379 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4380 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4381 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4382 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4383 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4384 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4385 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4386 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4387
0396e69d
PB
43882012-04-17 Petr Baudis <pasky@ucw.cz>
4389
4390 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4391 with altivec.
4392
750b5926
MP
43932012-04-16 Marek Polacek <polacek@redhat.com>
4394
4395 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4396
751728a1
MP
43972012-04-16 Marek Polacek <polacek@redhat.com>
4398
4399 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4400 operands of fdivp instruction.
4401
34a27407
L
44022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4403
4404 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4405 * elf/tst-auditmod3b.c: Likewise.
4406 * elf/tst-auditmod4b.c: Likewise.
4407 * elf/tst-auditmod5b.c: Likewise.
4408 * elf/tst-auditmod6b.c: Likewise.
4409 * elf/tst-auditmod6c.c: Likewise.
4410 * elf/tst-auditmod7b.c: Likewise.
4411 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4412 * sysdeps/x86_64/preconfigure.in: Likewise.
4413 * sysdeps/x86_64/preconfigure: Regenerated.
4414
7e73e17d
L
44152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4416
4417 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4418 __ILP32__.
4419
c7a6ab72
AB
44202012-04-13 Antoine Balestrat <merkil33@gmail.com>
4421
4422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4423 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4424
a9e8e0e0
CL
44252012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4426
4427 [BZ #13973]
4428 * locale/iso-639.def: Fix gl language name. Spotted by
4429 Yaron Shahrabani.
4430
ec98af7d
RM
44312012-04-12 Roland McGrath <roland@hack.frob.com>
4432
4433 [BZ #2074]
4434 * libio/libio.h (__io_write_fn): Update comment.
4435
247c3ede
PB
44362012-04-12 Petr Baudis <pasky@ucw.cz>
4437
4438 [BZ #2074]
4439 * stdio.texi (Hook Functions): The user provided writer function
4440 is not allowed to return -1.
4441
55939d6d
DM
44422012-04-11 David S. Miller <davem@davemloft.net>
4443
4444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4445
90020f5a
MF
44462012-04-11 Mike Frysinger <vapier@gentoo.org>
4447
4448 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4449 Add a leading slash to rtkaio.
4450
288f9098
JM
44512012-04-11 Jim Meyering <meyering@redhat.com>
4452
90020f5a
MF
4453 [BZ #11959]
4454 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4455 It is not necessarily an error to ignore fwrite's return
4456 value. One can reliably use ferror to test for errors after
4457 the fact.
288f9098 4458
4be2b570
L
44592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4460
4461 * bits/types.h (__snseconds_t): New type.
4462 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4463
4464 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4466 (__SNSECONDS_T_TYPE): Likewise.
4467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4468 (__SNSECONDS_T_TYPE): Likewise.
4469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4470 (__SNSECONDS_T_TYPE): Likewise.
4471
288f9098 44722012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4473
4474 [BZ #2636]
4475 * manual/time.texi (Processor Time): Return type of times is
4476 elapsed real time since an arbitrary point in the past.
4477 (CPU Time): Move CLK_TCK from here...
4478 (Processor Time): ...to here. Correct description.
4479 * manual/conf.texi (Constants for Sysconf): Correct description of
4480 _SC_CLK_TCK.
4481
d7dd4413
DM
44822012-04-10 David S. Miller <davem@davemloft.net>
4483
4484 [BZ #13967]
4485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4486 where the is a gap between DT_REL(A) and DT_JMPREL.
4487
b46068fc
L
44882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4491 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4492 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4493
73d65cc3
SP
44942012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4495
4496 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4497 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4498 (dl_main): Handle --inhibit-cache.
4499 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4500 _dl_inhibit_cache.
4501 * elf/dl-load.c (_dl_map_object): Use it.
4502 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4503
bcc8d661
JM
45042012-04-09 Joseph Myers <joseph@codesourcery.com>
4505
8f9a2fae
JM
4506 [BZ #13872]
4507 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4508 (__ieee754_powl): Saturate large exponents rather than testing for
4509 overflow of y*log2(x).
4510 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4511 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4512 exceptions.
4513
bcc8d661
JM
4514 [BZ #11521]
4515 * math/s_ctan.c: Include <float.h>.
4516 (__ctan): Avoid internal overflow or cancellation in calculating
4517 denominator.
4518 * math/s_ctanf.c: Likewise.
4519 * math/s_ctanl.c: Likewise.
4520 * math/s_ctanh.c: Likewise.
4521 * math/s_ctanhf.c: Likewise.
4522 * math/s_ctanhl.c: Likewise.
4523 * math/libm-test.inc (ctan_test): Add more tests.
4524 (ctanh_test): Likewise.
4525 * sysdeps/i386/fpu/libm-test-ulps: Update.
4526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4527
823fbbb4
AJ
45282012-04-09 Andreas Jaeger <aj@suse.de>
4529
03879793
AJ
4530 [BZ #6894]
4531 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4532 is an optional BSD extension.
4533
823fbbb4
AJ
4534 [BZ #10254]
4535 * manual/stdio.texi (Opening Streams): Document additional fopen
4536 parameters.
4537
8de131cb
RM
45382012-04-09 Roland McGrath <roland@hack.frob.com>
4539
4540 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4541 %eax without telling the compiler.
4542
c0ed9d7d
CD
45432012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4544
4545 [BZ # 13963]
4546 * manual/install.texi: Use sourceware.org.
4547
c483f6b4
JM
45482012-04-09 Joseph Myers <joseph@codesourcery.com>
4549
d7dd9453
JM
4550 [BZ #13873]
4551 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4552 (__ieee754_pow): Generate overflow and underflow using huge*huge
4553 and tiny*tiny rather than just returning constant infinity or zero
4554 for large exponents.
4555 * math/libm-test.inc (pow_test): Require overflow exceptions for
4556 applicable cases of large exponents.
4557
c483f6b4
JM
4558 [BZ #706]
4559 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4560 (__ieee754_pow): Use iterative multiplication algorithm only for
4561 integer exponents with absolute value below 1024. Check for odd
4562 integer exponents when using algorithm for real exponents.
4563 * math/libm-test.inc (pow_test): Add more tests.
4564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4565
d2de7579
JM
45662012-04-08 Joseph Myers <joseph@codesourcery.com>
4567
4568 [BZ #13705]
4569 * math/libm-test.inc (exp_test): Do not allow overflow exception
4570 on underflow test.
4571
f77f1232
AJ
45722012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4573
4574 [BZ #13705]
4575 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4576 instead of __kernel_standard_f.
4577
3884932b
MF
45782012-04-08 Mike Frysinger <vapier@gentoo.org>
4579
4580 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4581 * sysdeps/x86_64/memset_chk.S: Likewise.
4582
54472e9c
AJ
45832012-04-08 Andreas Jaeger <aj@suse.de>
4584
6ab0fbfc
AJ
4585 [BZ #10153]
4586 * manual/startup.texi (Environment Access): Describe return value
4587 for putenv and setenv.
4588
61efba8c
AJ
4589 [BZ #6895]
4590 * manual/filesys.texi (Directory Entries): Add description for
4591 DT_LNK.
4592
95c3f29a
AJ
4593 [BZ #6890]
4594 * manual/filesys.texi (Directory Entries): Clarify that it's file
4595 system not operating system in the description of DT_UNKNOWN.
4596
54472e9c
AJ
4597 [BZ #6578]
4598 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4599
624254b1
SC
46002012-04-08 Stephen Compall <s11@member.fsf.org>
4601
4602 [BZ #6649]
4603 * manual/llio.texi (Opening and Closing Files): Add cross
4604 reference to explain mode argument.
4605
1e4920e0
MF
46062012-04-07 Mike Frysinger <vapier@gentoo.org>
4607
4608 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4609 * sysdeps/x86_64/memset_chk.S: Likewise.
4610
5ed848f3
DM
46112012-04-07 David S. Miller <davem@davemloft.net>
4612
4613 * elf/elf.h (R_SPARC_WDISP10): Define.
4614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4615 R_SPARC_SIZE32.
4616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4617 R_SPARC_SIZE64 and R_SPARC_H34.
4618
96154cd8
CD
46192012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4620
4621 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4622 conditions and remove no longer applicable assertion.
4623
9904dc47
L
46242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4625
4626 * bits/byteswap.h: Include <features.h>.
4627 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4628 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4629
f8887d0a
L
46302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4631
4632 * bits/byteswap.h (__bswap_16): Removed.
4633 Include <bits/byteswap-16.h> to get __bswap_16.
4634 * sysdeps/i386/bits/byteswap.h: Likewise.
4635 * sysdeps/s390/bits/byteswap.h: Likewise.
4636 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4637 * bits/byteswap-16.h: New file.
4638 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4639 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4640 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4641 * string/Makefile (headers): Add bits/byteswap-16.h.
4642
62470f60
PP
46432012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4644
4645 [BZ #13895]
4646 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4647 extra indirection.
4648 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4649 * nss/tst-nss-static.c: New.
4650
4dad7bab
RM
46512012-04-06 Robert Millan <rmh@gnu.org>
4652
4653 [BZ #6486]
4654 * manual/llio.texi (File Position Primitive): lseek
4655 refers to WHENCE when it really means OFFSET.
4656
e9142a17
AJ
46572012-04-06 Andreas Jaeger <aj@suse.de>
4658
2c040eff
AJ
4659 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4660 strncmp declarations.
4661
e9142a17
AJ
4662 * abilist/libc.abilist: Add __poll and __ppoll.
4663
ff9f1c5f
DM
46642012-04-05 David S. Miller <davem@davemloft.net>
4665
dcd2ae90
DM
4666 * scripts/check-local-headers.sh: Accept a host triplet in the
4667 path matched by the exclude regexp.
4668
993eb054
DM
4669 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4670 definition.
4671 * sysdeps/powerpc/powerpc32/dl-machine.h
4672 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4673 * sysdeps/s390/s390-32/dl-machine.h
4674 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4675 * sysdeps/sparc/sparc32/dl-machine.h
4676 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4677 * sysdeps/sparc/sparc64/dl-machine.h
4678 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4679
ff9f1c5f
DM
4680 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4681 lazy binding.
48e2e132 4682 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4683 undefined symbol errors.
4684
48e2e132 4685 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4686 DT_NEEDED entries.
4687
e80d6f94
MM
46882012-04-05 Michael Matz <matz@suse.de>
4689
4690 [BZ #13592]
4691 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4692
349fa79f
AJ
46932012-04-05 Andreas Jaeger <aj@suse.de>
4694
4695 [BZ #13908]
4696 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4697 comment.
4698
f402708f
KK
46992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4700
4701 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4702 which ROUND is no valid rounding mode.
4703
2ecccfc9
KK
47042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4705
4706 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4707 read again.
4708 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4709
8a53f50f
KK
47102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4711
4712 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4713 an exception using FPU order intentionally.
4714
47152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4716
4717 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4718 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4719 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4720 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4721
d653abb7
SJ
47222012-04-05 Simon Josefsson <simon@josefsson.org>
4723
4724 [BZ #12340]
4725 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4726 EINVAL when BUFLEN is too smal.
4727
c3b1bf7d
TS
47282012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4729
4730 [BZ #13553]
4731 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4732 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4733
b1aa60f3
AJ
47342012-04-03 Andreas Jaeger <aj@suse.de>
4735
c3b1bf7d 4736 [BZ #13938]
67f60a26
AJ
4737 * manual/setjmp.texi (System V contexts): Fix sentence.
4738
b1aa60f3
AJ
4739 [BZ #13926]
4740 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4741 New macro for this case.
4742 [!__GNUC__] (__bswap_64): New inline function for this case.
4743 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4744 * bits/byteswap.h: Likewise.
4745 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4746 ull, guard with __GLIBC_HAVE_LONG_LONG.
4747
4748 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4749 __GLIBC_HAVE_LONG_LONG.
4750
4751 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4752 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4753
39c59c35
TMQMF
47542012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4755
4756 [BZ #13691]
4757 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4758 inptr and inend, rather than using last_ch.
4759
135ffda8
DM
47602012-04-02 David S. Miller <davem@davemloft.net>
4761
4762 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4763 * stdio-common/printf-parse.h (read_int): Change return type to
4764 'int', return -1 on INT_MAX overflow.
4765 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4766 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4767 overflows INT_MAX. Check for overflow of in-format-string precision
4768 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4769 SIZE_MAX not INT_MAX for integer overflow test.
4770 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4771 skip the construct in the format string but do not record anything.
4772 * stdio-common/bug22.c: Adjust to test both width/prevision
4773 INT_MAX overflow as well as total length INT_MAX overflow. Check
4774 explicitly for proper errno values.
4775
228c019e
TS
47762012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4777
302cadd3
TS
4778 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4779 CHAR_MAX.
4780 * string/test-strcmp.c [! WIDE]: Likewise.
4781 * time/tst-mktime2.c: Likewise for INT_MAX.
4782 * string/test-string.h: #include <sys/param.h> for MIN.
4783
228c019e
TS
4784 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4785 * sysdeps/i386/init-first.c (init): Likewise.
4786 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4787 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4788 * sysdeps/sh/init-first.c (init): Likewise.
4789
cfa633f5
UD
47902012-04-01 Ulrich Drepper <drepper@gmail.com>
4791
4792 * po/ru.po: Update from translation team.
d1635ef8 4793 * po/vi.po: Likewise.
cfa633f5 4794
6cd0a5ea
SP
47952012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4796
4797 * resolv/nss_dns/dns-host.c: Merge copyright years.
4798
4b43400f
LD
47992012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4800
4801 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4802 Optimize memcpy with prefetch if
4803 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4804 src, dst pointers have unequal 16 byte alignments.
4805
48c41d04
SP
48062012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4807
4808 [BZ #13928]
4809 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4810 from a CNAME entry and return the minimum ttl for the query.
4811 (gaih_getanswer_slice): Likewise.
4812
b8dc394d
JL
48132012-03-30 Jeff Law <law@redhat.com>
4814
4815 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4816 due to long keys.
4817 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4818 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4819
2f5a5ed0
JL
4820 * resolv/nss_dns/dns-host.c: Update copyright year.
4821
1d39e359
UD
48222012-03-30 Ulrich Drepper <drepper@gmail.com>
4823
c030f70c 4824 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4825 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4826
1d39e359
UD
4827 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4828 comments for sendmmsg.
4829
48302012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4831
4832 [BZ #13691]
4833 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4834 with only 1 character between 0x0041 and 0x01b0.
4835 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4836 * wcsmbs/tst-mbsnrtowcs.c: New file.
4837
20fde227
DM
48382012-03-29 David S. Miller <davem@davemloft.net>
4839
4840 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4841 small copies by hand.
4842
984a4237
JL
48432012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4844
4845 [BZ #13761]
4846 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4847 _nss_compat_initgroups_dyn): Fall back to malloc/free
4848 for large group memberships.
4849
18c9d62b
DM
48502012-03-28 David S. Miller <davem@davemloft.net>
4851
88d85d4f
DM
4852 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4853 that branches into memcpy.
4854 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4855 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4856 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4857 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4859 bits.
4860 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4861 implementation too.
4862 * sysdeps/sparc/mempcpy.S: New file.
4863
e5aa83e1
DM
4864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4865 the IFUNC routine in the libc case.
4866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4867
88570753
DM
4868 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4869 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4870 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4871 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4872 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4873 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4874 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4875 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4876
249d7567
DM
4877 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4878 loop to 256 bytes instead of 64 bytes and fix test signedness.
4879
18c9d62b
DM
4880 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4881 * sysdeps/sparc/sparc32/Makefile: rather than here...
4882 * sysdeps/sparc/sparc64/Makefile: and here.
4883
05f3d1f6
UD
48842012-03-28 Ulrich Drepper <drepper@gmail.com>
4885
4886 * malloc/mallocbug.c: Avoid warnings about unused variables.
4887
86ae07a8
JL
48882012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4889
4890 [BZ #13760]
4891 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4892 in the right place. Discard and retry query if response is
4893 larger than input buffer size.
4894
41bf21a1
JM
48952012-03-28 Joseph Myers <joseph@codesourcery.com>
4896
d6270972
JM
4897 [BZ #369]
4898 [BZ #2678]
4899 [BZ #3866]
4900 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4901 x for large integer exponent.
4902 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4903 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4904 sign of result as needed afterwards.
4905 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4906 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4907 result for underflowing pow the same as for overflow.
4908 (__kernel_standard_l): Handle powl overflow and underflow here
4909 rather than calling __kernel_standard.
4910 * math/libm-test.inc (pow_test): Add more tests.
4911
414fca03 4912 [BZ #3868]
41bf21a1
JM
4913 [BZ #13879]
4914 [BZ #13910]
4915 [BZ #13911]
4916 [BZ #13912]
4917 [BZ #13913]
4918 [BZ #13915]
4919 [BZ #13916]
4920 [BZ #13917]
4921 [BZ #13918]
4922 [BZ #13919]
4923 [BZ #13920]
4924 [BZ #13921]
4925 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4926 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4927 (__kernel_standard_l): New function.
4928 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4929 __kernel_standard.
4930 * math/w_acosl.c (__acosl): Likewise.
4931 * math/w_asinl.c (__asinl): Likewise.
4932 * math/w_atan2l.c (__atan2l): Likewise.
4933 * math/w_atanhl.c (__atanhl): Likewise.
4934 * math/w_coshl.c (__coshl): Likewise.
4935 * math/w_exp10l.c (__exp10l): Likewise.
4936 * math/w_exp2l.c (__exp2l): Likewise.
4937 * math/w_fmodl.c (__fmodl): Likewise.
4938 * math/w_hypotl.c (__hypotl): Likewise.
4939 * math/w_j0l.c (__j0l, __y0l): Likewise.
4940 * math/w_j1l.c (__j1l, __y1l): Likewise.
4941 * math/w_jnl.c (__jnl, __ynl): Likewise.
4942 * math/w_lgammal.c (__lgammal): Likewise.
4943 * math/w_log10l.c (__log10l): Likewise.
4944 * math/w_log2l.c (__log2l): Likewise.
4945 * math/w_logl.c (__logl): Likewise.
4946 * math/w_powl.c (__powl): Likewise.
4947 * math/w_remainderl.c (__remainderl): Likewise.
4948 * math/w_scalbl.c (sysv_scalbl): Likewise.
4949 * math/w_sinhl.c (__sinhl): Likewise.
4950 * math/w_sqrtl.c (__sqrtl): Likewise.
4951 * math/w_tgammal.c (__tgammal): Likewise.
4952 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4953 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4954 * math/libm-test.inc (acos_test): Add more tests.
4955 (acosh_test): Likewise.
4956 (asin_test): Likewise.
4957 (atanh_test): Likewise.
4958 (exp_test): Likewise.
4959 (exp10_test): Likewise.
4960 (exp2_test): Likewise.
4961 (expm1_test): Likewise.
4962 (lgamma_test): Likewise.
4963 (log_test): Likewise.
4964 (log10_test): Likewise.
4965 (log1p_test): Likewise.
4966 (log2_test): Likewise.
4967 (pow_test): Do not allow some spurious overflow exceptions.
4968 (sqrt_test): Add more tests.
4969 (tgamma_test): Likewise.
4970 (y0_test): Likewise.
4971 (y1_test): Likewise.
4972 (yn_test): Likewise.
4973
dd62fda6
AB
49742012-03-27 Anton Blanchard <anton@samba.org>
4975
4976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4977 MAP_HUGETLB.
4978 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4979 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4980 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4981
1e3cdfda
AJ
49822012-03-27 David S. Miller <davem@davemloft.net>
4983
b855ab85
DM
4984 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4985
1e3cdfda
AJ
4986 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4987 have-as-vis3 check.
4988
49892012-03-27 Andreas Jaeger <aj@suse.de>
4990
4991 * sysdeps/x86_64/elf/configure.in: Moved to ...
4992 * sysdeps/x86_64/configure.in: ... here.
4993 * sysdeps/x86_64/elf/start.S: Moved to ...
4994 * sysdeps/x86_64/start.S: ... here.
4995 * sysdeps/x86_64/elf/configure: Delete.
4996
4997 * sysdeps/x86_64/configure.in: Merge contents from
4998 sysdeps/i386/configure.in (without i686 check).
4999
5000 * sysdeps/i386/elf/Versions: Merge into ...
5001 * sysdeps/i386/Versions: ... this.
5002 * sysdeps/i386/elf/Versions: Delete file.
5003 * sysdeps/i386/elf/start.S: Moved to ...
5004 * sysdeps/i386/start.S: ...here.
5005 * sysdeps/i386/elf/configure.in: Merge into...
5006 * sysdeps/i386/configure.in: ...here.
5007 * sysdeps/i386/elf/configure.in: Delete file.
5008 * sysdeps/i386/elf/configure: Delete file.
5009
5010 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5011 * debug/backtracesyms.c: ... here.
5012 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5013 * debug/backtracesymsfd.c: ... here.
5014 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5015 * sysdeps/generic/ifunc-sel.h: ... here.
5016
5017 * sysdeps/unix/i386/start.c: Delete file.
5018 * sysdeps/unix/sparc/start.c: Delete file.
5019 * sysdeps/unix/start.c: Delete file.
5020
5021 * sysdeps/sh/elf/configure.in: Moved to ...
5022 * sysdeps/sh/configure.in: ... here.
5023 * sysdeps/sh/elf/start.S: Moved to ...
5024 * sysdeps/sh/start.S: ... here.
5025 * sysdeps/sh/elf/configure: Delete file.
5026
5027 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5028 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5029 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5030 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5031 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5032 * sysdeps/powerpc/powerpc64/start.S: here.
5033 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5034 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5035 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5036 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5037 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5038
5039 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5040 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5041 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5042 * sysdeps/powerpc/powerpc32/start.S: ... here.
5043 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5044 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5045 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5046
5047 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5048 * sysdeps/powerpc/ifunc-sel.h: ... here.
5049 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5050 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5051
5052 * sysdeps/sparc/elf/configure.in: Moved to ...
5053 * sysdeps/sparc/configure.in: ... here.
5054 * sysdeps/sparc/elf/configure: Delete file.
5055 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5056 * sysdeps/sparc/sparc32/start.S: ... here.
5057 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5058 * sysdeps/sparc/sparc64/start.S: ... here.
5059 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5060 * sysdeps/sparc/sparc32/Makefile: ... this.
5061 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5062 * sysdeps/sparc/sparc64/Makefile: ... this.
5063
5064 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5065 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5066 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5067 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5068 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5069 * sysdeps/s390/s390-32/setjmp.S: ... here.
5070 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5071 * sysdeps/s390/s390-32/configure.in: ... here.
5072 * sysdeps/s390/s390-32/elf/configure: Delete file.
5073 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5074 * sysdeps/s390/s390-32/start.S: ... here.
5075
5076 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5077 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5078 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5079 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5080 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5081 * sysdeps/s390/s390-64/setjmp.S: ... here.
5082 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5083 * sysdeps/s390/s390-64/configure.in: ... here
5084 * sysdeps/s390/s390-64/elf/configure: Delete file.
5085 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5086 * sysdeps/s390/s390-64/start.S: ... here.
5087 * sysdeps/s390/s390-64/elf/configure: Delete.
5088
5089 * configure.in: Remove support for elf directories in sysdeps.
5090
5091 * configure: Regenerated.
5092 * sysdeps/i386/configure: Regenerated.
5093 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5094 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5095 * sysdeps/s390/s390-32/configure: Regenerated.
5096 * sysdeps/s390/s390-64/configure: Regenerated.
5097 * sysdeps/sh/configure: Regenerated.
5098 * sysdeps/sparc/configure: Regenerated.
5099 * sysdeps/x86_64/configure: Regenerated.
5100
a3f61311
AS
51012012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5102
c876e002
AS
5103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5104
a3f61311
AS
5105 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5106 denormal result into account.
5107
ac4c54f0
RM
51082012-03-25 Roland McGrath <roland@hack.frob.com>
5109
5110 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5111 Reported by Allan McRae <allan@archlinux.org>.
5112
6a9b9c02
JL
51132012-03-23 Jeff Law <law@redhat.com>
5114
5115 * nss/getnssent.c (__nss_getent): Fix typo.
5116
4c42a0c1
DM
51172012-03-23 David S. Miller <davem@davemloft.net>
5118
5119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5120
1532c7ac
L
51212012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5122
5123 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5124 to pad to uint64_t for each field.
5125 (dl_tls_index): Replace unsigned long with uint64_t.
5126
3ff42526
PP
51272012-03-23 Daniel Jacobowitz <dmj@google.com>
5128 Paul Pluzhnikov <ppluzhnikov@google.com>
5129
5130 [BZ #6528]
5131 * grp/Makefile (otherlibs): Don't set it.
5132 * inet/Makefile (otherlibs): Likewise.
5133 * login/Makefile (otherlibs): Likewise.
5134 * nscd/Makefile (otherlibs): Likewise.
5135 * posix/Makefile (otherlibs): Likewise.
5136 * pwd/Makefile (otherlibs): Likewise.
5137 * rt/Makefile (otherlibs): Likewise.
5138 * sunrpc/Makefile (otherlibs): Likewise.
5139 * nss/Makefile (otherlibs): Likewise.
5140 Add libnss_files to routines and static-only-routines.
5141 ($(objpfx)getent): Remove rule.
5142 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5143 static-only-routines.
5144
7c69cd14
JM
51452012-03-22 Joseph Myers <joseph@codesourcery.com>
5146
5147 [BZ #13892]
5148 * math/s_cexp.c: Include <float.h>.
5149 (__cexp): Handle exp result overflowing not necessarily
5150 overflowing both real and imaginary parts of result.
5151 * math/s_cexpf.c: Likewise.
5152 * math/s_cexpl.c: Likewise.
5153 * math/libm-test.inc (cexp_test): Add more tests.
5154 * sysdeps/i386/fpu/libm-test-ulps: Update.
5155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5156
81b035fe
L
51572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5158
5159 * include/link.h (ELFW): New macro.
5160 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5161 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5162
1da7940c
L
51632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5164
5165 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5166 with uint64_t.
5167
b749dbb9
L
51682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5169
5170 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5171 declaration.
5172 (struct La_x32_retval): Likewise.
5173
2ff87f3f
L
51742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5175
5176 * sysdeps/x86_64/preconfigure.in: New file.
5177 * sysdeps/x86_64/preconfigure: New generated file.
5178
c0df8e69
JM
51792012-03-22 Joseph Myers <joseph@codesourcery.com>
5180
48e44791
JM
5181 [BZ #13824]
5182 * math/e_exp2l.c: Include <float.h>.
5183 (__ieee754_exp2l): Handle overflow and underflow cases
5184 separately. Only pass fractional part of argument to
5185 __ieee754_expl.
5186 * math/libm-test.inc (exp2_test): Add more tests.
5187
c0df8e69
JM
5188 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5189 negating x to take absolute value.
5190 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5191 Likewise.
5192 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5194 Likewise.
5195 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5196 computing low part if x was negated.
5197 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5198
c8e43ba7
L
51992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5200
5201 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5202 la_x32_gnu_pltexit.
5203 (pltexit): Cast int_retval to ptrdiff_t.
5204 * elf/tst-auditmod3b.c: Likewise.
5205 * elf/tst-auditmod4b.c: Likewise.
5206 * elf/tst-auditmod5b.c: Likewise.
5207 * elf/tst-auditmod6b.c: Likewise.
5208 * elf/tst-auditmod6c.c: Likewise.
5209 * elf/tst-auditmod7b.c: Likewise.
5210
5211 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5212 and x32_gnu_pltexit.
5213
5214 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5215 __ELF_NATIVE_CLASS.
5216 (La_x32_regs): New macro.
5217 (La_x32_retval): Likewise.
5218 (la_x32_gnu_pltenter): New function prototype.
5219 (la_x32_gnu_pltexit): Likewise.
5220
7998fa78
AS
52212012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5222
dcb33988
AS
5223 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5224 exponent.
5225
233fc563
AS
5226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5227
7998fa78
AS
5228 * configure.in (libc_cv_cc_nofma): Check for option to disable
5229 generation of FMA instructions.
5230 * configure: Regenerate.
5231 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5232 * sysdeps/ieee754/dbl-64/Makefile: New file.
5233 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5234 Remove brandred-fma4.
5235 (CFLAGS-brandred-fma4.c): Remove.
5236 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5237 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5238 define.
5239 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5240 define.
5241
8e95c99a
L
52422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5243
5244 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5245 LLONG_MAX != LONG_MAX.
5246 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5247 (_fitoa_word): Likewise.
5248 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5249 LLONG_MAX != LONG_MAX.
5250 * stdio-common/_itowa.h: Include <_itoa.h>.
5251 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5252 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5253 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5254 only if not defined.
5255 (_ITOA_WORD_TYPE): Likewise.
5256 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5257 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5258
6f4db457
DM
52592012-03-21 David S. Miller <davem@davemloft.net>
5260
5261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5262
7785fe5a
L
52632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5264
5265 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5266 of x86_64 when setting libc_cv_slibdir, libdir and
5267 libc_cv_localedir.
5268 * sysdeps/unix/sysv/linux/configure: Regenerated.
5269
4535cd55
JM
52702012-03-21 Joseph Myers <joseph@codesourcery.com>
5271
5272 * manual/lang.texi (Old Varargs): Remove section.
5273 (How Variadic): Update menu.
5274 (va_start): Do not mention varargs.h.
5275
17228132
TS
52762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5277 Joseph Myers <joseph@codesourcery.com>
5278
5279 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5280 link test.
5281 * configure: Regenerated.
5282
8149f976
TS
52832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5284
05f3d1f6
UD
5285 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5286 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5287 conformtest.pl
8149f976 5288
1a4ac776
JM
52892012-03-21 Joseph Myers <joseph@codesourcery.com>
5290
be22ce65
JM
5291 * NOTES: Remove.
5292 * Makefile (files-for-dist): Remove NOTES.
5293 (NOTES): Remove rule.
5294 * README: Don't refer to NOTES.
5295 * manual/creature.texi: Don't include macros.texi.
5296 * manual/intro.texi (creature.texi): Remove comment referring to
5297 NOTES.
5298
40b601fb
JM
5299 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5300 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5301 * configure: Regenerated.
5302 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5303 LIBC_TRY_CC_OPTION.
5304 (libc_cv_as_i686): Likewise.
5305 (libc_cv_cc_avx): Likewise.
5306 (libc_cv_cc_sse2avx): Likewise.
5307 (libc_cv_cc_fma4): Likewise.
5308 (libc_cv_cc_novzeroupper): Likewise.
5309 * sysdeps/i386/configure: Regenerated.
5310
1a4ac776
JM
5311 [BZ #13883]
5312 * sysdeps/i386/fpu/s_cexp.S: Remove.
5313 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5314 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5315 * math/libm-test.inc (cexp_test): Add more tests.
5316 * sysdeps/i386/fpu/libm-test-ulps: Update.
5317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318
a458e7fe
AM
53192012-03-21 Allan McRae <allan@archlinux.org>
5320
5321 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5322
0cb7efc5
JM
53232012-03-21 Joseph Myers <joseph@codesourcery.com>
5324
5325 [BZ #13871]
5326 * math/w_exp2.c: Do not include <float.h>.
5327 (o_threshold, u_threshold): Remove.
5328 (__exp2): Calculate result before checking finiteness and calling
5329 __kernel_standard.
5330 * math/w_exp2f.c: Likewise.
5331 * math/w_exp2l.c: Likewise.
5332 * math/libm-test.inc (exp2_test): Require overflow exception for
5333 1e6 input.
2460d3aa
JM
5334
5335 [BZ #3866]
5336 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5337 range of signed 64-bit integers before using fistpll. Remove
5338 checks for whether integers fit in mantissa bits.
5339 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5340 the range of signed 32-bit integers before using fistpl. Remove
5341 checks for whether integers fit in mantissa bits.
5342 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5343 (__ieee754_powl): Test for y outside the range of signed 64-bit
5344 integers before using fistpll. Reduce 64-bit values to 63-bit
5345 ones as needed.
5346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5347 divide-by-zero is raised for zero to large negative powers.
5348 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5349 (__ieee754_powl): Test for y outside the range of signed 64-bit
5350 integers before using fistpll. Reduce 64-bit values to 63-bit
5351 ones as needed.
5352 * math/libm-test.inc (pow_test): Add more tests.
5353
eb96ffb0
L
53542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5355
5356 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5357 <stdio-common/_itoa.h>.
5358 * debug/segfault.c: Likewise.
5359 * elf/dl-cache.c: Likewise.
5360 * elf/dl-minimal.c: Likewise.
5361 * elf/dl-misc.c: Likewise.
5362 * elf/dl-sysdep.c: Likewise.
5363 * elf/dl-version.c: Likewise.
5364 * elf/rtld.c: Likewise.
5365 * hurd/hurdsock.c: Likewise.
5366 * hurd/lookup-retry.c: Likewise.
5367 * malloc/malloc.c: Likewise.
5368 * malloc/mtrace.c: Likewise.
5369 * nscd/nscd_getgr_r.c: Likewise.
5370 * nscd/nscd_getpw_r.c: Likewise.
5371 * nscd/nscd_getserv_r.c: Likewise.
5372 * posix/getopt_init.c: Likewise.
5373 * posix/wordexp.c: Likewise.
5374 * stdio-common/_itoa.c: Likewise.
5375 * stdio-common/printf_fphex.c: Likewise.
5376 * stdio-common/vfprintf.c: Likewise.
5377 * string/_strerror.c: Likewise.
5378 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5379 * sysdeps/i386/i686/hp-timing.h: Likewise.
5380 * sysdeps/mach/_strerror.c: Likewise.
5381 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5382 * sysdeps/mach/hurd/sethostid.c: Likewise.
5383 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5384 * sysdeps/mach/xpg-strerror.c: Likewise.
5385 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5386 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5387 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5388 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5389 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5390 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5391 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5392 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5393 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5394 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5395 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5396 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5397 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5398 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5399 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5400 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5401 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5402 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5403 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5404 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5405 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5406
5407 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5408
5409 * stdio-common/_itoa.h: Moved to ...
5410 * sysdeps/generic/_itoa.h: Here.
5411
5412 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5413
5414 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5415 instead of "_itoa.h" and "_itowa.h".
5416 * stdio-common/vfprintf.: Likewise.
5417
d1af992d
L
54182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5419
5420 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5421 <bits/wordsize.h>.
5422 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5423 (__signbit): Likwise.
5424 (llrintf): Likwise.
5425 (llrint): Likwise.
5426
114883e0
L
54272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5428
5429 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5430 __WORDSIZE != 64.
5431
c135cc1b
JM
54322012-03-20 Joseph Myers <joseph@codesourcery.com>
5433
5434 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5435 OVERFLOW_EXCEPTION_OK.
5436 * math/libm-test.inc ("Philosophy"): Update comment about
5437 exception testing.
5438 (OVERFLOW_EXCEPTION): Define.
5439 (OVERFLOW_EXCEPTION_OK): Likewise.
5440 (INVALID_EXCEPTION_OK): Renumber.
5441 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5442 (IGNORE_ZERO_INF_SIGN): Likewise.
5443 (test_exceptions): Handle FE_OVERFLOW.
5444 (exp10_test): Expect overflow exceptions.
5445 (exp2_test): Likewise.
5446 (expm1_test): Likewise.
5447 (nextafter_test): Likewise.
5448 (pow_test): Likewise.
5449 (scalbn_test): Likewise.
5450 (scalbln_test): Likewise.
5451
95443d88
L
54522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5453
5454 * sysdeps/x86_64/bits/atomic.h
5455 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5456 64bit integer.
5457 (atomic_exchange_acq): Likewise.
5458 (__arch_exchange_and_add_body): Likewise.
5459 (__arch_add_body): Likewise.
5460 (atomic_add_negative): Likewise.
5461 (atomic_add_zero): Likewise.
5462
490df6c4
L
54632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5464
c2722551 5465 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5466 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5467
5e52b189
L
54682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5469
5470 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5471 Check __x86_64__ instead of __WORDSIZE.
5472
a9879d4c
L
54732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5474
5475 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5476
5df98260
DM
54772012-03-19 David S. Miller <davem@davemloft.net>
5478
e1497744
DM
5479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5480
5df98260
DM
5481 * sysdeps/sparc/fpu/fenv_private.h: New file.
5482 * sysdeps/sparc/fpu/math_private.h: Use it.
5483 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5484 Remove.
5485 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5486 (libc_feholdexcept_setroundl): Remove.
5487 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5488 Remove.
5489 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5490 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5491
b4c35121
L
54922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5493
5494 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5495 int64_t instead of long int.
5496 (INSERT_WORDS64): Likwise.
5497
56965fd7
L
54982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5499
5500 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5501 _Unwind_GetCFA return to _Unwind_Ptr first.
5502
83d1aec8
JM
55032012-03-19 Joseph Myers <joseph@codesourcery.com>
5504
1897ad44
JM
5505 [BZ #13629]
5506 * math/s_clog.c: Include <float.h>.
5507 (__clog): Scale large or subnormal inputs.
5508 * math/s_clogf.c: Likewise.
5509 * math/s_clogl.c: Likewise.
5510 * math/s_clog10.c: Include <float.h>.
5511 (M_LOG10_2): Define.
5512 (__clog10): Scale large or subnormal inputs.
5513 * math/s_clog10f.c: Likewise.
5514 * math/s_clog10l.c: Likewise.
5515 * math/libm-test.inc (clog_test): Add more tests.
5516 (clog10_test): Likewise.
5517 * sysdeps/i386/fpu/libm-test-ulps: Update.
5518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5519
7726d6a9
JM
5520 [BZ #11451]
5521 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5522 x and y.
5523 * math/libm-test.inc (atan2_test): Add another test.
5524
83d1aec8
JM
5525 * Makerules (common-objdir-compile): Remove.
5526 * sysdeps/unix/Makefile (config-generated): Do not add
5527 $(unix-generated) to variable.
5528 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5529 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5530 Remove rule.
5531 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5532 Likewise.
5533 [generic bits/local_lim.h] (before-compile): Do not append to
5534 variable.
5535 [generic bits/local_lim.h] (common-generated): Likewise.
5536 [generic sys/param.h] (before-compile): Do not append to variable.
5537 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5538 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5539 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5540 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5541 include.
5542 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5543 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5544 [generic sys/param.h] ($(addprefix
5545 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5546 [generic sys/param.h] (common-generated): Do not append to
5547 variable.
5548 [generic sys/param.h] (sysdep_headers): Likewise.
5549 [generic bits/errno.h] (before-compile): Do not append to
5550 variable.
5551 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5552 rule.
5553 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5554 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5555 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5556 [generic bits/errno.h] (common-generated): Do not append to
5557 variable.
5558 [generic bits/ioctls.h] (before-compile): Do not append to
5559 variable.
5560 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5561 rule.
5562 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5563 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5564 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5565 rule.
5566 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5567 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5568 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5569 [generic bits/ioctls.h] (common-generated): Do not append to
5570 variable.
5571 [generic sys/syscall.h] (syscall.h): Remove variable.
5572 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5573 rule.
5574 [generic sys/syscall.h] (before-compile): Do not append to
5575 variable.
5576 [generic sys/syscall.h] (common-generated): Likewise.
5577 * sysdeps/unix/errnos-tmpl.c: Remove file.
5578 * sysdeps/unix/errnos.awk: Likewise.
5579 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5580 * sysdeps/unix/ioctls.awk: Likewise.
5581 * sysdeps/unix/mk-local_lim.c: Likewise.
5582 * sysdeps/unix/snarf-ioctls: Likewise.
5583
4851a949
RH
55842012-03-19 Richard Henderson <rth@twiddle.net>
5585
bd37f2ee
RH
5586 * sysdeps/i386/fpu/fenv_private.h: New file.
5587 * sysdeps/i386/fpu/math_private.h: Use it.
5588 (math_opt_barrier, math_force_eval): Remove.
5589 (libc_feholdexcept_setround_53bit): Remove.
5590 (libc_feupdateenv_53bit): Remove.
5591 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5592 (math_opt_barrier, math_force_eval): Remove.
5593 (libc_feholdexcept): Remove.
5594 (libc_feholdexcept_setround): Remove.
5595 (libc_fetestexcept, libc_fesetenv): Remove.
5596 (libc_feupdateenv_test): Remove.
5597 (libc_feupdateenv, libc_feholdsetround): Remove.
5598 (libc_feresetround): Remove.
5599
d0adc922
RH
5600 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5601 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5602
0fe0f1f8
RH
5603 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5604 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5605 (libc_feupdateenv_testl): New.
5606 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5607 (libc_feupdateenv_testf): New.
5608 (libc_feupdateenv): Use libc_feupdateenv_test.
5609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5610 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5611
eb92c487
RH
5612 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5613 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5614 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5615 (libc_feresetround_noex): New.
5616 (libc_feresetround_noexf): New.
5617 (libc_feresetround_noexl): New.
5618 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5619 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5620 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5621 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5622 SET_RESTORE_ROUND.
5623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5624 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5625 (__cos): Likewise.
5626 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5627 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5628 SET_RESTORE_ROUND_NOEX.
5629 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5630 SET_RESTORE_ROUND_NOEXF.
5631 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5632 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5633 (libc_feholdsetroundf): New.
5634 (libc_feresetround, libc_feresetroundf): New.
5635
7d2e8012
RH
5636 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5637 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5638 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5639
b4dabbb4
RH
5640 * sysdeps/generic/math_private.h: Include <fenv.h>.
5641 (default_libc_feholdexcept): New.
5642 (default_libc_feholdexcept_setround): New.
5643 (default_libc_fesetenv, default_libc_feupdateenv): New.
5644 (libc_feholdexcept): Only define if undefined.
5645 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5646 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5647 (libc_feholdexcept_setroundl): Likewise.
5648 (libc_feholdexcept_setround_53bit): Likewise.
5649 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5650 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5651 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5652 (libc_feupdateenv_53bit): Likewise.
5653 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5654 (libc_feholdexcept): Convert from macro to inline function.
5655 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5656 (libc_fesetenv, libc_feupdateenv): Likewise.
5657
4851a949
RH
5658 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5659 not previously defined.
5660 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5661 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5662 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5663 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5664 * sysdeps/ieee754/flt-32/math_private.h: New file.
5665 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5666 math_private.h below SET_FLOAT_WORD.
5667 (__isnan, __isinf_ns, __finite): Remove.
5668 (__isnanf, __isinf_nsf, __finitef): Remove.
5669
e79d442e
AS
56702012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5671
5672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5673
90b80344
DM
56742012-03-17 David S. Miller <davem@davemloft.net>
5675
5676 [BZ #6471]
5677 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5678 for 2.16.
5679
edc21804
DM
56802012-03-16 David S. Miller <davem@davemloft.net>
5681
77e927af
DM
5682 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5683 warnings.
5684
374976dd
DM
5685 [BZ #6471]
5686 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5687 properly.
5688 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5689 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5690 sysdep_routines when subdir is sysvipc.
5691 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5692 __getshmlba helper.
5693
edc21804
DM
5694 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5695
473c3ef3
L
56962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5697
5698 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5699 [__LP64__].
5700
eb0f39b6
L
57012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5702
5703 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5704 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5705 (__lround): Renamed to ...
5706 (__llround): This. Replace long int with long long int.
5707 Define lround functions as aliases of llround functions.
5708 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5709
6b6cd74b
L
57102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5711
5712 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5713 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5714 adresses to uintptr_t. Replace "long int" and "unsigned long
5715 int" with "greg_t" on va_arg.
5716
f1a77b01
L
57172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5718
5719 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5720 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5721
5722 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5723 Move e_machine check before EI_CLASS check. Handle x32
5724 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5725 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5726 SKIP_EM_IA_64 and include
5727 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5728
5729 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5730 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5731 (add_system_dir): New macro.
5732
5733 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5734 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5735
11b90b9f
JM
57362012-03-16 Joseph Myers <joseph@codesourcery.com>
5737
c36e1d23
JM
5738 [BZ #2551]
5739 [BZ #2552]
5740 [BZ #2553]
5741 [BZ #2554]
5742 [BZ #2562]
5743 [BZ #2563]
5744 [BZ #2565]
5745 [BZ #2566]
5746 [BZ #2576]
5747 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5748 (y0): Likewise.
5749 * math/w_j0f.c (j0f): Likewise.
5750 (y0f): Likewise.
5751 * math/w_j0l.c (__j0l): Likewise.
5752 (__y0l): Likewise.
5753 * math/w_j1.c (j1): Likewise.
5754 (y1): Likewise.
5755 * math/w_j1f.c (j1f): Likewise.
5756 (y1f): Likewise.
5757 * math/w_j1l.c (__j1l): Likewise.
5758 (__y1l): Likewise.
5759 * math/w_jn.c (jn): Likewise.
5760 (yn): Likewise.
5761 * math/w_jnf.c (jnf): Likewise.
5762 (ynf): Likewise.
5763 * math/w_jnl.c (__jnl): Likewise.
5764 (__ynl): Likewise.
5765 * math/libm-test.inc (j0_test): Add more tests.
5766 (j1_test): Likewise.
5767 (jn_test): Likewise. Add trailing semicolon to existing test.
5768 (y0_test): Likewise.
5769 (y1_test): Likewise.
5770 * sysdeps/i386/fpu/libm-test-ulps: Update.
5771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5772
11b90b9f
JM
5773 [BZ #13851]
5774 [BZ #13854]
5775 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5776 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5777 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5778 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5779 (__tanl): Set errno for infinite argument.
5780 * sysdeps/i386/fpu/mptan.c: Remove.
5781 * sysdeps/i386/fpu/s_tan.S: Likewise.
5782 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5783 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5784 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5785 * math/libm-test.inc (tan_test): Add more tests and enable more
5786 tests for double and long double.
5787 * sysdeps/i386/fpu/libm-test-ulps: Update.
5788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5789
6a1bd2a1
JK
57902012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5791
5792 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5793 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5794
10a803e0
RM
57952012-03-16 Roland McGrath <roland@hack.frob.com>
5796
5797 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5798 * configure.in: Use it for both main tree and add-ons.
5799 * configure: Regenerated.
5800
f196c7f7
L
58012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5802
5803 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5804
8848d99d
JM
58052012-03-16 Joseph Myers <joseph@codesourcery.com>
5806
96cbe7f4
JM
5807 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5808 in comment.
5809
8848d99d
JM
5810 [BZ #13851]
5811 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5812 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5813 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5814 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5816 infinite argument.
5817 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5818 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5819 != 0 for prec == 2.
5820 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5821 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5822 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5823 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5824 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5825 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5826 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5827 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5828 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5829 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5830 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5831 * math/libm-test.inc (cos_test): Add more tests and enable more
5832 tests for long double.
5833 (sin_test): Likewise.
5834 (sincos_test): Likewise.
5835 * sysdeps/i386/fpu/libm-test-ulps: Update.
5836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5837
dd7f4703
DM
58382012-03-16 David S. Miller <davem@davemloft.net>
5839
5840 * sysdeps/sparc/fpu/math_private.h: New file.
5841
006f1daa
DM
58422012-03-15 David S. Miller <davem@davemloft.net>
5843
c0c83bc8
DM
5844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5845 file.
e6a62e18 5846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5848 file.
e6a62e18
DM
5849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5855 sysdep routines.
5856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5857
88cb87d9
DM
5858 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5859 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5860
006f1daa 5861 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5863 sparc-ifunc.h
006f1daa 5864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5866 Likewise.
5867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5868 Likewise.
006f1daa
DM
5869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5873 Likewise.
006f1daa
DM
5874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5879 Likewise.
5880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5881 Likewise.
006f1daa
DM
5882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5888 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5889 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5900 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5901 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5902 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5903 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5906
11e0098e
AS
59072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5908
5909 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5910 scaling.
5911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5912
e85b09d0
AJ
59132012-03-15 Andreas Jaeger <aj@suse.de>
5914
5915 [BZ #13852]
5916 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5917 ieee754/flt-32 implementation for sin, cos and sincos.
5918 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5919 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5920 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5921 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5922 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5923 ieee754/flt-32 implementation for tan.
5924
5925 * math/libm-test.inc (cos_test): Enable some large input tests for
5926 float as well
5927 (sin_test): Likewise.
5928 (sincos_test): Likewise.
5929 (tan_test): Add tests for large input.
5930
5931 * sysdeps/i386/fpu/libm-test-ulps: Update.
5932
81c64153
AJ
59332012-03-15 Andreas Jaeger <aj@suse.de>
5934
5935 [BZ #13658]
5936 * math/libm-test.inc (cos_test): Add more test cases.
5937 (sin_test): Likewise.
5938 (sincos_test): Likewise.
5939
7bbfa5c6
AJ
59402012-03-15 Andreas Jaeger <aj@suse.de>
5941
5942 [BZ #13837]
5943 * math/libm-test.inc (cos_test): Add a test case for large input
5944 value.
5945 (sin_test): Likewise.
5946 (sincos_test): Likewise.
5947
59482012-03-15 Andreas Jaeger <aj@suse.de>,
5949 Joseph Myers <joseph@codesourcery.com>
5950
5951 [BZ #13658]
0671f479 5952 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5953 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5954 * sysdeps/i386/fpu/branred.c: Likewise.
5955 * sysdeps/i386/fpu/dosincos.c: Likewise.
5956 * sysdeps/i386/fpu/mpa.c: Likewise.
5957 * sysdeps/i386/fpu/s_cos.S: Likewise.
5958 * sysdeps/i386/fpu/s_sin.S: Likewise.
5959 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5960 * sysdeps/i386/fpu/sincos32.c: Likewise.
5961
5962 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5963 Define.
5964 (libc_feupdateenv_53bit): Define.
5965 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5966 Define.
5967 (libc_feupdateenv_53bit): Define.
5968
5969 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5970 53 bit (without extend i386 double precision).
5971
5972 * math/libm-test.inc (sincos_test): Add tests for large input.
5973 (sin): Likewise.
5974 (cos): Likewise.
5975
5976 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5977
9cad04ea
AS
59782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5979
5980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5981
f7062b9a
DM
59822012-03-15 David S. Miller <davem@davemloft.net>
5983
5984 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5985 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5986 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5987 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6000 file.
f7062b9a 6001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6003 file.
f7062b9a 6004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6006 file.
f7062b9a 6007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6009 file.
f7062b9a
DM
6010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6011 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6012 fmin/fmax sysdep routines.
6013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6014
7bd951ff
DM
60152012-03-14 David S. Miller <davem@davemloft.net>
6016
559398ab
DM
6017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6022 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6023 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6024 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6040 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6043 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6044 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6045 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6046 routines.
6047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6048 file.
559398ab 6049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6051 file.
559398ab 6052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6054 file.
559398ab 6055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6057 file.
559398ab 6058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6060 file.
559398ab 6061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6063 file.
6064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6065 file.
6066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6067 file.
6068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6069 file.
6070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6071 New file.
6072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6073 file.
6074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6075 file.
559398ab 6076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6078 file.
559398ab 6079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6081 file.
559398ab 6082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6084 file.
559398ab 6085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6087 VIS3 routines.
559398ab
DM
6088
6089 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6090 New file.
6091
5a1c1e32
DM
6092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6093
eae47a36
DM
6094 * sysdeps/sparc/configure.in: New file.
6095 * sysdeps/sparc/configure: Generate.
6096 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6097 * configure: Regenerate.
6098 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6099 * config.make.in (have-as-vis3): New.
6100 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6101 available use -Av9d instead of -Av9a.
6102 * sysdeps/sparc/sparc64/Makefile: Likewise.
6103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6105 New file.
6106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6107 file.
6108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6109 New file.
6110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6111 file.
eae47a36
DM
6112 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6116 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6117
c0c83bc8
DM
6118 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6119 fzeros/fnegs to load 0x80000000 into a float register instead of
6120 using the stack.
7bd951ff
DM
6121 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6122
bd951ccb
JM
61232012-03-14 Joseph Myers <joseph@codesourcery.com>
6124
6125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6126 bits/syscall.h.
6127 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6128 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6129 ($(inst_includedir)/bits/syscall.h): Remove rule.
6130 ($(objpfx)bits/syscall.d): Include instead of
6131 $(objpfx)syscall-list.d.
6132 (generated): Change syscall-list.h and syscall-list.d to
6133 bits/syscall.h and bits/syscall.d.
6134
bb4e6db2
RM
61352012-03-14 Roland McGrath <roland@hack.frob.com>
6136
6137 [BZ #13846]
6138 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6139
aa4a2ae1
JM
61402012-03-14 Joseph Myers <joseph@codesourcery.com>
6141
e456826d
JM
6142 [BZ #13841]
6143 * math/s_csqrt.c: Include <float.h>.
6144 (__csqrt): Scale large or subnormal inputs.
6145 * math/s_csqrtf.c: Likewise.
6146 * math/s_csqrtl.c: Likewise.
6147 * math/libm-test.inc (csqrt_test): Add more tests.
6148 * sysdeps/i386/fpu/libm-test-ulps: Update.
6149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6150
aa4a2ae1
JM
6151 [BZ #13840]
6152 * math/libm-test.inc (hypot_test): Add more tests.
6153
7c10fd35
DM
61542012-03-13 David S. Miller <davem@davemloft.net>
6155
6156 [BZ #13840]
6157 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6158 double-precision for the calculation instead of scaling.
6159
f453b98b
JM
61602012-03-13 Joseph Myers <joseph@codesourcery.com>
6161
6162 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6163 manipulate bits before adding and subtracting TWO52[sx].
6164 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6165 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6166 Likewise.
6167 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6168
09a3453f
DM
61692012-03-13 David S. Miller <davem@davemloft.net>
6170
8e59da90
DM
6171 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6172 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6174 rtld-global-offsets.h
6175 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6176
2a8ab7f2
DM
6177 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6178 large parameters.
6179
10f62770
DM
6180 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6181
5f0bdb18
DM
6182 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6183 'err' in the ifdef scope in which it is actually used.
6184
09a3453f
DM
6185 * nss/nss_db/db-init.c: Include string.h
6186
b4b2eb5e
DM
61872012-03-12 David S. Miller <davem@davemloft.net>
6188
98bb2f1c
DM
6189 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6190 masking out of the most significant byte of random value used.
6191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6192 Fix coding style in previous change.
6193
b4b2eb5e
DM
6194 * sysdeps/unix/sysv/linux/kernel-features.h
6195 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6196 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6197 expression.
6198 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6199 later.
6200
6e226b09
DM
62012012-03-11 David S. Miller <davem@davemloft.net>
6202
a1bcbd40
DM
6203 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6204 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6205 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6206 for 'resultvar' otherwise things get truncated on 64-bit.
6207
cb9d6174
DM
6208 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6209 Fix masking out of the most significant byte of random value used.
6210
6e226b09
DM
6211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6212
058c132d
AS
62132012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6214
6215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6216
2d2cd515
DM
62172012-03-09 David S. Miller <davem@davemloft.net>
6218
6219 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6220 variables with appropriate CPP guards.
6221 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6222 frame pointer, not the stack pointer. Correct layout comments. Fix test
6223 on resulting framesize and the management of the outregs buffer for pltexit.
6224 Preserve floating point return values across _dl_call_pltexit call.
6225 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6226 framesize and the management of the outregs buffer for pltexit.
6227 Preserve floating point return values across _dl_call_pltexit
6228 call.
6229 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6230 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6231 (print_exit): Fix format string for return register value.
6232
9a07f9d0
JM
62332012-03-10 Joseph Myers <joseph@codesourcery.com>
6234
6235 * sunrpc/Makefile (others): Add rpcgen.
6236 ($(objpfx)rpcgen): Remove special build rule and dependency on
6237 libc.
6238 * sunrpc/rpcgen.c: New file.
6239
547b5e30
PE
62402012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6241
c524201a
PE
6242 [BZ #13673]
6243 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6244 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6245 * sysdeps/i386/crti.S: Likewise.
6246 * sysdeps/i386/crtn.S: Likewise.
6247 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6248 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6249 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6250 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6251 * sysdeps/sh/crti.S: Likewise.
6252 * sysdeps/sh/crtn.S: Likewise.
6253 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6254
7b6235f2
PE
6255 [BZ #13673]
6256 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6257 with URL.
6258 * locale/programs/locfile-kw.gperf: Likewise.
6259 * locale/programs/charmap-kw.h: Regenerated.
6260 * locale/programs/locfile-kw.h: Likewise.
6261
547b5e30
PE
6262 [BZ #13673]
6263 * intl/plural.y: Replace FSF snail mail address with URL.
6264 * intl/plural.c: Regenerated.
6265
5f0a5dae
RH
62662012-03-09 Richard Henderson <rth@twiddle.net>
6267
6268 * include/math_private.h: Remove file.
6269 * math/math_private.h: Move file ...
6270 * sysdeps/generic/math_private.h: ... here.
6271
b8c03620
RH
6272 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6273 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6274 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6275
4e234f5d 6276 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6277 and <math_private.h>.
6278 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6279 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6280 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6281 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6282 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6283 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6284 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6285 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6286 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6287 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6295 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6296 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6297 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6299 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6300 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6302 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6303 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6304 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6305 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6307 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6308 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6309 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6310 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6311 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6312 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6313 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6314 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6315 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6316 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6318 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6319 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6320 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6321 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6323 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6324 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6325 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6326 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6327 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6328 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6329 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6330 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6331 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6332 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6333 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6334 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6335 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6336 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6337 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6339 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6340 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6341 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6342 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6346 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6347 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6348 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6350 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6351 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6352 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6356 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6364 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6366 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6367 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6368 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6369 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6370 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6371 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6372 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6373 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6374 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6375 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6376 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6377 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6378 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6379 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6380 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6381 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6382 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6383 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6384 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6385 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6386 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6388 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6389 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6390 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6391 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6392 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6393 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6394 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6395 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6396 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6397 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6398 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6399 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6400 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6401 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6402 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6403 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6404 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6405 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6406 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6407 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6408 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6409 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6410 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6411 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6412 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6413 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6414 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6415 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6416 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6417 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6418 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6419 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6420 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6421 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6422 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6423 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6424 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6425 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6426 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6427 * sysdeps/ieee754/k_standard.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6495 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6501 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6502 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6505 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6507 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6540 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6543 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6547 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6548 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6550 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6551 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6553 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6554 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6555 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6556 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6559 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6560 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6561 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6562 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6563 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6564 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6565 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6567 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6568 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6571 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6572 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6576 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6577 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6578 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6580 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6585 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6588 * sysdeps/ieee754/s_lib_version.c: Likewise.
6589 * sysdeps/ieee754/s_matherr.c: Likewise.
6590 * sysdeps/ieee754/s_signgam.c: Likewise.
6591 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6592 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6593 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6594 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6595 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6596 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6597 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6598 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6599 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6600 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6601 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6602 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6603 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6604 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6605 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6606 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6607 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6608 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6609 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6612
1991fa03
JM
66132012-03-09 Joseph Myers <joseph@codesourcery.com>
6614
6615 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6616 * sunrpc/rpc_main.c: Likewise.
6617 * sunrpc/rpc_svcout.c: Likewise.
6618
60d6f5a6
DM
66192012-03-09 David S. Miller <davem@davemloft.net>
6620
6621 * include/math_private.h: New file.
6622
4962050e
JM
66232012-03-09 Joseph Myers <joseph@codesourcery.com>
6624
02a6f887
JM
6625 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6626 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6627 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6628 from <bits/socket_type.h>.
6629 (enum __socket_type): Don't define here.
6630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6632 bits/socket_type.h.
6633
c6e013c1
JM
6634 [BZ #13566]
6635 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6636 checking __USE_GNU.
6637
4962050e
JM
6638 * Makerules ($(inst_includedir)/%.h): New rule.
6639 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6640 (install-others): Remove variable setting.
6641 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6642
38842f45
RH
66432012-03-08 Richard Henderson <rth@twiddle.net>
6644
67bb6da6
RH
6645 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6646 from macro to inline function; merge with the
6647 !__LIBC_INTERNAL_MATH_INLINES version.
6648 (__ieee754_sqrtf): Likewise.
6649
15194b4b
RH
6650 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6651 to inline function.
6652 (__rintf, __floor, __floorf): Likewise.
6653
64e21ede
RH
6654 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6655 macro to inline function.
6656 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6657
38842f45
RH
6658 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6659 not <math/math_private.h>.
6660
c64bf5fe
DM
66612012-03-08 David S. Miller <davem@davemloft.net>
6662
6663 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6664 copyright year.
6665 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6666
82d86f28
TS
66672012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6668
6669 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6670 normalization.
6671 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6672 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6673
aea5d727
UD
66742012-03-08 Ulrich Drepper <drepper@gmail.com>
6675
6676 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6677 be defined individually, they must be defined as a block. Define
6678 S for printing a string instead of hidint the different by using a
6679 macro for adding the 'l'.
6680 * stdio-common/tst-fphex-wide.c: Adjust.
6681
70bca0a3
MP
66822012-03-07 Marek Polacek <polacek@redhat.com>
6683
6684 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6685
65b81130
MP
66862012-03-08 Marek Polacek <polacek@redhat.com>
6687
6688 [BZ #13806]
6689 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6690 * stdio-common/tst-fphex.c: Define a few macros to make the
6691 test reusable. Use them.
6692 * stdio-common/tst-fphex-wide.c: New file.
6693
07037eeb
JM
66942012-03-08 Joseph Myers <joseph@codesourcery.com>
6695
a7a93d50
JM
6696 [BZ #6911]
6697 * manual/macros.texi (gnusystems): New macro.
6698 (nongnusystems): Likewise.
6699 (gnulinuxhurdsystems): Likewise.
6700 (gnuhurdsystems): Likewise..
6701 (gnulinuxsystems): Likewise.
6702 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6703 variants of the GNU system, not "GNU system".
6704 * manual/conf.texi: Likewise.
6705 * manual/errno.texi: Likewise. Update example of errno macro
6706 expansion.
6707 * manual/filesys.texi: Likewise.
6708 (getumask): Document as specific to GNU/Hurd.
6709 * manual/install.texi: Likewise. Reword some references to
6710 GNU/Linux.
6711 * manual/intro.texi: Likewise.
6712 * manual/io.texi: Likewise.
6713 (File Name Portability): Detail which constraints are inapplicable
6714 to all GNU systems and which are only inapplicable to GNU/Hurd.
6715 * manual/job.texi: Likewise.
6716 * manual/llio.texi: Likewise.
6717 (O_NOCTTY): Document as present on GNU/Linux.
6718 * manual/maint.texi: Likewise.
6719 * manual/memory.texi: Likewise.
6720 * manual/pattern.texi: Likewise.
6721 * manual/pipe.texi: Likewise.
6722 * manual/process.texi: Likewise.
6723 * manual/resource.texi: Likewise.
6724 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6725 child on GNU/Hurd.
6726 * manual/setjmp.texi: Likewise.
6727 * manual/signal.texi: Likewise.
6728 * manual/startup.texi: Likewise.
6729 * manual/stdio.texi: Likewise.
6730 * manual/terminal.texi: Likewise.
6731 (ONLCR): Document as POSIX.
6732 (OXTABS): Document availability on GNU/Linux as XTABS.
6733 (ONOEOT): Document availability separately from other bits.
6734 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6735 * manual/time.texi: Likewise.
6736 * manual/users.texi: Likewise.
6737 * INSTALL: Regenerated.
6738 * sysdeps/gnu/errlist.c: Regenerated.
6739
07037eeb
JM
6740 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6741 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6742 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6743 puts.
6744 * configure: Regenerated.
6745
d1d3431a
JM
67462012-03-07 Joseph Myers <joseph@codesourcery.com>
6747
af6a1e37
JM
6748 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6749 default includes instead of AC_HEADER_CHECK.
6750 * sysdeps/i386/configure: Regenerated.
6751
d1d3431a
JM
6752 [BZ #10716]
6753 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6754 * math/s_cacoshf.c (__cacoshf): Likewise.
6755 * math/s_cacoshl.c (__cacoshl): Likewise.
6756 * math/s_casinh.c (__casinh): Set signs of result from argument.
6757 * math/s_casinhf.c (__casinhf): Likewise.
6758 * math/s_casinhl.c (__casinhl): Likewise.
6759 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6760 (casinh_test): Add more tests.
6761 * sysdeps/i386/fpu/libm-test-ulps: Update.
6762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6763
482ff4da
UD
67642012-03-07 Ulrich Drepper <drepper@gmail.com>
6765
872fda05
UD
6766 * po/zh_TW.po: Update from translation team.
6767
a4300c7a
UD
6768 * login/Makefile (distribute): Remove variable.
6769 * catgets/Makefile: Likewise.
6770 * mach/Makefile: Likewise.
6771 * malloc/Makefile: Likewise.
6772 * misc/Makefile: Likewise.
6773 * iconv/Makefile: Likewise.
6774 * nscd/Makefile: Likewise.
6775 * hurd/Makefile: Likewise.
6776 * manual/Makefile: Likewise.
6777 * locale/Makefile: Likewise.
6778 * intl/Makefile: Likewise.
6779 * conform/Makefile: Likewise.
6780 * nss/Makefile: Likewise.
6781 * time/Makefile: Likewise.
6782 * soft-fp/Makefile: Likewise.
6783 * dirent/Makefile: Likewise.
6784 * gmon/Makefile: Likewise.
6785 * po/Makefile: Likewise.
6786 * rt/Makefile: Likewise.
6787 * socket/Makefile: Likewise.
6788 * math/Makefile: Likewise.
6789 * signal/Makefile: Likewise.
6790 * debug/Makefile: Likewise.
6791 * elf/Makefile: Likewise.
6792 * timezone/Makefile: Likewise.
6793 * stdlib/Makefile: Likewise.
6794 * iconvdata/Makefile: Likewise.
6795 * sunrpc/Makefile: Likewise.
6796 * io/Makefile: Likewise.
6797 * argp/Makefile: Likewise.
6798 * inet/Makefile: Likewise.
6799 * hesiod/Makefile: Likewise.
6800 * grp/Makefile: Likewise.
6801 * csu/Makefile: Likewise.
6802 * wctype/Makefile: Likewise.
6803 * crypt/Makefile: Likewise.
6804 * libio/Makefile: Likewise.
6805 * string/Makefile: Likewise.
6806 * nis/Makefile: Likewise.
6807 * resolv/Makefile: Likewise.
6808 * stdio-common/Makefile: Likewise.
6809 * wcsmbs/Makefile: Likewise.
6810 * dlfcn/Makefile: Likewise.
6811 * posix/Makefile: Likewise.
6812
3b7c4e74 6813 [BZ #6959]
482ff4da
UD
6814 * timezone/Makefile: Don't install timezone files, just the programs
6815 and scripts.
6816
f72ed77d
UD
68172012-03-06 Ulrich Drepper <drepper@gmail.com>
6818
a000466f
UD
6819 * nss/databases.def: Add missing gshadow entry.
6820
f72ed77d
UD
6821 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6822
a53b7a4e
MP
68232012-03-06 Marek Polacek <polacek@redhat.com>
6824
6825 [BZ #13726]
6826 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6827 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6828 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6829 * stdio-common/tst-long-dbl-fphex.c: New file.
6830
e9258400
DM
68312012-03-06 David S. Miller <davem@davemloft.net>
6832
6833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6834 (set_obp_int): New function.
6835 (get_obp_int): New function.
6836 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6837 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6838 Avoid unused variable warnings on 'val' and use builtin_expect.
6839 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6840 __builtin_expect.
e9258400
DM
6841 (INLINE_CLONE_SYSCALL): Likewise.
6842
3bd2c723
DM
68432012-03-05 David S. Miller <davem@davemloft.net>
6844
6845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6846
bbb78d03
AS
68472012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6848
884c5db4
AS
6849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6850
bbb78d03
AS
6851 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6852 only for |x| >= 40.
6853 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6854
1c9f702a 68552012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6856
6857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6858 Replace gettimeofday with __vdso_gettimeofday.
6859
7be16f82
RM
6860 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6861 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6862 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6863
6864 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6865 time with __vdso_time.
6866
ed58a00f
JM
68672012-03-05 Joseph Myers <joseph@codesourcery.com>
6868
6869 * manual/lang.texi (size_t): Note types to which size_t may be
6870 equivalent with the GNU C Library, but do not describe when
6871 differences between them are significant.
6872
30ee4ced
AJ
68732012-03-05 Andreas Jaeger <aj@suse.de>
6874
6875 * sysdeps/i386/fpu/libm-test-ulps: Update.
6876
b7cd39e8
JM
68772012-03-05 Joseph Myers <joseph@codesourcery.com>
6878
6879 [BZ #3976]
6880 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6881 (__ieee754_pow): Save and restore rounding mode and use
6882 round-to-nearest for main computations.
6883 * math/libm-test.inc (pow_test_tonearest): New function.
6884 (pow_test_towardzero): Likewise.
6885 (pow_test_downward): Likewise.
6886 (pow_test_upward): Likewise.
6887 (main): Call the new functions.
6888 * sysdeps/i386/fpu/libm-test-ulps: Update.
6889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6890
6891 [BZ #3976]
6892 * math/libm-test.inc (cosh_test_tonearest): New function.
6893 (cosh_test_towardzero): Likewise.
6894 (cosh_test_downward): Likewise.
6895 (cosh_test_upward): Likewise.
6896 (sinh_test_tonearest): Likewise.
6897 (sinh_test_towardzero): Likewise.
6898 (sinh_test_downward): Likewise.
6899 (sinh_test_upward): Likewise.
6900 (main): Call the new functions.
6901 * sysdeps/i386/fpu/libm-test-ulps: Update.
6902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6903
6c6a98c9
TV
69042012-03-05 Tom de Vries <tom@codesourcery.com>
6905
6906 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6907 default stack guard is set in last bytes.
6908 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6909
21bb2d2e 69102012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6911
21bb2d2e 6912 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6913
21bb2d2e
AJ
6914 [BZ #13656]
6915 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6916 possibly allocate from heap instead of stack.
6917 * stdio-common/bug-vfprintf-nargs.c: New file.
6918 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6919
c6922934
AS
69202012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6921
6922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6923
bc957d53
MP
69242012-03-03 Marek Polacek <polacek@redhat.com>
6925
6926 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6927 * math/math_private.h: Likewise.
6928 * stdlib/tst-strtod.c: Likewise.
6929 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6930 * sysdeps/x86_64/bits/atomic.h: Likewise.
6931
6358490d
DM
69322012-03-02 David S. Miller <davem@davemloft.net>
6933
6934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6938 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6939 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6940 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6941 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6942
01ae168d
RM
69432012-03-02 Roland McGrath <roland@hack.frob.com>
6944
d9a17c07
RM
6945 [BZ #13792]
6946 * manual/examples/README: New file, says the example source files
6947 can be used under GPL>=2.
6948 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6949 line containing just "*/".
6950 * manual/examples/add.c: Add copyright header (GPL>=2).
6951 * manual/examples/argp-ex1.c: Likewise.
6952 * manual/examples/argp-ex2.c: Likewise.
6953 * manual/examples/argp-ex3.c: Likewise.
6954 * manual/examples/argp-ex4.c: Likewise.
6955 * manual/examples/atexit.c: Likewise.
6956 * manual/examples/db.c: Likewise.
6957 * manual/examples/dir.c: Likewise.
6958 * manual/examples/dir2.c: Likewise.
6959 * manual/examples/execinfo.c: Likewise.
6960 * manual/examples/filecli.c: Likewise.
6961 * manual/examples/filesrv.c: Likewise.
6962 * manual/examples/fmtmsgexpl.c: Likewise.
6963 * manual/examples/genpass.c: Likewise.
6964 * manual/examples/inetcli.c: Likewise.
6965 * manual/examples/inetsrv.c: Likewise.
6966 * manual/examples/isockad.c: Likewise.
6967 * manual/examples/longopt.c: Likewise.
6968 * manual/examples/memopen.c: Likewise.
6969 * manual/examples/memstrm.c: Likewise.
6970 * manual/examples/mkfsock.c: Likewise.
6971 * manual/examples/mkisock.c: Likewise.
6972 * manual/examples/mygetpass.c: Likewise.
6973 * manual/examples/pipe.c: Likewise.
6974 * manual/examples/popen.c: Likewise.
6975 * manual/examples/rprintf.c: Likewise.
6976 * manual/examples/search.c: Likewise.
6977 * manual/examples/select.c: Likewise.
6978 * manual/examples/setjmp.c: Likewise.
6979 * manual/examples/sigh1.c: Likewise.
6980 * manual/examples/sigusr.c: Likewise.
6981 * manual/examples/stpcpy.c: Likewise.
6982 * manual/examples/strdupa.c: Likewise.
6983 * manual/examples/strftim.c: Likewise.
6984 * manual/examples/strncat.c: Likewise.
6985 * manual/examples/subopt.c: Likewise.
6986 * manual/examples/swapcontext.c: Likewise.
6987 * manual/examples/termios.c: Likewise.
6988 * manual/examples/testopt.c: Likewise.
6989 * manual/examples/testpass.c: Likewise.
6990 * manual/examples/timeval_subtract.c: Likewise.
6991
01ae168d
RM
6992 [BZ #13792]
6993 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6994 function to ...
6995 * manual/timeval_subtract.c.texi: ... here, new file.
6996
49efa33d
DM
69972012-03-02 David S. Miller <davem@davemloft.net>
6998
6999 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7000
28afd92d
JM
70012012-03-02 Joseph Myers <joseph@codesourcery.com>
7002
804360ed
JM
7003 [BZ #3976]
7004 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7005 (__sin): Save and restore rounding mode and use round-to-nearest
7006 for all computations.
7007 (__cos): Save and restore rounding mode and use round-to-nearest
7008 for all computations.
7009 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7010 <fenv.h>.
7011 (tan): Save and restore rounding mode and use round-to-nearest for
7012 all computations.
7013 * math/libm-test.inc (cos_test_tonearest): New function.
7014 (cos_test_towardzero): Likewise.
7015 (cos_test_downward): Likewise.
7016 (cos_test_upward): Likewise.
7017 (sin_test_tonearest): Likewise.
7018 (sin_test_towardzero): Likewise.
7019 (sin_test_downward): Likewise.
7020 (sin_test_upward): Likewise.
7021 (tan_test_tonearest): Likewise.
7022 (tan_test_towardzero): Likewise.
7023 (tan_test_downward): Likewise.
7024 (tan_test_upward): Likewise.
7025 (main): Call the new functions.
7026 * sysdeps/i386/fpu/libm-test-ulps: Update.
7027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7028
a6d06d7b
JM
7029 [BZ #10135]
7030 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7031 small n, then large n, before computing and testing k+n.
7032 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7034 Likewise.
7035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7036 Likewise.
7037 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7038 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7039 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7040 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7041 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7042 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7044 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7045 * math/libm-test.inc (scalbn_test): Add more tests.
7046 (scalbln_test): Likewise.
7047
07e12bb3
JM
7048 * manual/filesys.texi (mode_t): Describe constraints on size and
7049 signedness, not exact equivalence to a particular type.
7050 (ino_t): Likewise.
7051 (ino64_t): Likewise.
7052 (dev_t): Likewise.
7053 (nlink_t): Likewise.
7054 (blkcnt_t): Likewise.
7055 (blkcnt64_t): Likewise.
7056 * manual/llio.texi (off_t): Likewise.
7057
28afd92d
JM
7058 [BZ #3976]
7059 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7060 (__ieee754_exp): Save and restore rounding mode and use
7061 round-to-nearest for all computations.
7062 * math/libm-test.inc (exp_test_tonearest): New function.
7063 (exp_test_towardzero): Likewise.
7064 (exp_test_downward): Likewise.
7065 (exp_test_upward): Likewise.
7066 (main): Call the new functions.
7067 * sysdeps/i386/fpu/libm-test-ulps: Update.
7068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7069
b1eeb65d
CD
70702012-03-01 Chris Demetriou <cgd@google.com>
7071
7072 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7073 have predictable order.
7074
53362a4b
DM
70752012-03-01 David S. Miller <davem@davemloft.net>
7076
3c969083
DM
7077 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7078
759707de
DM
7079 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7080 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7081 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7082 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7083
dfdb8ff2
DM
7084 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7085 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7086 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7088 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7089 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7090 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7091 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7092 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7093
ead89f96
DM
7094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7095
7f66bd07
DM
7096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7097 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7098 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7099
53362a4b
DM
7100 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7101 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7102 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7103 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7104 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7106 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7107 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7108 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7109 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7110 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7113 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7114 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7115 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7116 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7117 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7118 * sysdeps/sparc/elf/configure: Regenerated.
7119
7b1902cb
JM
71202012-03-01 Joseph Myers <joseph@codesourcery.com>
7121
bec039bc
JM
7122 * configure.in (AS, LD): Require binutils 2.20 or later.
7123 * configure: Regenerated.
7124 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7125 as required minimum version.
7126 * INSTALL: Regenerated.
7127
7b1902cb
JM
7128 [BZ #2541]
7129 [BZ #4108]
7130 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7131 before squaring exponent.
7132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7133 bottom long double and 27 bits of top long double before squaring
7134 exponent.
7135 * math/libm-test.inc (erfc_test): Add more tests.
7136 * sysdeps/i386/fpu/libm-test-ulps: Update.
7137 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7139
f775c276
KT
71402012-03-01 Kai Tietz <ktietz@redhat.com>
7141
7142 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7143 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7144 containing bit-fields.
7145 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7146 * soft-fp/single.h (_FP_UNION_S): Likewise.
7147 * soft-fp/double.h (_FP_UNION_D): Likewise.
7148
5b8a4d4a
JM
71492012-02-29 Joseph Myers <joseph@codesourcery.com>
7150
0bab47b6
JM
7151 [BZ #13786]
7152 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7153 not include ../strcmp.S.
7154 [USE_AS_STRNCASECMP_L]: Likewise.
7155 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7156 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7157 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7158 (__strncasecmp_l_ia32): Define as alias to
7159 __strncasecmp_l_nonascii.
7160
0fcad3e2
JM
7161 [BZ #5794]
7162 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7163 * sysdeps/i386/fpu/libm-test-ulps: Update.
7164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7165
5b8a4d4a
JM
7166 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7168
8fdceb2e
JL
71692012-02-29 Jeff Law <law@redhat.com>
7170
7171 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7172 out of bounds read.
7173
1f393a11
MP
71742012-02-29 Marek Polacek <polacek@redhat.com>
7175
7176 [BZ #13706]
7177 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7178 * elf/Makefile: Add rules to run tst-unused-dep.out.
7179
8847f037
DM
71802012-02-28 David S. Miller <davem@davemloft.net>
7181
7182 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7183 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7184 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7185 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7186 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7187 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7188
169d7f11
JM
71892012-02-29 Joseph Myers <joseph@codesourcery.com>
7190
7191 * math/libm-test.inc (llround_test): Move one test from
7192 lround_test. Use TEST_f_L in moved test.
7193 (lround_test): Move misplaced test to llround_test. Add testcase
7194 from bug 2561.
7195
39adf059
UD
71962012-02-28 Ulrich Drepper <drepper@gmail.com>
7197
7198 * sysdeps/x86_64/fpu/e_expf.S: New file.
7199 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7200
71b5d1c5
SB
72012012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7202
7203 [BZ #13637]
7204 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7205 of remain_len that may cause incomplete multi-byte character and
7206 false match.
7207 * posix/bug-regex33.c: New file.
7208 * posix/Makefile (tests): Add bug-regex33.
7209
1f77f049
JM
72102012-02-28 Joseph Myers <joseph@codesourcery.com>
7211
7212 * manual/macros.texi: New file.
7213 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7214 * manual/libc.texinfo: Include macros.texi.
7215 * manual/creatute.texi: Likewise.
7216 * manual/install.texi: Likewise.
7217 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7218 @glibcadj{} in references to the GNU C Library.
7219 * manual/charset.texi: Likewise.
7220 * manual/conf.texi: Likewise.
7221 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7222 when not using those macros.
7223 * manual/creature.texi: Likewise.
7224 * manual/crypt.texi: Likewise.
7225 * manual/errno.texi: Likewise.
7226 * manual/filesys.texi: Likewise.
7227 * manual/header.texi: Likewise.
7228 * manual/install.texi: Likewise.
7229 * manual/intro.texi: Likewise.
7230 * manual/io.texi: Likewise.
7231 * manual/job.texi: Likewise.
7232 * manual/lang.texi: Likewise.
7233 * manual/libc.texiinfo: Likewise.
7234 * manual/llio.texi: Likewise.
7235 * manual/locale.texi: Likewise.
7236 * manual/maint.texi: Likewise.
7237 * manual/math.texi: Likewise.
7238 * manual/memory.texi: Likewise.
7239 * manual/message.texi: Likewise.
7240 * manual/nss.texi: Likewise.
7241 * manual/pattern.texi: Likewise.
7242 * manual/process.texi: Likewise.
7243 * manual/resource.texi: Likewise.
7244 * manual/search.texi: Likewise.
7245 * manual/setjmp.texi: Likewise.
7246 * manual/signal.texi: Likewise.
7247 * manual/socket.texi: Likewise.
7248 * manual/startup.texi: Likewise.
7249 * manual/stdio.texi: Likewise.
7250 * manual/string.texi: Likewise.
7251 * manual/sysinfo.texi: Likewise.
7252 * manual/syslog.texi: Likewise.
7253 * manual/terminal.texi: Likewise.
7254 * manual/time.texi: Likewise.
7255 * manual/users.texi: Likewise.
7256 * INSTALL: Regenerated.
7257 * NOTES: Regenerated.
d40c5d54 7258 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7259
450bf206
AS
72602012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7261
7262 * include/dirent.h: Include <dirstream.h> before
7263 <dirent/dirent.h>.
7264
741a235b
DM
72652012-02-28 David S. Miller <davem@davemloft.net>
7266
7267 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7268 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7269 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7270 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7271
d6b5aa58
DM
72722012-02-27 David S. Miller <davem@davemloft.net>
7273
1aff59a3
DM
7274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7276 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7277 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7278
d6b5aa58
DM
7279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7280 frame pointer instead of stack pointer relative arg slot.
7281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7282 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7283 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7284
433f48bf
CD
72852012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7286
7287 [BZ #3992]
7288 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7289
d674b76d
DM
72902012-02-27 David S. Miller <davem@davemloft.net>
7291
7292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7296 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7297 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7298 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7299 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7300
0e7727f7
JM
73012012-02-27 Joseph Myers <joseph@codesourcery.com>
7302
7303 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7304 later. Allow versions 5-9.
43be4ca2 7305 * configure: Regenerated.
0e7727f7
JM
7306 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7307 required minimum version and 4.6 as recommended version. Do not
7308 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7309 * INSTALL: Regenerated.
0e7727f7 7310
a78bc654
DM
73112012-02-27 David S. Miller <davem@davemloft.net>
7312
428d5830
DM
7313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7317 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7318 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7319 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7320 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7321
a78bc654
DM
7322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7323 manipulate bits before adding and subtracting TWO112[sx].
7324 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7325
4579f81c
RM
73262012-02-27 Roland McGrath <roland@hack.frob.com>
7327
36c8acb4
RM
7328 [BZ #13775]
7329 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7330 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7331 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7332 being in POSIX, because they are in 1003.1-2008.
7333
84ad622b
RM
7334 * rt/tst-aio.c: Include <fcntl.h>.
7335 * rt/tst-aio7.c: Likewise.
7336 * rt/tst-aio64.c: Likewise.
7337
4579f81c
RM
7338 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7339
abd923db
JM
73402012-02-27 Joseph Myers <joseph@codesourcery.com>
7341
7342 * manual/install.texi (--with-headers): Describe headers as
7343 interface headers, not private headers.
7344 (Specific advice for GNU/Linux systems): Describe use of headers
7345 from "make headers_install", not private headers from older
7346 kernels.
43be4ca2 7347 * INSTALL: Regenerated.
abd923db
JM
7348 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7349 Change to 2.6.19.
7350 * sysdeps/unix/sysv/linux/configure: Regenerated.
7351
6664049b
JM
7352 * manual/llio.texi (fclean): Remove documentation.
7353
bb8b6697
JM
7354 * manual/Makefile (libc-texi-generated): New variable. Include
7355 version.texi.
7356 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7357 $(libc-texi-generated), not duplicated list of files.
7358 (version.texi, stamp-version): New rules.
7359 (realclean): Remove $(libc-texi-generated), not individual files
7360 from that list. Do not remove dir-add.texinfo.
7361 * manual/libc.texinfo: Comment out uses of edition numbers and
7362 references to printed manual. Remove last-updated dates.
7363 (EDITION): Comment out.
7364 (ISBN): Likewise.
7365 (VERSION, UPDATED): Remove.
7366 (version.texi): Include.
7367
12e5c3b9
AS
73682012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7369
7370 * sysdeps/posix/spawni.c: Include <signal.h>.
7371 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7372 * sysdeps/pthread/aio_fsync.c: Likewise.
7373
4efeffc1 73742012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7375
ba63ba08
UD
7376 * conform/Makefile (tests): Run only when not cross-compiling and
7377 when fast-check is not defined.
7378
d94a4670
UD
7379 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7380 * conform/data/limits.h-data: Fixes for POSIX2008.
7381 * conform/run-conformtest.sh: Run all tests.
7382 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7383 headers.
7384 * include/bits/dlfcn.h: Likewise.
7385 * include/langinfo.h: Likewise.
7386 * include/monetary.h: Likewise.
7387 * include/sys/poll.h: Likewise.
7388
7389 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7390 for __USE_GNU.
7391 * posix/spawn.h: Define __need_sigset_t.
7392 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7393 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7394 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7395 to get sigevent_t only.
7396 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7397 only for __USE_GNU.
7398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7399 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7400 process_vm_writev only for __USE_GNU.
7401 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7402
7403 * conform/Makefile: For now ignore errors from run-conformtest.
7404 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7405 POSIX to avoid namespace pollution. Don't prepend headers.
7406 * conform/data/aio.h-data: Fixes for POSIX testing.
7407 * conform/data/fcntl.h-data: Likewise.
7408 * conform/data/glob.h-data: Likewise.
7409 * conform/data/grp.h-data: Likewise.
7410 * conform/data/pthread.h-data: Likewise.
7411 * conform/data/pwd.h-data: Likewise.
7412 * conform/data/signal.h-data: Likewise.
7413 * conform/data/spawn.h-data: Likewise.
7414 * conform/data/stdio.h-data: Likewise.
7415 * conform/data/stdlib.h-data: Likewise.
7416 * conform/data/stropts.h-data: Likewise.
7417 * conform/data/sys/mman.h-data: Likewise.
7418 * conform/data/sys/stat.h-data: Likewise.
7419 * conform/data/sys/types.h-data: Likewise.
7420 * conform/data/sys/wait.h-data: Likewise.
7421 * conform/data/time.h-data: Likewise.
7422 * conform/data/unistd.h-data: Likewise.
7423 * conform/data/utime.h-data: Likewise.
7424
7425 * io/sys/stat.h: fchmod was always in POSIX.
7426 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7427 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7428 * rt/aio.h: Define __need_timespec before including <time.h>.
7429 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7430 struct. Add forward declaration of pthread_attr_t and use it in
7431 sigevent.
7432 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7433 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7434 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7435 always remove CLK_TCK definition.
7436
c20105c3
AS
74372012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7438
7439 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7440
7a270350
UD
74412012-02-25 Ulrich Drepper <drepper@gmail.com>
7442
31341567
UD
7443 * conform/run-conformtest.sh: New file.
7444 * conform/Makefile: Run run-conformtest for tests.
7445 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7446 support.
7447
7448 * conform/data/uchar.h-data: New file.
7449 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7450 * conform/data/arpa/inet.h-data: Likewise.
7451 * conform/data/assert.h-data: Likewise.
7452 * conform/data/complex.h-data: Likewise.
7453 * conform/data/cpio.h-data: Likewise.
7454 * conform/data/ctype.h-data: Likewise.
7455 * conform/data/dirent.h-data: Likewise.
7456 * conform/data/dlfcn.h-data: Likewise.
7457 * conform/data/errno.h-data: Likewise.
7458 * conform/data/fcntl.h-data: Likewise.
7459 * conform/data/float.h-data: Likewise.
7460 * conform/data/fmtmsg.h-data: Likewise.
7461 * conform/data/fnmatch.h-data: Likewise.
7462 * conform/data/ftw.h-data: Likewise.
7463 * conform/data/glob.h-data: Likewise.
7464 * conform/data/grp.h-data: Likewise.
7465 * conform/data/iconv.h-data: Likewise.
7466 * conform/data/inttypes.h-data: Likewise.
7467 * conform/data/langinfo.h-data: Likewise.
7468 * conform/data/libgen.h-data: Likewise.
7469 * conform/data/limits.h-data: Likewise.
7470 * conform/data/locale.h-data: Likewise.
7471 * conform/data/math.h-data: Likewise.
7472 * conform/data/monetary.h-data: Likewise.
7473 * conform/data/mqueue.h-data: Likewise.
7474 * conform/data/ndbm.h-data: Likewise.
7475 * conform/data/net/if.h-data: Likewise.
7476 * conform/data/netdb.h-data: Likewise.
7477 * conform/data/netinet/in.h-data: Likewise.
7478 * conform/data/nl_types.h-data: Likewise.
7479 * conform/data/poll.h-data: Likewise.
7480 * conform/data/pthread.h-data: Likewise.
7481 * conform/data/pwd.h-data: Likewise.
7482 * conform/data/regex.h-data: Likewise.
7483 * conform/data/sched.h-data: Likewise.
7484 * conform/data/search.h-data: Likewise.
7485 * conform/data/semaphore.h-data: Likewise.
7486 * conform/data/setjmp.h-data: Likewise.
7487 * conform/data/signal.h-data: Likewise.
7488 * conform/data/spawn.h-data: Likewise.
7489 * conform/data/stdarg.h-data: Likewise.
7490 * conform/data/stdio.h-data: Likewise.
7491 * conform/data/stdlib.h-data: Likewise.
7492 * conform/data/string.h-data: Likewise.
7493 * conform/data/strings.h-data: Likewise.
7494 * conform/data/stropts.h-data: Likewise.
7495 * conform/data/sys/ipc.h-data: Likewise.
7496 * conform/data/sys/mman.h-data: Likewise.
7497 * conform/data/sys/msg.h-data: Likewise.
7498 * conform/data/sys/resource.h-data: Likewise.
7499 * conform/data/sys/select.h-data: Likewise.
7500 * conform/data/sys/sem.h-data: Likewise.
7501 * conform/data/sys/shm.h-data: Likewise.
7502 * conform/data/sys/socket.h-data: Likewise.
7503 * conform/data/sys/stat.h-data: Likewise.
7504 * conform/data/sys/statvfs.h-data: Likewise.
7505 * conform/data/sys/time.h-data: Likewise.
7506 * conform/data/sys/timeb.h-data: Likewise.
7507 * conform/data/sys/times.h-data: Likewise.
7508 * conform/data/sys/types.h-data: Likewise.
7509 * conform/data/sys/uio.h-data: Likewise.
7510 * conform/data/sys/un.h-data: Likewise.
7511 * conform/data/sys/utsname.h-data: Likewise.
7512 * conform/data/sys/wait.h-data: Likewise.
7513 * conform/data/syslog.h-data: Likewise.
7514 * conform/data/tar.h-data: Likewise.
7515 * conform/data/termios.h-data: Likewise.
7516 * conform/data/utime.h-data: Likewise.
7517 * conform/data/utmpx.h-data: Likewise.
7518 * conform/data/varargs.h-data: Likewise.
7519 * conform/data/wchar.h-data: Likewise.
7520 * conform/data/wctype.h-data: Likewise.
7521 * conform/data/wordexp.h-data: Likewise.
7522
7523 * include/stropts.h: New file.
7524 * include/uchar.h: New file.
7525 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7526 * include/assert.h: Likewise.
7527 * include/ctype.h: Likewise.
7528 * include/dirent.h: Likewise.
7529 * include/dlfcn.h: Likewise.
7530 * include/fcntl.h: Likewise.
7531 * include/fnmatch.h: Likewise.
7532 * include/glob.h: Likewise.
7533 * include/grp.h: Likewise.
7534 * include/libio.h: Likewise.
7535 * include/locale.h: Likewise.
7536 * include/math.h: Likewise.
7537 * include/net/if.h: Likewise.
7538 * include/netdb.h: Likewise.
7539 * include/netinet/in.h: Likewise.
7540 * include/pthread.h: Likewise.
7541 * include/pwd.h: Likewise.
7542 * include/regex.h: Likewise.
7543 * include/sched.h: Likewise.
7544 * include/search.h: Likewise.
7545 * include/setjmp.h: Likewise.
7546 * include/signal.h: Likewise.
7547 * include/stdio.h: Likewise.
7548 * include/stdlib.h: Likewise.
7549 * include/string.h: Likewise.
7550 * include/sys/cdefs.h: Likewise.
7551 * include/sys/mman.h: Likewise.
7552 * include/sys/msg.h: Likewise.
7553 * include/sys/resource.h: Likewise.
7554 * include/sys/select.h: Likewise.
7555 * include/sys/socket.h: Likewise.
7556 * include/sys/stat.h: Likewise.
7557 * include/sys/statvfs.h: Likewise.
7558 * include/sys/time.h: Likewise.
7559 * include/sys/times.h: Likewise.
7560 * include/sys/uio.h: Likewise.
7561 * include/sys/utsname.h: Likewise.
7562 * include/sys/wait.h: Likewise.
7563 * include/termios.h: Likewise.
7564 * include/time.h: Likewise.
7565 * include/ulimit.h: Likewise.
7566 * include/unistd.h: Likewise.
7567 * include/utime.h: Likewise.
7568 * include/wchar.h: Likewise.
7569 * include/wctype.h: Likewise.
7570 * include/wordexp.h: Likewise.
7571
7572 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7573
7a270350
UD
7574 * time/time.h: TIME_UTC must be a macro.
7575 Make timespec_get available for ISO C11 only as well.
7576
7724defc
UD
75772012-02-24 Ulrich Drepper <drepper@gmail.com>
7578
7579 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7580 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7581
6b1d1d46
JM
75822012-02-24 Joseph Myers <joseph@codesourcery.com>
7583
7584 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7585
0f8bbd69
JM
75862012-02-24 Joseph Myers <joseph@codesourcery.com>
7587
7588 * manual/texinfo.tex: Update to version 2012-01-19.16.
7589
66ab80bc
JM
75902012-02-24 Joseph Myers <joseph@codesourcery.com>
7591
7592 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7593
74981cc5
RM
75942012-02-24 Roland McGrath <roland@hack.frob.com>
7595
ee968201
RM
7596 [BZ #13738]
7597 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7598 * manual/fdl-1.3.texi: New file.
7599 * manual/fdl-1.1.texi: File removed.
7600
74981cc5
RM
7601 [BZ #13738]
7602 * manual/libc.texinfo (FDL_VERSION): New @set.
7603 Use it for mention of FDL in cover text.
7604 (Documentation License): Use it in @include file name.
7605
7bb764bc
JM
76062012-02-22 Joseph Myers <joseph@codesourcery.com>
7607 Roland McGrath <roland@hack.frob.com>
7608
7609 [BZ #5461]
7610 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7611 not LONG_LONG_MAX and LONG_LONG_MIN.
7612 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7613 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7614 name.
7615 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7616
6cbeae47
JM
76172012-02-22 Joseph Myers <joseph@codesourcery.com>
7618
7619 [BZ #2547]
7620 [BZ #11365]
7621 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7622 manipulate bits before adding and subtracting TWO23[sx].
7623 * math/libm-test.inc (nearbyint_test): Add more tests.
7624
fe45ce09
JM
76252012-02-22 Joseph Myers <joseph@codesourcery.com>
7626
7627 [BZ #2548]
7628 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7629 bits before adding and subtracting TWO23[sx].
7630 * math/libm-test.inc (rint_test): Add more tests.
7631 (rint_test_tonearest): Likewise.
7632 (rint_test_towardzero): Likewise.
7633 (rint_test_downward): Likewise.
7634 (rint_test_upward: Likewise.
7635
ff3b3d82
JM
76362012-02-22 Joseph Myers <joseph@codesourcery.com>
7637
7638 [BZ #10110]
7639 * include/stdc-predef.h: New file. Extracted from features.h.
7640 * include/features.h: Include stdc-predef.h.
7641 * Makefile (headers): Add stdc-predef.h.
7642 * CONFORMANCE (Compiler limitations): Update.
7643
ef0aab35
JM
76442012-02-22 Joseph Myers <joseph@codesourcery.com>
7645
7646 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7647
58639409
DM
76482012-02-21 David S. Miller <davem@davemloft.net>
7649
7650 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7651 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7652
c0e70b25
DM
76532012-02-20 David S. Miller <davem@davemloft.net>
7654
7655 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7656 using a normal save/restore sequence, rather than allocating a
7657 dummy stack frame just to store a frame pointer and restore.
7658 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7659
fb06851d
JM
76602012-02-21 Joseph Myers <joseph@codesourcery.com>
7661
7662 * manual/install.texi: Fix stray word in line-wrapped comment.
7663
7a8b71c3
DM
76642012-02-20 David S. Miller <davem@davemloft.net>
7665
d510c123
DM
7666 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7667 both binutils and gcc support GOTDATA.
7668
0722d7c2
DM
7669 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7670 "rd %pc" in the PIC register setup sequences.
7671
3d2b3019
DM
7672 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7673 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7674 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7675 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7676 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7678 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7679 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7680 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7681 (SYSCALL_ERROR_HANDLER): Likewise.
7682 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7683 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7685 (SYSCALL_ERROR_HANDLER): Likewise.
7686
c80098a9
DM
7687 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7688 (HAVE_GCC_GOTDATA): New.
7689 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7690 relocation support in both binutils and gcc.
7691 * sysdeps/sparc/elf/configure: Regenerate.
7692
3a2545a0
DM
7693 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7694 * sysdeps/sparc/sparc32/elf/configure: Delete.
7695 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7696 * sysdeps/sparc/sparc64/elf/configure: Delete.
7697 * sysdeps/sparc/elf/configure.in: New file.
7698 * sysdeps/sparc/elf/configure: Generate.
7699
7a8b71c3
DM
7700 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7701 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7702 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7703 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7704 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7705
f1e86fca
JM
77062012-02-21 Joseph Myers <joseph@codesourcery.com>
7707
7708 * manual/install.texi: Do not mention specific glibc version
7709 numbers.
7710 * manual/libc.texinfo (VERSION, UPDATED): Update.
7711 (@copying): Use @copyright{} and range of years.
7712
0e7dfaef
JM
77132012-02-21 Joseph Myers <joseph@codesourcery.com>
7714
7715 [BZ #13695]
7716 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7717 [crti.S not in sysdirs] (generated): Do not append.
7718 [crti.S not in sysdirs] (omit-deps): Likewise.
7719 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7720 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7721 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7722 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7723 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7724 Likewise.
7725 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7726 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7727 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7728 * csu/defs.awk: Remove file.
7729 * sysdeps/generic/initfini.c: Likewise.
7730 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7731 variable.
7732 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7733 Likewise.
7734
599af3ca
JM
77352012-02-20 Joseph Myers <joseph@codesourcery.com>
7736
7737 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7738 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7739 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7740 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7741 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7742 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7743 <bits/epoll.h>.
7744 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7745 (__EPOLL_PACKED): Define to empty if not defined by
7746 <bits/epoll.h>.
7747 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7749 bits/epoll.h.
7750
0e499750
JM
77512012-02-20 Joseph Myers <joseph@codesourcery.com>
7752
7753 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7754 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7755 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7756 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7757 <bits/timerfd.h>.
7758 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7760 bits/timerfd.h.
7761
5ad91f6e
JM
77622012-02-20 Joseph Myers <joseph@codesourcery.com>
7763
7764 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7765 in C locale.
7766 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7767 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7768 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7770
06b99b02
AJ
77712012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7772
7773 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7774 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7775
7638c0fd
AS
77762012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7777
7778 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7779 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7780 defined.
7781 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7782 Likewise.
7783 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7784 entry for 2.16.
7785
92221550
AJ
77862012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7787
7788 * math/w_acos.c: Use non-signaling floating-point comparisons.
7789 * math/w_acosf.c: Likewise.
7790 * math/w_acosh.c: Likewise.
7791 * math/w_acoshf.c: Likewise.
7792 * math/w_acoshl.c: Likewise.
7793 * math/w_acosl.c: Likewise.
7794 * math/w_asin.c: Likewise.
7795 * math/w_asinf.c: Likewise.
7796 * math/w_asinl.c: Likewise.
7797 * math/w_atanh.c: Likewise.
7798 * math/w_atanhf.c: Likewise.
7799 * math/w_atanhl.c: Likewise.
7800 * math/w_exp2.c: Likewise.
7801 * math/w_exp2f.c: Likewise.
7802 * math/w_exp2l.c: Likewise.
7803 * math/w_j0.c: Likewise.
7804 * math/w_j0f.c: Likewise.
7805 * math/w_j0l.c: Likewise.
7806 * math/w_j1.c: Likewise.
7807 * math/w_j1f.c: Likewise.
7808 * math/w_j1l.c: Likewise.
7809 * math/w_jn.c: Likewise.
7810 * math/w_jnf.c: Likewise.
7811 * math/w_log.c: Likewise.
7812 * math/w_log10.c: Likewise.
7813 * math/w_log10f.c: Likewise.
7814 * math/w_log10l.c: Likewise.
7815 * math/w_log2.c: Likewise.
7816 * math/w_log2f.c: Likewise.
7817 * math/w_log2l.c: Likewise.
7818 * math/w_logf.c: Likewise.
7819 * math/w_logl.c: Likewise.
7820 * math/w_sqrt.c: Likewise.
7821 * math/w_sqrtf.c: Likewise.
7822 * math/w_sqrtl.c: Likewise.
7823 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7824 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7825 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7826 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7827 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7828
ebaf36eb
JM
78292012-02-19 Joseph Myers <joseph@codesourcery.com>
7830
7831 [BZ #9739]
7832 * manual/string.texi (strnlen): Use correct parameter name in
7833 equivalent expression.
7834
71c254a6
JM
78352012-02-19 Joseph Myers <joseph@codesourcery.com>
7836
7837 [BZ #11174]
7838 * manual/users.texi (seteuid): Consistently use neweuid for
7839 argument name.
7840
16d2c631
JM
78412012-02-19 Joseph Myers <joseph@codesourcery.com>
7842
7843 [BZ #13704]
7844 * manual/nss.texi (Services in the NSS configuration): Correct
7845 list of services in example configuration file.
7846
cd837b09
NB
78472012-02-19 Nick Bowler <nbowler@draconx.ca>
7848
7849 [BZ #11322]
7850 * manual/arith.texi: Remove statements about negative zero
7851 behaving identically to zero.
7852
02c4bbad
JM
78532012-02-18 Joseph Myers <joseph@codesourcery.com>
7854
7855 [BZ #5993]
7856 * manual/install.texi: Do not document upgrading from libc5.
7857
366842e7
JM
78582012-02-18 Joseph Myers <joseph@codesourcery.com>
7859
7860 [BZ #4596]
7861 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7862
dd54084d
DM
78632012-02-18 David S. Miller <davem@davemloft.net>
7864
7865 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7866 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7867 %o7 across the call.
7868 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7869 instead.
7870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7871 SETUP_PIC_REG_LEAF.
7872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7873 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7874 * sysdeps/sparc/crtn.S: Likewise.
7875
2bcc53a3
UD
78762012-02-17 Ulrich Drepper <drepper@gmail.com>
7877
7878 * aout/Makefile: Remove.
7879
09c093b5
RK
78802012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7881
7882 [BZ #13058]
7883 * manual/examples/argp-ex1.c (main): Format definition in GNU
7884 style.
7885 * manual/examples/argp-ex2.c (main): Likewise.
7886 * manual/examples/argp-ex3.c (main): Likewise.
7887 * manual/examples/argp-ex4.c (main): Likewise.
7888 * manual/examples/longopt.c (main): Use new-style prototype
7889 definition.
7890 * manual/examples/strncat.c (main): Specify return type and use
7891 (void) for arguments.
7892 * manual/examples/subopt.c (main): Use char **argv argument.
7893
2ee633a2
JM
78942012-02-17 Joseph Myers <joseph@codesourcery.com>
7895
7896 [BZ #5077]
7897 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7898 rounding modes.
7899
0520adde
FB
79002012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7901
7902 [BZ #6907]
7903 * manual/string.texi (strchr): Change when strchrnul is
7904 recommended.
7905
3f4081cd
DGM
79062012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7907
7908 [BZ #174]
7909 * manual/locale.texi (setlocale): Document LOCPATH.
7910
d1b10e78
JM
79112012-02-17 Joseph Myers <joseph@codesourcery.com>
7912
7913 [BZ #10210]
7914 * manual/process.texi (execle): Move @dots{} before last argument.
7915
79c6869c
PB
79162012-02-17 Paul Bolle <pebolle@tiscali.nl>
7917
7918 [BZ #12047]
7919 * manual/charset.texi (Generic Charset Conversion): Fix typo
7920 (LC_TYPE -> LC_CTYPE).
7921
cc6e48bc
NB
79222012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7923
7924 [BZ #5805]
7925 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7926 (scalbnf): Likewise.
7927 (scalbnl): Likewise.
7928 (scalbln): Likewise.
7929 (scalblnf): Likewise.
7930 (scalblnl): Likewise.
7931 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7932 (vwarnx): Likewise.
7933 (verr): Likewise.
7934 (verrx): Likewise.
7935 * manual/filesys.texi (telldir): Use braces around return type.
7936 * manual/llio.texi (mmap): Add space after comma.
7937 (mmap64): Likewise.
7938 * manual/math.texi (jn): Use @var{} on parameter names.
7939 (jnf): Likewise.
7940 (jnl): Likewise.
7941 (yn): Likewise.
7942 (ynf): Likewise.
7943 (ynl): Likewise.
7944 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7945 line.
7946 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7947 "...".
7948 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7949 (sched_get_priority_max): Likewise.
7950 * manual/signal.texi (sigvec): Add space after comma.
7951 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7952 names.
7953 (if_indextoname): Likewise.
7954 (if_freenameindex): Likewise.
7955 (sendto): Use ',' instead of '.' in prototype.
7956 * manual/startup.texi (syscall): Use @dots{} instead of literal
7957 "...".
7958 * manual/stdio.texi (__fpending): Separate initial words of
7959 paragraph from @deftypefun line.
7960 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7961 "...".
7962 (vsyslog): Use @var{} on parameter names.
7963 * manual/terminal.texi (stty): Use @var{} on parameter names.
7964 * manual/users.texi (getutmp): Use @var{} on parameter names.
7965 (getutmpx): Likewise.
7966
5b23062f
JM
79672012-02-17 Joseph Myers <joseph@codesourcery.com>
7968
7969 [BZ #6884]
7970 * manual/stdio.texi (fopen): Fix typos in description of
7971 ",ccs=STRING".
7972
8dee4833
AJ
79732012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7974
7975 [BZ #4026]
7976 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7977 get clock_id definition.
7978
9078ce93
TS
79792012-02-17 Thomas Schwinge <thomas@schwinge.name>
7980
7981 [BZ #4822]
7982 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7983 (madvise): Cast every argument to void on its own.
7984
3835c55f
JM
79852012-02-17 Joseph Myers <joseph@codesourcery.com>
7986
7987 [BZ #9902]
7988 * manual/startup.texi (Exit Status): Fix typo.
7989
35c47e37
JM
79902012-02-17 Joseph Myers <joseph@codesourcery.com>
7991
7992 [BZ #10140]
7993 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7994 * manual/examples/argp-ex2.c: Likewise.
7995 * manual/examples/argp-ex3.c: Likewise.
7996
e3b69ca7
RH
79972012-02-16 Richard Henderson <rth@redhat.com>
7998
7999 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8000 * sysdeps/s390/s390-32/initfini.c: Remove.
8001 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8002 * sysdeps/s390/s390-64/initfini.c: Remove.
8003
df83af67
KK
80042012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8005
8006 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8007 compiler output for sysdeps/generic/initfini.c.
8008 * sysdeps/sh/elf/initfini.c: Remove file.
8009
f63f3380
DM
80102012-02-16 David S. Miller <davem@davemloft.net>
8011
fb59b3a4
DM
8012 [BZ #11494]
8013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8014
f63f3380
DM
8015 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8016 * sysdeps/sparc/crti.S: New file.
8017 * sysdeps/sparc/crtn.S: New file.
8018 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8019 * sysdeps/sparc/sparc64/Makefile: Likewise.
8020
df6a4a4a
MF
80212012-02-15 Mike Frysinger <vapier@gentoo.org>
8022
6dd8f3dc 8023 [BZ #3335]
df6a4a4a
MF
8024 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8025
1cac7236
RM
80262012-02-15 Roland McGrath <roland@hack.frob.com>
8027
d2c736f8
RM
8028 [BZ #4822]
8029 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8030
1cac7236
RM
8031 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8032 (write, read, close): Likewise.
8033 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8034
8e475601
JM
80352012-02-15 Joseph Myers <joseph@codesourcery.com>
8036
8037 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8038 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8039 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8040 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8041 <bits/signalfd.h>.
8042 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8044 bits/signalfd.h.
8045
ed656b40
MP
80462012-02-14 Marek Polacek <polacek@redhat.com>
8047
8048 * sysdeps/x86_64/crti.S: New file.
8049 * sysdeps/x86_64/crtn.S: New file.
8050 * sysdeps/x86_64/elf/initfini.c: Remove file.
8051
2a979d3a
JM
80522012-02-13 Joseph Myers <joseph@codesourcery.com>
8053
8054 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8055 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8056 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8057 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8058 <bits/inotify.h>.
8059 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8061 bits/inotify.h.
8062
2a418ac3
JM
80632012-02-13 Joseph Myers <joseph@codesourcery.com>
8064
8065 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8066 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8067 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8068 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8069 <bits/eventfd.h>.
8070 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8072 bits/eventfd.h.
8073
fb779be7
TS
80742012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8075
e19e83c5
RM
8076 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8077 __feraiseexcept instead of feraiseexcept.
7c35ffed 8078
fb779be7
TS
8079 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8080 nanosleep invocations.
8081 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8082 strings, and add error checking for a nanosleep invocations.
8083
59ba27a6
PE
80842012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8085
8086 Replace FSF snail mail address with URLs, as per GNU coding standards.
8087 Most of the snail mail addresses were wrong anyway, and omitting
8088 them makes the source code easier to maintain. Almost all of the
8089 changes are to license notices and to locale LC_IDENTIFICATION
8090 addresses, except for this one:
8091 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8092 not its snail mail address.
8093
57b957eb
RH
80942012-02-09 Richard Henderson <rth@twiddle.net>
8095
af850b1c
RH
8096 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8097 of kernel-features.h.
8098
57b957eb
RH
8099 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8100
6b73181a
MP
81012012-02-08 Marek Polacek <polacek@redhat.com>
8102
8103 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8104 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8105 * sysdeps/gnu/_G_config.h: Likewise.
8106 * sysdeps/generic/_G_config.h: Likewise.
8107
26ecc33a
AS
81082012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8109
6c6dbc63
AS
8110 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8111 tests.
8112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8113
e216c012
AS
8114 * sysdeps/powerpc/powerpc32/crti.S: New file.
8115 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8116 * sysdeps/powerpc/powerpc64/crti.S: New file.
8117 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8118
26ecc33a
AS
8119 * Makeconfig (have-initfini): Don't set.
8120 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8121 * configure.in (nopic_initfini): Don't substitute.
8122 * config.h.in (HAVE_INITFINI): Don't #undef.
8123 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8124 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8125
3add8e13
JM
81262012-02-08 Joseph Myers <joseph@codesourcery.com>
8127
8128 Support crti.S and crtn.S provided directly by architectures.
8129 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8130 [crti.S in sysdirs] (omit-deps): Likewise.
8131 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8132 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8133 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8134 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8135 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8136 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8137 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8138 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8139 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8140 compiler output for sysdeps/generic/initfini.c.
8141 * sysdeps/i386/elf/Makefile: Remove file.
8142 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8143
a22f12b4
MP
81442012-02-07 Marek Polacek <polacek@redhat.com>
8145
8146 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8147 * sysdeps/gnu/_G_config.h: Likewise.
8148 * sysdeps/mach/hurd/_G_config.h: Likewise.
8149
148cf100
MP
81502012-02-07 Marek Polacek <polacek@redhat.com>
8151
8152 * math/Makefile (tests): Add tst-CMPLX2.
8153 * math/tst-CMPLX2.c: New file.
8154
cfdc0dd7
AS
81552012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8156
84ba42c4
AS
8157 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8158
cfdc0dd7
AS
8159 * math/libm-test.inc (jn_test): Add missing L suffix.
8160
622c86f4
MP
81612012-02-06 Marek Polacek <polacek@redhat.com>
8162
8163 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8164 * sysdeps/i386/fpu/e_powf.S: Likewise.
8165 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8166 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8167 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8168 * sysdeps/i386/fpu/e_pow.S: Likewise.
8169 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8170 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8171 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8172 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8173 * sysdeps/i386/fpu/e_log2.S: Likewise.
8174 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8175 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8176 * sysdeps/i386/fpu/e_powl.S: Likewise.
8177 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8178 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8179 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8180 * sysdeps/i386/fpu/e_logl.S: Likewise.
8181 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8182 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8183 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8184 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8185 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8186 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8187 * sysdeps/i386/fpu/e_log.S: Likewise.
8188 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8189 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8190 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8191 * sysdeps/i386/fpu/e_logf.S: Likewise.
8192 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8193 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8194 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8195 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8196 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8197 * sysdeps/i386/fpu/e_log10.S: Likewise.
8198 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8199 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8200 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8201 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8202 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8203 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8204 * sysdeps/i386/asm-syntax.h: Likewise.
8205 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8207 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8208 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8209 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8210 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8211 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8212 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8214 * sysdeps/powerpc/sysdep.h: Likewise.
8215 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8216 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8217
d4a54ac6
JM
82182012-02-06 Joseph Myers <joseph@codesourcery.com>
8219
8220 [BZ #411]
8221 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8222
314054ea
JM
82232012-02-06 Joseph Myers <joseph@codesourcery.com>
8224
8225 * sysdeps/i386/sysdep.h: Include <features.h>.
8226 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8227 version.
8228
d8e0ca50
JM
82292012-02-05 Joseph Myers <joseph@codesourcery.com>
8230
8231 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8232 Define.
8233 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8234 LOAD_PIC_REG_STR.
8235
b1da7dd9
JM
82362012-02-03 Joseph Myers <joseph@codesourcery.com>
8237
8238 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8239 (SETUP_PIC_REG): Use GET_PC_THUNK.
8240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8241 macro.
8242
9a1d9254
JM
82432012-02-03 Joseph Myers <joseph@codesourcery.com>
8244
8245 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8246 for non-PIC compilation.
8247 (SETUP_PIC_REG): Add .p2align directive.
8248 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8249 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8250 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8251 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8252 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8253 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8254 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8256 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8257 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8258 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8259 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8260 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8261 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8262 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8263 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8264 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8265 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8266 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8267 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8268 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8269 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8270 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8271 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8274 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8275 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8276 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8277 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8278 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8279 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8280 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8281 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8282 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8283 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8284 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8285 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8286 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8287 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8288 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8289
65dc3b75
JM
82902012-02-03 Joseph Myers <joseph@codesourcery.com>
8291
8292 * math/tst-CMPLX.c: Include <stdio.h>.
8293
d55bf177
JM
82942012-01-31 Joseph Myers <joseph@codesourcery.com>
8295
8296 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8297 float.
8298 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8299 * sysdeps/sparc/bits/mathdef.h: Likewise.
8300
69db4f8f
MP
83012012-01-31 Marek Polacek <polacek@redhat.com>
8302
8303 * libio/libio.h: Don't define _PARAMS.
8304 * locale/programs/config.h: Don't define PARAMS.
8305 * stdlib/strtol_l.c: Likewise.
8306 (__strtol_l): Remove PARAMS from the prototype.
8307
41b81892
UD
83082012-01-31 Ulrich Drepper <drepper@gmail.com>
8309
3b49edc0
UD
8310 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8311 names. Just use the correct names. Remove unnecessary wrapper
8312 functions.
8313 * malloc/arena.c: Likewise.
8314 * malloc/hooks.c: Likewise.
8315
41b81892
UD
8316 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8317 ARENA_TEST says not to. Simplify test for creation of a new arena.
8318 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8319
27a25b6e
UD
83202012-01-30 Ulrich Drepper <drepper@gmail.com>
8321
8322 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8323 into tail calls.
8324 (update_get_addr): New function.
8325 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8326 GET_ADDR_MODULE parameter.
8327
c8a89e7d
JM
83282012-01-30 Joseph Myers <joseph@codesourcery.com>
8329
8330 * crypt/cert.c: Remove __STDC__ conditionals.
8331 * crypt/crypt-entry.c: Likewise.
8332 * crypt/crypt_util.c: Likewise.
8333 * libio/filedoalloc.c: Likewise.
8334 * libio/fileops.c: Likewise.
8335 * libio/genops.c: Likewise.
8336 * libio/iofclose.c: Likewise.
8337 * libio/iofdopen.c: Likewise.
8338 * libio/iofopen.c: Likewise.
8339 * libio/iofopen64.c: Likewise.
8340 * libio/iogetdelim.c: Likewise.
8341 * libio/iopopen.c: Likewise.
8342 * libio/obprintf.c: Likewise.
8343 * libio/oldfileops.c: Likewise.
8344 * libio/oldiofclose.c: Likewise.
8345 * libio/oldiofdopen.c: Likewise.
8346 * libio/oldiofopen.c: Likewise.
8347 * libio/oldiopopen.c: Likewise.
8348 * libio/wfiledoalloc.c: Likewise.
8349 * libio/wgenops.c: Likewise.
8350 * locale/programs/xmalloc.c: Likewise.
8351 * misc/syslog.c: Likewise.
8352 * stdio-common/xbug.c: Likewise.
8353 * string/memchr.c: Likewise.
8354 * string/memcmp.c: Likewise.
8355 * string/memrchr.c: Likewise.
8356 * string/rawmemchr.c: Likewise.
8357 * sysdeps/posix/getcwd.c: Likewise.
8358 * time/strftime_l.c: Likewise.
8359
3b100462
JM
83602012-01-30 Joseph Myers <joseph@codesourcery.com>
8361
8362 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8363 * config.make.in (config-cflags-sse2avx): Define.
8364 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8365 Fix typo.
8366
607998af
CM
83672012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8368
8369 * scripts/config.guess: Update from upstream config git repository.
8370 * scripts/config.sub: Likewise.
8371
3601428f
CM
83722012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8373
3ac8b282
CM
8374 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8375 (EM_NUM): Update.
8376 (R_TILEPRO_*, R_TILEGX_*): New macros.
8377
e034841e
CM
8378 * scripts/firstversions.awk: Fix bug in version range handling.
8379
540d7568
CM
8380 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8381
3601428f
CM
8382 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8383
463de862
CM
8384 * include/sys/epoll.h: New file.
8385 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8386 libc_hidden_def.
8387
73139a76
UD
83882012-01-28 Ulrich Drepper <drepper@gmail.com>
8389
96bc5b45
UD
8390 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8391 Avoid unnecessary __WORDSIZE == 64 test.
8392 (fmaxf): Use VEX format if possible.
8393 (fmax): Likewise.
8394 (fminf): Likewise.
8395 (fmin): Likewise.
8396
56f6f6a2
UD
8397 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8398 * math/math_private.h: Remove libc_fegetround* and
8399 libc_fesetround*.
8400 * sysdeps/i386/configure.in: Check for -msse2avx.
8401 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8402 also if SSE2AVX is defined.
8403 Remove libc_fegetround* and libc_fesetround*.
8404 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8405 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8406 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8407 of HAS_YMM_USABLE.
8408 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8409 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8411 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8412 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8413
73139a76
UD
8414 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8415
d73f93a4
AZ
84162012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8417
8418 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8419 size is not set.
8420 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8421
6ee65ed6
UD
84222012-01-27 Ulrich Drepper <drepper@gmail.com>
8423
8424 [BZ #13618]
8425 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8426 relocation.
8427 * Makeconfig (libm): Define.
8428 * elf/Makefile: Add rules to build and run tst-relsort1.
8429 * elf/tst-relsort1.c: New file.
8430 * elf/tst-relsort1mod1.c: New file.
8431 * elf/tst-relsort1mod2.c: New file.
8432
8db21882
JM
84332012-01-27 Joseph Myers <joseph@codesourcery.com>
8434
8435 * math/s_ldexp.c: Remove __STDC__ conditionals.
8436 * math/s_ldexpf.c: Likewise.
8437 * math/s_ldexpl.c: Likewise.
8438 * math/s_nextafter.c: Likewise.
8439 * math/s_nexttowardf.c: Likewise.
8440 * math/s_significand.c: Likewise.
8441 * math/s_significandf.c: Likewise.
8442 * math/s_significandl.c: Likewise.
8443 * math/w_jnl.c: Likewise.
8444 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8445 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8446 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8447 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8448 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8449 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8450 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8451 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8452 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8453 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8454 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8455 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8456 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8457 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8458 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8459 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8460 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8461 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8463 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8464 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8465 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8466 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8467 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8468 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8469 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8470 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8471 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8472 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8473 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8474 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8475 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8476 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8477 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8478 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8479 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8480 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8481 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8482 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8483 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8484 * sysdeps/ieee754/k_standard.c: Likewise.
8485 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8486 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8488 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8489 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8490 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8491 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8492 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8493 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8494 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8495 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8496 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8497 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8498 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8499 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8500 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8501 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8502 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8503 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8504 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8505 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8506 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8507 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8508 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8509 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8510 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8511 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8512 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8514 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8517 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8519 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8524 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8542 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8546 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8548 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8551 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8553 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8554 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8556 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8557 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8559 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8560 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8564 * sysdeps/ieee754/s_matherr.c: Likewise.
8565 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8566 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8567 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8568 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8569
965a54a4
JM
85702012-01-26 Joseph Myers <joseph@codesourcery.com>
8571
8572 * crypt/md5.h: Remove __STDC__ conditionals.
8573 * libio/libioP.h: Likewise.
8574 * locale/programs/config.h: Likewise.
8575 * sysdeps/generic/sysdep.h: Likewise.
8576 * sysdeps/i386/asm-syntax.h: Likewise.
8577 * sysdeps/s390/asm-syntax.h: Likewise.
8578 * sysdeps/unix/sysdep.h: Likewise.
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8581
7071ad79
JM
85822012-01-26 Joseph Myers <joseph@codesourcery.com>
8583
8584 * libio/libio.h: Remove __STDC__ conditionals.
8585 * malloc/obstack.h: Likewise.
8586 * math/complex.h: Likewise.
8587 * math/math.h: Likewise.
8588 * sysdeps/generic/_G_config.h: Likewise.
8589 * sysdeps/gnu/_G_config.h: Likewise.
8590 * sysdeps/mach/hurd/_G_config.h: Likewise.
8591 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8592 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8593 * sysdeps/sparc/bits/mathdef.h: Likewise.
8594
afc5ed09
UD
85952012-01-26 Ulrich Drepper <drepper@gmail.com>
8596
8597 [BZ #13583]
8598 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8599 Clean up HAS_* macros.
afc5ed09 8600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8601 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8602 possible.
8603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8604 HAS_AVX.
8605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8610
bdb6de1d
JM
86112012-01-25 Joseph Myers <joseph@codesourcery.com>
8612
8613 * elf/tst-unique3.cc (gets): Remove declaration.
8614 * elf/tst-unique3lib.cc (gets): Likewise.
8615 * elf/tst-unique3lib2.cc (gets): Likewise.
8616 * elf/tst-unique4.cc (gets): Likewise.
8617
b15549e6
UD
86182012-01-24 Ulrich Drepper <drepper@gmail.com>
8619
8620 * include/stdio.h: Add C++ protection. Add gets declarations and
8621 definitions.
8622 * debug/tst-chk1.c: Don't declare gets here.
8623 * stdio-common/tst-gets.c: Likewise.
8624
a037381f
JM
86252012-01-24 Joseph Myers <joseph@codesourcery.com>
8626
8627 * posix/glob: Remove directory.
8628
f1d4aa75
JM
86292012-01-24 Joseph Myers <joseph@codesourcery.com>
8630
8631 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8632
81c0c964
PT
86332012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8634
8635 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8636 of the non-standard EPFNOSUPPORT.
8637
0ea698ae
ST
86382011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8639
8640 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8641 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8642 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8643
d220b117
UD
86442012-01-21 Ulrich Drepper <drepper@gmail.com>
8645
8646 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8647
3e1aa84e
UD
86482012-01-20 Ulrich Drepper <drepper@gmail.com>
8649
8650 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8651 transient errors.
8652 * nscd/grpcache.c (cache_addgr): Likewise.
8653 * nscd/hstcache.c (cache_addhst): Likewise.
8654 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8655 * nscd/pwdcache.c (cache_addpw): Likewise.
8656 * nscd/servicescache.c (cache_addserv): Likewise.
8657
400aa020
UD
86582012-01-16 Ulrich Drepper <drepper@gmail.com>
8659
d77e7869
UD
8660 * malloc/malloc.c: Various cleanups.
8661 * malloc/hooks.c: Likewise.
8662
400aa020
UD
8663 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8664 * stdlib/bug-fmtmsg1.c: New file.
8665
8666 * stdlib/fmtmsg.c (init): Add missing unlock.
8667 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8668
e0a309cf
MP
86692012-01-12 Marek Polacek <polacek@redhat.com>
8670
8671 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8672 and _GNU_SOURCE.
8673
929d11c7
WS
86742012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8675
8676 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8677 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8678 macro to ensure uniqueness of label name.
8679 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8680 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8681
41d0e869
UD
86822012-01-11 Ulrich Drepper <drepper@gmail.com>
8683
0cc5ed3b
UD
8684 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8685
41d0e869
UD
8686 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8687 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8688 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8690
a47a831a
UD
86912012-01-10 Ulrich Drepper <drepper@gmail.com>
8692
daa891c0
UD
8693 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8694
8695 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8696 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8697 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8698
e58ef0f2
UD
8699 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8700
a47a831a 8701 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8702 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8703 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8705
8706 * math/bits/math-finite.h: Add ldexp support.
8707
a0bfc9c7
MP
87082012-01-10 Marek Polacek <polacek@redhat.com>
8709
8710 * locale/programs/localedef.h (show_archive_content): Add noreturn
8711 attribute.
8712
d6e97a1d
UD
87132012-01-09 Ulrich Drepper <drepper@gmail.com>
8714
8715 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8716
d5835c26
UD
87172012-01-08 Ulrich Drepper <drepper@gmail.com>
8718
e5f484c6
UD
8719 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8720
d5835c26
UD
8721 * io/Makefile (headers): Add bits/poll2.h.
8722
d1f741e9
WS
87232011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8724
8725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8726 typo #include statement.
8727
ec09c1c4
UD
87282012-01-08 Ulrich Drepper <drepper@gmail.com>
8729
8730 * include/sys/cdefs.h: Define __attribute_alloc_size.
8731 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8732 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8733 * elf/pldd.c: Likewise.
8734 * iconv/iconv_charmap.c: Likewise.
8735 * iconv/iconvconfig.c: Likewise.
8736 * iconv/strtab.c: Likewise.
8737 * locale/programs/locale.c: Likewise.
8738 * locale/programs/localedef.h: Likewise.
8739 * locale/programs/simple-hash.c: Likewise.
8740 * nscd/nscd.h: Likewise.
8741 * nss/makedb.c: Likewise.
8742 * sysdeps/generic/ldconfig.h: Likewise.
8743 * locale/programs/localedef.c: Remove xmalloc prototype.
8744 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8745
20b38e03
PP
87462012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8747
8748 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8749 appropriate.
8750
a0da5fe1
UD
87512012-01-08 Ulrich Drepper <drepper@gmail.com>
8752
1d5a644a 8753 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8754 * math/tst-CMPLX.c: New file.
1d5a644a 8755
8784a6db
UD
8756 * math/complex.h (CMPLXL): Fix typo.
8757
d9a216c0
UD
8758 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8759 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8760 GLIBC_2.16.
8761 * debug/tst-chk1.c: Add poll and ppoll tests.
8762 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8763 * include/sys/poll.h: Add hidden proto for ppoll.
8764 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8765 * sysdeps/mach/hurd/ppoll.c: Likewise.
8766 * io/ppoll.c: Likewise.
8767 * debug/poll_chk.c: New file.
8768 * debug/ppoll_chk.c: New file.
8769 * include/bits/poll2.h: New file.
8770 * io/bits/poll2.h: New file.
8771
ac097f5c
UD
8772 [BZ #1350]
8773 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8774
2119dcfa
UD
8775 * configure.in: static is always set to yes. Remove.
8776 * config.make.in: Don't set build-static.
8777 * Makeconfig: Remove use of build-static.
8778 * dlfcn/Makefile: Likewise.
8779 * elf/Makefile: Likewise.
8780 * math/Makefile: Likewise.
8781 * misc/Makefile: Likewise.
8782 * nptl/Makefile: Likewise.
8783 * sysdeps/mach/hurd/Makefile: Likewise.
8784
121766a9
UD
8785 * configure.in: PWD_P is not used anymore.
8786 * config.make.in: Remove PWD_P entry.
8787
51a1d39c 8788 * configure.in: Remove last remnants of RANLIB.
8720d066 8789 No need to check for signed size_t anymore.
215f4bdc
UD
8790 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8791 and IA-64.
3857022a 8792 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8793 * aclocal.m4: Likewise.
8794
d3ed7225
UD
8795 * wcsmbs/mbrtoc16.c: Implement using towc function.
8796 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8797 * wcsmbs/wcsmbsload.c: Likewise.
8798 * iconv/gconv_simple.c: Likewise.
8799 * iconv/gconv_int.h: Likewise.
8800 * iconv/gconv_builtin.h: Likewise.
8801 * iconv/iconv_prog.c: Remove CHAR16 handling.
8802
8803 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8804
8805 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8806
a0da5fe1
UD
8807 * configure.in: Remove --with-elf and --enable-bounded options.
8808 Dont set base_machine for ia64. More non-ELF conditions removed.
8809 Remove testing and setting of leading underscore information.
8810 * config.make.in (build-bounded): Set to no.
8811 * config.h.in: Remove NO_UNDERSCORES entry.
8812 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8813 them.
8814 * csu/start.c: Remove !NO_UNDERSCORE code.
8815 * locale/localeinfo.h: Likewise.
8816 * sysdeps/generic/machine-gmon.h: Likewise.
8817 * sysdeps/generic/sysdep.h: Likewise.
8818 * sysdeps/i386/sysdep.h: Likewise.
8819 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8820 * sysdeps/mach/sysdep.h: Likewise.
8821 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8822 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8823 * sysdeps/sh/sysdep.h: Likewise.
8824 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8825 * sysdeps/unix/i386/sysdep.S: Likewise.
8826 * sysdeps/unix/sparc/start.c: Likewise.
8827 * sysdeps/unix/sparc/sysdep.S: Likewise.
8828 * sysdeps/unix/sparc/sysdep.h: Likewise.
8829 * sysdeps/unix/start.c: Likewise.
8830 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8831 * sysdeps/x86_64/sysdep.h: Likewise.
8832
df78418a
UD
88332012-01-07 Ulrich Drepper <drepper@gmail.com>
8834
a784e502
UD
8835 [BZ #13553]
8836 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8837 for non-gcc.
8838 * argp/argp-fmtstream.h: Use const instead __const.
8839 * argp/argp.h: Likewise.
8840 * assert/assert.h: Likewise.
8841 * bits/fenv.h: Likewise.
8842 * bits/sched.h: Likewise.
8843 * bits/sigset.h: Likewise.
8844 * bits/sigthread.h: Likewise.
8845 * catgets/nl_types.h: Likewise.
8846 * conform/data/pthread.h-data: Likewise.
8847 * crypt/crypt-private.h: Likewise.
8848 * crypt/crypt.h: Likewise.
8849 * crypt/crypt_util.c: Likewise.
8850 * ctype/ctype.h: Likewise.
8851 * debug/execinfo.h: Likewise.
8852 * debug/mbsnrtowcs_chk.c: Likewise.
8853 * debug/mbsrtowcs_chk.c: Likewise.
8854 * debug/wcsnrtombs_chk.c: Likewise.
8855 * debug/wcsrtombs_chk.c: Likewise.
8856 * debug/wcstombs_chk.c: Likewise.
8857 * dirent/dirent.h: Likewise.
8858 * dlfcn/dlfcn.h: Likewise.
8859 * elf/neededtest4.c: Likewise.
8860 * grp/grp.h: Likewise.
8861 * gshadow/gshadow.h: Likewise.
8862 * iconv/gconv.h: Likewise.
8863 * iconv/gconv_int.h: Likewise.
8864 * iconv/gconv_simple.c: Likewise.
8865 * iconv/iconv.h: Likewise.
8866 * iconv/loop.c: Likewise.
8867 * iconv/skeleton.c: Likewise.
8868 * include/aio.h: Likewise.
8869 * include/aliases.h: Likewise.
8870 * include/argz.h: Likewise.
8871 * include/arpa/inet.h: Likewise.
8872 * include/assert.h: Likewise.
8873 * include/dirent.h: Likewise.
8874 * include/dlfcn.h: Likewise.
8875 * include/execinfo.h: Likewise.
8876 * include/fcntl.h: Likewise.
8877 * include/fenv.h: Likewise.
8878 * include/glob.h: Likewise.
8879 * include/grp.h: Likewise.
8880 * include/libintl.h: Likewise.
8881 * include/mntent.h: Likewise.
8882 * include/netdb.h: Likewise.
8883 * include/pwd.h: Likewise.
8884 * include/rpc/netdb.h: Likewise.
8885 * include/sched.h: Likewise.
8886 * include/search.h: Likewise.
8887 * include/shadow.h: Likewise.
8888 * include/signal.h: Likewise.
8889 * include/stdio.h: Likewise.
8890 * include/stdlib.h: Likewise.
8891 * include/string.h: Likewise.
8892 * include/sys/socket.h: Likewise.
8893 * include/sys/stat.h: Likewise.
8894 * include/sys/statfs.h: Likewise.
8895 * include/sys/statvfs.h: Likewise.
8896 * include/sys/syslog.h: Likewise.
8897 * include/sys/time.h: Likewise.
8898 * include/sys/uio.h: Likewise.
8899 * include/time.h: Likewise.
8900 * include/unistd.h: Likewise.
8901 * include/utmp.h: Likewise.
8902 * include/wchar.h: Likewise.
8903 * include/wctype.h: Likewise.
8904 * inet/aliases.h: Likewise.
8905 * inet/arpa/inet.h: Likewise.
8906 * inet/netinet/ether.h: Likewise.
8907 * inet/netinet/in.h: Likewise.
8908 * intl/libintl.h: Likewise.
8909 * io/bits/fcntl2.h: Likewise.
8910 * io/fcntl.h: Likewise.
8911 * io/ftw.h: Likewise.
8912 * io/sys/poll.h: Likewise.
8913 * io/sys/stat.h: Likewise.
8914 * io/sys/statfs.h: Likewise.
8915 * io/sys/statvfs.h: Likewise.
8916 * io/utime.h: Likewise.
8917 * libio/bits/stdio.h: Likewise.
8918 * libio/bits/stdio2.h: Likewise.
8919 * libio/libio.h: Likewise.
8920 * libio/libioP.h: Likewise.
8921 * libio/stdio.h: Likewise.
8922 * locale/lc-ctype.c: Likewise.
8923 * locale/locale.h: Likewise.
8924 * login/utmp.h: Likewise.
8925 * malloc/arena.c: Likewise.
8926 * malloc/malloc.c: Likewise.
8927 * malloc/malloc.h: Likewise.
8928 * malloc/mcheck.c: Likewise.
8929 * malloc/mtrace.c: Likewise.
8930 * math/bits/mathcalls.h: Likewise.
8931 * math/fenv.h: Likewise.
8932 * math/math_private.h: Likewise.
8933 * misc/bits/error.h: Likewise.
8934 * misc/bits/syslog.h: Likewise.
8935 * misc/err.h: Likewise.
8936 * misc/error.h: Likewise.
8937 * misc/fstab.h: Likewise.
8938 * misc/mntent.h: Likewise.
8939 * misc/regexp.h: Likewise.
8940 * misc/search.h: Likewise.
8941 * misc/sgtty.h: Likewise.
8942 * misc/sys/mman.h: Likewise.
8943 * misc/sys/syslog.h: Likewise.
8944 * misc/sys/uio.h: Likewise.
8945 * misc/sys/xattr.h: Likewise.
8946 * misc/ttyent.h: Likewise.
8947 * nis/rpcsvc/ypclnt.h: Likewise.
8948 * nss/nss.h: Likewise.
8949 * posix/bits/unistd.h: Likewise.
8950 * posix/fnmatch.h: Likewise.
8951 * posix/glob.h: Likewise.
8952 * posix/sched.h: Likewise.
8953 * posix/spawn.h: Likewise.
8954 * posix/sys/wait.h: Likewise.
8955 * posix/unistd.h: Likewise.
8956 * posix/wordexp.h: Likewise.
8957 * pwd/pwd.h: Likewise.
8958 * resolv/netdb.h: Likewise.
8959 * resource/sys/resource.h: Likewise.
8960 * rt/aio.h: Likewise.
8961 * rt/bits/mqueue2.h: Likewise.
8962 * rt/mqueue.h: Likewise.
8963 * shadow/shadow.h: Likewise.
8964 * signal/signal.h: Likewise.
8965 * socket/send.c: Likewise.
8966 * socket/sendto.c: Likewise.
8967 * socket/sys/socket.h: Likewise.
8968 * stdio-common/printf.h: Likewise.
8969 * stdlib/bits/stdlib.h: Likewise.
8970 * stdlib/fmtmsg.h: Likewise.
8971 * stdlib/monetary.h: Likewise.
8972 * stdlib/stdlib.h: Likewise.
8973 * stdlib/ucontext.h: Likewise.
8974 * streams/stropts.h: Likewise.
8975 * string/argz.h: Likewise.
8976 * string/bits/string2.h: Likewise.
8977 * string/string.h: Likewise.
8978 * string/strings.h: Likewise.
8979 * sunrpc/rpc/auth.h: Likewise.
8980 * sunrpc/rpc/auth_des.h: Likewise.
8981 * sunrpc/rpc/clnt.h: Likewise.
8982 * sunrpc/rpc/netdb.h: Likewise.
8983 * sunrpc/rpc/pmap_clnt.h: Likewise.
8984 * sunrpc/rpc/xdr.h: Likewise.
8985 * sysdeps/generic/inttypes.h: Likewise.
8986 * sysdeps/generic/net/if.h: Likewise.
8987 * sysdeps/generic/sys/swap.h: Likewise.
8988 * sysdeps/gnu/net/if.h: Likewise.
8989 * sysdeps/gnu/utmpx.h: Likewise.
8990 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8991 * sysdeps/i386/i486/bits/string.h: Likewise.
8992 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8993 * sysdeps/s390/bits/string.h: Likewise.
8994 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8995 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8996 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8997 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8998 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8999 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9000 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9001 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9002 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9003 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9004 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9005 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9006 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9007 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9008 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9009 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9010 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9012 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9013 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9014 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9015 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9016 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9017 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9018 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9019 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9020 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9021 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9022 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9023 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9024 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9025 * sysvipc/sys/ipc.h: Likewise.
9026 * sysvipc/sys/msg.h: Likewise.
9027 * sysvipc/sys/sem.h: Likewise.
9028 * sysvipc/sys/shm.h: Likewise.
9029 * termios/termios.h: Likewise.
9030 * time/sys/time.h: Likewise.
9031 * time/time.h: Likewise.
9032 * wcsmbs/bits/wchar2.h: Likewise.
9033 * wcsmbs/uchar.h: Likewise.
9034 * wcsmbs/wchar.h: Likewise.
9035 * wctype/wctype.h: Likewise.
9036
0269750c
UD
9037 [BZ #13551]
9038 * Makeconfig: Remove all but ELF support including AIX support.
9039 * Makerules: Likewise.
9040 * config.h.in: Likewise.
9041 * config.make.in: Likewise.
9042 * configure: Likewise.
9043 * configure.in: Likewise.
9044 * csu/Makefile: Likewise.
9045 * csu/version.c: Likewise.
9046 * debug/Makefile: Likewise.
9047 * dlfcn/Makefile: Likewise.
9048 * elf/Makefile: Likewise.
9049 * extra-lib.mk: Likewise.
9050 * iconv/Makefile: Likewise.
9051 * include/libc-symbols.h: Likewise.
9052 * include/shlib-compat.h: Likewise.
9053 * resolv/Makefile: Likewise.
9054 * resolv/res_libc.c: Likewise.
9055 * rt/Makefile: Likewise.
9056 * sysdeps/i386/asm-syntax.h: Likewise.
9057 * sysdeps/i386/sysdep.h: Likewise.
9058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9059 * sysdeps/mach/sysdep.h: Likewise.
9060 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9061 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9062 * sysdeps/s390/asm-syntax.h: Likewise.
9063 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9064 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9065 * sysdeps/sh/sysdep.h: Likewise.
9066 * sysdeps/unix/sparc/sysdep.h: Likewise.
9067 * sysdeps/wordsize-32/divdi3.c: Likewise.
9068 * sysdeps/x86_64/sysdep.h: Likewise.
9069
00bbd29b
UD
9070 * argp/Versions: Remove _argp_unlock_xxx.
9071
9072 [BZ #13559]
9073 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9074 * abilist/libBrokenLocale.abilist: Likewise.
9075 * abilist/libanl.abilist: Likewise.
9076 * abilist/libc.abilist: Likewise.
9077 * abilist/libcrypt.abilist: Likewise.
9078 * abilist/libdl.abilist: Likewise.
9079 * abilist/libm.abilist: Likewise.
9080 * abilist/libnsl.abilist: Likewise.
9081 * abilist/libpthread.abilist: Likewise.
9082 * abilist/libresolv.abilist: Likewise.
9083 * abilist/librt.abilist: Likewise.
9084 * abilist/libthread_db.abilist: Likewise.
9085 * abilist/libutil.abilist: Likewise.
9086 * abilist/libnss_db.abilist: New file.
9087
9088 * scripts/abilist.awk: Add support for indirect functions.
9089
a2693a0e
UD
9090 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9091
3f05895f
UD
9092 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9093
ecb6fb48
UD
9094 * shlib-versions: Remove entries for ports architectures.
9095
664f8cb9
UD
9096 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9097 files in ports.
9098 * elf/stackguard-macros.h: Remove support for IA-64.
9099 * elf/tst-auditmod1.c: Likewise.
9100 * sysdeps/generic/ldsodefs.h: Likewise.
9101
7ae81d88
UD
9102 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9103 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9104 configure files.
9105
bdeba135
UD
9106 [BZ #13552]
9107 * configure.in: Remove --enable-omitfp support.
9108 * FAQ.in: Adjust.
9109 * config.make.in: Likewise.
9110 * Makeconfig: Likewise.
9111 * manual/install.texi: Likewise.
9112
d75a0a62
UD
9113 In case anyone cares, the IA-64 architecture could move to ports.
9114 * sysdeps/ia64/*: Removed.
9115 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9116 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9117
dcc9756b
UD
9118 [BZ #13555]
9119 * configure.in: Remove entries for unsupported architectures.
9120
d3761ebc 9121 [BZ #13533]
9954432e
UD
9122 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9123 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9124 routines.
9125 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9126 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9127 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9128 fall back to using wcrtomb.
9129 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9130 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9131 renaming.
9132 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9133 * wcsmbs/tst-c16c32-1.c: New file.
9134
9135 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9136 local variable.
9137
c3a87236
UD
9138 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9139
28926a1b
UD
9140 * elf/tst-unique3.cc: Add explicit declaration of gets.
9141 * elf/tst-unique3lib.cc: Likewise.
9142 * elf/tst-unique3lib2.cc: Likewise.
9143 * elf/tst-unique4.cc: Likewise.
9144
df78418a
UD
9145 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9146
8ecd6b2a
JM
91472012-01-06 Joseph Myers <joseph@codesourcery.com>
9148
9149 [BZ #13566]
9150 * assert/assert.h (static_assert): Don't define for C++.
9151 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9152 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9153
9f115170
UD
91542012-01-03 Ulrich Drepper <drepper@gmail.com>
9155
5e0d0300
UD
9156 * iconv/loop.c (single loop): Fix assertion in storing of
9157 remaining bytes.
9158
9f115170
UD
9159 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9160
81fb02b0
UD
91612012-01-01 Ulrich Drepper <drepper@gmail.com>
9162
9163 * posix/getconf.c: Update copyright year.
9164 * nss/getent.c: Likewise.
a316c1f6 9165 * nss/makedb.c: Likewise.
81fb02b0
UD
9166 * iconv/iconvconfig.c: Likewise.
9167 * iconv/iconv_prog.c: Likewise.
9168 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9169 * elf/pldd.c: Likewise.
9170 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9171 * catgets/gencat.c: Likewise.
9172 * csu/version.c: Likewise.
9173 * elf/ldd.bash.in: Likewise.
9174 * elf/sprof.c (print_version): Likewise.
9175 * locale/programs/locale.c: Likewise.
9176 * locale/programs/localedef.c: Likewise.
a316c1f6 9177 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9178 * nscd/nscd.c (print_version): Likewise.
9179 * debug/xtrace.sh: Likewise.
9180 * malloc/memusage.sh: Likewise.
9181 * malloc/mtrace.pl: Likewise.
9182 * debug/catchsegv.sh: Likewise.
9183
2ba92745
JJ
91842011-12-30 Jakub Jelinek <jakub@redhat.com>
9185
9186 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9187 pure attribute.
9188
dadebdae
UD
91892011-12-24 Ulrich Drepper <drepper@gmail.com>
9190
d3761ebc 9191 [BZ #13533]
db6af3eb
UD
9192 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9193 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9194 transformations.
9195 * iconv/gconv_int.h: Likewise.
9196 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9197 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9198 from libc for GLIBC_2.16.
9199 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9200 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9201 * wcsmbs/uchar.h: Really define mbstate_t.
9202 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9203 * wcsmbs/c16rtomb.c: New file.
9204 * wcsmbs/mbrtoc16.c: New file.
9205 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9206 for C/POSIX locale.
9207 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9208 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9209
dadebdae
UD
9210 * wcsmbs/wchar.h: Add missing __restrict.
9211
67371b56
UD
92122011-12-23 Ulrich Drepper <drepper@gmail.com>
9213
74033a25
UD
9214 [BZ #13532]
9215 * time/Makefile (routines): Add timespec_get.
9216 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9217 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9218 timespec for ISO C11.
9219 * time/timespec_get.c: New file.
9220 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9221 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9222
380d7e87
UD
9223 [BZ #13531]
9224 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9225 * stdlib/stdlib.h: Declare aligned_alloc.
9226 * Versions.def: Add GLIBC_2.16 for libc.
9227 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9228
4e9e7a35
UD
9229 [BZ 13527]
9230 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9231 ISO C11.
9232
380d7e87 9233 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9234 code.
9235
03a71829
UD
9236 [BZ #13528]
9237 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9238
839e283e
UD
9239 [BZ #13529]
9240 * assert/assert.h (static_assert): Define.
9241
ce5294e2 9242 * version.h: Update for 2.16 development version.
90fa7312 9243
8d44e150 9244 [BZ #13526]
d7809905
UD
9245 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9246 _ISOC11_SOURCE.
9247
c0da14cd
UD
9248 * version.h (RELEASE): Bump for 2.15 release.
9249 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9250
530a3249
MP
9251 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9252 Patch by Marek Polacek <mpolacek@redhat.com>.
9253
67371b56
UD
9254 * bits/byteswap.h: Protect long long constants with __extension__.
9255 * sysdeps/i386/bits/byteswap.h: Likewise.
9256 * sysdeps/ia64/bits/byteswap.h: Likewise.
9257 * sysdeps/s390/bits/byteswap.h: Likewise.
9258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9259
15db4de1
LD
92602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9261
9262 [BZ #13540]
bbe315ea
LD
9263 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9264 destination buffer.
15db4de1
LD
9265 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9266
2b2596b1
MP
92672011-12-23 Marek Polacek <polacek@redhat.com>
9268
9269 * elf/dl-addr.c (determine_info): Add inline keyword.
9270 * elf/tst-auditmod4b.c (check_avx): Likewise.
9271 * elf/tst-auditmod6b.c (check_avx): Likewise.
9272 * elf/tst-auditmod6c.c (check_avx): Likewise.
9273 * elf/tst-auditmod7b.c (check_avx): Likewise.
9274
70c6c246
UD
92752011-12-23 Ulrich Drepper <drepper@gmail.com>
9276
9277 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9278 !__SSE_MATH__.
9279
c044cf14
LD
92802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9281
15db4de1 9282 [BZ #13540]
c044cf14
LD
9283 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9284 processing for last bytes.
9285
6b13d9d9
BH
92862011-08-06 Bruno Haible <bruno@clisp.org>
9287
d455f537
BH
9288 [BZ #13061]
9289 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9290 U+0385, not to U+1FEE.
9291
6b13d9d9
BH
9292 [BZ #13062]
9293 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9294 entry for U+00A5 U+0301.
9295
db910efd
UD
92962011-12-22 Ulrich Drepper <drepper@gmail.com>
9297
27deeafc
UD
9298 [BZ #13166]
9299 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9300 buffer for the output is too small.
9301
aed9d171
UD
9302 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9303 optimization.
9304
db910efd
UD
9305 [BZ #13185]
9306 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9307 SSE flags if possible.
9308
2bd779ae
LD
93092011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9310
e7f9dac3 9311 [BZ #13540]
2bd779ae
LD
9312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9313 processing for last bytes.
9314
154bfc16
JM
93152011-12-22 Joseph Myers <joseph@codesourcery.com>
9316
9317 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9318 (syscall-list-default-options, syscall-list-default-condition)
9319 (syscall-list-includes): Define.
9320 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9321 list of ABIs and options and #if conditions for each ABI. Do not
9322 handle common syscalls between ABIs specially.
9323 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9324 Remove.
9325 (syscall-list-variants, syscall-list-32bit-options)
9326 (syscall-list-32bit-condition, syscall-list-64bit-options)
9327 (syscall-list-64bit-condition): Define.
9328 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9329 (syscall-list-variants, syscall-list-32bit-options)
9330 (syscall-list-32bit-condition, syscall-list-64bit-options)
9331 (syscall-list-64bit-condition): Define.
9332 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9333 Remove.
9334 (syscall-list-variants, syscall-list-32bit-options)
9335 (syscall-list-32bit-condition, syscall-list-64bit-options)
9336 (syscall-list-64bit-condition): Define.
9337 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9338 Remove.
9339 (syscall-list-variants, syscall-list-32bit-options)
9340 (syscall-list-32bit-condition, syscall-list-64bit-options)
9341 (syscall-list-64bit-condition): Define.
9342
21eaf3a5
UD
93432011-12-22 Ulrich Drepper <drepper@gmail.com>
9344
16c6f992
UD
9345 * locale/iso-639.def: Add brx entry.
9346
41043168
UD
9347 [BZ #13328]
9348 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9349 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9350
21eaf3a5
UD
9351 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9352 __feraiseexcept_renamed.
9353
e3a851a2
UD
93542011-12-21 Ulrich Drepper <drepper@gmail.com>
9355
4920765e
UD
9356 [BZ #13538]
9357 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9358 EPOLLET with unsigned values.
9359 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9361
e3a851a2
UD
9362 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9363 to large cancellation.
9364 * math/s_cacoshf.c: Likewise.
9365 * math/s_cacoshl.c: Likewise.
9366
b27e24b8
RK
93672011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9368
9369 [BZ #13305]
aebefeee 9370 [BZ #12786]
b27e24b8
RK
9371 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9372 * math/s_cacoshf.c: Likewise.
9373 * math/s_cacoshl.c: Likewise.
9374
ee190f67
UD
93752011-12-21 Ulrich Drepper <drepper@gmail.com>
9376
9377 [BZ #13439]
9378 * iconv/gconv.h: Define __GCONV_SWAP.
9379 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9380 * iconvdata/utf-16.c: Likewise.
9381 * iconvdata/utf-32.c: Likewise.
9382
707f25df
AS
93832011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9384
9385 [BZ #13524]
9386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9387 numerator after shifting it by one limb.
9388
d2daaa1e
RÁE
93892011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9390
9391 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9392 under [__USE_EXTERN_INLINES].
9393
a4647e72
UD
93942011-12-17 Ulrich Drepper <drepper@gmail.com>
9395
9396 [BZ #13446]
9397 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9398
f0b264f1
AZ
93992011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9400
9401 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9402 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9403 optimized code.
9404 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9405 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9406 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9407 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9408 for strncasecmp/strncasecmp_l compilation.
9409 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9410 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9411
8ef4f244
MP
94122011-12-08 Marek Polacek <mpolacek@redhat.com>
9413
9414 [BZ #13484]
9415 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9416 of __asm__.
9417
97ac2654
UD
94182011-12-17 Ulrich Drepper <drepper@gmail.com>
9419
9420 [BZ #13506]
9421 * time/tzfile.c (__tzfile_read): Check values from file header.
9422
91d2a845
WS
94232011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9424
9425 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9426 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9427 * powerpc/powerpc32/dl-start.S: Likewise.
9428 * powerpc/powerpc32/elf/start.S: Likewise.
9429 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9430 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9431 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9432 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9433 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9434 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9435 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9436 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9437 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9438 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9439 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9440 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9441 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9442 * powerpc/powerpc32/memset.S: Likewise.
9443 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9444 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9445 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9446 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9447 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9448 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9449 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9450 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9451 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9452 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9453 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9454 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9455 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9456
a1267ba1
AZ
94572011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9458
9459 * math/libm-test.inc: Added more nearbyint tests.
9460 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9461 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9463 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9464
ad8ac1bd
RL
94652011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9466
9467 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9468 FD_CLOEXEC.
9469
1d3e4b61
UD
94702011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9471
9472 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9473 Add wcscpy-ssse3 wcscpy-c.
9474 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9475 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9476 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9477 * sysdeps/x86_64/wcschr.S: New file.
9478 * sysdeps/x86_64/wcsrchr.S: New file.
9479 * string/test-strcmp.c: Remove checking of wcscmp function for
9480 wrong alignments.
9481 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9482 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9483 wcsrchr-sse2 wcsrchr-c.
9484 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9485 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9486 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9487 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9488 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9489 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9490 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9491 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9492 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9493 * wcsmbc/wcschr.c (WCSCHR): New macro.
9494
5b330a2d
UD
94952011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9496
9497 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9498 * wcsmbs/test-wcsrchr.c: New file.
9499 * string/test-strrchr.c: Add wcsrchr support.
9500 (WIDE): New macro.
9501 * wcsmbs/test-wcscpy.c: New file.
9502 * string/test-strcpy.c: Add wcscpy support.
9503 (WIDE): New macro.
26428b7c 9504
f039c043
UD
95052011-12-10 Ulrich Drepper <drepper@gmail.com>
9506
9507 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9508 the inner loop.
9509
850fb039
AS
95102011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9511
9512 [BZ #13472]
9513 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9514
4efbd5cb
UD
95152011-12-04 Ulrich Drepper <drepper@gmail.com>
9516
52ff5dd0 9517 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9518 Minor optimizations.
52ff5dd0 9519
4efbd5cb
UD
9520 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9521 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9522 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9523
8a426e12
UD
95242011-12-03 Ulrich Drepper <drepper@gmail.com>
9525
aff2453d
UD
9526 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9527 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9528 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9529 for gcc to avoid warnings.
9530 * inet/Makefile (tests): Add tst-checks.
9531 * inet/tst-checks.c: New file.
9532
9533 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9534 warning.
9535
9536 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9537 __wmemcmp_sse2.
9538
9539 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9540 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9541
8a426e12
UD
9542 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9543
9bea3473
UD
95442011-12-02 Ulrich Drepper <drepper@gmail.com>
9545
3a965496
UD
9546 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9547 problem.
9548
9bea3473
UD
9549 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9550
f101631b
UD
95512011-11-29 Joseph Myers <joseph@codesourcery.com>
9552
9553 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9554 conditional on GCC version.
9555 (__arch_compare_and_exchange_val_8_acq)
9556 (__arch_compare_and_exchange_val_16_acq)
9557 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9558 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9559 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9560
a98275aa
UD
95612011-12-02 Joseph Myers <joseph@codesourcery.com>
9562
9563 * sysdeps/sh/backtrace.c: New file.
9564
d4cc29a2
AS
95652011-12-02 Andreas Schwab <schwab@redhat.com>
9566
9567 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9568 parenthesis.
9569
6257af2d
AS
95702011-12-01 Andreas Schwab <schwab@redhat.com>
9571
9572 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9573 falling back to utime.
9574
b5f44c1a
AS
95752011-11-30 Andreas Schwab <schwab@redhat.com>
9576
9577 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9578 expectations for float.
9579
f3a6cc0a
AS
95802011-11-29 Andreas Schwab <schwab@redhat.com>
9581
9582 * locale/weight.h (findidx): Add parameter len.
9583 * locale/weightwc.h (findidx): Likewise.
9584 * posix/fnmatch_loop.c (FCT): Adjust caller.
9585 * posix/regcomp.c (build_equiv_class): Likewise.
9586 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9587 * posix/regexec.c (check_node_accept_bytes): Likewise.
9588 * string/strcoll_l.c (STRCOLL): Likewise.
9589 * string/strxfrm_l.c (STRXFRM): Likewise.
9590
9d65ea3a
UD
95912011-11-17 Ulrich Drepper <drepper@gmail.com>
9592
9593 * Makefile.in: Remove CVSOPT handling.
9594 * configure.in: Remove use of AC_REVISION.
9595 * iconvdata/Makefile (distribute): No need to filter out CVS.
9596 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9597 handling.
9598
5583a086
AS
95992011-11-16 Andreas Schwab <schwab@redhat.com>
9600
9601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9602 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9603 [USE_AS_STRNCASECMP_L]: Likewise.
9604 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9605 NO_TLS_DIRECT_SEG_REFS.
9606 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9607 Fix argument offsets for non-PIC.
9608 [USE_AS_STRNCASECMP_L]: Likewise.
9609 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9610 NO_TLS_DIRECT_SEG_REFS.
9611
d62a8200
UD
96122011-11-15 Ulrich Drepper <drepper@gmail.com>
9613
9d65ea3a 9614 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9615 O_CLOEXEC.
9616 * locale/loadlocale.c (_nl_load_locale): Likewise.
9617
09f93bd3
AS
96182011-11-15 Andreas Schwab <schwab@redhat.com>
9619
446514f9
AS
9620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9621 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9622 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9623 (SYSCALL_GETTIME): Set errno on error.
9624
09f93bd3
AS
9625 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9626 count references to noai6ai_cached.
9627
312be3f9
UD
96282011-11-15 Ulrich Drepper <drepper@gmail.com>
9629
9630 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9631
9632 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9633 FD_CLOEXEC for /proc/self/maps.
9634
9635 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9636 FD_CLOEXEC for /proc/meminfo.
9637
9638 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9639 gai.conf.
9640
9641 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9642 FD_CLOEXEC for given file.
9643
9644 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9645
9646 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9647 FD_CLOEXEC for /etc/hosts.
9648 (_gethtent): Likewise.
9649
9650 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9651
9652 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9653 cancellation and set FD_CLOEXEC for /etc/netgroup.
9654
9655 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9656 reading /etc/publickey.
9657
9658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9659 allow cancellation when reading /etc/group.
9660
9661 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9662 cancellation.
9663 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9664
9665 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9666 when using data file.
9667
9668 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9669
9670 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9671 (write_nis_obj): Use "c" and "e" in fopen.
9672
9673 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9674
9675 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9676
9677 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9678
9679 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9680
9681 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9682 locale.alias.
9683
9684 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9685
9686 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9687
9688 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9689
9690 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9691 file parsing and set FD_CLOEXEC.
9692
82af0fa8
UD
96932011-11-14 Ulrich Drepper <drepper@gmail.com>
9694
9695 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9696
a5fb313c
AS
96972011-11-14 Andreas Schwab <schwab@redhat.com>
9698
9699 * malloc/arena.c (arena_get2): Don't call reused_arena when
9700 _int_new_arena failed.
9701
6abf3465
UD
97022011-11-14 Ulrich Drepper <drepper@gmail.com>
9703
9704 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9705 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9706 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9707 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9708 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9709 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9710 to compile strcasecmp and strncasecmp.
9711 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9712 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9713
9714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9715
76e3966e
UD
97162011-11-13 Ulrich Drepper <drepper@gmail.com>
9717
9718 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9719 locale-defines.sym to gen-as-const-headers.
9720 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9721 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9723 to compile strcasecmp and strncasecmp.
9724 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9725 strcasecmp_l and strncasecmp_l.
9726 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9727 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9728 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9729 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9730 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9731 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9732 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9733 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9734 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9735 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9736 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9737
ab26144e
UD
97382011-11-12 Ulrich Drepper <drepper@gmail.com>
9739
7edb22ef
UD
9740 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9741 result of SYSDEP_GETTIME_CPU to retval.
9742 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9743 parameter list to macro. Remove trailing semicolon. Adjust users.
9744
9694fc44
UD
9745 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9746 variable.
9747
8ad89ef8
UD
9748 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9749 mantissa words.
9750 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9751
0c822ef9
UD
9752 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9753 from unused variable.
9754
874e0564
UD
9755 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9756 DWARF definitions.
9757 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9758 for assembling.
9759
3a2edc79
UD
9760 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9761 over namespaces.
9762
f3c2577f
UD
9763 * sunrpc/rpc_prot.c (rejected): Fix case value.
9764
294ce126
UD
9765 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9766 unsigned long long int to avoid warnings in shift.
9767
5e2b63c6
UD
9768 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9769 of use of trans.
9770 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9771 variable tmp.
9772
e7f4b08e
UD
9773 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9774 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9775 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9776
ab26144e
UD
9777 * nis/nis_table.c (nis_list): Use variable of correct type for
9778 result of __follow_path call.
9779
8a6d5255
AZ
97802011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9781
9782 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9783 of math functions ceil, trunc, floor, round, and sqrt, when
9784 avaliable on the platform.
9785 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9786 name clash.
9787 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9788 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9789 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9790
aaddc98c
MP
97912011-10-30 Marek Polacek <mpolacek@redhat.com>
9792
9793 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9794 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9795
95b7042b
RM
97962011-11-11 Roland McGrath <roland@hack.frob.com>
9797
9798 * include/unistd.h: Fix __readlink return type.
9799 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9800
57769839
UD
98012011-11-11 Ulrich Drepper <drepper@gmail.com>
9802
9803 * stdlib/ucontext.h: Undo last change for makecontext.
9804
edc5984d
AS
98052011-11-11 Andreas Schwab <schwab@redhat.com>
9806
98591e58
AS
9807 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9808
edc5984d
AS
9809 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9810 * setjmp/setjmp.h: Mark functions as non-leaf.
9811 * setjmp/bits/setjmp2.h: Likewise.
9812 * stdlib/ucontext.h: Likewise.
9813
77cdc054
AS
98142011-11-10 Andreas Schwab <schwab@redhat.com>
9815
9816 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9817 (reused_arena): Don't check arena limit.
9818 (arena_get2): Atomically check arena limit.
9819
fe72eebd
UD
98202011-11-08 Ulrich Drepper <drepper@gmail.com>
9821
5f078c32
UD
9822 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9823 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9824
fe72eebd
UD
9825 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9826 instructions.
9827
ae1bc2fa
AS
98282011-11-07 Andreas Schwab <schwab@redhat.com>
9829
7583a88d
AS
9830 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9831 handler when locking.
9832
ae1bc2fa
AS
9833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9834 Fix size of allocated buffer.
9835
10fb0bfa
AS
98362011-11-04 Andreas Schwab <schwab@redhat.com>
9837
998832a4
AS
9838 [BZ #10103]
9839 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9840 declarations for long double functions.
9841 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9842
10fb0bfa
AS
9843 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9844
3d7ba52b
AS
98452011-11-03 Andreas Schwab <schwab@redhat.com>
9846
a9ae54a1
AS
9847 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9848 installed.
9849
3d7ba52b
AS
9850 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9851 is disabled.
9852
bc8db248
ST
98532011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9854
9855 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9856
45b96dd6
AS
98572011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9858
647776f6
AS
9859 * include/alloca.h (stackinfo_alloca_round): Define.
9860 (extend_alloca): Use it.
9861 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9862 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9863 here.
9864
d91a8b93
AS
9865 * scripts/check-local-headers.sh: Ignore libaudit.h.
9866
45b96dd6
AS
9867 * nscd/Makefile (extra-objs): Make recursively expanded.
9868
432d41ce
UD
98692011-11-01 Ulrich Drepper <drepper@gmail.com>
9870
34372fc6
UD
9871 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9872 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9873
fadb59f8
UD
9874 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9875 * posix/tst-rfc3484-2.c: Likewise.
9876 * posix/tst-rfc3484-3.c: Likewise.
9877
78239589
UD
9878 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9879 process_vm_writev.
9880 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9881 process_vm_writev.
9882 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9883 process_vm_writev from libc using GLIBC_2.15 version.
9884
432d41ce
UD
9885 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9886
02f9c6cf
PP
98872011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9888
9889 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9890 stack usage.
9891
3a2c0242
UD
98922011-10-31 Ulrich Drepper <drepper@gmail.com>
9893
f4ec4833
UD
9894 [BZ #13367]
9895 * nss/getent.c (initgroups_keys): Show error message in case no group
9896 names are given.
9897
3a2c0242
UD
9898 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9899 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9900 __bump_nl_timestamp.
9901 * nscd/connections (nscd_init): When host database is served open
9902 netlink socket and request notification about configuration changes.
9903 (main_loop_poll): Track netlink file descriptor and bump timestamp
9904 in case data becomes available.
9905 (main_loop_epoll): Likewise.
9906 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9907 (database_pers_head): Add extra_data fileds.
9908 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9909 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9910 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9911 Adjust caller.
9912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9913 in6ai data, call __free_in6ai.
9914 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9915 Add -DHAVE_NETLINK.
9916 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9917 interface information. Reuse previous data if netlink timestamp
9918 is not changed.
9919 (__bump_nl_timestamp): New function.
9920 (__free_in6ai): New function.
9921
636064eb
UD
99222011-10-30 Ulrich Drepper <drepper@gmail.com>
9923
9924 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9925 close_not_cancel_no_status here.
9926 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9927
9beb2334
UD
99282011-10-29 Ulrich Drepper <drepper@gmail.com>
9929
6ef76f3b
UD
9930 [BZ #13276]
9931 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9932 return value.
9933
0ffc4f3e 9934 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9935 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9936 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9937
cb95113e
UD
99382011-07-03 Andreas Jaeger <aj@suse.de>
9939
9940 [BZ #10709]
9941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9942 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9943 * math/libm-test.inc (sin_test): Add test case.
9944
a1b560ff
UD
99452011-10-29 Ulrich Drepper <drepper@gmail.com>
9946
c9aaface
UD
9947 [BZ #13337]
9948 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9949 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9950
d272e7f1
UD
9951 * elf/chroot_canon.c (chroot_canon): Cleanups.
9952
1bc33071
UD
9953 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9954
1760874d
TJ
9955 [BZ #13335]
9956 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9957 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9958
51d91b18
UD
9959 * string/test-strchr.c: Make usable for strchrnul testing.
9960 * string/test-strchrnul.c: New file.
9961 * string/Makefile (strop-tests): Add strchrnul.
9962
a1b560ff 9963 * po/it.po: Update from translation team.
b611fb81 9964 * po/es.po: Likewise.
a1b560ff 9965
a5b81e1f
UD
99662011-10-28 Ulrich Drepper <drepper@gmail.com>
9967
fd52bc6d
UD
9968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9969 the three constants needed as parameters. Drop the others.
9970 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9971 __m128i_strloadu_tolower.
52e4b9eb
UD
9972 Create and initialize variable zero and use it in all the places
9973 where _mm_setzero_si128 was used.
fd52bc6d 9974
a5b81e1f
UD
9975 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9976 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9977 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9978 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9979 anymore.
9980 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9981 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9982 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9983 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9984 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9985 __mpranred, __mptan.
9986 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9987 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9988 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9989 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9990 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9991 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9993 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9994 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9995
b4343346
AS
99962011-10-28 Andreas Schwab <schwab@redhat.com>
9997
0c92d8a8
AS
9998 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9999 redefine if SHARED.
10000 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10001
b4343346
AS
10002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10003 wide char related routines to wcsmbs subdir.
10004
3871f58f
AS
100052011-10-27 Andreas Schwab <schwab@redhat.com>
10006
10007 [BZ #13344]
10008 * misc/sys/cdefs.h (__THROWNL): Define.
10009 * posix/unistd.h: Use __THREADNL instead of __THREAD
10010 for memory synchronization functions.
10011
94d44d9f
RM
100122011-10-26 Roland McGrath <roland@hack.frob.com>
10013
21b64b15 10014 [BZ #13349]
94d44d9f
RM
10015 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10016 doesn't exist.
10017 * manual/stdio.texi (Obstack Streams): Node removed.
10018
f6ce9294
AS
100192011-10-26 Andreas Schwab <schwab@redhat.com>
10020
80479147
AS
10021 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10023 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10024
f6ce9294
AS
10025 * math/math_private.h (math_force_eval): Allow non-addressable
10026 arguments.
10027 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10028
618280a1
UD
100292011-10-25 Ulrich Drepper <drepper@gmail.com>
10030
e0016b11
UD
10031 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10032 file is not needed.
10033
10034 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10037 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10039 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10040 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10041 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10042 Add AVX variants.
10043 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10044 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10045 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10046 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10047 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10048 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10049 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10050 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10051 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10052 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10053 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10054 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10055 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10056 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10057 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10058 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10059 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10060 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10061 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10062
10063 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10064 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10065
618280a1
UD
10066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10067 place. Use VEX encoding when compiling for AVX.
10068
37822576
AS
100692011-10-25 Andreas Schwab <schwab@redhat.com>
10070
1f1e1947
AS
10071 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10072 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10073
37822576
AS
10074 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10075
31ea014d
UD
100762011-10-25 Ulrich Drepper <drepper@gmail.com>
10077
d7826aa1 10078 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10079 useless if() expression.
d7826aa1
UD
10080 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10089 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10090 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10092 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10093 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10094 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10095 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10097 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10098 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10099
31ea014d
UD
10100 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10101
16437fec
AS
101022011-10-25 Andreas Schwab <schwab@redhat.com>
10103
10104 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10105 condition.
10106 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10107
31d3cc00
UD
101082011-10-25 Ulrich Drepper <drepper@gmail.com>
10109
10110 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10111 .text section. Avoid duplicate constants.
10112 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10122 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10124 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10127 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10129 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10135 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10136 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10137 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10138 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10139 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10140 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10141 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10142 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10143 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10144 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10145 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10146 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10147 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10148 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10149 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10150 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10151 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10153 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10154 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10155 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10156 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10157
58985aa9
UD
101582011-10-24 Ulrich Drepper <drepper@gmail.com>
10159
202c9deb
UD
10160 * sysdeps/x86_64/dla.h: Move to ...
10161 * sysdeps/x86_64/fpu/dla.h: ...here.
10162 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10163 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10164
af968f62
UD
10165 * config.make.in: Add have-mfma4 entry.
10166 * configure.in: Substitute libc_cv_cc_fma4.
10167 * math/Makefile (dbl-only-routines): Add sincostab.
10168 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10169 Use __sincostab not sincos.
10170 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10171 name is a macro.
10172 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10176 using __copysign.
10177 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10178 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10179 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10180 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10181 and __inv.
10182 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10183 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10184 __copysign.
10185 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10186 define aliases when function name is a macro.
10187 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10188 sysdeps/ieee754/dbl-64/sincos.tbl.
10189 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10190 fma4-enabled routines.
10191 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10192 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10193 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10194 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10195 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10196 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10198 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10200 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10201 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10202 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10203 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10204 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10205 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10206 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10207 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10208 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10209 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10210 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10211 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10212 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10213 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10214 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10216 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10217 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10218 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10219 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10220 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10221
58985aa9
UD
10222 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10223 rename.
10224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10232
a201fbcf
AS
102332011-10-24 Andreas Schwab <schwab@redhat.com>
10234
10235 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10236
fc2ee42a
LD
102372011-10-23 Ulrich Drepper <drepper@gmail.com>
10238
bb3129bd
UD
10239 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10240
0275fff8
UD
10241 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10242 prediction.
10243 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10244
2fa2ae85
UD
10245 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10246 Remove unused variable magic_bits.
10247 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10248
fc2ee42a
LD
10249 * string/strnlen.c: Define and use STRNLEN macro.
10250 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10251 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10253 * wcsmbs/wcslen.c: Define and use WCSLEN.
10254 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10255 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10256 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10257 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10258 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10259 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10260 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10261
ce7dd29f
LD
102622011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10263
10264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10265 strnlen-sse2-no-bsf.
10266 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10267 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10268 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10269 Add strnlen support.
10270 (USE_AS_STRNLEN): New macro.
10271 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10272 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10273 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10274 * sysdeps/x86_64/wcslen.S: New file.
10275
979c70a3
MZ
102762011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10277
10278 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10279 XMM-moves are used for copying on small sizes.
10280
2d09f82f
LD
102812011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10282
10283 * wcsmbs/Makefile (strop-tests): Add wcschr.
10284 * wcsmbs/test-wcschr.c: New file.
10285 * string/test-strchr.c: Update.
10286 Add wcschr support.
10287 (WIDE): New macro.
10288
619fccca
LD
102892011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10290
2d09f82f 10291 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10292 * wcsmbs/test-wcslen.c: New file.
10293 * string/test-strlen.c: Update.
10294 Add wcslen support.
10295 (WIDE): New macro.
10296
09f699ea
UD
102972011-10-23 Ulrich Drepper <drepper@gmail.com>
10298
10299 * po/it.po: Update from translation team.
10300
95584d3b
LD
103012011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10302
10303 * sysdeps/x86_64/wcscmp.S: Update.
10304 Fix wrong comparison semantics.
10305 wcscmp shall use signed comparison not unsigned.
10306 Don't use substraction to avoid overflow bug.
10307 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10308 * wcsmbc/wcscmp.c: Likewise.
10309 * string/test-strcmp.c: Likewise.
10310 Add new tests to check cases with negative values.
10311
c8b3296b
UD
103122011-10-23 Ulrich Drepper <drepper@gmail.com>
10313
10314 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10315 * sysdeps/x86_64/dla.h: ...here. New file.
10316 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10321 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10324 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10325
246ad57a
AS
103262011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10327
10328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10329 __ynl_finite aliases.
10330
a1a87169
UD
103312011-10-22 Ulrich Drepper <drepper@gmail.com>
10332
0d355eb7
UD
10333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10334
a1a87169
UD
10335 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10336 define DLA_FMA.
10337 [DLA_FMA] (EMULV): Use DLA_FMA.
10338 [DLA_FMA] (MUL12): Use EMULV.
10339 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10340 that are not needed.
10341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10348
ee2aafe0
AS
103492011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10350
10351 * math/s_nan.c: Undef __nan.
10352 * math/s_nanf.c: Undef __nanf.
10353 * math/s_nanl.c: Undef __nanl.
10354 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10355 "math_private.h".
10356
bc62c2fb
UD
103572011-10-22 Ulrich Drepper <drepper@gmail.com>
10358
77425c63
UD
10359 * math/s_catan.c: Add branch predictions.
10360 * math/s_catanf.c: Likewise.
10361 * math/s_catanh.c: Likewise.
10362 * math/s_catanhf.c: Likewise.
10363 * math/s_catanhl.c: Likewise.
10364 * math/s_catanl.c: Likewise.
10365 * math/s_cexp.c: Likewise.
10366 * math/s_cexpf.c: Likewise.
10367 * math/s_cexpl.c: Likewise.
10368 * math/s_clog.c: Likewise.
10369 * math/s_clog10.c: Likewise.
10370 * math/s_clog10f.c: Likewise.
10371 * math/s_clog10l.c: Likewise.
10372 * math/s_clogf.c: Likewise.
10373 * math/s_clogl.c: Likewise.
10374 * math/s_csqrt.c: Likewise.
10375 * math/s_csqrtf.c: Likewise.
10376 * math/s_csqrtl.c: Likewise.
10377 * math/s_ctanf.c: Likewise.
10378 * math/s_ctanh.c: Likewise.
10379 * math/s_ctanhf.c: Likewise.
10380 * math/s_ctanhl.c: Likewise.
10381 * math/s_ctanl.c: Likewise.
10382
bc62c2fb
UD
10383 * math/math_private.h: Define __nan, __nanf, __nanl.
10384 * math/s_cacosh.c: Include <math_private.h>.
10385 * math/s_cacoshl.c: Likewise.
10386 * math/s_casinh.c: Likewise.
10387 * math/s_casinhf.c: Likewise.
10388 * math/s_casinhl.c: Likewise.
10389 * math/s_ccos.c: Rely entire on ccosh.
10390 * math/s_ccosf.c: Rely entire on ccoshf.
10391 * math/s_ccosl.c: Rely entirely on ccoshl.
10392 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10393 Remove tests for FE_INVALID.
10394 * math/s_ccoshf.c: Likewise.
10395 * math/s_ccoshl.c: Likewise.
10396 * math/s_csin.c: Likewise.
10397 * math/s_csinf.c: Likewise.
10398 * math/s_csinh.c Likewise.
10399 * math/s_csinhf.c: Likewise.
10400 * math/s_csinhl.c: Likewise.
10401 * math/s_csinl.c: Likewise.
10402 * math/s_ctan.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10404 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10405 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10406
8ec250a4
UD
104072011-10-21 Ulrich Drepper <drepper@gmail.com>
10408
c196fed8
UD
10409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10410 compilation problems.
10411
8ec250a4
UD
10412 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10413 __builtin_expect.
10414
8d4f46c6
UD
104152011-10-20 Ulrich Drepper <drepper@gmail.com>
10416
ed72b654
UD
10417 * sysdeps/i386/configure.in: Test for -mfma4 option.
10418 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10419 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10420 COMMON_CPUID_INDEX_80000001.
10421 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10422 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10423 use it if FMA3 is not supported.
10424 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10425
8d4f46c6
UD
10426 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10427 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10428
d45c60c2
AS
104292011-10-20 Andreas Schwab <schwab@redhat.com>
10430
10431 [BZ #12892]
10432 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10433 it would create a cycle with a link time dependency.
10434
d9a4d2ab
UD
104352011-10-19 Ulrich Drepper <drepper@gmail.com>
10436
855d1560
UD
10437 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10438 instruction.
10439 * string/Makefile (strop-tests): Add rawmemchr.
10440 * string/test-rawmemchr.c: New file.
10441
d9a4d2ab
UD
10442 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10443 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10444 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10445 when compiling str{,n}casecmp and when AVX is available. Hook up
10446 new optimized code in initializers.
10447
8f3b1ffe
AS
104482011-10-19 Andreas Schwab <schwab@redhat.com>
10449
10450 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10451 __feraiseexcept instead of feraiseexcept.
10452
d38f1dba
UD
104532011-10-18 Ulrich Drepper <drepper@gmail.com>
10454
d9a8d0ab
UD
10455 * math/math_private.h: Define defaults for libc_fetestexcept and
10456 libc_feupdateenv.
10457 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10458 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10459 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10460 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10461 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10462 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10463 libc_fetestexcept and libc_feupdateenv.
10464
4855e3dd
UD
10465 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10466 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10467 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10468 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10469 libc_feholdexcept_setround.
10470
581d30e3
UD
10471 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10472 Add s_nearbyint-c and s_nearbyintf-c.
10473 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10474 nearbyintf inlines.
10475 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10476 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10477 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10478 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10479
d38f1dba
UD
10480 * math/math_private.h: Define defaults for libc_fegetround,
10481 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10482 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10483 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10484 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10485 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10486 standard functions.
10487 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10488 Remove comments and hacks for old compiler versions.
10489 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10490 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10491 libc_feholdexceptl.
10492
caa6c9d8
AS
104932011-10-18 Andreas Schwab <schwab@redhat.com>
10494
10495 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10496 (__feraiseexcept_renamed): Add __NTH.
10497 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10498 namespace violations.
10499
97c066e6
UD
105002011-10-17 Ulrich Drepper <drepper@gmail.com>
10501
99ce7b04
UD
10502 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10503
1004d182
UD
10504 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10505
228a984d
UD
10506 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10507 recently added interfaces.
10508 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10509
c8553a6a
UD
10510 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10511 about macro parameter expansion.
10512
ed22dcf6
UD
10513 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10514 __NO_MATH_INLINES is defined. Cleanups.
10515
10516 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10517 and __floorf is target has SSE4.1.
10518 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10519 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10520 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10521 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10522
b171c137
UD
10523 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10524 name.
10525 (floorf): Likewise.
10526
97c066e6
UD
10527 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10528
629f62ef
AS
105292011-10-17 Andreas Schwab <schwab@redhat.com>
10530
49a43d80
AS
10531 * misc/sys/cdefs.h: Fix last change.
10532
629f62ef
AS
10533 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10534 database lookup.
10535
e453f6cd
UD
105362011-10-16 Ulrich Drepper <drepper@gmail.com>
10537
aa78043a
UD
10538 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10539
ad0f5cad
UD
10540 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10541 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10546 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10547 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10548 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10549 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10550 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10551 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10552 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10553 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10554 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10555 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10556 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10557 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10558 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10559 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10560 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10561 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10562
10563 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10564 ceil, ceilf, floor, floorf.
10565
10566 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10567 Perform IRELATIVE relocations last.
10568
e453f6cd
UD
10569 * elf/do-rel.h: Add another parameter nrelative, replacing the
10570 local variable with the same name. Change name of the function
10571 to end in Rel or Rela (uppercase).
10572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10573 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10574 elf_dynamic_do_##reloc function.
10575
fd5bdc09
UD
105762011-10-15 Ulrich Drepper <drepper@gmail.com>
10577
79b195b5
UD
10578 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10579 is sufficient, at least on modern CPUs.
10580
d4a28569
UD
10581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10582
b61099b5
UD
10583 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10584 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10585
bcf01e6d
UD
10586 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10587 __expl_finite.
10588 * math/bits/math-finite.h: Add entries for exp.
10589 * math/e_expl.c: Add __*_finite alias.
10590 * sysdeps/i386/fpu/e_exp.S: Likewise.
10591 * sysdeps/i386/fpu/e_expf.S: Likewise.
10592 * sysdeps/i386/fpu/e_expl.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10594 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10596 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10598 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10599 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10600
ba1a0d59
UD
10601 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10602 is sufficient, at least on modern CPUs.
10603
fd5bdc09
UD
10604 * ctype/ctype-info.c (__ctype_init): Define.
10605 * include/ctype.h (__ctype_init): Declare.
10606 (__ctype_b_loc): The variable is always initialized.
10607 (__ctype_toupper_loc): Likewise.
10608 (__ctype_tolower_loc): Likewise.
10609 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10610 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10611
7872cfb0
AS
106122011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10613
b468825a
AS
10614 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10615
7872cfb0
AS
10616 * configure.in: Also look in $cxxmachine/include for C++ system
10617 headers.
10618
be13f7bf
LD
106192011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10620
10621 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10622 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10623 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10624 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10625 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10626 (USE_AS_WMEMCMP): New macro.
10627 Fixing indents.
10628 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10629 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10630 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10631 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10632 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10633 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10634 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10635 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10636 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10637 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10638 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10639 (USE_AS_WMEMCMP): New macro.
10640 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10641 * sysdeps/string/test-memcmp.c: Update.
10642 Fix simple_wmemcmp.
10643 Add new tests.
10644 * wcsmbs/wmemcmp.c: Update.
10645 (WMEMCMP): New macro.
10646 Fix overflow bug.
10647
556a2007
AJ
106482011-10-12 Andreas Jaeger <aj@suse.de>
10649
10650 [BZ #13268]
10651 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10652
538faaa7
UD
106532011-10-15 Ulrich Drepper <drepper@gmail.com>
10654
ab6737ff
UD
10655 * libio/iofwide.c (do_length): Avoid warning.
10656
538faaa7
UD
10657 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10658
396a21b1
UD
106592011-10-14 Ulrich Drepper <drepper@gmail.com>
10660
cdf2901f
UD
10661 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10662
38ad40ce
UD
10663 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10664 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10665 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10666 * sysdeps/i386/i686/fpu/e_log.S: New file.
10667 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10668 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10669
396a21b1
UD
10670 * ctype/ctype.h: Add support for inlined isXXX functions when
10671 compiling C++ code.
10672
6b1f68c9
AS
106732011-10-14 Andreas Schwab <schwab@redhat.com>
10674
349290c0
AS
10675 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10676
6b1f68c9
AS
10677 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10678
f2282d42
RM
106792011-10-13 Roland McGrath <roland@hack.frob.com>
10680
10681 [BZ #13291]
10682 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10683
5298ffa8
AS
106842011-10-13 Andreas Schwab <schwab@redhat.com>
10685
714fad23
AS
10686 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10687 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10688 feraiseexcept.
10689
81dcc7fb
AS
10690 * sysdeps/x86_64/memrchr.S: Check for zero size.
10691
5298ffa8
AS
10692 * string/stratcliff.c: Add memrchr tests.
10693
951fbcec
LD
106942011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10695
10696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10697 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10698 rawmemchr-sse2 rawmemchr-sse2-bsf.
10699 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10700 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10701 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10702 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10703 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10704 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10705 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10706 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10707 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10708 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10709 * string/memrchr.c (MEMRCHR): New macro.
10710
0ac5ae23
UD
107112011-10-12 Ulrich Drepper <drepper@gmail.com>
10712
10713 Add integration with gcc's -ffinite-math-only and optimize wrapper
10714 functions in libm.
10715 * Versions.def: Define GLIBC_2.15 version for libm.
10716 * math/Makefile (headers): Add bits/math-finite.h.
10717 * math/bits/math-finite.h: New file.
10718 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10719 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10720 * math/e_acoshl.c: Add __*_finite alias.
10721 * math/e_acosl.c: Likewise.
10722 * math/e_asinl.c: Likewise.
10723 * math/e_atan2l.c: Likewise.
10724 * math/e_atanhl.c: Likewise.
10725 * math/e_coshl.c: Likewise.
10726 * math/e_exp10.c: Likewise.
10727 * math/e_exp10f.c: Likewise.
10728 * math/e_exp10l.c: Likewise.
10729 * math/e_exp2l.c: Likewise.
10730 * math/e_fmodl.c: Likewise.
10731 * math/e_gammal_r.c: Likewise.
10732 * math/e_hypotl.c: Likewise.
10733 * math/e_j0l.c: Likewise.
10734 * math/e_j1l.c: Likewise.
10735 * math/e_jnl.c: Likewise.
10736 * math/e_lgammal_r.c: Likewise.
10737 * math/e_log10l.c: Likewise.
10738 * math/e_log2l.c: Likewise.
10739 * math/e_logl.c: Likewise.
10740 * math/e_powl.c: Likewise.
10741 * math/e_sinhl.c: Likewise.
10742 * math/e_sqrtl.c: Likewise.
10743 * math/e_scalb.c: Completely rewritten and optimized.
10744 * math/e_scalbf.c: Likewise.
10745 * math/e_scalbl.c: Likewise.
10746 * math/w_acos.c: Likewise.
10747 * math/w_acosf.c: Likewise.
10748 * math/w_acosl.c: Likewise.
10749 * math/w_acosh.c: Likewise.
10750 * math/w_acoshf.c: Likewise.
10751 * math/w_acoshl.c: Likewise.
10752 * math/w_asin.c: Likewise.
10753 * math/w_asinf.c: Likewise.
10754 * math/w_asinl.c: Likewise.
10755 * math/w_atan2.c: Likewise.
10756 * math/w_atan2f.c: Likewise.
10757 * math/w_atan2l.c: Likewise.
10758 * math/w_atanh.c: Likewise.
10759 * math/w_atanhf.c: Likewise.
10760 * math/w_atanhl.c: Likewise.
10761 * math/w_exp10.c: Likewise.
10762 * math/w_exp10f.c: Likewise.
10763 * math/w_exp10l.c: Likewise.
10764 * math/w_fmod.c: Likewise.
10765 * math/w_fmodf.c: Likewise.
10766 * math/w_fmodl.c: Likewise.
10767 * math/w_j0.c: Likewise.
10768 * math/w_j0f.c: Likewise.
10769 * math/w_j0l.c: Likewise.
10770 * math/w_j1.c: Likewise.
10771 * math/w_j1f.c: Likewise.
10772 * math/w_j1l.c: Likewise.
10773 * math/w_jn.c: Likewise.
10774 * math/w_jnf.c: Likewise.
10775 * math/w_log.c: Likewise.
10776 * math/w_logf.c: Likewise.
10777 * math/w_logl.c: Likewise.
10778 * math/w_log10.c: Likewise.
10779 * math/w_log10f.c: Likewise.
10780 * math/w_log10l.c: Likewise.
10781 * math/w_log2.c: Likewise.
10782 * math/w_log2f.c: Likewise.
10783 * math/w_log2l.c: Likewise.
10784 * math/w_pow.c: Likewise.
10785 * math/w_powf.c: Likewise.
10786 * math/w_powl.c: Likewise.
10787 * math/w_remainder.c: Likewise.
10788 * math/w_remainderf.c: Likewise.
10789 * math/w_remainderl.c: Likewise.
10790 * math/w_scalb.c: Likewise.
10791 * math/w_scalbf.c: Likewise.
10792 * math/w_scalbl.c: Likewise.
10793 * math/w_sqrt.c: Likewise.
10794 * math/w_sqrtf.c: Likewise.
10795 * math/w_sqrtl.c: Likewise.
10796 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10797 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10798 used.
10799 * math/math_private.h: Declare __kernel_standard_f.
10800 * math/w_cosh.c: Remove cruft and optimize a bit.
10801 * math/w_coshf.c: Likewise.
10802 * math/w_coshl.c: Likewise.
10803 * math/w_exp2.c: Likewise.
10804 * math/w_exp2f.c: Likewise.
10805 * math/w_exp2l.c: Likewise.
10806 * math/w_hypot.c: Likewise.
10807 * math/w_hypotf.c: Likewise.
10808 * math/w_hypotl.c: Likewise.
10809 * math/w_lgamma.c: Likewise.
10810 * math/w_lgamma_r.c: Likewise.
10811 * math/w_lgammaf.c: Likewise.
10812 * math/w_lgammaf_r.c: Likewise.
10813 * math/w_lgammal.c: Likewise.
10814 * math/w_lgammal_r.c: Likewise.
10815 * math/w_sinh.c: Likewise.
10816 * math/w_sinhf.c: Likewise.
10817 * math/w_sinhl.c: Likewise.
10818 * math/w_tgamma.c: Likewise.
10819 * math/w_tgammaf.c: Likewise.
10820 * math/w_tgammal.c: Likewise.
10821 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10823 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10824 Minor optimizations. Pretty printing. Remove cruft.
10825 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10826 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10827 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10829 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10830 * sysdeps/i386/fpu/e_asin.S: Likewise.
10831 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10832 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10833 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10834 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10835 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10836 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10837 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10838 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10839 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10840 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10841 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10842 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10843 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10844 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10845 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10846 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10847 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10848 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10849 * sysdeps/i386/fpu/e_log.S: Likewise.
10850 * sysdeps/i386/fpu/e_log10.S: Likewise.
10851 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10852 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10853 * sysdeps/i386/fpu/e_log2.S: Likewise.
10854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10855 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10856 * sysdeps/i386/fpu/e_logf.S: Likewise.
10857 * sysdeps/i386/fpu/e_logl.S: Likewise.
10858 * sysdeps/i386/fpu/e_pow.S: Likewise.
10859 * sysdeps/i386/fpu/e_powf.S: Likewise.
10860 * sysdeps/i386/fpu/e_powl.S: Likewise.
10861 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10862 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10863 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10864 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10865 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10866 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10867 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10868 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10869 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10870 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10871 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10876 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10891 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10892 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10893 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10894 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10895 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10896 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10897 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10898 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10899 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10900 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10901 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10902 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10903 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10904 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10905 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10906 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10907 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10908 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10909 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10910 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10911 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10912 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10913 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10914 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10916 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10917 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10918 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10919 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10924 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10925 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10926 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10927 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10928 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10929 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10930 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10932 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10938 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10939 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10940 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10944 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10949 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10951 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10952 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10953 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10954 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10955 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10956 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10957 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10958 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10959 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10960 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10961 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10962 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10963 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10964 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10965 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10966 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10967 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10968 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10969 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10970 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10971 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10972 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10973 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10974 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10975 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10976 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10978 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10979 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10980 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10981 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10982 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10983 (__isnanf): Likewise.
10984 (__isinf_ns): Likewise.
10985 (__isinf_nsf): Likewise.
10986 (__finite): Likewise.
10987 (__finitef): Likewise.
10988 (__ieee754_sqrt): Define as macro.
10989 (__ieee754_sqrtf): Define as macro.
10990 (__ieee754_sqrtl): Define as macro.
10991 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10992 inlined copy.
10993 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10994 __FINITE_MATH_ONLY__ consistent.
10995 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10996
12cc2fcd
AS
109972011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10998
a843a204
AS
10999 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11000 of rawmemchr.
11001
12cc2fcd
AS
11002 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11003
c853acd5
UD
110042011-10-09 Ulrich Drepper <drepper@gmail.com>
11005
11006 * po/ja.po: Update from translation team.
11007
c658d255
RM
110082011-10-08 Roland McGrath <roland@hack.frob.com>
11009
110946e4
RM
11010 * locale/programs/locarchive.c (prepare_address_space): New function.
11011 (create_archive, enlarge_archive, open_archive): Use it.
11012
50604220
RM
11013 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11014 inside [SHARED], where it is used.
11015
c658d255
RM
11016 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11017
11018 * nss/getent.c (netgroup_keys): Remove unused variable.
11019 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11020
6a621eb7
UD
110212011-10-08 Ulrich Drepper <drepper@gmail.com>
11022
7edb55ce
UD
11023 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11024 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11026 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11027 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11028 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11029 * math/Makefile (libm-calls): Add s_isinf_ns.
11030 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11031 * math/multc3.c: Likewise.
11032 * math/s_casin.c: Likewise.
11033 * math/s_casinf.c: Likewise.
11034 * math/s_casinl.c: Likewise.
11035 * math/s_ccos.c: Likewise.
11036 * math/s_ccosf.c: Likewise.
11037 * math/s_ccosl.c: Likewise.
11038 * math/s_ctan.c: Likewise.
11039 * math/s_ctanf.c: Likewise.
11040 * math/s_ctanh.c: Likewise.
11041 * math/s_ctanhf.c: Likewise.
11042 * math/s_ctanhl.c: Likewise.
11043 * math/s_ctanl.c: Likewise.
11044 * math/w_fmod.c: Likewise.
11045 * math/w_fmodf.c: Likewise.
11046 * math/w_fmodl.c: Likewise.
11047 * math/w_remainder.c: Likewise.
11048 * math/w_remainderf.c: Likewise.
11049 * math/w_remainderl.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11051 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11052 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11053 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11054 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11055 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11056 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11057 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11058
187da0ae
UD
11059 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11060 of the number.
11061 * stdio-common/printf_fphex.c: Likewise.
11062 * stdio-common/printf_size.c: Likewise.
11063
9277c064
UD
11064 * math/e_exp10.c: Include math_private.h using <...> not "...".
11065 * math/e_exp10f.c: Likewise.
11066 * math/e_exp10l.c: Likewise.
11067 * math/e_exp2l.c: Likewise.
11068 * math/e_j0l.c: Likewise.
11069 * math/e_j1l.c: Likewise.
11070 * math/e_jnl.c: Likewise.
11071 * math/e_lgammal_r.c: Likewise.
11072 * math/e_rem_pio2l.c: Likewise.
11073 * math/e_scalb.c: Likewise.
11074 * math/e_scalbf.c: Likewise.
11075 * math/e_scalbl.c: Likewise.
11076 * math/k_cosl.c: Likewise.
11077 * math/k_sinl.c: Likewise.
11078 * math/k_tanl.c: Likewise.
11079 * math/s_cacoshf.c: Likewise.
11080 * math/s_catan.c: Likewise.
11081 * math/s_catanf.c: Likewise.
11082 * math/s_catanh.c: Likewise.
11083 * math/s_catanhf.c: Likewise.
11084 * math/s_catanhl.c: Likewise.
11085 * math/s_catanl.c: Likewise.
11086 * math/s_ccosh.c: Likewise.
11087 * math/s_ccoshf.c: Likewise.
11088 * math/s_ccoshl.c: Likewise.
11089 * math/s_cexp.c: Likewise.
11090 * math/s_cexpf.c: Likewise.
11091 * math/s_cexpl.c: Likewise.
11092 * math/s_clog.c: Likewise.
11093 * math/s_clog10.c: Likewise.
11094 * math/s_clog10f.c: Likewise.
11095 * math/s_clog10l.c: Likewise.
11096 * math/s_clogf.c: Likewise.
11097 * math/s_clogl.c: Likewise.
11098 * math/s_csin.c: Likewise.
11099 * math/s_csinf.c: Likewise.
11100 * math/s_csinh.c: Likewise.
11101 * math/s_csinhf.c: Likewise.
11102 * math/s_csinhl.c: Likewise.
11103 * math/s_csinl.c: Likewise.
11104 * math/s_csqrt.c: Likewise.
11105 * math/s_csqrtf.c: Likewise.
11106 * math/s_csqrtl.c: Likewise.
11107 * math/s_ctan.c: Likewise.
11108 * math/s_ctanf.c: Likewise.
11109 * math/s_ctanh.c: Likewise.
11110 * math/s_ctanhf.c: Likewise.
11111 * math/s_ctanhl.c: Likewise.
11112 * math/s_ctanl.c: Likewise.
11113 * math/s_ldexp.c: Likewise.
11114 * math/s_ldexpf.c: Likewise.
11115 * math/s_ldexpl.c: Likewise.
11116 * math/s_significand.c: Likewise.
11117 * math/s_significandf.c: Likewise.
11118 * math/s_significandl.c: Likewise.
11119 * math/w_acos.c: Likewise.
11120 * math/w_acosf.c: Likewise.
11121 * math/w_acosh.c: Likewise.
11122 * math/w_acoshf.c: Likewise.
11123 * math/w_acoshl.c: Likewise.
11124 * math/w_acosl.c: Likewise.
11125 * math/w_asin.c: Likewise.
11126 * math/w_asinf.c: Likewise.
11127 * math/w_asinl.c: Likewise.
11128 * math/w_atan2.c: Likewise.
11129 * math/w_atan2f.c: Likewise.
11130 * math/w_atan2l.c: Likewise.
11131 * math/w_atanh.c: Likewise.
11132 * math/w_atanhf.c: Likewise.
11133 * math/w_atanhl.c: Likewise.
11134 * math/w_cosh.c: Likewise.
11135 * math/w_coshf.c: Likewise.
11136 * math/w_coshl.c: Likewise.
11137 * math/w_dremf.c: Likewise.
11138 * math/w_exp10.c: Likewise.
11139 * math/w_exp10f.c: Likewise.
11140 * math/w_exp10l.c: Likewise.
11141 * math/w_exp2.c: Likewise.
11142 * math/w_exp2f.c: Likewise.
11143 * math/w_fmod.c: Likewise.
11144 * math/w_fmodf.c: Likewise.
11145 * math/w_fmodl.c: Likewise.
11146 * math/w_hypot.c: Likewise.
11147 * math/w_hypotf.c: Likewise.
11148 * math/w_hypotl.c: Likewise.
11149 * math/w_j0.c: Likewise.
11150 * math/w_j0f.c: Likewise.
11151 * math/w_j0l.c: Likewise.
11152 * math/w_j1.c: Likewise.
11153 * math/w_j1f.c: Likewise.
11154 * math/w_j1l.c: Likewise.
11155 * math/w_jn.c: Likewise.
11156 * math/w_jnf.c: Likewise.
11157 * math/w_jnl.c: Likewise.
11158 * math/w_lgamma.c: Likewise.
11159 * math/w_lgamma_r.c: Likewise.
11160 * math/w_lgammaf.c: Likewise.
11161 * math/w_lgammaf_r.c: Likewise.
11162 * math/w_lgammal.c: Likewise.
11163 * math/w_lgammal_r.c: Likewise.
11164 * math/w_log.c: Likewise.
11165 * math/w_log10.c: Likewise.
11166 * math/w_log10f.c: Likewise.
11167 * math/w_log10l.c: Likewise.
11168 * math/w_log2.c: Likewise.
11169 * math/w_log2f.c: Likewise.
11170 * math/w_log2l.c: Likewise.
11171 * math/w_logf.c: Likewise.
11172 * math/w_logl.c: Likewise.
11173 * math/w_pow.c: Likewise.
11174 * math/w_powf.c: Likewise.
11175 * math/w_powl.c: Likewise.
11176 * math/w_remainder.c: Likewise.
11177 * math/w_remainderf.c: Likewise.
11178 * math/w_remainderl.c: Likewise.
11179 * math/w_scalb.c: Likewise.
11180 * math/w_scalbf.c: Likewise.
11181 * math/w_scalbl.c: Likewise.
11182 * math/w_sinh.c: Likewise.
11183 * math/w_sinhf.c: Likewise.
11184 * math/w_sinhl.c: Likewise.
11185 * math/w_sqrt.c: Likewise.
11186 * math/w_sqrtf.c: Likewise.
11187 * math/w_sqrtl.c: Likewise.
11188 * math/w_tgamma.c: Likewise.
11189 * math/w_tgammaf.c: Likewise.
11190 * math/w_tgammal.c: Likewise.
11191
6a621eb7
UD
11192 * po/ja.po: Update from translation team.
11193
bf582445
AJ
111942011-09-29 Andreas Jaeger <aj@suse.de>
11195
f9efbf3a
AJ
11196 [BZ #13179]
11197 * sunrpc/netname.c (netname2host): Fix logic.
11198
bf582445
AJ
11199 [BZ #6779]
11200 [BZ #6783]
11201 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11202 correctly.
11203 * math/w_remainder.c (__remainder): Likewise.
11204 * math/w_remainderf.c (__remainderf): Likewise.
11205 * math/libm-test.inc (remainder_test): Add test cases.
11206
48693bea
AK
112072011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11208
11209 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11210 sdiv_qrnnd.
11211
42622229
LD
112122011-10-07 Ulrich Drepper <drepper@gmail.com>
11213
11214 * string/test-memcmp.c: Avoid unncessary #defines.
11215 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11216
093ecf92
LD
112172011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11218
11219 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11220 Use new sse2 version for core i3 - i7 as it's faster
11221 than sse42 version.
11222 (bit_Prefer_PMINUB_for_stringop): New.
11223 * sysdeps/x86_64/rawmemchr.S: Update.
11224 Replace with faster SSE2 version.
11225 * sysdeps/x86_64/memrchr.S: New file.
11226 * sysdeps/x86_64/memchr.S: Update.
11227 Replace with faster SSE2 version.
11228
fde56e5c
MP
112292011-09-12 Marek Polacek <mpolacek@redhat.com>
11230
11231 * elf/dl-load.c (lose): Add cast to avoid warning.
11232
21fd49a9
UD
112332011-10-07 Ulrich Drepper <drepper@gmail.com>
11234
5a06e643
UD
11235 * po/ca.po: Update from translation team.
11236
684ae515
UD
11237 * inet/getnetgrent_r.c: Hook up nscd.
11238 * nscd/Makefile (routines): Add nscd_netgroup.
11239 (nscd-modules): Add netgroupcache.
11240 (CFLAGS-netgroupcache.c): Define.
11241 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11242 (cache_search): Add const to second parameter.
11243 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11244 INNETGR.
11245 (dbs): Add netgrdb entry.
11246 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11247 (verify_persistent_db): Handle netgrdb.
11248 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11249 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11250 GETFDNETGR.
11251 (netgroup_response_header): Define.
11252 (innetgroup_response_header): Define.
11253 (datahead): Add netgroup_response_header and innetgroup_response_header
11254 elements.
11255 * nscd/nscd.conf: Add entries for netgroup cache.
11256 * nscd/nscd.h (dbtype): Add netgrdb.
11257 (_PATH_NSCD_NETGROUP_DB): Define.
11258 (netgroup_iov_disabled): Declare.
11259 (xmalloc, xcalloc, xrealloc): Move declarations here.
11260 (cache_search): Adjust prototype.
11261 Add netgroup-related prototypes.
11262 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11263 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11264 (__nscd_innetgr): Declare.
11265 * nscd/selinux.c (perms): Use access_vector_t as element type and
11266 add netgroup-related initializers.
11267 * nscd/netgroupcache.c: New file.
11268 * nscd/nscd_netgroup.c: New file.
11269 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11270 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11271 For four parameters use innetgr.
11272 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11273 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11274 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11275 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11276
21fd49a9
UD
11277 * nscd/connections.c (register_traced_file): Don't register file
11278 for disabled databases.
11279
054c0457
UD
112802011-10-06 Ulrich Drepper <drepper@gmail.com>
11281
32b63198
UD
11282 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11283
054c0457
UD
11284 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11285 from tree and freeing node.
11286
64031225
JO
112872011-09-25 Jiri Olsa <jolsa@redhat.com>
11288
11289 * nss/nsswitch.c (__nss_database_lookup): Handle
11290 nss_parse_service_list out of memory case.
11291
0490345c
JO
112922011-09-15 Jiri Olsa <jolsa@redhat.com>
11293
11294 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11295 out of memory case.
11296
3a62d00d
AS
112972011-10-04 Andreas Schwab <schwab@redhat.com>
11298
11299 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11300 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11301 pass it down.
11302 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11303 elf_machine_rela, elf_machine_lazy_rel.
11304 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11305 (ELF_DYNAMIC_DO_REL): Likewise.
11306 (ELF_DYNAMIC_DO_RELA): Likewise.
11307 (ELF_DYNAMIC_RELOCATE): Likewise.
11308 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11309 to ELF_DYNAMIC_DO_REL.
11310 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11311 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11312 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11313 elf_machine_rela.
11314 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11315 skip_ifunc, don't call ifunc function if non-zero.
11316 (elf_machine_rela): Likewise.
11317 (elf_machine_lazy_rel): Likewise.
11318 (elf_machine_lazy_rela): Likewise.
11319 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11320 (elf_machine_lazy_rel): Likewise.
11321 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11322 Likewise.
11323 (elf_machine_lazy_rel): Likewise.
11324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11325 Likewise.
11326 (elf_machine_lazy_rel): Likewise.
11327 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11328 (elf_machine_lazy_rel): Likewise.
11329 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11330 (elf_machine_lazy_rel): Likewise.
11331 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11332 (elf_machine_lazy_rel): Likewise.
11333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11334 (elf_machine_lazy_rel): Likewise.
11335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11336 (elf_machine_lazy_rel): Likewise.
11337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11338 (elf_machine_lazy_rel): Likewise.
11339
68577918
UD
113402011-09-28 Ulrich Drepper <drepper@gmail.com>
11341
11342 * nss/nss_files/files-init.c (_nss_files_init): Use static
11343 initialization for all the *_traced_file variables.
11344
68822d74
AS
113452011-09-28 Andreas Schwab <schwab@redhat.com>
11346
11347 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11348
2056100b
RM
113492011-09-27 Roland McGrath <roland@hack.frob.com>
11350
11351 [BZ #13226]
11352 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11353
32c76b63
AS
113542011-09-27 Andreas Schwab <schwab@redhat.com>
11355
11356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11357 Reread the line before reparsing it.
11358
bf972c9d
AS
113592011-09-26 Andreas Schwab <schwab@redhat.com>
11360
11361 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11362
e057a1b5
JM
113632011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11364 Maxim Kuvyrkov <maxim@codesourcery.com>
11365 Joseph Myers <joseph@codesourcery.com>
11366
11367 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11368 if needed for __stack_chk_guard.
11369
bc7e1c36
RM
113702011-09-19 Roland McGrath <roland@hack.frob.com>
11371
ecb1482f
RM
11372 * sysdeps/posix/spawni.c (script_execute): Always define it.
11373 It will be optimized away if unused.
11374 (maybe_script_execute): New function.
11375 (__spawni): Call it.
11376
bc7e1c36
RM
11377 * Makerules: Don't include tls.make.
11378 (config-tls): Always set to thread.
11379 * tls.make.c: File removed.
11380
1c3b002b
MF
113812011-09-19 Mike Frysinger <vapier@gentoo.org>
11382
11383 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11384 * config.make.in (CPPFLAGS-config): New substituted variable.
11385
2840865d
UD
113862011-09-15 Ulrich Drepper <drepper@gmail.com>
11387
88738eb6
UD
11388 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11389
cbf645a6 11390 [BZ #13192]
2840865d
UD
11391 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11392 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11393
b402e91a
RM
113942011-09-15 Roland McGrath <roland@hack.frob.com>
11395
11396 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11397 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11399 (CALL_FAIL): Likewise.
11400 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11401 (CALL_FAIL): Macro removed.
11402 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11403
4c1a1f71
UD
114042011-09-15 Ulrich Drepper <drepper@gmail.com>
11405
11406 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11407 for __FINITE_MATH_ONLY__ == 1.
11408
edc121be
AS
114092011-09-15 Andreas Schwab <schwab@redhat.com>
11410
11411 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11412 __ieee754_sqrt instead of sqrt.
11413 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11414 __ieee754_sqrtf instead of sqrtf.
11415 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11416 __floorf instead of floorf.
11417 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11418 __floorf, __truncf instead of floorf, truncf.
11419
cd205654
UD
114202011-09-14 Ulrich Drepper <drepper@gmail.com>
11421
ee4d0315
UD
11422 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11423
cd205654
UD
11424 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11425 __extern_always_inline.
11426 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11427 32-bit.
11428
48b67d71
AS
114292011-09-14 Andreas Schwab <schwab@redhat.com>
11430
11431 * elf/rtld.c (dl_main): Also relocate in dependency order when
11432 doing symbol dependency testing.
11433
1ae12c75
AS
114342011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11435
11436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11437 Always define `refsym'.
11438
995a80df
AS
114392011-09-13 Andreas Schwab <schwab@redhat.com>
11440
e529793b
AS
11441 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11442 (__FD_ELT): Renamed from __FDELT.
11443 * misc/bits/select2.h (__FD_ELT): Likewise.
11444 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11445 __FD_MASK instead of __FDELT, __FDMASK.
11446 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11447 Likewise.
11448 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11449 Likewise.
11450
52d4fef8
AS
11451 * elf/Makefile (gen-ldd): Fix pattern.
11452
995a80df
AS
11453 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11454 (init_tls): Likewise.
11455
8682f8b0
UD
114562011-09-12 Ulrich Drepper <drepper@gmail.com>
11457
11458 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11459
de82006d
AS
114602011-09-12 Andreas Schwab <schwab@redhat.com>
11461
a7c8e6a1
AS
11462 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11463 `struct cmsghdr *' instead of `void *'.
11464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11465 Likewise.
11466
0f31fe77
AS
114672011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11468
11469 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11470 if non-absolute.
11471 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11472 ldd_rewrite_script.
0f31fe77 11473
32b4c839
UD
114742011-09-11 Ulrich Drepper <drepper@gmail.com>
11475
83cd1420
UD
11476 * configure.in: Remove --with-tls option.
11477 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11478 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11479 out in case it is missing.
11480 * sysdeps/ia64/elf/configure.in: Likewise.
11481 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11482 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11483 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11484 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11485 * sysdeps/sh/elf/configure.in: Likewise.
11486 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11487 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11488 * sysdeps/x86_64/elf/configure.in: Likewise.
11489 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11490 * sysdeps/mach/hurd/tls.h: Likewise.
11491
633f745d
UD
11492 [BZ #13067]
11493 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11494
f318beb8
UD
11495 [BZ #13090]
11496 * configure.in: Fix use of AC_INIT.
11497
32b4c839
UD
11498 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11499
3ce1f295
UD
115002011-09-10 Ulrich Drepper <drepper@gmail.com>
11501
bb016596
UD
11502 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11503 __set_errno.
8e58439c
UD
11504 * malloc/hooks.c: Likewise.
11505
aebae053 11506 [BZ #11929]
02d46fc4
UD
11507 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11508 variables statically.
11509 (narenas): Initialize.
11510 (list_lock): Initialize.
bb016596
UD
11511 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11512 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11513 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11514 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11515 Add initializers to main_arena and mp_.
11516 (malloc_state): Remove pagesize member. Change all users to use
11517 GLRO(dl_pagesize).
11518
11519 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11520 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11521 is always initialized.
11522
22a89187
UD
11523 * malloc/malloc.c: Removed unused configurations and dead code.
11524 * malloc/arena.c: Likewise.
11525 * malloc/hooks.c: Likewise.
02d46fc4 11526 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11527
d063d164
UD
11528 * include/tls.h: Removed. USE___THREAD must always be defined.
11529 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11530 * elf/dl-libc.c: Likewise.
11531 * elf/dl-tsd.c: Likewise.
11532 * include/errno.h: Likewise.
11533 * include/netdb.h: Likewise.
11534 * include/resolv.h: Likewise.
11535 * inet/herrno-loc.c: Likewise.
11536 * inet/herrno.c: Likewise.
11537 * malloc/arena.c: Likewise.
11538 * malloc/hooks.c: Likewise.
11539 * malloc/malloc.c: Likewise.
11540 * resolv/res-state.c: Likewise.
11541 * resolv/res_libc.c: Likewise.
11542 * sysdeps/i386/dl-machine.h: Likewise.
11543 * sysdeps/ia64/dl-machine.h: Likewise.
11544 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11545 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11546 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11547 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11548 * sysdeps/sh/dl-machine.h: Likewise.
11549 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11550 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11551 * sysdeps/unix/i386/sysdep.S: Likewise.
11552 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11553 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11555 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11556 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11557 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11558 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11562 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11563 * sysdeps/x86_64/dl-machine.h: Likewise.
11564 * tls.make.c: Likewise.
11565
3ce1f295
UD
11566 * configure.in: Remove --with-__thread option. Make tests for
11567 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11568 tls_model attribute fail if no support is available. Remove
11569 USE_IN_LIBIO.
11570 * Makeconfig: Adjust for dropped configure option. All features are
11571 now mandatory.
11572 * Makerules: Likewise.
11573 * Versions.def: Likewise.
11574 * argp/argp-fmtstream.c: Likewise.
11575 * argp/argp-fmtstream.h: Likewise.
11576 * argp/argp-help.c: Likewise.
11577 * assert/assert.c: Likewise.
11578 * config.h.in: Likewise.
11579 * config.make.in: Likewise.
11580 * configure: Likewise.
11581 * configure.in: Likewise.
11582 * csu/Versions: Likewise.
11583 * csu/init.c: Likewise.
11584 * elf/tst-audit2.c: Likewise.
11585 * elf/tst-tls10.c: Likewise.
11586 * elf/tst-tls10.h: Likewise.
11587 * elf/tst-tls11.c: Likewise.
11588 * elf/tst-tls12.c: Likewise.
11589 * elf/tst-tls14.c: Likewise.
11590 * elf/tst-tlsmod11.c: Likewise.
11591 * elf/tst-tlsmod12.c: Likewise.
11592 * elf/tst-tlsmod13.c: Likewise.
11593 * elf/tst-tlsmod13a.c: Likewise.
11594 * elf/tst-tlsmod14a.c: Likewise.
11595 * elf/tst-tlsmod15b.c: Likewise.
11596 * elf/tst-tlsmod16a.c: Likewise.
11597 * elf/tst-tlsmod16b.c: Likewise.
11598 * elf/tst-tlsmod7.c: Likewise.
11599 * elf/tst-tlsmod8.c: Likewise.
11600 * elf/tst-tlsmod9.c: Likewise.
11601 * gmon/gmon.c: Likewise.
11602 * grp/fgetgrent_r.c: Likewise.
11603 * grp/putgrent.c: Likewise.
11604 * hurd/fopenport.c: Likewise.
11605 * include/libc-symbols.h: Likewise.
11606 * include/tls.h: Likewise.
11607 * intl/gettextP.h: Likewise.
11608 * intl/loadinfo.h: Likewise.
11609 * locale/global-locale.c: Likewise.
11610 * locale/localeinfo.h: Likewise.
11611 * mach/devstream.c: Likewise.
11612 * malloc/arena.c: Likewise.
11613 * malloc/set-freeres.c: Likewise.
11614 * misc/err.c: Likewise.
11615 * misc/getttyent.c: Likewise.
11616 * misc/mntent_r.c: Likewise.
11617 * posix/getopt.c: Likewise.
11618 * posix/wordexp.c: Likewise.
11619 * pwd/fgetpwent_r.c: Likewise.
11620 * resolv/Versions: Likewise.
11621 * resolv/res_hconf.c: Likewise.
11622 * shadow/fgetspent_r.c: Likewise.
11623 * shadow/putspent.c: Likewise.
11624 * stdio-common/printf_fphex.c: Likewise.
11625 * stdio-common/tmpfile.c: Likewise.
11626 * stdlib/abort.c: Likewise.
11627 * stdlib/fmtmsg.c: Likewise.
11628 * sunrpc/auth_unix.c: Likewise.
11629 * sunrpc/clnt_perr.c: Likewise.
11630 * sunrpc/clnt_tcp.c: Likewise.
11631 * sunrpc/clnt_udp.c: Likewise.
11632 * sunrpc/clnt_unix.c: Likewise.
11633 * sunrpc/openchild.c: Likewise.
11634 * sunrpc/svc_simple.c: Likewise.
11635 * sunrpc/svc_tcp.c: Likewise.
11636 * sunrpc/svc_udp.c: Likewise.
11637 * sunrpc/svc_unix.c: Likewise.
11638 * sunrpc/xdr.c: Likewise.
11639 * sunrpc/xdr_array.c: Likewise.
11640 * sunrpc/xdr_rec.c: Likewise.
11641 * sunrpc/xdr_ref.c: Likewise.
11642 * sunrpc/xdr_stdio.c: Likewise.
11643
1248c1c4
PB
116442011-09-09 Ulrich Drepper <drepper@gmail.com>
11645
11646 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11647
116482011-07-03 Andreas Jaeger <aj@suse.de>
11649
11650 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11651 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11652 regenerate with gen-libm-tests.pl.
11653
116542010-05-12 Petr Baudis <pasky@suse.cz>
11655
11656 [BZ #11589]
11657 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11658 around j0() zero points by switching to j1().
11659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11663
f22e1074
UD
116642011-09-09 Ulrich Drepper <drepper@gmail.com>
11665
f19009c1
UD
11666 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11667 instead of 0.
11668 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11669 instead of 0. .
11670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11671 Patch in part by Pavel Roskin <proski@gnu.org>.
11672
3f8cc204
UD
11673 [BZ #13138]
11674 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11675 realloc.
11676 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11677 Free memory block if necessary.
11678
f22e1074
UD
11679 [BZ #12847]
11680 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11681 be NULL. Don't lock in this case.
11682
0a2349f9
RM
116832011-09-09 Roland McGrath <roland@hack.frob.com>
11684
11685 * elf/elf.h (ELFOSABI_GNU): New macro.
11686 (ELFOSABI_LINUX): Define to that.
11687
f3cdd467
DZ
116882011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11689
11690 * string/strncat.c (strncat): Undef the symbol in case it has been
11691 defined in bits/string.h.
11692
74718d13
UD
116932011-09-09 Ulrich Drepper <drepper@gmail.com>
11694
633e9e0f
UD
11695 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11696
0a2349f9 11697 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11698 link map.
11699
f9924780
AJ
117002011-08-17 Andreas Jaeger <aj@suse.de>
11701
11702 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11703
7f5517aa
PP
117042011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11705 Ian Lance Taylor <iant@google.com>
11706
11707 * math/libm-test.inc (lround_test): New testcase.
11708 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11709
762011fe
UD
117102011-09-08 Ulrich Drepper <drepper@gmail.com>
11711
92963737
UD
11712 * Makefile: Remove support for automatic cvs check-ins.
11713 * Makerules: Likewise.
11714 * config.make.in: Likewise.
11715 * configure.in: Likewise.
11716 * intl/Makefile: Likewise.
11717 * locale/Makefile: Likewise.
11718 * po/Makefile: Likewise.
11719 * posix/Makefile: Likewise.
11720 * sysdeps/gnu/Makefile: Likewise.
11721 * sysdeps/mach/hurd/Makefile: Likewise.
11722 * sysdeps/sparc/sparc32/Makefile: Likewise.
11723
b0727fd8
JS
11724 [BZ #13118]
11725 * posix/Makefile (bug-regex32-ENV): Define.
11726 Patch by John Stanley <jpsinthemix@verizon.net>.
11727
a0f33f99
UD
11728 * misc/Makefile (headers): Add bits/select2.h.
11729 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11730 * misc/bits/select2.h: New file.
11731 * include/bits/select2.h: New file.
11732 * debug/Makefile (routines): Add fdelt_chk.
11733 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11734 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11735 FD_ISSET.
11736 * debug/fdelt_chk.c: New file.
11737
762011fe
UD
11738 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11739 * wcsmbs/test-wmemcmp.c: Likewise.
11740 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11741 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11742
117432011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11744
11745 * string/Makefile (strop-tests): Add memcmp.
11746 * string/test-wmemcmp.c: New file.
11747 * string/test-memcmp.c: Add wmemcmp support.
11748
7f513ec8
RM
117492011-09-08 Roland McGrath <roland@hack.frob.com>
11750
0442afb4
RM
11751 [BZ #13153]
11752 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11753 2011-07-19 change.
11754
7f513ec8
RM
11755 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11756 garbage value in a __mach_port_mod_refs call in the cases of the
11757 task-self and thread-self ports.
11758
a12b2239
ST
117592011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11760
11761 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11762
610f9ab4
AS
117632011-09-08 Andreas Schwab <schwab@redhat.com>
11764
7f513ec8 11765 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11766
48882a1a
LD
117672011-09-07 Ulrich Drepper <drepper@gmail.com>
11768
b49865be
UD
11769 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11770
fdc86bc9
UD
11771 * elf/dl-libc.c (dlerror_run): Pass back error code from
11772 dl_catch_error.
11773
c966526a
UD
11774 [BZ #13123]
11775 * elf/dl-load.c (lose): Free l_origin if it is valid.
11776
48882a1a
LD
11777 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11778 names.
11779 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11780 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11781 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11782 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11783 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11784 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11785
77a2a8b4
AZ
117862011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11787
11788 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11789 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11790 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11791 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11792 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11793 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11794 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11795 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11796 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11797 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11798
24f579d8
AM
117992011-08-15 Alan Modra <amodra@gmail.com>
11800
11801 [BZ #13092]
11802 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11803 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11804 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11805 ppc_mcount to static-only-routines.
11806 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11807 __mcount_internal.
11808 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11809 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11810
3d4837df
UD
118112011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11812
11813 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11814 for finite and infinity parameters.
11815
22700377
WS
118162011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11817
11818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11819 and add nop instructions for throughput optimization.
11820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11821
5025581e
WS
118222011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11823
11824 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11825 aligned copy for power7 with vector-scalar instructions.
11826 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11827
08a300c9
L
118282011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11829
11830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11831 AVX check.
11832
59178ef9
AS
118332011-09-07 Andreas Schwab <schwab@redhat.com>
11834
11835 [BZ #13144]
11836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11837 last change.
11838
e38ba7ab
UD
118392011-09-07 Ulrich Drepper <drepper@gmail.com>
11840
11841 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11842 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11843 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11844 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11845 clock_gettime.
11846
d53a73ac
UD
118472011-09-06 Ulrich Drepper <drepper@gmail.com>
11848
fc8bffcc
UD
11849 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11850 Forgot to demangle the pointer.
11851
ceaa0c5d
UD
11852 * sysdeps/i386/sysdep.h: Define atom_text_section.
11853 * sysdeps/x86_64/sysdep.h: Likewise.
11854 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11855 section with atom_text_section.
11856 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11857 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11858 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11860 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11861
a77d3c17
UD
11862 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11863 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11864 already be defined. Change to take two parameters and don't assign
11865 result to variable. Adjust all users.
11866 Define INTERNAL_GETTIME if not already defined.
11867 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11868 call.
11869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11870 HAVE_CLOCK_GETTIME_VSYSCALL.
11871 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11872
d53a73ac
UD
11873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11874 gettimeofday vsyscall, just use time.
11875
a8f84144
AS
118762011-09-06 Andreas Schwab <schwab@redhat.com>
11877
11878 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11879 <errno.h>.
11880
ef606249
UD
118812011-09-06 Ulrich Drepper <drepper@gmail.com>
11882
11883 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11884 syscall on x86-64.
11885 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11886 syscall.
11887 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11889 syscall if possible.
11890
6585cb60
UD
118912011-09-05 Ulrich Drepper <drepper@gmail.com>
11892
11893 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11894 e_ident. Don't pass to find_mapsXX.
11895 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11896
a5f524e4
LD
118972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11898
11899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11900 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11901 * sysdeps/x86_64/multiarch/strchr.S: Update.
11902 Check bit_slow_BSF bit.
11903 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11904 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11905 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11906
554881ef
UD
119072011-09-05 Ulrich Drepper <drepper@gmail.com>
11908
d96de963
UD
11909 [BZ #13134]
11910 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11911 before glibc 2.15.
11912 (tryshell): Define.
11913 (__spawni): Change last parameter to be flag. Test
11914 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11915 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11916 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11917 * posix/spawni.c: Likewise.
11918 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11919 * posix/spawnp.c: Likewise. Change normal version to use
11920 SPAWN_XFLAGS_USE_PATH.
11921 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11922 SPAWN_XFLAGS_TRY_SHELL.
11923
d48e5868
UD
11924 [BZ #13150]
11925 * posix/glob.h: Remove gcc 1.x support.
11926
554881ef
UD
11927 [BZ #13068]
11928 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11929
693fb948
LD
119302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11931
11932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11933 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11934 strrchr-sse2-bsf
11935 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11936 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11937 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11938 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11939 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11940 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11941
1b48c537
UD
119422011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11943
49d42c37
UD
11944 * sysdeps/x86_64/wcscmp.S: New file.
11945
1b48c537
UD
11946 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11947 wcscmp-c wcscmp-sse2
11948 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11949 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11950 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11951 * wcsmbs/wcscmp.c: Allow renaming.
11952
15c95c5d
DM
119532011-09-05 David S. Miller <davem@davemloft.net>
11954
11955 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11956 stack slot, rather than the struct return pointer slot.
11957 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11958 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11960 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11961
2f0ad8f3
UD
119622011-09-05 Ulrich Drepper <drepper@gmail.com>
11963
d88ae418
UD
11964 * po/ja.po: Update from translation team.
11965
2f0ad8f3
UD
11966 [BZ #13144]
11967 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11968 kernel in 64-bit binaries.
11969
5f4318d1
DM
119702011-09-01 David S. Miller <davem@davemloft.net>
11971
11972 * elf/elf.h (HWCAP_SPARC_*): Move to..
11973 * sysdeps/sparc/sysdep.h: this new file and add new values.
11974 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11975 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11976 _DL_HWCAP_COUNT to 24.
11977 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11978 entries.
11979 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11980 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11981 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11983 instead of magic constants.
11984 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11985
3ba57516
DM
119862011-08-31 David S. Miller <davem@davemloft.net>
11987
11988 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11990 Reimplement to do errno handling inline.
11991 (SYSCALL_ERROR_HANDLER): New macro.
11992 (__SYSCALL_STRING): Do not do errno handling in asm.
11993 (__CLONE_SYSCALL_STRING): Delete.
11994 (__INTERNAL_SYSCALL_STRING): Delete.
11995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11996 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11997 (PSEUDO): Reimplement to do errno handling inline.
11998 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11999 (SYSCALL_ERROR_HANDLER): New macro.
12000 (__SYSCALL_STRING): Do not do errno handling in asm.
12001 (__CLONE_SYSCALL_STRING): Delete.
12002 (__INTERNAL_SYSCALL_STRING): Delete.
12003 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12004 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12005 i386.
12006 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12007 (inline_syscall*): Add 'err' argument.
12008 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12009 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12010 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12011 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12012
12013 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12014 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12015
2bc17433
AS
120162011-08-30 Andreas Schwab <schwab@redhat.com>
12017
12018 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12019
fbeb5f4d
JO
120202011-08-29 Jiri Olsa <jolsa@redhat.com>
12021
12022 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12023 directive.
12024
ad69cc26
DM
120252011-08-24 David S. Miller <davem@davemloft.net>
12026
12027 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12028
39dd69df
AS
120292011-08-24 Andreas Schwab <schwab@redhat.com>
12030
12031 * elf/Makefile: Add rules to build and run unload8 test.
12032 * elf/unload8.c: New file.
12033 * elf/unload8mod1.c: New file.
12034 * elf/unload8mod1x.c: New file.
12035 * elf/unload8mod2.c: New file.
12036 * elf/unload8mod3.c: New file.
12037
12038 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12039 it wasn't used.
12040
2c0b250a
DM
120412011-08-23 David S. Miller <davem@davemloft.net>
12042
12043 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12044 subtract stack bias.
12045 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12046 %sp not %fp in calculations.
12047 (_JMPBUF_UNWINDS_ADJ): Likewise.
12048
22044b48
DM
12049 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12050 (aio_suspend): Call it to force an exception region around the
12051 AIO_MISC_WAIT() invocation.
12052
2cae4995
AS
120532011-08-23 Andreas Schwab <schwab@redhat.com>
12054
12055 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12056 backslash.
12057
873a772e
AJ
120582011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12059
12060 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12061 protection macro.
12062 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12063 and <dl-machine.h>.
12064 (Elf64_FuncDesc): Remove.
12065
25ad0df1
DM
120662011-08-22 David S. Miller <davem@davemloft.net>
12067
12068 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12069 sigaltstack check, add missing cfi directives.
12070 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12071 missing cfi directives, and sigaltstack handling.
12072
e888bcbe
AS
120732011-08-16 Andreas Schwab <schwab@redhat.com>
12074
12075 [BZ #11724]
12076 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12077 object is seen twice.
12078 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12079
12080 * elf/Makefile (distribute): Add tst-initorder2.c.
12081 (tests): Add tst-initorder2.
12082 (modules-names): Add tst-initorder2a tst-initorder2b
12083 tst-initorder2c tst-initorder2d. Add rules to build them.
12084 ($(objpfx)tst-initorder2.out): New rule.
12085 * elf/tst-initorder2.c: New file.
12086 * elf/tst-initorder2.exp: New file.
12087
87162f46
AS
120882011-08-22 Andreas Schwab <schwab@redhat.com>
12089
70538b7f
AS
12090 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12091
f55ffe58
AS
12092 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12093 dependencies back to end of function.
12094
87162f46
AS
12095 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12096 $(elfobjdir)/ld.so.
12097
91b392a4
UD
120982011-08-21 Ulrich Drepper <drepper@gmail.com>
12099
12100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12101 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12102 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12103 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12104 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12105 of __vdso_gettimeofday.
12106 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12107 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12108 attribute_hidden.
12109 (_libc_vdso_platform_setup): Remove initialization of
12110 __vdso_gettimeofday and __vdso_time.
12111
5c43483f
UD
121122011-08-20 Ulrich Drepper <drepper@gmail.com>
12113
775a77e7
UD
12114 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12115 and fgetc_unlocked.
12116 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12117 getc_unlocked.
89f447ed 12118
49c74ba9
UD
12119 * elf/dl-open.c (add_to_global): Report additions to the global scope
12120 for LD_DEBUG=scopes.
12121 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12122 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12123
5c43483f
UD
12124 [BZ #13114]
12125 * stdio-common/Makefile (tests): Add bug24.
12126 * stdio-common/bug24.c: New file.
12127
a101b025
AJ
121282011-08-19 Andreas Jaeger <aj@suse.de>
12129
12130 [BZ #13114]
12131 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12132 non-existant file when using close-on-exec mode.
12133
c88f1766
UD
121342011-08-20 Ulrich Drepper <drepper@gmail.com>
12135
0276a718
UD
12136 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12137 the very first instruction.
12138
c88f1766
UD
12139 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12140 the CFI state in the end.
12141 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12142 inclusion of dl-trampoline.h.
12143 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12144
51ccffa0
AS
121452011-08-19 Andreas Schwab <schwab@redhat.com>
12146
94d7165f
AS
12147 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12148 expectations for long double.
12149
51ccffa0
AS
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12151 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12152
fd708658 121532011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12154
12155 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12156 artificual limit depends upon the system page size.
12157
44f0a71e
UD
121582011-08-17 Ulrich Drepper <drepper@gmail.com>
12159
12160 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12161 * resolv/Makefile: Define CFLAGS-libresolv.
12162
8de79a24
AS
121632011-08-17 Andreas Schwab <schwab@redhat.com>
12164
12165 * nss/makedb.c (compute_tables): Make variables used in nested
12166 function static.
12167
27724598
UD
121682011-08-17 Ulrich Drepper <drepper@gmail.com>
12169
c5305d88
UD
12170 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12171 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12172 if buffer was too small.
12173
27724598
UD
12174 * elf/pldd.c (main): Attach to all threads in the process.
12175 Rewrite /proc handling to use *at functions.
12176
076fe015
UD
121772011-08-16 Ulrich Drepper <drepper@gmail.com>
12178
174baab3
UD
12179 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12180 specifies first scope to show.
12181 (dl_open_worker): Update callers. Move printing scope of new
12182 object to before the relocation.
44f0a71e 12183 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12184 * sysdeps/generic/ldsodefs.h: Update declaration.
12185
076fe015
UD
12186 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12187 string for the scope number.
12188
a60df2c3
UD
121892011-08-14 Ulrich Drepper <drepper@gmail.com>
12190
12191 * nscd/servicescache.c (cache_addserv): Make sure written is always
12192 initialized.
12193
5e4287d1
RM
121942011-08-14 Roland McGrath <roland@hack.frob.com>
12195
85ae0589
RM
12196 * sysdeps/i386/i486/bits/atomic.h
12197 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12198 statement expression, so as to suppress "set but not used" warning.
12199 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12200
69f63097
RM
12201 * string/strncat.c (STRNCAT): Use prototype definition.
12202
675456ef
RM
12203 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12204 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12205 -Iprograms here.
12206 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12207 (localedef-modules): Add localedef.
12208 (locale-modules): Add locale.
12209
5e4287d1
RM
12210 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12211 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12212 to avoid a warning.
12213
9c96ff23
DM
122142011-08-14 David S. Miller <davem@davemloft.net>
12215
12216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12217 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12218
f9ddf089
UD
122192011-08-13 Ulrich Drepper <drepper@gmail.com>
12220
44f0a71e 12221 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12222 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12223 * elf/rtld.c (dl_main): Set l_name of vDSO.
12224 Call _dl_show_scope when DL_DEBUG_SCOPES.
12225 (process_dl_debug): Recognize scopes flag and also set it for all.
12226 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12227 Declare _dl_show_scope.
12228
1dc27704
UD
12229 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12230 (do_dlopen): Pass caller_dlopen to dl_open.
12231 (__libc_dlopen_mode): Initialize caller_dlopen.
12232
f9ddf089
UD
12233 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12234 of libc. Make tolower call locale-independent. Optimize a bit by
12235 using isdigit instead of isalnum.
12236 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12237
9ac533d3
UD
122382011-08-12 Ulrich Drepper <drepper@gmail.com>
12239
12240 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12241 was a dependency or dynamically loaded.
12242
89edf2e9
UD
122432011-08-11 Ulrich Drepper <drepper@gmail.com>
12244
8e999d29
UD
12245 * intl/l10nflist.c: Allow architecture-specific pop function.
12246 * sysdeps/x86_64/l10nflist.c: New file.
12247
89edf2e9
UD
12248 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12249 classification.
12250
14d96785
AS
122512011-08-10 Andreas Schwab <schwab@redhat.com>
12252
12253 * include/dirent.h: Add libc_hidden_proto for scandirat and
12254 scandirat64. Don't declare __scandirat64.
12255 * dirent/scandirat.c: Add libc_hidden_def.
12256 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12257 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12258
6761ac04
DM
122592011-08-10 David S. Miller <davem@davemloft.net>
12260
12261 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12262 enum.
12263 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12264 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12266
c55fbd1e
UD
122672011-08-09 Ulrich Drepper <drepper@gmail.com>
12268
12269 * Versions.def [libc]: Add GLIBC_2.15.
12270 * dirent/Makefile (routines): Add scandirat and scandirat64.
12271 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12272 GLIBC_2.15.
12273 * dirent/dirent.h: Declare scandirat and scandirat64.
12274 * dirent/scandirat.c: New file.
12275 * dirent/scandirat64.c: New file.
12276 * sysdeps/wordsize-64/scandirat.c: New file.
12277 * sysdeps/wordsize-64/scandirat64.c: New file.
12278 * dirent/opendir.c: Define opendirat.
12279 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12280 using scandirat.
12281 * dirent/scandir64.c: Adjust for scandir.c change.
12282 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12283 __scandirat64, and __scandir_cancel_handler.
12284 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12285 additional parameter and use openat instead of open (outside of ld.so).
12286 Add new __opendir as wrapper around __opendirat.
12287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12288 here without requiring old scandirat implementation.
12289
879165f2
UD
122902011-08-08 Ulrich Drepper <drepper@gmail.com>
12291
12292 * dirent/scandir.c (cancel_handler): Renamed to
12293 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12294 defined. Adjust users.
12295 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12296 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12297
cb7e923b
UD
122982011-08-04 Ulrich Drepper <drepper@gmail.com>
12299
16292edd
UD
12300 * string/test-string.h (IMPL): Use __STRING to expand name and then
12301 stringify it.
12302
cb7e923b
UD
12303 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12304 of cleanups.
12305
cff82933
LD
123062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12307
12308 * string/Makefile: Update.
12309 (strop-tests): Append strncat.
12310 * string/test-wcscmp.c: New file.
12311 New comprehensive test for wcscmp.
12312 * string/test-strcmp.c: Update.
12313 (WIDE): New define.
12314
9be9bfcc
AS
123152011-07-22 Andreas Schwab <schwab@redhat.com>
12316
12317 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12318 line.
12319
2e96f1c7
AS
123202011-07-26 Andreas Schwab <schwab@redhat.com>
12321
12322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12323 encoding to ACE if AI_IDN.
12324
85188888
JJ
123252011-08-01 Jakub Jelinek <jakub@redhat.com>
12326
12327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12328 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12329
5fa16e9b
LD
123302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12331
12332 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12333 Fix overflow bug in strncat.
12334 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12335
12336 * string/test-strncat.c: Update.
12337 Add new tests for checking overflow bugs.
12338
123392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12340
12341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12342 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12343 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12344 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12345 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12346 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12347 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12348 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12349 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12350
12351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12352 (USE_AS_STRCAT): Define.
12353 Add strcat and strncat support.
12354 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12355
8c1a459f
AS
123562011-07-25 Andreas Schwab <schwab@redhat.com>
12357
12358 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12359 __n bigger than INT_MAX+1.
12360 (__strncmp_g): Likewise.
12361
bba33c28
UD
123622011-07-23 Ulrich Drepper <drepper@gmail.com>
12363
798be72d
UD
12364 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12365 * libio/stido.h: Likewise.
12366
8accd4dc
UD
12367 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12368 (AF_NFC): Define.
12369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12370 (AF_NFC): Define.
12371
cbff0d96
UD
12372 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12374 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12375 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12376 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12377
9191c04a
UD
12378 [BZ #13021]
12379 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12380 installed.
12381
bba33c28
UD
12382 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12383 typo.
12384 (_dl_x86_64_save_sse): Likewise.
12385
90f139dd
UD
123862011-07-22 Ulrich Drepper <drepper@gmail.com>
12387
1aae088a
UD
12388 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12389 OSXSAVE.
12390 (_dl_x86_64_save_sse): Likewise.
12391
8e2045f5
UD
12392 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12393
90f139dd
UD
12394 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12395
1d002f25
AS
123962011-07-21 Andreas Schwab <schwab@redhat.com>
12397
12398 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12399 change.
12400 (_dl_x86_64_save_sse): Use correct AVX check.
12401
21137f89
UD
124022011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12403
12404 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12405 bug in strncpy/strncat.
12406 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12407
a65c0b7a
UD
124082011-07-21 Ulrich Drepper <drepper@gmail.com>
12409
12410 * string/tester.c (test_strcat): Add tests for different alignments
12411 of source and destination.
12412 (test_strncat): Likewise.
12413
6986b98a
UD
124142011-07-20 Ulrich Drepper <drepper@gmail.com>
12415
90bb2039
UD
12416 [BZ #12852]
12417 * posix/glob.c (glob): Check passed in values before using them in
12418 expressions to avoid some overflows.
12419 (glob_in_dir): Likewise.
12420
5644ef54
UD
12421 [BZ #13007]
12422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12423 check for AVX enablement so that we don't crash with old kernels and
12424 new hardware.
12425 * elf/tst-audit4.c: Add same checks here.
12426 * elf/tst-audit6.c: Likewise.
12427
12428 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12429
bfc9dc9b
AS
124302011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12431
12432 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12433
702e64bb
UD
124342011-07-20 Ulrich Drepper <drepper@gmail.com>
12435
12436 * po/cs.po: Update from translation team.
12437 * po/bg.po: Likewise.
12438
295e904f
MP
124392011-07-12 Marek Polacek <mpolacek@redhat.com>
12440
12441 * misc/sys/cdefs.h: Add support for const attribute.
12442 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12443 to gnu_dev_{major,minor,makedev} functions.
12444
3ff94596
MP
124452011-07-20 Marek Polacek <mpolacek@redhat.com>
12446
12447 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12448
28b59fca
AS
124492011-07-20 Andreas Schwab <schwab@redhat.com>
12450
12451 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12452 strlen results.
12453
19df733e
AK
124542011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12455
12456 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12457 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12458 register in order to avoid conflicts with the soft frame pointer
12459 being held in r11 when necessary.
12460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12461 (INTERNAL_VSYSCALL_NCS): Likewise.
12462
c8835729
MP
124632011-07-14 Marek Polacek <mpolacek@redhat.com>
12464
12465 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12466 * elf/dl-fini.c (_dl_fini): Adjust caller.
12467 * elf/dl-close.c (_dl_close_worker): Likewise.
12468 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12469
b902330c
MP
124702011-07-15 Marek Polacek <mpolacek@redhat.com>
12471
8991e135
MP
12472 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12473 "aux_cache->nlibs < 0".
12474
b902330c
MP
12475 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12476 in the reload-count case.
12477
99710781
LD
124782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12479
12480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12481 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12482 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12483 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12484 * sysdeps/x86_64/multiarch/strcat.S: New file.
12485 * sysdeps/x86_64/multiarch/strncat.S: New file.
12486 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12487 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12488 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12489 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12491 (USE_AS_STRCAT): Define.
12492 Add strcat and strncat support.
12493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12495 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12496 * string/strncat.c: Update.
12497 (USE_AS_STRNCAT): Define.
12498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12499 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12500 and i7.
12501 * sysdeps/x86_64/multiarch/init-arch.h
12502 (bit_Prefer_PMINUB_for_stringop): New.
12503 (index_Prefer_PMINUB_for_stringop): Likewise.
12504 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12505 bit_Prefer_PMINUB_for_stringop.
12506
7dc6bd90
UD
125072011-07-19 Ulrich Drepper <drepper@gmail.com>
12508
12509 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12510 buffer64.
12511 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12512 of casting of buffer.
12513 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12514 buffer32 and buffer64.
12515 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12516 writes instead of casting of buffer.
12517 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12518 buffer32.
12519 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12520 casting of buffer.
12521
e0e72284
AS
125222011-07-19 Andreas Schwab <schwab@redhat.com>
12523
12524 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12525
feb1eb0b
UD
125262011-07-19 Ulrich Drepper <drepper@gmail.com>
12527
12528 * nscd/nscd.c (termination_handler): Don't do anything for a database
12529 if it has not yet been initialized.
12530
298711ff
UD
125312011-07-18 Ulrich Drepper <drepper@gmail.com>
12532
12533 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12534
125352011-07-15 Marek Polacek <mpolacek@redhat.com>
12536
12537 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12538
f9d68389
UD
125392011-07-18 Ulrich Drepper <drepper@gmail.com>
12540
12541 * po/nl.po: Update from translation team.
12542 * po/sv.po: Likewise.
12543
db290cf5
RM
125442011-07-16 Roland McGrath <roland@hack.frob.com>
12545
12546 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12547 now disallowed by GCC.
5c550700 12548
fd5e21c7
RM
12549 * configure.in (use-default-link): Default to yes if a test -shared
12550 link meets our qualifications.
12551 * configure: Regenerated.
12552
5c550700
RM
12553 * config.make.in (output-format): New variable.
12554 * configure.in: Check for ld --print-output-format support.
12555 * configure: Regenerated.
12556 * Makerules ($(common-objpfx)format.lds)
12557 [$(output-format) != unknown]: Just use $(output-format),
12558 instead of the linker-script munging.
12559
9fa2c032
RM
125602011-07-14 Roland McGrath <roland@hack.frob.com>
12561
a6928d51
RM
12562 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12563 of $(common-objpfx)shlib.lds.
12564 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12565
661607b3
RM
12566 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12567 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12568
9fa2c032
RM
12569 * configure.in (-z relro check): Adjust test code to add a large
12570 writable data section after it.
12571 * configure: Regenerated.
12572
defe9061
RM
125732011-07-11 Roland McGrath <roland@hack.frob.com>
12574
12575 * configure.in (-z relro check): Fix test code to make the variable
12576 truly const.
12577 * configure: Regenerated.
12578
319b9ad4
UD
125792011-07-11 Ulrich Drepper <drepper@gmail.com>
12580
12581 * nscd/nscd.h (struct traced_file): Define.
12582 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12583 elements. Add traced_files.
12584 (inotify_fd): Declare.
12585 (register_traced_file): Declare.
12586 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12587 (inotify_fd): Export.
12588 (resolv_conf_descr): Remove.
12589 (nscd_init): Move inotify descriptor creation to main.
12590 Don't register files for notification here.
12591 (register_traced_file): New function.
12592 (invalidate_cache): Don't use reset_res to determine whether to call
12593 res_init, go through the list of registered files.
12594 (main_loop_poll): The inotify descriptors are now stored in the
12595 structures for the traced files.
12596 (main_loop_epoll): Likewise
12597 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12598 to __nss_disable_nscd.
12599 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12600 for a database anymore. Check the records for all the registered
12601 files instead.
12602 * nss/Makefile (libnss_files-routines): Add files-init.
12603 (libnss_db-routines): Add db-init.
12604 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12605 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12606 * nss/nss_db/db-init.c: New file.
12607 * nss/nss_files/files-init.c: New file.
12608 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12609 __nss_lookup_function.
12610 (__nss_lookup_function): Call nss_load_library.
12611 (nss_load_all_libraries): New function.
12612 (__nss_disable_nscd): Take parameter with callback function for files
12613 to register. Set is_nscd. Load all the DSOs for the NSS modules
12614 used for the cached services.
12615 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12616 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12617 options for features to all the files in nscd.
12618
12619 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12620
23bee3e8
RM
126212011-07-10 Roland McGrath <roland@hack.frob.com>
12622
12623 * csu/elf-init.c (__libc_csu_init): Comment typo.
12624
46a5b7f0
UD
126252011-07-09 Ulrich Drepper <drepper@gmail.com>
12626
12627 * po/pl.po: Update from translation team.
12628 * po/ja.po: Likewise.
12629 * po/ru.po: Likewise.
12630 * po/ko.po: Likewise.
12631 * po/fr.po: Likewise.
12632
d30cf5bb
RM
126332011-07-09 Roland McGrath <roland@hack.frob.com>
12634
113ddea4
RM
12635 * configure.in (.ctors/.dtors header and trailer check):
12636 Use an empirical test on a built program.
12637 * configure: Regenerated.
12638
574920b4
RM
12639 * configure.in (-z relro check): Use an empirical test on a built DSO.
12640 Detect, but do not require, on ia64.
12641 * configure: Regenerated.
12642
d30cf5bb
RM
12643 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12644 Update tests that use readelf to use $READELF instead.
12645 * configure: Regenerated.
12646
8538fdb3
UD
126472011-07-08 Ulrich Drepper <drepper@gmail.com>
12648
12649 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12650 if the result is not used.
12651
04d08991
AJ
126522011-07-05 Andreas Jaeger <aj@suse.de>
12653
12654 [BZ#9696]
12655 * stdlib/tst-strtod.c: Add testcase.
12656
de283087
AD
126572011-07-07 Ulrich Drepper <drepper@gmail.com>
12658
4e5f31c8 12659 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12660 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12661 The latter has a higher limit. Take additional parameter to pass to
12662 the new function.
12663 (__pathconf): Pass file to __statfs_link_max.
12664 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12665 __statfs_link_max.
12666 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12667 __statfs_link_max.
12668
de283087
AD
12669 [BZ #12868]
12670 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12671 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12672 Handle Lustre.
12673 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12674 (__statfs_filesize_max): Likewise.
12675 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12676
c75fa153
AJ
126772011-07-05 Andreas Jaeger <aj@suse.de>
12678
12679 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12680
1a544854
UD
126812011-07-06 Marek Polacek <mpolacek@redhat.com>
12682
12683 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12684 `status' variable.
12685 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12686 Likewise.
12687
6f0eec67
UD
126882011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12689
12690 * Makefile (strop-tests): Add strncat.
12691 * string/test-strncat.c: New file.
12692
aae30307
UD
126932011-06-30 Marek Polacek <mpolacek@redhat.com>
12694
12695 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12696
c0cfb5eb
UD
126972011-06-21 Andreas Jaeger <aj@suse.de>
12698
12699 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12700 Copy rule from iconvdata/Makefile.
12701
01636b21
UD
127022011-07-06 Ulrich Drepper <drepper@gmail.com>
12703
12704 [BZ #12922]
12705 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12706 but no long options are defined, just return 'W'.
12707
9895c8bc
UD
127082011-06-22 Marek Polacek <mpolacek@redhat.com>
12709
12710 [BZ #9696]
12711 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12712
5d4cf042
UD
127132011-07-06 Ulrich Drepper <drepper@gmail.com>
12714
12715 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12716 netgroups to read.
960e5535 12717 (innetgr): Likewise.
5d4cf042 12718
751eb97e
RM
127192011-07-05 Roland McGrath <roland@hack.frob.com>
12720
12721 * config.make.in (install_root): Default to $(DESTDIR).
12722
f15f1e45
UD
127232011-07-05 Ulrich Drepper <drepper@gmail.com>
12724
12725 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12726
4e34ac6a
RM
127272011-07-02 Roland McGrath <roland@hack.frob.com>
12728
5e9b6af4
RM
12729 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12730
84f9ea0f
RM
12731 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12732 containing directory rather than embedding absolute directory names.
12733
ea5ee9f7
RM
12734 * scripts/check-local-headers.sh: Rewritten using awk.
12735 Match by word, not by line. Print error messages for matches.
12736 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12737
1b74661a
RM
12738 * Makerules [shlib-lds-flags empty]:
12739 ($(common-objpfx)libc_pic.opts): New target.
12740 ($(common-objpfx)libc_pic.os.clean): New target.
12741 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12742
12743 * config.make.in (OBJCOPY): New variable.
12744 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12745 * configure: Regenerated.
12746
f781ef40
RM
12747 * config.make.in (use-default-link): New variable.
12748 * configure.in (use_default_link): Grok --with-default-link to set it.
12749 * configure: Regenerated.
12750 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12751 (shlib-lds, shlib-lds-flags): Define to empty.
12752
2d4fa81e
RM
12753 * Makerules (shlib-lds): New variable.
12754 (shlib-lds-flags): New variable.
12755 (build-shlib, build-moduile, build-module-asneeded): Use it.
12756 ($(common-objpfx)libc.so): Use $(shlib-lds).
12757 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12758 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12759
31fffa6b
RM
12760 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12761 DT_FLAGS/DT_FLAGS_1 with zero flags.
12762
4e34ac6a
RM
12763 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12764 linker script munging.
12765
fcfc776b
UD
127662011-07-02 Ulrich Drepper <drepper@gmail.com>
12767
12768 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12769 as 128-bit value.
12770 * crypt/sha512.c (sha512_process_block): Perform total addition using
12771 128-bit if possible.
12772 (__sha512_finish_ctx): Likewise.
12773 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12774 as 64-bit value.
12775 * crypt/sha256.c (SWAP64): Define.
12776 (sha256_process_block): Perform total addition using 64-bit if
12777 possible.
12778 (__sha256_finish_ctx): Likewise.
12779
99231d9a
UD
127802011-07-01 Ulrich Drepper <drepper@gmail.com>
12781
12782 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12784 * nscd/hstcache.c (cache_addhst): Likewise.
12785 * nscd/grpcache.c (cache_addgr): Likewise.
12786 * nscd/aicache.c (addhstaiX): Likewise
12787 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12788
445b4a53
TK
127892011-07-01 Thorsten Kukuk <kukuk@suse.de>
12790
12791 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12793 * nscd/hstcache.c (cache_addhst): Likewise.
12794 * nscd/grpcache.c (cache_addgr): Likewise.
12795 * nscd/aicache.c (addhstaiX): Likewise
12796
6d4d8e8e
AS
127972011-07-01 Andreas Schwab <schwab@redhat.com>
12798
12799 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12800 domain only when needed.
12801
89f654c5
AS
128022011-06-30 Andreas Schwab <schwab@redhat.com>
12803
12804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12805 is always restored.
12806
cf3b23ff
UD
128072011-06-29 Ulrich Drepper <drepper@gmail.com>
12808
12809 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12810 are re-adding the entry.
12811 * nscd/servicescache.c (cache_addserv): Likewise.
12812
751626f9
AJ
128132011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12814
12815 * sysdeps/generic/dl-irel.h: fix protection against multiple
12816 inclusions.
12817 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12818
9113ea1f
UD
128192011-06-28 Ulrich Drepper <drepper@gmail.com>
12820
5c0b8d90
UD
12821 [BZ #12935]
12822 * malloc/memusage.sh: Fix quoting in message.
12823 * debug/xtrace.sh: Likewise.
12824
9113ea1f
UD
12825 * configure.in: Remove support for --experimental-malloc option, make
12826 it the default.
12827 * config.make.in: Likewise.
12828 * malloc/Makefile: Likewise.
12829
a4172181
AS
128302011-06-27 Andreas Schwab <schwab@redhat.com>
12831
12832 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12833 two-byte characters.
12834
78a7eee7
RM
128352011-06-27 Roland McGrath <roland@hack.frob.com>
12836
62bede13
RM
12837 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12838 AC_CACHE_CHECK invocation.
12839 * configure: Regenerated.
12840
78a7eee7
RM
12841 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12842
5ce33a62
UD
128432011-06-27 Ulrich Drepper <drepper@gmail.com>
12844
034807a9
UD
12845 [BZ #12350]
12846 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12847 bit from old_res_options.
12848
4902da17
UD
12849 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12850
5ce33a62
UD
12851 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12852 value type for setfct.
12853
c2344f56
L
128542011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12855
12856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12857 __gettimeofday instead of gettimeofday.
12858
68468076
UD
128592011-06-26 Ulrich Drepper <drepper@gmail.com>
12860
12861 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12862
acb0d739
L
128632011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12864
12865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12866
12867 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12868 info.
12869
8912479f
L
128702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12871
12872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12873 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12874 strcpy-sse2-unaligned strncpy-sse2-unaligned
12875 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12876 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12877 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12878 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12879 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12880 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12881 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12882 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12883 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12884 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12885 (STRCPY): Support SSE2 and SSSE3 versions.
12886
d5495a11
UD
128872011-06-24 Ulrich Drepper <drepper@gmail.com>
12888
12889 [BZ #12874]
12890 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12891 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12892 kernels which artificially limit size of requests.
12893
0b1cbaae
L
128942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12895
12896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12897 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12898 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12899 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12900 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12901 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12902 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12903 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12904 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12905 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12906 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12907 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12908 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12909 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12910 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12912 Enable unaligned load optimization for Intel Core i3, i5 and i7
12913 processors.
12914 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12915 Define.
12916 (index_Fast_Unaligned_Load): Define.
12917 (HAS_FAST_UNALIGNED_LOAD): Define.
12918
07f494a0
MP
129192011-06-23 Marek Polacek <mpolacek@redhat.com>
12920
12921 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12922
fa3fc0fe
UD
129232011-06-22 Ulrich Drepper <drepper@gmail.com>
12924
12925 [BZ #12907]
12926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12927 until it is clear that the information is realy needed.
12928 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12929
e12df166
AS
129302011-06-22 Andreas Schwab <schwab@redhat.com>
12931
12932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12933
852eb34d
UD
129342011-06-22 Ulrich Drepper <drepper@gmail.com>
12935
84e2a551
UD
12936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12937 /sys/devices/system/cpu/online if it is usable.
12938
852eb34d
UD
12939 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12940 reading the information from the /proc filesystem to once a second.
12941
6e502e19
UD
129422011-06-21 Andreas Jaeger <aj@suse.de>
12943
12944 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12945 NULL after inclusion of kernel headers.
12946
75d39ff2
UD
129472011-06-21 Ulrich Drepper <drepper@gmail.com>
12948
51f9aa6a
UD
12949 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12950 calls to internal_setent.
12951
c0244a9d
UD
12952 [BZ #12885]
12953 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12954 addresses using gethostbyname4_r ignore IPv4 addresses.
12955
c5e3c2ae
UD
12956 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12957 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12958
75d39ff2
UD
12959 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12960
42675c6f
DM
129612011-06-20 David S. Miller <davem@davemloft.net>
12962
12963 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12964 inclusions.
12965 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12966
12967 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12968 (elf_irel): Use it.
12969 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12970 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12971 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12972 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12973 * sysdeps/x86_64/dl-irel.h: Likewise.
12974
12975 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12976 * elf/dl-sym.c: Likewise.
12977
57912a71
UD
129782011-06-15 Ulrich Drepper <drepper@gmail.com>
12979
12980 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12981 need to dereference resplen2.
12982
ee22793d
AS
129832011-06-14 Andreas Schwab <schwab@redhat.com>
12984
12985 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12986
a9e836b0
UD
129872011-06-15 Ulrich Drepper <drepper@gmail.com>
12988
77fb9117
UD
12989 * Makeconfig: Define vardbdir and inst_vardbdir.
12990 * nss/Makefile: Add rules to install db-Makefile.
12991
40c1b22c
UD
12992 * nss/nss_db/db-XXX.c: Cleanup.
12993
9f2da732
UD
12994 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12995 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12996 GLIBC_PRIVATE.
12997 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12998 * nss/makedb.c: Implement -g option to specify that value strings
12999 are generated and should not be added to table iterated over for
13000 get*ent calls.
13001 * nss/nss_db/db-initgroups.c: New file.
13002
82e9a1f7
UD
13003 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13004 interface.
13005
c41af17e
UD
13006 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13007 (internal_getgrouplist): Adjust to name change.
13008 Update use_initgroups_entry if this is not the first call.
13009 * nss/databases.def: Add initgroups entry.
13010
a9e836b0
UD
13011 * nss/makedb.c (compute_tables): Check result of multiple hash table
13012 sizes to minimize maximum chain length.
13013
2666d441
UD
130142011-06-14 Ulrich Drepper <drepper@gmail.com>
13015
13016 * Versions.def: Add entry for libnss_db.
13017 * shlib-versions: Likewise.
13018 * nss/Makefile: Add rules to build libnss_db.
13019 * nss/Versions: Add libnss_db information. Organize libnss_files
13020 entries better.
13021 * nss/db-Makefile: Add gshadow support. Change rules for the new
13022 makedb progra. Some minor improvements to generate smaller files.
13023 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13024 here from...
13025 * nss/makedb.c: ...here.
13026 Improve database format to be smaller and require less memory at
13027 runtime.
13028 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13029 db anymore.
13030 * nss/nss_db/db-netgrp.c: Likewise.
13031 * nss/nss_db/db-open.c: Likewise.
13032 * nss/nss_files/flies-XXX.x: Adjust comments.
13033 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13034 * nss/nss_files/files-grp.c: Likewise.
13035 * nss/nss_files/files-hosts.c: Likewise.
13036 * nss/nss_files/files-network.c: Likewise.
13037 * nss/nss_files/files-proto.c: Likewise.
13038 * nss/nss_files/files-pwd.c: Likewise.
13039 * nss/nss_files/files-rpc.c: Likewise.
13040 * nss/nss_files/files-service.c: Likewise.
13041 * nss/nss_files/files-sgrp.c: Likewise.
13042 * nss/nss_files/files-spwd.c: Likewise.
13043 * nss/nss_db/db-alias.c: Removed.
13044 * nss/nss_db/dummy-db.h: Removed.
13045
9ee76b5a
UD
130462011-06-02 Ulrich Drepper <drepper@gmail.com>
13047
13048 * nss/makedb.c: Rewritten to not use database library.
13049 * nss/Makefile: Update to build new makedb program.
13050
c71ca1f8
AJ
130512011-06-14 Andreas Jaeger <aj@suse.de>
13052
13053 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13054 memset declaration.
13055
3154bfb8
UD
130562011-06-10 Andreas Schwab <schwab@redhat.com>
13057
13058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13059 tmpbuf.
13060
b350afab
RM
130612011-06-10 Roland McGrath <roland@hack.frob.com>
13062
decd4e50
RM
13063 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13064 * elf/Makefile ($(objpfx)ld.so): Likewise.
13065
5615eaf2
RM
13066 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13067 Don't list ld.so twice in dependencies.
13068
13069 * posix/bug-regex31.c: Include <stdlib.h>.
13070
13071 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13072
13073 * nis/nss_compat/compat-spwd.c
13074 (getspent_next_nss_netgr): Remove unused variable.
13075 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13076
13077 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13078 nonmembers" output to use the right array.
13079
13080 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13081
13082 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13083
13084 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13085 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13086 * catgets/gencat.c (read_input_file): Likewise.
13087 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13088
13089 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13090 variable definition inside #if's controlling its use.
13091
13092 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13093
13094 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13095
13096 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13097
13098 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13099 unreachable code.
13100
13101 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13102
b68e08db
RM
13103 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13104 * configure: Regenerated.
13105
b350afab
RM
13106 * Makerules: Revert last change.
13107 * elf/Makefile: Likewise.
13108
28368601
RM
131092011-06-09 Roland McGrath <roland@hack.frob.com>
13110
13111 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13112 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13113 (reloc-link): Likewise.
13114
11988f8f
UD
131152011-06-09 Ulrich Drepper <drepper@gmail.com>
13116
13117 * elf/Makefile: Add rules to build pldd.
13118 * elf/pldd.c: New file.
13119 * elf/pldd-xx.c: New file.
13120
e80fab37
UD
131212011-06-07 Ulrich Drepper <drepper@gmail.com>
13122
13123 * version.h: Update for 2.15 development version.
13124
9b849836
DM
131252011-06-07 David S. Miller <davem@davemloft.net>
13126
13127 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13128 ifuncs.
13129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13130 elf_machine_lazy_rel): Likewise.
13131 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13133 elf_machine_lazy_rel): Likewise.
13134 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13135 dl_hwcap via passed in argument.
13136 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13137 Likewise.
13138
5a31b283
AK
131392011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13140
13141 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13142
069e52f8
RM
131432011-06-06 Roland McGrath <roland@hack.frob.com>
13144
13145 [BZ #12849]
13146 * manual/fdl-1.1.texi: New file, verbatim from:
13147 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13148 * manual/lgpl-2.1.texi: New file, verbatim from:
13149 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13150 * manual/Makefile (licenses): New variable, list those new file names.
13151 (texis): Use it.
13152 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13153
13154 * manual/fdl.texi: File removed.
13155 * manual/lesser.texi: File removed.
13156 * manual/libc.texinfo (Copying, Documentation License):
13157 Use new @include file names, put @appendix directive before @include.
13158
f16846a5
JJ
131592011-06-04 Jakub Jelinek <jakub@redhat.com>
13160
13161 [BZ #12841]
13162 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13163 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13164 (mq_open): Add __NTH.
13165
3d29045b
L
131662011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13167
13168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13169 Assume Intel Core i3/i5/i7 processor if AVX is available.
13170
8c297311
UD
131712011-05-31 Ulrich Drepper <drepper@gmail.com>
13172
13173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13174 typo.
13175
c8fc0c91
UD
131762011-05-31 Andreas Schwab <schwab@redhat.com>
13177
13178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13179 memory. Use alloca_account. Fix memory leak when retrying.
13180
5b27a807
UD
131812011-05-31 Ulrich Drepper <drepper@gmail.com>
13182
356f8bc6
UD
13183 * version.h (RELEASE): Bump for 2.14 release.
13184 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13185
5b27a807
UD
13186 * config.make.in (RANLIB): Remove entry.
13187
01f16ab0
UD
131882011-05-30 Ulrich Drepper <drepper@gmail.com>
13189
41fce8bd
UD
13190 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13191 (libc.pot): Work around missing support for .ksh extension in xgettext.
13192
4769ae77
UD
13193 [BZ #12684]
13194 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13195 if both request failed.
13196 (send_dg): In case of server errors clear resplen or *resplen2.
13197
6b1e7d19
UD
13198 [BZ #12454]
13199 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13200 when there are multiple maps.
13201 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13202 (_dl_fini): Remove test here.
13203
01f16ab0
UD
13204 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13205
b1ebd700
UD
132062011-05-29 Ulrich Drepper <drepper@gmail.com>
13207
7ae22829
UD
13208 [BZ #12350]
13209 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13210 bit from old_res_options.
13211 (gaih_inet): Likewise.
13212
553149f6 13213 [BZ #11099]
18a84741 13214 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13215 as signed.
13216
652ffab1
UD
13217 * resolv/res_init.c (res_setoptions): Make the code more compact.
13218
16985fd0
UD
13219 [BZ #11558]
13220 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13221 set RES_USEVC.
13222
0464f746
UD
13223 [BZ #11634]
13224 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13225
7d17596c
UD
13226 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13227
cf6bbbd7
UD
13228 [BZ #11781]
13229 * malloc/malloc.h: Declare malloc hook variables as volatile.
13230
13f1ab36
UD
13231 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13232 in last patch.
13233
b1ebd700
UD
13234 [BZ #11799]
13235 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13236 raise in the comment.
80e2212d
UD
13237 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13239 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13240
ce67228d
UD
132412011-05-28 Ulrich Drepper <drepper@gmail.com>
13242
8887a920
UD
13243 [BZ #12811]
13244 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13245 grow the buffers more if it already has to be sufficient.
13246 (build_wcs_upper_buffer): Likewise.
13247 * posix/regexec.c (check_matching): Likewise.
13248 (clean_state_log_if_needed): Likewise.
13249 (extend_buffers): Don't enlarge buffers beyond size of the input
13250 buffer.
13251 Patches mostly by Emil Wojak <emil@wojak.eu>.
13252 * posix/bug-regex32.c: New file.
13253 * posix/Makefile (tests): Add bug-regex32.
13254
4f031072
UD
13255 * locale/findlocale.c (_nl_find_locale): Return right away if
13256 _nl_explode_name failed.
13257 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13258
d0478f0c
UD
13259 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13260
de81b246
UD
13261 * debug/xtrace.sh: Unify messages.
13262 * malloc/memusage.sh: Likewise.
13263
c738465a
UD
13264 [BZ #12813]
13265 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13266 time symbol from vDSO. Substitute with vsyscall if not available.
13267 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13268 __vdso_time.
13269
f1f929d7
UD
13270 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13271 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13272 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13273 Add sendmmsg and internal_sendmmsg.
13274 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13275 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13276 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13277
ce67228d
UD
13278 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13279 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13280 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13281
e57420c6
UD
132822011-05-27 Ulrich Drepper <drepper@gmail.com>
13283
a8509ca5
UD
13284 [BZ #12813]
13285 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13286 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13287 available.
13288 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13289 __vdso_getcpu.
13290
e57420c6
UD
13291 [BZ #12814]
13292 * iconvdata/Makefile (tests): Add bug-iconv9.
13293 * iconvdata/bug-iconv9.c: New file.
13294
4d07db15
AS
132952011-05-27 Andreas Schwab <schwab@redhat.com>
13296
13297 [BZ #12814]
13298 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13299
ea486f69
JJ
133002011-05-25 Jakub Jelinek <jakub@redhat.com>
13301
13302 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13303 (struct user_regs_struct): Change intcs field back to cs.
13304
6f038433
UD
133052011-05-25 Ulrich Drepper <drepper@gmail.com>
13306
13307 * po/ja.po: Update from translation team.
13308
67f86a25
UD
133092011-05-23 Ulrich Drepper <drepper@gmail.com>
13310
13311 [BZ #12795]
13312 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13313 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13314
def7fbd6
AS
133152011-05-20 Andreas Schwab <schwab@redhat.com>
13316
13317 * stdlib/longlong.h: Update from GCC.
13318
f50ef8f1
AS
133192011-05-23 Andreas Schwab <schwab@redhat.com>
13320
13321 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13322 parameter name.
13323 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13324 Add parameter name.
13325 (__sysconf): Pass it down.
13326
de7ce8f1
UD
133272011-05-22 Ulrich Drepper <drepper@gmail.com>
13328
f2962a71
UD
13329 [BZ #12671]
13330 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13331 some situations.
13332 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13333 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13334 add in in __libc_use_alloca calls. Adjust callers.
13335 (glob): Use malloc in some situations.
13336
de7ce8f1
UD
13337 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13338 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13339 pltexit.
13340
aec84f53
UD
133412011-05-21 Ulrich Drepper <drepper@gmail.com>
13342
05bb4a68
UD
13343 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13344 and CLOCK_BOOTTIME_ALARM.
13345
7ea72f99
UD
13346 [BZ #12782]
13347 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13348 is returned.
13349
7e4afad5
UD
13350 * string/_strerror.c (__strerror_r): Print negative errors as signed
13351 numbers.
13352
8e211fec
UD
13353 [BZ #12777]
13354 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13355 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13356 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13357
f7d82dc9
UD
13358 * configure.in: Fix typo in redirection and correct removal of test
13359 files in two cases.
13360
cc9e536d
UD
13361 [BZ #12788]
13362 * locale/setlocale.c (new_composite_name): Fix test to check for
13363 identical name of all categories.
13364
aec84f53
UD
13365 [BZ #12792]
13366 * libio/filedoalloc.c (local_isatty): New function.
13367 (_IO_file_doallocate): Use local_isatty.
13368 * stdio-common/perror.c (perror): In case a new stream is used
13369 forward the stream error.
13370 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13371 error flag.
13372
78e64fdc
RT
133732011-05-20 Ulrich Drepper <drepper@gmail.com>
13374
34a9094f
UD
13375 [BZ #11869]
13376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13377 alloca.
13378 * include/alloca.h (extend_alloca_account): Define.
13379
78e64fdc
RT
13380 [BZ #11857]
13381 * posix/regex.h: Fix comments with documentation of user-accessible
13382 fields after compilation and describe correct free'ing of pattern
13383 after re_compile_pattern.
13384 Patch by Reuben Thomas <rrt@sc3d.org>.
13385
457bddfc
RA
133862011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13387
13388 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13389 and -mno-altivec to prevent the compiler from using Altivec and/or
13390 VSX instructions when the corresponding registers are not available.
13391
a4527b51
AS
133922011-05-19 Andreas Schwab <schwab@redhat.com>
13393
13394 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13395
ed690b2f
UD
133962011-05-19 Ulrich Drepper <drepper@gmail.com>
13397
13398 * libio/freopen.c (freopen): Use __dup2, not dup2.
13399 * libio/freopen64.c (freopen64): Likewise.
13400
8db73634
L
134012011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13402
13403 [BZ #12775]
13404 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13405 * math/Makefile (tests): Add test-powl.
13406 (CFLAGS-test-powl.c): Define.
13407 * math/test-powl.c: New file.
13408
0a197a9d
L
134092011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13410
13411 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13412
ee30c380
UD
134132011-05-17 Ulrich Drepper <drepper@gmail.com>
13414
13415 [BZ #11837]
13416 * iconvdata/gb18030.c: Update to GB18020-2005.
13417
6ce75379
UD
134182011-05-16 Ulrich Drepper <drepper@gmail.com>
13419
a4b89fd8
AR
13420 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13421 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13422 Patch by Aharon Robbins <arnold@skeeve.com>.
13423
ea389b12
UD
13424 [BZ #11892]
13425 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13426 on the stack.
13427
68a3f91f
UD
13428 [BZ #11895]
13429 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13430 through underflows.
13431
15cc7dd1
UD
13432 [BZ #12766]
13433 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13434 point to strings before performing equality test for error_one_per_line
13435 mode.
13436
f3799213
UD
13437 [BZ #11697]
13438 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13439
d79a9c94
UD
13440 [BZ #11820]
13441 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13442 (struct user_fpregs_struct): Avoid __uint*_t types.
13443
56e5eb46
UD
13444 [BZ #6420]
13445 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13446 symbol info. Use it instead of calling _dl_addr locally.
13447 (lock_and_info): New function.
13448 (tr_freehook): Call lock_and_info and pass symbol info as additional
13449 parameter to tr_where.
13450 (tr_mallochook): Likewise.
13451 (tr_reallochook): Likewise.
13452 (tr_memalignhook): Likewise.
13453
6ce75379
UD
13454 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13455 used and couldn't be at all thread-safe.
13456
f8a3b5bf
UD
134572011-05-15 Ulrich Drepper <drepper@gmail.com>
13458
94b7cc37
UD
13459 * libio/freopen.c (freopen): Don't close old file descriptor
13460 before the new one is opened. Instead dup the new file descriptor
13461 to the old one after the new stream is created.
13462 * libio/freopen64.c (freopen64): Likewise.
13463 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13464 * libio/fileops.c (_IO_new_file_close_it): Handle new
13465 _IO_FLAGS2_NOCLOSE flag.
13466 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13467 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13468 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13469 _IO_FLAGS2_NOCLOSE flag.
13470 * include/unistd.h: Add hidden_proto for dup3.
13471 Define __have_dup3.
13472 * io/dup3.c: Define hidden symbol.
13473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13474
bd25564e
UD
13475 [BZ #7101]
13476 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13477 when an incomplete long option is used.
13478 * posix/tst-getopt_long1.c: New file.
13479 * posix/Makefile (tests): Add tst-getopt_long1.
13480
c84cfef4
UD
13481 [BZ #10138]
13482 * scripts/config.guess: Update from autoconf-2.68.
13483 * scripts/config.sub: Likewise.
13484
3b85df27
UD
13485 [BZ #10157]
13486 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13487 tests into ...
13488 (has_cpuclock): ...this. New function.
13489 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13490 macro here based on has_cpuclock code.
13491
15a856b1
UD
13492 [BZ #10149]
13493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13494 First byte (not low byte) is now always NUL.
13495 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13496
05f399e6
UD
13497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13498 Use non-cancelable interfaces.
13499
10a52685 13500 [BZ #9809]
94ecc67d
UD
13501 * locale/iso-639.def: Add entry for Sorani.
13502
f8a3b5bf
UD
13503 [BZ #11901]
13504 * include/stdlib.h: Move include protection to the right place.
13505 Define abort_msg_s. Declare __abort_msg with it.
13506 * stdlib/abort.c (__abort_msg): Adjust type.
13507 * assert/assert.c (__assert_fail_base): New function. Majority
13508 of code from __assert_fail. Allocate memory for __abort_msg with
13509 mmap.
13510 (__assert_fail): Now call __assert_fail_base.
13511 * assert/assert-perr.c: Remove bulk of implementation. Use
13512 __assert_fail_base.
13513 * include/assert.hL Declare __assert_fail_base.
13514 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13515 mmap.
13516 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13517
1af4e298
UD
135182011-05-14 Ulrich Drepper <drepper@gmail.com>
13519
f8a3b5bf 13520 [BZ #11952]
d26dfc60
MG
13521 [BZ #12453]
13522 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13523 until all modules are registered in the DTV.
13524 * elf/Makefile: Add rules to build and run tst-tls19.
13525 * elf/tst-tls19.c: New file.
13526 * elf/tst-tls19mod1.c: New file.
13527 * elf/tst-tls19mod2.c: New file.
13528 * elf/tst-tls19mod3.c: New file.
13529 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13530
2fc54d6f
UD
13531 [BZ #12083]
13532 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13533 correctly.
13534
98d76b46
UD
13535 [BZ #12601]
13536 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13537 two-byte sequence errors.
13538 * iconvdata/Makefile (tests): Add bug-iconv8.
13539 * iconvdata/bug-iconv8.c: New file.
13540
da3c19ef
UD
13541 [BZ #12626]
13542 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13543 buf2 definition.
13544
ca408c15
UD
13545 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13546
d6f67f7d
UD
13547 [BZ #12432]
13548 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13549 (dummy_getcfa): New function.
13550 (init): Get _Unwind_GetCFA address, use dummy if not found.
13551 (backtrace_helper): In recursion check, also check whether CFA changes.
13552 (__backtrace): Completely initialize arg.
13553
1af4e298 13554 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13555 storing incomplete byte sequence in state object. Avoid testing for
13556 guaranteed too small input if we know there is enough data available.
1af4e298 13557
da62f81b
AS
135582011-05-11 Andreas Schwab <schwab@redhat.com>
13559
13560 * Makeconfig (+link-pie): Indent.
13561 * Rules (binaries-pie): Define if $(have-fpie) and
13562 $(build-shared).
13563 (binaries-shared): Also filter out $(binaries-pie).
13564 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13565 * nscd/Makefile (others-pie): Add nscd.
13566 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13567 ($(objpfx)nscd): Remove command override.
13568 * login/Makefile (others-pie): Add pt_chown.
13569 ($(objpfx)pt_chown): Remove command override.
13570 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13571 remove command overrides.
13572
fcabc0f8
UD
135732011-05-13 Ulrich Drepper <drepper@gmail.com>
13574
20030ae6
UD
13575 * libio/tst_putwc.c: Fix error messages.
13576
fcabc0f8
UD
13577 [BZ #12724]
13578 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13579 currently writing and seek to current position when not.
13580 * libio/Makefile (tests): Add bug-fclose1.
13581 * libio/bug-fclose1.c: New file.
13582
320a5dc0
PB
135832011-05-12 Ulrich Drepper <drepper@gmail.com>
13584
13585 [BZ #12511]
13586 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13587 don't set DF_1_NODELETE here.
13588 (do_lookup_x): When entering new entry test for copy relocation
13589 and if necessary set DF_1_NODELETE flag.
13590 * elf/tst-unique4.cc: New file.
13591 * elf/tst-unique4.h: New file.
13592 * elf/tst-unique4lib.cc: New file.
13593 * elf/Makefile: Add rules to build and run tst-unique4.
13594 Patch by Piotr Bury <pbury@goahead.com>.
13595
22836f52
UD
135962011-05-11 Ulrich Drepper <drepper@gmail.com>
13597
f574184a
UD
13598 [BZ #12052]
13599 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13600
e1fb097f
UD
13601 [BZ #12625]
13602 * misc/mntent_r.c (addmntent): Flush the stream after the output
13603
22836f52
UD
13604 [BZ #12393]
13605 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13606 (is_trusted_path_normalize): Skip initial colon. Append slash
13607 to empty buffer. Duplicate is_trusted_path code but allow
13608 constructed patch to be prefix.
13609 (is_dst): Allow $ORIGIN followed by /.
13610 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13611 Correct testing of result of is_trusted_path_normalize
13612 (decompose_rpath): Fix warning.
13613
7b3b0b2a
UD
136142011-05-10 Ulrich Drepper <drepper@gmail.com>
13615
13616 [BZ #11257]
13617 * grp/initgroups.c (internal_getgrouplist): When we found the service
13618 list through the initgroups entry in nsswitch.conf do not always
13619 continue on a successful lookup. Don't always use the
eac80ce2 13620 __nss_group_database value if it is set.
7b3b0b2a
UD
13621 * nss/nsswitch.conf (initgroups): Change action for successful db
13622 lookup to continue for compatibility.
13623
2a81eaa5
UD
136242011-05-09 Ulrich Drepper <drepper@gmail.com>
13625
be97a69e
UD
13626 [BZ #11532]
13627 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13628 and CP774 modules.
13629 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13630 and CP774 modules.
13631 * iconvdata/tst-tables.sh: Likewise.
13632 * iconvdata/cp770.c: New file.
13633 * iconvdata/cp771.c: New file.
13634 * iconvdata/cp772.c: New file.
13635 * iconvdata/cp773.c: New file.
13636 * iconvdata/cp774.c: New file.
13637 * iconvdata/testdata/CP770: New file.
13638 * iconvdata/testdata/CP770..UTF8: New file.
13639 * iconvdata/testdata/CP771: New file.
13640 * iconvdata/testdata/CP771..UTF8: New file.
13641 * iconvdata/testdata/CP772: New file.
13642 * iconvdata/testdata/CP772..UTF8: New file.
13643 * iconvdata/testdata/CP773: New file.
13644 * iconvdata/testdata/CP773..UTF8: New file.
13645 * iconvdata/testdata/CP774: New file.
13646 * iconvdata/testdata/CP774..UTF8: New file.
13647
13648 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13649 END CHARMAP line.
13650 * iconvdata/gen-8bit-gap.sh: Likewise.
13651 * iconvdata/gen-8bit.sh: Likewise.
13652
c1e9e399
UD
13653 * locale/iso-639.def: Add ary entry.
13654
24c55fb3 13655 [BZ #11258]
96b4b1b0
UD
13656 * locale/C-translit.h.in: Add U20A1 transliteration.
13657
bdc2f971
KB
13658 [BZ #12178]
13659 * locale/iso-639.def: Add wae entry.
13660 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13661
2952b117
UD
13662 [BZ #12545]
13663 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13664 for n.
13665
2a81eaa5
UD
13666 [BZ #12711]
13667 * locale/C-translit.h.in: Add entry for U20B9.
13668 Patch by pravin.d.s@gmail.com.
13669
28377d1b
UD
136702011-05-08 Ulrich Drepper <drepper@gmail.com>
13671
7fb90fb8
UD
13672 [BZ #12713]
13673 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13674 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13675 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13676 in rtld. Use *stat64.
7fb90fb8 13677 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13678 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13679 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13680 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13681 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13682 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13683 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13684 __fstatat64 macros.
7fb90fb8
UD
13685 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13686 * dirent/rewinddir.c: Add libc_hidden_def.
13687 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13688 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13689
28377d1b
UD
13690 * include/dirent.h (__alloc_dir): Add flags parameter.
13691 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13692 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13693 __alloc_dir.
13694 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13695 from fdopendir if O_CLOEXEC is already set.
13696
66bdbaa4
AM
136972011-03-15 Alan Modra <amodra@gmail.com>
13698
13699 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13700 l_tls_firstbyte_offset non-zero. Save padding offset in
13701 l_tls_firstbyte_offset for later use.
13702 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13703 freeing static tls block.
13704
95721191
JN
137052011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13706
13707 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13708 where #ifdef was intended. The intent is to prevent ARG_MAX from
13709 being defined by the kernel headers.
13710
f87dfb1f
UD
137112011-05-07 Ulrich Drepper <drepper@gmail.com>
13712
13713 [BZ #12734]
13714 * resolv/resolv.h: Define RES_NOTLDQUERY.
13715 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13716 no-tld-query and set RES_NOTLDQUERY.
13717 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13718 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13719 modern BIND to search name as TLD unless forbidden.
13720
47c3cd7a
UD
137212011-05-07 Petr Baudis <pasky@suse.cz>
13722 Ulrich Drepper <drepper@gmail.com>
13723
13724 [BZ #12393]
13725 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13726 (is_trusted_path): ...to here.
c1e9ea35 13727 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13728 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13729 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13730
8a35c912
PP
137312011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13732
13733 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13734 __BEGIN/__END_DECLS.
13735
acd41f47
UD
137362011-05-06 Ulrich Drepper <drepper@gmail.com>
13737
13738 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13739 NSS_STATUS_NOTFOUND if no record was found.
13740
597df647
AS
137412011-05-05 Andreas Schwab <schwab@redhat.com>
13742
13743 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13744 (headers-not-in-tirpc): Remove rpc/netdb.h
13745 * resolv/netdb.h: Revert last change.
13746
b9af1301
PP
137472011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13748
13749 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13750 circular dependency between libgcc.a and libc.a.
13751
4e34d5f5
AS
137522011-05-05 Andreas Schwab <schwab@redhat.com>
13753
13754 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13755 * nis/Makefile: Don't install rpcsvc/*.
13756 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13757 instead of <rpc/types.h>.
13758 (MAXHOSTNAMELEN): Define.
13759
00ee369c
AS
137602011-05-03 Andreas Schwab <schwab@redhat.com>
13761
13762 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13763
0b592a30
MB
137642011-04-28 Maciej Babinski <mbabinski@google.com>
13765
13766 [BZ #12714]
13767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13768 gethostbyname4_r when IPv6 results are possible.
13769
6e04cbbe
UD
137702011-05-02 Ulrich Drepper <drepper@gmail.com>
13771
13772 [BZ #12723]
13773 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13774 _PC_PIPE_BUF handling.
13775
e4ecafe0
BH
137762011-04-30 Bruno Haible <bruno@clisp.org>
13777
13778 [BZ #12717]
13779 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13780 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13781 to 'int'.
13782 * inet/getnameinfo.c (getnameinfo): Likewise.
13783
125ee683
UD
137842011-04-29 Ulrich Drepper <drepper@gmail.com>
13785
13786 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13787 to groups setting in database lookup.
13788 * nss/nsswitch.conf: Add initgroups entry.
13789
b722481a
EB
137902011-04-22 Ulrich Drepper <drepper@gmail.com>
13791
13792 [BZ #12685]
13793 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13794 mode string.
13795 Patch by Eric Blake <eblake@redhat.com>.
13796
4df46dbd
L
137972011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13798
13799 * sunrpc/Makefile (need-export-routines): Add svc_run.
13800 (routines): Remove svc_run.
13801 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13802 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13803 * sunrpc/svc_run.c (svc_run): Likewise.
13804 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13805
e84142d2
UD
138062011-04-21 Ulrich Drepper <drepper@gmail.com>
13807
13808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13809 problem in reallocation in last patch.
13810
877175d8
UD
138112011-04-20 Ulrich Drepper <drepper@gmail.com>
13812
13813 * sunrpc/Makefile: Move inclusion of Rules.
13814
ab8eed78
UD
138152011-04-19 Ulrich Drepper <drepper@gmail.com>
13816
13817 * nss/nss_files/files-initgroups.c: New file.
13818 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13819 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13820 _nss_files_initgroups_dyn.
13821
e3d8f584
RS
138222011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13823
13824 * elf/elf.h (R_ARM_IRELATIVE): Define.
13825
af190f45
UD
138262011-04-19 Ulrich Drepper <drepper@gmail.com>
13827
13828 * po/ru.po: Update from translation team.
13829
53cf59ef
UD
138302011-04-17 Ulrich Drepper <drepper@gmail.com>
13831
13832 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13833 dependencies.
13834
4c559bcd
MF
138352011-02-06 Mike Frysinger <vapier@gentoo.org>
13836
13837 [BZ #12653]
13838 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13839 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13840 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13841 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13842 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13843
4420675c
AS
138442011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13845
13846 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13847 differing bytes.
13848 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13851
75ea32ab
UD
138522011-04-17 Ulrich Drepper <drepper@gmail.com>
13853
13854 [BZ #12420]
13855 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13856 storing it.
13857 * stdlib/bug-getcontext.c: New file.
13858 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13859
27390476
AK
138602011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13861
13862 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13863 instructions into .machine "z9-109".
13864 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13865 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13866
10442705
AK
138672011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13868
13869 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13870 between environment variables and auxiliary vector.
13871
7b57bfe5
UD
138722011-04-16 Ulrich Drepper <drepper@gmail.com>
13873
13874 * Makefile: Add rules to build linkobj/libc.so.
13875 * include/libc-symbols.h: Define libc_hidden_nolink.
13876 * include/rpc/auth.h: Mark functions which are to be hidden.
13877 * include/rpc/auth_des.h: Likewise.
13878 * include/rpc/auth_unix.h: Likewise.
13879 * include/rpc/clnt.h: Likewise.
13880 * include/rpc/des_crypt.h: Likewise.
13881 * include/rpc/key_prot.h: Likewise.
13882 * include/rpc/pmap_clnt.h: Likewise.
13883 * include/rpc/pmap_prot.h: Likewise.
13884 * include/rpc/pmap_rmt.h: Likewise.
13885 * include/rpc/rpc_msg.h: Likewise.
13886 * include/rpc/svc.h: Likewise.
13887 * include/rpc/svc_auth.h: Likewise.
13888 * include/rpc/xdr.h: Likewise.
13889 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13890 * nss/Makefile: Likewise.
13891 * sunrpc/Makefile: Don't install headers. Build library with normal
13892 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13893 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13894 for the compat linking library. Remove use of INTDEF/INTUSE.
13895 * sunrpc/auth_none.c: Likewise.
13896 * sunrpc/auth_unix.c: Likewise.
13897 * sunrpc/authdes_prot.c: Likewise.
13898 * sunrpc/authuxprot.c: Likewise.
13899 * sunrpc/clnt_gen.c: Likewise.
13900 * sunrpc/clnt_perr.c: Likewise.
13901 * sunrpc/clnt_raw.c: Likewise.
13902 * sunrpc/clnt_simp.c: Likewise.
13903 * sunrpc/clnt_tcp.c: Likewise.
13904 * sunrpc/clnt_udp.c: Likewise.
13905 * sunrpc/clnt_unix.c: Likewise.
13906 * sunrpc/des_crypt.c: Likewise.
13907 * sunrpc/des_soft.c: Likewise.
13908 * sunrpc/get_myaddr.c: Likewise.
13909 * sunrpc/key_call.c: Likewise.
13910 * sunrpc/key_prot.c: Likewise.
13911 * sunrpc/netname.c: Likewise.
13912 * sunrpc/pm_getmaps.c: Likewise.
13913 * sunrpc/pm_getport.c: Likewise.
13914 * sunrpc/pmap_clnt.c: Likewise.
13915 * sunrpc/pmap_prot.c: Likewise.
13916 * sunrpc/pmap_prot2.c: Likewise.
13917 * sunrpc/pmap_rmt.c: Likewise.
13918 * sunrpc/publickey.c: Likewise.
13919 * sunrpc/rpc_cmsg.c: Likewise.
13920 * sunrpc/rpc_common.c: Likewise.
13921 * sunrpc/rpc_dtable.c: Likewise.
13922 * sunrpc/rpc_prot.c: Likewise.
13923 * sunrpc/rpc_thread.c: Likewise.
13924 * sunrpc/rtime.c: Likewise.
13925 * sunrpc/svc.c: Likewise.
13926 * sunrpc/svc_auth.c: Likewise.
13927 * sunrpc/svc_authux.c: Likewise.
13928 * sunrpc/svc_raw.c: Likewise.
13929 * sunrpc/svc_run.c: Likewise.
13930 * sunrpc/svc_simple.c: Likewise.
13931 * sunrpc/svc_tcp.c: Likewise.
13932 * sunrpc/svc_udp.c: Likewise.
13933 * sunrpc/svc_unix.c: Likewise.
13934 * sunrpc/svcauth_des.c: Likewise.
13935 * sunrpc/xcrypt.c: Likewise.
13936 * sunrpc/xdr.c: Likewise.
13937 * sunrpc/xdr_array.c: Likewise.
13938 * sunrpc/xdr_float.c: Likewise.
13939 * sunrpc/xdr_intXX_t.c: Likewise.
13940 * sunrpc/xdr_mem.c: Likewise.
13941 * sunrpc/xdr_rec.c: Likewise.
13942 * sunrpc/xdr_ref.c: Likewise.
13943 * sunrpc/xdr_sizeof.c: Likewise.
13944 * sunrpc/xdr_stdio.c: Likewise.
13945
e6c61494
UD
139462011-04-10 Ulrich Drepper <drepper@gmail.com>
13947
13948 [BZ #12650]
13949 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13950 * sysdeps/ia64/dl-tls.h: Likewise.
13951 * sysdeps/powerpc/dl-tls.h: Likewise.
13952 * sysdeps/s390/dl-tls.h: Likewise.
13953 * sysdeps/sh/dl-tls.h: Likewise.
13954 * sysdeps/sparc/dl-tls.h: Likewise.
13955 * sysdeps/x86_64/dl-tls.h: Likewise.
13956 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13957
34fe483e
AS
139582011-03-14 Andreas Schwab <schwab@redhat.com>
13959
13960 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13961 rpath element also skip the following colon.
13962 (expand_dynamic_string_token): Add is_path parameter and pass
13963 down to DL_DST_REQUIRED and _dl_dst_substitute.
13964 (decompose_rpath): Call expand_dynamic_string_token with
13965 non-zero is_path. Ignore empty rpaths.
13966 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13967 with zero is_path.
13968
f12a32e6
AS
139692011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13970
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13972 Make cancelable.
13973
38a7d692
UD
139742011-04-09 Ulrich Drepper <drepper@gmail.com>
13975
13976 [BZ #12655]
13977 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13978 Patch by Filipe David Manana <fdmanana@apache.org>.
13979
e451d22b
AS
139802011-04-07 Andreas Schwab <schwab@redhat.com>
13981
13982 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13983 Maintain aligned stack.
13984 (CHECK_RSP): Remove unused macro.
13985
dedc7c7b
UD
139862011-04-03 Ulrich Drepper <drepper@gmail.com>
13987
13988 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13989 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13990
94521213
UD
139912011-04-02 Ulrich Drepper <drepper@gmail.com>
13992
13993 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13994
8cb700c0 13995 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13996
0354e355
L
139972011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13998
13999 [BZ #12518]
14000 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14001 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14002 * sysdeps/x86_64/memmove.c: New file.
14003 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14004 (memcpy): Renamed to ...
14005 (__new_memcpy): This.
14006 (memcpy): Provide GLIBC_2_14 memcpy.
14007 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14008 (memcpy): Provide GLIBC_2_2_5 memcpy.
14009
8593482f
UD
140102011-04-01 Ulrich Drepper <drepper@gmail.com>
14011
14012 [BZ #12631]
14013 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14014
81a5726b
AS
140152011-03-30 Andreas Schwab <schwab@redhat.com>
14016
14017 * misc/syncfs.c: New file.
14018 * misc/Makefile (routines): Add syncfs.
14019 * posix/unistd.h: Declare syncfs.
14020 * sysdeps/unix/syscalls.list: Add syncfs.
14021
00e5419f
AS
140222011-04-01 Andreas Schwab <schwab@redhat.com>
14023
14024 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14025 open_by_handle_at.
14026 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14027 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14029 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14031 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14032 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14033
748876bf
UD
140342011-04-01 Ulrich Drepper <drepper@gmail.com>
14035
658e451d
UD
14036 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14037 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14038 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14040 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14042 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14043
748876bf
UD
14044 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14045 sync_file_range.c with -fexceptions.
14046 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14047 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14048 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14049 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14050 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14051 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14053 sync_file_range as cancellation point
14054 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14055 now a wrapper around __call_sync_file_range with cancellation handling.
14056 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14057 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14058 function name to __call_sync_file_range.
14059 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14060 Add call_sync_file_range.
748876bf 14061
6e63d5e1
AS
140622011-04-01 Andreas Schwab <schwab@redhat.com>
14063
14064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14065 bits/timex.h.
6e63d5e1 14066
46998f74
UD
140672011-04-01 Ulrich Drepper <drepper@gmail.com>
14068
4c1423ed
UD
14069 * iconv/iconv.h: Fix typo in comment.
14070 * io/fcntl.h: Likewise.
14071 * libio/stdio.h: Likewise.
14072 * posix/spawn.h: Likewise.
14073 * posix/unistd.h: Likewise.
14074 * stdlib/stdlib.h: Likewise.
14075 * time/time.h: Likewise.
14076 * wcsmbs/wchar.h: Likewise.
14077
158648c0
UD
14078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14079 open_by_handle): Add.
14080 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14081 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14082 Augment a few comments.
14083 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14088 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14089 open_by_handle.
14090
46998f74
UD
14091 * io/fcntl.h (AT_EMPTY_PATH): Define.
14092
83fe108b
UD
140932011-03-30 Ulrich Drepper <drepper@gmail.com>
14094
14095 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14096 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14097 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14098 to...
14099 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14100 * Versions.def: Add GLIBC_2.14.
14101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14102 Export.
83fe108b 14103
bb242059
UD
141042011-03-22 Ulrich Drepper <drepper@gmail.com>
14105
14106 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14107 round counter.
14108 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14109
c97a1282
L
141102011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14111
14112 [BZ #12597]
14113 * string/test-strncmp.c (do_page_test): New function.
14114 (check2): Likewise.
14115 (test_main): Call check2.
14116 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14117
2a115601
UD
141182011-03-20 Ulrich Drepper <drepper@gmail.com>
14119
14120 [BZ #12587]
14121 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14122 Handle cache information in CPU leaf 4.
14123 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14124
8126d904
UD
141252011-03-18 Ulrich Drepper <drepper@gmail.com>
14126
042c49c6 14127 [BZ #12583]
8126d904
UD
14128 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14129 character representation.
14130 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14131
ccfe366e
RA
141322011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14133
14134 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14135 END(__isnan) to END(__isnanf) to match function entry point/label
14136 EALIGN(__isnanf,...).
14137
c6e13027
JJ
141382011-03-10 Jakub Jelinek <jakub@redhat.com>
14139
14140 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14141
33f85a3f
UD
141422011-03-10 Ulrich Drepper <drepper@gmail.com>
14143
028478fa
UD
14144 [BZ #12510]
14145 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14146 copy from the symbol referenced in the relocation to initialize the
14147 used variable.
14148 Patch by Piotr Bury <pbury@goahead.com>.
14149 * elf/Makefile: Add rules to build and tst-unique3.
14150 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14151 * elf/tst-unique3.cc: New file.
14152 * elf/tst-unique3.h: New file.
14153 * elf/tst-unique3lib.cc: New file.
14154 * elf/tst-unique3lib2.cc: New file.
14155
33f85a3f
UD
14156 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14157
03592fc7
MF
141582011-03-10 Mike Frysinger <vapier@gentoo.org>
14159
14160 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14161 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14162 to _start.
03592fc7 14163
6a5ee102
UD
141642011-03-06 Ulrich Drepper <drepper@gmail.com>
14165
14166 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14167 to-be-loaded object along a path to loader is ld.so.
14168
7e4ba49c
HJ
141692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14170 Ulrich Drepper <drepper@gmail.com>
14171
14172 * sysdeps/x86_64/memset.S: After aligning destination, code
14173 branches to different locations depending on the value of
14174 misalignment, when multiarch is enabled. Fix this.
14175
141762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14177
14178 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14179 Set _x86_64_preferred_memory_instruction for AMD processsors.
14180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14181 Set bit_Prefer_SSE_for_memop for AMD processors.
14182
13a804de
UD
141832011-03-04 Ulrich Drepper <drepper@gmail.com>
14184
14185 * libio/fmemopen.c (fmemopen): Optimize a bit.
14186
9d25c392
AS
141872011-03-03 Andreas Schwab <schwab@redhat.com>
14188
14189 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14190
a5543c6a
RM
141912011-03-03 Roland McGrath <roland@redhat.com>
14192
14193 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14194
012d35f7
DM
141952011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14196
7e4ba49c 14197 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14198 __bzero_ultra1 instead of __memset_ultra1.
14199
4bff6e01
AS
142002011-02-23 Andreas Schwab <schwab@redhat.com>
14201 Ulrich Drepper <drepper@gmail.com>
14202
14203 [BZ #12509]
14204 * include/link.h (struct link_map): Add l_orig_initfini.
14205 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14206 returning unsuccessfully.
14207 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14208 close of a file loaded at startup, restore the original l_initfini
14209 list.
14210 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14211 list, store the pointer.
14212 * elf/Makefile ($(objpfx)noload-mem): New rule.
14213 (noload-ENV): Define.
14214 (tests): Add $(objpfx)noload-mem.
14215 * elf/noload.c: Include <memcheck.h>.
14216 (main): Call mtrace. Close all opened handles.
14217
f2092faf
AS
142182011-02-17 Andreas Schwab <schwab@redhat.com>
14219
14220 [BZ #12454]
14221 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14222 dependencies are missing.
14223
6c8a2e88
ST
142242011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14225
f2092faf 14226 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14227 Hurd needs munmap.
14228 * sysdeps/mach/hurd/ifreq.h: New file.
14229
84a42118
PB
142302011-01-27 Petr Baudis <pasky@suse.cz>
14231 Ulrich Drepper <drepper@gmail.com>
14232
071f805e 14233 [BZ 12445]#
84a42118
PB
14234 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14235 to extend_alloca().
14236 * stdio-common/bug23.c: New file.
14237 * stdio-common/Makefile (tests): Add bug23.
14238
e23fe25b
AS
142392010-09-28 Andreas Schwab <schwab@redhat.com>
14240 Ulrich Drepper <drepper@gmail.com>
14241
14242 [BZ #12489]
14243 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14244 before performing relro protection. At old place add assertion
14245 to make sure nothing changed.
14246
d3f02e10
NS
142472011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14248 Glauber de Oliveira Costa <glommer@gmail.com>
14249
14250 * elf/elf.h: Add new ARM TLS relocs.
14251
d55fd7a5
RA
142522011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14253
14254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14255 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14256 cast from r3.
14257 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14258 'tests' variable.
14259 * sysdeps/wordsize-64/tst-writev.c: New file.
14260
2206397e
RA
142612011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14262
14263 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14264 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14265 insns in _dl_start to prevent a TOC reference before relocs are
14266 resolved.
14267
e9433893
UD
142682011-02-15 Ulrich Drepper <drepper@gmail.com>
14269
14270 [BZ #12469]
14271 * Makeconfig: Remove RANLIB definition.
14272 * Makerules: Don't use RANLIB.
14273 * aclocal.m4: Remove ranlib test.
14274 * configure.in: No need to check for ranlib.
14275 * elf/rtld-Rules: Don't use RANLIB.
14276
f75286c6
ST
142772011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14278
8e31c82d
ST
14279 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14280 protection macro.
14281 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14282 inclusion protection macro.
14283
f75286c6
ST
14284 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14285 SIGRTMIN and SIGRTMAX and print information in that case only when
14286 SIGRTMIN is defined.
14287
c1d0e639
JJ
142882011-02-11 Jakub Jelinek <jakub@redhat.com>
14289
14290 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14291 arginfo fn returning -1.
14292
14293 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14294 and thousands string is zero terminated.
14295
edf9294e
AS
142962011-02-03 Andreas Schwab <schwab@redhat.com>
14297
14298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14299 sysdeps/unix/sysv/linux/bits/socket.h.
14300
2b7e92df
ST
143012011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14302
edf9294e
AS
14303 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14304 (__CPU_COUNT): Remove old macros.
14305 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14306 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14307 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14308 (__sched_cpualloc, __sched_cpufree): Add declarations.
14309
a4c7ea7b
UD
143102011-02-05 Ulrich Drepper <drepper@gmail.com>
14311
14312 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14313 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14314 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14315 (readdhstai): Return value of addhstaiX call.
14316 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14317 (addgrbyX): Return value returned by cache_addgr.
14318 (readdgrbyname): Return value returned by addgrbyX.
14319 (readdgrbygid): Likewise.
14320 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14321 (addpwbyX): Return value returned by cache_addpw.
14322 (readdpwbyname): Return value returned by addhstbyX.
14323 (readdpwbyuid): Likewise.
14324 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14325 (addservbyX): Return value returned by cache_addserv.
14326 (readdservbyname): Return value returned by addservbyX:
14327 (readdservbyport): Likewise.
14328 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14329 (addhstbyX): Return value returned by cache_addhst.
14330 (readdhstbyname): Return value returned by addhstbyX.
14331 (readdhstbyaddr): Likewise.
14332 (readdhstbynamev6): Likewise.
14333 (readdhstbyaddrv6): Likewise.
14334 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14335 (readdinitgroups): Return value returned by addinitgroupsX.
14336 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14337 (prune_cache): Keep track of timeout value of re-added entries.
14338 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14339 * nscd/nscd.h: Adjust prototypes of readd* functions.
14340
a0bf67cc
RM
143412011-02-04 Roland McGrath <roland@redhat.com>
14342
14343 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14344 (nis_stats): Likewise.
14345 * nis/nis_modify.c (nis_modify): Likewise.
14346 * nis/nis_remove.c (nis_remove): Likewise.
14347 * nis/nis_add.c (nis_add): Likewise.
14348
14349 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14350
14351 * posix/fnmatch_loop.c: Add some consts.
14352
14353 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14354
435b95eb
L
143552011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14356
14357 [BZ #12460]
14358 * config.make.in (config-cflags-novzeroupper): Define.
14359 * configure.in: Substitute libc_cv_cc_novzeroupper.
14360 * elf/Makefile (AVX-CFLAGS): Define.
14361 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14362 (CFLAGS-tst-auditmod4a.c): Likewise.
14363 (CFLAGS-tst-auditmod4b.c): Likewise.
14364 (CFLAGS-tst-auditmod6b.c): Likewise.
14365 (CFLAGS-tst-auditmod6c.c): Likewise.
14366 (CFLAGS-tst-auditmod7b.c): Likewise.
14367 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14368
8517b15e
UD
143692011-02-02 Ulrich Drepper <drepper@gmail.com>
14370
14371 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14372 function to the callback.
14373 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14374
10a656fe
AS
143752011-02-02 Andreas Schwab <schwab@redhat.com>
14376
14377 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14378 of errno.
14379
968dad0a
UD
143802011-01-19 Ulrich Drepper <drepper@gmail.com>
14381
9f94d2ea 14382 [BZ #11724]
968dad0a
UD
14383 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14384 of constructors.
14385 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14386 of destructors.
14387 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14388
14389 [BZ #11724]
14390 * elf/Makefile: Add rules to build and run new test.
14391 * elf/tst-initorder.c: New file.
14392 * elf/tst-initorder.exp: New file.
14393 * elf/tst-initordera1.c: New file.
14394 * elf/tst-initordera2.c: New file.
14395 * elf/tst-initordera3.c: New file.
14396 * elf/tst-initordera4.c: New file.
14397 * elf/tst-initorderb1.c: New file.
14398 * elf/tst-initorderb2.c: New file.
14399 * elf/tst-order-a1.c: New file.
14400 * elf/tst-order-a2.c: New file.
14401 * elf/tst-order-a3.c: New file.
14402 * elf/tst-order-a4.c: New file.
14403 * elf/tst-order-b1.c: New file.
14404 * elf/tst-order-b2.c: New file.
14405 * elf/tst-order-main.c: New file.
14406 New test case by George Gensure <werkt0@gmail.com>.
14407
86e92359
UD
144082010-10-01 Andreas Schwab <schwab@redhat.com>
14409
14410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14411 decoding ACE if AI_CANONIDN.
14412
5d5732b0
UD
144132011-01-18 Ulrich Drepper <drepper@gmail.com>
14414
14415 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14416
a77e8cbc
UD
144172011-01-17 Ulrich Drepper <drepper@gmail.com>
14418
6392473f
UD
14419 * version.h (RELEASE): Bump for 2.13 release.
14420 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14421
620a0529
UD
14422 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14423
18ba70a5
UD
14424 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14425 MADV_NOHUGEPAGE.
32465c3e
UD
14426 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14427 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14428 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14429 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14430 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14432
c0dafcf1
UD
14433 * posix/getconf.c: Update copyright year.
14434 * catgets/gencat.c: Likewise.
14435 * csu/version.c: Likewise.
14436 * debug/catchsegv.sh: Likewise.
14437 * debug/xtrace.sh: Likewise.
14438 * elf/ldconfig.c: Likewise.
14439 * elf/ldd.bash.in: Likewise.
14440 * elf/sprof.c (print_version): Likewise.
14441 * iconv/iconv_prog.c: Likewise.
14442 * iconv/iconvconfig.c: Likewise.
14443 * locale/programs/locale.c: Likewise.
14444 * locale/programs/localedef.c: Likewise.
14445 * malloc/memusage.sh: Likewise.
14446 * malloc/mtrace.pl: Likewise.
14447 * nscd/nscd.c (print_version): Likewise.
14448 * nss/getent.c: Likewise.
14449
a77e8cbc
UD
14450 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14451 PF_CAIF, and PF_ALG.
14452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14453
77e8bddf
AS
144542011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14455
1f20b93a
AS
14456 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14457 (modules-names): Use them.
14458 (ifunc-test-modules, ifunc-pie-tests): Define.
14459 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14460 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14461 (test-extras): Likewise.
14462 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14463 $(compile-command.c).
14464 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14465 (all-built-dso): Define.
14466 (check-textrel.out, check-execstack.out): Depend on it.
14467
77e8bddf
AS
14468 * configure.in: Don't override --enable-multi-arch.
14469
bc425b33
UD
144702011-01-15 Ulrich Drepper <drepper@gmail.com>
14471
14472 [BZ #6812]
14473 * nscd/hstcache.c (tryagain): Define.
14474 (cache_addhst): Return tryagain not notfound for temporary errors.
14475 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14476 failed.
14477
794c3ad3
UD
144782011-01-14 Ulrich Drepper <drepper@gmail.com>
14479
70181fdd
UD
14480 [BZ #10563]
14481 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14482 to make the syscall.
14483 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14484
794c3ad3
UD
14485 [BZ #12378]
14486 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14487 and fall back to matching as normal character if the string ends before
14488 the matching ']' is found. This is what POSIX requires.
14489 * posix/testfnm.c: Adjust test result.
14490 * posix/globtest.sh: Adjust test result. Add new test.
14491 * posix/tst-fnmatch.input: Likewise.
14492 * posix/tst-fnmatch2.c: Add new test.
14493
68dc9497
AS
144942010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14495
14496 * elf/Makefile (check-execstack): Revert last change. Depend on
14497 check-execstack.h.
14498 (check-execstack.h): New target.
14499 (generated): Add check-execstack.h.
14500 * elf/check-execstack.c: Include "check-execstack.h".
14501 (main): Revert last change.
14502 (handle_file): Return zero if GNU_STACK is absent and
14503 DEFAULT_STACK_PERMS doesn't include PF_X.
14504
451f001b
UD
145052011-01-13 Ulrich Drepper <drepper@gmail.com>
14506
cfa28e56
UD
14507 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14508 in child fails because the descriptor is already closed.
8cf8ce17
UD
14509 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14510 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14511 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14512
1086d70d
UD
14513 [BZ #12397]
14514 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14515 syscall.
14516
451f001b
UD
14517 [BZ #10484]
14518 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14519 temporary buffer used to handle multi lookups locally.
a85b5cb4 14520 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14521
08769175
UD
145222011-01-12 Ulrich Drepper <drepper@gmail.com>
14523
14524 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14525 loader is ld.so.
14526
5e49c52e
UD
145272011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14528
14529 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14530 alignment for SSE2.
14531
60522a5f
UD
145322011-01-12 Ulrich Drepper <drepper@gmail.com>
14533
14534 [BZ #12394]
14535 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14536 characters. When rounding increased number of integer digits recompute
14537 number of groups.
14538 * stdio-common/tst-grouping.c: New file.
14539 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14540
f257bbd7
UD
145412011-01-09 Ulrich Drepper <drepper@gmail.com>
14542
14543 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14544 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14545
14546 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14547 void.
14548 * bits/select.h: Likewise.
14549
fa9c15cb
UD
145502011-01-08 Ulrich Drepper <drepper@gmail.com>
14551
14552 * po/ja.po: Update from translation team.
14553
16c2895f
DM
145542011-01-04 David S. Miller <davem@sunset.davemloft.net>
14555
14556 [BZ #11155]
14557 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14558 implementation just like for lxstat, fxstatat, et al.
14559
2543fef2
JM
145602010-12-27 Jim Meyering <meyering@redhat.com>
14561
14562 [BZ #12348]
14563 * posix/regexec.c (build_trtable): Return failure indication upon
14564 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14565
98727dbe
UD
145662010-12-25 Ulrich Drepper <drepper@gmail.com>
14567
5bd6dc5c
UD
14568 [BZ #12201]
14569 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14570 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14571 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14572 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14573
97983464
UD
14574 [BZ #12207]
14575 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14576
98727dbe
UD
14577 [BZ #12204]
14578 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14579 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14580
4a531bb0
L
145812010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14582
14583 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14584 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14585 script has SORT_BY_INIT_PRIORITY.
14586 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14587 NO_CTORS_DTORS_SECTIONS is defined.
14588 * elf/soinit.c: Likewise.
14589 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14590 NO_CTORS_DTORS_SECTIONS is defined.
14591 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14592 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14593 * sysdeps/sh/init-first.c: Likewise.
14594 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14595
07eb4b71
UD
145962010-12-24 Ulrich Drepper <drepper@gmail.com>
14597
14598 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14599 always use the slow path.
14600
30950a5f
RA
146012010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14602
14603 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14604 similar rule which adds the sysdep directories to the header search in
14605 order to pick up the correct platform stackinfo.h.
14606 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14607 perform test if it is, otherwise return successfully without testing.
14608 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14609 DEFAULT_STACK_PERMS define in stackinfo.h.
14610 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14611 defined in stackinfo.h.
14612 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14613 DEFAULT_STACK_PERMS defined in stackinfo.h.
14614 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14615 * sysdeps/ia64/stackinfo.h: Likewise.
14616 * sysdeps/s390/stackinfo.h: Likewise.
14617 * sysdeps/sh/stackinfo.h: Likewise.
14618 * sysdeps/sparc/stackinfo.h: Likewise.
14619 * sysdeps/x86_64/stackinfo.h: Likewise.
14620 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14621 PF_X for powerpc64. Retain PF_X for powerpc32.
14622
db753e2c
UD
146232010-12-19 Ulrich Drepper <drepper@gmail.com>
14624
14b697f7
UD
14625 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14626 accurately.
db753e2c
UD
14627 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14628 GETDENTS_64BIT_ALIGNED.
14629
28300719
UD
146302010-12-14 Ulrich Drepper <dreper@gmail.com>
14631
14b697f7 14632 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14633
4f197237
AS
146342010-12-10 Andreas Schwab <schwab@redhat.com>
14635
dbb0472f
AS
14636 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14637 _GNU_SOURCE.
14638
4f197237
AS
14639 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14640 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14641 Remove __restrict.
14642 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14643 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14644
fb88ac72
UD
146452010-12-09 Ulrich Drepper <drepper@gmail.com>
14646
14647 [BZ #11655]
14648 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14649 are initialized.
14650
42acbb92
JJ
146512010-12-09 Jakub Jelinek <jakub@redhat.com>
14652
14653 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14654
c038d98d
UD
146552010-12-03 Ulrich Drepper <drepper@gmail.com>
14656
14657 * po/it.po: Update from translation team.
14658
3a4a2499
L
146592010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14660
14661 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14662 unused codes.
14663
1e24cf6e
UD
146642010-11-30 Ulrich Drepper <drepper@gmail.com>
14665
14666 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14667
a7690819
AS
146682010-11-24 Andreas Schwab <schwab@redhat.com>
14669
14670 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14671 specially.
14672 (gaih_getanswer_slice): Likewise.
14673
3bf8d1b1
JJ
146742010-10-20 Jakub Jelinek <jakub@redhat.com>
14675
14676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14677
6db52fbb
PB
146782010-05-31 Petr Baudis <pasky@suse.cz>
14679
14680 [BZ #11149]
14681 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14682 silently even in the chroot mode.
14683
eaca7569
UD
146842010-11-22 Ulrich Drepper <drepper@gmail.com>
14685
14686 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14687 last patch a bit. Pretty printing
14688
3056dcdb
UD
146892010-05-31 Petr Baudis <pasky@suse.cz>
14690
14691 [BZ #10085]
14692 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14693 initialization of skip_initgroups_dyn.
14694
cf7c9078
UD
146952010-11-19 Ulrich Drepper <drepper@gmail.com>
14696
14697 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14699
a1fb5e3e
UD
147002010-11-16 Ulrich Drepper <drepper@gmail.com>
14701
14702 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14703
3540d66b
AS
147042010-11-11 Andreas Schwab <schwab@redhat.com>
14705
14706 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14707 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14708 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14709 ($(objpfx)tst-fnmatch-mem): New rule.
14710 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14711 * posix/tst-fnmatch.c (main): Call mtrace.
14712
13b69574
L
147132010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14714
14715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14716 Support Intel processor model 6 and model 0x2c.
14717
da93d214
LM
147182010-11-10 Luis Machado <luisgpm@br.ibm.com>
14719
14720 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14721 signed comparison.
14722
8ca52c6e
L
147232010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14724
14725 [BZ #12205]
14726 * string/test-strncasecmp.c (check_result): New function.
14727 (do_one_test): Use it.
14728 (check1): New function.
14729 (test_main): Use it.
14730 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14731 Support strcasecmp and strncasecmp.
14732
69da074d
UD
147332010-11-08 Ulrich Drepper <drepper@gmail.com>
14734
14735 [BZ #12194]
14736 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14737 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14738
ff02d528
L
147392010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14740
14741 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14742 IFUNC support.
14743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14744 memset-x86-64.
14745 * sysdeps/x86_64/multiarch/bzero.S: New file.
14746 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14747 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14748 * sysdeps/x86_64/multiarch/memset.S: New file.
14749 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14751 Set bit_Prefer_SSE_for_memop for Intel processors.
14752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14753 Define.
14754 (index_Prefer_SSE_for_memop): Define.
14755 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14756
344d0b54
LM
147572010-11-04 Luis Machado <luisgpm@br.ibm.com>
14758
14759 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14760 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14761
c0dde15b
UD
147622010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14763
14764 [BZ #12191]
14765 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14766 (__x86_64_raw_data_cache_size_half): Likewise.
14767 (__x86_64_raw_shared_cache_size): Likewise.
14768 (__x86_64_raw_shared_cache_size_half): Likewise.
14769
14770 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14771 (__x86_64_raw_data_cache_size_half): Likewise.
14772 (__x86_64_raw_shared_cache_size): Likewise.
14773 (__x86_64_raw_shared_cache_size_half): Likewise.
14774 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14775 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14776 and __x86_64_raw_shared_cache_size_half. Round
14777 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14778 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14779 to multiple of 256 bytes.
14780
0e516e0e
MS
147812010-11-03 Ulrich Drepper <drepper@gmail.com>
14782
14783 [BZ #12167]
14784 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14785 of inacessible symlinks. Verify result of symlink before returning it.
14786 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14787 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14788
0e012e87
ER
147892010-10-28 Erich Ritz <erichritz@gmail.com>
14790
14791 * math/math.h (isinf): Fix typo in comment.
14792
de0ff7bc
UD
147932010-11-01 Ulrich Drepper <drepper@gmail.com>
14794
14795 * po/da.po: Update from translation team.
14796
fa41c84d
UD
147972010-10-26 Ulrich Drepper <drepper@gmail.com>
14798
14799 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14800 is added to the list.
14801
f0967738
AK
148022010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14803 Ulrich Drepper <drepper@gmail.com>
14804
14805 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14806 the global list here. Move code to...
14807 (_dl_add_to_namespace_list): ...here. New function.
14808 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14809 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14810 * elf/dl-load.c (lose): Don't remove the element from the list.
14811 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14812 (_dl_map_object): Likewise.
14813
148142010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14815
14816 [BZ #12159]
14817 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14818 into all bytes of SSE register.
14819 Patch by Richard Li <richardpku@gmail.com>.
14820
f0967738 148212010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14822
14823 [BZ #12140]
14824 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14825 perturbing.
14826
d0b9e94f
MB
148272010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14828
14829 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14830 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14831 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14832 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14834 submachine.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14836
8e9f92e9
AS
148372010-10-22 Andreas Schwab <schwab@redhat.com>
14838
14839 * include/dlfcn.h (__RTLD_SECURE): Define.
14840 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14841 mode & __RTLD_SECURE instead.
14842 (open_path): Rename preloaded parameter to secure.
14843 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14844 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14845 * elf/dl-deps.c (openaux): Likewise.
14846 * elf/rtld.c (struct map_args): Remove is_preloaded.
14847 (map_doit): Don't use it.
14848 (dl_main): Likewise.
14849 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14850 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14851
bc96fbda
AS
148522010-09-09 Andreas Schwab <schwab@redhat.com>
14853
14854 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14855 (sysd-rules-targets): Remove duplicates.
14856 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14857 rtld-%.$o dependency.
14858
22cd1c9b
AS
148592010-10-18 Andreas Schwab <schwab@redhat.com>
14860
14861 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14862 _dl_map_object do it.
14863
18edac48
UD
148642010-10-19 Ulrich Drepper <drepper@gmail.com>
14865
14866 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14867 fast fma builtins, define the macros in the C99 standard.
14868 (FP_FAST_FMAF): Likewise.
14869 (FP_FAST_FMAL): Likewise.
14870 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14871
14872 * bits/mathdef.h: Update copyright year.
14873 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14874
d2050124
MM
148752010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14876
14877 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14878 builtins, define the macros in the C99 standard.
14879 (FP_FAST_FMAF): Likewise.
14880 (FP_FAST_FMAL): Likewise.
14881 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14882 multiply/add.
14883 (FP_FAST_FMAF): Likewise.
14884
475facd1
JJ
148852010-10-15 Jakub Jelinek <jakub@redhat.com>
14886
14887 [BZ #3268]
14888 * math/libm-test.inc (fma_test): Some new testcases.
14889 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14890 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14891 y and infinite z. Do multiplication by C already in long double.
14892 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14894 y and infinite z. Do bitwise or of inexact bit into u.d.
14895 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14896 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14897 * sysdeps/i386/fpu/s_fma.S: Removed.
14898 * sysdeps/i386/fpu/s_fmal.S: Removed.
14899
7c08a05c
JJ
149002010-10-16 Jakub Jelinek <jakub@redhat.com>
14901
14902 [BZ #3268]
14903 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14905 computation is not scheduled after fetestexcept. Fix value
14906 of minimum denormal long double.
14907
f3f7372d
JJ
149082010-10-14 Jakub Jelinek <jakub@redhat.com>
14909
14910 [BZ #3268]
14911 * math/libm-test.inc (fma_test): Add some more tests.
14912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14913 correctly.
14914
14d43591
AS
149152010-10-15 Andreas Schwab <schwab@redhat.com>
14916
14917 * scripts/data/localplt-s390-linux-gnu.data: New file.
14918 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14919
5e908464
JJ
149202010-10-13 Jakub Jelinek <jakub@redhat.com>
14921
14922 [BZ #3268]
14923 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14924 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14925 instead of dbl-64.
14926 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14927 inlines.
14928 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14930 if one of x and y is very large and the other is subnormal.
14931 * sysdeps/s390/fpu/s_fmaf.c: New file.
14932 * sysdeps/s390/fpu/s_fma.c: New file.
14933 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14934 * sysdeps/powerpc/fpu/s_fma.S: New file.
14935 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14936 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14937 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14938
149392010-10-12 Jakub Jelinek <jakub@redhat.com>
14940
14941 [BZ #3268]
14942 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14943 fma tests.
14944 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14945 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14946 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14947 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14948 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14949 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14951
b833d51f
UD
149522010-10-12 Ulrich Drepper <drepper@redhat.com>
14953
14954 [BZ #12078]
14955 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14956 * posix/bug-regex31.input: Add test case.
14957
1751705d
UD
149582010-10-11 Ulrich Drepper <drepper@gmail.com>
14959
e9b9cbf5
UD
14960 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14961 * posix/bug-regex31.input: New file.
14962
14963 [BZ #12078]
14964 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14965 (parse_sub_exp): Fix last change, use postorder.
14966
ef06edbe
UD
14967 * posix/bug-regex31.c: New file.
14968 * posix/Makefile: Add rules to build and run bug-regex31.
14969
a129c80d
UD
14970 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14971
14972 [BZ #12078]
14973 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14974
b76b818e
UD
14975 [BZ #12108]
14976 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14977 to have entries in sys_siglist.
14978
1751705d
UD
14979 [BZ #12093]
14980 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14981 be NULL.
14982
9ff8d36f
JJ
149832010-10-07 Jakub Jelinek <jakub@redhat.com>
14984
14985 [BZ #3268]
14986 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14987 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14988 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14989 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14990 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14991 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14992 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14993 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14994 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14995 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14996 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14997 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14998 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14999 * math/ftestexcept.c (fetestexcept): Likewise.
15000 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15001 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15002 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15003 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15004 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15005 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15006 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15007
af325969
UD
150082010-10-11 Ulrich Drepper <drepper@gmail.com>
15009
c579b202 15010 [BZ #12107]
af325969
UD
15011 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15012 newline.
15013
67a67b95
UD
150142010-10-06 Ulrich Drepper <drepper@gmail.com>
15015
15016 * string/bug-strstr1.c: New file.
15017 * string/Makefile: Add rules to build and run bug-strstr1.
15018
5fb308bc
EB
150192010-10-05 Eric Blake <eblake@redhat.com>
15020
15021 [BZ #12092]
15022 * string/str-two-way.h (two_way_long_needle): Always clear memory
15023 when skipping input due to the shift table.
15024
45db99c7
UD
150252010-10-03 Ulrich Drepper <drepper@gmail.com>
15026
3b111893
UD
15027 [BZ #12005]
15028 * malloc/mcheck.c: Handle large requests.
15029
45db99c7
UD
15030 [BZ #12077]
15031 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15032 for strncmp and strncasecmp.
15033 * string/stratcliff.c: Add tests for strcmp and strncmp.
15034 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15035
cf7a1eb8
NI
150362010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15037
15038 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15039 __set_fpscr.
15040
6484ba5e
AJ
150412010-09-30 Andreas Jaeger <aj@suse.de>
15042
15043 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15044 (CGROUP_SUPER_MAGIC): Define.
15045 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15046 Handle btrfs and cgroup file systems.
15047 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15048 Likewise.
15049
91c42559
LM
150502010-09-27 Luis Machado <luisgpm@br.ibm.com>
15051
15052 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15053 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15054
87a97932
AK
150552010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15056
15057 [BZ #12067]
15058 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15059 trying to locate the ELF header.
15060
c21cc9bc
AS
150612010-09-27 Andreas Schwab <schwab@redhat.com>
15062
15063 [BZ #11611]
15064 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15065 Mask out sign-bit copies when constructing f_fsid.
15066
315970f6
PB
150672010-09-24 Petr Baudis <pasky@suse.cz>
15068
15069 * debug/stack_chk_fail_local.c: Add missing licence exception.
15070 * debug/warning-nop.c: Likewise.
15071
1ac7a2c7
JM
150722010-09-15 Joseph Myers <joseph@codesourcery.com>
15073
15074 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15075 implementing getdents64 using getdents syscall, set d_type if
15076 __ASSUME_GETDENTS32_D_TYPE.
15077
56801c50
AS
150782010-09-16 Andreas Schwab <schwab@redhat.com>
15079
15080 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15081 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15082
dda51327
UD
150832010-09-21 Ulrich Drepper <drepper@redhat.com>
15084
15085 [BZ #12037]
15086 * posix/unistd.h: Undo change of feature selection for ftruncate from
15087 2010-01-11.
15088
8ffcee4a
UD
150892010-09-20 Ulrich Drepper <drepper@redhat.com>
15090
a545ecd9 15091 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15092 detection.
15093
e24f0a8b
AS
150942010-09-20 Andreas Schwab <schwab@redhat.com>
15095
15096 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15097 fanotify_mark.
15098 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15099
7291c56f
AS
151002010-09-14 Andreas Schwab <schwab@redhat.com>
15101
15102 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15103 variables after CHECK_SP call.
15104 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15105
bc5fb037
AS
151062010-09-13 Andreas Schwab <schwab@redhat.com>
15107 Ulrich Drepper <drepper@redhat.com>
15108
15109 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15110 re-relocationg ld.so.
15111 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15112 _dl_init_paths call.
15113 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15114 here anymore.
15115
e66e7419
UD
151162010-09-14 Ulrich Drepper <drepper@redhat.com>
15117
15118 * resolv/res_init.c (__res_vinit): Count the default server we added.
15119
c044aa75
CLT
151202010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15121 Ulrich Drepper <drepper@redhat.com>
15122
15123 [BZ #11968]
15124 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15125 (____longjmp_chk): Use %ebx for saving value across system call.
15126 Add unwind info.
15127
32cf4069
AS
151282010-09-06 Andreas Schwab <schwab@redhat.com>
15129
15130 * manual/Makefile: Don't mix pattern rules with normal rules.
15131
817328ee
AS
151322010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15133
15134 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15135 operation.
15136 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15137 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15138 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15139 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15141 Likewise.
15142
29fddf61
UD
151432010-09-04 Ulrich Drepper <drepper@redhat.com>
15144
15145 [BZ #11979]
15146 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15147 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15148
0959ffc9
UD
151492010-09-02 Ulrich Drepper <drepper@redhat.com>
15150
15151 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15152 * sysdeps/x86_64/addmul_1.S: Likewise.
15153 * sysdeps/x86_64/lshift.S: Likewise.
15154 * sysdeps/x86_64/mul_1.S: Likewise.
15155 * sysdeps/x86_64/rshift.S: Likewise.
15156 * sysdeps/x86_64/sub_n.S: Likewise.
15157 * sysdeps/x86_64/submul_1.S: Likewise.
15158
ece29840
ST
151592010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15160
0959ffc9
UD
15161 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15162 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15163 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15164 * bits/sched.h [__need_schedparam]
ece29840 15165 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15166 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15167 (__defined_schedparam): Define to 1.
ece29840
ST
15168 (__sched_param): New structure, identical to sched_param.
15169 (__need_schedparam): Undefine.
15170
e53a31fe
MF
151712010-08-31 Mike Frysinger <vapier@gentoo.org>
15172
fdc0c10d
MF
15173 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15174 (epoll_create1): Declare.
15175
e53a31fe
MF
15176 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15177
a726d796
AS
151782010-08-31 Andreas Schwab <schwab@redhat.com>
15179
15180 [BZ #7066]
15181 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15182 shifting retval into place.
15183
2f3e3dc7
UD
151842010-09-01 Ulrich Drepper <drepper@redhat.com>
15185
f2933da9
UD
15186 * nis/rpcsvc/nis.h: Update copyright notice.
15187 * nis/rpcsvc/nis.x: Likewise.
15188 * nis/rpcsvc/nis_callback.h: Likewise.
15189 * nis/rpcsvc/nis_callback.x: Likewise.
15190 * nis/rpcsvc/nis_object.x: Likewise.
15191 * nis/rpcsvc/nis_tags.h: Likewise.
15192 * nis/rpcsvc/yp.h: Likewise.
15193 * nis/rpcsvc/yp.x: Likewise.
15194 * nis/rpcsvc/ypupd.h: Likewise.
15195 * nis/yp_xdr.c: Likewise.
15196 * nis/ypupdate_xdr.c: Likewise.
15197
2f3e3dc7
UD
15198 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15199 mainly the body of pmap_getport. Add parameters to specify timeouts.
15200 (pmap_getport): Use __libc_rpc_getport.
15201 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15202 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15203 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15204
f3dcc2f9
AS
152052010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15206
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15208 fanotify_mark.
15209
6d34eb5b
RM
152102010-08-27 Roland McGrath <roland@redhat.com>
15211
15212 * sysdeps/i386/i686/multiarch/Makefile
15213 (CFLAGS-varshift.c): New variable.
15214
9ea3de11
UD
152152010-08-27 Ulrich Drepper <drepper@redhat.com>
15216
c96d23fc
UD
15217 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15218 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15219
9ea3de11
UD
15220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15221
15222 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15223
623aac7f
L
152242010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15225
15226 * sysdeps/x86_64/strlen.S: Unroll the loop.
15227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15228 strlen-sse2 strlen-sse2-bsf.
15229 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15230 __strlen_no_bsf if bit_Slow_BSF is set.
15231 (__strlen_sse42): Removed.
15232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15233 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15234
8b2b7715
RM
152352010-08-25 Roland McGrath <roland@redhat.com>
15236
15237 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15238 * sysdeps/x86_64/multiarch/varshift.c: New file.
15239 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15240 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15241 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15242 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15243
e73015f2
L
152442010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15245
15246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15247 strlen-sse2 strlen-sse2-bsf.
15248 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15249 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15250 (__strlen_sse2): Removed.
15251 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15254 bit_Slow_BSF for Atom.
15255 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15256 (index_Slow_BSF): Define.
15257 (HAS_SLOW_BSF): Define.
15258
df24a73e
UD
152592010-08-25 Ulrich Drepper <drepper@redhat.com>
15260
15261 [BZ #10851]
15262 * resolv/res_init.c (__res_vinit): When no server address at all
15263 is given default to loopback.
15264
f2ac4868
RM
152652010-08-24 Roland McGrath <roland@redhat.com>
15266
09055553
RM
15267 * configure.in: Remove config-name.h generation.
15268 * configure: Regenerated.
15269 * config-name.in: File removed.
15270 * scripts/config-uname.sh: New file.
15271 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15272 ($(objdir)config-name.h): New target.
15273
f2ac4868
RM
15274 * sunrpc/rpc_parse.h: Avoid nested comment.
15275
73f27d5e
RH
152762010-08-24 Richard Henderson <rth@redhat.com>
15277 Ulrich Drepper <drepper@redhat.com>
15278 H.J. Lu <hongjiu.lu@intel.com>
15279
15280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15282 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15283 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15284 _mm_alignr_epi8 with _mm_loadu_si128.
15285 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15286 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15287 (__m128i_shift_right): Removed.
15288 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15289 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15290 * sysdeps/x86_64/multiarch/varshift.h: New file.
15291 * sysdeps/x86_64/multiarch/varshift.S: New file.
15292
84b9230c
MF
152932010-08-21 Mike Frysinger <vapier@gentoo.org>
15294
15295 * configure.in: Move assembler checks to before sysdep dir checking.
15296
9bbd0ddc
PB
152972010-08-20 Petr Baudis <pasky@suse.cz>
15298
15299 * LICENSES: Sync the sunrpc license.
15300
9da4bb31
UD
153012010-08-19 Ulrich Drepper <drepper@redhat.com>
15302
a7ab6ec8
UD
15303 * sunrpc/auth_des.c: Update copyright notice once again.
15304 * sunrpc/auth_none.c: Likewise.
15305 * sunrpc/auth_unix.c: Likewise.
15306 * sunrpc/authdes_prot.c: Likewise.
15307 * sunrpc/authuxprot.c: Likewise.
15308 * sunrpc/bindrsvprt.c: Likewise.
15309 * sunrpc/clnt_gen.c: Likewise.
15310 * sunrpc/clnt_perr.c: Likewise.
15311 * sunrpc/clnt_raw.c: Likewise.
15312 * sunrpc/clnt_simp.c: Likewise.
15313 * sunrpc/clnt_tcp.c: Likewise.
15314 * sunrpc/clnt_udp.c: Likewise.
15315 * sunrpc/clnt_unix.c: Likewise.
15316 * sunrpc/des_crypt.c: Likewise.
15317 * sunrpc/des_soft.c: Likewise.
15318 * sunrpc/get_myaddr.c: Likewise.
15319 * sunrpc/getrpcport.c: Likewise.
15320 * sunrpc/key_call.c: Likewise.
15321 * sunrpc/key_prot.c: Likewise.
15322 * sunrpc/openchild.c: Likewise.
15323 * sunrpc/pm_getmaps.c: Likewise.
15324 * sunrpc/pm_getport.c: Likewise.
15325 * sunrpc/pmap_clnt.c: Likewise.
15326 * sunrpc/pmap_prot.c: Likewise.
15327 * sunrpc/pmap_prot2.c: Likewise.
15328 * sunrpc/pmap_rmt.c: Likewise.
15329 * sunrpc/rpc/auth.h: Likewise.
15330 * sunrpc/rpc/auth_unix.h: Likewise.
15331 * sunrpc/rpc/clnt.h: Likewise.
15332 * sunrpc/rpc/des_crypt.h: Likewise.
15333 * sunrpc/rpc/key_prot.h: Likewise.
15334 * sunrpc/rpc/netdb.h: Likewise.
15335 * sunrpc/rpc/pmap_clnt.h: Likewise.
15336 * sunrpc/rpc/pmap_prot.h: Likewise.
15337 * sunrpc/rpc/pmap_rmt.h: Likewise.
15338 * sunrpc/rpc/rpc.h: Likewise.
15339 * sunrpc/rpc/rpc_des.h: Likewise.
15340 * sunrpc/rpc/rpc_msg.h: Likewise.
15341 * sunrpc/rpc/svc.h: Likewise.
15342 * sunrpc/rpc/svc_auth.h: Likewise.
15343 * sunrpc/rpc/types.h: Likewise.
15344 * sunrpc/rpc/xdr.h: Likewise.
15345 * sunrpc/rpc_clntout.c: Likewise.
15346 * sunrpc/rpc_cmsg.c: Likewise.
15347 * sunrpc/rpc_common.c: Likewise.
15348 * sunrpc/rpc_cout.c: Likewise.
15349 * sunrpc/rpc_dtable.c: Likewise.
15350 * sunrpc/rpc_hout.c: Likewise.
15351 * sunrpc/rpc_main.c: Likewise.
15352 * sunrpc/rpc_parse.c: Likewise.
15353 * sunrpc/rpc_parse.h: Likewise.
15354 * sunrpc/rpc_prot.c: Likewise.
15355 * sunrpc/rpc_sample.c: Likewise.
15356 * sunrpc/rpc_scan.c: Likewise.
15357 * sunrpc/rpc_scan.h: Likewise.
15358 * sunrpc/rpc_svcout.c: Likewise.
15359 * sunrpc/rpc_tblout.c: Likewise.
15360 * sunrpc/rpc_util.c: Likewise.
15361 * sunrpc/rpc_util.h: Likewise.
15362 * sunrpc/rpcinfo.c: Likewise.
15363 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15364 * sunrpc/rpcsvc/key_prot.x: Likewise.
15365 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15366 * sunrpc/rpcsvc/mount.x: Likewise.
15367 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15368 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15369 * sunrpc/rpcsvc/rex.x: Likewise.
15370 * sunrpc/rpcsvc/rstat.x: Likewise.
15371 * sunrpc/rpcsvc/rusers.x: Likewise.
15372 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15373 * sunrpc/rpcsvc/spray.x: Likewise.
15374 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15375 * sunrpc/rtime.c: Likewise.
15376 * sunrpc/svc.c: Likewise.
15377 * sunrpc/svc_auth.c: Likewise.
15378 * sunrpc/svc_authux.c: Likewise.
15379 * sunrpc/svc_raw.c: Likewise.
15380 * sunrpc/svc_run.c: Likewise.
15381 * sunrpc/svc_simple.c: Likewise.
15382 * sunrpc/svc_tcp.c: Likewise.
15383 * sunrpc/svc_udp.c: Likewise.
15384 * sunrpc/svc_unix.c: Likewise.
15385 * sunrpc/svcauth_des.c: Likewise.
15386 * sunrpc/xcrypt.c: Likewise.
15387 * sunrpc/xdr.c: Likewise.
15388 * sunrpc/xdr_array.c: Likewise.
15389 * sunrpc/xdr_float.c: Likewise.
15390 * sunrpc/xdr_mem.c: Likewise.
15391 * sunrpc/xdr_rec.c: Likewise.
15392 * sunrpc/xdr_ref.c: Likewise.
15393 * sunrpc/xdr_sizeof.c: Likewise.
15394 * sunrpc/xdr_stdio.c: Likewise.
15395
9da4bb31
UD
15396 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15397 handling.
15398
bdaa77bc
AS
153992010-08-19 Andreas Schwab <schwab@redhat.com>
15400
15401 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15402
fe2f79db
LM
154032010-08-19 Luis Machado <luisgpm@br.ibm.com>
15404
15405 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15406 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15407 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15408 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15409 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15410 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15411 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15412 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15413 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15414 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15415 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15416 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15417 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15418 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15419
b9b42ee0
AB
154202010-07-26 Anton Blanchard <anton@samba.org>
15421
15422 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15423 * malloc/arena.c (heap_trim): Likewise.
15424
1c06ba31
UD
154252010-08-16 Ulrich Drepper <drepper@redhat.com>
15426
15427 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15428 here. Not...
15429 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15430 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15431
f8392f40
L
154322010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15433
15434 * sysdeps/i386/elf/Makefile: New file.
15435
3162f12e
AS
154362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15437
15438 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15439 from fanotify_init.
15440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15442
28c90b2c
UD
154432010-08-15 Ulrich Drepper <drepper@redhat.com>
15444
15445 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15446 of strncasecmp_l.
1feccb6c 15447 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15448
ca6bb004
UD
154492010-08-14 Ulrich Drepper <drepper@redhat.com>
15450
e9f82e0d
UD
15451 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15452 strncase_l-nonascii.
15453 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15454 Add strncase_l-ssse3.
15455 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15456 * sysdeps/x86_64/strcmp.S: Likewise.
15457 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15458 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15459 * sysdeps/x86_64/strncase.S: New file.
15460 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15461 * sysdeps/x86_64/strncase_l.S: New file.
15462 * string/Makefile (strop-tests): Add strncasecmp.
15463 * string/test-strncasecmp.c: New file.
15464
15465 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15466 warning.
15467
ca6bb004
UD
15468 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15469 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15470
052fa7b3
AS
154712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15472
15473 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15474
962dba78
UD
154752010-08-12 Ulrich Drepper <drepper@redhat.com>
15476
15477 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15478 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15479 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15480
bebff237
AM
154812010-05-01 Alan Modra <amodra@gmail.com>
15482
15483 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15484 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15485 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15486 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15487 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15488 tidying. Don't tail-call __sigjmp_save for static lib.
15489 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15490 save location.
15491 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15492 (CALL_MCOUNT): Add eh info, and nop after bl.
15493 (TAIL_CALL_SYSCALL_ERROR): New macro.
15494 (PSEUDO_RET): Use it.
15495 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15496 Correct save location of integer regs and cr.
15497 (_dl_profile_resolve): Correct cr save location. Delete nops
15498 after bl when SHARED. Reduce cfi size a little by better
15499 placement of cfi directives.
15500 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15501 make a stack frame. Instead use parm save area as a temp.
15502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15503 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15505 Don't make a stack frame for parent, use parm save area.
15506 Increase child stack frame to 112 bytes. Don't save unused reg,
15507 and adjust reg usage. Set up cfi on error recovery and
15508 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15510 (__makecontext): Add dummy nop after jump to exit.
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15512 Use correct parm save area and cr save, reduce stack frame.
15513 Correct cfi for possible PSEUDO_RET frame setup.
15514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15515 Branch to local label emitted by PSEUDO_RET rather than
15516 __syscall_error.
15517
02637374
AS
155182010-08-12 Andreas Schwab <schwab@redhat.com>
15519
15520 [BZ #11904]
15521 * locale/programs/locale.c (print_assignment): New function.
15522 (show_locale_vars): Use it.
15523
c3e2f19b
UD
155242010-08-11 Ulrich Drepper <drepper@redhat.com>
15525
3cdaa6ad
UD
15526 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15527 field.
15528 (struct statfs64): Likewise.
15529 (_STATFS_F_FLAGS): Define.
15530 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15531 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15532 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15533 (ST_VALID): Define locally.
15534 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15535 __statvfs_getflags, use the provided value.
15536 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15537 __ASSUME_STATFS_F_FLAGS.
15538
754f7da3
UD
15539 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15540
10b3bedc
UD
15541 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15542 Add sys/fanotify.h.
15543 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15544 fanotify_mask for GLIBC_2.13.
15545 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15546 fanotify_init and fanotify_mark.
15547 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15548 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15549
c08fb0d7
UD
15550 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15551 Add prlimit.
15552 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15553 prlimit64 for GLIBC_2.13.
15554 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15555 prlimit64.
15556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15557 syscall.
15558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15559 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15560 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15561 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15563 add prlimit alias.
15564 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15565
15bac72b
UD
15566 [BZ #11903]
15567 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15568 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15569
c3e2f19b
UD
15570 * nss/Makefile: Add rules to build and run tst-nss-test1.
15571 * shlib-versions: Add entry for libnss_test1.
15572 * nss/nss_test1.c: New file.
15573 * nss/tst-nss-test1.c: New file.
15574
15575 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15576 (__nss_configure_lookup): Set appropriate entry in
15577 __nss_configure_lookup to true.
15578 * nss/nsswitch.h: Define enum with indeces of databases in
15579 databases and __nss_database_custom arrays. Declare
15580 __nss_database_custom.
15581 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15582 to avoid using nscd when custom rules are installed.
15583 * nss/getXXbyYY_r.c: Likewise.
15584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15585
15586 * nss/nss_files/files-parse.c: Whitespace fixes.
15587
f15ce4d8
UD
155882010-08-09 Ulrich Drepper <drepper@redhat.com>
15589
15590 [BZ #11883]
15591 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15592 * posix/fnmatch_loop.c: Likewise.
15593
d22e4cc9
AK
155942010-07-17 Andi Kleen <ak@linux.intel.com>
15595
15596 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15597 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15598 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15599 * Versions.def [GLIBC_2.13]: Add.
15600
805bc17d
UD
156012010-08-06 Ulrich Drepper <drepper@redhat.com>
15602
15603 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15604 Also fail if tpwd after pwuid call is NULL.
15605
5a42321d
ST
156062010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15607
15608 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15609 when converting to ms.
15610
fd3ebeda
ST
156112010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15612
15613 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15614 EOPNOTSUPP errors with ENOTTY.
15615 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15616 EOPNOTSUPP errors with ENOTTY.
15617
73507d3a
UD
156182010-07-31 Ulrich Drepper <drepper@redhat.com>
15619
15620 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15621 Add strcasecmp_l-ssse3.
15622 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15623 strcasecmp.
15624 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15625 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15626 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15627
fe36dd02
UD
156282010-07-30 Ulrich Drepper <drepper@redhat.com>
15629
66f6765a
UD
15630 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15631
42e08a54
UD
15632 * string/Makefile (strop-tests): Add strcasecmp.
15633 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15634 strcasecmp_l-nonascii.
15635 (gen-as-const-headers): Add locale-defines.sym.
15636 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15637 * sysdeps/x86_64/strcasecmp.S: New file.
15638 * sysdeps/x86_64/strcasecmp_l.S: New file.
15639 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15640 * sysdeps/x86_64/locale-defines.sym: New file.
15641 * string/test-strcasecmp.c: New file.
15642
fe36dd02
UD
15643 * string/test-strcasestr.c: Test both ends of the range of characters.
15644 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15645
48cbc0d6
RM
156462010-07-29 Roland McGrath <roland@redhat.com>
15647
76e6d6bc 15648 [BZ #11856]
48cbc0d6
RM
15649 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15650
880113d9
UD
156512010-07-27 Ulrich Drepper <drepper@redhat.com>
15652
15653 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15654 for ld.so.
15655
deb9cabb
AS
156562010-07-27 Andreas Schwab <schwab@redhat.com>
15657
15658 * manual/memory.texi (Malloc Tunable Parameters): Document
15659 M_PERTURB.
15660
1c7570ff
RM
156612010-07-26 Roland McGrath <roland@redhat.com>
15662
15663 [BZ #11840]
15664 * configure.in (-fgnu89-inline check): Set and substitute
15665 gnu89_inline, not libc_cv_gnu89_inline.
15666 * configure: Regenerated.
15667 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15668
24fb0f88
UD
156692010-07-26 Ulrich Drepper <drepper@redhat.com>
15670
15671 * string/test-strnlen.c: New file.
15672 * string/Makefile (strop-tests): Add strnlen.
15673 * string/tester.c (test_strnlen): Add a few more test cases.
15674 * string/tst-strlen.c: Better error reporting.
15675
15676 * sysdeps/x86_64/strnlen.S: New file.
15677
8e96b93a
UD
156782010-07-24 Ulrich Drepper <drepper@redhat.com>
15679
15680 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15681 lower-latency instructions.
15682
dbc676d4
UD
156832010-07-23 Ulrich Drepper <drepper@redhat.com>
15684
15685 * string/test-strcasestr.c: New file.
15686 * string/test-strstr.c: New file.
15687 * string/Makefile (strop-tests): Add strstr and strcasestr.
15688 * string/str-two-way.h: Don't undefine MAX.
15689 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15690
f6a31e0e
AS
156912010-07-21 Andreas Schwab <schwab@redhat.com>
15692
15693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15694 strcasestr-nonascii.
15695 (CFLAGS-strcasestr-nonascii.c): Define.
15696 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15697 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15698 Remove unused attribute.
15699
5dbc3b6c
RM
157002010-07-20 Roland McGrath <roland@redhat.com>
15701
15702 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15703 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15704 ld.so.cache was broken. With it, there is no way to disable dsocaps
15705 like LD_HWCAP_MASK can disable hwcaps.
15706
23d101d8
EPM
157072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15708
15709 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15710
cc9f2e47
UD
157112010-07-16 Ulrich Drepper <drepper@redhat.com>
15712
15713 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15714 call in strcasestr.
15715 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15716 __strcasestr_sse42_nonascii.
15717 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15718 strcasestr-nonascii.c.
15719 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15720
77c1b069
LM
157212010-06-15 Luis Machado <luisgpm@br.ibm.com>
15722
15723 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15724 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15725 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15726 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15727
440566c3
UD
157282010-07-09 Ulrich Drepper <drepper@redhat.com>
15729
15730 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15731 fcntl.
15732
5be9d05d
AS
157332010-07-06 Andreas Schwab <schwab@redhat.com>
15734
c30b7ee2 15735 [BZ #11577]
5be9d05d
AS
15736 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15737 dl_signal_cerror.
15738
8a492a67
UD
157392010-07-06 Ulrich Drepper <drepper@redhat.com>
15740
15741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15742 _PC_PIPE_BUF using F_GETPIPE_SZ.
15743
713df3d5
RM
157442010-07-05 Roland McGrath <roland@redhat.com>
15745
15746 * manual/arith.texi (Rounding Functions): Fix rint description
15747 implicit in round description.
15748
702e8f14
UD
157492010-07-02 Ulrich Drepper <drepper@redhat.com>
15750
15751 * elf/Makefile: Fix linking for a few tests to make recent linker
15752 happy.
15753
52ed8be9
AS
157542010-06-30 Andreas Schwab <schwab@redhat.com>
15755
15756 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15757 $(common-objpfx)libc_nonshared.a.
15758
f47c9a11
LM
157592010-06-21 Luis Machado <luisgpm@br.ibm.com>
15760
15761 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15762 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15763 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15764 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15765 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15766 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15767 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15768 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15783 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15784 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15785 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15786 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15787 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15788 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15789 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15790 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15791 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15792 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15793 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15794 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15809
6fb8cbcb
L
158102010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15811
15812 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15813 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15814 * string/memmove.c (memmove): Renamed to ...
15815 (MEMMOVE): ...this. Default to memmove.
15816 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15817 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15818 (END_CHK): Define.
15819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15820 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15821 mempcpy-ssse3-back memmove-ssse3-back.
15822 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15824 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15825 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15826 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15827 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15828 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15829 * sysdeps/x86_64/multiarch/memmove.c: New file.
15830 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15831 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15832 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15833 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15834 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15835 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15836 Define.
15837 (index_Fast_Copy_Backward): Define.
15838 (HAS_ARCH_FEATURE): Define.
15839 (HAS_FAST_REP_STRING): Define.
15840 (HAS_FAST_COPY_BACKWARD): Define.
15841
4e733bac 158422010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15843
15844 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15845 Restore proper fallback handling.
15846
63c4ed22
UD
158472010-06-19 Ulrich Drepper <drepper@redhat.com>
15848
ac2b484c
UD
15849 [BZ #11701]
15850 * posix/group_member.c (__group_member): Correct checking loop.
15851
63c4ed22
UD
15852 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15853 OOM in getpwuid_r correctly. Return error number when the caller
15854 should return, otherwise -1.
15855 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15856 call returning > 0 value.
15857 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15858
765ade4b
AS
158592010-06-07 Andreas Schwab <schwab@redhat.com>
15860
15861 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15862 libc_nonshared.a from targets in modules-names.
15863
80da2e09
KS
158642010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15865
15866 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15867 requires it.
15868
158db122
LM
158692010-06-10 Luis Machado <luisgpm@br.ibm.com>
15870
15871 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15872 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15873 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15874 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15875
caa78cf8
AS
158762010-06-02 Andreas Schwab <schwab@redhat.com>
15877
15878 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15879
b2ef2c01
UD
158802010-06-14 Ulrich Drepper <drepper@redhat.com>
15881
15882 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15883 and F_GETPIPE_SZ.
15884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15886 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15888 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15889 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15890
fbd643b6
RM
158912010-06-14 Roland McGrath <roland@redhat.com>
15892
15893 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15894
f32f2869
JJ
158952010-06-07 Jakub Jelinek <jakub@redhat.com>
15896
15897 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15898 __REDIRECT followed by __THROW.
15899 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15900 * posix/getopt.h (getopt): Likewise.
15901
2a50c078
EPM
159022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15903
15904 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15905 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15906 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15907 in AT_FLAGS.
15908 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15909 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15910
eb5ad2eb
LM
159112010-05-28 Luis Machado <luisgpm@br.ibm.com>
15912
15913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15914
3c88fe1e
L
159152010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15916
15917 [BZ #11640]
15918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15919 Properly check family and model.
15920
d2f73151
TY
159212010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15922
15923 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15924
ebd2e13d
LM
159252010-05-24 Luis Machado <luisgpm@br.ibm.com>
15926
15927 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15928
b32b8b45
UD
159292010-05-21 Ulrich Drepper <drepper@redhat.com>
15930
15931 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15932 symbol reference.
15933
9acbe24d
AS
159342010-05-19 Andreas Schwab <schwab@redhat.com>
15935
15936 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15937 symbol reference.
15938
f0ccf6ea
AS
159392010-05-21 Andreas Schwab <schwab@redhat.com>
15940
3d04ff3a
AS
15941 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15942 and internal_recvmmsg.
15943 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15944 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15945 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15946 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15947
f0ccf6ea
AS
15948 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15949 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15950 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15951
5b08ac57
AS
159522010-05-20 Andreas Schwab <schwab@redhat.com>
15953
15954 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15955
4828935d
LM
159562010-05-17 Luis Machado <luisgpm@br.ibm.com>
15957
15958 POWER7 optimizations.
15959 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15960 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15961
373d545e
UD
159622010-05-19 Ulrich Drepper <drepper@redhat.com>
15963
15964 * version.h: Update for 2.13 development version.
15965
21a2b1ae
AS
159662010-05-12 Andrew Stubbs <ams@codesourcery.com>
15967
15968 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15969 exceptions. Return 0.
15970
3f7dcb2b
RM
159712010-05-07 Roland McGrath <roland@redhat.com>
15972
15973 * elf/ldconfig.c (main): Add a const.
15974
5f24d53a 159752010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15976
a160f8d8
UD
15977 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15978 (args_options): Add no-idn option.
15979 (ahosts_keys_int): Add idn_flags to ai_flags.
15980 (parse_option): Handle 'i' option to clear idn_flags.
15981
5f24d53a
UD
15982 * malloc/malloc.c (_int_free): Possible race in the most recently
15983 added check. Only act on the data if no current modification
15984 happened.
265bb1ce
UD
15985
15986See ChangeLog.17 for earlier changes.