]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
alpha: Handle ST_OTHER in objdump output
[thirdparty/glibc.git] / ChangeLog
CommitLineData
63f1549e
RH
12012-05-30 Richard Henderson <rth@twiddle.net>
2
3 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4 marked to avoid plt entry.
5
0ab0291b
L
62012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7
8 [BZ #14112]
9 * Makeconfig (default-abi): New macro.
10 (abi-includes): Likewise.
11 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12 $(abi-$(default-abi)-lib-soname) for soname if defined.
13 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14 abi-variants.
15 * Makefile (installed-stubs): Likewise.
16 * include/stubs-biarch.h: Removed.
17 * scripts/lib-names.awk: Only handle one library at a time.
18 * scripts/soversions.awk: Remove WORDSIZE support.
19 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20 entries.
21 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22 Removed.
23 (syscall-list-default-condition): Likewise.
24 (syscall-list-default-condition): Likewise.
25 (syscall-list-includes): Likewise.
26 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27 syscall-list-* with abi-*. Handle undefined abi-variants.
28 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34 Removed.
35 (syscall-list-32-options): Likewise.
36 (syscall-list-32-condition): Likewise.
37 (syscall-list-64-options): Likewise.
38 (syscall-list-64-condition): Likewise.
39 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40 macro.
41 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42 Renamed to ...
43 (abi-*): This.
44 (abi-64-ld-soname): New macro.
45 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47 Renamed to ...
48 (abi-*): This.
49 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50 * sysdeps/x86_64/x32/shlib-versions: Likewise.
51
4da0431d
JM
522012-05-30 Joseph Myers <joseph@codesourcery.com>
53
3a85279c
JM
54 * sysdeps/unix/sysv/linux/kernel-features.h
55 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57 include <kernel-features.h>.
58 [!__NR_ftruncate64]: Remove conditional code.
59 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60 [__NR_ftruncate64]: Make code unconditional.
61 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62 * sysdeps/unix/sysv/linux/truncate64.c: Do not
63 include <kernel-features.h>.
64 [!__NR_ftruncate64]: Remove conditional code.
65 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66 [__NR_ftruncate64]: Make code unconditional.
67 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69 include <kernel-features.h>.
70 [!__NR_ftruncate64]: Remove conditional code.
71 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72 [__NR_ftruncate64]: Make code unconditional.
73 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
75 include <kernel-features.h>.
76 [!__NR_ftruncate64]: Remove conditional code.
77 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78 [__NR_ftruncate64]: Make code unconditional.
79 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80
4da0431d
JM
81 * configure.in (libc_cv_fpie): Weaken to a compile test using
82 LIBC_TRY_CC_OPTION.
83 * configure: Regenerated.
84
11ef492c
AK
852012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
86
87 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
88 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
89 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
90 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
91 Refreshed.
92 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
93 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
94 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
95 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
96 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
97 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
98 Refreshed.
99
d66ef399
DM
1002012-05-27 David S. Miller <davem@davemloft.net>
101
102 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
103 (___Q_zero): New.
104 (__Q_simulate_exceptions): Return void. Change to simulate
105 exceptions by writing into the %fsr.
106 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
107 (__Qp_handle_exceptions): Likewise.
108 (numbers): Delete.
109 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
110 __Qp_handle_exceptions.
111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
112 __Qp_handle_exceptions.
113 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
114 as unused and give dummy FP_RND_NEAREST initializer.
115 (FP_INHIBIT_RESULTS): Define.
116 (___Q_simulate_exceptions): Update declaration.
117 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
118 formatting.
119 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
120 as unused and give dummy FP_RND_NEAREST initializer.
121 (__Qp_handle_exceptions): Update declaration.
122 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
123 formatting.
124
04fb54b5
TS
1252012-05-27 Thomas Schwinge <thomas@codesourcery.com>
126
127 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
128 the temporary FPU control word.
129 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
130 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
131 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
132 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
133 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
134 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
135 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
136 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
137 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
138 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
139 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
140
3f99608f
KK
1412012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
142
143 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
144 fields.
145
65a4de4e
CLT
1462012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
147
148 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
149 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
150 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
151 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
152 Likewise.
153 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
154 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
155 Likewise.
156
15749d40
UD
1572012-05-27 Ulrich Drepper <drepper@gmail.com>
158
159 * po/h.po: Update from translation team.
160
25dbcb27
AS
1612012-05-26 Andreas Schwab <schwab@linux-m68k.org>
162
3d3f8e55
AS
163 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
164
25dbcb27
AS
165 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
166 handling of denormals.
167 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
168 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
169 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
170 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
174 Likewise.
175
7ad47a80 1762012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
177
178 [BZ #14152]
179 * math/libm-test.inc (fma_test): Don't always expect underflow
180 exception.
181
9c6ea9fa
SP
1822012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
183
184 [BZ #12416]
185 * elf/tst-execstack.c: Include stackinfo.h.
186 (do_test): Adjust test case to ensure that pthread_getattr_np
187 behaviour remains the same after marking stack executable.
188
a8239222
JM
1892012-05-25 Joseph Myers <joseph@codesourcery.com>
190
191 * sysdeps/unix/sysv/linux/kernel-features.h
192 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
193 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
194 kernel-features.h.
195 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
196 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
197 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
198 kernel-features.h.
199 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
200 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
201
918b5606
L
2022012-05-25 H.J. Lu <hongjiu.lu@intel.com>
203
204 * configure.in: Define the default includes to being none.
205 * configure: Regenerated.
206
3a097cc7
RM
2072012-05-25 Roland McGrath <roland@hack.frob.com>
208
8422c9a5
RM
209 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
210 * sysdeps/x86_64/setjmp.S: Likewise.
211 * sysdeps/i386/bsd-setjmp.S: Likewise.
212 * sysdeps/i386/bsd-_setjmp.S: Likewise.
213 * sysdeps/i386/setjmp.S: Likewise.
214 * sysdeps/i386/__longjmp.S: Likewise.
215 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
216 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
217
3a097cc7
RM
218 * include/stap-probe.h: New file.
219 * configure.in: Handle --enable-systemtap.
220 * configure: Regenerated.
221 * config.h.in (USE_STAP_PROBE): New #undef.
222 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
223 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
224 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
225
21708942
JM
2262012-05-25 Joseph Myers <joseph@codesourcery.com>
227
228 [BZ #13717]
229 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
230 to 2.4.0 where earlier.
231 * sysdeps/unix/sysv/linux/configure: Regenerated.
232 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
233 <kernel-features.h>.
234 [__ASSUME_32BITUIDS]: Make code unconditional.
235 [!__ASSUME_32BITUIDS]: Remove conditional code.
236 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
237 <kernel-features.h>.
238 [__ASSUME_32BITUIDS]: Make code unconditional.
239 [!__ASSUME_32BITUIDS]: Remove conditional code.
240 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
241 [__ASSUME_32BITUIDS]: Make code unconditional.
242 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
243 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
244 <kernel-features.h>.
245 [__ASSUME_32BITUIDS]: Make code unconditional.
246 [!__ASSUME_32BITUIDS]: Remove conditional code.
247 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
248 <kernel-features.h>.
249 [__ASSUME_32BITUIDS]: Make code unconditional.
250 [!__ASSUME_32BITUIDS]: Remove conditional code.
251 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
252 <kernel-features.h>.
253 [__ASSUME_32BITUIDS]: Make code unconditional.
254 [!__ASSUME_32BITUIDS]: Remove conditional code.
255 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
256 <kernel-features.h>.
257 [__ASSUME_32BITUIDS]: Make code unconditional.
258 [!__ASSUME_32BITUIDS]: Remove conditional code.
259 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
260 <kernel-features.h>.
261 [__ASSUME_32BITUIDS]: Make code unconditional.
262 [!__ASSUME_32BITUIDS]: Remove conditional code.
263 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
264 <kernel-features.h>.
265 [__ASSUME_32BITUIDS]: Make code unconditional.
266 [!__ASSUME_32BITUIDS]: Remove conditional code.
267 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
268 <kernel-features.h>.
269 [__ASSUME_32BITUIDS]: Make code unconditional.
270 [!__ASSUME_32BITUIDS]: Remove conditional code.
271 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
272 <kernel-features.h>.
273 [__ASSUME_32BITUIDS]: Make code unconditional.
274 [!__ASSUME_32BITUIDS]: Remove conditional code.
275 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
276 <kernel-features.h>.
277 [__ASSUME_32BITUIDS]: Make code unconditional.
278 [!__ASSUME_32BITUIDS]: Remove conditional code.
279 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
280 <kernel-features.h>.
281 [__ASSUME_32BITUIDS]: Make code unconditional.
282 [!__ASSUME_32BITUIDS]: Remove conditional code.
283 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
284 <kernel-features.h>.
285 [__NR_setresgid] (__setresgid): Do not declare.
286 [__ASSUME_32BITUIDS]: Make code unconditional.
287 [!__ASSUME_32BITUIDS]: Remove conditional code.
288 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
289 <kernel-features.h>.
290 [__NR_setresuid] (__setresuid): Do not declare.
291 [__ASSUME_32BITUIDS]: Make code unconditional.
292 [!__ASSUME_32BITUIDS]: Remove conditional code.
293 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
294 <kernel-features.h>.
295 [__ASSUME_32BITUIDS]: Make code unconditional.
296 [!__ASSUME_32BITUIDS]: Remove conditional code.
297 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
298 <kernel-features.h>.
299 [__ASSUME_32BITUIDS]: Make code unconditional.
300 [!__ASSUME_32BITUIDS]: Remove conditional code.
301 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
302 <kernel-features.h>.
303 [__ASSUME_32BITUIDS]: Make code unconditional.
304 [!__ASSUME_32BITUIDS]: Remove conditional code.
305 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
306 <kernel-features.h>.
307 [__ASSUME_32BITUIDS]: Make code unconditional.
308 [!__ASSUME_32BITUIDS]: Remove conditional code.
309 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
310 <kernel-features.h>.
311 [__ASSUME_32BITUIDS]: Make code unconditional.
312 [!__ASSUME_32BITUIDS]: Remove conditional code.
313 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
314 <kernel-features.h>.
315 [__ASSUME_32BITUIDS]: Make code unconditional.
316 [!__ASSUME_32BITUIDS]: Remove conditional code.
317 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
318 <kernel-features.h>.
319 [__ASSUME_32BITUIDS]: Make code unconditional.
320 [!__ASSUME_32BITUIDS]: Remove conditional code.
321 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
322 <kernel-features.h>.
323 [__ASSUME_32BITUIDS]: Make code unconditional.
324 [!__ASSUME_32BITUIDS]: Remove conditional code.
325 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
326 <kernel-features.h>.
327 [__ASSUME_32BITUIDS]: Make code unconditional.
328 [!__ASSUME_32BITUIDS]: Remove conditional code.
329 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
330 <kernel-features.h>.
331 [__ASSUME_32BITUIDS]: Make code unconditional.
332 [!__ASSUME_32BITUIDS]: Remove conditional code.
333 * sysdeps/unix/sysv/linux/kernel-features.h
334 (__ASSUME_SETRESUID_SYSCALL): Remove.
335 (__ASSUME_SETRESGID_SYSCALL): Likewise.
336 (__ASSUME_32BITUIDS): Likewise.
337 (__ASSUME_LDT_WORKS): Likewise.
338 (__ASSUME_O_DIRECTORY): Likewise.
339 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
340 architecture but not kernel version.
341 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
342 (__ASSUME_MMAP2_SYSCALL): Likewise.
343 (__ASSUME_STAT64_SYSCALL): Likewise.
344 (__ASSUME_IPC64): Likewise.
345 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
346 <kernel-features.h>.
347 [__ASSUME_32BITUIDS]: Make code unconditional.
348 [!__ASSUME_32BITUIDS]: Remove conditional code.
349 * sysdeps/unix/sysv/linux/opendir.c: Do not include
350 <kernel-features.h>.
351 [__ASSUME_O_DIRECTORY]: Make code unconditional.
352 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
353 132096]: Remove conditional code.
354 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
355 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
356 <kernel-features.h>.
357 [__ASSUME_32BITUIDS]: Make code unconditional.
358 [!__ASSUME_32BITUIDS]: Remove conditional code.
359 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
360 <kernel-features.h>.
361 [__ASSUME_32BITUIDS]: Make code unconditional.
362 [!__ASSUME_32BITUIDS]: Remove conditional code.
363 * sysdeps/unix/sysv/linux/setegid.c: Do not include
364 <kernel-features.h>.
365 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
366 unconditional.
367 (__setresgid): Do not declare.
368 [__ASSUME_32BITUIDS]: Make code unconditional.
369 [!__ASSUME_32BITUIDS]: Remove conditional code.
370 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
371 <kernel-features.h>.
372 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
373 unconditional.
374 (__setresuid): Do not declare.
375 [__ASSUME_32BITUIDS]: Make code unconditional.
376 [!__ASSUME_32BITUIDS]: Remove conditional code.
377 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
378 <kernel-features.h>.
379 [__ASSUME_32BITUIDS]: Make code unconditional.
380 [!__ASSUME_32BITUIDS]: Remove conditional code.
381 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
382 <kernel-features.h>.
383 [__ASSUME_32BITUIDS]: Make code unconditional.
384 [!__ASSUME_32BITUIDS]: Remove conditional code.
385
a386f1cc
RH
3862012-05-25 Richard Henderson <rth@twiddle.net>
387
388 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
389 dl_hwcap to ifunc resolver.
390 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
391 elf_ifunc_invoke.
392 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
393 dl_hwcap to ifunc resolver.
394 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
395
b6550497
JM
3962012-05-24 Joseph Myers <joseph@codesourcery.com>
397
398 [BZ #14153]
399 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
400 for |x| <= 2**-26, not 2**-57.
401 * math/libm-test.inc (acos_test): Do not allow spurious underflow
402 exception.
403
b0bc23a1
JL
4042012-05-24 Jeff Law <law@redhat.com>
405
406 * stdio-common/Makefile (tests): Add bug25.
407 * stdio-common/bug25.c: New test.
408
347c92e9
L
4092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
410
411 [BZ #13576]
412 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
413 multiple of MALLOC_ALIGNMENT in size.
414 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
415
6bcc8b3f
JM
4162012-05-24 Joseph Myers <joseph@codesourcery.com>
417
418 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
419 Require >= 256.
420 (FILENAME_MAX): Use macro-int-constant.
421 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
422 (_IOFBF): Use macro-int-constant.
423 (_IOLBF): Likewise.
424 (_IONBF): Likewise.
425 (SEEK_CUR): Likewise.
426 (SEEK_END): Likewise.
427 (SEEK_SET): Likewise.
428 (TMP_MAX): Likewise.
429 (EOF): Use macro-int-constant. Require < 0.
430 (NULL): Use macro-constant. Require == 0.
431 (stdin): Require type to be FILE *.
432 (stdout): Likewise.
433 (stderr): Likewise.
434 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
435 macro-int-constant.
436 (EXIT_SUCCESS): Likewise.
437 (NULL): Use macro-constant. Require == 0.
438 (RAND_MAX): Use macro-int-constant.
439 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
440 [C99-based standards] (strtof): Require function.
441 [C99-based standards] (strtold): Likewise.
442 [C99-based standards] (strtoll): Likewise.
443 [C99-based standards] (strtoull): Likewise.
444 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
445 [ISO || ISO99 || ISO11] (limits.h): Likewise.
446 [ISO || ISO99 || ISO11] (math.h): Likewise.
447 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
448 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
449 [ISO || ISO99 || ISO11] (*_t): Do not allow.
450
d18ea0c5
AS
4512012-05-24 Andreas Schwab <schwab@linux-m68k.org>
452
453 [BZ #14132]
56d25bb8
AS
454 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
455 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
456 * intl/dgettext.c (DCGETTEXT): Likewise.
457 * intl/gettext.c (DCGETTEXT): Likewise.
458 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
459 * posix/regex_internal.h (gettext): Likewise.
460 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
461 Remove declaration.
462 * include/argz.h (__argz_count_internal)
463 (__argz_stringify_internal): Remove declaration.
464 (__argz_count, __argz_stringify): Declare hidden proto.
465 * intl/dcgettext.c: Remove use of INTDEF.
466 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
467 * string/argz-stringify.c: Likewise.
468 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
469 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
470 Declare hidden proto.
d18ea0c5
AS
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.
474 * include/stdio.h (__asprintf_internal): Don't declare.
475 (__asprintf): Don't define as macro. Declare hidden proto.
476 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
477 (__fsetlocking): Declare hidden proto.
478 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
479 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
480 hidden proto.
481 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
482 (_IO_setlinebuf): Remove use of INTUSE.
483 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
484 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
485 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
486 Remove declaration.
487 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
488 (_IO_do_flush): Remove use of INTUSE.
489 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
490 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
491 (_IO_adjust_column, _IO_least_wmarker)
492 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
493 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
494 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
495 (_IO_default_doallocate, _IO_wdefault_doallocate)
496 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
497 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
498 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
499 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
500 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
501 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
502 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
503 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
504 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
505 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
506 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
507 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
508 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
509 proto.
510 (_IO_flush_all_internal, _IO_adjust_column_internal)
511 (_IO_default_uflow_internal, _IO_default_finish_internal)
512 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
513 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
514 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
515 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
516 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
517 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
518 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
519 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
520 (_IO_file_close_internal, _IO_file_close_it_internal)
521 (_IO_file_underflow_internal, _IO_file_overflow_internal)
522 (_IO_file_init_internal, _IO_file_attach_internal)
523 (_IO_file_fopen_internal, _IO_file_read_internal)
524 (_IO_file_sync_internal, _IO_file_seek_internal)
525 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
526 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
527 (_IO_str_underflow_internal, _IO_str_overflow_internal)
528 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
529 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
530 (_IO_list_all_internal, _IO_link_in_internal)
531 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
532 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
533 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
534 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
535 (_IO_do_write_internal, _IO_padn_internal)
536 (_IO_getline_info_internal, _IO_getline_internal)
537 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
538 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
539 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
540 (_IO_vfscanf_internal, _IO_vfprintf_internal)
541 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
542 (_IO_init_internal, _IO_un_link_internal): Don't declare.
543 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
544 with libc_hidden_ver, remove use of INTUSE.
545 * libio/genops.c: Likewise.
546 * libio/freopen.c: Likewise.
547 * libio/freopen64.c: Likewise.
548 * libio/iofclose.c: Likewise.
549 * libio/iofdopen.c: Likewise.
550 * libio/iofflush.c: Likewise.
551 * libio/iofflush_u.c: Likewise.
552 * libio/iofgets.c: Likewise.
553 * libio/iofgets_u.c: Likewise.
554 * libio/iofopen.c: Likewise.
555 * libio/iofopncook.c: Likewise.
556 * libio/iofread.c: Likewise.
557 * libio/iofread_u.c: Likewise.
558 * libio/ioftell.c: Likewise.
559 * libio/iofwrite.c: Likewise.
560 * libio/iogetline.c: Likewise.
561 * libio/iogets.c: Likewise.
562 * libio/iogetwline.c: Likewise.
563 * libio/iopadn.c: Likewise.
564 * libio/iopopen.c: Likewise.
565 * libio/ioseekoff.c: Likewise.
566 * libio/ioseekpos.c: Likewise.
567 * libio/iosetbuffer.c: Likewise.
568 * libio/iosetvbuf.c: Likewise.
569 * libio/ioungetc.c: Likewise.
570 * libio/ioungetwc.c: Likewise.
571 * libio/iovdprintf.c: Likewise.
572 * libio/iovsprintf.c: Likewise.
573 * libio/iovsscanf.c: Likewise.
574 * libio/memstream.c: Likewise.
575 * libio/obprintf.c: Likewise.
576 * libio/oldfileops.c: Likewise.
577 * libio/oldiofclose.c: Likewise.
578 * libio/oldiofdopen.c: Likewise.
579 * libio/oldiofopen.c: Likewise.
580 * libio/oldiopopen.c: Likewise.
581 * libio/oldstdfiles.c: Likewise.
582 * libio/putc.c: Likewise.
583 * libio/setbuf.c: Likewise.
584 * libio/setlinebuf.c: Likewise.
585 * libio/stdfiles.c: Likewise.
586 * libio/strops.c: Likewise.
587 * libio/vasprintf.c: Likewise.
588 * libio/vscanf.c: Likewise.
589 * libio/vsnprintf.c: Likewise.
590 * libio/vswprintf.c: Likewise.
591 * libio/wfiledoalloc.c: Likewise.
592 * libio/wfileops.c: Likewise.
593 * libio/wgenops.c: Likewise.
594 * libio/wmemstream.c: Likewise.
595 * libio/wstrops.c: Likewise.
596 * libio/__fpurge.c: Likewise.
597 * libio/__fsetlocking.c: Likewise.
598 * assert/assert.c: Likewise.
599 * debug/fgets_chk.c: Likewise.
600 * debug/fgets_u_chk.c: Likewise.
601 * debug/fread_chk.c: Likewise.
602 * debug/fread_u_chk.c: Likewise.
603 * debug/gets_chk.c: Likewise.
604 * debug/obprintf_chk.c: Likewise.
605 * debug/vasprintf_chk.c: Likewise.
606 * debug/vdprintf_chk.c: Likewise.
607 * debug/vsnprintf_chk.c: Likewise.
608 * debug/vsprintf_chk.c: Likewise.
609 * malloc/mtrace.c: Likewise.
610 * misc/error.c: Likewise.
611 * misc/syslog.c: Likewise.
612 * stdio-common/asprintf.c: Likewise.
613 * stdio-common/fxprintf.c: Likewise.
614 * stdio-common/getw.c: Likewise.
615 * stdio-common/isoc99_fscanf.c: Likewise.
616 * stdio-common/isoc99_scanf.c: Likewise.
617 * stdio-common/isoc99_vfscanf.c: Likewise.
618 * stdio-common/isoc99_vscanf.c: Likewise.
619 * stdio-common/isoc99_vsscanf.c: Likewise.
620 * stdio-common/printf-prs.c: Likewise.
621 * stdio-common/printf_fp.c: Likewise.
622 * stdio-common/printf_fphex.c: Likewise.
623 * stdio-common/printf_size.c: Likewise.
624 * stdio-common/putw.c: Likewise.
625 * stdio-common/scanf.c: Likewise.
626 * stdio-common/sprintf.c: Likewise.
627 * stdio-common/tmpfile.c: Likewise.
628 * stdio-common/vfprintf.c: Likewise.
629 * stdio-common/vfscanf.c: Likewise.
630 * stdlib/strfmon_l.c: Likewise.
631 * sunrpc/openchild.c: Likewise.
632 * sunrpc/xdr_stdio.c: Likewise.
633 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
634 * sysdeps/mach/hurd/tmpfile.c: Likewise.
635
d6c33fda
RM
6362012-05-24 Roland McGrath <roland@hack.frob.com>
637
c1487492
RM
638 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
639
640 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
641 in the third column, to generate for the shared library an IFUNC
642 that uses _dl_vdso_vsym.
643 * Makerules (COMPILE.c, compile-stdin.c): New variables.
644 * Makeconfig (object-suffixes-noshared): New variable.
645
646 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
647 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
648 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
649 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
650
d6c33fda
RM
651 [BZ #14132]
652 * include/sys/time.h (__gettimeofday): Remove macro.
653 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
654 * time/gettimeofday.c (__gettimeofday): Remove #undef.
655 Remove INTDEF.
656 (__gettimeofday): Add libc_hidden_def.
657 (gettimeofday): Add libc_hidden_weak.
658 * sysdeps/mach/gettimeofday.c: Likewise.
659 * sysdeps/posix/gettimeofday.c: Likewise.
660 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
661 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
662 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
663 (__gettimeofday_internal): Remove strong_alias.
664 (__gettimeofday): Add libc_hidden_def.
665 (gettimeofday): Add libc_hidden_weak.
666 * sysdeps/unix/syscalls.list (gettimeofday):
667 Remove __gettimeofday_internal alias.
668
b5a2bbe6
L
6692012-05-24 Daniel Jacobowitz <drow@false.org>
670 H.J. Lu <hongjiu.lu@intel.com>
671
672 [BZ #12495]
673 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
674 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
675 (largebin_index_32_big): New.
676 (largebin_index): Use it for 16-byte alignment.
677 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
678 correction with front_misalign.
679
cfba4fda
L
6802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
681
7f907421
L
682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
684 Likewise.
685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
686 Likewise.
687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
688 Likewise.
689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
690 Likewise.
691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
692 Likewise.
693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
694 Likewise.
695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
696 Likewise.
697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
698 Likewise.
699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
700 Likewise.
701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
702 Likewise.
703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
704 Likewise.
705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
706 Likewise.
707
cfba4fda
L
708 * scripts/data/c++-types-x32-linux-gnu.data: New file.
709 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
710
80bad0cc
JM
7112012-05-24 Joseph Myers <joseph@codesourcery.com>
712
7a25eb06
JM
713 [BZ #10846]
714 [BZ #14036]
715 * math/libm-test.inc (exp_test): Add test from bug 14036.
716 (pow_test): Add test from bug 10846.
717
795405f9
JM
718 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
719 and other flags.
720 (special_function): Do not include flags in test name.
721 (parse_args): Likewise.
722 * sysdeps/i386/fpu/libm-test-ulps: Update.
723 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
724 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
725 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
727
80bad0cc
JM
728 * math/gen-libm-test.pl (%beautify): Add entries for underflow
729 exceptions.
730 * math/libm-test.inc ("Philosophy"): Update comment about
731 exception testing.
732 (UNDERFLOW_EXCEPTION): New macro.
733 (UNDERFLOW_EXCEPTION_OK): Likewise.
734 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
735 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
736 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
737 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
738 (INVALID_EXCEPTION_OK): Update value.
739 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
740 (OVERFLOW_EXCEPTION_OK): Likewise.
741 (IGNORE_ZERO_INF_SIGN): Likewise.
742 (test_exceptions): Handle underflow exceptions.
743 (acos_test): Update for underflow exception expectations.
744 (cexp_test): Likewise.
745 (clog_test): Likewise.
746 (clog10_test): Likewise.
747 (csqrt_test): Likewise.
748 (ctan_test): Likewise.
749 (ctanh_test): Likewise.
750 (exp_test): Likewise.
751 (exp10_test): Likewise.
752 (exp2_test): Likewise.
753 (expm1_test): Likewise.
754 (fma_test): Likewise.
755 (j0_test): Likewise.
756 (jn_test): Likewise.
757 (nexttoward_test): Likewise.
758 (pow_test): Likewise.
759 (scalbn_test): Likewise.
760 (scalbln_test): Likewise.
761 (tan_test): Likewise.
762 (y1_test): Likewise.
763 * sysdeps/i386/fpu/libm-test-ulps: Update.
764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
765
9e0e3d0b
DM
7662012-05-23 David S. Miller <davem@davemloft.net>
767
768 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
769 (__libc_sigaction): Remove unused local variables.
770
ccd0a08f
L
7712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
772
773 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
774
62bdf9a6
PE
7752012-05-23 Paul Eggert <eggert@cs.ucla.edu>
776
f8591f80
PE
777 mktime: avoid signed integer overflow
778 * time/mktime.c (__mktime_internal): Do not mishandle the case
779 where diff == INT_MIN.
780
94c7d826
PE
781 mktime: simplify computation of average
782 * time/mktime.c (ranged_convert): Use new time_t_avg function
783 instead of rolling our own (probably-slower) code.
784
ce73d683
PE
785 mktime: do not assume signed right shift propagates sign bit
786 * time/mktime.c (isdst_differ): New static function.
787 (__mktime_internal): No need to normalize tm_isdst now.
788 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
789 tm_isdst values.
790
72a22e59
PE
791 mktime: merge another wrapv change from gnulib
792 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
793 from some compilers.
794
68605433
PE
795 mktime: remove incorrect attempt at unusual arithmetics
796 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
797 The code didn't really work on such machines anyway.
798 (TYPE_MINIMUM): Assume two's complement.
799 (twos_complement_arithmetic): Verify that long_int and time_t
800 are two's complement (or unsigned, in the latter case).
801
03cf7fe3
PE
802 mktime: check signed shifts on long_int and time_t, too
803 * time/mktime.c (SHR): Check that shifts work as desired
804 on the types long_int and time_t too, as SHR is used on
805 such types.
806
f04dfbc2
PE
807 mktime: do not assume 'long' is wide enough
808 * time/mktime.c (verify): Move decl up.
809 (long_int): New type.
810 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
811 to remove assumption in the code that 'long' is wide enough to
812 store year values. This assumption is not true on x32 and on
813 some non-glibc platforms.
814
62bdf9a6
PE
815 mktime: merge wrapv change from gnulib
816 * time/mktime.c (WRAPV): New macro.
817 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
818 (guess_time_tm, __mktime_internal): Do not assume that signed
819 integer overflow wraps around; modern compilers generate code
820 where this assumption is no longer valid.
821
5e292e4f
L
8222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
823
824 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
825 Replace "jmp L(pseudo_end)" with "ret".
826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
827 Likewise.
828
8caf8c87
AJ
8292012-05-23 Andreas Jaeger <aj@suse.de>
830
831 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
832 * sysdeps/unix/sysv/linux/poll.c: Remove file.
833
1a09dc56
AJ
8342012-05-23 Andreas Jaeger <aj@suse.de>
835 Maximilian Attems <max@stro.at>
836
837 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
838 New macros.
839
1c87aba0
L
8402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
841
842 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
843 code so that pseudo_end is just ret and the stack pointer is
844 correct also for static library in error case.
845
40e45bd5
JM
8462012-05-23 Joseph Myers <joseph@codesourcery.com>
847
c2670533
JM
848 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
849 move to syscalls.list.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
854
40e45bd5
JM
855 * manual/install.texi (Running make install): Do not mention Linux
856 kernel version for which pt_chown is not needed.
857 (Linux): Do not mention problems with nscd with 2.0 kernels.
858 * INSTALL: Regenerated.
859
be08eda5
AJ
8602012-05-23 Andreas Jaeger <aj@suse.de>
861
862 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
863 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
864 macro.
865 * sysdeps/unix/sysv/linux/s390/bits/mman.h
866 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
867 * sysdeps/unix/sysv/linux/sh/bits/mman.h
868 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
869 * sysdeps/unix/sysv/linux/i386/bits/mman.h
870 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
871 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
872 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
873 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
874 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
875 * sysdeps/unix/sysv/linux/bits/in.h
876 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
877
a6a056bb
RM
8782012-05-22 Roland McGrath <roland@hack.frob.com>
879
880 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
881 (PREPARE_VERSION): Just use assert instead, it will be elided
882 under [NDEBUG] anyway.
883
c9009328
L
8842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
885
886 * sysdeps/unix/sysv/linux/Makefile: Include
887 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 888 (sysdep_routines): Remove sysctl.
c9009328
L
889 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
890 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
891 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
892 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
893 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
894
73338355
AJ
8952012-05-22 Andreas Jaeger <aj@suse.de>
896
897 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
898 that pseudo_end is just ret and the stack pointer is correct also
899 for static library in error case.
900
d44638b0
PP
9012012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
902
903 [BZ #14122]
904 * nss/nsswitch.c (defconfig_entries): New variable.
905 (__nss_database_lookup): Don't leak defconfig entries.
906 (nss_parse_service_list): Don't leak on error paths.
907 (free_database_entries): New function.
908 (free_defconfig): New function.
909 (free_mem): Move common code to free_database_entries.
910
31a39bd8
L
9112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
912
da0331a8
L
913 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
914 Add arch_prctl.
915 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
916
31a39bd8
L
917 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
918 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
920 New macro.
921 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
922 (INTERNAL_SYSCALL_TYPES): Likewise.
923 (LOAD_ARGS_TYPES_[1-6]): Likewise.
924 (LOAD_REGS_TYPES_[1-6]): Likewise.
925 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
926 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
927
45470df3
AZ
9282012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
929
930 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
931 copysignl for GLIBC_2_0.
932 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
933 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
934 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
935 logbl for GLIBC_2_0.
936 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
937 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
938
98a61bcb
L
9392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
940
a4f6e481
L
941 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
942 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
943
f63d5db6
L
944 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
945 Use "neg %eax".
946
98a61bcb
L
947 * time/mktime.c: Update copyright years.
948
95770f14
PE
9492012-05-22 Paul Eggert <eggert@cs.ucla.edu>
950
6226efbd
PE
951 mktime: merge comment-quoting-style change from gnulib
952 * time/mktime.c: Quote 'like this' in comments.
953 The GNU coding standards suggest that we no longer quote `like this',
954 as "`" and "'" are typically rendered asymmetrically nowadays.
955 The typical gnulib style is to quote 'like this' when quoting
956 code, and "like this" when quoting English.
957
b99e4f78
PE
958 * time/mktime.c (compile-command): Add "-I.".
959
643e01e6
PE
960 mktime: merge mktime-internal.h change from gnulib
961 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
962
2554247d
PE
963 mktime: merge time_r change from gnulib
964 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
965
826dd0ab
PE
966 mktime: merge DEBUG change from gnulib
967 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
968 case system <time.h> has a #define.
969
bd83aabe
PE
970 mktime: merge <sys/types.h> change from gnulib
971 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
972 since <time.t> is now guaranteed to define time_t.
973
95770f14
PE
974 mktime: merge HAVE_CONFIG_H change from gnulib
975 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
976
5e1a27a9
L
9772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
978
0e44a77e
L
979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
980 Use "neg %eax".
981
5e1a27a9
L
982 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
983 __rlim_t cast.
984 (struct rusage): Use anonymous union to pad each field to
985 __syscall_slong_t.
986
46259bec
DM
9872012-05-21 David S. Miller <davem@davemloft.net>
988
989 * Makefules (o-iterator): Remove .s cases.
990 (compile-command.s): Delete.
991 (COMPILE.s): Delete.
992 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
993
59f0c22e
JM
9942012-05-21 Joseph Myers <joseph@codesourcery.com>
995
996 * configure.in (libc_cv_predef_stack_protector): Only consider
997 "foobar" and "__stack_chk_fail" lines in libc_undefs.
998 * configure: Regenerated.
999
20c07380
L
10002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1001
bbb3154b
L
1002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1003 New macro. Use R*LP on int and pointer.
1004 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1005 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1006 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1007 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1008
20c07380
L
1009 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1010 [__WORDSIZE_TIME64_COMPAT32] instead of
1011 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1012 (struct utmp): Likewise.
1013 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1014 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1015 Renamed to ...
1016 (__WORDSIZE_TIME64_COMPAT32): This.
1017 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1018 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1019 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1021 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1022 (__WORDSIZE_TIME64_COMPAT32): New macro.
1023
d8d1017e
AJ
10242012-05-21 Andreas Jaeger <aj@suse.de>
1025
1026 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1027 only if [SHARED]. Add prototype for __wcschr_ia32.
1028
6c7fb145
RM
10292012-05-21 Roland McGrath <roland@hack.frob.com>
1030
1031 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1032 of %rbp unmolested in the jmp_buf while mangling the low bits.
1033 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1034 unmolested high bits of %rbp while demangling the low bits.
1035 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1036
66274218
AJ
10372012-05-21 Andreas Jaeger <aj@suse.de>
1038
07c58f8f
AJ
1039 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1040 * sunrpc/svc_simple.c: Use it for registerrpc.
1041 * sunrpc/xcrypt.c: Use it for passwd2des.
1042
66274218
AJ
1043 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1044
61f65140
L
10452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1048 Don't define if [__SYSCALL_WORDSIZE != 32].
1049 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1050 New macro.
1051
5fefb436
AJ
10522012-05-21 Bruno Haible <bruno@clisp.org>
1053 Andreas Jaeger <aj@suse.de>
1054
1055 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1056 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1057 inptr and inend for must_buffer_ch.
1058 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1059 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1060 * stdio-common/Makefile (tests): Remove bug15.
1061 (bug15-ENV): Remove macro.
1062 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1063 anymore.
1064
d8e272ab
AJ
10652012-05-19 Andreas Jaeger <aj@suse.de>
1066 Roland McGrath <roland@hack.frob.com>
1067
1068 * manual/contrib.texi: Completely rewritten. It contains now an
1069 alphabetical list of contributors and their contributions.
1070
4a56a162
RH
10712012-05-21 Richard Henderson <rth@twiddle.net>
1072
1073 * misc/getauxval.c (__getauxval): Use unsigned long int.
1074 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1075 (getauxval): Use unsigned long int.
1076
d024d23c
L
10772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1080
cbc00a03
RM
10812012-05-21 Roland McGrath <roland@hack.frob.com>
1082
1083 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1084 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1085 __alignof__ (long double).
1086
478143fa
AZ
10872012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1088
1089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1090
c7683a6d
RH
10912012-05-20 Richard Henderson <rth@twiddle.net>
1092
1093 * misc/getauxval.c: New file.
1094 * misc/sys/auxv.h: New file.
1095 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1096 (routines): Add getauxval.
1097 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1098 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1099 * elf/dl-sysdep.c (_dl_auxv): Remove.
1100 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1101 * elf/dl-support.c (_dl_auxv): New variable.
1102 (_dl_aux_init): Initialize it.
1103 * manual/startup.texi (Auxiliary Vector): New node.
1104 * sysdeps/generic/bits/hwcap.h: New file.
1105 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1106 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1107 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1108 * sysdeps/sparc/sysdep.h: ... here. Include it.
1109 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1110 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1112 Update.
c7683a6d
RH
1113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1121
a6f1845d
AZ
11222012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123
1124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1125
cbcbe830
DM
11262012-05-19 David S. Miller <davem@davemloft.net>
1127
1128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1129
e0b16cc2
JM
11302012-05-19 Joseph Myers <joseph@codesourcery.com>
1131
1132 [BZ #14123]
1133 * math/s_ccosh.c: Include <float.h>
1134 (__ccosh): Avoid internal overflow calculating sinh and cosh
1135 values before multiplying by sin and cos values.
1136 * math/s_ccoshf.c: Likewise.
1137 * math/s_ccoshl.c: Likewise.
1138 * math/s_csin.c: Likewise.
1139 * math/s_csinf.c: Likewise.
1140 * math/s_csinl.c: Likewise.
1141 * math/s_csinh.c: Likewise.
1142 * math/s_csinhf.c: Likewise.
1143 * math/s_csinhl.c: Likewise.
1144 * math/libm-test.inc (ccos_test): Add more tests.
1145 (ccosh_test): Likewise.
1146 (csin_test): Likewise.
1147 (csinh_test): Likewise.
1148 * sysdeps/i386/fpu/libm-test-ulps: Update.
1149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1150
6ad13e08
L
11512012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1152
f66f0ce8
L
1153 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1154 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1155
6ad13e08
L
1156 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1157
b1d072a7
JM
11582012-05-19 Joseph Myers <joseph@codesourcery.com>
1159
1160 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1161 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1162 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1163 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1164 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1165 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1166 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1167 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1168 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1169 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1170 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1171 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1172 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1173 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1174 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1175 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1176 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1177 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1178 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1179 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1180 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1181 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1182 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1183 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1184 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1185 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1186 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1187 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1188 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1189 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1190 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1191
9eae47cb
AJ
11922012-05-18 Andreas Jaeger <aj@suse.de>
1193
1194 * csu/.gitignore: Delete.
1195
bb07f69f
L
11962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1197
1198 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1199 (timex): Use __syscall_slong_t.
1200
e6bdb741
AJ
12012012-05-18 Andreas Jaeger <aj@suse.de>
1202 Carlos O'Donell <carlos_odonell@mentor.com>
1203
1204 * manual/install.texi (Configuring and compiling): Update
1205 description about files modified in the source directory.
d6c33fda 1206 * INSTALL: Regenerated.
e6bdb741 1207
1b74487e
L
12082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1209
1210 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1211 value. Use "or" to set return value to -1.
1212 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1213 negate return value.
1214
a88b64b9
TMQMF
12152012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1216
1217 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1218 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1219 failure if the compiler has Graphite support disabled.
1220 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1221 Likewise.
1222 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1223 CFLAGS-memmove.c): Likewise.
1224 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1225 Likewise.
1226
3707636e
L
12272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1228
610b8622
L
1229 * sysdeps/x86_64/x32/_itoa.h: New file.
1230
7cd195df
L
1231 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1232 getdents system call only if kernel and user dirents have the
1233 same d_ino and d_off.
1234
94b07d20
L
1235 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1236 LLONG_MAX != LONG_MAX.
1237 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1238 (_fitoa_word): Likewise.
1239
18298070
L
1240 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1241 years.
1242 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1243 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1244 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1245
553c7ea4
L
1246 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1247 include <bits/wordsize.h>. Check __x86_64__ instead of
1248 __WORDSIZE.
1249 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1250 if __x86_64__ is defined. Use anonymous union on fpstate.
1251
3707636e
L
1252 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1253 anonymous union.
1254
b53ef01a
AS
12552012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1256
37fb1dc0
AS
1257 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1258 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1259 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1260 Refer to _rtld_local_ro instead of _rtld_global_ro.
1261 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1262 Likewise.
1263 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1264 Likewise.
1265 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1266 Likewise.
1267 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1268 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1269 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1270
b53ef01a
AS
1271 * sysdeps/powerpc/powerpc32/dl-machine.c
1272 (__elf_machine_runtime_setup) [PROF]: Don't reference
1273 _dl_prof_resolve.
1274
7a185db2
AJ
12752012-05-18 Andreas Jaeger <aj@suse.de>
1276
1277 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1278 function only available for GCCs before 3.4 since GCC 3.4
1279 introduced a builtin.
1280 (lrint): Likewise.
1281 (llrintf): Likewise.
1282 (llrint): Likewise.
1283 (fmaxf): Likewise.
1284 (fmax): Likewise.
1285 (fminf): Likewise.
1286 (fmin): Likewise.
1287 (rint): Likewise.
1288 (rintf): Likewise.
1289 (nearbyint): Likewise.
1290 (nearbyintf): Likewise.
1291 (ceil): Likewise.
1292 (ceilf): Likewise.
1293 (floor): Likewise.
1294 (floorf): Likewise.
1295
3e5aef87
L
12962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1297
428bd707
L
1298 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1299 on both fields and cast pointer to __syscall_ulong_t.
1300
3e5aef87
L
1301 * bits/types.h (__fsword_t): New type.
1302 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1303 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1304 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1305 (__FSWORD_T_TYPE): Likewise.
1306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1307 (__FSWORD_T_TYPE): Likewise.
1308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1309 (__FSWORD_T_TYPE): Likewise.
1310 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1311 (__FSWORD_T_TYPE): Likewise.
1312 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1313 __SWORD_TYPE with __fsword_t.
1314 (statfs64): Likewise.
1315
1ba7c3dc
DM
13162012-05-17 David S. Miller <davem@davemloft.net>
1317
1318 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1319
59910343
AJ
13202012-05-17 Andreas Jaeger <aj@suse.de>
1321
1322 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1323 warning.
1324
2e4c1e9e
L
13252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1326
1327 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1328
de7f5ce7
AJ
13292012-05-17 Andreas Jaeger <aj@suse.de>
1330
1331 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1332 when it is used.
1333
286abc3d
CM
13342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1335
1336 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1337
477cc68e
L
13382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1339
1340 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1341 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1342
1a0994f5
CD
13432012-05-17 Andreas Jaeger <aj@suse.de>
1344 Carlos O'Donell <carlos_odonell@mentor.com>
1345
1346 [BZ #14059]
1347 * sysdeps/x86_64/multiarch/init-arch.h
1348 (bit_YMM_Usable): Rename to...
1349 (bit_AVX_Usable): ... this.
1350 (bit_FMA4_Usable): New macro.
1351 (bit_XMM_state): New macro.
1352 (bit_YMM_state): New macro.
1353 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1354 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1355 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1356 (CPUID_OSXSAVE): New macro.
1357 (CPUID_AVX): New macro.
1358 (CPUID_FMA4): New macro.
1359 (index_YMM_Usable): Rename to...
1360 (index_AVX_Usable): ... this.
1361 (HAS_AVX): Use HAS_ARCH_FEATURE.
1362 (HAS_FMA4): Likewise.
1363 (HAS_YMM_USABLE): Remove.
1364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1365 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1366 are present.
1367 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1368 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1369 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1370 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1371 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1372
0af797de
CM
13732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1374
1375 * math/libm-test.c: Support platforms without multiple rounding modes.
1376 * math/bug-nextafter.c: Support platforms without FP exceptions.
1377 * math/bug-nexttoward.c: Likewise.
1378 * math/test-fenv.c: Likewise.
1379 * math/test-misc.c: Likewise.
1380 * stdlib/bug-getcontext.c: Likewise.
1381
e39745ff
AJ
13822012-05-17 Andreas Jaeger <aj@suse.de>
1383
1384 * manual/examples/search.c (critter_cmp): Change signature to
1385 avoid warnings.
1386 * manual/string.texi (Collation Functions): Likewise.
1387
48970aba
L
13882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1389
1390 * bits/types.h: Fold copyright years.
1391 * bits/typesizes.h: Likewise.
1392 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1393 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1394 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1396 * time/time.h: Likewise.
1397
bedee953
PP
13982012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1399
1400 [BZ #208]
1401 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1402 in instead of returning them. Return void.
1403 (__libc_mallinfo): Accumulate over all arenas.
1404 (__malloc_stats): Adjust for change in int_mallinfo interface.
1405
61653dfb
RM
14062012-05-16 Roland McGrath <roland@hack.frob.com>
1407
30b99d79
RM
1408 [BZ #10375]
1409 * configure.in (NM): Add AC_CHECK_TOOL for it.
1410 (libc_extra_cflags): New substituted variable.
1411 Check for -fstack-protector being used implicitly.
1412 * configure: Regenerated.
1413 * config.make.in (config-extra-cflags): New variable,
1414 gets @libc_extra_cflags@.
1415 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1416
61653dfb
RM
1417 [BZ #10375]
1418 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1419 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1420 * configure: Regenerated.
1421 * config.make.in (CPPUNDEFS): New substituted variable.
1422 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1423 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1424 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1425
661768bb
L
14262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1429 (mq_attr): Use __syscall_slong_t.
1430
d4261567
L
14312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1432
1433 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1434 Check __x86_64__ instead of __WORDSIZE.
1435 (_STAT_VER_LINUX): Likewise.
1436 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1437 __syscall_ulong_t and __syscall_slong_t.
1438 (stat64): Likewise.
1439
cf3ff365
L
14402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1441
1442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1443
76cf3e4d
L
14442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1445
1446 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1447
a637753a
L
14482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1449
1450 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1451 __syscall_ulong_t.
1452
d5e05119
L
1453 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1454 include <bits/wordsize.h>. Check __x86_64__ instead of
1455 __WORDSIZE.
1456 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1457 defined.
1458 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1459
f62ee380
L
1460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1461 include <bits/wordsize.h>. Check __x86_64__ instead of
1462 __WORDSIZE.
1463 (user_regs_struct): Use "__extension__ unsigned long long"
1464 instead of "unsigned long" if __x86_64__ is defined.
1465 (user): Likewise. Pad after pointer field if __ILP32__ is
1466 defined.
1467
4e124ced
JM
14682012-05-16 Joseph Myers <joseph@codesourcery.com>
1469
6a3951a0
JM
1470 * configure.in (makeinfo): Require version 4.5 or later. Allow
1471 versions 5 to 9.
1472 * configure: Regenerated.
1473 * manual/install.texi (texinfo): Increase version requirement to
1474 4.5 or later.
1475 * INSTALL: Regenerated.
1476
4e124ced
JM
1477 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1478
953ca31a
L
14792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1480
1481 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1482
617aca05
L
1483 * sysdeps/x86_64/x32/ffs.c: New file.
1484
5762f7ae
L
1485 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1486 __syscall_ulong_t.
1487 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1488 defined. Use __syscall_ulong_t.
1489 (shminfo): Use __syscall_ulong_t.
1490 (shm_info): Likewise.
1491
a26b6856
L
1492 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1493 __syscall_ulong_t.
1494
cb2b9ef7
L
1495 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1496 <bits/wordsize.h>.
1497 (msgqnum_t): Use __syscall_ulong_t.
1498 (msglen_t): Likewise.
1499 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1500 __syscall_ulong_t.
1501
34683bb0
L
1502 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1503 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1504
84a68786
L
1505 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1506
48baa5f1
L
1507 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1508 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1509
180be88b
L
1510 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1511 __syscall_slong_t.
1512
5e90c8ad
L
1513 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1514 include <bits/wordsize.h>. Check __x86_64__ instead of
1515 __WORDSIZE.
1516
23dfb58b
L
1517 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1518 "unsigned long long int" if __x86_64__ is defined.
1519 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1520
ce5d54b0
L
1521 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1522 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1523 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1524
13dc9eac
L
1525 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1526 <stdint.h>.
1527 (GET_PC): Cast to uintptr_t first.
1528 (GET_FRAME): Likewise.
1529 (GET_STACK): Likewise.
1530
a7895d15
L
1531 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1532 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1534 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1536 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1537 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1538 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1539 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1540 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1541 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1542 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1543 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1544 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1545 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1546 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1547 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1548 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1549 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1550 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1551 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1552 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1553 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1554 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1555 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1556 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1557 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1558 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1559 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1560
656416c9
AS
15612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1562
5bd66283
AS
1563 * Makerules (+depfiles): Also collect depfiles from .oS in
1564 $(extra-objs).
1565 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1566 .oS, $(libnldbl-routines)).
1567
656416c9
AS
1568 * Makerules (native-compile-mkdep-flags): Define.
1569 * sunrpc/Makefile (extra-objs): Add $(addprefix
1570 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1571 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1572 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1573 calling $(make-target-directory).
1574
a46f2169
L
15752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1576
1577 * bits/types.h (__snseconds_t): Removed.
1578 * time/time.h (struct timespec): Replace __snseconds_t with
1579 __syscall_slong_t.
1580 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1581 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1582 Likewise.
1583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1584 (__SNSECONDS_T_TYPE): Likewise.
1585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1586 (__SNSECONDS_T_TYPE): Likewise.
1587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1588 (__SNSECONDS_T_TYPE): Likewise.
1589
6af6528b
L
15902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1591
1592 * sysdeps/mach/hurd/bits/typesizes.h
1593 (__SYSCALL_SLONG_TYPE): New macro.
1594 (__SYSCALL_ULONG_TYPE): Likewise.
1595
de986b56
L
15962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1597
1598 * bits/types.h (__syscall_slong_t): New type.
1599 (__syscall_ulong_t): Likewise.
1600
1601 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1602 (__SYSCALL_ULONG_TYPE): Likewise.
1603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1604 (__SYSCALL_SLONG_TYPE): Likewise.
1605 (__SYSCALL_ULONG_TYPE): Likewise.
1606 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1607 (__SYSCALL_SLONG_TYPE): Likewise.
1608 (__SYSCALL_ULONG_TYPE): Likewise.
1609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1610 (__SYSCALL_SLONG_TYPE): Likewise.
1611 (__SYSCALL_ULONG_TYPE): Likewise.
1612
85736dc7
L
16132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1614
1615 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1616 Add sigaltstack-offsets.sym.
1617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1618 <sigaltstack-offsets.h>.
1619 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1620 longjmp_msg pointer.
1621 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1622 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1623 signal stack.
1624 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1625
cc03b296
JM
16262012-05-15 Joseph Myers <joseph@codesourcery.com>
1627
a9538892
JM
1628 * elf/stackguard-macros.h: Remove file.
1629 * sysdeps/generic/stackguard-macros.h: New file.
1630 * sysdeps/i386/stackguard-macros.h: Likewise.
1631 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1632 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1633 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1634 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1635 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1636 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1637 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1638 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1639 <elf/stackguard-macros.h>.
1640
cc03b296
JM
1641 [BZ #14109]
1642 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1643 __aligned__ in attribute.
1644 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1645 (gregset_t): Likewise.
1646
93171016
L
16472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1648
1649 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1650 * sysdeps/x86_64/64/Implies-after: Here. New file.
1651 * sysdeps/x86_64/x32/Implies-after: New file.
1652
d86813a0
L
16532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1654
1655 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1656 and access return value for _dl_profile_fixup. Use R10_LP to
1657 load frame size.
1658
2953ec75
L
16592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1660
1661 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1662
3b550e9e
L
16632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1664
1665 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1666 * sysdeps/x86_64/x32/sysdep.h: New file.
1667
eda41706
L
16682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1669
1670 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1671 * sysdeps/x86_64/setjmp.S: Likewise.
1672
9ea01d93
AZ
16732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1674
1675 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1676 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1677 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1678 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1679 remove unused global constant.
1680
02a91938
CM
16812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1682
1683 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1684 include of <not-cancel.h>.
1685
6540185f
RM
16862012-05-15 Roland McGrath <roland@hack.frob.com>
1687
1688 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1689
509072a0
AJ
16902012-05-15 Jeff Law <law@redhat.com>
1691 Andreas Jaeger <aj@suse.de>
1692
1693 [BZ #13594]
1694 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1695 out from...
1696 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1697 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1698 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1699 code changing __hst_map_handle.map.
1700
ba75122d
RM
17012012-05-15 Roland McGrath <roland@hack.frob.com>
1702
1703 * configure.in (sysnames): Look for Implies-before and Implies-after
1704 files.
1705 * configure: Regenerated.
1706
890d8bd8
L
17072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1708
1709 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1710 8-byte data alignment with LP_SIZE alignment.
1711
f6ee6623
L
17122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1713
1714 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1715 into R10_LP.
1716
ea2626f6
L
17172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1718
1719 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1720
085f715e
L
17212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1722
1723 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1724 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1725 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1726 Likewise.
1727 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1728
be8498fc
L
17292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1730
1731 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1732 (stackinfo_sub_sp): Likewise.
1733
70bc83b9
L
17342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1735
1736 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1737 RAX_LP.
1738
9bc0b730
L
17392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1740
1741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1742 into R*_LP.
1743
6d2850e7
L
17442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1745
1746 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1747 sizes into R*_LP.
1748
3cb84561
L
17492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1750
1751 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1752
54e2ed81
L
17532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1754
1755 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1756 into R11_LP and load __x86_64_shared_cache_size_half into
1757 R8_LP.
1758
8a17f349
L
17592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1760
1761 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1762 R8_LP.
1763
777b1eea
AZ
17642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765
1766 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1767 logb for POWER7.
1768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1769 logbf for POWER7.
1770 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1771 logbl for POWER7.
1772 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1773 powerpc32/power7/fpu/s_logb.c via #include.
1774 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1775 powerpc32/power7/fpu/s_logbf.c via #include.
1776 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1777 powerpc32/power7/fpu/s_logbl.c via #include.
1778
d20d4ac2
JM
17792012-05-15 Joseph Myers <joseph@codesourcery.com>
1780
1781 * README.libm: Remove file.
1782
6cdef1ab
L
17832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1784
1785 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1786 count for x32. Use R*_LP and omit operand-size suffix.
1787
0b254d8f
L
17882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1789
1790 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1791 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1792 * sysdeps/x86_64/x32/shlib-versions: New file.
1793
ceb809dc
RM
17942012-05-14 Roland McGrath <roland@hack.frob.com>
1795
1796 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1797 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1798 Use _dl_fatal_printf instead.
1799
37f1abd4
JM
18002012-05-14 Joseph Myers <joseph@codesourcery.com>
1801
1802 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1803 set if not set by the user. Do not allow for being unset.
1804 * sysdeps/unix/sysv/linux/configure: Regenerated.
1805
11de3a33
L
18062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1809 the `q' suffix from lea and replace .quad with ASM_ADDR.
1810
e02f153a
L
18112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1812
1813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1814 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1815 instead of $17.
1816 (PTR_DEMANGLE): Likewise.
1817
520ae0fd
L
18182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1819
1820 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1821 (LP_OP): Likewise.
1822 (ASM_ADDR): Likewise.
1823 (RAX_LP): Likewise.
1824 (RBP_LP): Likewise.
1825 (RBX_LP): Likewise.
1826 (RCX_LP): Likewise.
1827 (RDI_LP): Likewise.
1828 (RSI_LP): Likewise.
1829 (RSP_LP): Likewise.
1830 (R8_LP): Likewise.
1831 (R9_LP): Likewise.
1832 (R10_LP): Likewise.
1833 (R10_LP): Likewise.
1834 (R11_LP): Likewise.
1835 (R12_LP): Likewise.
1836 (R13_LP): Likewise.
1837 (R14_LP): Likewise.
1838 (R15_LP): Likewise.
1839
b985be81
L
18402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 * sysdeps/x86_64/x32/dl-machine.h: New file.
1843
6a4888ff
AJ
18442012-05-14 Andreas Jaeger <aj@suse.de>
1845
1846 * manual/Makefile (subdir): Remove export of subdir.
1847 (all): Remove target.
1848 (.PHONY): Remove all from list.
1849 (mkinstalldirs): Remove.
1850 (.PHONY): Remove installdirs from list.
1851 ($(inst_infodir)/libc.info): Use make-target-directory.
1852 (installdirs): Remove.
1853 (subdir_%): Remove.
1854 (glibc-targets): Remove.
1855 (lib): Remove.
1856 (stubs): Remove.
1857 ($(objpfx)stubs ../po/manual.pot): Remove.
1858 ($(objpfx)stamp%): Remove.
1859 (make-target-directory): Remove.
1860 (subdir_install): Remove.
1861 (routines): Remove.
1862 (aux): Remove.
1863 (sources): Remove.
1864 (objects): Remove.
1865 (headers): Remove.
1866
1867 [BZ #13750]
1868 * manual/.gitignore: Remove, it's not needed anymore.
1869 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1870 all files in it.
1871 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1872 directory.
1873 (texis): Renamed to $(objpfx)texis.
1874 (texis-path): New, contains path to generated files.
1875 (chapters.%): Use texis-path for complete path, add extra argument
1876 libc-texinfo.sh.
1877 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1878 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1879 (summary,texi, stamp-summary): Use complete path of
1880 files. Generate files in build dir.
1881 (dir-add.texi): Build in build dir.
1882 (libm-err.texi,stamp-libm-err): Likewise.
1883 (version.texi, stamp-version): Likewise.
1884 (.%c.texi): Likewise.
1885 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1886 (mostlyclean): Remove target.
1887 (realclean): Remove target.
1888 (generated): Add new variable with contents from mostlyclean and
1889 realclean, remove entries duplicated in common-mostlyclean, add
1890 stamp-libm-err and stamp-version.
1891 (generated-dirs): Add libc directory.
1892 ($(inst_infodir)/libc.info): Install files from build dir.
1893
1894 * manual/install.texi (Configuring and compiling): Adjust since
1895 the info files are not part of the tar ball anymore.
1896
7ac77294
AJ
18972012-05-14 Andreas Jaeger <aj@suse.de>
1898
1899 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1900 variable.
1901
ffb7875d
JM
19022012-05-14 Joseph Myers <joseph@codesourcery.com>
1903
1904 [BZ #13717]
1905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1906 to 2.2.0 where earlier.
1907 * sysdeps/unix/sysv/linux/configure: Regenerated.
1908 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1909 Remove conditional code.
1910 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1911 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1912 Remove conditional code.
1913 [!__NR_lchown]: Likewise.
1914 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1915 [__NR_lchown]: Likewise.
1916 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1917 comment referencing __ASSUME_LCHOWN_SYSCALL.
1918 * sysdeps/unix/sysv/linux/i386/sigaction.c
1919 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1920 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1921 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1922 Remove conditional code.
1923 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1924 (__protocol_available): Remove #if 0 code.
1925 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1926 conditional code.
1927 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1928 * sysdeps/unix/sysv/linux/kernel-features.h
1929 (__ASSUME_GETCWD_SYSCALL): Don't define.
1930 (__ASSUME_REALTIME_SIGNALS): Likewise.
1931 (__ASSUME_PREAD_SYSCALL): Likewise.
1932 (__ASSUME_PWRITE_SYSCALL): Likewise.
1933 (__ASSUME_POLL_SYSCALL): Likewise.
1934 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1935 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1936 non-SPARC.
1937 (__ASSUME_SIOCGIFNAME): Don't define.
1938 (__ASSUME_MSG_NOSIGNAL): Likewise.
1939 (__ASSUME_SENDFILE): Define unconditionally.
1940 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1941 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1942 conditional code.
1943 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1944 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1945 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1946 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1947 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1948 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1949 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1951 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1952 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1954 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1957 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1958 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1960 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1963 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1964 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1966 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1969 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1970 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1972 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1974 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1975 Remove conditional code.
1976 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1977 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1978 Remove conditional code.
1979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1980 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1981 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1982 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1983 Remove conditional code.
1984 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1985 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1986 Remove conditional code.
1987 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1988 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1989 Remove conditional code.
1990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1991 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1992 Remove conditional code.
1993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1994 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1995 Remove conditional code.
1996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1997 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1998 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2000 * sysdeps/unix/sysv/linux/sigaction.c
2001 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2002 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2003 * sysdeps/unix/sysv/linux/sigpending.c
2004 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2005 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2006 * sysdeps/unix/sysv/linux/sigprocmask.c
2007 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2008 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2009 * sysdeps/unix/sysv/linux/sigsuspend.c
2010 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2011 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2012 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2013 (__libc_missing_rt_sigs): Remove.
2014 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2015 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2016 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2017 Remove conditional code.
2018 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2019 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2020 return 1.
2021 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2022 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2023 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2024 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2025
1bfb7291
AJ
20262012-05-14 Andreas Jaeger <aj@suse.de>
2027
caae5a81
AJ
2028 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2029 it's not used in glibc.
2030 (__coshm1): Likewise.
2031 (__acosh1p): Likewise.
2032 (__sgn): Likewise.
2033
1bfb7291
AJ
2034 * manual/string.texi (Copying and Concatenation): Add missing
2035 variable in concat example.
2036 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2037
c044d724
L
20382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2039
144c5467 2040 [BZ #14103]
c044d724
L
2041 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2042 __builtin_clzl with __builtin_clzll.
2043
2523c62b
L
20442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 [BZ #14104]
2047 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2048 libc_freeres_ptr.
2049
d7bb4c42
LD
20502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2051
2052 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2053 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2054 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2055 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2056
9dc4e1fb
MF
20572012-05-14 Mike Frysinger <vapier@gentoo.org>
2058
2059 * NEWS: Update ia64 info.
2060
c7df0112
AS
20612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2062
2063 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2064 used as bcopy.
2065
dc70356c
TS
20662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2067
2068 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2069 * sysdeps/unix/syscalls.list (dup3): Likewise.
2070 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2071 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2072
9fb1a21f
L
20732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2074
2075 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2076 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2077
4822a2a5
L
20782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2079
2080 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2081 thread pointer.
2082 (TLS_IE): Use mov/add instead of movq/addq to load thread
2083 pointer.
2084 (TLS_GD_PREFIX): New.
2085 (TLS_GD): Use it.
2086
842b81d6
DM
20872012-05-11 David S. Miller <davem@davemloft.net>
2088
2089 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2090 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2091 (_FPU_SETCW): Likewise.
2092
1cf463cd
L
20932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2094
2095 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2096 is 32-byte aligned.
2097
60cc4a18
AS
20982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2099
2100 [BZ #11837]
2101 * iconvdata/gb18030.c: Update tables.
2102 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2103 characters specially.
2104 (BODY for TO_LOOP): Add encoding of missing ranges.
2105
febb44a4
TS
21062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2107
2108 [BZ #13673]
2109 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2110 * sysdeps/mach/hurd/dup3.c: Likewise.
2111 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2112 * sysdeps/powerpc/memmove.c:: Likewise.
2113
0a10fb9e
L
21142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2115
2116 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2117 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2118
df8a552f
L
21192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 * elf/elf.h (R_X86_64_RELATIVE64): New.
2122 (R_X86_64_NUM): Updated.
2123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2124 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2125 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2126 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2127 tst-quad1pie tst-quad2pie
2128 (modules-names): Add tst-quadmod1 tst-quadmod2.
2129 ($(objpfx)tst-quad1): New dependency.
2130 ($(objpfx)tst-quad2): Likewise.
2131 ($(objpfx)tst-quad1pie): Likewise.
2132 ($(objpfx)tst-quad2pie): Likewise.
2133 * sysdeps/x86_64/tst-quad1.c: New file.
2134 * sysdeps/x86_64/tst-quad1pie.c: New file.
2135 * sysdeps/x86_64/tst-quad2.c: Likewise.
2136 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2137 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2138 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2139 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2140 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2141
f34d6f84
ST
21422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2143
f42d41d1
ST
2144 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2145 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2146 * streams/stropts.h (t_scalar_t): Define type.
2147
3c3571fc
ST
2148 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2149 (_PATH_PRESERVE): Set to "/var/lib".
2150 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2151
61f06bd3
ST
2152 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2153 instead of int.
2154
918d4d71
ST
2155 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2156 if __dir_mkfile succeeded.
2157
f34d6f84
ST
2158 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2159 checking for _hurd_dtablesize. Unlock it right after having
2160 finished _hurd_dtable allocation.
2161
10589b4a
TS
21622012-05-10 Thomas Schwinge <thomas@schwinge.name>
2163
674cdbc7
TS
2164 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2165 * sysdeps/mach/hurd/configure: Regenerated.
2166 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2167 special-casing to...
2168 * sysdeps/gnu/configure.in: ... this new file.
2169 * sysdeps/unix/sysv/linux/configure: Regenerated.
2170 * sysdeps/gnu/configure: New generated file.
2171
8e41b99f
TS
2172 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2173 for Linux: use nsec instead of usec, as well as:
2174 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2175 members of type struct timespec.
2176 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2177 New macros.
2178 (struct stat64): Likewise.
2179 (_STATBUF_ST_NSEC): New macro.
2180 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2181
10589b4a
TS
2182 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2183 __strtoul_internal rather than strtoul.
2184
63643c85
PT
21852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2186
2187 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2188 and reject them.
2189
3faebe6a
ST
21902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2191
2192 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2193 which preserves existing values.
2194 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2195
c6474b07
PT
21962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2197
2198 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2199 TIMEOUT values. Return EINVAL for NFDS values either negative or
2200 greater than FD_SETSIZE.
2201
1043890b
ST
22022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2203
2204 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2205 allocated, call __vm_protect to finish enabling the existing space, and
2206 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2207 allocate the remainder.
2208
37ed8b9b
PT
22092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2210
2211 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2212 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2213
db653660
ST
22142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2215
37ed8b9b
PT
2216 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2217 sysdeps/mach/hurd/readlink.c.
b29d4053 2218
db653660
ST
2219 * posix/tst-sysconf.c (posix_options): Only use
2220 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2221 _POSIX_SYNCHRONIZED_IO when they are defined
2222 * sysdeps/mach/hurd/bits/posix_opt.h:
2223 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2224 (_XOPEN_REALTIME): Undefine macro.
2225 (_XOPEN_REALTIME_THREADS): Undefine macro.
2226 (_XOPEN_SHM): Undefine macro.
2227 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2228 macro to -1.
2229 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2230 macro to -1.
2231 (_POSIX_ASYNC_IO): Undefine macro.
2232 (_POSIX_PRIORITIZED_IO): Undefine macro.
2233 (_POSIX_SPIN_LOCKS): Define macro to -1.
2234
ee16e894
ST
2235 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2236 SA_NODEFER, SA_RESETHAND.
2237 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2238 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2239 F_DUPFD_CLOEXEC.
2240
6103ae3b
TS
22412012-05-10 Thomas Schwinge <thomas@schwinge.name>
2242
2243 * elf/Makefile (pldd-modules): Define unconditionally.
2244
80b4e5f3
TS
22452012-05-10 Thomas Schwinge <thomas@schwinge.name>
2246
2247 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2248
edadcbd6
ST
22492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2250
2251 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2252 Return ENOENT when name is empty.
2253 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2254
80694780
TS
22552012-05-10 Thomas Schwinge <thomas@schwinge.name>
2256
1792c087
TS
2257 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2258
80694780
TS
2259 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2260
6b645f0d
ST
22612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2262
80694780
TS
2263 Fix mlock in all cases except non-readable pages.
2264 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2265 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2266
6b645f0d
ST
2267 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2268 (__mkdir): When path is `/', just fail with EEXIST.
2269 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2270
e468f8a3
TS
22712012-05-10 Thomas Schwinge <thomas@schwinge.name>
2272
2273 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2274 <sys/uio.h> (for writev).
2275 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2276 and <sys/param.h> (for MIN).
2277
a4186cff
PT
22782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2279
2280 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2281 REQUESTED_TIME. Properly set the remaining time and return EINTR
2282 if interrupted.
2283
510bbf14
TS
22842012-05-10 Thomas Schwinge <thomas@schwinge.name>
2285
2286 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2287 Depend on against $(link-rpcuserlibs).
2288
5d5722e8
ST
22892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2290
a4186cff
PT
2291 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2292 (__libc_stack_end): Do not use attribute_relro.
2293 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2294 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2295 to libthread-provided value.
a4186cff
PT
2296 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2297 attribute_relro.
5d5722e8 2298
37233df9
TS
22992012-05-10 Thomas Schwinge <thomas@schwinge.name>
2300
be971a2b
TS
2301 [BZ #3748]
2302 * bits/libc-lock.h (__libc_once_get): New macro.
2303 * sysdeps/mach/bits/libc-lock.h: Likewise.
2304 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2305 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2306 instead of using implementation details.
2307
37233df9
TS
2308 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2309 * libio/freopen.c: Likewise.
2310 * libio/freopen64.c: Likewise.
2311 * misc/syslog.c: Likewise.
2312 * nscd/connections.c: Likewise.
2313 * nscd/netgroupcache.c: Likewise.
2314 * sysdeps/posix/getcwd.c: Likewise.
2315
38de94a5
RM
23162012-05-10 Roland McGrath <roland@hack.frob.com>
2317
2318 * math/w_ilogbf.c: Add #include <limits.h>.
2319
67530489
ST
23202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2321
a4186cff 2322 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2323 path instead of returning without unlocking.
2324
67530489
ST
2325 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2326 immediate-write ioctls.
2327 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2328
5aa3a74a
TS
23292012-05-10 Thomas Schwinge <thomas@schwinge.name>
2330
18bad2ae
TS
2331 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2332 __builtin_frame_address instead of making assumptions about the
2333 location of the return address relative to DATA. Force early load of
2334 the return address.
2335 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2336 __builtin_frame_address.
2337
5aa3a74a
TS
2338 dup3 for GNU Hurd.
2339 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2340 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2341 implement dup3 and do some further code clean-ups.
2342 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2343 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2344
ecd0de9a
ST
23452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2346
cd9fa985
ST
2347 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2348
a4186cff
PT
2349 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2350 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2351 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2352 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2353 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2354 d->port.lock.
802ca5a5 2355
a4186cff
PT
2356 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2357 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2358 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2359
bcf55240
TS
23602012-05-10 Thomas Schwinge <thomas@schwinge.name>
2361
6960eb42
TS
2362 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2363 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2364 definitions.
2365
eb43375f
TS
2366 accept4 for GNU Hurd.
2367 * include/sys/socket.h (__libc_accept4): New prototype.
2368 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2369 to implement __libc_accept4.
2370 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2371 __libc_accept4.
2372 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2373
bcf55240
TS
2374 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2375 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2376 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2377 signal-defines.sym.
2378
6178c55b
ST
23792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2380
a4186cff 2381 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2382
6f080c2f
TS
23832012-05-10 Thomas Schwinge <thomas@schwinge.name>
2384
2385 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2386 assertion on O_CLOEXEC flag.
2387 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2388 * hurd/intern-fd.c: Likewise.
2389 * hurd/port2fd.c: Likewise.
2390
bcfe3a54
ST
23912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2392
2393 [BZ #3906]
2394 * bits/in.h (IPV6_PKTINFO): Define new macro.
2395 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2396
89c9aa49
AZ
23972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2398
2399 [BZ #13954]
2400 [BZ #13955]
2401 [BZ #13956]
2402 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2403 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2404 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2405 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2407 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2408 * math/libm-test.inc (logb_test) : Additional logb tests.
2409
021db4be
AJ
24102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2411 Andreas Jaeger <aj@suse.de>
2412
2413 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2414 * configure: Regenerated.
2415 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2416 * config.make.in (link-obsolete-rpc): New substituted variable.
2417 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2418 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2419 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2420 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2421 so that libc.a contains the symbols.
2422 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2423 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2424 * sunrpc/auth_none.c: Likewise.
2425 * sunrpc/auth_unix.c: Likewise.
2426 * sunrpc/authdes_prot.c: Likewise.
2427 * sunrpc/authuxprot.c: Likewise.
2428 * sunrpc/clnt_gen.c: Likewise.
2429 * sunrpc/clnt_perr.c: Likewise.
2430 * sunrpc/clnt_raw.c: Likewise.
2431 * sunrpc/clnt_simp.c: Likewise.
2432 * sunrpc/clnt_tcp.c: Likewise.
2433 * sunrpc/clnt_udp.c: Likewise.
2434 * sunrpc/clnt_unix.c: Likewise.
2435 * sunrpc/des_crypt.c: Likewise.
2436 * sunrpc/des_soft.c: Likewise.
2437 * sunrpc/get_myaddr.c: Likewise.
2438 * sunrpc/key_call.c: Likewise.
2439 * sunrpc/key_prot.c: Likewise.
2440 * sunrpc/netname.c: Likewise.
2441 * sunrpc/pm_getmaps.c: Likewise.
2442 * sunrpc/pm_getport.c: Likewise.
2443 * sunrpc/pmap_clnt.c: Likewise.
2444 * sunrpc/pmap_prot.c: Likewise.
2445 * sunrpc/pmap_prot2.c: Likewise.
2446 * sunrpc/pmap_rmt.c: Likewise.
2447 * sunrpc/publickey.c: Likewise.
2448 * sunrpc/rpc_cmsg.c: Likewise.
2449 * sunrpc/rpc_common.c: Likewise.
2450 * sunrpc/rpc_dtable.c: Likewise.
2451 * sunrpc/rpc_prot.c: Likewise.
2452 * sunrpc/rpc_thread.c: Likewise.
2453 * sunrpc/rtime.c: Likewise.
2454 * sunrpc/svc.c: Likewise.
2455 * sunrpc/svc_auth.c: Likewise.
2456 * sunrpc/svc_raw.c: Likewise.
2457 * sunrpc/svc_run.c: Likewise.
2458 * sunrpc/svc_tcp.c: Likewise.
2459 * sunrpc/svc_udp.c: Likewise.
2460 * sunrpc/svc_unix.c: Likewise.
2461 * sunrpc/svcauth_des.c: Likewise.
2462 * sunrpc/xcrypt.c: Likewise.
2463 * sunrpc/xdr.c: Likewise.
2464 * sunrpc/xdr_array.c: Likewise.
2465 * sunrpc/xdr_float.c: Likewise.
2466 * sunrpc/xdr_intXX_t.c: Likewise.
2467 * sunrpc/xdr_mem.c: Likewise.
2468 * sunrpc/xdr_rec.c: Likewise.
2469 * sunrpc/xdr_ref.c: Likewise.
2470 * sunrpc/xdr_sizeof.c: Likewise.
2471 * sunrpc/xdr_stdio.c: Likewise.
2472
b5c086a2
RM
24732012-05-10 Roland McGrath <roland@hack.frob.com>
2474
2475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2476 change. Update copyright years.
2477
6d74dd09
JM
24782012-05-10 Joseph Myers <joseph@codesourcery.com>
2479
2480 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2481
28e72501
MK
24822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2483 Joseph Myers <joseph@codesourcery.com>
2484 Paul Pluzhnikov <ppluzhnikov@google.com>
2485
2486 [BZ #14012]
2487 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2488 requiring rpcgen.
2489 [cross-compiling] (extra-libs): Likewise.
2490 [cross-compiling] (extra-libs-others): Likewise.
2491 [cross-compiling] (librpcsvc-routines): Likewise.
2492 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2493 [cross-compiling] (omit-deps): Likewise.
2494 (sunrpc-CPPFLAGS): New variable.
2495 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2496 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2497 (cross-rpcgen-objs): New variable.
2498 (extra-objs): Append $(cross-rpcgen-objs).
2499 ($(cross-rpcgen-objs)): New rule.
2500 ($(objpfx)cross-rpcgen): Likewise.
2501 (rpcgen-cmd): Define to use $(built-program-file). Expand
2502 comment.
2503 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2504 ($(objpfx)x%.stmp): Likewise.
2505 * sunrpc/proto.h [IS_IN_build] (_): Define.
2506 [IS_IN_build] (_libc_intl_domainname): Likewise.
2507
c8c59454
L
25082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2509
2510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2511 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2512 and R_X86_64_TPOFF64.
2513
6f27cd16
JM
25142012-05-10 Joseph Myers <joseph@codesourcery.com>
2515
2516 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2517 sysdeps/unix/sysv/syscalls.list.
2518 (stime): Likewise.
2519 (utime): Likewise.
2520 * sysdeps/unix/sysv/syscalls.list: Remove file.
2521
02467e1c
PE
25222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2523
2524 [BZ #3440]
2525 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2526 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2527 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2528 (__LC_IDENTIFICATION): Make these macros useful in #if
2529 expressions, as required by C99.
2530
da392631
AS
25312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2532
2533 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2534 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2535 after this.
2536
8115f29b
L
25372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2538
2539 * stdlib/longlong.h: Updated from GCC.
2540
bdd74070
AJ
25412012-05-09 Andreas Jaeger <aj@suse.de>
2542
edfe0dbe
AJ
2543 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2544 default is first entry.
2545 (run_mode): Set type.
2546 (main): Remove informal message about syslog.
2547 (options): Fix typo.
2548
bcfe3a54
ST
2549 [BZ #14053]
2550 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2551 to asm.
bcfe3a54
ST
2552 (lrint): Likewise.
2553 (llrintf): Likewise.
2554 (llrint): Likewise.
2555 (rint): Likewise.
2556 (rintf): Likewise.
2557 (nearbyint): Likewise.
2558 (nearbyintf): Likewise.
bdd74070 2559
91d8d69e
AJ
25602012-05-09 Andreas Jaeger <aj@suse.de>
2561 Pedro Alves <palves@redhat.com>
2562
2563 * nscd/nscd.c (run_mode): Use enum.
2564 (main): Cleanup coding style issue.
2565
bb90b80b
AJ
25662012-05-09 Alexandre Oliva <aoliva@redhat.com>
2567 Andreas Jaeger <aj@suse.de>
2568
bcfe3a54
ST
2569 * nscd/nscd.c (go_background): Replaced with...
2570 (run_mode): ... this.
bb90b80b 2571 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2572 (options): Add -F --foreground.
2573 (main): Implement it.
2574 (parse_opt): Parse it.
bb90b80b 2575
1a4b75a1
AJ
25762012-05-09 Andreas Jaeger <aj@suse.de>
2577
2578 [BZ #14083]
2579 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2580 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2581 -Wconversion warning.
2582 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2583 Likewise.
2584
b1cc2472
JM
25852012-05-09 Joseph Myers <joseph@codesourcery.com>
2586
2587 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2588 == 0.
2589 (LC_ALL): Use macro-int-constant.
2590 (LC_COLLATE): Likewise.
2591 (LC_CTYPE): Likewise.
2592 (LC_MESSAGES): Likewise.
2593 (LC_MONETARY): Likewise.
2594 (LC_NUMERIC): Likewise.
2595 (LC_TIME): Likewise.
2596 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2597 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2599 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2600 Specify type.
2601 [C99-based standards] (float_t): Expect type.
2602 [C99-based standards] (double_t): Expect type.
2603 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2604 type.
2605 [C99-based standards] (HUGE_VALL): Likewise.
2606 [C99-based standards] (INFINITY): Likewise.
2607 [C99-based standards] (NAN): Likewise.
2608 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2609 [C99-based standards] (FP_NAN): Likewise.
2610 [C99-based standards] (FP_NORMAL): Likewise.
2611 [C99-based standards] (FP_SUBNORMAL): Likewise.
2612 [C99-based standards] (FP_ZERO): Likewise.
2613 [C99-based standards] (FP_FAST_FMA): Use
2614 optional-macro-int-constant. Specify type. Require == 1.
2615 [C99-based standards] (FP_FAST_FMAF): Likewise.
2616 [C99-based standards] (FP_FAST_FMAL): Likewise.
2617 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2618 [C99-based standards] (FP_ILOGBNAN): Likewise.
2619 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2620 Specify type.
2621 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2622 [C99-based standards] (math_errhandling): Specify type.
2623 [ISO99 || ISO11] (signgam): Do not allow.
2624 [non-C99-based standards] (copysignf): Do not allow.
2625 [non-C99-based standards] (exp2f): Likewise.
2626 [non-C99-based standards] (log2f): Likewise.
2627 [non-C99-based standards] (modff): Allow.
2628 [non-C99-based standards] (erff): Do not allow.
2629 [non-C99-based standards] (erfcf): Likewise.
2630 [non-C99-based standards] (gammaf): Likewise.
2631 [non-C99-based standards] (hypotf): Likewise.
2632 [non-C99-based standards] (j0f): Likewise.
2633 [non-C99-based standards] (j1f): Likewise.
2634 [non-C99-based standards] (jnf): Likewise.
2635 [non-C99-based standards] (lgammaf): Likewise.
2636 [non-C99-based standards] (tgammaf): Likewise.
2637 [non-C99-based standards] (y0f): Likewise.
2638 [non-C99-based standards] (y1f): Likewise.
2639 [non-C99-based standards] (ynf): Likewise.
2640 [non-C99-based standards] (isnanf): Likewise.
2641 [non-C99-based standards] (acoshf): Likewise.
2642 [non-C99-based standards] (asinhf): Likewise.
2643 [non-C99-based standards] (atanhf): Likewise.
2644 [non-C99-based standards] (cbrtf): Likewise.
2645 [non-C99-based standards] (expm1f): Likewise.
2646 [non-C99-based standards] (ilogbf): Likewise.
2647 [non-C99-based standards] (log1pf): Likewise.
2648 [non-C99-based standards] (logbf): Likewise.
2649 [non-C99-based standards] (nextafterf): Likewise.
2650 [non-C99-based standards] (remainderf): Likewise.
2651 [non-C99-based standards] (rintf): Likewise.
2652 [non-C99-based standards] (scalbf): Likewise.
2653 [non-C99-based standards] (copysignl): Likewise.
2654 [non-C99-based standards] (exp2l): Likewise.
2655 [non-C99-based standards] (log2l): Likewise.
2656 [non-C99-based standards] (modfl): Allow.
2657 [non-C99-based standards] (erfl): Do not allow.
2658 [non-C99-based standards] (erfcl): Likewise.
2659 [non-C99-based standards] (gammal): Likewise.
2660 [non-C99-based standards] (hypotl): Likewise.
2661 [non-C99-based standards] (j0l): Likewise.
2662 [non-C99-based standards] (j1l): Likewise.
2663 [non-C99-based standards] (jnl): Likewise.
2664 [non-C99-based standards] (lgammal): Likewise.
2665 [non-C99-based standards] (tgammal): Likewise.
2666 [non-C99-based standards] (y0l): Likewise.
2667 [non-C99-based standards] (y1l): Likewise.
2668 [non-C99-based standards] (ynl): Likewise.
2669 [non-C99-based standards] (isnanl): Likewise.
2670 [non-C99-based standards] (acoshl): Likewise.
2671 [non-C99-based standards] (asinhl): Likewise.
2672 [non-C99-based standards] (atanhl): Likewise.
2673 [non-C99-based standards] (cbrtl): Likewise.
2674 [non-C99-based standards] (expm1l): Likewise.
2675 [non-C99-based standards] (ilogbl): Likewise.
2676 [non-C99-based standards] (log1pl): Likewise.
2677 [non-C99-based standards] (logbl): Likewise.
2678 [non-C99-based standards] (nextafterl): Likewise.
2679 [non-C99-based standards] (remainderl): Likewise.
2680 [non-C99-based standards] (rintl): Likewise.
2681 [non-C99-based standards] (scalbl): Likewise.
2682 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2683 [non-C99-based standards] (FP_*): Do not allow.
2684 [C99-based standards] (FP_*): Change to
2685 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2686 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2687 allow.
2688 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2689 (SIG_ERR): Likewise.
2690 [X/Open-based standards] (SIG_HOLD): Likewise.
2691 (SIG_IGN): Likewise.
2692 (SIGABRT): Use macro-int-constant. Specify type. Require
2693 positive value.
2694 (SIGFPE): Likewise.
2695 (SIGILL): Likewise.
2696 (SIGINT): Likewise.
2697 (SIGSEGV): Likewise.
2698 (SIGTER): Likewise.
2699 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2700 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2701 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2702 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2703 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2704 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2705 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2706 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2707 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2708 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2709 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2710 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2711 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2712 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2713 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2714 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2715 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2716 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2717 [X/Open-based standards] (SIGTRAP): Likewise.
2718 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2719 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2720 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2721 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2722 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2723 allow.
2724
b9f1922d
IW
27252012-05-08 Ian Wienand <ianw@vmware.com>
2726
2727 [BZ #14080]
2728 * time/tzset.c (__tzset_parse_tz): Update default rules for
2729 daylight time changes in the Energy Policy Act of 2005.
2730
1db86e88
AJ
27312012-05-09 Andreas Jaeger <aj@suse.de>
2732
2733 [BZ #13983]
2734 * elf/ldconfig.c (parse_conf): Change string to make clear that
2735 ldconfig only issued a warning if ld.so.conf does not exist.
2736
dee4a4e3
DM
27372012-05-08 David S. Miller <davem@davemloft.net>
2738
ee0db190
DM
2739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2740 movxtod instead of popping the value on the stack.
2741
dee4a4e3
DM
2742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2743
6a43ec98
CD
27442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2745
2746 * config.h.in: Add HAVE_ARM_PCS_VFP.
2747
05c2c961
RMG
27482012-05-08 Roland Mc Grath <roland@hack.frob.com>
2749
bcfe3a54
ST
2750 [BZ #13979]
2751 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2752 checking but the checks are disabled for any reason.
05c2c961 2753
4b30f61a
L
27542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2755
2756 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2757 and ELF64_R_TYPE with ELFW(R_TYPE).
2758
eee2bc67
JM
27592012-05-08 Joseph Myers <joseph@codesourcery.com>
2760
7ea5391a
JM
2761 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2762 (ulimit): Likewise.
2763
eee2bc67
JM
2764 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2765 (settimeofday): Likewise.
2766
abb66a67
MF
27672012-05-08 Mike Frysinger <vapier@gentoo.org>
2768
2769 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2770 a struct th_u2 inside the union, and move tu_block/tu_code into
2771 a new th_u3 union of tu_block/tu_code inside of that. Move
2772 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2773 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2774 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2775 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2776 (th_stuff): Change to th_u1.tu_stuff.
2777 (th_data): Define.
2778 (th_msg): Change to th_u1.th_u2.tu_data.
2779
7f18b530
DM
27802012-05-07 David S. Miller <davem@davemloft.net>
2781
05760585
DM
2782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2783
7f18b530
DM
2784 [BZ #14074]
2785 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2786 (SETUP_PIC_REG): Use it.
2787 (SETUP_PIC_REG_LEAF): Use it.
2788
495fd99f
JM
27892012-05-07 Joseph Myers <joseph@codesourcery.com>
2790
2791 [BZ #13885]
2792 [BZ #13923]
2793 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2794 USE_AS_EXPM1L.
2795 (EXPL_FINITE): Likewise.
2796 (FLDLOG): Likewise.
2797 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2798 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2799 e_expl.S.
2800 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2801 USE_AS_EXPM1L.
2802 (EXPL_FINITE): Likewise.
2803 (FLDLOG): Likewise.
2804 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2805 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2806 e_expl.S.
2807 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2808 test of -max_value argument for long double.
2809 * sysdeps/i386/fpu/libm-test-ulps: Update.
2810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2811
6693d694
DM
28122012-05-06 David S. Miller <davem@davemloft.net>
2813
2814 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2815 quad soft-float symbols whose references which are compiler
2816 generated.
2817 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2818
6c23e11c
JM
28192012-05-06 Joseph Myers <joseph@codesourcery.com>
2820
d8b82cad
JM
2821 [BZ #13884]
2822 [BZ #13914]
2823 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2824 USE_AS_EXP10L.
2825 (EXPL_FINITE): Likewise.
2826 (FLDLOG): Likewise.
2827 (c0): Likewise.
2828 (c1): Likewise.
2829 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2830 Adjust comments for base varying.
2831 (__expl_finite): Change alias to EXPL_FINITE.
2832 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2833 e_expl.S.
2834 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2835 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2837 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2838 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2839 USE_AS_EXP10L.
2840 (EXPL_FINITE): Likewise.
2841 (FLDLOG): Likewise.
2842 (c0): Likewise.
2843 (c1): Likewise.
2844 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2845 Adjust comments for base varying.
2846 (__expl_finite): Change alias to EXPL_FINITE.
2847 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2848 tests for bugs.
2849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2850
6c23e11c
JM
2851 [BZ #14064]
2852 * math/libm-test.inc (check_float_internal): Correct ulp
2853 calculation for subnormal expected results.
2854
29ba805c
AJ
28552012-05-06 Andreas Jaeger <aj@suse.de>
2856
2857 * Makeconfig (+math-flags): New, set to -frounding-math.
2858 (+cflags): Add +math-flags so that all of glibc gets compiled with
2859 it.
2860
2861 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2862
7b17aeda
JM
28632012-05-05 Joseph Myers <joseph@codesourcery.com>
2864
5779f134
JM
2865 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2866 Disable one test.
2867
41498f4d
JM
2868 [BZ #13787]
2869 [BZ #13922]
2870 [BZ #14036]
2871 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2872 (__ieee754_expl): Allow for and saturate large arguments.
2873 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2874 (u_threshold): Likewise.
2875 (__exp): Call __ieee754_exp before checking for overflow and
2876 underflow.
2877 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2878 (u_threshold): Likewise.
2879 (__expf): Call __ieee754_expf before checking for overflow and
2880 underflow.
2881 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2882 (u_threshold): Likewise.
2883 (__expl): Call __ieee754_expl before checking for overflow and
2884 underflow.
2885 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2886 (__ieee754_expl): Allow for and saturate large arguments.
2887 * math/libm-test.inc (exp_test): Add another test. Do not allow
2888 missing overflow exception on overflow.
2889 (expm1_test): Do not allow missing overflow exception on overflow.
2890
6698b8bf
JM
2891 * sysdeps/i386/fpu/e_expl.c: Move to ...
2892 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2893 rather than using inline asm.
2894 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2895 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2896 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2897
7b17aeda
JM
2898 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2899 (nice): Likewise.
2900 (poll): Likewise.
2901 (signal): Likewise.
2902 (time): Likewise.
2903 (times): Likewise.
2904
f7c85819
JM
29052012-05-04 Joseph Myers <joseph@codesourcery.com>
2906
2907 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2908 sysdeps/unix/common/syscalls.list.
2909 (fchmod): Likewise.
2910 (fchown): Likewise.
2911 (ftruncate): Likewise.
2912 (getrusage): Likewise.
2913 (gettimeofday): Likewise.
2914 (setpgid): Likewise.
2915 (setregid): Likewise.
2916 (setreuid): Likewise.
2917 (sigaction): Likewise.
2918 (truncate): Likewise.
2919 (vhangup): Likewise.
2920 * sysdeps/unix/common/syscalls.list: Remove file.
2921 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2922 * sysdeps/unix/sysv/linux/Implies: Likewise.
2923
336270d0
L
29242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2925
2926 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2928 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2929 Moved to ...
2930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2931 Here.
2932 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2933 to ...
2934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2935 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2936 to ...
2937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2938 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2939 to ...
2940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2941 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2942 to ...
2943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2944 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2945 to ...
2946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2947 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2948 to ...
2949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2950 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2951 to ...
2952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2953 Here.
2954 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2955 to ...
2956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2957 Here.
2958 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2959 to ...
2960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2961 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2962 Moved to ...
2963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2964 Here.
2965 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2966 to ...
2967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2968
d128e450
JM
29692012-05-04 Joseph Myers <joseph@codesourcery.com>
2970
fa8ee516
JM
2971 * sysdeps/unix/common/bits/dirent.h: Remove file.
2972 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2973
d128e450
JM
2974 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2975 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2976 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2977 * sysdeps/unix/bsd/isatty.c: Likewise.
2978 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2979 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2980 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2981
ff8faaf0 29822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2983
62881be4 2984 [BZ #13563]
31dc8730
AZ
2985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2986 long double comparison inaccuracies.
2987 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2989
6fef930c
AS
29902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2991
2992 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2993 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2994
8f203e6c
JM
29952012-05-04 Joseph Myers <joseph@codesourcery.com>
2996
2997 [BZ #14049]
2998 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2999 nonzero digits before rounding a hex value.
3000 * stdlib/tst-strtod.c (tests): Add another test.
3001
5197d9c2
AK
30022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3003
3004 * sysdeps/s390/fpu/libm-test-ulps: Update.
3005
f0c1dedf
AJ
30062012-05-03 Andreas Jaeger <aj@suse.de>
3007
3008 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3009 does not get optimized out.
3010 (malloc_opt_barrier): New.
3011
a65ef2ae 30122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3013 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3014
2b942cb7 3015 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3016 intermediate file deletion.
2b942cb7 3017 (generated): Add .symlist files.
a65ef2ae 3018
54b71e02
JM
30192012-05-03 Joseph Myers <joseph@codesourcery.com>
3020
3021 [BZ #13775]
3022 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3023 Redirect under this condition.
3024 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3025 [__USE_GNU] (__dprintf_chk): Not under this condition.
3026 [__USE_GNU] (__vdprintf_chk): Likewise.
3027 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3028 under this condition.
3029 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3030 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3031 [__USE_XOPEN2K8] (vdprintf): Likewise.
3032 [__USE_GNU] (__dprintf_chk): Not under this condition.
3033 [__USE_GNU] (__vdprintf_chk): Likewise.
3034 [__USE_GNU] (dprintf): Likewise.
3035 [__USE_GNU] (vdprintf): Likewise.
3036
d3dfcc41
RM
30372012-05-03 Roland McGrath <roland@hack.frob.com>
3038
3039 * elf/Makefile (common-generated): Set this instead of generated for
3040 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3041 $(all-built-dso)-derived lists.
3042
7ac30cc5
AJ
30432012-05-03 Andreas Jaeger <aj@suse.de>
3044
0c51e550
AJ
3045 * sysdeps/i386/fpu/libm-test-ulps: Update.
3046
7ac30cc5
AJ
3047 * FAQ: Removed.
3048 * FAQ.in: Likewise.
3049 * scripts/gen-FAQ.pl: Likewise.
3050 * manual/install.texi (Installation): Point to online location of
3051 FAQ.
3052 * Makefile (files-for-dist): Remove FAQ.
3053 (FAQ): Remove.
3054
d4c2917f
AM
30552012-05-02 Allan McRae <allan@archlinux.org>
3056
3057 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3058 (LDFLAGS-reldepmod5.so): Likewise.
3059 (LDFLAGS-reldep6mod1.so): Likewise.
3060 (LDFLAGS-reldep6mod4.so): Likewise.
3061 (LDFLAGS-reldep8mod3.so): Likewise.
3062 (LDFLAGS-unload4mod1.so): Likewise.
3063 (LDFLAGS-unload4mod2.so): Likewise.
3064 (LDFLAGS-tst-initorder): Likewise.
3065 (LDFLAGS-tst-initordera2.so): Likewise.
3066 (LDFLAGS-tst-initordera3.so): Likewise.
3067 (LDFLAGS-tst-initordera4.so): Likewise.
3068 (LDFLAGS-tst-initorderb2.so): Likewise.
3069 (LDFLAGS-noload): Likewise.
3070 (LDFLAGS-next): Likewise.
3071 (LDFLAGS-order2mod1.so): Likewise.
3072 (LDFLAGS-order2mod2.so): Likewise.
3073 (LDFLAGS-tst-initorder2): Likewise.
3074 (LDFLAGS-tst-initorder2a.so): Likewise.
3075 (LDFLAGS-tst-initorder2b.so): Likewise.
3076 (LDFLAGS-tst-initorder2c.so): Likewise.
3077 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3078
d77f993f
DM
30792012-05-02 David S. Miller <davem@davemloft.net>
3080
3081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3082
171a70b4
PP
30832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3084
3085 [BZ #14055]
3086 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3087
0be196ad
AJ
30882012-05-02 Andreas Jaeger <aj@suse.de>
3089
3090 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3091 since we manipulate rounding mode.
3092 (CPPFLAGS-test-idouble.c): Likewise.
3093 (CPPFLAGS-test-ifloat.c): Likewise.
3094 (CFLAGS-test-ldouble.c): Likewise.
3095 (CFLAGS-test-double.c): Likewise.
3096 (CFLAGS-test-float.c): Likewise.
3097 (CFLAGS-test-misc.c): Likewise.
3098 (CFLAGS-test-test-fenv.c): Likewise.
3099
4f9d04aa
AZ
31002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3101
2b942cb7
RM
3102 [BZ #2550]
3103 [BZ #2570]
3104 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3105 comparisons to determine direction to adjust input.
4f9d04aa 3106
82a79e7d
RM
31072012-05-01 Roland McGrath <roland@hack.frob.com>
3108
f5a01ca9
RM
3109 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3110 output to the target.
3111
90fe4186
RM
3112 * scripts/localplt.awk: New file.
3113 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3114 (check-localplt-CFLAGS): Variable removed.
3115 ($(all-built-dso:=.jmprel)): New static pattern rule.
3116 (generated): Add those targets.
3117 (localplt-built-dso): New variable.
3118 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3119
3120 * elf/check-localplt.c: File removed.
3121
82397ed6
RM
3122 * scripts/check-execstack.awk: New file.
3123 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3124 (check-execstack-CFLAGS): Variable removed.
3125 ($(objpfx)check-execstack.h): Target removed.
3126 ($(objpfx)execstack-default): New target.
3127 (generated): Add that instead of check-execstack.h.
3128 ($(all-built-dso:=.phdr)): New static pattern rule.
3129 (generated): Add those targets.
3130 * elf/check-execstack.c: File removed.
3131
82a79e7d
RM
3132 * scripts/check-textrel.awk: New file.
3133 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3134 (check-textrel-CFLAGS): Variable removed.
3135 (all-built-dso): Use := to define.o
3136 ($(all-built-dso:=.dyn)): New static pattern rule.
3137 (generated): Add those targets.
3138 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3139 * config.make.in (READELF): New substituted variable.
3140 * elf/check-textrel.c: File removed.
3141
62fde54f 31422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3143
615605c9
JM
3144 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3145 allow.
3146 * conform/data/ctype.h-data [C99-based standards] (isblank):
3147 Expect function.
3148 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3149 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3151 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3152 Specify type. Require positive value.
3153 (EILSEQ): Likewise.
3154 (ERANGE): Likewise.
3155 [ISO || POSIX] (EILSEQ): Do not expect.
3156 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3157 Specify type. Require positive value.
3158 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3159 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3160 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3161 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3162 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3163 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3164 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3165 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3166 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3167 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3168 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3169 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3170 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3171 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3172 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3173 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3174 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3175 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3176 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3177 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3178 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3179 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3180 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3181 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3182 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3183 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3184 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3185 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3186 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3187 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3188 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3189 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3190 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3191 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3192 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3193 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3194 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3195 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3196 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3197 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3198 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3199 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3200 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3201 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3202 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3203 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3204 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3205 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3206 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3207 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3208 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3209 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3210 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3211 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3212 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3213 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3214 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3215 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3216 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3217 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3218 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3219 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3220 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3221 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3222 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3223 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3224 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3225 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3226 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3227 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3228 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3229 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3230 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3231 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3232 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3233 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3234 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3235 Require >= 2.
3236 (FLT_ROUNDS): Expect as macro, not constant.
3237 (FLT_MANT_DIG): Use macro-int-constant.
3238 (DBL_MANT_DIG): Likewise.
3239 (LDBL_MANT_DIG): Likewise.
3240 (FLT_DIG): Likewise.
3241 (DBL_DIG): Likewise.
3242 (LDBL_DIG): Likewise.
3243 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3244 (DBL_MIN_EXP): Likewise.
3245 (LDBL_MIN_EXP): Likewise.
3246 (FLT_MAX_EXP): Use macro-int-constant.
3247 (DBL_MAX_EXP): Likewise.
3248 (LDBL_MAX_EXP): Likewise.
3249 (FLT_MAX_10_EXP): Likewise.
3250 (DBL_MAX_10_EXP): Likewise.
3251 (LDBL_MAX_10_EXP): Likewise.
3252 (FLT_MAX): Use macro-constant.
3253 (DBL_MAX): Likewise.
3254 (LDBL_MAX): Likewise.
3255 (FLT_EPSILON): Use macro-constant. Give upper bound.
3256 (DBL_EPSILON): Likewise.
3257 (LDBL_EPSILON): Likewise.
3258 (FLT_MIN): Likewise.
3259 (DBL_MIN): Likewise.
3260 (LDBL_MIN): Likewise.
3261 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3262 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3263 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3264 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3265 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3266 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3267 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3268 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3269 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3270 [ISO11] (FLT_TRUE_MIN): Likewise.
3271 [ISO11] (LDBL_TRUE_MIN): Likewise.
3272 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3273 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3274 (SCHAR_MIN): Use macro-int-constant. Specify type.
3275 (SCHAR_MAX): Likewise.
3276 (UCHAR_MAX): Likewise.
3277 (CHAR_MIN): Likewise.
3278 (CHAR_MAX): Likewise.
3279 (MB_LEN_MAX): Use macro-int-constant.
3280 (SHRT_MIN): Use macro-int-constant. Specify type.
3281 (SHRT_MAX): Likewise.
3282 (USHRT_MAX): Likewise.
3283 (INT_MAX): Likewise.
3284 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3285 bound negative.
3286 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3287 bound with "U".
3288 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3289 bound with "L".
3290 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3291 bound negative. Suffix upper bound with "L".
3292 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3293 bound with "UL".
3294 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3295 Specify type.
3296 [C99-based standards] (LLONG_MAX): Likewise.
3297 [C99-based standards] (ULLONG_MAX): Likewise.
3298 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3299 == 0.
3300 [ISO11] (max_align_t): Require type.
3301 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3302
c9140a62
JM
3303 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3304 from $CFLAGS, without defining away __attribute__ calls.
3305 (checknamespace): Use $CFLAGS_namespace.
3306
9af0bf29
JM
3307 * conform/conformtest.pl (@keywords): Only include C99 keywords
3308 for standards based on C99 or C11.
3309
343222a2
JM
3310 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3311 Disable tests.
3312 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3313 UNIX98]: Likewise.
3314
661f8cf0
JM
3315 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3316 usability of symbols in #if.
3317
ee74b9cb
JM
3318 * conform/conformtest.pl: If macro or constant types start
3319 "promoted:", expect the symbol to be of the following type
3320 promoted by the integer promotions.
62fde54f 3321
aafc49b3
JM
3322 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3323 in one place. Also handle "macro-constant".
3324
fefdf574
JM
3325 * conform/conformtest.pl: Only accept expected macro values with
3326 "==". Parse all "macro" lines in one place.
3327 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3328
f2d922fe
JM
3329 * conform/conformtest.pl: Handle braced types on "constant" lines
3330 instead of handling "typed-constant".
3331 * conform/data/signal.h-data: Use "constant" instead of
3332 "typed-constant".
3333
d22956c9
JM
3334 * conform/conformtest.pl: Handle "optional-" at start of lines in
3335 one place rather than duplicating several cases. Handle each
3336 format of "macro" line with initial "optional-".
3337
028e2e38
JM
3338 * conform/conformtest.pl: Only accept expected constant or
3339 optional-constant values with "==". Parse all "constant" lines in
3340 one place. Parse all "optional-constant" lines in one place.
3341 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3342 * conform/data/fmtmsg.h-data: Likewise.
3343 * conform/data/netinet/in.h-data: Likewise.
3344 * conform/data/tar.h-data: Likewise.
3345 * conform/data/limits.h-data: Use "==" form on "constant" and
3346 "optional-constant" lines.
3347
1b8f2850
JM
3348 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3349 Use -std=c99 for XOPEN2K.
3350 (@knownproblems): Remove.
3351 (newtoken): Don't check %isknown.
3352
a05a144b
JM
3353 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3354 Do not expect macro.
3355 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3356 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3357 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3358 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3359 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3360 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3361 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3362 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3363 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3364 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3365 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3366 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3367 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3368 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3369 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3370 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3371 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3372 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3373 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3374 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3375 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3376 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3377 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3378 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3379 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3380 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3381 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3382 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3383 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3384 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3385 [XPG3] (acosh): Likewise.
3386 [XPG3] (asinh): Likewise.
3387 [XPG3] (atanh): Likewise.
3388 [XPG3] (cbrt): Likewise.
3389 [XPG3] (expm1): Likewise.
3390 [XPG3] (ilogb): Likewise.
3391 [XPG3] (log1p): Likewise.
3392 [XPG3] (logb): Likewise.
3393 [XPG3] (nextafter): Likewise.
3394 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3395 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3396 [XPG3] (remainder): Likewise.
3397 [XPG3] (rint): Likewise.
3398 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3399 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3400 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3401 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3402 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3403 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3404 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3405 [UNIX98 || XOPEN2K] (scalb): Expect.
3406 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3407 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3408 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3409 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3410 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3411 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3412 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3413 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3414 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3415 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3416 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3417 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3418 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3419 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3420 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3421 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3422 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3423 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3424 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3425 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3426 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3427 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3428 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3429 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3430 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3431 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3432 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3433 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3434 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3435 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3436 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3437 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3438 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3439 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3440 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3441 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3442 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3443 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3444 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3445 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3446 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3447 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3448 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3449 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3450 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3451 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3452 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3453 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3454 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3455 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3456 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3457 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3458 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3459 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3460 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3461 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3462 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3463 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3464 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3465 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3466 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3467 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3468 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3469 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3470 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3471 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3472 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3473 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3474 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3475 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3476 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3477 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3478 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3479 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3480 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3481 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3482 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3483 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3484 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3485 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3486 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3487 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3488 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3489 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3490 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3491 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3492 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3493 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3494 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3495 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3496 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3497 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3498 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3499 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3500 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3501 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3502 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3503 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3504 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3505 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3506 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3507 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3508 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3509 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3510 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3511 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3512 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3513 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3514 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3515 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3516 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3517 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3543
73c5ebe3
JM
3544 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3545 _XOPEN_SOURCE_EXTENDED for XPG4.
3546
39c33b6c
JM
3547 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3548
62fde54f
JM
3549 * Makeconfig (localtime): Remove variable.
3550 (inst_localtime-file): Likewise.
3551
0741d64c
AS
35522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3553
3554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3555 Update.
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3557 Update.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3559 Update.
3560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3561 Update.
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3563 Update.
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3565 Update.
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3567 Update.
3568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3569 Update.
3570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3571 Update.
3572
7cb029ee
JM
35732012-05-01 Joseph Myers <joseph@codesourcery.com>
3574
3575 [BZ #2550]
3576 [BZ #2570]
3577 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3578 comparisons to determine direction to adjust input.
3579 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3580 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3581 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3582 Likewise.
3583 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3584 Likewise.
3585 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3586 Likewise.
3587 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3588 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3589 Likewise.
3590 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3591 Likewise.
3592 * math/libm-test.inc (nexttoward_test): Add more tests.
3593
412bd966
AS
35942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3595
3596 [BZ #14040]
3597 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3598 in version GLIBC_2.1, not GLIBC_2.0.
3599 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3600 Likewise.
3601
9568c0c2
JM
36022012-04-30 Joseph Myers <joseph@codesourcery.com>
3603
adfbc8ac
JM
3604 [BZ #13942]
3605 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3606 (1 - x) * (1 + x).
3607 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3608 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3609 * math/libm-test.inc (acos_test): Add more tests.
3610 (asin_test): Likewise.
3611 * sysdeps/i386/fpu/libm-test-ulps: Update.
3612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3613
5ba3cc69
JM
3614 [BZ #14034]
3615 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3616 of square root.
3617 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3618 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3619 * math/libm-test.inc (acos_test_tonearest): New function.
3620 (acos_test_towardzero): Likewise.
3621 (acos_test_downward): Likewise.
3622 (acos_test_upward): Likewise.
3623 (asin_test_tonearest): Likewise.
3624 (asin_test_towardzero): Likewise.
3625 (asin_test_downward): Likewise.
3626 (asin_test_upward): Likewise.
3627 (main): Call the new functions.
3628 * sysdeps/i386/fpu/libm-test-ulps: Update.
3629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3630
9568c0c2
JM
3631 [BZ #13884]
3632 [BZ #13924]
3633 * math/e_exp10.c: Include <float.h>.
3634 (__ieee754_exp10): Handle underflow here rather than multiplying
3635 large negative argument by M_LN10.
3636 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3637 of __ieee754_expf.
3638 * math/e_exp10l.c: Include <float.h>.
3639 (__ieee754_exp10l): Handle underflow here rather than multiplying
3640 large negative argument by M_LN10l.
3641 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3642 spurious overflow exception on underflow.
3643
5ac3ea17
MP
36442012-04-29 Marek Polacek <polacek@redhat.com>
3645
3646 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3647 (__fortify_function): New macro.
3648 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3649 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3650 __extern_always_inline.
3651 * libio/bits/stdio2.h: Likewise.
3652 * libio/bits/stdio.h: Likewise.
3653 * string/string.h: Likewise.
3654 * string/bits/string3.h: Likewise.
3655 * include/stdio.h: Likewise.
3656 * stdlib/bits/stdlib.h: Likewise.
3657 * stdlib/stdlib.h: Likewise.
3658 * rt/bits/mqueue2.h: Likewise.
3659 * rt/mqueue.h: Likewise.
3660 * posix/bits/unistd.h: Likewise.
3661 * posix/unistd.h: Likewise.
3662 * io/bits/poll2.h: Likewise.
3663 * io/bits/fcntl2.h: Likewise.
3664 * io/fcntl.h: Likewise.
3665 * io/sys/poll.h: Likewise.
3666 * misc/bits/syslog.h: Likewise.
3667 * misc/bits/syslog-ldbl.h: Likewise.
3668 * misc/sys/syslog.h: Likewise.
3669 * socket/bits/socket2.h: Likewise.
3670 * socket/sys/socket.h: Likewise.
3671 * debug/tst-chk1.c: Likewise.
3672 * wcsmbs/bits/wchar2.h: Likewise.
3673 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3674 * wcsmbs/wchar.h: Likewise.
3675
ecf0ebfb
AJ
36762012-04-29 Andreas Jaeger <aj@suse.de>
3677
3678 * Makerules (tests): Remove enable-check-abi protection.
3679 (check-abi-warn): Remove.
3680 (check-abi-%): Remove check-abi-warn usage.
3681
3682 * configure.in: Remove check-abi configure option.
3683 * configure: Regenerated.
3684 * config.make.in (enable-check-abi): Remove.
3685
6d5c57fa
AS
36862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3687
24c5d07e 3688 [BZ #14033]
ded5180a
AS
3689 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3690 double functions to double *_finite functions.
3691
7e0d315d
AS
3692 [BZ #13941]
3693 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3694 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3695 LDBL_MIN_EXP.
3696 * stdio-common/Makefile (tests): Add tst-sprintf3.
3697 * stdio-common/tst-sprintf3.c: New file.
3698
6d5c57fa
AS
3699 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3700 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3701
0749ff8b
JM
37022012-04-28 Joseph Myers <joseph@codesourcery.com>
3703
3704 * conform/conformtest.pl: Remove duplicate typed-constant
3705 handling.
3706
8dbd5d7b
DM
37072012-04-28 David S. Miller <davem@davemloft.net>
3708
3709 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3710 (check-abi-%): Remove AWK script prerequisite and explicit
3711 abilist directory.
3712 (check-abi): Rewrite to just diff the symlist with the abilist.
3713 (config-tls, config-abi-config): Delete, no longer used.
3714 (update-abi-%): Remove AWK script and explicit abilist directory.
3715 (update-abi): Rewrite to simply compare and conditionally copy the
3716 symlist and the sysdep abilist file. Remove update-abi-config
3717 checks.
3718 * abilist/ld.abilist: Remove.
3719 * abilist/libBrokenLocale.abilist: Remove.
3720 * abilist/libanl.abilist: Remove.
3721 * abilist/libcrypt.abilist: Remove.
3722 * abilist/libdl.abilist: Remove.
3723 * abilist/librt.abilist: Remove.
3724 * abilist/libthread_db.abilist: Remove.
3725 * abilist/libutil.abilist: Remove.
3726 * scripts/extract-abilist.awk: Remove.
3727 * scripts/merge-abilist.awk: Remove.
3728 * sysdeps/generic/libcidn.abilist: New file.
3729 * sysdeps/generic/libnss_compat.abilist: New file.
3730 * sysdeps/generic/libnss_db.abilist: New file.
3731 * sysdeps/generic/libnss_dns.abilist: New file.
3732 * sysdeps/generic/libnss_files.abilist: New file.
3733 * sysdeps/generic/libnss_hesiod.abilist: New file.
3734 * sysdeps/generic/libnss_nis.abilist: New file.
3735 * sysdeps/generic/libnss_nisplus.abilist: New file.
3736 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3737 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3738 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3739 file.
3740 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3741 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3742 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3743 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3744 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3745 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3746 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3747 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3748 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3749 file.
3750 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3751 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3752 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3753 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3754 file.
3755 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3756 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3757 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3758 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3759 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3760 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3761 file.
3762 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3763 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3764 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3765 file.
3766 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3768 New file.
3769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3770 New file.
3771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3772 New file.
3773 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3774 New file.
3775 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3776 New file.
3777 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3778 New file.
3779 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3780 New file.
3781 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3782 New file.
3783 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3784 New file.
3785 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3786 New file.
3787 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3788 New file.
3789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3790 New file.
3791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3792 New file.
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3794 file.
3795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3796 New file.
3797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3798 New file.
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3800 file.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3802 New file.
3803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3804 New file.
3805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3806 file.
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3808 New file.
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3810 New file.
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3812 New file.
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3814 New file.
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3816 New file.
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3818 New file.
3819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3821 file.
3822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3823 New file.
3824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3825 file.
3826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3827 file.
3828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3829 file.
3830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3831 file.
3832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3833 file.
3834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3835 New file.
3836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3837 file.
3838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3839 file.
3840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3841 New file.
3842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3843 file.
3844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3846 file.
3847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3848 New file.
3849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3850 file.
3851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3852 file.
3853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3854 file.
3855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3856 file.
3857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3858 file.
3859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3860 New file.
3861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3862 file.
3863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3864 file.
3865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3866 New file.
3867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3868 file.
3869 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3870 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3871 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3872 file.
3873 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3874 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3875 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3876 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3877 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3878 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3879 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3880 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3881 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3882 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3885 file.
3886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3887 New file.
3888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3889 file.
3890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3891 file.
3892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3893 file.
3894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3895 file.
3896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3897 file.
3898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3899 New file.
3900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3901 New file.
3902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3903 file.
3904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3905 New file.
3906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3907 file.
3908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3910 file.
3911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3912 New file.
3913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3914 file.
3915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3916 file.
3917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3918 file.
3919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3920 file.
3921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3922 file.
3923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3924 New file.
3925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3926 New file.
3927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3928 file.
3929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3930 New file.
3931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3932 file.
3933
41d73a1b
JM
39342012-04-28 Joseph Myers <joseph@codesourcery.com>
3935
3936 * conform/conformtest.pl: Fix typo in handling typed-constant from
3937 allow-header.
3938
28aeeda4
JM
39392012-04-27 Joseph Myers <joseph@codesourcery.com>
3940
adae8f5e
JM
3941 * README: Cut down references to pre-2.6 Linux kernels and
3942 Linuxthreads. Update lists of configurations in libc and ports
3943 and sort alphabetically. Say "or newer" with Linux kernel version
3944 requirements.
3945
28aeeda4
JM
3946 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3947
a462cb63
RA
39482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3949
3950 [BZ #887]
3951 * math/libm-test.inc (logb_test_downward): New test to expose
3952 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3953 rounding mode.
3954
6ad3493e
JM
39552012-04-27 Joseph Myers <joseph@codesourcery.com>
3956
3957 [BZ #14027]
3958 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3959 to be done.
3960 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3961 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3962
2ce4f015
JM
39632012-04-26 Joseph Myers <joseph@codesourcery.com>
3964
5aeb141a
JM
3965 * sysdeps/unix/i386/brk.S: Remove file.
3966 * sysdeps/unix/i386/dl-brk.S: Likewise.
3967 * sysdeps/unix/i386/pipe.S: Likewise.
3968 * sysdeps/unix/i386/sigreturn.S: Likewise.
3969 * sysdeps/unix/i386/syscall.S: Likewise.
3970 * sysdeps/unix/i386/vfork.S: Likewise.
3971 * sysdeps/unix/i386/wait.S: Likewise.
3972
7143acae
JM
3973 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3974 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3975
2ce4f015
JM
3976 * configure.in (arm*-none*): Do not allow without
3977 --enable-hacker-mode.
3978 (netbsd*): Remove case setting base_os.
3979 (386bsd*): Likewise.
3980 (freebsd*): Likewise.
3981 (bsdi*): Likewise.
3982 (osf*): Likewise.
3983 (sunos*): Likewise.
3984 (ultrix*): Likewise.
3985 (newsos*): Likewise.
3986 (dynix*): Likewise.
3987 (*bsd*): Likewise.
3988 (sysv*): Likewise.
3989 (isc*): Likewise.
3990 (esix*): Likewise.
3991 (sco*): Likewise.
3992 (minix*): Likewise.
3993 (irix4*): Likewise.
3994 (irix6*): Likewise.
3995 (solaris[2-9]*): Likewise.
3996 (none): Likewise.
3997 * configure: Regenerated.
3998
0ac229c8
AZ
39992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4000
4001 [BZ #11521]
4002 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4003 overflow or cancellation in calculating denominator.
4004 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4005 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4006 down expression to avoid unexpected rounding in newer GCCs.
4007 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4008
33f244f4
DM
40092012-04-26 David S. Miller <davem@davemloft.net>
4010
4011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4012 long-double compat symbols.
4013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4026
cfa1f3e8
DM
40272012-04-25 David S. Miller <davem@davemloft.net>
4028
4029 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4030 HWCAP_* values only after the memory barriers have been defined.
4031 (atomic_full_barrier): Define.
4032 (atomic_read_barrier): Define.
4033 (atomic_write_barrier): Define.
4034
6e236b92
SP
40352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4036
4037 * shlib-versions: Add libgcc_s version information.
4038 * sysdeps/generic/libgcc_s.h: Remove.
4039 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4040 libgcc_s.h.
4041 * sysdeps/gnu/unwind-resume.c: Likewise.
4042 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4043
aab39a09
DM
40442012-04-25 David S. Miller <davem@davemloft.net>
4045
4046 * sysdeps/unix/sparc/brk.S: Delete.
4047 * sysdeps/unix/sparc/dl-brk.S: Delete.
4048 * sysdeps/unix/sparc/pipe.S: Delete.
4049 * sysdeps/unix/sparc/sysdep.S: Delete.
4050 * sysdeps/unix/sparc/sysdep.h: Delete.
4051 * sysdeps/unix/sparc/vfork.S: Delete.
4052 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4053 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4054 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4055 ret_ERRVAL, r0, r1, MOVE): Define.
4056 (JUMPTARGET): Remove.
4057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4058 sysdeps/unix/sparc/sysdep.h
4059 (ENTRY, END): Remove.
4060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4061
a3cc4f48
JM
40622012-04-25 Joseph Myers <joseph@codesourcery.com>
4063
2ed8cda2
JM
4064 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4065 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4066 -DIS_IN_build.
4067
35d76d59
JM
4068 * timezone/README: Update upstream location and email address for
4069 tzcode and tzdata.
4070 * timezone/zdump.c: Update from tzcode 2012b.
4071 * timezone/zic.c: Likewise.
4072
a3cc4f48
JM
4073 * configure.in (libc_cv_as_needed): Remove test.
4074 * configure: Regenerated.
4075 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4076 conditional definition.
4077 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4078 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4079 * config.make.in (have-as-needed): Remove variable.
4080
ceab42c3
SP
40812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4082 Paul Pluzhnikov <ppluzhnikov@google.com>
4083
4084 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4085 strings correctly.
4086
3ce2865f
CLT
40872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4088
4089 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4090 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4091 * sysdeps/sh/strlen.S: Likewise.
4092
f37e0d68
JM
40932012-04-24 Joseph Myers <joseph@codesourcery.com>
4094
ae186e9a
JM
4095 * sysdeps/unix/fork.S: Remove file.
4096 * sysdeps/unix/i386/fork.S: Likewise.
4097 * sysdeps/unix/sparc/fork.S: Likewise.
4098
b96914af
JM
4099 * sysdeps/unix/system.c: Remove file.
4100 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4101
f37e0d68
JM
4102 * sysdeps/unix/getegid.S: Remove file.
4103 * sysdeps/unix/geteuid.S: Likewise.
4104
87ef29ca
RM
41052012-04-24 Roland McGrath <roland@hack.frob.com>
4106
83bcd236
RM
4107 * scripts/check-localplt.awk: New file.
4108 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4109 of diff.
4110 * scripts/data/localplt-generic.data: Add a comment.
4111
87ef29ca
RM
4112 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4113 NODE when __dir_mkfile failed.
4114 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4115 Reported by Ludovic Courtès <ludo@gnu.org>.
4116
e5a6e567
AJ
41172012-04-24 Andreas Jaeger <aj@suse.de>
4118
4119 * Makerules (common-clean): Also remove gen-as-const-headers
4120 files.
4121
c1820385
JM
41222012-04-24 Joseph Myers <joseph@codesourcery.com>
4123
4124 * Makerules (native-compile): Do not change working directory for
4125 build. Use $(OUTPUT_OPTION) in command.
4126 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4127
94e02fc4
AZ
41282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4129
4130 [BZ #13886]
4131 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4132 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4133 * math/libm-test.inc (floor_test): Add more tests.
4134 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4135
3a533ca3
JM
41362012-04-24 Joseph Myers <joseph@codesourcery.com>
4137
940ab4b3
JM
4138 * sysdeps/unix/getdents.c: Remove file.
4139 * sysdeps/unix/sysv/getdents.c: Likewise.
4140 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4141
90e037bd
JM
4142 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4143 sysdeps/unix/mman/syscalls.list.
4144 (mmap): Likewise.
4145 (mprotect): Likewise.
4146 (msync): Likewise.
4147 (munmap): Likewise.
4148 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4149 * sysdeps/unix/mman/syscalls.list: Remove.
4150 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4151
3a533ca3
JM
4152 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4153 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4154 * configure: Regenerated.
4155 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4156 $(libgcc_s_suffix).
4157 * config.make.in (libgcc_s_suffix): Remove variable.
4158
1ad743de
JM
41592012-04-23 Joseph Myers <joseph@codesourcery.com>
4160
4ad451e2
JM
4161 * sysdeps/unix/sysv/gethostname.c: Move to ...
4162 * sysdeps/posix/gethostname.c: ... here.
4163
5e37ce39
JM
4164 * sysdeps/unix/execve.S: Remove file.
4165
1ad743de
JM
4166 * sysdeps/unix/_exit.S: Remove file.
4167
4e681b5b
AJ
41682012-04-23 Andreas Jaeger <aj@suse.de>
4169
4170 [BZ #13739]
4171 * manual/Makefile: Remove make dist support, there's no
4172 need for a stand-alone documentation tar ball.
4173 (TEXI2DVI): Define always, it's not in Makeconfig.
4174 (dist): Removed.
4175 (tar-it): Removed.
4176 (edition): Removed.
4177 (glibc-doc-$(edition).tar): Removed
4178 (%.Z): Removed.
4179 (%.gz): Removed.
4180 (%.uu): Removed.
4181 (ETAGS): Remove, it's in Makeconfig.
4182 (move-if-change): Remove, it's in Makeconfig.
4183
c0baea34
PE
41842013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4185
4186 [BZ #13970]
4187 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4188 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4189 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4190 (strtod_l, strtof_l, strtold_l): Remove __wur.
4191 It is not necessarily an error to ignore strtol's return value.
4192 One can reliably look at the stored endptr to decide whether
4193 the number had valid syntax.
4194
7c0616fa
AJ
41952012-04-21 Andreas Jaeger <aj@suse.de>
4196
803cb6b7 4197 [BZ #13739]
7c0616fa
AJ
4198 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4199
b0fe253f
JM
42002012-04-21 Joseph Myers <joseph@codesourcery.com>
4201
4202 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4203 * sysdeps/unix/sysv/Versions: Remove file.
4204
8280f22d
MT
42052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4206
4207 [BZ #13927]
4208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4209
75ce411f 42102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4211
4212 [BZ #7064]
4213 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4214 version from __vm86.
4215
097d59fa
JM
42162012-04-20 Joseph Myers <joseph@codesourcery.com>
4217
a90f3bcb
JM
4218 * sysdeps/unix/common/lxstat.c: Remove file.
4219 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4220
edc7ea78
JM
4221 * sysdeps/unix/sysv/Makefile: Remove file.
4222
cb78c221
JM
4223 * sysdeps/unix/sysv/direct.h: Remove file.
4224
efa6a45f
JM
4225 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4226 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4227 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4228 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4229 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4230 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4231 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4232
9c9f2d0c
JM
4233 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4234
4541c83b
JM
4235 * sysdeps/unix/xmknod.c: Remove file.
4236 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4237
f5d153a0
JM
4238 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4239
aa746595
JM
4240 * sysdeps/unix/sysv/i386/time.S: Remove file.
4241
cce5905e
JM
4242 * sysdeps/unix/fxstat.c: Remove file.
4243 * sysdeps/unix/xstat.c: Likewise.
4244 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4245
37fa3841
JM
4246 * sysdeps/unix/sysv/sigaction.c: Remove file.
4247
ff1962a3
JM
4248 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4249 (sysdep_headers): Remove variable.
4250 [termio.h not in sysdep_headers] (generated): Likewise.
4251 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4252 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4253 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4254 * sysdeps/unix/sysv/tcflow.c: Likewise.
4255 * sysdeps/unix/sysv/tcflush.c: Likewise.
4256 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4257 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4258 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4259 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4260 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4261
e7740d31
JM
4262 * sysdeps/unix/siglist.c: Remove file.
4263
ee06f18b
JM
4264 * sysdeps/unix/getppid.S: Remove file.
4265
097d59fa
JM
4266 * sysdeps/unix/mkdir.c: Remove file.
4267 * sysdeps/unix/rmdir.c: Likewise.
4268
ff3d51ec
AS
42692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4270
4271 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4272 ERR_MAX value.
4273 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4274 errlist-compat value.
4275
50f81fd7
DM
42762012-04-18 David S. Miller <davem@davemloft.net>
4277
4278 * sysdeps/generic/memcopy.h (reg_char): Delete.
4279 * debug/strcat_chk.c: Use char, not reg_char.
4280 * debug/strcpy_chk.c: Likewise.
4281 * debug/strncat_chk.c: Likewise.
4282 * debug/strncpy_chk.c: Likewise.
4283 * string/memchr.c: Likewise.
4284 * string/memrchr.c: Likewise.
4285 * string/rawmemchr.c: Likewise.
4286 * string/strcat.c: Likewise.
4287 * string/strchr.c: Likewise.
4288 * string/strchrnul.c: Likewise.
4289 * string/strcmp.c: Likewise.
4290 * string/strcpy.c: Likewise.
4291 * string/strncat.c: Likewise.
4292 * string/strncmp.c: Likewise.
4293 * string/strncpy.c: Likewise.
4294
8ff41c46
WS
42952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4296
4297 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4298 __builtin_memcopy is called when src and dest ranges are known to not
4299 overlap.
4300
6b652f46
WS
43012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4302
4303 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4304 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4305 fwd_align_merge macro call.
4306 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4307 bwd_align_merge macro call.
4308 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4309
b282631e
WS
43102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4311
4312 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4313 bwd_align_merge macros.
4314 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4315 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4316 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4317
95aa737c
DM
43182012-04-18 David S. Miller <davem@davemloft.net>
4319
4320 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4321
7a99a614
AJ
43222012-04-18 Andreas Jaeger <aj@suse.de>
4323
4324 [BZ# 6794]
4325 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4326 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4327 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4328
4329 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4330 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4331 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4332
4333 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4334 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4335 Adjust for changed ldbl-128 files.
4336
4337 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4338 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4339 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4340
e5270c23
DM
43412012-04-17 David S. Miller <davem@davemloft.net>
4342
4343 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4344
fb5e92c9
AS
43452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4346
4347 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4348 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4349 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4350 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4351 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4352 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4353
76da7265
AZ
43542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4355
4356 [BZ #6794]
4357 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4358 * math/libm-test.inc: Add ilogb errno and exception tests.
4359 * math/w_ilogb.c: New file: ilogb wrapper.
4360 * math/w_ilogbf.c: New file: ilogbf wrapper.
4361 * math/w_ilogbl.c: New file: ilogbl wrapper.
4362 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4363 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4364 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4365 exception being thrown with 0.0 as argument.
4366 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4367 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4368 exception being thrown with 0.0 as argument.
4369 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4370 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4371 exception being thrown with 0.0 as argument.
4372 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4373 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4374 exception being thrown with 0.0 as argument.
4375 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4376 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4377 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4378 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4379 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4380 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4381 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4382 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4383 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4384
0396e69d
PB
43852012-04-17 Petr Baudis <pasky@ucw.cz>
4386
4387 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4388 with altivec.
4389
750b5926
MP
43902012-04-16 Marek Polacek <polacek@redhat.com>
4391
4392 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4393
751728a1
MP
43942012-04-16 Marek Polacek <polacek@redhat.com>
4395
4396 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4397 operands of fdivp instruction.
4398
34a27407
L
43992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4400
4401 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4402 * elf/tst-auditmod3b.c: Likewise.
4403 * elf/tst-auditmod4b.c: Likewise.
4404 * elf/tst-auditmod5b.c: Likewise.
4405 * elf/tst-auditmod6b.c: Likewise.
4406 * elf/tst-auditmod6c.c: Likewise.
4407 * elf/tst-auditmod7b.c: Likewise.
4408 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4409 * sysdeps/x86_64/preconfigure.in: Likewise.
4410 * sysdeps/x86_64/preconfigure: Regenerated.
4411
7e73e17d
L
44122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4413
4414 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4415 __ILP32__.
4416
c7a6ab72
AB
44172012-04-13 Antoine Balestrat <merkil33@gmail.com>
4418
4419 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4420 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4421
a9e8e0e0
CL
44222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4423
4424 [BZ #13973]
4425 * locale/iso-639.def: Fix gl language name. Spotted by
4426 Yaron Shahrabani.
4427
ec98af7d
RM
44282012-04-12 Roland McGrath <roland@hack.frob.com>
4429
4430 [BZ #2074]
4431 * libio/libio.h (__io_write_fn): Update comment.
4432
247c3ede
PB
44332012-04-12 Petr Baudis <pasky@ucw.cz>
4434
4435 [BZ #2074]
4436 * stdio.texi (Hook Functions): The user provided writer function
4437 is not allowed to return -1.
4438
55939d6d
DM
44392012-04-11 David S. Miller <davem@davemloft.net>
4440
4441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4442
90020f5a
MF
44432012-04-11 Mike Frysinger <vapier@gentoo.org>
4444
4445 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4446 Add a leading slash to rtkaio.
4447
288f9098
JM
44482012-04-11 Jim Meyering <meyering@redhat.com>
4449
90020f5a
MF
4450 [BZ #11959]
4451 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4452 It is not necessarily an error to ignore fwrite's return
4453 value. One can reliably use ferror to test for errors after
4454 the fact.
288f9098 4455
4be2b570
L
44562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4457
4458 * bits/types.h (__snseconds_t): New type.
4459 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4460
4461 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4462 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4463 (__SNSECONDS_T_TYPE): Likewise.
4464 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4465 (__SNSECONDS_T_TYPE): Likewise.
4466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4467 (__SNSECONDS_T_TYPE): Likewise.
4468
288f9098 44692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4470
4471 [BZ #2636]
4472 * manual/time.texi (Processor Time): Return type of times is
4473 elapsed real time since an arbitrary point in the past.
4474 (CPU Time): Move CLK_TCK from here...
4475 (Processor Time): ...to here. Correct description.
4476 * manual/conf.texi (Constants for Sysconf): Correct description of
4477 _SC_CLK_TCK.
4478
d7dd4413
DM
44792012-04-10 David S. Miller <davem@davemloft.net>
4480
4481 [BZ #13967]
4482 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4483 where the is a gap between DT_REL(A) and DT_JMPREL.
4484
b46068fc
L
44852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4486
4487 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4488 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4489 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4490
73d65cc3
SP
44912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4492
4493 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4494 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4495 (dl_main): Handle --inhibit-cache.
4496 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4497 _dl_inhibit_cache.
4498 * elf/dl-load.c (_dl_map_object): Use it.
4499 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4500
bcc8d661
JM
45012012-04-09 Joseph Myers <joseph@codesourcery.com>
4502
8f9a2fae
JM
4503 [BZ #13872]
4504 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4505 (__ieee754_powl): Saturate large exponents rather than testing for
4506 overflow of y*log2(x).
4507 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4508 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4509 exceptions.
4510
bcc8d661
JM
4511 [BZ #11521]
4512 * math/s_ctan.c: Include <float.h>.
4513 (__ctan): Avoid internal overflow or cancellation in calculating
4514 denominator.
4515 * math/s_ctanf.c: Likewise.
4516 * math/s_ctanl.c: Likewise.
4517 * math/s_ctanh.c: Likewise.
4518 * math/s_ctanhf.c: Likewise.
4519 * math/s_ctanhl.c: Likewise.
4520 * math/libm-test.inc (ctan_test): Add more tests.
4521 (ctanh_test): Likewise.
4522 * sysdeps/i386/fpu/libm-test-ulps: Update.
4523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4524
823fbbb4
AJ
45252012-04-09 Andreas Jaeger <aj@suse.de>
4526
03879793
AJ
4527 [BZ #6894]
4528 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4529 is an optional BSD extension.
4530
823fbbb4
AJ
4531 [BZ #10254]
4532 * manual/stdio.texi (Opening Streams): Document additional fopen
4533 parameters.
4534
8de131cb
RM
45352012-04-09 Roland McGrath <roland@hack.frob.com>
4536
4537 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4538 %eax without telling the compiler.
4539
c0ed9d7d
CD
45402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4541
4542 [BZ # 13963]
4543 * manual/install.texi: Use sourceware.org.
4544
c483f6b4
JM
45452012-04-09 Joseph Myers <joseph@codesourcery.com>
4546
d7dd9453
JM
4547 [BZ #13873]
4548 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4549 (__ieee754_pow): Generate overflow and underflow using huge*huge
4550 and tiny*tiny rather than just returning constant infinity or zero
4551 for large exponents.
4552 * math/libm-test.inc (pow_test): Require overflow exceptions for
4553 applicable cases of large exponents.
4554
c483f6b4
JM
4555 [BZ #706]
4556 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4557 (__ieee754_pow): Use iterative multiplication algorithm only for
4558 integer exponents with absolute value below 1024. Check for odd
4559 integer exponents when using algorithm for real exponents.
4560 * math/libm-test.inc (pow_test): Add more tests.
4561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4562
d2de7579
JM
45632012-04-08 Joseph Myers <joseph@codesourcery.com>
4564
4565 [BZ #13705]
4566 * math/libm-test.inc (exp_test): Do not allow overflow exception
4567 on underflow test.
4568
f77f1232
AJ
45692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4570
4571 [BZ #13705]
4572 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4573 instead of __kernel_standard_f.
4574
3884932b
MF
45752012-04-08 Mike Frysinger <vapier@gentoo.org>
4576
4577 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4578 * sysdeps/x86_64/memset_chk.S: Likewise.
4579
54472e9c
AJ
45802012-04-08 Andreas Jaeger <aj@suse.de>
4581
6ab0fbfc
AJ
4582 [BZ #10153]
4583 * manual/startup.texi (Environment Access): Describe return value
4584 for putenv and setenv.
4585
61efba8c
AJ
4586 [BZ #6895]
4587 * manual/filesys.texi (Directory Entries): Add description for
4588 DT_LNK.
4589
95c3f29a
AJ
4590 [BZ #6890]
4591 * manual/filesys.texi (Directory Entries): Clarify that it's file
4592 system not operating system in the description of DT_UNKNOWN.
4593
54472e9c
AJ
4594 [BZ #6578]
4595 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4596
624254b1
SC
45972012-04-08 Stephen Compall <s11@member.fsf.org>
4598
4599 [BZ #6649]
4600 * manual/llio.texi (Opening and Closing Files): Add cross
4601 reference to explain mode argument.
4602
1e4920e0
MF
46032012-04-07 Mike Frysinger <vapier@gentoo.org>
4604
4605 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4606 * sysdeps/x86_64/memset_chk.S: Likewise.
4607
5ed848f3
DM
46082012-04-07 David S. Miller <davem@davemloft.net>
4609
4610 * elf/elf.h (R_SPARC_WDISP10): Define.
4611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4612 R_SPARC_SIZE32.
4613 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4614 R_SPARC_SIZE64 and R_SPARC_H34.
4615
96154cd8
CD
46162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4617
4618 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4619 conditions and remove no longer applicable assertion.
4620
9904dc47
L
46212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4622
4623 * bits/byteswap.h: Include <features.h>.
4624 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4625 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4626
f8887d0a
L
46272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4628
4629 * bits/byteswap.h (__bswap_16): Removed.
4630 Include <bits/byteswap-16.h> to get __bswap_16.
4631 * sysdeps/i386/bits/byteswap.h: Likewise.
4632 * sysdeps/s390/bits/byteswap.h: Likewise.
4633 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4634 * bits/byteswap-16.h: New file.
4635 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4636 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4637 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4638 * string/Makefile (headers): Add bits/byteswap-16.h.
4639
62470f60
PP
46402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4641
4642 [BZ #13895]
4643 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4644 extra indirection.
4645 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4646 * nss/tst-nss-static.c: New.
4647
4dad7bab
RM
46482012-04-06 Robert Millan <rmh@gnu.org>
4649
4650 [BZ #6486]
4651 * manual/llio.texi (File Position Primitive): lseek
4652 refers to WHENCE when it really means OFFSET.
4653
e9142a17
AJ
46542012-04-06 Andreas Jaeger <aj@suse.de>
4655
2c040eff
AJ
4656 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4657 strncmp declarations.
4658
e9142a17
AJ
4659 * abilist/libc.abilist: Add __poll and __ppoll.
4660
ff9f1c5f
DM
46612012-04-05 David S. Miller <davem@davemloft.net>
4662
dcd2ae90
DM
4663 * scripts/check-local-headers.sh: Accept a host triplet in the
4664 path matched by the exclude regexp.
4665
993eb054
DM
4666 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4667 definition.
4668 * sysdeps/powerpc/powerpc32/dl-machine.h
4669 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4670 * sysdeps/s390/s390-32/dl-machine.h
4671 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4672 * sysdeps/sparc/sparc32/dl-machine.h
4673 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4674 * sysdeps/sparc/sparc64/dl-machine.h
4675 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4676
ff9f1c5f
DM
4677 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4678 lazy binding.
48e2e132 4679 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4680 undefined symbol errors.
4681
48e2e132 4682 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4683 DT_NEEDED entries.
4684
e80d6f94
MM
46852012-04-05 Michael Matz <matz@suse.de>
4686
4687 [BZ #13592]
4688 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4689
349fa79f
AJ
46902012-04-05 Andreas Jaeger <aj@suse.de>
4691
4692 [BZ #13908]
4693 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4694 comment.
4695
f402708f
KK
46962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4697
4698 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4699 which ROUND is no valid rounding mode.
4700
2ecccfc9
KK
47012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4702
4703 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4704 read again.
4705 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4706
8a53f50f
KK
47072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4708
4709 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4710 an exception using FPU order intentionally.
4711
47122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4713
4714 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4715 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4716 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4717 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4718
d653abb7
SJ
47192012-04-05 Simon Josefsson <simon@josefsson.org>
4720
4721 [BZ #12340]
4722 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4723 EINVAL when BUFLEN is too smal.
4724
c3b1bf7d
TS
47252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4726
4727 [BZ #13553]
4728 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4729 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4730
b1aa60f3
AJ
47312012-04-03 Andreas Jaeger <aj@suse.de>
4732
c3b1bf7d 4733 [BZ #13938]
67f60a26
AJ
4734 * manual/setjmp.texi (System V contexts): Fix sentence.
4735
b1aa60f3
AJ
4736 [BZ #13926]
4737 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4738 New macro for this case.
4739 [!__GNUC__] (__bswap_64): New inline function for this case.
4740 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4741 * bits/byteswap.h: Likewise.
4742 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4743 ull, guard with __GLIBC_HAVE_LONG_LONG.
4744
4745 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4746 __GLIBC_HAVE_LONG_LONG.
4747
4748 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4749 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4750
39c59c35
TMQMF
47512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4752
4753 [BZ #13691]
4754 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4755 inptr and inend, rather than using last_ch.
4756
135ffda8
DM
47572012-04-02 David S. Miller <davem@davemloft.net>
4758
4759 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4760 * stdio-common/printf-parse.h (read_int): Change return type to
4761 'int', return -1 on INT_MAX overflow.
4762 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4763 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4764 overflows INT_MAX. Check for overflow of in-format-string precision
4765 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4766 SIZE_MAX not INT_MAX for integer overflow test.
4767 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4768 skip the construct in the format string but do not record anything.
4769 * stdio-common/bug22.c: Adjust to test both width/prevision
4770 INT_MAX overflow as well as total length INT_MAX overflow. Check
4771 explicitly for proper errno values.
4772
228c019e
TS
47732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4774
302cadd3
TS
4775 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4776 CHAR_MAX.
4777 * string/test-strcmp.c [! WIDE]: Likewise.
4778 * time/tst-mktime2.c: Likewise for INT_MAX.
4779 * string/test-string.h: #include <sys/param.h> for MIN.
4780
228c019e
TS
4781 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4782 * sysdeps/i386/init-first.c (init): Likewise.
4783 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4784 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4785 * sysdeps/sh/init-first.c (init): Likewise.
4786
cfa633f5
UD
47872012-04-01 Ulrich Drepper <drepper@gmail.com>
4788
4789 * po/ru.po: Update from translation team.
d1635ef8 4790 * po/vi.po: Likewise.
cfa633f5 4791
6cd0a5ea
SP
47922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4793
4794 * resolv/nss_dns/dns-host.c: Merge copyright years.
4795
4b43400f
LD
47962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4797
4798 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4799 Optimize memcpy with prefetch if
4800 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4801 src, dst pointers have unequal 16 byte alignments.
4802
48c41d04
SP
48032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4804
4805 [BZ #13928]
4806 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4807 from a CNAME entry and return the minimum ttl for the query.
4808 (gaih_getanswer_slice): Likewise.
4809
b8dc394d
JL
48102012-03-30 Jeff Law <law@redhat.com>
4811
4812 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4813 due to long keys.
4814 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4815 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4816
2f5a5ed0
JL
4817 * resolv/nss_dns/dns-host.c: Update copyright year.
4818
1d39e359
UD
48192012-03-30 Ulrich Drepper <drepper@gmail.com>
4820
c030f70c 4821 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4822 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4823
1d39e359
UD
4824 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4825 comments for sendmmsg.
4826
48272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4828
4829 [BZ #13691]
4830 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4831 with only 1 character between 0x0041 and 0x01b0.
4832 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4833 * wcsmbs/tst-mbsnrtowcs.c: New file.
4834
20fde227
DM
48352012-03-29 David S. Miller <davem@davemloft.net>
4836
4837 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4838 small copies by hand.
4839
984a4237
JL
48402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4841
4842 [BZ #13761]
4843 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4844 _nss_compat_initgroups_dyn): Fall back to malloc/free
4845 for large group memberships.
4846
18c9d62b
DM
48472012-03-28 David S. Miller <davem@davemloft.net>
4848
88d85d4f
DM
4849 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4850 that branches into memcpy.
4851 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4852 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4854 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4856 bits.
4857 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4858 implementation too.
4859 * sysdeps/sparc/mempcpy.S: New file.
4860
e5aa83e1
DM
4861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4862 the IFUNC routine in the libc case.
4863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4864
88570753
DM
4865 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4866 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4867 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4868 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4869 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4870 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4871 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4872 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4873
249d7567
DM
4874 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4875 loop to 256 bytes instead of 64 bytes and fix test signedness.
4876
18c9d62b
DM
4877 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4878 * sysdeps/sparc/sparc32/Makefile: rather than here...
4879 * sysdeps/sparc/sparc64/Makefile: and here.
4880
05f3d1f6
UD
48812012-03-28 Ulrich Drepper <drepper@gmail.com>
4882
4883 * malloc/mallocbug.c: Avoid warnings about unused variables.
4884
86ae07a8
JL
48852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4886
4887 [BZ #13760]
4888 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4889 in the right place. Discard and retry query if response is
4890 larger than input buffer size.
4891
41bf21a1
JM
48922012-03-28 Joseph Myers <joseph@codesourcery.com>
4893
d6270972
JM
4894 [BZ #369]
4895 [BZ #2678]
4896 [BZ #3866]
4897 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4898 x for large integer exponent.
4899 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4900 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4901 sign of result as needed afterwards.
4902 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4903 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4904 result for underflowing pow the same as for overflow.
4905 (__kernel_standard_l): Handle powl overflow and underflow here
4906 rather than calling __kernel_standard.
4907 * math/libm-test.inc (pow_test): Add more tests.
4908
414fca03 4909 [BZ #3868]
41bf21a1
JM
4910 [BZ #13879]
4911 [BZ #13910]
4912 [BZ #13911]
4913 [BZ #13912]
4914 [BZ #13913]
4915 [BZ #13915]
4916 [BZ #13916]
4917 [BZ #13917]
4918 [BZ #13918]
4919 [BZ #13919]
4920 [BZ #13920]
4921 [BZ #13921]
4922 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4923 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4924 (__kernel_standard_l): New function.
4925 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4926 __kernel_standard.
4927 * math/w_acosl.c (__acosl): Likewise.
4928 * math/w_asinl.c (__asinl): Likewise.
4929 * math/w_atan2l.c (__atan2l): Likewise.
4930 * math/w_atanhl.c (__atanhl): Likewise.
4931 * math/w_coshl.c (__coshl): Likewise.
4932 * math/w_exp10l.c (__exp10l): Likewise.
4933 * math/w_exp2l.c (__exp2l): Likewise.
4934 * math/w_fmodl.c (__fmodl): Likewise.
4935 * math/w_hypotl.c (__hypotl): Likewise.
4936 * math/w_j0l.c (__j0l, __y0l): Likewise.
4937 * math/w_j1l.c (__j1l, __y1l): Likewise.
4938 * math/w_jnl.c (__jnl, __ynl): Likewise.
4939 * math/w_lgammal.c (__lgammal): Likewise.
4940 * math/w_log10l.c (__log10l): Likewise.
4941 * math/w_log2l.c (__log2l): Likewise.
4942 * math/w_logl.c (__logl): Likewise.
4943 * math/w_powl.c (__powl): Likewise.
4944 * math/w_remainderl.c (__remainderl): Likewise.
4945 * math/w_scalbl.c (sysv_scalbl): Likewise.
4946 * math/w_sinhl.c (__sinhl): Likewise.
4947 * math/w_sqrtl.c (__sqrtl): Likewise.
4948 * math/w_tgammal.c (__tgammal): Likewise.
4949 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4950 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4951 * math/libm-test.inc (acos_test): Add more tests.
4952 (acosh_test): Likewise.
4953 (asin_test): Likewise.
4954 (atanh_test): Likewise.
4955 (exp_test): Likewise.
4956 (exp10_test): Likewise.
4957 (exp2_test): Likewise.
4958 (expm1_test): Likewise.
4959 (lgamma_test): Likewise.
4960 (log_test): Likewise.
4961 (log10_test): Likewise.
4962 (log1p_test): Likewise.
4963 (log2_test): Likewise.
4964 (pow_test): Do not allow some spurious overflow exceptions.
4965 (sqrt_test): Add more tests.
4966 (tgamma_test): Likewise.
4967 (y0_test): Likewise.
4968 (y1_test): Likewise.
4969 (yn_test): Likewise.
4970
dd62fda6
AB
49712012-03-27 Anton Blanchard <anton@samba.org>
4972
4973 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4974 MAP_HUGETLB.
4975 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4976 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4977 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4978
1e3cdfda
AJ
49792012-03-27 David S. Miller <davem@davemloft.net>
4980
b855ab85
DM
4981 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4982
1e3cdfda
AJ
4983 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4984 have-as-vis3 check.
4985
49862012-03-27 Andreas Jaeger <aj@suse.de>
4987
4988 * sysdeps/x86_64/elf/configure.in: Moved to ...
4989 * sysdeps/x86_64/configure.in: ... here.
4990 * sysdeps/x86_64/elf/start.S: Moved to ...
4991 * sysdeps/x86_64/start.S: ... here.
4992 * sysdeps/x86_64/elf/configure: Delete.
4993
4994 * sysdeps/x86_64/configure.in: Merge contents from
4995 sysdeps/i386/configure.in (without i686 check).
4996
4997 * sysdeps/i386/elf/Versions: Merge into ...
4998 * sysdeps/i386/Versions: ... this.
4999 * sysdeps/i386/elf/Versions: Delete file.
5000 * sysdeps/i386/elf/start.S: Moved to ...
5001 * sysdeps/i386/start.S: ...here.
5002 * sysdeps/i386/elf/configure.in: Merge into...
5003 * sysdeps/i386/configure.in: ...here.
5004 * sysdeps/i386/elf/configure.in: Delete file.
5005 * sysdeps/i386/elf/configure: Delete file.
5006
5007 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5008 * debug/backtracesyms.c: ... here.
5009 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5010 * debug/backtracesymsfd.c: ... here.
5011 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5012 * sysdeps/generic/ifunc-sel.h: ... here.
5013
5014 * sysdeps/unix/i386/start.c: Delete file.
5015 * sysdeps/unix/sparc/start.c: Delete file.
5016 * sysdeps/unix/start.c: Delete file.
5017
5018 * sysdeps/sh/elf/configure.in: Moved to ...
5019 * sysdeps/sh/configure.in: ... here.
5020 * sysdeps/sh/elf/start.S: Moved to ...
5021 * sysdeps/sh/start.S: ... here.
5022 * sysdeps/sh/elf/configure: Delete file.
5023
5024 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5025 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5026 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5027 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5028 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5029 * sysdeps/powerpc/powerpc64/start.S: here.
5030 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5031 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5032 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5033 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5034 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5035
5036 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5037 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5038 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5039 * sysdeps/powerpc/powerpc32/start.S: ... here.
5040 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5041 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5042 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5043
5044 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5045 * sysdeps/powerpc/ifunc-sel.h: ... here.
5046 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5047 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5048
5049 * sysdeps/sparc/elf/configure.in: Moved to ...
5050 * sysdeps/sparc/configure.in: ... here.
5051 * sysdeps/sparc/elf/configure: Delete file.
5052 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5053 * sysdeps/sparc/sparc32/start.S: ... here.
5054 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5055 * sysdeps/sparc/sparc64/start.S: ... here.
5056 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5057 * sysdeps/sparc/sparc32/Makefile: ... this.
5058 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5059 * sysdeps/sparc/sparc64/Makefile: ... this.
5060
5061 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5062 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5063 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5064 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5065 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5066 * sysdeps/s390/s390-32/setjmp.S: ... here.
5067 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5068 * sysdeps/s390/s390-32/configure.in: ... here.
5069 * sysdeps/s390/s390-32/elf/configure: Delete file.
5070 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5071 * sysdeps/s390/s390-32/start.S: ... here.
5072
5073 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5074 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5075 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5076 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5077 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5078 * sysdeps/s390/s390-64/setjmp.S: ... here.
5079 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5080 * sysdeps/s390/s390-64/configure.in: ... here
5081 * sysdeps/s390/s390-64/elf/configure: Delete file.
5082 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5083 * sysdeps/s390/s390-64/start.S: ... here.
5084 * sysdeps/s390/s390-64/elf/configure: Delete.
5085
5086 * configure.in: Remove support for elf directories in sysdeps.
5087
5088 * configure: Regenerated.
5089 * sysdeps/i386/configure: Regenerated.
5090 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5091 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5092 * sysdeps/s390/s390-32/configure: Regenerated.
5093 * sysdeps/s390/s390-64/configure: Regenerated.
5094 * sysdeps/sh/configure: Regenerated.
5095 * sysdeps/sparc/configure: Regenerated.
5096 * sysdeps/x86_64/configure: Regenerated.
5097
a3f61311
AS
50982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5099
c876e002
AS
5100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5101
a3f61311
AS
5102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5103 denormal result into account.
5104
ac4c54f0
RM
51052012-03-25 Roland McGrath <roland@hack.frob.com>
5106
5107 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5108 Reported by Allan McRae <allan@archlinux.org>.
5109
6a9b9c02
JL
51102012-03-23 Jeff Law <law@redhat.com>
5111
5112 * nss/getnssent.c (__nss_getent): Fix typo.
5113
4c42a0c1
DM
51142012-03-23 David S. Miller <davem@davemloft.net>
5115
5116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5117
1532c7ac
L
51182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5119
5120 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5121 to pad to uint64_t for each field.
5122 (dl_tls_index): Replace unsigned long with uint64_t.
5123
3ff42526
PP
51242012-03-23 Daniel Jacobowitz <dmj@google.com>
5125 Paul Pluzhnikov <ppluzhnikov@google.com>
5126
5127 [BZ #6528]
5128 * grp/Makefile (otherlibs): Don't set it.
5129 * inet/Makefile (otherlibs): Likewise.
5130 * login/Makefile (otherlibs): Likewise.
5131 * nscd/Makefile (otherlibs): Likewise.
5132 * posix/Makefile (otherlibs): Likewise.
5133 * pwd/Makefile (otherlibs): Likewise.
5134 * rt/Makefile (otherlibs): Likewise.
5135 * sunrpc/Makefile (otherlibs): Likewise.
5136 * nss/Makefile (otherlibs): Likewise.
5137 Add libnss_files to routines and static-only-routines.
5138 ($(objpfx)getent): Remove rule.
5139 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5140 static-only-routines.
5141
7c69cd14
JM
51422012-03-22 Joseph Myers <joseph@codesourcery.com>
5143
5144 [BZ #13892]
5145 * math/s_cexp.c: Include <float.h>.
5146 (__cexp): Handle exp result overflowing not necessarily
5147 overflowing both real and imaginary parts of result.
5148 * math/s_cexpf.c: Likewise.
5149 * math/s_cexpl.c: Likewise.
5150 * math/libm-test.inc (cexp_test): Add more tests.
5151 * sysdeps/i386/fpu/libm-test-ulps: Update.
5152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5153
81b035fe
L
51542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5155
5156 * include/link.h (ELFW): New macro.
5157 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5158 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5159
1da7940c
L
51602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5161
5162 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5163 with uint64_t.
5164
b749dbb9
L
51652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5166
5167 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5168 declaration.
5169 (struct La_x32_retval): Likewise.
5170
2ff87f3f
L
51712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5172
5173 * sysdeps/x86_64/preconfigure.in: New file.
5174 * sysdeps/x86_64/preconfigure: New generated file.
5175
c0df8e69
JM
51762012-03-22 Joseph Myers <joseph@codesourcery.com>
5177
48e44791
JM
5178 [BZ #13824]
5179 * math/e_exp2l.c: Include <float.h>.
5180 (__ieee754_exp2l): Handle overflow and underflow cases
5181 separately. Only pass fractional part of argument to
5182 __ieee754_expl.
5183 * math/libm-test.inc (exp2_test): Add more tests.
5184
c0df8e69
JM
5185 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5186 negating x to take absolute value.
5187 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5188 Likewise.
5189 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5190 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5191 Likewise.
5192 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5193 computing low part if x was negated.
5194 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5195
c8e43ba7
L
51962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5197
5198 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5199 la_x32_gnu_pltexit.
5200 (pltexit): Cast int_retval to ptrdiff_t.
5201 * elf/tst-auditmod3b.c: Likewise.
5202 * elf/tst-auditmod4b.c: Likewise.
5203 * elf/tst-auditmod5b.c: Likewise.
5204 * elf/tst-auditmod6b.c: Likewise.
5205 * elf/tst-auditmod6c.c: Likewise.
5206 * elf/tst-auditmod7b.c: Likewise.
5207
5208 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5209 and x32_gnu_pltexit.
5210
5211 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5212 __ELF_NATIVE_CLASS.
5213 (La_x32_regs): New macro.
5214 (La_x32_retval): Likewise.
5215 (la_x32_gnu_pltenter): New function prototype.
5216 (la_x32_gnu_pltexit): Likewise.
5217
7998fa78
AS
52182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5219
dcb33988
AS
5220 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5221 exponent.
5222
233fc563
AS
5223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5224
7998fa78
AS
5225 * configure.in (libc_cv_cc_nofma): Check for option to disable
5226 generation of FMA instructions.
5227 * configure: Regenerate.
5228 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5229 * sysdeps/ieee754/dbl-64/Makefile: New file.
5230 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5231 Remove brandred-fma4.
5232 (CFLAGS-brandred-fma4.c): Remove.
5233 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5234 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5235 define.
5236 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5237 define.
5238
8e95c99a
L
52392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5240
5241 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5242 LLONG_MAX != LONG_MAX.
5243 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5244 (_fitoa_word): Likewise.
5245 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5246 LLONG_MAX != LONG_MAX.
5247 * stdio-common/_itowa.h: Include <_itoa.h>.
5248 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5249 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5250 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5251 only if not defined.
5252 (_ITOA_WORD_TYPE): Likewise.
5253 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5254 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5255
6f4db457
DM
52562012-03-21 David S. Miller <davem@davemloft.net>
5257
5258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5259
7785fe5a
L
52602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5261
5262 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5263 of x86_64 when setting libc_cv_slibdir, libdir and
5264 libc_cv_localedir.
5265 * sysdeps/unix/sysv/linux/configure: Regenerated.
5266
4535cd55
JM
52672012-03-21 Joseph Myers <joseph@codesourcery.com>
5268
5269 * manual/lang.texi (Old Varargs): Remove section.
5270 (How Variadic): Update menu.
5271 (va_start): Do not mention varargs.h.
5272
17228132
TS
52732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5274 Joseph Myers <joseph@codesourcery.com>
5275
5276 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5277 link test.
5278 * configure: Regenerated.
5279
8149f976
TS
52802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5281
05f3d1f6
UD
5282 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5283 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5284 conformtest.pl
8149f976 5285
1a4ac776
JM
52862012-03-21 Joseph Myers <joseph@codesourcery.com>
5287
be22ce65
JM
5288 * NOTES: Remove.
5289 * Makefile (files-for-dist): Remove NOTES.
5290 (NOTES): Remove rule.
5291 * README: Don't refer to NOTES.
5292 * manual/creature.texi: Don't include macros.texi.
5293 * manual/intro.texi (creature.texi): Remove comment referring to
5294 NOTES.
5295
40b601fb
JM
5296 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5297 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5298 * configure: Regenerated.
5299 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5300 LIBC_TRY_CC_OPTION.
5301 (libc_cv_as_i686): Likewise.
5302 (libc_cv_cc_avx): Likewise.
5303 (libc_cv_cc_sse2avx): Likewise.
5304 (libc_cv_cc_fma4): Likewise.
5305 (libc_cv_cc_novzeroupper): Likewise.
5306 * sysdeps/i386/configure: Regenerated.
5307
1a4ac776
JM
5308 [BZ #13883]
5309 * sysdeps/i386/fpu/s_cexp.S: Remove.
5310 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5311 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5312 * math/libm-test.inc (cexp_test): Add more tests.
5313 * sysdeps/i386/fpu/libm-test-ulps: Update.
5314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5315
a458e7fe
AM
53162012-03-21 Allan McRae <allan@archlinux.org>
5317
5318 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5319
0cb7efc5
JM
53202012-03-21 Joseph Myers <joseph@codesourcery.com>
5321
5322 [BZ #13871]
5323 * math/w_exp2.c: Do not include <float.h>.
5324 (o_threshold, u_threshold): Remove.
5325 (__exp2): Calculate result before checking finiteness and calling
5326 __kernel_standard.
5327 * math/w_exp2f.c: Likewise.
5328 * math/w_exp2l.c: Likewise.
5329 * math/libm-test.inc (exp2_test): Require overflow exception for
5330 1e6 input.
2460d3aa
JM
5331
5332 [BZ #3866]
5333 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5334 range of signed 64-bit integers before using fistpll. Remove
5335 checks for whether integers fit in mantissa bits.
5336 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5337 the range of signed 32-bit integers before using fistpl. Remove
5338 checks for whether integers fit in mantissa bits.
5339 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5340 (__ieee754_powl): Test for y outside the range of signed 64-bit
5341 integers before using fistpll. Reduce 64-bit values to 63-bit
5342 ones as needed.
5343 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5344 divide-by-zero is raised for zero to large negative powers.
5345 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5346 (__ieee754_powl): Test for y outside the range of signed 64-bit
5347 integers before using fistpll. Reduce 64-bit values to 63-bit
5348 ones as needed.
5349 * math/libm-test.inc (pow_test): Add more tests.
5350
eb96ffb0
L
53512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5352
5353 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5354 <stdio-common/_itoa.h>.
5355 * debug/segfault.c: Likewise.
5356 * elf/dl-cache.c: Likewise.
5357 * elf/dl-minimal.c: Likewise.
5358 * elf/dl-misc.c: Likewise.
5359 * elf/dl-sysdep.c: Likewise.
5360 * elf/dl-version.c: Likewise.
5361 * elf/rtld.c: Likewise.
5362 * hurd/hurdsock.c: Likewise.
5363 * hurd/lookup-retry.c: Likewise.
5364 * malloc/malloc.c: Likewise.
5365 * malloc/mtrace.c: Likewise.
5366 * nscd/nscd_getgr_r.c: Likewise.
5367 * nscd/nscd_getpw_r.c: Likewise.
5368 * nscd/nscd_getserv_r.c: Likewise.
5369 * posix/getopt_init.c: Likewise.
5370 * posix/wordexp.c: Likewise.
5371 * stdio-common/_itoa.c: Likewise.
5372 * stdio-common/printf_fphex.c: Likewise.
5373 * stdio-common/vfprintf.c: Likewise.
5374 * string/_strerror.c: Likewise.
5375 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5376 * sysdeps/i386/i686/hp-timing.h: Likewise.
5377 * sysdeps/mach/_strerror.c: Likewise.
5378 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5379 * sysdeps/mach/hurd/sethostid.c: Likewise.
5380 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5381 * sysdeps/mach/xpg-strerror.c: Likewise.
5382 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5383 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5384 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5385 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5386 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5387 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5388 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5389 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5390 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5391 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5392 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5393 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5394 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5395 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5396 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5397 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5398 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5399 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5400 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5401 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5402 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5403
5404 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5405
5406 * stdio-common/_itoa.h: Moved to ...
5407 * sysdeps/generic/_itoa.h: Here.
5408
5409 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5410
5411 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5412 instead of "_itoa.h" and "_itowa.h".
5413 * stdio-common/vfprintf.: Likewise.
5414
d1af992d
L
54152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5416
5417 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5418 <bits/wordsize.h>.
5419 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5420 (__signbit): Likwise.
5421 (llrintf): Likwise.
5422 (llrint): Likwise.
5423
114883e0
L
54242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5425
5426 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5427 __WORDSIZE != 64.
5428
c135cc1b
JM
54292012-03-20 Joseph Myers <joseph@codesourcery.com>
5430
5431 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5432 OVERFLOW_EXCEPTION_OK.
5433 * math/libm-test.inc ("Philosophy"): Update comment about
5434 exception testing.
5435 (OVERFLOW_EXCEPTION): Define.
5436 (OVERFLOW_EXCEPTION_OK): Likewise.
5437 (INVALID_EXCEPTION_OK): Renumber.
5438 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5439 (IGNORE_ZERO_INF_SIGN): Likewise.
5440 (test_exceptions): Handle FE_OVERFLOW.
5441 (exp10_test): Expect overflow exceptions.
5442 (exp2_test): Likewise.
5443 (expm1_test): Likewise.
5444 (nextafter_test): Likewise.
5445 (pow_test): Likewise.
5446 (scalbn_test): Likewise.
5447 (scalbln_test): Likewise.
5448
95443d88
L
54492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5450
5451 * sysdeps/x86_64/bits/atomic.h
5452 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5453 64bit integer.
5454 (atomic_exchange_acq): Likewise.
5455 (__arch_exchange_and_add_body): Likewise.
5456 (__arch_add_body): Likewise.
5457 (atomic_add_negative): Likewise.
5458 (atomic_add_zero): Likewise.
5459
490df6c4
L
54602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5461
c2722551 5462 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5463 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5464
5e52b189
L
54652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5466
5467 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5468 Check __x86_64__ instead of __WORDSIZE.
5469
a9879d4c
L
54702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5471
5472 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5473
5df98260
DM
54742012-03-19 David S. Miller <davem@davemloft.net>
5475
e1497744
DM
5476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5477
5df98260
DM
5478 * sysdeps/sparc/fpu/fenv_private.h: New file.
5479 * sysdeps/sparc/fpu/math_private.h: Use it.
5480 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5481 Remove.
5482 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5483 (libc_feholdexcept_setroundl): Remove.
5484 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5485 Remove.
5486 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5487 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5488
b4c35121
L
54892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5490
5491 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5492 int64_t instead of long int.
5493 (INSERT_WORDS64): Likwise.
5494
56965fd7
L
54952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5496
5497 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5498 _Unwind_GetCFA return to _Unwind_Ptr first.
5499
83d1aec8
JM
55002012-03-19 Joseph Myers <joseph@codesourcery.com>
5501
1897ad44
JM
5502 [BZ #13629]
5503 * math/s_clog.c: Include <float.h>.
5504 (__clog): Scale large or subnormal inputs.
5505 * math/s_clogf.c: Likewise.
5506 * math/s_clogl.c: Likewise.
5507 * math/s_clog10.c: Include <float.h>.
5508 (M_LOG10_2): Define.
5509 (__clog10): Scale large or subnormal inputs.
5510 * math/s_clog10f.c: Likewise.
5511 * math/s_clog10l.c: Likewise.
5512 * math/libm-test.inc (clog_test): Add more tests.
5513 (clog10_test): Likewise.
5514 * sysdeps/i386/fpu/libm-test-ulps: Update.
5515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5516
7726d6a9
JM
5517 [BZ #11451]
5518 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5519 x and y.
5520 * math/libm-test.inc (atan2_test): Add another test.
5521
83d1aec8
JM
5522 * Makerules (common-objdir-compile): Remove.
5523 * sysdeps/unix/Makefile (config-generated): Do not add
5524 $(unix-generated) to variable.
5525 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5526 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5527 Remove rule.
5528 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5529 Likewise.
5530 [generic bits/local_lim.h] (before-compile): Do not append to
5531 variable.
5532 [generic bits/local_lim.h] (common-generated): Likewise.
5533 [generic sys/param.h] (before-compile): Do not append to variable.
5534 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5535 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5536 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5537 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5538 include.
5539 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5540 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5541 [generic sys/param.h] ($(addprefix
5542 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5543 [generic sys/param.h] (common-generated): Do not append to
5544 variable.
5545 [generic sys/param.h] (sysdep_headers): Likewise.
5546 [generic bits/errno.h] (before-compile): Do not append to
5547 variable.
5548 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5549 rule.
5550 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5551 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5552 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5553 [generic bits/errno.h] (common-generated): Do not append to
5554 variable.
5555 [generic bits/ioctls.h] (before-compile): Do not append to
5556 variable.
5557 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5558 rule.
5559 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5560 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5561 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5562 rule.
5563 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5564 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5565 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5566 [generic bits/ioctls.h] (common-generated): Do not append to
5567 variable.
5568 [generic sys/syscall.h] (syscall.h): Remove variable.
5569 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5570 rule.
5571 [generic sys/syscall.h] (before-compile): Do not append to
5572 variable.
5573 [generic sys/syscall.h] (common-generated): Likewise.
5574 * sysdeps/unix/errnos-tmpl.c: Remove file.
5575 * sysdeps/unix/errnos.awk: Likewise.
5576 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5577 * sysdeps/unix/ioctls.awk: Likewise.
5578 * sysdeps/unix/mk-local_lim.c: Likewise.
5579 * sysdeps/unix/snarf-ioctls: Likewise.
5580
4851a949
RH
55812012-03-19 Richard Henderson <rth@twiddle.net>
5582
bd37f2ee
RH
5583 * sysdeps/i386/fpu/fenv_private.h: New file.
5584 * sysdeps/i386/fpu/math_private.h: Use it.
5585 (math_opt_barrier, math_force_eval): Remove.
5586 (libc_feholdexcept_setround_53bit): Remove.
5587 (libc_feupdateenv_53bit): Remove.
5588 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5589 (math_opt_barrier, math_force_eval): Remove.
5590 (libc_feholdexcept): Remove.
5591 (libc_feholdexcept_setround): Remove.
5592 (libc_fetestexcept, libc_fesetenv): Remove.
5593 (libc_feupdateenv_test): Remove.
5594 (libc_feupdateenv, libc_feholdsetround): Remove.
5595 (libc_feresetround): Remove.
5596
d0adc922
RH
5597 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5598 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5599
0fe0f1f8
RH
5600 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5601 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5602 (libc_feupdateenv_testl): New.
5603 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5604 (libc_feupdateenv_testf): New.
5605 (libc_feupdateenv): Use libc_feupdateenv_test.
5606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5607 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5608
eb92c487
RH
5609 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5610 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5611 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5612 (libc_feresetround_noex): New.
5613 (libc_feresetround_noexf): New.
5614 (libc_feresetround_noexl): New.
5615 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5616 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5617 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5618 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5619 SET_RESTORE_ROUND.
5620 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5622 (__cos): Likewise.
5623 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5624 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5625 SET_RESTORE_ROUND_NOEX.
5626 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5627 SET_RESTORE_ROUND_NOEXF.
5628 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5629 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5630 (libc_feholdsetroundf): New.
5631 (libc_feresetround, libc_feresetroundf): New.
5632
7d2e8012
RH
5633 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5634 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5635 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5636
b4dabbb4
RH
5637 * sysdeps/generic/math_private.h: Include <fenv.h>.
5638 (default_libc_feholdexcept): New.
5639 (default_libc_feholdexcept_setround): New.
5640 (default_libc_fesetenv, default_libc_feupdateenv): New.
5641 (libc_feholdexcept): Only define if undefined.
5642 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5643 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5644 (libc_feholdexcept_setroundl): Likewise.
5645 (libc_feholdexcept_setround_53bit): Likewise.
5646 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5647 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5648 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5649 (libc_feupdateenv_53bit): Likewise.
5650 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5651 (libc_feholdexcept): Convert from macro to inline function.
5652 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5653 (libc_fesetenv, libc_feupdateenv): Likewise.
5654
4851a949
RH
5655 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5656 not previously defined.
5657 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5658 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5659 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5660 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5661 * sysdeps/ieee754/flt-32/math_private.h: New file.
5662 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5663 math_private.h below SET_FLOAT_WORD.
5664 (__isnan, __isinf_ns, __finite): Remove.
5665 (__isnanf, __isinf_nsf, __finitef): Remove.
5666
e79d442e
AS
56672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5668
5669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5670
90b80344
DM
56712012-03-17 David S. Miller <davem@davemloft.net>
5672
5673 [BZ #6471]
5674 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5675 for 2.16.
5676
edc21804
DM
56772012-03-16 David S. Miller <davem@davemloft.net>
5678
77e927af
DM
5679 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5680 warnings.
5681
374976dd
DM
5682 [BZ #6471]
5683 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5684 properly.
5685 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5686 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5687 sysdep_routines when subdir is sysvipc.
5688 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5689 __getshmlba helper.
5690
edc21804
DM
5691 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5692
473c3ef3
L
56932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5694
5695 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5696 [__LP64__].
5697
eb0f39b6
L
56982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5699
5700 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5701 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5702 (__lround): Renamed to ...
5703 (__llround): This. Replace long int with long long int.
5704 Define lround functions as aliases of llround functions.
5705 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5706
6b6cd74b
L
57072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5708
5709 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5710 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5711 adresses to uintptr_t. Replace "long int" and "unsigned long
5712 int" with "greg_t" on va_arg.
5713
f1a77b01
L
57142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5715
5716 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5717 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5718
5719 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5720 Move e_machine check before EI_CLASS check. Handle x32
5721 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5722 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5723 SKIP_EM_IA_64 and include
5724 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5725
5726 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5727 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5728 (add_system_dir): New macro.
5729
5730 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5731 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5732
11b90b9f
JM
57332012-03-16 Joseph Myers <joseph@codesourcery.com>
5734
c36e1d23
JM
5735 [BZ #2551]
5736 [BZ #2552]
5737 [BZ #2553]
5738 [BZ #2554]
5739 [BZ #2562]
5740 [BZ #2563]
5741 [BZ #2565]
5742 [BZ #2566]
5743 [BZ #2576]
5744 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5745 (y0): Likewise.
5746 * math/w_j0f.c (j0f): Likewise.
5747 (y0f): Likewise.
5748 * math/w_j0l.c (__j0l): Likewise.
5749 (__y0l): Likewise.
5750 * math/w_j1.c (j1): Likewise.
5751 (y1): Likewise.
5752 * math/w_j1f.c (j1f): Likewise.
5753 (y1f): Likewise.
5754 * math/w_j1l.c (__j1l): Likewise.
5755 (__y1l): Likewise.
5756 * math/w_jn.c (jn): Likewise.
5757 (yn): Likewise.
5758 * math/w_jnf.c (jnf): Likewise.
5759 (ynf): Likewise.
5760 * math/w_jnl.c (__jnl): Likewise.
5761 (__ynl): Likewise.
5762 * math/libm-test.inc (j0_test): Add more tests.
5763 (j1_test): Likewise.
5764 (jn_test): Likewise. Add trailing semicolon to existing test.
5765 (y0_test): Likewise.
5766 (y1_test): Likewise.
5767 * sysdeps/i386/fpu/libm-test-ulps: Update.
5768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5769
11b90b9f
JM
5770 [BZ #13851]
5771 [BZ #13854]
5772 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5773 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5774 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5775 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5776 (__tanl): Set errno for infinite argument.
5777 * sysdeps/i386/fpu/mptan.c: Remove.
5778 * sysdeps/i386/fpu/s_tan.S: Likewise.
5779 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5780 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5781 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5782 * math/libm-test.inc (tan_test): Add more tests and enable more
5783 tests for double and long double.
5784 * sysdeps/i386/fpu/libm-test-ulps: Update.
5785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5786
6a1bd2a1
JK
57872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5788
5789 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5790 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5791
10a803e0
RM
57922012-03-16 Roland McGrath <roland@hack.frob.com>
5793
5794 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5795 * configure.in: Use it for both main tree and add-ons.
5796 * configure: Regenerated.
5797
f196c7f7
L
57982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5799
5800 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5801
8848d99d
JM
58022012-03-16 Joseph Myers <joseph@codesourcery.com>
5803
96cbe7f4
JM
5804 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5805 in comment.
5806
8848d99d
JM
5807 [BZ #13851]
5808 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5809 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5810 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5811 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5812 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5813 infinite argument.
5814 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5816 != 0 for prec == 2.
5817 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5818 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5819 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5820 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5821 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5822 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5823 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5824 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5825 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5826 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5827 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5828 * math/libm-test.inc (cos_test): Add more tests and enable more
5829 tests for long double.
5830 (sin_test): Likewise.
5831 (sincos_test): Likewise.
5832 * sysdeps/i386/fpu/libm-test-ulps: Update.
5833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5834
dd7f4703
DM
58352012-03-16 David S. Miller <davem@davemloft.net>
5836
5837 * sysdeps/sparc/fpu/math_private.h: New file.
5838
006f1daa
DM
58392012-03-15 David S. Miller <davem@davemloft.net>
5840
c0c83bc8
DM
5841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5842 file.
e6a62e18 5843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5845 file.
e6a62e18
DM
5846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5851 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5852 sysdep routines.
5853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5854
88cb87d9
DM
5855 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5856 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5857
006f1daa 5858 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5860 sparc-ifunc.h
006f1daa 5861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5863 Likewise.
5864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5865 Likewise.
006f1daa
DM
5866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5870 Likewise.
006f1daa
DM
5871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5876 Likewise.
5877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5878 Likewise.
006f1daa
DM
5879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5897 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5898 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5899 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5900 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5901 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5903
11e0098e
AS
59042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5905
5906 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5907 scaling.
5908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5909
e85b09d0
AJ
59102012-03-15 Andreas Jaeger <aj@suse.de>
5911
5912 [BZ #13852]
5913 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5914 ieee754/flt-32 implementation for sin, cos and sincos.
5915 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5916 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5917 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5918 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5919 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5920 ieee754/flt-32 implementation for tan.
5921
5922 * math/libm-test.inc (cos_test): Enable some large input tests for
5923 float as well
5924 (sin_test): Likewise.
5925 (sincos_test): Likewise.
5926 (tan_test): Add tests for large input.
5927
5928 * sysdeps/i386/fpu/libm-test-ulps: Update.
5929
81c64153
AJ
59302012-03-15 Andreas Jaeger <aj@suse.de>
5931
5932 [BZ #13658]
5933 * math/libm-test.inc (cos_test): Add more test cases.
5934 (sin_test): Likewise.
5935 (sincos_test): Likewise.
5936
7bbfa5c6
AJ
59372012-03-15 Andreas Jaeger <aj@suse.de>
5938
5939 [BZ #13837]
5940 * math/libm-test.inc (cos_test): Add a test case for large input
5941 value.
5942 (sin_test): Likewise.
5943 (sincos_test): Likewise.
5944
59452012-03-15 Andreas Jaeger <aj@suse.de>,
5946 Joseph Myers <joseph@codesourcery.com>
5947
5948 [BZ #13658]
0671f479 5949 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5950 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5951 * sysdeps/i386/fpu/branred.c: Likewise.
5952 * sysdeps/i386/fpu/dosincos.c: Likewise.
5953 * sysdeps/i386/fpu/mpa.c: Likewise.
5954 * sysdeps/i386/fpu/s_cos.S: Likewise.
5955 * sysdeps/i386/fpu/s_sin.S: Likewise.
5956 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5957 * sysdeps/i386/fpu/sincos32.c: Likewise.
5958
5959 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5960 Define.
5961 (libc_feupdateenv_53bit): Define.
5962 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5963 Define.
5964 (libc_feupdateenv_53bit): Define.
5965
5966 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5967 53 bit (without extend i386 double precision).
5968
5969 * math/libm-test.inc (sincos_test): Add tests for large input.
5970 (sin): Likewise.
5971 (cos): Likewise.
5972
5973 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5974
9cad04ea
AS
59752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5976
5977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5978
f7062b9a
DM
59792012-03-15 David S. Miller <davem@davemloft.net>
5980
5981 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5982 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5983 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5984 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5997 file.
f7062b9a 5998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6000 file.
f7062b9a 6001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6003 file.
f7062b9a 6004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6006 file.
f7062b9a
DM
6007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6008 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6009 fmin/fmax sysdep routines.
6010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6011
7bd951ff
DM
60122012-03-14 David S. Miller <davem@davemloft.net>
6013
559398ab
DM
6014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6043 routines.
6044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6045 file.
559398ab 6046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6048 file.
559398ab 6049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6051 file.
559398ab 6052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6054 file.
559398ab 6055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6057 file.
559398ab 6058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6060 file.
6061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6062 file.
6063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6064 file.
6065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6066 file.
6067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6068 New file.
6069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6070 file.
6071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6072 file.
559398ab 6073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6075 file.
559398ab 6076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6078 file.
559398ab 6079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6081 file.
559398ab 6082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6084 VIS3 routines.
559398ab
DM
6085
6086 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6087 New file.
6088
5a1c1e32
DM
6089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6090
eae47a36
DM
6091 * sysdeps/sparc/configure.in: New file.
6092 * sysdeps/sparc/configure: Generate.
6093 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6094 * configure: Regenerate.
6095 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6096 * config.make.in (have-as-vis3): New.
6097 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6098 available use -Av9d instead of -Av9a.
6099 * sysdeps/sparc/sparc64/Makefile: Likewise.
6100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6102 New file.
6103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6104 file.
6105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6106 New file.
6107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6108 file.
eae47a36
DM
6109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6114
c0c83bc8
DM
6115 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6116 fzeros/fnegs to load 0x80000000 into a float register instead of
6117 using the stack.
7bd951ff
DM
6118 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6119
bd951ccb
JM
61202012-03-14 Joseph Myers <joseph@codesourcery.com>
6121
6122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6123 bits/syscall.h.
6124 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6125 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6126 ($(inst_includedir)/bits/syscall.h): Remove rule.
6127 ($(objpfx)bits/syscall.d): Include instead of
6128 $(objpfx)syscall-list.d.
6129 (generated): Change syscall-list.h and syscall-list.d to
6130 bits/syscall.h and bits/syscall.d.
6131
bb4e6db2
RM
61322012-03-14 Roland McGrath <roland@hack.frob.com>
6133
6134 [BZ #13846]
6135 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6136
aa4a2ae1
JM
61372012-03-14 Joseph Myers <joseph@codesourcery.com>
6138
e456826d
JM
6139 [BZ #13841]
6140 * math/s_csqrt.c: Include <float.h>.
6141 (__csqrt): Scale large or subnormal inputs.
6142 * math/s_csqrtf.c: Likewise.
6143 * math/s_csqrtl.c: Likewise.
6144 * math/libm-test.inc (csqrt_test): Add more tests.
6145 * sysdeps/i386/fpu/libm-test-ulps: Update.
6146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6147
aa4a2ae1
JM
6148 [BZ #13840]
6149 * math/libm-test.inc (hypot_test): Add more tests.
6150
7c10fd35
DM
61512012-03-13 David S. Miller <davem@davemloft.net>
6152
6153 [BZ #13840]
6154 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6155 double-precision for the calculation instead of scaling.
6156
f453b98b
JM
61572012-03-13 Joseph Myers <joseph@codesourcery.com>
6158
6159 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6160 manipulate bits before adding and subtracting TWO52[sx].
6161 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6162 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6163 Likewise.
6164 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6165
09a3453f
DM
61662012-03-13 David S. Miller <davem@davemloft.net>
6167
8e59da90
DM
6168 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6169 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6171 rtld-global-offsets.h
6172 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6173
2a8ab7f2
DM
6174 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6175 large parameters.
6176
10f62770
DM
6177 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6178
5f0bdb18
DM
6179 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6180 'err' in the ifdef scope in which it is actually used.
6181
09a3453f
DM
6182 * nss/nss_db/db-init.c: Include string.h
6183
b4b2eb5e
DM
61842012-03-12 David S. Miller <davem@davemloft.net>
6185
98bb2f1c
DM
6186 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6187 masking out of the most significant byte of random value used.
6188 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6189 Fix coding style in previous change.
6190
b4b2eb5e
DM
6191 * sysdeps/unix/sysv/linux/kernel-features.h
6192 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6193 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6194 expression.
6195 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6196 later.
6197
6e226b09
DM
61982012-03-11 David S. Miller <davem@davemloft.net>
6199
a1bcbd40
DM
6200 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6201 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6202 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6203 for 'resultvar' otherwise things get truncated on 64-bit.
6204
cb9d6174
DM
6205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6206 Fix masking out of the most significant byte of random value used.
6207
6e226b09
DM
6208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6209
058c132d
AS
62102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6211
6212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6213
2d2cd515
DM
62142012-03-09 David S. Miller <davem@davemloft.net>
6215
6216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6217 variables with appropriate CPP guards.
6218 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6219 frame pointer, not the stack pointer. Correct layout comments. Fix test
6220 on resulting framesize and the management of the outregs buffer for pltexit.
6221 Preserve floating point return values across _dl_call_pltexit call.
6222 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6223 framesize and the management of the outregs buffer for pltexit.
6224 Preserve floating point return values across _dl_call_pltexit
6225 call.
6226 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6227 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6228 (print_exit): Fix format string for return register value.
6229
9a07f9d0
JM
62302012-03-10 Joseph Myers <joseph@codesourcery.com>
6231
6232 * sunrpc/Makefile (others): Add rpcgen.
6233 ($(objpfx)rpcgen): Remove special build rule and dependency on
6234 libc.
6235 * sunrpc/rpcgen.c: New file.
6236
547b5e30
PE
62372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6238
c524201a
PE
6239 [BZ #13673]
6240 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6241 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6242 * sysdeps/i386/crti.S: Likewise.
6243 * sysdeps/i386/crtn.S: Likewise.
6244 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6245 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6246 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6247 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6248 * sysdeps/sh/crti.S: Likewise.
6249 * sysdeps/sh/crtn.S: Likewise.
6250 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6251
7b6235f2
PE
6252 [BZ #13673]
6253 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6254 with URL.
6255 * locale/programs/locfile-kw.gperf: Likewise.
6256 * locale/programs/charmap-kw.h: Regenerated.
6257 * locale/programs/locfile-kw.h: Likewise.
6258
547b5e30
PE
6259 [BZ #13673]
6260 * intl/plural.y: Replace FSF snail mail address with URL.
6261 * intl/plural.c: Regenerated.
6262
5f0a5dae
RH
62632012-03-09 Richard Henderson <rth@twiddle.net>
6264
6265 * include/math_private.h: Remove file.
6266 * math/math_private.h: Move file ...
6267 * sysdeps/generic/math_private.h: ... here.
6268
b8c03620
RH
6269 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6270 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6271 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6272
4e234f5d 6273 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6274 and <math_private.h>.
6275 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6276 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6277 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6278 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6279 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6280 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6281 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6283 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6284 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6286 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6287 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6296 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6297 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6299 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6300 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6301 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6302 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6304 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6305 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6306 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6307 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6308 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6309 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6310 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6311 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6312 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6313 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6314 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6315 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6316 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6317 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6318 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6319 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6320 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6321 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6322 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6323 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6324 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6325 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6326 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6327 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6328 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6329 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6330 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6331 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6332 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6333 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6334 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6335 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6336 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6337 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6338 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6339 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6340 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6341 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6342 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6343 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6344 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6345 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6346 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6347 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6349 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6353 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6354 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6355 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6356 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6363 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6364 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6365 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6366 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6367 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6368 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6369 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6370 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6371 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6372 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6373 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6374 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6375 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6376 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6377 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6378 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6379 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6380 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6381 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6382 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6383 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6385 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6386 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6387 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6388 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6389 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6390 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6391 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6392 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6393 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6394 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6395 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6396 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6397 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6398 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6399 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6400 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6401 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6402 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6403 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6404 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6405 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6406 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6407 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6408 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6409 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6410 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6411 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6412 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6413 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6414 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6415 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6416 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6417 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6418 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6419 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6420 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6421 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6422 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6423 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6424 * sysdeps/ieee754/k_standard.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6502 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6505 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6507 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6537 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6538 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6539 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6540 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6544 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6545 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6547 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6548 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6550 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6551 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6552 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6553 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6554 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6555 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6556 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6557 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6559 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6560 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6561 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6562 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6563 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6564 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6565 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6567 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6568 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6571 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6572 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6573 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6574 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6575 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6578 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6580 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6585 * sysdeps/ieee754/s_lib_version.c: Likewise.
6586 * sysdeps/ieee754/s_matherr.c: Likewise.
6587 * sysdeps/ieee754/s_signgam.c: Likewise.
6588 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6589 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6590 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6591 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6592 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6593 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6594 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6595 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6596 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6597 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6598 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6599 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6600 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6602 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6603 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6604 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6605 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6606 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6609
1991fa03
JM
66102012-03-09 Joseph Myers <joseph@codesourcery.com>
6611
6612 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6613 * sunrpc/rpc_main.c: Likewise.
6614 * sunrpc/rpc_svcout.c: Likewise.
6615
60d6f5a6
DM
66162012-03-09 David S. Miller <davem@davemloft.net>
6617
6618 * include/math_private.h: New file.
6619
4962050e
JM
66202012-03-09 Joseph Myers <joseph@codesourcery.com>
6621
02a6f887
JM
6622 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6623 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6624 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6625 from <bits/socket_type.h>.
6626 (enum __socket_type): Don't define here.
6627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6629 bits/socket_type.h.
6630
c6e013c1
JM
6631 [BZ #13566]
6632 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6633 checking __USE_GNU.
6634
4962050e
JM
6635 * Makerules ($(inst_includedir)/%.h): New rule.
6636 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6637 (install-others): Remove variable setting.
6638 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6639
38842f45
RH
66402012-03-08 Richard Henderson <rth@twiddle.net>
6641
67bb6da6
RH
6642 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6643 from macro to inline function; merge with the
6644 !__LIBC_INTERNAL_MATH_INLINES version.
6645 (__ieee754_sqrtf): Likewise.
6646
15194b4b
RH
6647 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6648 to inline function.
6649 (__rintf, __floor, __floorf): Likewise.
6650
64e21ede
RH
6651 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6652 macro to inline function.
6653 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6654
38842f45
RH
6655 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6656 not <math/math_private.h>.
6657
c64bf5fe
DM
66582012-03-08 David S. Miller <davem@davemloft.net>
6659
6660 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6661 copyright year.
6662 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6663
82d86f28
TS
66642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6665
6666 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6667 normalization.
6668 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6669 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6670
aea5d727
UD
66712012-03-08 Ulrich Drepper <drepper@gmail.com>
6672
6673 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6674 be defined individually, they must be defined as a block. Define
6675 S for printing a string instead of hidint the different by using a
6676 macro for adding the 'l'.
6677 * stdio-common/tst-fphex-wide.c: Adjust.
6678
70bca0a3
MP
66792012-03-07 Marek Polacek <polacek@redhat.com>
6680
6681 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6682
65b81130
MP
66832012-03-08 Marek Polacek <polacek@redhat.com>
6684
6685 [BZ #13806]
6686 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6687 * stdio-common/tst-fphex.c: Define a few macros to make the
6688 test reusable. Use them.
6689 * stdio-common/tst-fphex-wide.c: New file.
6690
07037eeb
JM
66912012-03-08 Joseph Myers <joseph@codesourcery.com>
6692
a7a93d50
JM
6693 [BZ #6911]
6694 * manual/macros.texi (gnusystems): New macro.
6695 (nongnusystems): Likewise.
6696 (gnulinuxhurdsystems): Likewise.
6697 (gnuhurdsystems): Likewise..
6698 (gnulinuxsystems): Likewise.
6699 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6700 variants of the GNU system, not "GNU system".
6701 * manual/conf.texi: Likewise.
6702 * manual/errno.texi: Likewise. Update example of errno macro
6703 expansion.
6704 * manual/filesys.texi: Likewise.
6705 (getumask): Document as specific to GNU/Hurd.
6706 * manual/install.texi: Likewise. Reword some references to
6707 GNU/Linux.
6708 * manual/intro.texi: Likewise.
6709 * manual/io.texi: Likewise.
6710 (File Name Portability): Detail which constraints are inapplicable
6711 to all GNU systems and which are only inapplicable to GNU/Hurd.
6712 * manual/job.texi: Likewise.
6713 * manual/llio.texi: Likewise.
6714 (O_NOCTTY): Document as present on GNU/Linux.
6715 * manual/maint.texi: Likewise.
6716 * manual/memory.texi: Likewise.
6717 * manual/pattern.texi: Likewise.
6718 * manual/pipe.texi: Likewise.
6719 * manual/process.texi: Likewise.
6720 * manual/resource.texi: Likewise.
6721 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6722 child on GNU/Hurd.
6723 * manual/setjmp.texi: Likewise.
6724 * manual/signal.texi: Likewise.
6725 * manual/startup.texi: Likewise.
6726 * manual/stdio.texi: Likewise.
6727 * manual/terminal.texi: Likewise.
6728 (ONLCR): Document as POSIX.
6729 (OXTABS): Document availability on GNU/Linux as XTABS.
6730 (ONOEOT): Document availability separately from other bits.
6731 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6732 * manual/time.texi: Likewise.
6733 * manual/users.texi: Likewise.
6734 * INSTALL: Regenerated.
6735 * sysdeps/gnu/errlist.c: Regenerated.
6736
07037eeb
JM
6737 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6738 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6739 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6740 puts.
6741 * configure: Regenerated.
6742
d1d3431a
JM
67432012-03-07 Joseph Myers <joseph@codesourcery.com>
6744
af6a1e37
JM
6745 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6746 default includes instead of AC_HEADER_CHECK.
6747 * sysdeps/i386/configure: Regenerated.
6748
d1d3431a
JM
6749 [BZ #10716]
6750 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6751 * math/s_cacoshf.c (__cacoshf): Likewise.
6752 * math/s_cacoshl.c (__cacoshl): Likewise.
6753 * math/s_casinh.c (__casinh): Set signs of result from argument.
6754 * math/s_casinhf.c (__casinhf): Likewise.
6755 * math/s_casinhl.c (__casinhl): Likewise.
6756 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6757 (casinh_test): Add more tests.
6758 * sysdeps/i386/fpu/libm-test-ulps: Update.
6759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6760
482ff4da
UD
67612012-03-07 Ulrich Drepper <drepper@gmail.com>
6762
872fda05
UD
6763 * po/zh_TW.po: Update from translation team.
6764
a4300c7a
UD
6765 * login/Makefile (distribute): Remove variable.
6766 * catgets/Makefile: Likewise.
6767 * mach/Makefile: Likewise.
6768 * malloc/Makefile: Likewise.
6769 * misc/Makefile: Likewise.
6770 * iconv/Makefile: Likewise.
6771 * nscd/Makefile: Likewise.
6772 * hurd/Makefile: Likewise.
6773 * manual/Makefile: Likewise.
6774 * locale/Makefile: Likewise.
6775 * intl/Makefile: Likewise.
6776 * conform/Makefile: Likewise.
6777 * nss/Makefile: Likewise.
6778 * time/Makefile: Likewise.
6779 * soft-fp/Makefile: Likewise.
6780 * dirent/Makefile: Likewise.
6781 * gmon/Makefile: Likewise.
6782 * po/Makefile: Likewise.
6783 * rt/Makefile: Likewise.
6784 * socket/Makefile: Likewise.
6785 * math/Makefile: Likewise.
6786 * signal/Makefile: Likewise.
6787 * debug/Makefile: Likewise.
6788 * elf/Makefile: Likewise.
6789 * timezone/Makefile: Likewise.
6790 * stdlib/Makefile: Likewise.
6791 * iconvdata/Makefile: Likewise.
6792 * sunrpc/Makefile: Likewise.
6793 * io/Makefile: Likewise.
6794 * argp/Makefile: Likewise.
6795 * inet/Makefile: Likewise.
6796 * hesiod/Makefile: Likewise.
6797 * grp/Makefile: Likewise.
6798 * csu/Makefile: Likewise.
6799 * wctype/Makefile: Likewise.
6800 * crypt/Makefile: Likewise.
6801 * libio/Makefile: Likewise.
6802 * string/Makefile: Likewise.
6803 * nis/Makefile: Likewise.
6804 * resolv/Makefile: Likewise.
6805 * stdio-common/Makefile: Likewise.
6806 * wcsmbs/Makefile: Likewise.
6807 * dlfcn/Makefile: Likewise.
6808 * posix/Makefile: Likewise.
6809
3b7c4e74 6810 [BZ #6959]
482ff4da
UD
6811 * timezone/Makefile: Don't install timezone files, just the programs
6812 and scripts.
6813
f72ed77d
UD
68142012-03-06 Ulrich Drepper <drepper@gmail.com>
6815
a000466f
UD
6816 * nss/databases.def: Add missing gshadow entry.
6817
f72ed77d
UD
6818 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6819
a53b7a4e
MP
68202012-03-06 Marek Polacek <polacek@redhat.com>
6821
6822 [BZ #13726]
6823 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6824 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6825 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6826 * stdio-common/tst-long-dbl-fphex.c: New file.
6827
e9258400
DM
68282012-03-06 David S. Miller <davem@davemloft.net>
6829
6830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6831 (set_obp_int): New function.
6832 (get_obp_int): New function.
6833 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6834 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6835 Avoid unused variable warnings on 'val' and use builtin_expect.
6836 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6837 __builtin_expect.
e9258400
DM
6838 (INLINE_CLONE_SYSCALL): Likewise.
6839
3bd2c723
DM
68402012-03-05 David S. Miller <davem@davemloft.net>
6841
6842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6843
bbb78d03
AS
68442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6845
884c5db4
AS
6846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6847
bbb78d03
AS
6848 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6849 only for |x| >= 40.
6850 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6851
1c9f702a 68522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6853
6854 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6855 Replace gettimeofday with __vdso_gettimeofday.
6856
7be16f82
RM
6857 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6858 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6859 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6860
6861 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6862 time with __vdso_time.
6863
ed58a00f
JM
68642012-03-05 Joseph Myers <joseph@codesourcery.com>
6865
6866 * manual/lang.texi (size_t): Note types to which size_t may be
6867 equivalent with the GNU C Library, but do not describe when
6868 differences between them are significant.
6869
30ee4ced
AJ
68702012-03-05 Andreas Jaeger <aj@suse.de>
6871
6872 * sysdeps/i386/fpu/libm-test-ulps: Update.
6873
b7cd39e8
JM
68742012-03-05 Joseph Myers <joseph@codesourcery.com>
6875
6876 [BZ #3976]
6877 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6878 (__ieee754_pow): Save and restore rounding mode and use
6879 round-to-nearest for main computations.
6880 * math/libm-test.inc (pow_test_tonearest): New function.
6881 (pow_test_towardzero): Likewise.
6882 (pow_test_downward): Likewise.
6883 (pow_test_upward): Likewise.
6884 (main): Call the new functions.
6885 * sysdeps/i386/fpu/libm-test-ulps: Update.
6886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6887
6888 [BZ #3976]
6889 * math/libm-test.inc (cosh_test_tonearest): New function.
6890 (cosh_test_towardzero): Likewise.
6891 (cosh_test_downward): Likewise.
6892 (cosh_test_upward): Likewise.
6893 (sinh_test_tonearest): Likewise.
6894 (sinh_test_towardzero): Likewise.
6895 (sinh_test_downward): Likewise.
6896 (sinh_test_upward): Likewise.
6897 (main): Call the new functions.
6898 * sysdeps/i386/fpu/libm-test-ulps: Update.
6899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6900
6c6a98c9
TV
69012012-03-05 Tom de Vries <tom@codesourcery.com>
6902
6903 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6904 default stack guard is set in last bytes.
6905 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6906
21bb2d2e 69072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6908
21bb2d2e 6909 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6910
21bb2d2e
AJ
6911 [BZ #13656]
6912 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6913 possibly allocate from heap instead of stack.
6914 * stdio-common/bug-vfprintf-nargs.c: New file.
6915 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6916
c6922934
AS
69172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6918
6919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6920
bc957d53
MP
69212012-03-03 Marek Polacek <polacek@redhat.com>
6922
6923 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6924 * math/math_private.h: Likewise.
6925 * stdlib/tst-strtod.c: Likewise.
6926 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6927 * sysdeps/x86_64/bits/atomic.h: Likewise.
6928
6358490d
DM
69292012-03-02 David S. Miller <davem@davemloft.net>
6930
6931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6935 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6936 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6937 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6938 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6939
01ae168d
RM
69402012-03-02 Roland McGrath <roland@hack.frob.com>
6941
d9a17c07
RM
6942 [BZ #13792]
6943 * manual/examples/README: New file, says the example source files
6944 can be used under GPL>=2.
6945 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6946 line containing just "*/".
6947 * manual/examples/add.c: Add copyright header (GPL>=2).
6948 * manual/examples/argp-ex1.c: Likewise.
6949 * manual/examples/argp-ex2.c: Likewise.
6950 * manual/examples/argp-ex3.c: Likewise.
6951 * manual/examples/argp-ex4.c: Likewise.
6952 * manual/examples/atexit.c: Likewise.
6953 * manual/examples/db.c: Likewise.
6954 * manual/examples/dir.c: Likewise.
6955 * manual/examples/dir2.c: Likewise.
6956 * manual/examples/execinfo.c: Likewise.
6957 * manual/examples/filecli.c: Likewise.
6958 * manual/examples/filesrv.c: Likewise.
6959 * manual/examples/fmtmsgexpl.c: Likewise.
6960 * manual/examples/genpass.c: Likewise.
6961 * manual/examples/inetcli.c: Likewise.
6962 * manual/examples/inetsrv.c: Likewise.
6963 * manual/examples/isockad.c: Likewise.
6964 * manual/examples/longopt.c: Likewise.
6965 * manual/examples/memopen.c: Likewise.
6966 * manual/examples/memstrm.c: Likewise.
6967 * manual/examples/mkfsock.c: Likewise.
6968 * manual/examples/mkisock.c: Likewise.
6969 * manual/examples/mygetpass.c: Likewise.
6970 * manual/examples/pipe.c: Likewise.
6971 * manual/examples/popen.c: Likewise.
6972 * manual/examples/rprintf.c: Likewise.
6973 * manual/examples/search.c: Likewise.
6974 * manual/examples/select.c: Likewise.
6975 * manual/examples/setjmp.c: Likewise.
6976 * manual/examples/sigh1.c: Likewise.
6977 * manual/examples/sigusr.c: Likewise.
6978 * manual/examples/stpcpy.c: Likewise.
6979 * manual/examples/strdupa.c: Likewise.
6980 * manual/examples/strftim.c: Likewise.
6981 * manual/examples/strncat.c: Likewise.
6982 * manual/examples/subopt.c: Likewise.
6983 * manual/examples/swapcontext.c: Likewise.
6984 * manual/examples/termios.c: Likewise.
6985 * manual/examples/testopt.c: Likewise.
6986 * manual/examples/testpass.c: Likewise.
6987 * manual/examples/timeval_subtract.c: Likewise.
6988
01ae168d
RM
6989 [BZ #13792]
6990 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6991 function to ...
6992 * manual/timeval_subtract.c.texi: ... here, new file.
6993
49efa33d
DM
69942012-03-02 David S. Miller <davem@davemloft.net>
6995
6996 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6997
28afd92d
JM
69982012-03-02 Joseph Myers <joseph@codesourcery.com>
6999
804360ed
JM
7000 [BZ #3976]
7001 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7002 (__sin): Save and restore rounding mode and use round-to-nearest
7003 for all computations.
7004 (__cos): Save and restore rounding mode and use round-to-nearest
7005 for all computations.
7006 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7007 <fenv.h>.
7008 (tan): Save and restore rounding mode and use round-to-nearest for
7009 all computations.
7010 * math/libm-test.inc (cos_test_tonearest): New function.
7011 (cos_test_towardzero): Likewise.
7012 (cos_test_downward): Likewise.
7013 (cos_test_upward): Likewise.
7014 (sin_test_tonearest): Likewise.
7015 (sin_test_towardzero): Likewise.
7016 (sin_test_downward): Likewise.
7017 (sin_test_upward): Likewise.
7018 (tan_test_tonearest): Likewise.
7019 (tan_test_towardzero): Likewise.
7020 (tan_test_downward): Likewise.
7021 (tan_test_upward): Likewise.
7022 (main): Call the new functions.
7023 * sysdeps/i386/fpu/libm-test-ulps: Update.
7024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7025
a6d06d7b
JM
7026 [BZ #10135]
7027 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7028 small n, then large n, before computing and testing k+n.
7029 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7031 Likewise.
7032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7033 Likewise.
7034 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7035 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7036 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7037 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7038 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7039 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7040 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7041 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7042 * math/libm-test.inc (scalbn_test): Add more tests.
7043 (scalbln_test): Likewise.
7044
07e12bb3
JM
7045 * manual/filesys.texi (mode_t): Describe constraints on size and
7046 signedness, not exact equivalence to a particular type.
7047 (ino_t): Likewise.
7048 (ino64_t): Likewise.
7049 (dev_t): Likewise.
7050 (nlink_t): Likewise.
7051 (blkcnt_t): Likewise.
7052 (blkcnt64_t): Likewise.
7053 * manual/llio.texi (off_t): Likewise.
7054
28afd92d
JM
7055 [BZ #3976]
7056 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7057 (__ieee754_exp): Save and restore rounding mode and use
7058 round-to-nearest for all computations.
7059 * math/libm-test.inc (exp_test_tonearest): New function.
7060 (exp_test_towardzero): Likewise.
7061 (exp_test_downward): Likewise.
7062 (exp_test_upward): Likewise.
7063 (main): Call the new functions.
7064 * sysdeps/i386/fpu/libm-test-ulps: Update.
7065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7066
b1eeb65d
CD
70672012-03-01 Chris Demetriou <cgd@google.com>
7068
7069 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7070 have predictable order.
7071
53362a4b
DM
70722012-03-01 David S. Miller <davem@davemloft.net>
7073
3c969083
DM
7074 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7075
759707de
DM
7076 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7077 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7078 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7079 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7080
dfdb8ff2
DM
7081 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7082 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7083 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7085 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7086 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7087 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7088 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7089 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7090
ead89f96
DM
7091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7092
7f66bd07
DM
7093 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7094 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7095 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7096
53362a4b
DM
7097 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7099 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7100 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7101 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7102 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7103 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7104 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7105 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7106 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7107 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7108 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7110 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7111 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7113 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7114 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7115 * sysdeps/sparc/elf/configure: Regenerated.
7116
7b1902cb
JM
71172012-03-01 Joseph Myers <joseph@codesourcery.com>
7118
bec039bc
JM
7119 * configure.in (AS, LD): Require binutils 2.20 or later.
7120 * configure: Regenerated.
7121 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7122 as required minimum version.
7123 * INSTALL: Regenerated.
7124
7b1902cb
JM
7125 [BZ #2541]
7126 [BZ #4108]
7127 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7128 before squaring exponent.
7129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7130 bottom long double and 27 bits of top long double before squaring
7131 exponent.
7132 * math/libm-test.inc (erfc_test): Add more tests.
7133 * sysdeps/i386/fpu/libm-test-ulps: Update.
7134 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7136
f775c276
KT
71372012-03-01 Kai Tietz <ktietz@redhat.com>
7138
7139 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7140 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7141 containing bit-fields.
7142 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7143 * soft-fp/single.h (_FP_UNION_S): Likewise.
7144 * soft-fp/double.h (_FP_UNION_D): Likewise.
7145
5b8a4d4a
JM
71462012-02-29 Joseph Myers <joseph@codesourcery.com>
7147
0bab47b6
JM
7148 [BZ #13786]
7149 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7150 not include ../strcmp.S.
7151 [USE_AS_STRNCASECMP_L]: Likewise.
7152 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7153 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7154 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7155 (__strncasecmp_l_ia32): Define as alias to
7156 __strncasecmp_l_nonascii.
7157
0fcad3e2
JM
7158 [BZ #5794]
7159 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7160 * sysdeps/i386/fpu/libm-test-ulps: Update.
7161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7162
5b8a4d4a
JM
7163 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7165
8fdceb2e
JL
71662012-02-29 Jeff Law <law@redhat.com>
7167
7168 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7169 out of bounds read.
7170
1f393a11
MP
71712012-02-29 Marek Polacek <polacek@redhat.com>
7172
7173 [BZ #13706]
7174 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7175 * elf/Makefile: Add rules to run tst-unused-dep.out.
7176
8847f037
DM
71772012-02-28 David S. Miller <davem@davemloft.net>
7178
7179 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7180 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7181 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7183 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7184 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7185
169d7f11
JM
71862012-02-29 Joseph Myers <joseph@codesourcery.com>
7187
7188 * math/libm-test.inc (llround_test): Move one test from
7189 lround_test. Use TEST_f_L in moved test.
7190 (lround_test): Move misplaced test to llround_test. Add testcase
7191 from bug 2561.
7192
39adf059
UD
71932012-02-28 Ulrich Drepper <drepper@gmail.com>
7194
7195 * sysdeps/x86_64/fpu/e_expf.S: New file.
7196 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7197
71b5d1c5
SB
71982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7199
7200 [BZ #13637]
7201 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7202 of remain_len that may cause incomplete multi-byte character and
7203 false match.
7204 * posix/bug-regex33.c: New file.
7205 * posix/Makefile (tests): Add bug-regex33.
7206
1f77f049
JM
72072012-02-28 Joseph Myers <joseph@codesourcery.com>
7208
7209 * manual/macros.texi: New file.
7210 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7211 * manual/libc.texinfo: Include macros.texi.
7212 * manual/creatute.texi: Likewise.
7213 * manual/install.texi: Likewise.
7214 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7215 @glibcadj{} in references to the GNU C Library.
7216 * manual/charset.texi: Likewise.
7217 * manual/conf.texi: Likewise.
7218 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7219 when not using those macros.
7220 * manual/creature.texi: Likewise.
7221 * manual/crypt.texi: Likewise.
7222 * manual/errno.texi: Likewise.
7223 * manual/filesys.texi: Likewise.
7224 * manual/header.texi: Likewise.
7225 * manual/install.texi: Likewise.
7226 * manual/intro.texi: Likewise.
7227 * manual/io.texi: Likewise.
7228 * manual/job.texi: Likewise.
7229 * manual/lang.texi: Likewise.
7230 * manual/libc.texiinfo: Likewise.
7231 * manual/llio.texi: Likewise.
7232 * manual/locale.texi: Likewise.
7233 * manual/maint.texi: Likewise.
7234 * manual/math.texi: Likewise.
7235 * manual/memory.texi: Likewise.
7236 * manual/message.texi: Likewise.
7237 * manual/nss.texi: Likewise.
7238 * manual/pattern.texi: Likewise.
7239 * manual/process.texi: Likewise.
7240 * manual/resource.texi: Likewise.
7241 * manual/search.texi: Likewise.
7242 * manual/setjmp.texi: Likewise.
7243 * manual/signal.texi: Likewise.
7244 * manual/socket.texi: Likewise.
7245 * manual/startup.texi: Likewise.
7246 * manual/stdio.texi: Likewise.
7247 * manual/string.texi: Likewise.
7248 * manual/sysinfo.texi: Likewise.
7249 * manual/syslog.texi: Likewise.
7250 * manual/terminal.texi: Likewise.
7251 * manual/time.texi: Likewise.
7252 * manual/users.texi: Likewise.
7253 * INSTALL: Regenerated.
7254 * NOTES: Regenerated.
d40c5d54 7255 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7256
450bf206
AS
72572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7258
7259 * include/dirent.h: Include <dirstream.h> before
7260 <dirent/dirent.h>.
7261
741a235b
DM
72622012-02-28 David S. Miller <davem@davemloft.net>
7263
7264 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7265 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7266 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7267 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7268
d6b5aa58
DM
72692012-02-27 David S. Miller <davem@davemloft.net>
7270
1aff59a3
DM
7271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7273 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7274 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7275
d6b5aa58
DM
7276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7277 frame pointer instead of stack pointer relative arg slot.
7278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7279 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7280 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7281
433f48bf
CD
72822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7283
7284 [BZ #3992]
7285 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7286
d674b76d
DM
72872012-02-27 David S. Miller <davem@davemloft.net>
7288
7289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7293 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7294 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7295 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7296 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7297
0e7727f7
JM
72982012-02-27 Joseph Myers <joseph@codesourcery.com>
7299
7300 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7301 later. Allow versions 5-9.
43be4ca2 7302 * configure: Regenerated.
0e7727f7
JM
7303 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7304 required minimum version and 4.6 as recommended version. Do not
7305 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7306 * INSTALL: Regenerated.
0e7727f7 7307
a78bc654
DM
73082012-02-27 David S. Miller <davem@davemloft.net>
7309
428d5830
DM
7310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7314 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7315 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7316 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7317 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7318
a78bc654
DM
7319 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7320 manipulate bits before adding and subtracting TWO112[sx].
7321 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7322
4579f81c
RM
73232012-02-27 Roland McGrath <roland@hack.frob.com>
7324
36c8acb4
RM
7325 [BZ #13775]
7326 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7327 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7328 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7329 being in POSIX, because they are in 1003.1-2008.
7330
84ad622b
RM
7331 * rt/tst-aio.c: Include <fcntl.h>.
7332 * rt/tst-aio7.c: Likewise.
7333 * rt/tst-aio64.c: Likewise.
7334
4579f81c
RM
7335 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7336
abd923db
JM
73372012-02-27 Joseph Myers <joseph@codesourcery.com>
7338
7339 * manual/install.texi (--with-headers): Describe headers as
7340 interface headers, not private headers.
7341 (Specific advice for GNU/Linux systems): Describe use of headers
7342 from "make headers_install", not private headers from older
7343 kernels.
43be4ca2 7344 * INSTALL: Regenerated.
abd923db
JM
7345 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7346 Change to 2.6.19.
7347 * sysdeps/unix/sysv/linux/configure: Regenerated.
7348
6664049b
JM
7349 * manual/llio.texi (fclean): Remove documentation.
7350
bb8b6697
JM
7351 * manual/Makefile (libc-texi-generated): New variable. Include
7352 version.texi.
7353 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7354 $(libc-texi-generated), not duplicated list of files.
7355 (version.texi, stamp-version): New rules.
7356 (realclean): Remove $(libc-texi-generated), not individual files
7357 from that list. Do not remove dir-add.texinfo.
7358 * manual/libc.texinfo: Comment out uses of edition numbers and
7359 references to printed manual. Remove last-updated dates.
7360 (EDITION): Comment out.
7361 (ISBN): Likewise.
7362 (VERSION, UPDATED): Remove.
7363 (version.texi): Include.
7364
12e5c3b9
AS
73652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7366
7367 * sysdeps/posix/spawni.c: Include <signal.h>.
7368 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7369 * sysdeps/pthread/aio_fsync.c: Likewise.
7370
4efeffc1 73712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7372
ba63ba08
UD
7373 * conform/Makefile (tests): Run only when not cross-compiling and
7374 when fast-check is not defined.
7375
d94a4670
UD
7376 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7377 * conform/data/limits.h-data: Fixes for POSIX2008.
7378 * conform/run-conformtest.sh: Run all tests.
7379 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7380 headers.
7381 * include/bits/dlfcn.h: Likewise.
7382 * include/langinfo.h: Likewise.
7383 * include/monetary.h: Likewise.
7384 * include/sys/poll.h: Likewise.
7385
7386 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7387 for __USE_GNU.
7388 * posix/spawn.h: Define __need_sigset_t.
7389 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7390 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7391 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7392 to get sigevent_t only.
7393 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7394 only for __USE_GNU.
7395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7396 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7397 process_vm_writev only for __USE_GNU.
7398 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7399
7400 * conform/Makefile: For now ignore errors from run-conformtest.
7401 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7402 POSIX to avoid namespace pollution. Don't prepend headers.
7403 * conform/data/aio.h-data: Fixes for POSIX testing.
7404 * conform/data/fcntl.h-data: Likewise.
7405 * conform/data/glob.h-data: Likewise.
7406 * conform/data/grp.h-data: Likewise.
7407 * conform/data/pthread.h-data: Likewise.
7408 * conform/data/pwd.h-data: Likewise.
7409 * conform/data/signal.h-data: Likewise.
7410 * conform/data/spawn.h-data: Likewise.
7411 * conform/data/stdio.h-data: Likewise.
7412 * conform/data/stdlib.h-data: Likewise.
7413 * conform/data/stropts.h-data: Likewise.
7414 * conform/data/sys/mman.h-data: Likewise.
7415 * conform/data/sys/stat.h-data: Likewise.
7416 * conform/data/sys/types.h-data: Likewise.
7417 * conform/data/sys/wait.h-data: Likewise.
7418 * conform/data/time.h-data: Likewise.
7419 * conform/data/unistd.h-data: Likewise.
7420 * conform/data/utime.h-data: Likewise.
7421
7422 * io/sys/stat.h: fchmod was always in POSIX.
7423 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7424 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7425 * rt/aio.h: Define __need_timespec before including <time.h>.
7426 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7427 struct. Add forward declaration of pthread_attr_t and use it in
7428 sigevent.
7429 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7430 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7431 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7432 always remove CLK_TCK definition.
7433
c20105c3
AS
74342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7435
7436 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7437
7a270350
UD
74382012-02-25 Ulrich Drepper <drepper@gmail.com>
7439
31341567
UD
7440 * conform/run-conformtest.sh: New file.
7441 * conform/Makefile: Run run-conformtest for tests.
7442 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7443 support.
7444
7445 * conform/data/uchar.h-data: New file.
7446 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7447 * conform/data/arpa/inet.h-data: Likewise.
7448 * conform/data/assert.h-data: Likewise.
7449 * conform/data/complex.h-data: Likewise.
7450 * conform/data/cpio.h-data: Likewise.
7451 * conform/data/ctype.h-data: Likewise.
7452 * conform/data/dirent.h-data: Likewise.
7453 * conform/data/dlfcn.h-data: Likewise.
7454 * conform/data/errno.h-data: Likewise.
7455 * conform/data/fcntl.h-data: Likewise.
7456 * conform/data/float.h-data: Likewise.
7457 * conform/data/fmtmsg.h-data: Likewise.
7458 * conform/data/fnmatch.h-data: Likewise.
7459 * conform/data/ftw.h-data: Likewise.
7460 * conform/data/glob.h-data: Likewise.
7461 * conform/data/grp.h-data: Likewise.
7462 * conform/data/iconv.h-data: Likewise.
7463 * conform/data/inttypes.h-data: Likewise.
7464 * conform/data/langinfo.h-data: Likewise.
7465 * conform/data/libgen.h-data: Likewise.
7466 * conform/data/limits.h-data: Likewise.
7467 * conform/data/locale.h-data: Likewise.
7468 * conform/data/math.h-data: Likewise.
7469 * conform/data/monetary.h-data: Likewise.
7470 * conform/data/mqueue.h-data: Likewise.
7471 * conform/data/ndbm.h-data: Likewise.
7472 * conform/data/net/if.h-data: Likewise.
7473 * conform/data/netdb.h-data: Likewise.
7474 * conform/data/netinet/in.h-data: Likewise.
7475 * conform/data/nl_types.h-data: Likewise.
7476 * conform/data/poll.h-data: Likewise.
7477 * conform/data/pthread.h-data: Likewise.
7478 * conform/data/pwd.h-data: Likewise.
7479 * conform/data/regex.h-data: Likewise.
7480 * conform/data/sched.h-data: Likewise.
7481 * conform/data/search.h-data: Likewise.
7482 * conform/data/semaphore.h-data: Likewise.
7483 * conform/data/setjmp.h-data: Likewise.
7484 * conform/data/signal.h-data: Likewise.
7485 * conform/data/spawn.h-data: Likewise.
7486 * conform/data/stdarg.h-data: Likewise.
7487 * conform/data/stdio.h-data: Likewise.
7488 * conform/data/stdlib.h-data: Likewise.
7489 * conform/data/string.h-data: Likewise.
7490 * conform/data/strings.h-data: Likewise.
7491 * conform/data/stropts.h-data: Likewise.
7492 * conform/data/sys/ipc.h-data: Likewise.
7493 * conform/data/sys/mman.h-data: Likewise.
7494 * conform/data/sys/msg.h-data: Likewise.
7495 * conform/data/sys/resource.h-data: Likewise.
7496 * conform/data/sys/select.h-data: Likewise.
7497 * conform/data/sys/sem.h-data: Likewise.
7498 * conform/data/sys/shm.h-data: Likewise.
7499 * conform/data/sys/socket.h-data: Likewise.
7500 * conform/data/sys/stat.h-data: Likewise.
7501 * conform/data/sys/statvfs.h-data: Likewise.
7502 * conform/data/sys/time.h-data: Likewise.
7503 * conform/data/sys/timeb.h-data: Likewise.
7504 * conform/data/sys/times.h-data: Likewise.
7505 * conform/data/sys/types.h-data: Likewise.
7506 * conform/data/sys/uio.h-data: Likewise.
7507 * conform/data/sys/un.h-data: Likewise.
7508 * conform/data/sys/utsname.h-data: Likewise.
7509 * conform/data/sys/wait.h-data: Likewise.
7510 * conform/data/syslog.h-data: Likewise.
7511 * conform/data/tar.h-data: Likewise.
7512 * conform/data/termios.h-data: Likewise.
7513 * conform/data/utime.h-data: Likewise.
7514 * conform/data/utmpx.h-data: Likewise.
7515 * conform/data/varargs.h-data: Likewise.
7516 * conform/data/wchar.h-data: Likewise.
7517 * conform/data/wctype.h-data: Likewise.
7518 * conform/data/wordexp.h-data: Likewise.
7519
7520 * include/stropts.h: New file.
7521 * include/uchar.h: New file.
7522 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7523 * include/assert.h: Likewise.
7524 * include/ctype.h: Likewise.
7525 * include/dirent.h: Likewise.
7526 * include/dlfcn.h: Likewise.
7527 * include/fcntl.h: Likewise.
7528 * include/fnmatch.h: Likewise.
7529 * include/glob.h: Likewise.
7530 * include/grp.h: Likewise.
7531 * include/libio.h: Likewise.
7532 * include/locale.h: Likewise.
7533 * include/math.h: Likewise.
7534 * include/net/if.h: Likewise.
7535 * include/netdb.h: Likewise.
7536 * include/netinet/in.h: Likewise.
7537 * include/pthread.h: Likewise.
7538 * include/pwd.h: Likewise.
7539 * include/regex.h: Likewise.
7540 * include/sched.h: Likewise.
7541 * include/search.h: Likewise.
7542 * include/setjmp.h: Likewise.
7543 * include/signal.h: Likewise.
7544 * include/stdio.h: Likewise.
7545 * include/stdlib.h: Likewise.
7546 * include/string.h: Likewise.
7547 * include/sys/cdefs.h: Likewise.
7548 * include/sys/mman.h: Likewise.
7549 * include/sys/msg.h: Likewise.
7550 * include/sys/resource.h: Likewise.
7551 * include/sys/select.h: Likewise.
7552 * include/sys/socket.h: Likewise.
7553 * include/sys/stat.h: Likewise.
7554 * include/sys/statvfs.h: Likewise.
7555 * include/sys/time.h: Likewise.
7556 * include/sys/times.h: Likewise.
7557 * include/sys/uio.h: Likewise.
7558 * include/sys/utsname.h: Likewise.
7559 * include/sys/wait.h: Likewise.
7560 * include/termios.h: Likewise.
7561 * include/time.h: Likewise.
7562 * include/ulimit.h: Likewise.
7563 * include/unistd.h: Likewise.
7564 * include/utime.h: Likewise.
7565 * include/wchar.h: Likewise.
7566 * include/wctype.h: Likewise.
7567 * include/wordexp.h: Likewise.
7568
7569 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7570
7a270350
UD
7571 * time/time.h: TIME_UTC must be a macro.
7572 Make timespec_get available for ISO C11 only as well.
7573
7724defc
UD
75742012-02-24 Ulrich Drepper <drepper@gmail.com>
7575
7576 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7577 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7578
6b1d1d46
JM
75792012-02-24 Joseph Myers <joseph@codesourcery.com>
7580
7581 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7582
0f8bbd69
JM
75832012-02-24 Joseph Myers <joseph@codesourcery.com>
7584
7585 * manual/texinfo.tex: Update to version 2012-01-19.16.
7586
66ab80bc
JM
75872012-02-24 Joseph Myers <joseph@codesourcery.com>
7588
7589 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7590
74981cc5
RM
75912012-02-24 Roland McGrath <roland@hack.frob.com>
7592
ee968201
RM
7593 [BZ #13738]
7594 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7595 * manual/fdl-1.3.texi: New file.
7596 * manual/fdl-1.1.texi: File removed.
7597
74981cc5
RM
7598 [BZ #13738]
7599 * manual/libc.texinfo (FDL_VERSION): New @set.
7600 Use it for mention of FDL in cover text.
7601 (Documentation License): Use it in @include file name.
7602
7bb764bc
JM
76032012-02-22 Joseph Myers <joseph@codesourcery.com>
7604 Roland McGrath <roland@hack.frob.com>
7605
7606 [BZ #5461]
7607 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7608 not LONG_LONG_MAX and LONG_LONG_MIN.
7609 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7610 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7611 name.
7612 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7613
6cbeae47
JM
76142012-02-22 Joseph Myers <joseph@codesourcery.com>
7615
7616 [BZ #2547]
7617 [BZ #11365]
7618 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7619 manipulate bits before adding and subtracting TWO23[sx].
7620 * math/libm-test.inc (nearbyint_test): Add more tests.
7621
fe45ce09
JM
76222012-02-22 Joseph Myers <joseph@codesourcery.com>
7623
7624 [BZ #2548]
7625 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7626 bits before adding and subtracting TWO23[sx].
7627 * math/libm-test.inc (rint_test): Add more tests.
7628 (rint_test_tonearest): Likewise.
7629 (rint_test_towardzero): Likewise.
7630 (rint_test_downward): Likewise.
7631 (rint_test_upward: Likewise.
7632
ff3b3d82
JM
76332012-02-22 Joseph Myers <joseph@codesourcery.com>
7634
7635 [BZ #10110]
7636 * include/stdc-predef.h: New file. Extracted from features.h.
7637 * include/features.h: Include stdc-predef.h.
7638 * Makefile (headers): Add stdc-predef.h.
7639 * CONFORMANCE (Compiler limitations): Update.
7640
ef0aab35
JM
76412012-02-22 Joseph Myers <joseph@codesourcery.com>
7642
7643 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7644
58639409
DM
76452012-02-21 David S. Miller <davem@davemloft.net>
7646
7647 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7648 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7649
c0e70b25
DM
76502012-02-20 David S. Miller <davem@davemloft.net>
7651
7652 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7653 using a normal save/restore sequence, rather than allocating a
7654 dummy stack frame just to store a frame pointer and restore.
7655 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7656
fb06851d
JM
76572012-02-21 Joseph Myers <joseph@codesourcery.com>
7658
7659 * manual/install.texi: Fix stray word in line-wrapped comment.
7660
7a8b71c3
DM
76612012-02-20 David S. Miller <davem@davemloft.net>
7662
d510c123
DM
7663 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7664 both binutils and gcc support GOTDATA.
7665
0722d7c2
DM
7666 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7667 "rd %pc" in the PIC register setup sequences.
7668
3d2b3019
DM
7669 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7670 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7671 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7672 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7673 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7675 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7676 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7678 (SYSCALL_ERROR_HANDLER): Likewise.
7679 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7680 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7682 (SYSCALL_ERROR_HANDLER): Likewise.
7683
c80098a9
DM
7684 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7685 (HAVE_GCC_GOTDATA): New.
7686 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7687 relocation support in both binutils and gcc.
7688 * sysdeps/sparc/elf/configure: Regenerate.
7689
3a2545a0
DM
7690 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7691 * sysdeps/sparc/sparc32/elf/configure: Delete.
7692 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7693 * sysdeps/sparc/sparc64/elf/configure: Delete.
7694 * sysdeps/sparc/elf/configure.in: New file.
7695 * sysdeps/sparc/elf/configure: Generate.
7696
7a8b71c3
DM
7697 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7698 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7699 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7700 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7701 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7702
f1e86fca
JM
77032012-02-21 Joseph Myers <joseph@codesourcery.com>
7704
7705 * manual/install.texi: Do not mention specific glibc version
7706 numbers.
7707 * manual/libc.texinfo (VERSION, UPDATED): Update.
7708 (@copying): Use @copyright{} and range of years.
7709
0e7dfaef
JM
77102012-02-21 Joseph Myers <joseph@codesourcery.com>
7711
7712 [BZ #13695]
7713 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7714 [crti.S not in sysdirs] (generated): Do not append.
7715 [crti.S not in sysdirs] (omit-deps): Likewise.
7716 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7717 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7718 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7719 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7720 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7721 Likewise.
7722 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7723 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7724 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7725 * csu/defs.awk: Remove file.
7726 * sysdeps/generic/initfini.c: Likewise.
7727 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7728 variable.
7729 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7730 Likewise.
7731
599af3ca
JM
77322012-02-20 Joseph Myers <joseph@codesourcery.com>
7733
7734 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7735 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7736 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7737 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7738 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7739 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7740 <bits/epoll.h>.
7741 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7742 (__EPOLL_PACKED): Define to empty if not defined by
7743 <bits/epoll.h>.
7744 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7746 bits/epoll.h.
7747
0e499750
JM
77482012-02-20 Joseph Myers <joseph@codesourcery.com>
7749
7750 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7751 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7752 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7753 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7754 <bits/timerfd.h>.
7755 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7757 bits/timerfd.h.
7758
5ad91f6e
JM
77592012-02-20 Joseph Myers <joseph@codesourcery.com>
7760
7761 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7762 in C locale.
7763 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7764 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7767
06b99b02
AJ
77682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7769
7770 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7771 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7772
7638c0fd
AS
77732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7774
7775 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7776 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7777 defined.
7778 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7779 Likewise.
7780 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7781 entry for 2.16.
7782
92221550
AJ
77832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7784
7785 * math/w_acos.c: Use non-signaling floating-point comparisons.
7786 * math/w_acosf.c: Likewise.
7787 * math/w_acosh.c: Likewise.
7788 * math/w_acoshf.c: Likewise.
7789 * math/w_acoshl.c: Likewise.
7790 * math/w_acosl.c: Likewise.
7791 * math/w_asin.c: Likewise.
7792 * math/w_asinf.c: Likewise.
7793 * math/w_asinl.c: Likewise.
7794 * math/w_atanh.c: Likewise.
7795 * math/w_atanhf.c: Likewise.
7796 * math/w_atanhl.c: Likewise.
7797 * math/w_exp2.c: Likewise.
7798 * math/w_exp2f.c: Likewise.
7799 * math/w_exp2l.c: Likewise.
7800 * math/w_j0.c: Likewise.
7801 * math/w_j0f.c: Likewise.
7802 * math/w_j0l.c: Likewise.
7803 * math/w_j1.c: Likewise.
7804 * math/w_j1f.c: Likewise.
7805 * math/w_j1l.c: Likewise.
7806 * math/w_jn.c: Likewise.
7807 * math/w_jnf.c: Likewise.
7808 * math/w_log.c: Likewise.
7809 * math/w_log10.c: Likewise.
7810 * math/w_log10f.c: Likewise.
7811 * math/w_log10l.c: Likewise.
7812 * math/w_log2.c: Likewise.
7813 * math/w_log2f.c: Likewise.
7814 * math/w_log2l.c: Likewise.
7815 * math/w_logf.c: Likewise.
7816 * math/w_logl.c: Likewise.
7817 * math/w_sqrt.c: Likewise.
7818 * math/w_sqrtf.c: Likewise.
7819 * math/w_sqrtl.c: Likewise.
7820 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7821 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7823 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7824 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7825
ebaf36eb
JM
78262012-02-19 Joseph Myers <joseph@codesourcery.com>
7827
7828 [BZ #9739]
7829 * manual/string.texi (strnlen): Use correct parameter name in
7830 equivalent expression.
7831
71c254a6
JM
78322012-02-19 Joseph Myers <joseph@codesourcery.com>
7833
7834 [BZ #11174]
7835 * manual/users.texi (seteuid): Consistently use neweuid for
7836 argument name.
7837
16d2c631
JM
78382012-02-19 Joseph Myers <joseph@codesourcery.com>
7839
7840 [BZ #13704]
7841 * manual/nss.texi (Services in the NSS configuration): Correct
7842 list of services in example configuration file.
7843
cd837b09
NB
78442012-02-19 Nick Bowler <nbowler@draconx.ca>
7845
7846 [BZ #11322]
7847 * manual/arith.texi: Remove statements about negative zero
7848 behaving identically to zero.
7849
02c4bbad
JM
78502012-02-18 Joseph Myers <joseph@codesourcery.com>
7851
7852 [BZ #5993]
7853 * manual/install.texi: Do not document upgrading from libc5.
7854
366842e7
JM
78552012-02-18 Joseph Myers <joseph@codesourcery.com>
7856
7857 [BZ #4596]
7858 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7859
dd54084d
DM
78602012-02-18 David S. Miller <davem@davemloft.net>
7861
7862 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7863 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7864 %o7 across the call.
7865 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7866 instead.
7867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7868 SETUP_PIC_REG_LEAF.
7869 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7870 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7871 * sysdeps/sparc/crtn.S: Likewise.
7872
2bcc53a3
UD
78732012-02-17 Ulrich Drepper <drepper@gmail.com>
7874
7875 * aout/Makefile: Remove.
7876
09c093b5
RK
78772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7878
7879 [BZ #13058]
7880 * manual/examples/argp-ex1.c (main): Format definition in GNU
7881 style.
7882 * manual/examples/argp-ex2.c (main): Likewise.
7883 * manual/examples/argp-ex3.c (main): Likewise.
7884 * manual/examples/argp-ex4.c (main): Likewise.
7885 * manual/examples/longopt.c (main): Use new-style prototype
7886 definition.
7887 * manual/examples/strncat.c (main): Specify return type and use
7888 (void) for arguments.
7889 * manual/examples/subopt.c (main): Use char **argv argument.
7890
2ee633a2
JM
78912012-02-17 Joseph Myers <joseph@codesourcery.com>
7892
7893 [BZ #5077]
7894 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7895 rounding modes.
7896
0520adde
FB
78972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7898
7899 [BZ #6907]
7900 * manual/string.texi (strchr): Change when strchrnul is
7901 recommended.
7902
3f4081cd
DGM
79032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7904
7905 [BZ #174]
7906 * manual/locale.texi (setlocale): Document LOCPATH.
7907
d1b10e78
JM
79082012-02-17 Joseph Myers <joseph@codesourcery.com>
7909
7910 [BZ #10210]
7911 * manual/process.texi (execle): Move @dots{} before last argument.
7912
79c6869c
PB
79132012-02-17 Paul Bolle <pebolle@tiscali.nl>
7914
7915 [BZ #12047]
7916 * manual/charset.texi (Generic Charset Conversion): Fix typo
7917 (LC_TYPE -> LC_CTYPE).
7918
cc6e48bc
NB
79192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7920
7921 [BZ #5805]
7922 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7923 (scalbnf): Likewise.
7924 (scalbnl): Likewise.
7925 (scalbln): Likewise.
7926 (scalblnf): Likewise.
7927 (scalblnl): Likewise.
7928 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7929 (vwarnx): Likewise.
7930 (verr): Likewise.
7931 (verrx): Likewise.
7932 * manual/filesys.texi (telldir): Use braces around return type.
7933 * manual/llio.texi (mmap): Add space after comma.
7934 (mmap64): Likewise.
7935 * manual/math.texi (jn): Use @var{} on parameter names.
7936 (jnf): Likewise.
7937 (jnl): Likewise.
7938 (yn): Likewise.
7939 (ynf): Likewise.
7940 (ynl): Likewise.
7941 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7942 line.
7943 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7944 "...".
7945 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7946 (sched_get_priority_max): Likewise.
7947 * manual/signal.texi (sigvec): Add space after comma.
7948 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7949 names.
7950 (if_indextoname): Likewise.
7951 (if_freenameindex): Likewise.
7952 (sendto): Use ',' instead of '.' in prototype.
7953 * manual/startup.texi (syscall): Use @dots{} instead of literal
7954 "...".
7955 * manual/stdio.texi (__fpending): Separate initial words of
7956 paragraph from @deftypefun line.
7957 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7958 "...".
7959 (vsyslog): Use @var{} on parameter names.
7960 * manual/terminal.texi (stty): Use @var{} on parameter names.
7961 * manual/users.texi (getutmp): Use @var{} on parameter names.
7962 (getutmpx): Likewise.
7963
5b23062f
JM
79642012-02-17 Joseph Myers <joseph@codesourcery.com>
7965
7966 [BZ #6884]
7967 * manual/stdio.texi (fopen): Fix typos in description of
7968 ",ccs=STRING".
7969
8dee4833
AJ
79702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7971
7972 [BZ #4026]
7973 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7974 get clock_id definition.
7975
9078ce93
TS
79762012-02-17 Thomas Schwinge <thomas@schwinge.name>
7977
7978 [BZ #4822]
7979 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7980 (madvise): Cast every argument to void on its own.
7981
3835c55f
JM
79822012-02-17 Joseph Myers <joseph@codesourcery.com>
7983
7984 [BZ #9902]
7985 * manual/startup.texi (Exit Status): Fix typo.
7986
35c47e37
JM
79872012-02-17 Joseph Myers <joseph@codesourcery.com>
7988
7989 [BZ #10140]
7990 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7991 * manual/examples/argp-ex2.c: Likewise.
7992 * manual/examples/argp-ex3.c: Likewise.
7993
e3b69ca7
RH
79942012-02-16 Richard Henderson <rth@redhat.com>
7995
7996 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7997 * sysdeps/s390/s390-32/initfini.c: Remove.
7998 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7999 * sysdeps/s390/s390-64/initfini.c: Remove.
8000
df83af67
KK
80012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8002
8003 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8004 compiler output for sysdeps/generic/initfini.c.
8005 * sysdeps/sh/elf/initfini.c: Remove file.
8006
f63f3380
DM
80072012-02-16 David S. Miller <davem@davemloft.net>
8008
fb59b3a4
DM
8009 [BZ #11494]
8010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8011
f63f3380
DM
8012 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8013 * sysdeps/sparc/crti.S: New file.
8014 * sysdeps/sparc/crtn.S: New file.
8015 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8016 * sysdeps/sparc/sparc64/Makefile: Likewise.
8017
df6a4a4a
MF
80182012-02-15 Mike Frysinger <vapier@gentoo.org>
8019
6dd8f3dc 8020 [BZ #3335]
df6a4a4a
MF
8021 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8022
1cac7236
RM
80232012-02-15 Roland McGrath <roland@hack.frob.com>
8024
d2c736f8
RM
8025 [BZ #4822]
8026 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8027
1cac7236
RM
8028 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8029 (write, read, close): Likewise.
8030 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8031
8e475601
JM
80322012-02-15 Joseph Myers <joseph@codesourcery.com>
8033
8034 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8035 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8036 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8037 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8038 <bits/signalfd.h>.
8039 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8041 bits/signalfd.h.
8042
ed656b40
MP
80432012-02-14 Marek Polacek <polacek@redhat.com>
8044
8045 * sysdeps/x86_64/crti.S: New file.
8046 * sysdeps/x86_64/crtn.S: New file.
8047 * sysdeps/x86_64/elf/initfini.c: Remove file.
8048
2a979d3a
JM
80492012-02-13 Joseph Myers <joseph@codesourcery.com>
8050
8051 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8052 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8053 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8054 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8055 <bits/inotify.h>.
8056 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8058 bits/inotify.h.
8059
2a418ac3
JM
80602012-02-13 Joseph Myers <joseph@codesourcery.com>
8061
8062 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8063 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8065 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8066 <bits/eventfd.h>.
8067 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8069 bits/eventfd.h.
8070
fb779be7
TS
80712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8072
e19e83c5
RM
8073 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8074 __feraiseexcept instead of feraiseexcept.
7c35ffed 8075
fb779be7
TS
8076 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8077 nanosleep invocations.
8078 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8079 strings, and add error checking for a nanosleep invocations.
8080
59ba27a6
PE
80812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8082
8083 Replace FSF snail mail address with URLs, as per GNU coding standards.
8084 Most of the snail mail addresses were wrong anyway, and omitting
8085 them makes the source code easier to maintain. Almost all of the
8086 changes are to license notices and to locale LC_IDENTIFICATION
8087 addresses, except for this one:
8088 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8089 not its snail mail address.
8090
57b957eb
RH
80912012-02-09 Richard Henderson <rth@twiddle.net>
8092
af850b1c
RH
8093 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8094 of kernel-features.h.
8095
57b957eb
RH
8096 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8097
6b73181a
MP
80982012-02-08 Marek Polacek <polacek@redhat.com>
8099
8100 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8101 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8102 * sysdeps/gnu/_G_config.h: Likewise.
8103 * sysdeps/generic/_G_config.h: Likewise.
8104
26ecc33a
AS
81052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8106
6c6dbc63
AS
8107 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8108 tests.
8109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8110
e216c012
AS
8111 * sysdeps/powerpc/powerpc32/crti.S: New file.
8112 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8113 * sysdeps/powerpc/powerpc64/crti.S: New file.
8114 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8115
26ecc33a
AS
8116 * Makeconfig (have-initfini): Don't set.
8117 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8118 * configure.in (nopic_initfini): Don't substitute.
8119 * config.h.in (HAVE_INITFINI): Don't #undef.
8120 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8121 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8122
3add8e13
JM
81232012-02-08 Joseph Myers <joseph@codesourcery.com>
8124
8125 Support crti.S and crtn.S provided directly by architectures.
8126 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8127 [crti.S in sysdirs] (omit-deps): Likewise.
8128 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8129 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8130 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8131 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8132 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8133 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8134 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8135 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8136 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8137 compiler output for sysdeps/generic/initfini.c.
8138 * sysdeps/i386/elf/Makefile: Remove file.
8139 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8140
a22f12b4
MP
81412012-02-07 Marek Polacek <polacek@redhat.com>
8142
8143 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8144 * sysdeps/gnu/_G_config.h: Likewise.
8145 * sysdeps/mach/hurd/_G_config.h: Likewise.
8146
148cf100
MP
81472012-02-07 Marek Polacek <polacek@redhat.com>
8148
8149 * math/Makefile (tests): Add tst-CMPLX2.
8150 * math/tst-CMPLX2.c: New file.
8151
cfdc0dd7
AS
81522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8153
84ba42c4
AS
8154 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8155
cfdc0dd7
AS
8156 * math/libm-test.inc (jn_test): Add missing L suffix.
8157
622c86f4
MP
81582012-02-06 Marek Polacek <polacek@redhat.com>
8159
8160 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8161 * sysdeps/i386/fpu/e_powf.S: Likewise.
8162 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8163 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8164 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8165 * sysdeps/i386/fpu/e_pow.S: Likewise.
8166 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8167 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8168 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8169 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8170 * sysdeps/i386/fpu/e_log2.S: Likewise.
8171 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8172 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8173 * sysdeps/i386/fpu/e_powl.S: Likewise.
8174 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8175 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8176 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8177 * sysdeps/i386/fpu/e_logl.S: Likewise.
8178 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8179 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8180 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8181 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8182 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8183 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8184 * sysdeps/i386/fpu/e_log.S: Likewise.
8185 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8186 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8187 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8188 * sysdeps/i386/fpu/e_logf.S: Likewise.
8189 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8190 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8191 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8192 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8193 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8194 * sysdeps/i386/fpu/e_log10.S: Likewise.
8195 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8196 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8197 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8198 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8199 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8200 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8201 * sysdeps/i386/asm-syntax.h: Likewise.
8202 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8203 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8204 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8205 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8206 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8207 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8208 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8209 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8210 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8211 * sysdeps/powerpc/sysdep.h: Likewise.
8212 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8213 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8214
d4a54ac6
JM
82152012-02-06 Joseph Myers <joseph@codesourcery.com>
8216
8217 [BZ #411]
8218 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8219
314054ea
JM
82202012-02-06 Joseph Myers <joseph@codesourcery.com>
8221
8222 * sysdeps/i386/sysdep.h: Include <features.h>.
8223 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8224 version.
8225
d8e0ca50
JM
82262012-02-05 Joseph Myers <joseph@codesourcery.com>
8227
8228 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8229 Define.
8230 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8231 LOAD_PIC_REG_STR.
8232
b1da7dd9
JM
82332012-02-03 Joseph Myers <joseph@codesourcery.com>
8234
8235 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8236 (SETUP_PIC_REG): Use GET_PC_THUNK.
8237 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8238 macro.
8239
9a1d9254
JM
82402012-02-03 Joseph Myers <joseph@codesourcery.com>
8241
8242 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8243 for non-PIC compilation.
8244 (SETUP_PIC_REG): Add .p2align directive.
8245 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8246 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8247 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8248 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8249 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8250 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8251 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8252 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8253 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8254 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8255 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8256 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8257 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8258 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8259 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8260 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8261 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8262 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8263 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8264 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8265 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8266 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8267 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8268 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8269 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8271 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8272 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8273 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8274 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8275 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8276 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8277 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8278 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8279 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8280 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8281 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8282 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8283 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8284 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8285 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8286
65dc3b75
JM
82872012-02-03 Joseph Myers <joseph@codesourcery.com>
8288
8289 * math/tst-CMPLX.c: Include <stdio.h>.
8290
d55bf177
JM
82912012-01-31 Joseph Myers <joseph@codesourcery.com>
8292
8293 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8294 float.
8295 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8296 * sysdeps/sparc/bits/mathdef.h: Likewise.
8297
69db4f8f
MP
82982012-01-31 Marek Polacek <polacek@redhat.com>
8299
8300 * libio/libio.h: Don't define _PARAMS.
8301 * locale/programs/config.h: Don't define PARAMS.
8302 * stdlib/strtol_l.c: Likewise.
8303 (__strtol_l): Remove PARAMS from the prototype.
8304
41b81892
UD
83052012-01-31 Ulrich Drepper <drepper@gmail.com>
8306
3b49edc0
UD
8307 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8308 names. Just use the correct names. Remove unnecessary wrapper
8309 functions.
8310 * malloc/arena.c: Likewise.
8311 * malloc/hooks.c: Likewise.
8312
41b81892
UD
8313 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8314 ARENA_TEST says not to. Simplify test for creation of a new arena.
8315 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8316
27a25b6e
UD
83172012-01-30 Ulrich Drepper <drepper@gmail.com>
8318
8319 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8320 into tail calls.
8321 (update_get_addr): New function.
8322 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8323 GET_ADDR_MODULE parameter.
8324
c8a89e7d
JM
83252012-01-30 Joseph Myers <joseph@codesourcery.com>
8326
8327 * crypt/cert.c: Remove __STDC__ conditionals.
8328 * crypt/crypt-entry.c: Likewise.
8329 * crypt/crypt_util.c: Likewise.
8330 * libio/filedoalloc.c: Likewise.
8331 * libio/fileops.c: Likewise.
8332 * libio/genops.c: Likewise.
8333 * libio/iofclose.c: Likewise.
8334 * libio/iofdopen.c: Likewise.
8335 * libio/iofopen.c: Likewise.
8336 * libio/iofopen64.c: Likewise.
8337 * libio/iogetdelim.c: Likewise.
8338 * libio/iopopen.c: Likewise.
8339 * libio/obprintf.c: Likewise.
8340 * libio/oldfileops.c: Likewise.
8341 * libio/oldiofclose.c: Likewise.
8342 * libio/oldiofdopen.c: Likewise.
8343 * libio/oldiofopen.c: Likewise.
8344 * libio/oldiopopen.c: Likewise.
8345 * libio/wfiledoalloc.c: Likewise.
8346 * libio/wgenops.c: Likewise.
8347 * locale/programs/xmalloc.c: Likewise.
8348 * misc/syslog.c: Likewise.
8349 * stdio-common/xbug.c: Likewise.
8350 * string/memchr.c: Likewise.
8351 * string/memcmp.c: Likewise.
8352 * string/memrchr.c: Likewise.
8353 * string/rawmemchr.c: Likewise.
8354 * sysdeps/posix/getcwd.c: Likewise.
8355 * time/strftime_l.c: Likewise.
8356
3b100462
JM
83572012-01-30 Joseph Myers <joseph@codesourcery.com>
8358
8359 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8360 * config.make.in (config-cflags-sse2avx): Define.
8361 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8362 Fix typo.
8363
607998af
CM
83642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8365
8366 * scripts/config.guess: Update from upstream config git repository.
8367 * scripts/config.sub: Likewise.
8368
3601428f
CM
83692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8370
3ac8b282
CM
8371 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8372 (EM_NUM): Update.
8373 (R_TILEPRO_*, R_TILEGX_*): New macros.
8374
e034841e
CM
8375 * scripts/firstversions.awk: Fix bug in version range handling.
8376
540d7568
CM
8377 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8378
3601428f
CM
8379 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8380
463de862
CM
8381 * include/sys/epoll.h: New file.
8382 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8383 libc_hidden_def.
8384
73139a76
UD
83852012-01-28 Ulrich Drepper <drepper@gmail.com>
8386
96bc5b45
UD
8387 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8388 Avoid unnecessary __WORDSIZE == 64 test.
8389 (fmaxf): Use VEX format if possible.
8390 (fmax): Likewise.
8391 (fminf): Likewise.
8392 (fmin): Likewise.
8393
56f6f6a2
UD
8394 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8395 * math/math_private.h: Remove libc_fegetround* and
8396 libc_fesetround*.
8397 * sysdeps/i386/configure.in: Check for -msse2avx.
8398 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8399 also if SSE2AVX is defined.
8400 Remove libc_fegetround* and libc_fesetround*.
8401 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8402 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8403 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8404 of HAS_YMM_USABLE.
8405 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8406 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8407 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8408 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8409 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8410
73139a76
UD
8411 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8412
d73f93a4
AZ
84132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8414
8415 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8416 size is not set.
8417 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8418
6ee65ed6
UD
84192012-01-27 Ulrich Drepper <drepper@gmail.com>
8420
8421 [BZ #13618]
8422 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8423 relocation.
8424 * Makeconfig (libm): Define.
8425 * elf/Makefile: Add rules to build and run tst-relsort1.
8426 * elf/tst-relsort1.c: New file.
8427 * elf/tst-relsort1mod1.c: New file.
8428 * elf/tst-relsort1mod2.c: New file.
8429
8db21882
JM
84302012-01-27 Joseph Myers <joseph@codesourcery.com>
8431
8432 * math/s_ldexp.c: Remove __STDC__ conditionals.
8433 * math/s_ldexpf.c: Likewise.
8434 * math/s_ldexpl.c: Likewise.
8435 * math/s_nextafter.c: Likewise.
8436 * math/s_nexttowardf.c: Likewise.
8437 * math/s_significand.c: Likewise.
8438 * math/s_significandf.c: Likewise.
8439 * math/s_significandl.c: Likewise.
8440 * math/w_jnl.c: Likewise.
8441 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8442 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8443 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8444 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8445 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8446 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8447 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8448 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8449 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8450 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8451 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8452 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8453 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8454 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8455 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8456 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8457 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8458 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8459 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8460 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8461 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8462 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8463 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8464 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8465 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8466 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8467 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8468 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8469 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8470 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8471 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8472 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8473 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8474 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8475 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8476 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8477 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8478 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8479 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8480 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8481 * sysdeps/ieee754/k_standard.c: Likewise.
8482 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8483 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8484 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8485 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8486 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8488 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8489 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8490 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8491 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8492 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8493 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8494 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8495 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8496 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8497 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8498 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8500 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8501 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8502 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8503 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8504 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8505 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8506 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8507 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8508 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8509 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8511 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8512 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8513 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8514 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8519 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8524 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8542 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8543 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8548 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8553 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8554 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8556 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8557 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8559 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8560 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8561 * sysdeps/ieee754/s_matherr.c: Likewise.
8562 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8563 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8565 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8566
965a54a4
JM
85672012-01-26 Joseph Myers <joseph@codesourcery.com>
8568
8569 * crypt/md5.h: Remove __STDC__ conditionals.
8570 * libio/libioP.h: Likewise.
8571 * locale/programs/config.h: Likewise.
8572 * sysdeps/generic/sysdep.h: Likewise.
8573 * sysdeps/i386/asm-syntax.h: Likewise.
8574 * sysdeps/s390/asm-syntax.h: Likewise.
8575 * sysdeps/unix/sysdep.h: Likewise.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8578
7071ad79
JM
85792012-01-26 Joseph Myers <joseph@codesourcery.com>
8580
8581 * libio/libio.h: Remove __STDC__ conditionals.
8582 * malloc/obstack.h: Likewise.
8583 * math/complex.h: Likewise.
8584 * math/math.h: Likewise.
8585 * sysdeps/generic/_G_config.h: Likewise.
8586 * sysdeps/gnu/_G_config.h: Likewise.
8587 * sysdeps/mach/hurd/_G_config.h: Likewise.
8588 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8589 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8590 * sysdeps/sparc/bits/mathdef.h: Likewise.
8591
afc5ed09
UD
85922012-01-26 Ulrich Drepper <drepper@gmail.com>
8593
8594 [BZ #13583]
8595 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8596 Clean up HAS_* macros.
afc5ed09 8597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8598 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8599 possible.
8600 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8601 HAS_AVX.
8602 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8603 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8604 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8605 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8606 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8607
bdb6de1d
JM
86082012-01-25 Joseph Myers <joseph@codesourcery.com>
8609
8610 * elf/tst-unique3.cc (gets): Remove declaration.
8611 * elf/tst-unique3lib.cc (gets): Likewise.
8612 * elf/tst-unique3lib2.cc (gets): Likewise.
8613 * elf/tst-unique4.cc (gets): Likewise.
8614
b15549e6
UD
86152012-01-24 Ulrich Drepper <drepper@gmail.com>
8616
8617 * include/stdio.h: Add C++ protection. Add gets declarations and
8618 definitions.
8619 * debug/tst-chk1.c: Don't declare gets here.
8620 * stdio-common/tst-gets.c: Likewise.
8621
a037381f
JM
86222012-01-24 Joseph Myers <joseph@codesourcery.com>
8623
8624 * posix/glob: Remove directory.
8625
f1d4aa75
JM
86262012-01-24 Joseph Myers <joseph@codesourcery.com>
8627
8628 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8629
81c0c964
PT
86302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8631
8632 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8633 of the non-standard EPFNOSUPPORT.
8634
0ea698ae
ST
86352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8636
8637 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8638 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8639 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8640
d220b117
UD
86412012-01-21 Ulrich Drepper <drepper@gmail.com>
8642
8643 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8644
3e1aa84e
UD
86452012-01-20 Ulrich Drepper <drepper@gmail.com>
8646
8647 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8648 transient errors.
8649 * nscd/grpcache.c (cache_addgr): Likewise.
8650 * nscd/hstcache.c (cache_addhst): Likewise.
8651 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8652 * nscd/pwdcache.c (cache_addpw): Likewise.
8653 * nscd/servicescache.c (cache_addserv): Likewise.
8654
400aa020
UD
86552012-01-16 Ulrich Drepper <drepper@gmail.com>
8656
d77e7869
UD
8657 * malloc/malloc.c: Various cleanups.
8658 * malloc/hooks.c: Likewise.
8659
400aa020
UD
8660 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8661 * stdlib/bug-fmtmsg1.c: New file.
8662
8663 * stdlib/fmtmsg.c (init): Add missing unlock.
8664 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8665
e0a309cf
MP
86662012-01-12 Marek Polacek <polacek@redhat.com>
8667
8668 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8669 and _GNU_SOURCE.
8670
929d11c7
WS
86712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8672
8673 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8674 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8675 macro to ensure uniqueness of label name.
8676 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8677 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8678
41d0e869
UD
86792012-01-11 Ulrich Drepper <drepper@gmail.com>
8680
0cc5ed3b
UD
8681 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8682
41d0e869
UD
8683 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8684 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8685 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8687
a47a831a
UD
86882012-01-10 Ulrich Drepper <drepper@gmail.com>
8689
daa891c0
UD
8690 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8691
8692 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8693 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8694 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8695
e58ef0f2
UD
8696 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8697
a47a831a 8698 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8699 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8700 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8702
8703 * math/bits/math-finite.h: Add ldexp support.
8704
a0bfc9c7
MP
87052012-01-10 Marek Polacek <polacek@redhat.com>
8706
8707 * locale/programs/localedef.h (show_archive_content): Add noreturn
8708 attribute.
8709
d6e97a1d
UD
87102012-01-09 Ulrich Drepper <drepper@gmail.com>
8711
8712 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8713
d5835c26
UD
87142012-01-08 Ulrich Drepper <drepper@gmail.com>
8715
e5f484c6
UD
8716 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8717
d5835c26
UD
8718 * io/Makefile (headers): Add bits/poll2.h.
8719
d1f741e9
WS
87202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8721
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8723 typo #include statement.
8724
ec09c1c4
UD
87252012-01-08 Ulrich Drepper <drepper@gmail.com>
8726
8727 * include/sys/cdefs.h: Define __attribute_alloc_size.
8728 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8729 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8730 * elf/pldd.c: Likewise.
8731 * iconv/iconv_charmap.c: Likewise.
8732 * iconv/iconvconfig.c: Likewise.
8733 * iconv/strtab.c: Likewise.
8734 * locale/programs/locale.c: Likewise.
8735 * locale/programs/localedef.h: Likewise.
8736 * locale/programs/simple-hash.c: Likewise.
8737 * nscd/nscd.h: Likewise.
8738 * nss/makedb.c: Likewise.
8739 * sysdeps/generic/ldconfig.h: Likewise.
8740 * locale/programs/localedef.c: Remove xmalloc prototype.
8741 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8742
20b38e03
PP
87432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8744
8745 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8746 appropriate.
8747
a0da5fe1
UD
87482012-01-08 Ulrich Drepper <drepper@gmail.com>
8749
1d5a644a 8750 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8751 * math/tst-CMPLX.c: New file.
1d5a644a 8752
8784a6db
UD
8753 * math/complex.h (CMPLXL): Fix typo.
8754
d9a216c0
UD
8755 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8756 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8757 GLIBC_2.16.
8758 * debug/tst-chk1.c: Add poll and ppoll tests.
8759 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8760 * include/sys/poll.h: Add hidden proto for ppoll.
8761 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8762 * sysdeps/mach/hurd/ppoll.c: Likewise.
8763 * io/ppoll.c: Likewise.
8764 * debug/poll_chk.c: New file.
8765 * debug/ppoll_chk.c: New file.
8766 * include/bits/poll2.h: New file.
8767 * io/bits/poll2.h: New file.
8768
ac097f5c
UD
8769 [BZ #1350]
8770 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8771
2119dcfa
UD
8772 * configure.in: static is always set to yes. Remove.
8773 * config.make.in: Don't set build-static.
8774 * Makeconfig: Remove use of build-static.
8775 * dlfcn/Makefile: Likewise.
8776 * elf/Makefile: Likewise.
8777 * math/Makefile: Likewise.
8778 * misc/Makefile: Likewise.
8779 * nptl/Makefile: Likewise.
8780 * sysdeps/mach/hurd/Makefile: Likewise.
8781
121766a9
UD
8782 * configure.in: PWD_P is not used anymore.
8783 * config.make.in: Remove PWD_P entry.
8784
51a1d39c 8785 * configure.in: Remove last remnants of RANLIB.
8720d066 8786 No need to check for signed size_t anymore.
215f4bdc
UD
8787 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8788 and IA-64.
3857022a 8789 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8790 * aclocal.m4: Likewise.
8791
d3ed7225
UD
8792 * wcsmbs/mbrtoc16.c: Implement using towc function.
8793 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8794 * wcsmbs/wcsmbsload.c: Likewise.
8795 * iconv/gconv_simple.c: Likewise.
8796 * iconv/gconv_int.h: Likewise.
8797 * iconv/gconv_builtin.h: Likewise.
8798 * iconv/iconv_prog.c: Remove CHAR16 handling.
8799
8800 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8801
8802 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8803
a0da5fe1
UD
8804 * configure.in: Remove --with-elf and --enable-bounded options.
8805 Dont set base_machine for ia64. More non-ELF conditions removed.
8806 Remove testing and setting of leading underscore information.
8807 * config.make.in (build-bounded): Set to no.
8808 * config.h.in: Remove NO_UNDERSCORES entry.
8809 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8810 them.
8811 * csu/start.c: Remove !NO_UNDERSCORE code.
8812 * locale/localeinfo.h: Likewise.
8813 * sysdeps/generic/machine-gmon.h: Likewise.
8814 * sysdeps/generic/sysdep.h: Likewise.
8815 * sysdeps/i386/sysdep.h: Likewise.
8816 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8817 * sysdeps/mach/sysdep.h: Likewise.
8818 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8819 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8820 * sysdeps/sh/sysdep.h: Likewise.
8821 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8822 * sysdeps/unix/i386/sysdep.S: Likewise.
8823 * sysdeps/unix/sparc/start.c: Likewise.
8824 * sysdeps/unix/sparc/sysdep.S: Likewise.
8825 * sysdeps/unix/sparc/sysdep.h: Likewise.
8826 * sysdeps/unix/start.c: Likewise.
8827 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8828 * sysdeps/x86_64/sysdep.h: Likewise.
8829
df78418a
UD
88302012-01-07 Ulrich Drepper <drepper@gmail.com>
8831
a784e502
UD
8832 [BZ #13553]
8833 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8834 for non-gcc.
8835 * argp/argp-fmtstream.h: Use const instead __const.
8836 * argp/argp.h: Likewise.
8837 * assert/assert.h: Likewise.
8838 * bits/fenv.h: Likewise.
8839 * bits/sched.h: Likewise.
8840 * bits/sigset.h: Likewise.
8841 * bits/sigthread.h: Likewise.
8842 * catgets/nl_types.h: Likewise.
8843 * conform/data/pthread.h-data: Likewise.
8844 * crypt/crypt-private.h: Likewise.
8845 * crypt/crypt.h: Likewise.
8846 * crypt/crypt_util.c: Likewise.
8847 * ctype/ctype.h: Likewise.
8848 * debug/execinfo.h: Likewise.
8849 * debug/mbsnrtowcs_chk.c: Likewise.
8850 * debug/mbsrtowcs_chk.c: Likewise.
8851 * debug/wcsnrtombs_chk.c: Likewise.
8852 * debug/wcsrtombs_chk.c: Likewise.
8853 * debug/wcstombs_chk.c: Likewise.
8854 * dirent/dirent.h: Likewise.
8855 * dlfcn/dlfcn.h: Likewise.
8856 * elf/neededtest4.c: Likewise.
8857 * grp/grp.h: Likewise.
8858 * gshadow/gshadow.h: Likewise.
8859 * iconv/gconv.h: Likewise.
8860 * iconv/gconv_int.h: Likewise.
8861 * iconv/gconv_simple.c: Likewise.
8862 * iconv/iconv.h: Likewise.
8863 * iconv/loop.c: Likewise.
8864 * iconv/skeleton.c: Likewise.
8865 * include/aio.h: Likewise.
8866 * include/aliases.h: Likewise.
8867 * include/argz.h: Likewise.
8868 * include/arpa/inet.h: Likewise.
8869 * include/assert.h: Likewise.
8870 * include/dirent.h: Likewise.
8871 * include/dlfcn.h: Likewise.
8872 * include/execinfo.h: Likewise.
8873 * include/fcntl.h: Likewise.
8874 * include/fenv.h: Likewise.
8875 * include/glob.h: Likewise.
8876 * include/grp.h: Likewise.
8877 * include/libintl.h: Likewise.
8878 * include/mntent.h: Likewise.
8879 * include/netdb.h: Likewise.
8880 * include/pwd.h: Likewise.
8881 * include/rpc/netdb.h: Likewise.
8882 * include/sched.h: Likewise.
8883 * include/search.h: Likewise.
8884 * include/shadow.h: Likewise.
8885 * include/signal.h: Likewise.
8886 * include/stdio.h: Likewise.
8887 * include/stdlib.h: Likewise.
8888 * include/string.h: Likewise.
8889 * include/sys/socket.h: Likewise.
8890 * include/sys/stat.h: Likewise.
8891 * include/sys/statfs.h: Likewise.
8892 * include/sys/statvfs.h: Likewise.
8893 * include/sys/syslog.h: Likewise.
8894 * include/sys/time.h: Likewise.
8895 * include/sys/uio.h: Likewise.
8896 * include/time.h: Likewise.
8897 * include/unistd.h: Likewise.
8898 * include/utmp.h: Likewise.
8899 * include/wchar.h: Likewise.
8900 * include/wctype.h: Likewise.
8901 * inet/aliases.h: Likewise.
8902 * inet/arpa/inet.h: Likewise.
8903 * inet/netinet/ether.h: Likewise.
8904 * inet/netinet/in.h: Likewise.
8905 * intl/libintl.h: Likewise.
8906 * io/bits/fcntl2.h: Likewise.
8907 * io/fcntl.h: Likewise.
8908 * io/ftw.h: Likewise.
8909 * io/sys/poll.h: Likewise.
8910 * io/sys/stat.h: Likewise.
8911 * io/sys/statfs.h: Likewise.
8912 * io/sys/statvfs.h: Likewise.
8913 * io/utime.h: Likewise.
8914 * libio/bits/stdio.h: Likewise.
8915 * libio/bits/stdio2.h: Likewise.
8916 * libio/libio.h: Likewise.
8917 * libio/libioP.h: Likewise.
8918 * libio/stdio.h: Likewise.
8919 * locale/lc-ctype.c: Likewise.
8920 * locale/locale.h: Likewise.
8921 * login/utmp.h: Likewise.
8922 * malloc/arena.c: Likewise.
8923 * malloc/malloc.c: Likewise.
8924 * malloc/malloc.h: Likewise.
8925 * malloc/mcheck.c: Likewise.
8926 * malloc/mtrace.c: Likewise.
8927 * math/bits/mathcalls.h: Likewise.
8928 * math/fenv.h: Likewise.
8929 * math/math_private.h: Likewise.
8930 * misc/bits/error.h: Likewise.
8931 * misc/bits/syslog.h: Likewise.
8932 * misc/err.h: Likewise.
8933 * misc/error.h: Likewise.
8934 * misc/fstab.h: Likewise.
8935 * misc/mntent.h: Likewise.
8936 * misc/regexp.h: Likewise.
8937 * misc/search.h: Likewise.
8938 * misc/sgtty.h: Likewise.
8939 * misc/sys/mman.h: Likewise.
8940 * misc/sys/syslog.h: Likewise.
8941 * misc/sys/uio.h: Likewise.
8942 * misc/sys/xattr.h: Likewise.
8943 * misc/ttyent.h: Likewise.
8944 * nis/rpcsvc/ypclnt.h: Likewise.
8945 * nss/nss.h: Likewise.
8946 * posix/bits/unistd.h: Likewise.
8947 * posix/fnmatch.h: Likewise.
8948 * posix/glob.h: Likewise.
8949 * posix/sched.h: Likewise.
8950 * posix/spawn.h: Likewise.
8951 * posix/sys/wait.h: Likewise.
8952 * posix/unistd.h: Likewise.
8953 * posix/wordexp.h: Likewise.
8954 * pwd/pwd.h: Likewise.
8955 * resolv/netdb.h: Likewise.
8956 * resource/sys/resource.h: Likewise.
8957 * rt/aio.h: Likewise.
8958 * rt/bits/mqueue2.h: Likewise.
8959 * rt/mqueue.h: Likewise.
8960 * shadow/shadow.h: Likewise.
8961 * signal/signal.h: Likewise.
8962 * socket/send.c: Likewise.
8963 * socket/sendto.c: Likewise.
8964 * socket/sys/socket.h: Likewise.
8965 * stdio-common/printf.h: Likewise.
8966 * stdlib/bits/stdlib.h: Likewise.
8967 * stdlib/fmtmsg.h: Likewise.
8968 * stdlib/monetary.h: Likewise.
8969 * stdlib/stdlib.h: Likewise.
8970 * stdlib/ucontext.h: Likewise.
8971 * streams/stropts.h: Likewise.
8972 * string/argz.h: Likewise.
8973 * string/bits/string2.h: Likewise.
8974 * string/string.h: Likewise.
8975 * string/strings.h: Likewise.
8976 * sunrpc/rpc/auth.h: Likewise.
8977 * sunrpc/rpc/auth_des.h: Likewise.
8978 * sunrpc/rpc/clnt.h: Likewise.
8979 * sunrpc/rpc/netdb.h: Likewise.
8980 * sunrpc/rpc/pmap_clnt.h: Likewise.
8981 * sunrpc/rpc/xdr.h: Likewise.
8982 * sysdeps/generic/inttypes.h: Likewise.
8983 * sysdeps/generic/net/if.h: Likewise.
8984 * sysdeps/generic/sys/swap.h: Likewise.
8985 * sysdeps/gnu/net/if.h: Likewise.
8986 * sysdeps/gnu/utmpx.h: Likewise.
8987 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8988 * sysdeps/i386/i486/bits/string.h: Likewise.
8989 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8990 * sysdeps/s390/bits/string.h: Likewise.
8991 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8992 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8993 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8994 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8995 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8996 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8997 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8998 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8999 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9000 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9001 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9002 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9003 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9004 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9005 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9006 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9007 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9009 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9011 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9012 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9013 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9014 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9015 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9016 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9017 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9018 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9019 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9020 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9021 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9022 * sysvipc/sys/ipc.h: Likewise.
9023 * sysvipc/sys/msg.h: Likewise.
9024 * sysvipc/sys/sem.h: Likewise.
9025 * sysvipc/sys/shm.h: Likewise.
9026 * termios/termios.h: Likewise.
9027 * time/sys/time.h: Likewise.
9028 * time/time.h: Likewise.
9029 * wcsmbs/bits/wchar2.h: Likewise.
9030 * wcsmbs/uchar.h: Likewise.
9031 * wcsmbs/wchar.h: Likewise.
9032 * wctype/wctype.h: Likewise.
9033
0269750c
UD
9034 [BZ #13551]
9035 * Makeconfig: Remove all but ELF support including AIX support.
9036 * Makerules: Likewise.
9037 * config.h.in: Likewise.
9038 * config.make.in: Likewise.
9039 * configure: Likewise.
9040 * configure.in: Likewise.
9041 * csu/Makefile: Likewise.
9042 * csu/version.c: Likewise.
9043 * debug/Makefile: Likewise.
9044 * dlfcn/Makefile: Likewise.
9045 * elf/Makefile: Likewise.
9046 * extra-lib.mk: Likewise.
9047 * iconv/Makefile: Likewise.
9048 * include/libc-symbols.h: Likewise.
9049 * include/shlib-compat.h: Likewise.
9050 * resolv/Makefile: Likewise.
9051 * resolv/res_libc.c: Likewise.
9052 * rt/Makefile: Likewise.
9053 * sysdeps/i386/asm-syntax.h: Likewise.
9054 * sysdeps/i386/sysdep.h: Likewise.
9055 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9056 * sysdeps/mach/sysdep.h: Likewise.
9057 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9058 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9059 * sysdeps/s390/asm-syntax.h: Likewise.
9060 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9061 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9062 * sysdeps/sh/sysdep.h: Likewise.
9063 * sysdeps/unix/sparc/sysdep.h: Likewise.
9064 * sysdeps/wordsize-32/divdi3.c: Likewise.
9065 * sysdeps/x86_64/sysdep.h: Likewise.
9066
00bbd29b
UD
9067 * argp/Versions: Remove _argp_unlock_xxx.
9068
9069 [BZ #13559]
9070 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9071 * abilist/libBrokenLocale.abilist: Likewise.
9072 * abilist/libanl.abilist: Likewise.
9073 * abilist/libc.abilist: Likewise.
9074 * abilist/libcrypt.abilist: Likewise.
9075 * abilist/libdl.abilist: Likewise.
9076 * abilist/libm.abilist: Likewise.
9077 * abilist/libnsl.abilist: Likewise.
9078 * abilist/libpthread.abilist: Likewise.
9079 * abilist/libresolv.abilist: Likewise.
9080 * abilist/librt.abilist: Likewise.
9081 * abilist/libthread_db.abilist: Likewise.
9082 * abilist/libutil.abilist: Likewise.
9083 * abilist/libnss_db.abilist: New file.
9084
9085 * scripts/abilist.awk: Add support for indirect functions.
9086
a2693a0e
UD
9087 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9088
3f05895f
UD
9089 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9090
ecb6fb48
UD
9091 * shlib-versions: Remove entries for ports architectures.
9092
664f8cb9
UD
9093 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9094 files in ports.
9095 * elf/stackguard-macros.h: Remove support for IA-64.
9096 * elf/tst-auditmod1.c: Likewise.
9097 * sysdeps/generic/ldsodefs.h: Likewise.
9098
7ae81d88
UD
9099 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9100 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9101 configure files.
9102
bdeba135
UD
9103 [BZ #13552]
9104 * configure.in: Remove --enable-omitfp support.
9105 * FAQ.in: Adjust.
9106 * config.make.in: Likewise.
9107 * Makeconfig: Likewise.
9108 * manual/install.texi: Likewise.
9109
d75a0a62
UD
9110 In case anyone cares, the IA-64 architecture could move to ports.
9111 * sysdeps/ia64/*: Removed.
9112 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9113 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9114
dcc9756b
UD
9115 [BZ #13555]
9116 * configure.in: Remove entries for unsupported architectures.
9117
d3761ebc 9118 [BZ #13533]
9954432e
UD
9119 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9120 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9121 routines.
9122 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9123 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9124 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9125 fall back to using wcrtomb.
9126 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9127 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9128 renaming.
9129 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9130 * wcsmbs/tst-c16c32-1.c: New file.
9131
9132 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9133 local variable.
9134
c3a87236
UD
9135 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9136
28926a1b
UD
9137 * elf/tst-unique3.cc: Add explicit declaration of gets.
9138 * elf/tst-unique3lib.cc: Likewise.
9139 * elf/tst-unique3lib2.cc: Likewise.
9140 * elf/tst-unique4.cc: Likewise.
9141
df78418a
UD
9142 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9143
8ecd6b2a
JM
91442012-01-06 Joseph Myers <joseph@codesourcery.com>
9145
9146 [BZ #13566]
9147 * assert/assert.h (static_assert): Don't define for C++.
9148 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9149 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9150
9f115170
UD
91512012-01-03 Ulrich Drepper <drepper@gmail.com>
9152
5e0d0300
UD
9153 * iconv/loop.c (single loop): Fix assertion in storing of
9154 remaining bytes.
9155
9f115170
UD
9156 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9157
81fb02b0
UD
91582012-01-01 Ulrich Drepper <drepper@gmail.com>
9159
9160 * posix/getconf.c: Update copyright year.
9161 * nss/getent.c: Likewise.
a316c1f6 9162 * nss/makedb.c: Likewise.
81fb02b0
UD
9163 * iconv/iconvconfig.c: Likewise.
9164 * iconv/iconv_prog.c: Likewise.
9165 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9166 * elf/pldd.c: Likewise.
9167 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9168 * catgets/gencat.c: Likewise.
9169 * csu/version.c: Likewise.
9170 * elf/ldd.bash.in: Likewise.
9171 * elf/sprof.c (print_version): Likewise.
9172 * locale/programs/locale.c: Likewise.
9173 * locale/programs/localedef.c: Likewise.
a316c1f6 9174 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9175 * nscd/nscd.c (print_version): Likewise.
9176 * debug/xtrace.sh: Likewise.
9177 * malloc/memusage.sh: Likewise.
9178 * malloc/mtrace.pl: Likewise.
9179 * debug/catchsegv.sh: Likewise.
9180
2ba92745
JJ
91812011-12-30 Jakub Jelinek <jakub@redhat.com>
9182
9183 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9184 pure attribute.
9185
dadebdae
UD
91862011-12-24 Ulrich Drepper <drepper@gmail.com>
9187
d3761ebc 9188 [BZ #13533]
db6af3eb
UD
9189 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9190 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9191 transformations.
9192 * iconv/gconv_int.h: Likewise.
9193 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9194 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9195 from libc for GLIBC_2.16.
9196 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9197 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9198 * wcsmbs/uchar.h: Really define mbstate_t.
9199 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9200 * wcsmbs/c16rtomb.c: New file.
9201 * wcsmbs/mbrtoc16.c: New file.
9202 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9203 for C/POSIX locale.
9204 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9205 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9206
dadebdae
UD
9207 * wcsmbs/wchar.h: Add missing __restrict.
9208
67371b56
UD
92092011-12-23 Ulrich Drepper <drepper@gmail.com>
9210
74033a25
UD
9211 [BZ #13532]
9212 * time/Makefile (routines): Add timespec_get.
9213 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9214 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9215 timespec for ISO C11.
9216 * time/timespec_get.c: New file.
9217 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9218 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9219
380d7e87
UD
9220 [BZ #13531]
9221 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9222 * stdlib/stdlib.h: Declare aligned_alloc.
9223 * Versions.def: Add GLIBC_2.16 for libc.
9224 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9225
4e9e7a35
UD
9226 [BZ 13527]
9227 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9228 ISO C11.
9229
380d7e87 9230 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9231 code.
9232
03a71829
UD
9233 [BZ #13528]
9234 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9235
839e283e
UD
9236 [BZ #13529]
9237 * assert/assert.h (static_assert): Define.
9238
ce5294e2 9239 * version.h: Update for 2.16 development version.
90fa7312 9240
8d44e150 9241 [BZ #13526]
d7809905
UD
9242 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9243 _ISOC11_SOURCE.
9244
c0da14cd
UD
9245 * version.h (RELEASE): Bump for 2.15 release.
9246 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9247
530a3249
MP
9248 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9249 Patch by Marek Polacek <mpolacek@redhat.com>.
9250
67371b56
UD
9251 * bits/byteswap.h: Protect long long constants with __extension__.
9252 * sysdeps/i386/bits/byteswap.h: Likewise.
9253 * sysdeps/ia64/bits/byteswap.h: Likewise.
9254 * sysdeps/s390/bits/byteswap.h: Likewise.
9255 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9256
15db4de1
LD
92572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9258
9259 [BZ #13540]
bbe315ea
LD
9260 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9261 destination buffer.
15db4de1
LD
9262 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9263
2b2596b1
MP
92642011-12-23 Marek Polacek <polacek@redhat.com>
9265
9266 * elf/dl-addr.c (determine_info): Add inline keyword.
9267 * elf/tst-auditmod4b.c (check_avx): Likewise.
9268 * elf/tst-auditmod6b.c (check_avx): Likewise.
9269 * elf/tst-auditmod6c.c (check_avx): Likewise.
9270 * elf/tst-auditmod7b.c (check_avx): Likewise.
9271
70c6c246
UD
92722011-12-23 Ulrich Drepper <drepper@gmail.com>
9273
9274 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9275 !__SSE_MATH__.
9276
c044cf14
LD
92772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9278
15db4de1 9279 [BZ #13540]
c044cf14
LD
9280 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9281 processing for last bytes.
9282
6b13d9d9
BH
92832011-08-06 Bruno Haible <bruno@clisp.org>
9284
d455f537
BH
9285 [BZ #13061]
9286 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9287 U+0385, not to U+1FEE.
9288
6b13d9d9
BH
9289 [BZ #13062]
9290 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9291 entry for U+00A5 U+0301.
9292
db910efd
UD
92932011-12-22 Ulrich Drepper <drepper@gmail.com>
9294
27deeafc
UD
9295 [BZ #13166]
9296 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9297 buffer for the output is too small.
9298
aed9d171
UD
9299 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9300 optimization.
9301
db910efd
UD
9302 [BZ #13185]
9303 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9304 SSE flags if possible.
9305
2bd779ae
LD
93062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9307
e7f9dac3 9308 [BZ #13540]
2bd779ae
LD
9309 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9310 processing for last bytes.
9311
154bfc16
JM
93122011-12-22 Joseph Myers <joseph@codesourcery.com>
9313
9314 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9315 (syscall-list-default-options, syscall-list-default-condition)
9316 (syscall-list-includes): Define.
9317 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9318 list of ABIs and options and #if conditions for each ABI. Do not
9319 handle common syscalls between ABIs specially.
9320 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9321 Remove.
9322 (syscall-list-variants, syscall-list-32bit-options)
9323 (syscall-list-32bit-condition, syscall-list-64bit-options)
9324 (syscall-list-64bit-condition): Define.
9325 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9326 (syscall-list-variants, syscall-list-32bit-options)
9327 (syscall-list-32bit-condition, syscall-list-64bit-options)
9328 (syscall-list-64bit-condition): Define.
9329 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9330 Remove.
9331 (syscall-list-variants, syscall-list-32bit-options)
9332 (syscall-list-32bit-condition, syscall-list-64bit-options)
9333 (syscall-list-64bit-condition): Define.
9334 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9335 Remove.
9336 (syscall-list-variants, syscall-list-32bit-options)
9337 (syscall-list-32bit-condition, syscall-list-64bit-options)
9338 (syscall-list-64bit-condition): Define.
9339
21eaf3a5
UD
93402011-12-22 Ulrich Drepper <drepper@gmail.com>
9341
16c6f992
UD
9342 * locale/iso-639.def: Add brx entry.
9343
41043168
UD
9344 [BZ #13328]
9345 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9346 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9347
21eaf3a5
UD
9348 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9349 __feraiseexcept_renamed.
9350
e3a851a2
UD
93512011-12-21 Ulrich Drepper <drepper@gmail.com>
9352
4920765e
UD
9353 [BZ #13538]
9354 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9355 EPOLLET with unsigned values.
9356 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9357 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9358
e3a851a2
UD
9359 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9360 to large cancellation.
9361 * math/s_cacoshf.c: Likewise.
9362 * math/s_cacoshl.c: Likewise.
9363
b27e24b8
RK
93642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9365
9366 [BZ #13305]
aebefeee 9367 [BZ #12786]
b27e24b8
RK
9368 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9369 * math/s_cacoshf.c: Likewise.
9370 * math/s_cacoshl.c: Likewise.
9371
ee190f67
UD
93722011-12-21 Ulrich Drepper <drepper@gmail.com>
9373
9374 [BZ #13439]
9375 * iconv/gconv.h: Define __GCONV_SWAP.
9376 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9377 * iconvdata/utf-16.c: Likewise.
9378 * iconvdata/utf-32.c: Likewise.
9379
707f25df
AS
93802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9381
9382 [BZ #13524]
9383 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9384 numerator after shifting it by one limb.
9385
d2daaa1e
RÁE
93862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9387
9388 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9389 under [__USE_EXTERN_INLINES].
9390
a4647e72
UD
93912011-12-17 Ulrich Drepper <drepper@gmail.com>
9392
9393 [BZ #13446]
9394 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9395
f0b264f1
AZ
93962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9397
9398 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9399 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9400 optimized code.
9401 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9402 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9403 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9404 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9405 for strncasecmp/strncasecmp_l compilation.
9406 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9407 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9408
8ef4f244
MP
94092011-12-08 Marek Polacek <mpolacek@redhat.com>
9410
9411 [BZ #13484]
9412 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9413 of __asm__.
9414
97ac2654
UD
94152011-12-17 Ulrich Drepper <drepper@gmail.com>
9416
9417 [BZ #13506]
9418 * time/tzfile.c (__tzfile_read): Check values from file header.
9419
91d2a845
WS
94202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9421
9422 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9423 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9424 * powerpc/powerpc32/dl-start.S: Likewise.
9425 * powerpc/powerpc32/elf/start.S: Likewise.
9426 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9427 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9428 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9429 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9430 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9431 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9432 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9433 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9434 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9435 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9436 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9437 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9438 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9439 * powerpc/powerpc32/memset.S: Likewise.
9440 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9441 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9442 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9443 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9444 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9445 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9446 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9447 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9448 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9449 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9450 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9451 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9452 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9453
a1267ba1
AZ
94542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9455
9456 * math/libm-test.inc: Added more nearbyint tests.
9457 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9458 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9459 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9461
ad8ac1bd
RL
94622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9463
9464 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9465 FD_CLOEXEC.
9466
1d3e4b61
UD
94672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9468
9469 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9470 Add wcscpy-ssse3 wcscpy-c.
9471 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9472 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9473 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9474 * sysdeps/x86_64/wcschr.S: New file.
9475 * sysdeps/x86_64/wcsrchr.S: New file.
9476 * string/test-strcmp.c: Remove checking of wcscmp function for
9477 wrong alignments.
9478 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9479 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9480 wcsrchr-sse2 wcsrchr-c.
9481 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9482 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9483 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9484 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9485 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9486 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9487 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9488 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9489 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9490 * wcsmbc/wcschr.c (WCSCHR): New macro.
9491
5b330a2d
UD
94922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9493
9494 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9495 * wcsmbs/test-wcsrchr.c: New file.
9496 * string/test-strrchr.c: Add wcsrchr support.
9497 (WIDE): New macro.
9498 * wcsmbs/test-wcscpy.c: New file.
9499 * string/test-strcpy.c: Add wcscpy support.
9500 (WIDE): New macro.
26428b7c 9501
f039c043
UD
95022011-12-10 Ulrich Drepper <drepper@gmail.com>
9503
9504 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9505 the inner loop.
9506
850fb039
AS
95072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9508
9509 [BZ #13472]
9510 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9511
4efbd5cb
UD
95122011-12-04 Ulrich Drepper <drepper@gmail.com>
9513
52ff5dd0 9514 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9515 Minor optimizations.
52ff5dd0 9516
4efbd5cb
UD
9517 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9518 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9519 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9520
8a426e12
UD
95212011-12-03 Ulrich Drepper <drepper@gmail.com>
9522
aff2453d
UD
9523 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9524 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9525 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9526 for gcc to avoid warnings.
9527 * inet/Makefile (tests): Add tst-checks.
9528 * inet/tst-checks.c: New file.
9529
9530 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9531 warning.
9532
9533 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9534 __wmemcmp_sse2.
9535
9536 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9537 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9538
8a426e12
UD
9539 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9540
9bea3473
UD
95412011-12-02 Ulrich Drepper <drepper@gmail.com>
9542
3a965496
UD
9543 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9544 problem.
9545
9bea3473
UD
9546 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9547
f101631b
UD
95482011-11-29 Joseph Myers <joseph@codesourcery.com>
9549
9550 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9551 conditional on GCC version.
9552 (__arch_compare_and_exchange_val_8_acq)
9553 (__arch_compare_and_exchange_val_16_acq)
9554 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9555 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9556 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9557
a98275aa
UD
95582011-12-02 Joseph Myers <joseph@codesourcery.com>
9559
9560 * sysdeps/sh/backtrace.c: New file.
9561
d4cc29a2
AS
95622011-12-02 Andreas Schwab <schwab@redhat.com>
9563
9564 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9565 parenthesis.
9566
6257af2d
AS
95672011-12-01 Andreas Schwab <schwab@redhat.com>
9568
9569 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9570 falling back to utime.
9571
b5f44c1a
AS
95722011-11-30 Andreas Schwab <schwab@redhat.com>
9573
9574 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9575 expectations for float.
9576
f3a6cc0a
AS
95772011-11-29 Andreas Schwab <schwab@redhat.com>
9578
9579 * locale/weight.h (findidx): Add parameter len.
9580 * locale/weightwc.h (findidx): Likewise.
9581 * posix/fnmatch_loop.c (FCT): Adjust caller.
9582 * posix/regcomp.c (build_equiv_class): Likewise.
9583 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9584 * posix/regexec.c (check_node_accept_bytes): Likewise.
9585 * string/strcoll_l.c (STRCOLL): Likewise.
9586 * string/strxfrm_l.c (STRXFRM): Likewise.
9587
9d65ea3a
UD
95882011-11-17 Ulrich Drepper <drepper@gmail.com>
9589
9590 * Makefile.in: Remove CVSOPT handling.
9591 * configure.in: Remove use of AC_REVISION.
9592 * iconvdata/Makefile (distribute): No need to filter out CVS.
9593 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9594 handling.
9595
5583a086
AS
95962011-11-16 Andreas Schwab <schwab@redhat.com>
9597
9598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9599 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9600 [USE_AS_STRNCASECMP_L]: Likewise.
9601 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9602 NO_TLS_DIRECT_SEG_REFS.
9603 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9604 Fix argument offsets for non-PIC.
9605 [USE_AS_STRNCASECMP_L]: Likewise.
9606 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9607 NO_TLS_DIRECT_SEG_REFS.
9608
d62a8200
UD
96092011-11-15 Ulrich Drepper <drepper@gmail.com>
9610
9d65ea3a 9611 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9612 O_CLOEXEC.
9613 * locale/loadlocale.c (_nl_load_locale): Likewise.
9614
09f93bd3
AS
96152011-11-15 Andreas Schwab <schwab@redhat.com>
9616
446514f9
AS
9617 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9618 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9619 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9620 (SYSCALL_GETTIME): Set errno on error.
9621
09f93bd3
AS
9622 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9623 count references to noai6ai_cached.
9624
312be3f9
UD
96252011-11-15 Ulrich Drepper <drepper@gmail.com>
9626
9627 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9628
9629 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9630 FD_CLOEXEC for /proc/self/maps.
9631
9632 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9633 FD_CLOEXEC for /proc/meminfo.
9634
9635 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9636 gai.conf.
9637
9638 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9639 FD_CLOEXEC for given file.
9640
9641 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9642
9643 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9644 FD_CLOEXEC for /etc/hosts.
9645 (_gethtent): Likewise.
9646
9647 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9648
9649 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9650 cancellation and set FD_CLOEXEC for /etc/netgroup.
9651
9652 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9653 reading /etc/publickey.
9654
9655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9656 allow cancellation when reading /etc/group.
9657
9658 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9659 cancellation.
9660 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9661
9662 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9663 when using data file.
9664
9665 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9666
9667 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9668 (write_nis_obj): Use "c" and "e" in fopen.
9669
9670 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9671
9672 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9673
9674 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9675
9676 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9677
9678 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9679 locale.alias.
9680
9681 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9682
9683 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9684
9685 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9686
9687 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9688 file parsing and set FD_CLOEXEC.
9689
82af0fa8
UD
96902011-11-14 Ulrich Drepper <drepper@gmail.com>
9691
9692 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9693
a5fb313c
AS
96942011-11-14 Andreas Schwab <schwab@redhat.com>
9695
9696 * malloc/arena.c (arena_get2): Don't call reused_arena when
9697 _int_new_arena failed.
9698
6abf3465
UD
96992011-11-14 Ulrich Drepper <drepper@gmail.com>
9700
9701 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9702 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9703 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9704 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9705 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9706 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9707 to compile strcasecmp and strncasecmp.
9708 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9709 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9710
9711 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9712
76e3966e
UD
97132011-11-13 Ulrich Drepper <drepper@gmail.com>
9714
9715 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9716 locale-defines.sym to gen-as-const-headers.
9717 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9718 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9720 to compile strcasecmp and strncasecmp.
9721 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9722 strcasecmp_l and strncasecmp_l.
9723 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9724 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9725 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9726 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9727 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9728 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9729 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9730 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9731 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9732 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9733 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9734
ab26144e
UD
97352011-11-12 Ulrich Drepper <drepper@gmail.com>
9736
7edb22ef
UD
9737 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9738 result of SYSDEP_GETTIME_CPU to retval.
9739 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9740 parameter list to macro. Remove trailing semicolon. Adjust users.
9741
9694fc44
UD
9742 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9743 variable.
9744
8ad89ef8
UD
9745 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9746 mantissa words.
9747 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9748
0c822ef9
UD
9749 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9750 from unused variable.
9751
874e0564
UD
9752 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9753 DWARF definitions.
9754 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9755 for assembling.
9756
3a2edc79
UD
9757 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9758 over namespaces.
9759
f3c2577f
UD
9760 * sunrpc/rpc_prot.c (rejected): Fix case value.
9761
294ce126
UD
9762 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9763 unsigned long long int to avoid warnings in shift.
9764
5e2b63c6
UD
9765 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9766 of use of trans.
9767 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9768 variable tmp.
9769
e7f4b08e
UD
9770 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9771 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9772 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9773
ab26144e
UD
9774 * nis/nis_table.c (nis_list): Use variable of correct type for
9775 result of __follow_path call.
9776
8a6d5255
AZ
97772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9778
9779 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9780 of math functions ceil, trunc, floor, round, and sqrt, when
9781 avaliable on the platform.
9782 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9783 name clash.
9784 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9785 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9786 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9787
aaddc98c
MP
97882011-10-30 Marek Polacek <mpolacek@redhat.com>
9789
9790 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9791 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9792
95b7042b
RM
97932011-11-11 Roland McGrath <roland@hack.frob.com>
9794
9795 * include/unistd.h: Fix __readlink return type.
9796 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9797
57769839
UD
97982011-11-11 Ulrich Drepper <drepper@gmail.com>
9799
9800 * stdlib/ucontext.h: Undo last change for makecontext.
9801
edc5984d
AS
98022011-11-11 Andreas Schwab <schwab@redhat.com>
9803
98591e58
AS
9804 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9805
edc5984d
AS
9806 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9807 * setjmp/setjmp.h: Mark functions as non-leaf.
9808 * setjmp/bits/setjmp2.h: Likewise.
9809 * stdlib/ucontext.h: Likewise.
9810
77cdc054
AS
98112011-11-10 Andreas Schwab <schwab@redhat.com>
9812
9813 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9814 (reused_arena): Don't check arena limit.
9815 (arena_get2): Atomically check arena limit.
9816
fe72eebd
UD
98172011-11-08 Ulrich Drepper <drepper@gmail.com>
9818
5f078c32
UD
9819 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9820 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9821
fe72eebd
UD
9822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9823 instructions.
9824
ae1bc2fa
AS
98252011-11-07 Andreas Schwab <schwab@redhat.com>
9826
7583a88d
AS
9827 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9828 handler when locking.
9829
ae1bc2fa
AS
9830 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9831 Fix size of allocated buffer.
9832
10fb0bfa
AS
98332011-11-04 Andreas Schwab <schwab@redhat.com>
9834
998832a4
AS
9835 [BZ #10103]
9836 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9837 declarations for long double functions.
9838 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9839
10fb0bfa
AS
9840 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9841
3d7ba52b
AS
98422011-11-03 Andreas Schwab <schwab@redhat.com>
9843
a9ae54a1
AS
9844 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9845 installed.
9846
3d7ba52b
AS
9847 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9848 is disabled.
9849
bc8db248
ST
98502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9851
9852 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9853
45b96dd6
AS
98542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9855
647776f6
AS
9856 * include/alloca.h (stackinfo_alloca_round): Define.
9857 (extend_alloca): Use it.
9858 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9859 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9860 here.
9861
d91a8b93
AS
9862 * scripts/check-local-headers.sh: Ignore libaudit.h.
9863
45b96dd6
AS
9864 * nscd/Makefile (extra-objs): Make recursively expanded.
9865
432d41ce
UD
98662011-11-01 Ulrich Drepper <drepper@gmail.com>
9867
34372fc6
UD
9868 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9869 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9870
fadb59f8
UD
9871 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9872 * posix/tst-rfc3484-2.c: Likewise.
9873 * posix/tst-rfc3484-3.c: Likewise.
9874
78239589
UD
9875 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9876 process_vm_writev.
9877 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9878 process_vm_writev.
9879 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9880 process_vm_writev from libc using GLIBC_2.15 version.
9881
432d41ce
UD
9882 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9883
02f9c6cf
PP
98842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9885
9886 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9887 stack usage.
9888
3a2c0242
UD
98892011-10-31 Ulrich Drepper <drepper@gmail.com>
9890
f4ec4833
UD
9891 [BZ #13367]
9892 * nss/getent.c (initgroups_keys): Show error message in case no group
9893 names are given.
9894
3a2c0242
UD
9895 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9896 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9897 __bump_nl_timestamp.
9898 * nscd/connections (nscd_init): When host database is served open
9899 netlink socket and request notification about configuration changes.
9900 (main_loop_poll): Track netlink file descriptor and bump timestamp
9901 in case data becomes available.
9902 (main_loop_epoll): Likewise.
9903 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9904 (database_pers_head): Add extra_data fileds.
9905 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9906 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9907 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9908 Adjust caller.
9909 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9910 in6ai data, call __free_in6ai.
9911 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9912 Add -DHAVE_NETLINK.
9913 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9914 interface information. Reuse previous data if netlink timestamp
9915 is not changed.
9916 (__bump_nl_timestamp): New function.
9917 (__free_in6ai): New function.
9918
636064eb
UD
99192011-10-30 Ulrich Drepper <drepper@gmail.com>
9920
9921 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9922 close_not_cancel_no_status here.
9923 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9924
9beb2334
UD
99252011-10-29 Ulrich Drepper <drepper@gmail.com>
9926
6ef76f3b
UD
9927 [BZ #13276]
9928 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9929 return value.
9930
0ffc4f3e 9931 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9932 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9933 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9934
cb95113e
UD
99352011-07-03 Andreas Jaeger <aj@suse.de>
9936
9937 [BZ #10709]
9938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9939 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9940 * math/libm-test.inc (sin_test): Add test case.
9941
a1b560ff
UD
99422011-10-29 Ulrich Drepper <drepper@gmail.com>
9943
c9aaface
UD
9944 [BZ #13337]
9945 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9946 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9947
d272e7f1
UD
9948 * elf/chroot_canon.c (chroot_canon): Cleanups.
9949
1bc33071
UD
9950 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9951
1760874d
TJ
9952 [BZ #13335]
9953 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9954 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9955
51d91b18
UD
9956 * string/test-strchr.c: Make usable for strchrnul testing.
9957 * string/test-strchrnul.c: New file.
9958 * string/Makefile (strop-tests): Add strchrnul.
9959
a1b560ff 9960 * po/it.po: Update from translation team.
b611fb81 9961 * po/es.po: Likewise.
a1b560ff 9962
a5b81e1f
UD
99632011-10-28 Ulrich Drepper <drepper@gmail.com>
9964
fd52bc6d
UD
9965 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9966 the three constants needed as parameters. Drop the others.
9967 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9968 __m128i_strloadu_tolower.
52e4b9eb
UD
9969 Create and initialize variable zero and use it in all the places
9970 where _mm_setzero_si128 was used.
fd52bc6d 9971
a5b81e1f
UD
9972 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9973 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9974 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9975 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9976 anymore.
9977 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9978 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9979 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9980 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9981 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9982 __mpranred, __mptan.
9983 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9984 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9985 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9986 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9987 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9988 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9989 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9990 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9991 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9992
b4343346
AS
99932011-10-28 Andreas Schwab <schwab@redhat.com>
9994
0c92d8a8
AS
9995 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9996 redefine if SHARED.
9997 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9998
b4343346
AS
9999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10000 wide char related routines to wcsmbs subdir.
10001
3871f58f
AS
100022011-10-27 Andreas Schwab <schwab@redhat.com>
10003
10004 [BZ #13344]
10005 * misc/sys/cdefs.h (__THROWNL): Define.
10006 * posix/unistd.h: Use __THREADNL instead of __THREAD
10007 for memory synchronization functions.
10008
94d44d9f
RM
100092011-10-26 Roland McGrath <roland@hack.frob.com>
10010
21b64b15 10011 [BZ #13349]
94d44d9f
RM
10012 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10013 doesn't exist.
10014 * manual/stdio.texi (Obstack Streams): Node removed.
10015
f6ce9294
AS
100162011-10-26 Andreas Schwab <schwab@redhat.com>
10017
80479147
AS
10018 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10019 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10020 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10021
f6ce9294
AS
10022 * math/math_private.h (math_force_eval): Allow non-addressable
10023 arguments.
10024 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10025
618280a1
UD
100262011-10-25 Ulrich Drepper <drepper@gmail.com>
10027
e0016b11
UD
10028 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10029 file is not needed.
10030
10031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10032 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10033 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10034 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10035 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10037 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10038 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10039 Add AVX variants.
10040 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10041 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10042 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10043 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10044 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10045 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10046 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10047 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10048 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10049 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10050 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10051 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10052 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10053 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10054 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10055 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10056 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10057 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10058 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10059
10060 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10061 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10062
618280a1
UD
10063 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10064 place. Use VEX encoding when compiling for AVX.
10065
37822576
AS
100662011-10-25 Andreas Schwab <schwab@redhat.com>
10067
1f1e1947
AS
10068 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10069 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10070
37822576
AS
10071 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10072
31ea014d
UD
100732011-10-25 Ulrich Drepper <drepper@gmail.com>
10074
d7826aa1 10075 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10076 useless if() expression.
d7826aa1
UD
10077 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10086 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10087 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10088 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10089 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10090 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10091 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10092 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10093 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10094 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10095 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10096
31ea014d
UD
10097 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10098
16437fec
AS
100992011-10-25 Andreas Schwab <schwab@redhat.com>
10100
10101 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10102 condition.
10103 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10104
31d3cc00
UD
101052011-10-25 Ulrich Drepper <drepper@gmail.com>
10106
10107 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10108 .text section. Avoid duplicate constants.
10109 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10119 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10121 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10124 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10126 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10132 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10133 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10134 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10135 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10136 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10137 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10138 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10139 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10140 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10141 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10142 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10143 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10144 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10145 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10146 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10147 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10148 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10149 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10150 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10151 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10152 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10153 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10154
58985aa9
UD
101552011-10-24 Ulrich Drepper <drepper@gmail.com>
10156
202c9deb
UD
10157 * sysdeps/x86_64/dla.h: Move to ...
10158 * sysdeps/x86_64/fpu/dla.h: ...here.
10159 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10160 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10161
af968f62
UD
10162 * config.make.in: Add have-mfma4 entry.
10163 * configure.in: Substitute libc_cv_cc_fma4.
10164 * math/Makefile (dbl-only-routines): Add sincostab.
10165 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10166 Use __sincostab not sincos.
10167 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10168 name is a macro.
10169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10173 using __copysign.
10174 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10175 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10176 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10177 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10178 and __inv.
10179 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10180 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10181 __copysign.
10182 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10183 define aliases when function name is a macro.
10184 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10185 sysdeps/ieee754/dbl-64/sincos.tbl.
10186 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10187 fma4-enabled routines.
10188 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10189 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10190 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10191 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10192 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10193 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10194 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10195 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10196 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10197 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10198 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10199 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10200 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10201 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10203 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10204 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10205 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10206 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10208 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10209 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10210 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10211 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10212 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10213 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10214 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10215 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10216 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10217 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10218
58985aa9
UD
10219 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10220 rename.
10221 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10222 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10223 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10224 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10229
a201fbcf
AS
102302011-10-24 Andreas Schwab <schwab@redhat.com>
10231
10232 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10233
fc2ee42a
LD
102342011-10-23 Ulrich Drepper <drepper@gmail.com>
10235
bb3129bd
UD
10236 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10237
0275fff8
UD
10238 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10239 prediction.
10240 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10241
2fa2ae85
UD
10242 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10243 Remove unused variable magic_bits.
10244 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10245
fc2ee42a
LD
10246 * string/strnlen.c: Define and use STRNLEN macro.
10247 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10248 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10249 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10250 * wcsmbs/wcslen.c: Define and use WCSLEN.
10251 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10252 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10253 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10254 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10255 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10256 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10257 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10258
ce7dd29f
LD
102592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10260
10261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10262 strnlen-sse2-no-bsf.
10263 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10265 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10266 Add strnlen support.
10267 (USE_AS_STRNLEN): New macro.
10268 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10269 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10270 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10271 * sysdeps/x86_64/wcslen.S: New file.
10272
979c70a3
MZ
102732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10274
10275 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10276 XMM-moves are used for copying on small sizes.
10277
2d09f82f
LD
102782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10279
10280 * wcsmbs/Makefile (strop-tests): Add wcschr.
10281 * wcsmbs/test-wcschr.c: New file.
10282 * string/test-strchr.c: Update.
10283 Add wcschr support.
10284 (WIDE): New macro.
10285
619fccca
LD
102862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10287
2d09f82f 10288 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10289 * wcsmbs/test-wcslen.c: New file.
10290 * string/test-strlen.c: Update.
10291 Add wcslen support.
10292 (WIDE): New macro.
10293
09f699ea
UD
102942011-10-23 Ulrich Drepper <drepper@gmail.com>
10295
10296 * po/it.po: Update from translation team.
10297
95584d3b
LD
102982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10299
10300 * sysdeps/x86_64/wcscmp.S: Update.
10301 Fix wrong comparison semantics.
10302 wcscmp shall use signed comparison not unsigned.
10303 Don't use substraction to avoid overflow bug.
10304 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10305 * wcsmbc/wcscmp.c: Likewise.
10306 * string/test-strcmp.c: Likewise.
10307 Add new tests to check cases with negative values.
10308
c8b3296b
UD
103092011-10-23 Ulrich Drepper <drepper@gmail.com>
10310
10311 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10312 * sysdeps/x86_64/dla.h: ...here. New file.
10313 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10318 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10322
246ad57a
AS
103232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10324
10325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10326 __ynl_finite aliases.
10327
a1a87169
UD
103282011-10-22 Ulrich Drepper <drepper@gmail.com>
10329
0d355eb7
UD
10330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10331
a1a87169
UD
10332 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10333 define DLA_FMA.
10334 [DLA_FMA] (EMULV): Use DLA_FMA.
10335 [DLA_FMA] (MUL12): Use EMULV.
10336 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10337 that are not needed.
10338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10345
ee2aafe0
AS
103462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10347
10348 * math/s_nan.c: Undef __nan.
10349 * math/s_nanf.c: Undef __nanf.
10350 * math/s_nanl.c: Undef __nanl.
10351 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10352 "math_private.h".
10353
bc62c2fb
UD
103542011-10-22 Ulrich Drepper <drepper@gmail.com>
10355
77425c63
UD
10356 * math/s_catan.c: Add branch predictions.
10357 * math/s_catanf.c: Likewise.
10358 * math/s_catanh.c: Likewise.
10359 * math/s_catanhf.c: Likewise.
10360 * math/s_catanhl.c: Likewise.
10361 * math/s_catanl.c: Likewise.
10362 * math/s_cexp.c: Likewise.
10363 * math/s_cexpf.c: Likewise.
10364 * math/s_cexpl.c: Likewise.
10365 * math/s_clog.c: Likewise.
10366 * math/s_clog10.c: Likewise.
10367 * math/s_clog10f.c: Likewise.
10368 * math/s_clog10l.c: Likewise.
10369 * math/s_clogf.c: Likewise.
10370 * math/s_clogl.c: Likewise.
10371 * math/s_csqrt.c: Likewise.
10372 * math/s_csqrtf.c: Likewise.
10373 * math/s_csqrtl.c: Likewise.
10374 * math/s_ctanf.c: Likewise.
10375 * math/s_ctanh.c: Likewise.
10376 * math/s_ctanhf.c: Likewise.
10377 * math/s_ctanhl.c: Likewise.
10378 * math/s_ctanl.c: Likewise.
10379
bc62c2fb
UD
10380 * math/math_private.h: Define __nan, __nanf, __nanl.
10381 * math/s_cacosh.c: Include <math_private.h>.
10382 * math/s_cacoshl.c: Likewise.
10383 * math/s_casinh.c: Likewise.
10384 * math/s_casinhf.c: Likewise.
10385 * math/s_casinhl.c: Likewise.
10386 * math/s_ccos.c: Rely entire on ccosh.
10387 * math/s_ccosf.c: Rely entire on ccoshf.
10388 * math/s_ccosl.c: Rely entirely on ccoshl.
10389 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10390 Remove tests for FE_INVALID.
10391 * math/s_ccoshf.c: Likewise.
10392 * math/s_ccoshl.c: Likewise.
10393 * math/s_csin.c: Likewise.
10394 * math/s_csinf.c: Likewise.
10395 * math/s_csinh.c Likewise.
10396 * math/s_csinhf.c: Likewise.
10397 * math/s_csinhl.c: Likewise.
10398 * math/s_csinl.c: Likewise.
10399 * math/s_ctan.c: Likewise.
10400 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10401 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10402 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10403
8ec250a4
UD
104042011-10-21 Ulrich Drepper <drepper@gmail.com>
10405
c196fed8
UD
10406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10407 compilation problems.
10408
8ec250a4
UD
10409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10410 __builtin_expect.
10411
8d4f46c6
UD
104122011-10-20 Ulrich Drepper <drepper@gmail.com>
10413
ed72b654
UD
10414 * sysdeps/i386/configure.in: Test for -mfma4 option.
10415 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10416 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10417 COMMON_CPUID_INDEX_80000001.
10418 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10419 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10420 use it if FMA3 is not supported.
10421 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10422
8d4f46c6
UD
10423 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10424 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10425
d45c60c2
AS
104262011-10-20 Andreas Schwab <schwab@redhat.com>
10427
10428 [BZ #12892]
10429 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10430 it would create a cycle with a link time dependency.
10431
d9a4d2ab
UD
104322011-10-19 Ulrich Drepper <drepper@gmail.com>
10433
855d1560
UD
10434 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10435 instruction.
10436 * string/Makefile (strop-tests): Add rawmemchr.
10437 * string/test-rawmemchr.c: New file.
10438
d9a4d2ab
UD
10439 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10440 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10441 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10442 when compiling str{,n}casecmp and when AVX is available. Hook up
10443 new optimized code in initializers.
10444
8f3b1ffe
AS
104452011-10-19 Andreas Schwab <schwab@redhat.com>
10446
10447 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10448 __feraiseexcept instead of feraiseexcept.
10449
d38f1dba
UD
104502011-10-18 Ulrich Drepper <drepper@gmail.com>
10451
d9a8d0ab
UD
10452 * math/math_private.h: Define defaults for libc_fetestexcept and
10453 libc_feupdateenv.
10454 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10455 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10456 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10457 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10458 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10459 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10460 libc_fetestexcept and libc_feupdateenv.
10461
4855e3dd
UD
10462 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10463 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10464 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10465 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10466 libc_feholdexcept_setround.
10467
581d30e3
UD
10468 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10469 Add s_nearbyint-c and s_nearbyintf-c.
10470 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10471 nearbyintf inlines.
10472 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10473 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10474 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10475 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10476
d38f1dba
UD
10477 * math/math_private.h: Define defaults for libc_fegetround,
10478 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10479 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10480 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10481 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10482 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10483 standard functions.
10484 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10485 Remove comments and hacks for old compiler versions.
10486 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10487 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10488 libc_feholdexceptl.
10489
caa6c9d8
AS
104902011-10-18 Andreas Schwab <schwab@redhat.com>
10491
10492 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10493 (__feraiseexcept_renamed): Add __NTH.
10494 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10495 namespace violations.
10496
97c066e6
UD
104972011-10-17 Ulrich Drepper <drepper@gmail.com>
10498
99ce7b04
UD
10499 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10500
1004d182
UD
10501 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10502
228a984d
UD
10503 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10504 recently added interfaces.
10505 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10506
c8553a6a
UD
10507 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10508 about macro parameter expansion.
10509
ed22dcf6
UD
10510 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10511 __NO_MATH_INLINES is defined. Cleanups.
10512
10513 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10514 and __floorf is target has SSE4.1.
10515 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10516 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10517 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10518 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10519
b171c137
UD
10520 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10521 name.
10522 (floorf): Likewise.
10523
97c066e6
UD
10524 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10525
629f62ef
AS
105262011-10-17 Andreas Schwab <schwab@redhat.com>
10527
49a43d80
AS
10528 * misc/sys/cdefs.h: Fix last change.
10529
629f62ef
AS
10530 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10531 database lookup.
10532
e453f6cd
UD
105332011-10-16 Ulrich Drepper <drepper@gmail.com>
10534
aa78043a
UD
10535 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10536
ad0f5cad
UD
10537 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10538 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10543 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10544 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10545 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10546 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10547 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10548 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10549 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10550 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10551 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10552 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10553 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10554 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10555 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10556 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10557 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10558 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10559
10560 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10561 ceil, ceilf, floor, floorf.
10562
10563 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10564 Perform IRELATIVE relocations last.
10565
e453f6cd
UD
10566 * elf/do-rel.h: Add another parameter nrelative, replacing the
10567 local variable with the same name. Change name of the function
10568 to end in Rel or Rela (uppercase).
10569 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10570 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10571 elf_dynamic_do_##reloc function.
10572
fd5bdc09
UD
105732011-10-15 Ulrich Drepper <drepper@gmail.com>
10574
79b195b5
UD
10575 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10576 is sufficient, at least on modern CPUs.
10577
d4a28569
UD
10578 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10579
b61099b5
UD
10580 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10582
bcf01e6d
UD
10583 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10584 __expl_finite.
10585 * math/bits/math-finite.h: Add entries for exp.
10586 * math/e_expl.c: Add __*_finite alias.
10587 * sysdeps/i386/fpu/e_exp.S: Likewise.
10588 * sysdeps/i386/fpu/e_expf.S: Likewise.
10589 * sysdeps/i386/fpu/e_expl.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10591 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10593 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10595 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10596 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10597
ba1a0d59
UD
10598 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10599 is sufficient, at least on modern CPUs.
10600
fd5bdc09
UD
10601 * ctype/ctype-info.c (__ctype_init): Define.
10602 * include/ctype.h (__ctype_init): Declare.
10603 (__ctype_b_loc): The variable is always initialized.
10604 (__ctype_toupper_loc): Likewise.
10605 (__ctype_tolower_loc): Likewise.
10606 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10607 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10608
7872cfb0
AS
106092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10610
b468825a
AS
10611 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10612
7872cfb0
AS
10613 * configure.in: Also look in $cxxmachine/include for C++ system
10614 headers.
10615
be13f7bf
LD
106162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10617
10618 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10619 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10620 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10621 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10622 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10623 (USE_AS_WMEMCMP): New macro.
10624 Fixing indents.
10625 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10626 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10627 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10628 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10630 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10631 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10632 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10633 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10634 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10635 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10636 (USE_AS_WMEMCMP): New macro.
10637 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10638 * sysdeps/string/test-memcmp.c: Update.
10639 Fix simple_wmemcmp.
10640 Add new tests.
10641 * wcsmbs/wmemcmp.c: Update.
10642 (WMEMCMP): New macro.
10643 Fix overflow bug.
10644
556a2007
AJ
106452011-10-12 Andreas Jaeger <aj@suse.de>
10646
10647 [BZ #13268]
10648 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10649
538faaa7
UD
106502011-10-15 Ulrich Drepper <drepper@gmail.com>
10651
ab6737ff
UD
10652 * libio/iofwide.c (do_length): Avoid warning.
10653
538faaa7
UD
10654 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10655
396a21b1
UD
106562011-10-14 Ulrich Drepper <drepper@gmail.com>
10657
cdf2901f
UD
10658 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10659
38ad40ce
UD
10660 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10661 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10662 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10663 * sysdeps/i386/i686/fpu/e_log.S: New file.
10664 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10665 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10666
396a21b1
UD
10667 * ctype/ctype.h: Add support for inlined isXXX functions when
10668 compiling C++ code.
10669
6b1f68c9
AS
106702011-10-14 Andreas Schwab <schwab@redhat.com>
10671
349290c0
AS
10672 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10673
6b1f68c9
AS
10674 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10675
f2282d42
RM
106762011-10-13 Roland McGrath <roland@hack.frob.com>
10677
10678 [BZ #13291]
10679 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10680
5298ffa8
AS
106812011-10-13 Andreas Schwab <schwab@redhat.com>
10682
714fad23
AS
10683 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10684 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10685 feraiseexcept.
10686
81dcc7fb
AS
10687 * sysdeps/x86_64/memrchr.S: Check for zero size.
10688
5298ffa8
AS
10689 * string/stratcliff.c: Add memrchr tests.
10690
951fbcec
LD
106912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10692
10693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10694 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10695 rawmemchr-sse2 rawmemchr-sse2-bsf.
10696 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10697 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10698 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10699 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10700 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10701 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10702 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10703 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10704 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10705 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10706 * string/memrchr.c (MEMRCHR): New macro.
10707
0ac5ae23
UD
107082011-10-12 Ulrich Drepper <drepper@gmail.com>
10709
10710 Add integration with gcc's -ffinite-math-only and optimize wrapper
10711 functions in libm.
10712 * Versions.def: Define GLIBC_2.15 version for libm.
10713 * math/Makefile (headers): Add bits/math-finite.h.
10714 * math/bits/math-finite.h: New file.
10715 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10716 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10717 * math/e_acoshl.c: Add __*_finite alias.
10718 * math/e_acosl.c: Likewise.
10719 * math/e_asinl.c: Likewise.
10720 * math/e_atan2l.c: Likewise.
10721 * math/e_atanhl.c: Likewise.
10722 * math/e_coshl.c: Likewise.
10723 * math/e_exp10.c: Likewise.
10724 * math/e_exp10f.c: Likewise.
10725 * math/e_exp10l.c: Likewise.
10726 * math/e_exp2l.c: Likewise.
10727 * math/e_fmodl.c: Likewise.
10728 * math/e_gammal_r.c: Likewise.
10729 * math/e_hypotl.c: Likewise.
10730 * math/e_j0l.c: Likewise.
10731 * math/e_j1l.c: Likewise.
10732 * math/e_jnl.c: Likewise.
10733 * math/e_lgammal_r.c: Likewise.
10734 * math/e_log10l.c: Likewise.
10735 * math/e_log2l.c: Likewise.
10736 * math/e_logl.c: Likewise.
10737 * math/e_powl.c: Likewise.
10738 * math/e_sinhl.c: Likewise.
10739 * math/e_sqrtl.c: Likewise.
10740 * math/e_scalb.c: Completely rewritten and optimized.
10741 * math/e_scalbf.c: Likewise.
10742 * math/e_scalbl.c: Likewise.
10743 * math/w_acos.c: Likewise.
10744 * math/w_acosf.c: Likewise.
10745 * math/w_acosl.c: Likewise.
10746 * math/w_acosh.c: Likewise.
10747 * math/w_acoshf.c: Likewise.
10748 * math/w_acoshl.c: Likewise.
10749 * math/w_asin.c: Likewise.
10750 * math/w_asinf.c: Likewise.
10751 * math/w_asinl.c: Likewise.
10752 * math/w_atan2.c: Likewise.
10753 * math/w_atan2f.c: Likewise.
10754 * math/w_atan2l.c: Likewise.
10755 * math/w_atanh.c: Likewise.
10756 * math/w_atanhf.c: Likewise.
10757 * math/w_atanhl.c: Likewise.
10758 * math/w_exp10.c: Likewise.
10759 * math/w_exp10f.c: Likewise.
10760 * math/w_exp10l.c: Likewise.
10761 * math/w_fmod.c: Likewise.
10762 * math/w_fmodf.c: Likewise.
10763 * math/w_fmodl.c: Likewise.
10764 * math/w_j0.c: Likewise.
10765 * math/w_j0f.c: Likewise.
10766 * math/w_j0l.c: Likewise.
10767 * math/w_j1.c: Likewise.
10768 * math/w_j1f.c: Likewise.
10769 * math/w_j1l.c: Likewise.
10770 * math/w_jn.c: Likewise.
10771 * math/w_jnf.c: Likewise.
10772 * math/w_log.c: Likewise.
10773 * math/w_logf.c: Likewise.
10774 * math/w_logl.c: Likewise.
10775 * math/w_log10.c: Likewise.
10776 * math/w_log10f.c: Likewise.
10777 * math/w_log10l.c: Likewise.
10778 * math/w_log2.c: Likewise.
10779 * math/w_log2f.c: Likewise.
10780 * math/w_log2l.c: Likewise.
10781 * math/w_pow.c: Likewise.
10782 * math/w_powf.c: Likewise.
10783 * math/w_powl.c: Likewise.
10784 * math/w_remainder.c: Likewise.
10785 * math/w_remainderf.c: Likewise.
10786 * math/w_remainderl.c: Likewise.
10787 * math/w_scalb.c: Likewise.
10788 * math/w_scalbf.c: Likewise.
10789 * math/w_scalbl.c: Likewise.
10790 * math/w_sqrt.c: Likewise.
10791 * math/w_sqrtf.c: Likewise.
10792 * math/w_sqrtl.c: Likewise.
10793 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10794 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10795 used.
10796 * math/math_private.h: Declare __kernel_standard_f.
10797 * math/w_cosh.c: Remove cruft and optimize a bit.
10798 * math/w_coshf.c: Likewise.
10799 * math/w_coshl.c: Likewise.
10800 * math/w_exp2.c: Likewise.
10801 * math/w_exp2f.c: Likewise.
10802 * math/w_exp2l.c: Likewise.
10803 * math/w_hypot.c: Likewise.
10804 * math/w_hypotf.c: Likewise.
10805 * math/w_hypotl.c: Likewise.
10806 * math/w_lgamma.c: Likewise.
10807 * math/w_lgamma_r.c: Likewise.
10808 * math/w_lgammaf.c: Likewise.
10809 * math/w_lgammaf_r.c: Likewise.
10810 * math/w_lgammal.c: Likewise.
10811 * math/w_lgammal_r.c: Likewise.
10812 * math/w_sinh.c: Likewise.
10813 * math/w_sinhf.c: Likewise.
10814 * math/w_sinhl.c: Likewise.
10815 * math/w_tgamma.c: Likewise.
10816 * math/w_tgammaf.c: Likewise.
10817 * math/w_tgammal.c: Likewise.
10818 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10819 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10820 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10821 Minor optimizations. Pretty printing. Remove cruft.
10822 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10823 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10824 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10825 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10826 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10827 * sysdeps/i386/fpu/e_asin.S: Likewise.
10828 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10829 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10830 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10831 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10832 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10833 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10834 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10835 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10836 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10837 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10838 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10839 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10840 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10841 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10842 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10843 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10844 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10845 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10846 * sysdeps/i386/fpu/e_log.S: Likewise.
10847 * sysdeps/i386/fpu/e_log10.S: Likewise.
10848 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10849 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10850 * sysdeps/i386/fpu/e_log2.S: Likewise.
10851 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10852 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10853 * sysdeps/i386/fpu/e_logf.S: Likewise.
10854 * sysdeps/i386/fpu/e_logl.S: Likewise.
10855 * sysdeps/i386/fpu/e_pow.S: Likewise.
10856 * sysdeps/i386/fpu/e_powf.S: Likewise.
10857 * sysdeps/i386/fpu/e_powl.S: Likewise.
10858 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10859 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10860 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10861 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10862 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10863 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10864 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10865 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10866 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10867 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10868 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10870 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10871 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10872 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10876 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10888 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10889 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10890 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10891 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10892 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10893 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10894 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10895 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10896 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10897 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10898 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10899 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10900 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10901 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10902 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10903 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10904 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10905 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10906 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10907 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10908 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10910 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10911 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10912 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10913 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10914 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10916 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10917 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10918 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10919 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10922 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10923 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10924 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10925 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10926 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10927 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10928 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10929 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10930 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10932 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10933 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10938 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10939 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10940 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10943 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10944 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10945 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10949 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10950 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10951 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10952 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10953 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10954 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10955 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10956 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10957 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10958 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10959 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10960 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10961 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10962 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10963 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10964 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10965 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10966 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10967 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10968 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10969 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10970 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10971 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10972 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10973 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10974 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10975 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10976 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10977 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10978 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10979 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10980 (__isnanf): Likewise.
10981 (__isinf_ns): Likewise.
10982 (__isinf_nsf): Likewise.
10983 (__finite): Likewise.
10984 (__finitef): Likewise.
10985 (__ieee754_sqrt): Define as macro.
10986 (__ieee754_sqrtf): Define as macro.
10987 (__ieee754_sqrtl): Define as macro.
10988 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10989 inlined copy.
10990 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10991 __FINITE_MATH_ONLY__ consistent.
10992 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10993
12cc2fcd
AS
109942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10995
a843a204
AS
10996 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10997 of rawmemchr.
10998
12cc2fcd
AS
10999 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11000
c853acd5
UD
110012011-10-09 Ulrich Drepper <drepper@gmail.com>
11002
11003 * po/ja.po: Update from translation team.
11004
c658d255
RM
110052011-10-08 Roland McGrath <roland@hack.frob.com>
11006
110946e4
RM
11007 * locale/programs/locarchive.c (prepare_address_space): New function.
11008 (create_archive, enlarge_archive, open_archive): Use it.
11009
50604220
RM
11010 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11011 inside [SHARED], where it is used.
11012
c658d255
RM
11013 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11014
11015 * nss/getent.c (netgroup_keys): Remove unused variable.
11016 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11017
6a621eb7
UD
110182011-10-08 Ulrich Drepper <drepper@gmail.com>
11019
7edb55ce
UD
11020 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11021 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11022 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11023 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11024 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11025 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11026 * math/Makefile (libm-calls): Add s_isinf_ns.
11027 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11028 * math/multc3.c: Likewise.
11029 * math/s_casin.c: Likewise.
11030 * math/s_casinf.c: Likewise.
11031 * math/s_casinl.c: Likewise.
11032 * math/s_ccos.c: Likewise.
11033 * math/s_ccosf.c: Likewise.
11034 * math/s_ccosl.c: Likewise.
11035 * math/s_ctan.c: Likewise.
11036 * math/s_ctanf.c: Likewise.
11037 * math/s_ctanh.c: Likewise.
11038 * math/s_ctanhf.c: Likewise.
11039 * math/s_ctanhl.c: Likewise.
11040 * math/s_ctanl.c: Likewise.
11041 * math/w_fmod.c: Likewise.
11042 * math/w_fmodf.c: Likewise.
11043 * math/w_fmodl.c: Likewise.
11044 * math/w_remainder.c: Likewise.
11045 * math/w_remainderf.c: Likewise.
11046 * math/w_remainderl.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11048 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11049 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11051 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11052 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11053 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11054 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11055
187da0ae
UD
11056 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11057 of the number.
11058 * stdio-common/printf_fphex.c: Likewise.
11059 * stdio-common/printf_size.c: Likewise.
11060
9277c064
UD
11061 * math/e_exp10.c: Include math_private.h using <...> not "...".
11062 * math/e_exp10f.c: Likewise.
11063 * math/e_exp10l.c: Likewise.
11064 * math/e_exp2l.c: Likewise.
11065 * math/e_j0l.c: Likewise.
11066 * math/e_j1l.c: Likewise.
11067 * math/e_jnl.c: Likewise.
11068 * math/e_lgammal_r.c: Likewise.
11069 * math/e_rem_pio2l.c: Likewise.
11070 * math/e_scalb.c: Likewise.
11071 * math/e_scalbf.c: Likewise.
11072 * math/e_scalbl.c: Likewise.
11073 * math/k_cosl.c: Likewise.
11074 * math/k_sinl.c: Likewise.
11075 * math/k_tanl.c: Likewise.
11076 * math/s_cacoshf.c: Likewise.
11077 * math/s_catan.c: Likewise.
11078 * math/s_catanf.c: Likewise.
11079 * math/s_catanh.c: Likewise.
11080 * math/s_catanhf.c: Likewise.
11081 * math/s_catanhl.c: Likewise.
11082 * math/s_catanl.c: Likewise.
11083 * math/s_ccosh.c: Likewise.
11084 * math/s_ccoshf.c: Likewise.
11085 * math/s_ccoshl.c: Likewise.
11086 * math/s_cexp.c: Likewise.
11087 * math/s_cexpf.c: Likewise.
11088 * math/s_cexpl.c: Likewise.
11089 * math/s_clog.c: Likewise.
11090 * math/s_clog10.c: Likewise.
11091 * math/s_clog10f.c: Likewise.
11092 * math/s_clog10l.c: Likewise.
11093 * math/s_clogf.c: Likewise.
11094 * math/s_clogl.c: Likewise.
11095 * math/s_csin.c: Likewise.
11096 * math/s_csinf.c: Likewise.
11097 * math/s_csinh.c: Likewise.
11098 * math/s_csinhf.c: Likewise.
11099 * math/s_csinhl.c: Likewise.
11100 * math/s_csinl.c: Likewise.
11101 * math/s_csqrt.c: Likewise.
11102 * math/s_csqrtf.c: Likewise.
11103 * math/s_csqrtl.c: Likewise.
11104 * math/s_ctan.c: Likewise.
11105 * math/s_ctanf.c: Likewise.
11106 * math/s_ctanh.c: Likewise.
11107 * math/s_ctanhf.c: Likewise.
11108 * math/s_ctanhl.c: Likewise.
11109 * math/s_ctanl.c: Likewise.
11110 * math/s_ldexp.c: Likewise.
11111 * math/s_ldexpf.c: Likewise.
11112 * math/s_ldexpl.c: Likewise.
11113 * math/s_significand.c: Likewise.
11114 * math/s_significandf.c: Likewise.
11115 * math/s_significandl.c: Likewise.
11116 * math/w_acos.c: Likewise.
11117 * math/w_acosf.c: Likewise.
11118 * math/w_acosh.c: Likewise.
11119 * math/w_acoshf.c: Likewise.
11120 * math/w_acoshl.c: Likewise.
11121 * math/w_acosl.c: Likewise.
11122 * math/w_asin.c: Likewise.
11123 * math/w_asinf.c: Likewise.
11124 * math/w_asinl.c: Likewise.
11125 * math/w_atan2.c: Likewise.
11126 * math/w_atan2f.c: Likewise.
11127 * math/w_atan2l.c: Likewise.
11128 * math/w_atanh.c: Likewise.
11129 * math/w_atanhf.c: Likewise.
11130 * math/w_atanhl.c: Likewise.
11131 * math/w_cosh.c: Likewise.
11132 * math/w_coshf.c: Likewise.
11133 * math/w_coshl.c: Likewise.
11134 * math/w_dremf.c: Likewise.
11135 * math/w_exp10.c: Likewise.
11136 * math/w_exp10f.c: Likewise.
11137 * math/w_exp10l.c: Likewise.
11138 * math/w_exp2.c: Likewise.
11139 * math/w_exp2f.c: Likewise.
11140 * math/w_fmod.c: Likewise.
11141 * math/w_fmodf.c: Likewise.
11142 * math/w_fmodl.c: Likewise.
11143 * math/w_hypot.c: Likewise.
11144 * math/w_hypotf.c: Likewise.
11145 * math/w_hypotl.c: Likewise.
11146 * math/w_j0.c: Likewise.
11147 * math/w_j0f.c: Likewise.
11148 * math/w_j0l.c: Likewise.
11149 * math/w_j1.c: Likewise.
11150 * math/w_j1f.c: Likewise.
11151 * math/w_j1l.c: Likewise.
11152 * math/w_jn.c: Likewise.
11153 * math/w_jnf.c: Likewise.
11154 * math/w_jnl.c: Likewise.
11155 * math/w_lgamma.c: Likewise.
11156 * math/w_lgamma_r.c: Likewise.
11157 * math/w_lgammaf.c: Likewise.
11158 * math/w_lgammaf_r.c: Likewise.
11159 * math/w_lgammal.c: Likewise.
11160 * math/w_lgammal_r.c: Likewise.
11161 * math/w_log.c: Likewise.
11162 * math/w_log10.c: Likewise.
11163 * math/w_log10f.c: Likewise.
11164 * math/w_log10l.c: Likewise.
11165 * math/w_log2.c: Likewise.
11166 * math/w_log2f.c: Likewise.
11167 * math/w_log2l.c: Likewise.
11168 * math/w_logf.c: Likewise.
11169 * math/w_logl.c: Likewise.
11170 * math/w_pow.c: Likewise.
11171 * math/w_powf.c: Likewise.
11172 * math/w_powl.c: Likewise.
11173 * math/w_remainder.c: Likewise.
11174 * math/w_remainderf.c: Likewise.
11175 * math/w_remainderl.c: Likewise.
11176 * math/w_scalb.c: Likewise.
11177 * math/w_scalbf.c: Likewise.
11178 * math/w_scalbl.c: Likewise.
11179 * math/w_sinh.c: Likewise.
11180 * math/w_sinhf.c: Likewise.
11181 * math/w_sinhl.c: Likewise.
11182 * math/w_sqrt.c: Likewise.
11183 * math/w_sqrtf.c: Likewise.
11184 * math/w_sqrtl.c: Likewise.
11185 * math/w_tgamma.c: Likewise.
11186 * math/w_tgammaf.c: Likewise.
11187 * math/w_tgammal.c: Likewise.
11188
6a621eb7
UD
11189 * po/ja.po: Update from translation team.
11190
bf582445
AJ
111912011-09-29 Andreas Jaeger <aj@suse.de>
11192
f9efbf3a
AJ
11193 [BZ #13179]
11194 * sunrpc/netname.c (netname2host): Fix logic.
11195
bf582445
AJ
11196 [BZ #6779]
11197 [BZ #6783]
11198 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11199 correctly.
11200 * math/w_remainder.c (__remainder): Likewise.
11201 * math/w_remainderf.c (__remainderf): Likewise.
11202 * math/libm-test.inc (remainder_test): Add test cases.
11203
48693bea
AK
112042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11205
11206 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11207 sdiv_qrnnd.
11208
42622229
LD
112092011-10-07 Ulrich Drepper <drepper@gmail.com>
11210
11211 * string/test-memcmp.c: Avoid unncessary #defines.
11212 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11213
093ecf92
LD
112142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11215
11216 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11217 Use new sse2 version for core i3 - i7 as it's faster
11218 than sse42 version.
11219 (bit_Prefer_PMINUB_for_stringop): New.
11220 * sysdeps/x86_64/rawmemchr.S: Update.
11221 Replace with faster SSE2 version.
11222 * sysdeps/x86_64/memrchr.S: New file.
11223 * sysdeps/x86_64/memchr.S: Update.
11224 Replace with faster SSE2 version.
11225
fde56e5c
MP
112262011-09-12 Marek Polacek <mpolacek@redhat.com>
11227
11228 * elf/dl-load.c (lose): Add cast to avoid warning.
11229
21fd49a9
UD
112302011-10-07 Ulrich Drepper <drepper@gmail.com>
11231
5a06e643
UD
11232 * po/ca.po: Update from translation team.
11233
684ae515
UD
11234 * inet/getnetgrent_r.c: Hook up nscd.
11235 * nscd/Makefile (routines): Add nscd_netgroup.
11236 (nscd-modules): Add netgroupcache.
11237 (CFLAGS-netgroupcache.c): Define.
11238 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11239 (cache_search): Add const to second parameter.
11240 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11241 INNETGR.
11242 (dbs): Add netgrdb entry.
11243 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11244 (verify_persistent_db): Handle netgrdb.
11245 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11246 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11247 GETFDNETGR.
11248 (netgroup_response_header): Define.
11249 (innetgroup_response_header): Define.
11250 (datahead): Add netgroup_response_header and innetgroup_response_header
11251 elements.
11252 * nscd/nscd.conf: Add entries for netgroup cache.
11253 * nscd/nscd.h (dbtype): Add netgrdb.
11254 (_PATH_NSCD_NETGROUP_DB): Define.
11255 (netgroup_iov_disabled): Declare.
11256 (xmalloc, xcalloc, xrealloc): Move declarations here.
11257 (cache_search): Adjust prototype.
11258 Add netgroup-related prototypes.
11259 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11260 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11261 (__nscd_innetgr): Declare.
11262 * nscd/selinux.c (perms): Use access_vector_t as element type and
11263 add netgroup-related initializers.
11264 * nscd/netgroupcache.c: New file.
11265 * nscd/nscd_netgroup.c: New file.
11266 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11267 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11268 For four parameters use innetgr.
11269 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11270 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11271 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11272 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11273
21fd49a9
UD
11274 * nscd/connections.c (register_traced_file): Don't register file
11275 for disabled databases.
11276
054c0457
UD
112772011-10-06 Ulrich Drepper <drepper@gmail.com>
11278
32b63198
UD
11279 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11280
054c0457
UD
11281 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11282 from tree and freeing node.
11283
64031225
JO
112842011-09-25 Jiri Olsa <jolsa@redhat.com>
11285
11286 * nss/nsswitch.c (__nss_database_lookup): Handle
11287 nss_parse_service_list out of memory case.
11288
0490345c
JO
112892011-09-15 Jiri Olsa <jolsa@redhat.com>
11290
11291 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11292 out of memory case.
11293
3a62d00d
AS
112942011-10-04 Andreas Schwab <schwab@redhat.com>
11295
11296 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11297 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11298 pass it down.
11299 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11300 elf_machine_rela, elf_machine_lazy_rel.
11301 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11302 (ELF_DYNAMIC_DO_REL): Likewise.
11303 (ELF_DYNAMIC_DO_RELA): Likewise.
11304 (ELF_DYNAMIC_RELOCATE): Likewise.
11305 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11306 to ELF_DYNAMIC_DO_REL.
11307 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11308 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11309 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11310 elf_machine_rela.
11311 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11312 skip_ifunc, don't call ifunc function if non-zero.
11313 (elf_machine_rela): Likewise.
11314 (elf_machine_lazy_rel): Likewise.
11315 (elf_machine_lazy_rela): Likewise.
11316 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11317 (elf_machine_lazy_rel): Likewise.
11318 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11319 Likewise.
11320 (elf_machine_lazy_rel): Likewise.
11321 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11322 Likewise.
11323 (elf_machine_lazy_rel): Likewise.
11324 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11325 (elf_machine_lazy_rel): Likewise.
11326 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11327 (elf_machine_lazy_rel): Likewise.
11328 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11329 (elf_machine_lazy_rel): Likewise.
11330 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11331 (elf_machine_lazy_rel): Likewise.
11332 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11333 (elf_machine_lazy_rel): Likewise.
11334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11335 (elf_machine_lazy_rel): Likewise.
11336
68577918
UD
113372011-09-28 Ulrich Drepper <drepper@gmail.com>
11338
11339 * nss/nss_files/files-init.c (_nss_files_init): Use static
11340 initialization for all the *_traced_file variables.
11341
68822d74
AS
113422011-09-28 Andreas Schwab <schwab@redhat.com>
11343
11344 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11345
2056100b
RM
113462011-09-27 Roland McGrath <roland@hack.frob.com>
11347
11348 [BZ #13226]
11349 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11350
32c76b63
AS
113512011-09-27 Andreas Schwab <schwab@redhat.com>
11352
11353 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11354 Reread the line before reparsing it.
11355
bf972c9d
AS
113562011-09-26 Andreas Schwab <schwab@redhat.com>
11357
11358 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11359
e057a1b5
JM
113602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11361 Maxim Kuvyrkov <maxim@codesourcery.com>
11362 Joseph Myers <joseph@codesourcery.com>
11363
11364 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11365 if needed for __stack_chk_guard.
11366
bc7e1c36
RM
113672011-09-19 Roland McGrath <roland@hack.frob.com>
11368
ecb1482f
RM
11369 * sysdeps/posix/spawni.c (script_execute): Always define it.
11370 It will be optimized away if unused.
11371 (maybe_script_execute): New function.
11372 (__spawni): Call it.
11373
bc7e1c36
RM
11374 * Makerules: Don't include tls.make.
11375 (config-tls): Always set to thread.
11376 * tls.make.c: File removed.
11377
1c3b002b
MF
113782011-09-19 Mike Frysinger <vapier@gentoo.org>
11379
11380 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11381 * config.make.in (CPPFLAGS-config): New substituted variable.
11382
2840865d
UD
113832011-09-15 Ulrich Drepper <drepper@gmail.com>
11384
88738eb6
UD
11385 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11386
cbf645a6 11387 [BZ #13192]
2840865d
UD
11388 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11389 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11390
b402e91a
RM
113912011-09-15 Roland McGrath <roland@hack.frob.com>
11392
11393 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11394 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11395 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11396 (CALL_FAIL): Likewise.
11397 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11398 (CALL_FAIL): Macro removed.
11399 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11400
4c1a1f71
UD
114012011-09-15 Ulrich Drepper <drepper@gmail.com>
11402
11403 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11404 for __FINITE_MATH_ONLY__ == 1.
11405
edc121be
AS
114062011-09-15 Andreas Schwab <schwab@redhat.com>
11407
11408 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11409 __ieee754_sqrt instead of sqrt.
11410 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11411 __ieee754_sqrtf instead of sqrtf.
11412 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11413 __floorf instead of floorf.
11414 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11415 __floorf, __truncf instead of floorf, truncf.
11416
cd205654
UD
114172011-09-14 Ulrich Drepper <drepper@gmail.com>
11418
ee4d0315
UD
11419 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11420
cd205654
UD
11421 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11422 __extern_always_inline.
11423 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11424 32-bit.
11425
48b67d71
AS
114262011-09-14 Andreas Schwab <schwab@redhat.com>
11427
11428 * elf/rtld.c (dl_main): Also relocate in dependency order when
11429 doing symbol dependency testing.
11430
1ae12c75
AS
114312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11432
11433 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11434 Always define `refsym'.
11435
995a80df
AS
114362011-09-13 Andreas Schwab <schwab@redhat.com>
11437
e529793b
AS
11438 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11439 (__FD_ELT): Renamed from __FDELT.
11440 * misc/bits/select2.h (__FD_ELT): Likewise.
11441 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11442 __FD_MASK instead of __FDELT, __FDMASK.
11443 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11444 Likewise.
11445 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11446 Likewise.
11447
52d4fef8
AS
11448 * elf/Makefile (gen-ldd): Fix pattern.
11449
995a80df
AS
11450 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11451 (init_tls): Likewise.
11452
8682f8b0
UD
114532011-09-12 Ulrich Drepper <drepper@gmail.com>
11454
11455 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11456
de82006d
AS
114572011-09-12 Andreas Schwab <schwab@redhat.com>
11458
a7c8e6a1
AS
11459 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11460 `struct cmsghdr *' instead of `void *'.
11461 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11462 Likewise.
11463
0f31fe77
AS
114642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11465
11466 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11467 if non-absolute.
11468 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11469 ldd_rewrite_script.
0f31fe77 11470
32b4c839
UD
114712011-09-11 Ulrich Drepper <drepper@gmail.com>
11472
83cd1420
UD
11473 * configure.in: Remove --with-tls option.
11474 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11475 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11476 out in case it is missing.
11477 * sysdeps/ia64/elf/configure.in: Likewise.
11478 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11479 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11480 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11481 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11482 * sysdeps/sh/elf/configure.in: Likewise.
11483 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11484 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11485 * sysdeps/x86_64/elf/configure.in: Likewise.
11486 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11487 * sysdeps/mach/hurd/tls.h: Likewise.
11488
633f745d
UD
11489 [BZ #13067]
11490 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11491
f318beb8
UD
11492 [BZ #13090]
11493 * configure.in: Fix use of AC_INIT.
11494
32b4c839
UD
11495 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11496
3ce1f295
UD
114972011-09-10 Ulrich Drepper <drepper@gmail.com>
11498
bb016596
UD
11499 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11500 __set_errno.
8e58439c
UD
11501 * malloc/hooks.c: Likewise.
11502
aebae053 11503 [BZ #11929]
02d46fc4
UD
11504 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11505 variables statically.
11506 (narenas): Initialize.
11507 (list_lock): Initialize.
bb016596
UD
11508 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11509 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11510 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11511 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11512 Add initializers to main_arena and mp_.
11513 (malloc_state): Remove pagesize member. Change all users to use
11514 GLRO(dl_pagesize).
11515
11516 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11517 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11518 is always initialized.
11519
22a89187
UD
11520 * malloc/malloc.c: Removed unused configurations and dead code.
11521 * malloc/arena.c: Likewise.
11522 * malloc/hooks.c: Likewise.
02d46fc4 11523 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11524
d063d164
UD
11525 * include/tls.h: Removed. USE___THREAD must always be defined.
11526 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11527 * elf/dl-libc.c: Likewise.
11528 * elf/dl-tsd.c: Likewise.
11529 * include/errno.h: Likewise.
11530 * include/netdb.h: Likewise.
11531 * include/resolv.h: Likewise.
11532 * inet/herrno-loc.c: Likewise.
11533 * inet/herrno.c: Likewise.
11534 * malloc/arena.c: Likewise.
11535 * malloc/hooks.c: Likewise.
11536 * malloc/malloc.c: Likewise.
11537 * resolv/res-state.c: Likewise.
11538 * resolv/res_libc.c: Likewise.
11539 * sysdeps/i386/dl-machine.h: Likewise.
11540 * sysdeps/ia64/dl-machine.h: Likewise.
11541 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11542 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11543 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11544 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11545 * sysdeps/sh/dl-machine.h: Likewise.
11546 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11547 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11548 * sysdeps/unix/i386/sysdep.S: Likewise.
11549 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11550 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11551 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11552 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11553 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11555 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11559 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11560 * sysdeps/x86_64/dl-machine.h: Likewise.
11561 * tls.make.c: Likewise.
11562
3ce1f295
UD
11563 * configure.in: Remove --with-__thread option. Make tests for
11564 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11565 tls_model attribute fail if no support is available. Remove
11566 USE_IN_LIBIO.
11567 * Makeconfig: Adjust for dropped configure option. All features are
11568 now mandatory.
11569 * Makerules: Likewise.
11570 * Versions.def: Likewise.
11571 * argp/argp-fmtstream.c: Likewise.
11572 * argp/argp-fmtstream.h: Likewise.
11573 * argp/argp-help.c: Likewise.
11574 * assert/assert.c: Likewise.
11575 * config.h.in: Likewise.
11576 * config.make.in: Likewise.
11577 * configure: Likewise.
11578 * configure.in: Likewise.
11579 * csu/Versions: Likewise.
11580 * csu/init.c: Likewise.
11581 * elf/tst-audit2.c: Likewise.
11582 * elf/tst-tls10.c: Likewise.
11583 * elf/tst-tls10.h: Likewise.
11584 * elf/tst-tls11.c: Likewise.
11585 * elf/tst-tls12.c: Likewise.
11586 * elf/tst-tls14.c: Likewise.
11587 * elf/tst-tlsmod11.c: Likewise.
11588 * elf/tst-tlsmod12.c: Likewise.
11589 * elf/tst-tlsmod13.c: Likewise.
11590 * elf/tst-tlsmod13a.c: Likewise.
11591 * elf/tst-tlsmod14a.c: Likewise.
11592 * elf/tst-tlsmod15b.c: Likewise.
11593 * elf/tst-tlsmod16a.c: Likewise.
11594 * elf/tst-tlsmod16b.c: Likewise.
11595 * elf/tst-tlsmod7.c: Likewise.
11596 * elf/tst-tlsmod8.c: Likewise.
11597 * elf/tst-tlsmod9.c: Likewise.
11598 * gmon/gmon.c: Likewise.
11599 * grp/fgetgrent_r.c: Likewise.
11600 * grp/putgrent.c: Likewise.
11601 * hurd/fopenport.c: Likewise.
11602 * include/libc-symbols.h: Likewise.
11603 * include/tls.h: Likewise.
11604 * intl/gettextP.h: Likewise.
11605 * intl/loadinfo.h: Likewise.
11606 * locale/global-locale.c: Likewise.
11607 * locale/localeinfo.h: Likewise.
11608 * mach/devstream.c: Likewise.
11609 * malloc/arena.c: Likewise.
11610 * malloc/set-freeres.c: Likewise.
11611 * misc/err.c: Likewise.
11612 * misc/getttyent.c: Likewise.
11613 * misc/mntent_r.c: Likewise.
11614 * posix/getopt.c: Likewise.
11615 * posix/wordexp.c: Likewise.
11616 * pwd/fgetpwent_r.c: Likewise.
11617 * resolv/Versions: Likewise.
11618 * resolv/res_hconf.c: Likewise.
11619 * shadow/fgetspent_r.c: Likewise.
11620 * shadow/putspent.c: Likewise.
11621 * stdio-common/printf_fphex.c: Likewise.
11622 * stdio-common/tmpfile.c: Likewise.
11623 * stdlib/abort.c: Likewise.
11624 * stdlib/fmtmsg.c: Likewise.
11625 * sunrpc/auth_unix.c: Likewise.
11626 * sunrpc/clnt_perr.c: Likewise.
11627 * sunrpc/clnt_tcp.c: Likewise.
11628 * sunrpc/clnt_udp.c: Likewise.
11629 * sunrpc/clnt_unix.c: Likewise.
11630 * sunrpc/openchild.c: Likewise.
11631 * sunrpc/svc_simple.c: Likewise.
11632 * sunrpc/svc_tcp.c: Likewise.
11633 * sunrpc/svc_udp.c: Likewise.
11634 * sunrpc/svc_unix.c: Likewise.
11635 * sunrpc/xdr.c: Likewise.
11636 * sunrpc/xdr_array.c: Likewise.
11637 * sunrpc/xdr_rec.c: Likewise.
11638 * sunrpc/xdr_ref.c: Likewise.
11639 * sunrpc/xdr_stdio.c: Likewise.
11640
1248c1c4
PB
116412011-09-09 Ulrich Drepper <drepper@gmail.com>
11642
11643 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11644
116452011-07-03 Andreas Jaeger <aj@suse.de>
11646
11647 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11648 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11649 regenerate with gen-libm-tests.pl.
11650
116512010-05-12 Petr Baudis <pasky@suse.cz>
11652
11653 [BZ #11589]
11654 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11655 around j0() zero points by switching to j1().
11656 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11660
f22e1074
UD
116612011-09-09 Ulrich Drepper <drepper@gmail.com>
11662
f19009c1
UD
11663 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11664 instead of 0.
11665 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11666 instead of 0. .
11667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11668 Patch in part by Pavel Roskin <proski@gnu.org>.
11669
3f8cc204
UD
11670 [BZ #13138]
11671 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11672 realloc.
11673 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11674 Free memory block if necessary.
11675
f22e1074
UD
11676 [BZ #12847]
11677 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11678 be NULL. Don't lock in this case.
11679
0a2349f9
RM
116802011-09-09 Roland McGrath <roland@hack.frob.com>
11681
11682 * elf/elf.h (ELFOSABI_GNU): New macro.
11683 (ELFOSABI_LINUX): Define to that.
11684
f3cdd467
DZ
116852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11686
11687 * string/strncat.c (strncat): Undef the symbol in case it has been
11688 defined in bits/string.h.
11689
74718d13
UD
116902011-09-09 Ulrich Drepper <drepper@gmail.com>
11691
633e9e0f
UD
11692 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11693
0a2349f9 11694 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11695 link map.
11696
f9924780
AJ
116972011-08-17 Andreas Jaeger <aj@suse.de>
11698
11699 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11700
7f5517aa
PP
117012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11702 Ian Lance Taylor <iant@google.com>
11703
11704 * math/libm-test.inc (lround_test): New testcase.
11705 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11706
762011fe
UD
117072011-09-08 Ulrich Drepper <drepper@gmail.com>
11708
92963737
UD
11709 * Makefile: Remove support for automatic cvs check-ins.
11710 * Makerules: Likewise.
11711 * config.make.in: Likewise.
11712 * configure.in: Likewise.
11713 * intl/Makefile: Likewise.
11714 * locale/Makefile: Likewise.
11715 * po/Makefile: Likewise.
11716 * posix/Makefile: Likewise.
11717 * sysdeps/gnu/Makefile: Likewise.
11718 * sysdeps/mach/hurd/Makefile: Likewise.
11719 * sysdeps/sparc/sparc32/Makefile: Likewise.
11720
b0727fd8
JS
11721 [BZ #13118]
11722 * posix/Makefile (bug-regex32-ENV): Define.
11723 Patch by John Stanley <jpsinthemix@verizon.net>.
11724
a0f33f99
UD
11725 * misc/Makefile (headers): Add bits/select2.h.
11726 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11727 * misc/bits/select2.h: New file.
11728 * include/bits/select2.h: New file.
11729 * debug/Makefile (routines): Add fdelt_chk.
11730 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11731 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11732 FD_ISSET.
11733 * debug/fdelt_chk.c: New file.
11734
762011fe
UD
11735 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11736 * wcsmbs/test-wmemcmp.c: Likewise.
11737 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11738 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11739
117402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11741
11742 * string/Makefile (strop-tests): Add memcmp.
11743 * string/test-wmemcmp.c: New file.
11744 * string/test-memcmp.c: Add wmemcmp support.
11745
7f513ec8
RM
117462011-09-08 Roland McGrath <roland@hack.frob.com>
11747
0442afb4
RM
11748 [BZ #13153]
11749 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11750 2011-07-19 change.
11751
7f513ec8
RM
11752 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11753 garbage value in a __mach_port_mod_refs call in the cases of the
11754 task-self and thread-self ports.
11755
a12b2239
ST
117562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11757
11758 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11759
610f9ab4
AS
117602011-09-08 Andreas Schwab <schwab@redhat.com>
11761
7f513ec8 11762 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11763
48882a1a
LD
117642011-09-07 Ulrich Drepper <drepper@gmail.com>
11765
b49865be
UD
11766 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11767
fdc86bc9
UD
11768 * elf/dl-libc.c (dlerror_run): Pass back error code from
11769 dl_catch_error.
11770
c966526a
UD
11771 [BZ #13123]
11772 * elf/dl-load.c (lose): Free l_origin if it is valid.
11773
48882a1a
LD
11774 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11775 names.
11776 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11777 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11778 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11779 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11780 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11781 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11782
77a2a8b4
AZ
117832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11784
11785 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11786 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11787 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11788 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11789 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11790 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11791 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11792 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11793 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11794 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11795
24f579d8
AM
117962011-08-15 Alan Modra <amodra@gmail.com>
11797
11798 [BZ #13092]
11799 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11800 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11801 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11802 ppc_mcount to static-only-routines.
11803 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11804 __mcount_internal.
11805 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11806 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11807
3d4837df
UD
118082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11809
11810 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11811 for finite and infinity parameters.
11812
22700377
WS
118132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11814
11815 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11816 and add nop instructions for throughput optimization.
11817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11818
5025581e
WS
118192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11820
11821 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11822 aligned copy for power7 with vector-scalar instructions.
11823 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11824
08a300c9
L
118252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11826
11827 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11828 AVX check.
11829
59178ef9
AS
118302011-09-07 Andreas Schwab <schwab@redhat.com>
11831
11832 [BZ #13144]
11833 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11834 last change.
11835
e38ba7ab
UD
118362011-09-07 Ulrich Drepper <drepper@gmail.com>
11837
11838 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11839 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11840 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11841 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11842 clock_gettime.
11843
d53a73ac
UD
118442011-09-06 Ulrich Drepper <drepper@gmail.com>
11845
fc8bffcc
UD
11846 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11847 Forgot to demangle the pointer.
11848
ceaa0c5d
UD
11849 * sysdeps/i386/sysdep.h: Define atom_text_section.
11850 * sysdeps/x86_64/sysdep.h: Likewise.
11851 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11852 section with atom_text_section.
11853 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11854 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11855 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11856 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11857 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11858
a77d3c17
UD
11859 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11860 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11861 already be defined. Change to take two parameters and don't assign
11862 result to variable. Adjust all users.
11863 Define INTERNAL_GETTIME if not already defined.
11864 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11865 call.
11866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11867 HAVE_CLOCK_GETTIME_VSYSCALL.
11868 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11869
d53a73ac
UD
11870 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11871 gettimeofday vsyscall, just use time.
11872
a8f84144
AS
118732011-09-06 Andreas Schwab <schwab@redhat.com>
11874
11875 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11876 <errno.h>.
11877
ef606249
UD
118782011-09-06 Ulrich Drepper <drepper@gmail.com>
11879
11880 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11881 syscall on x86-64.
11882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11883 syscall.
11884 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11885 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11886 syscall if possible.
11887
6585cb60
UD
118882011-09-05 Ulrich Drepper <drepper@gmail.com>
11889
11890 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11891 e_ident. Don't pass to find_mapsXX.
11892 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11893
a5f524e4
LD
118942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11895
11896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11897 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11898 * sysdeps/x86_64/multiarch/strchr.S: Update.
11899 Check bit_slow_BSF bit.
11900 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11901 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11902 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11903
554881ef
UD
119042011-09-05 Ulrich Drepper <drepper@gmail.com>
11905
d96de963
UD
11906 [BZ #13134]
11907 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11908 before glibc 2.15.
11909 (tryshell): Define.
11910 (__spawni): Change last parameter to be flag. Test
11911 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11912 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11913 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11914 * posix/spawni.c: Likewise.
11915 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11916 * posix/spawnp.c: Likewise. Change normal version to use
11917 SPAWN_XFLAGS_USE_PATH.
11918 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11919 SPAWN_XFLAGS_TRY_SHELL.
11920
d48e5868
UD
11921 [BZ #13150]
11922 * posix/glob.h: Remove gcc 1.x support.
11923
554881ef
UD
11924 [BZ #13068]
11925 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11926
693fb948
LD
119272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11928
11929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11930 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11931 strrchr-sse2-bsf
11932 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11933 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11934 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11935 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11936 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11937 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11938
1b48c537
UD
119392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11940
49d42c37
UD
11941 * sysdeps/x86_64/wcscmp.S: New file.
11942
1b48c537
UD
11943 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11944 wcscmp-c wcscmp-sse2
11945 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11946 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11947 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11948 * wcsmbs/wcscmp.c: Allow renaming.
11949
15c95c5d
DM
119502011-09-05 David S. Miller <davem@davemloft.net>
11951
11952 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11953 stack slot, rather than the struct return pointer slot.
11954 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11955 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11957 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11958
2f0ad8f3
UD
119592011-09-05 Ulrich Drepper <drepper@gmail.com>
11960
d88ae418
UD
11961 * po/ja.po: Update from translation team.
11962
2f0ad8f3
UD
11963 [BZ #13144]
11964 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11965 kernel in 64-bit binaries.
11966
5f4318d1
DM
119672011-09-01 David S. Miller <davem@davemloft.net>
11968
11969 * elf/elf.h (HWCAP_SPARC_*): Move to..
11970 * sysdeps/sparc/sysdep.h: this new file and add new values.
11971 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11972 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11973 _DL_HWCAP_COUNT to 24.
11974 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11975 entries.
11976 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11977 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11978 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11980 instead of magic constants.
11981 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11982
3ba57516
DM
119832011-08-31 David S. Miller <davem@davemloft.net>
11984
11985 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11987 Reimplement to do errno handling inline.
11988 (SYSCALL_ERROR_HANDLER): New macro.
11989 (__SYSCALL_STRING): Do not do errno handling in asm.
11990 (__CLONE_SYSCALL_STRING): Delete.
11991 (__INTERNAL_SYSCALL_STRING): Delete.
11992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11993 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11994 (PSEUDO): Reimplement to do errno handling inline.
11995 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11996 (SYSCALL_ERROR_HANDLER): New macro.
11997 (__SYSCALL_STRING): Do not do errno handling in asm.
11998 (__CLONE_SYSCALL_STRING): Delete.
11999 (__INTERNAL_SYSCALL_STRING): Delete.
12000 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12001 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12002 i386.
12003 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12004 (inline_syscall*): Add 'err' argument.
12005 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12006 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12007 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12008 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12009
12010 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12011 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12012
2bc17433
AS
120132011-08-30 Andreas Schwab <schwab@redhat.com>
12014
12015 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12016
fbeb5f4d
JO
120172011-08-29 Jiri Olsa <jolsa@redhat.com>
12018
12019 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12020 directive.
12021
ad69cc26
DM
120222011-08-24 David S. Miller <davem@davemloft.net>
12023
12024 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12025
39dd69df
AS
120262011-08-24 Andreas Schwab <schwab@redhat.com>
12027
12028 * elf/Makefile: Add rules to build and run unload8 test.
12029 * elf/unload8.c: New file.
12030 * elf/unload8mod1.c: New file.
12031 * elf/unload8mod1x.c: New file.
12032 * elf/unload8mod2.c: New file.
12033 * elf/unload8mod3.c: New file.
12034
12035 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12036 it wasn't used.
12037
2c0b250a
DM
120382011-08-23 David S. Miller <davem@davemloft.net>
12039
12040 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12041 subtract stack bias.
12042 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12043 %sp not %fp in calculations.
12044 (_JMPBUF_UNWINDS_ADJ): Likewise.
12045
22044b48
DM
12046 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12047 (aio_suspend): Call it to force an exception region around the
12048 AIO_MISC_WAIT() invocation.
12049
2cae4995
AS
120502011-08-23 Andreas Schwab <schwab@redhat.com>
12051
12052 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12053 backslash.
12054
873a772e
AJ
120552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12056
12057 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12058 protection macro.
12059 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12060 and <dl-machine.h>.
12061 (Elf64_FuncDesc): Remove.
12062
25ad0df1
DM
120632011-08-22 David S. Miller <davem@davemloft.net>
12064
12065 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12066 sigaltstack check, add missing cfi directives.
12067 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12068 missing cfi directives, and sigaltstack handling.
12069
e888bcbe
AS
120702011-08-16 Andreas Schwab <schwab@redhat.com>
12071
12072 [BZ #11724]
12073 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12074 object is seen twice.
12075 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12076
12077 * elf/Makefile (distribute): Add tst-initorder2.c.
12078 (tests): Add tst-initorder2.
12079 (modules-names): Add tst-initorder2a tst-initorder2b
12080 tst-initorder2c tst-initorder2d. Add rules to build them.
12081 ($(objpfx)tst-initorder2.out): New rule.
12082 * elf/tst-initorder2.c: New file.
12083 * elf/tst-initorder2.exp: New file.
12084
87162f46
AS
120852011-08-22 Andreas Schwab <schwab@redhat.com>
12086
70538b7f
AS
12087 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12088
f55ffe58
AS
12089 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12090 dependencies back to end of function.
12091
87162f46
AS
12092 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12093 $(elfobjdir)/ld.so.
12094
91b392a4
UD
120952011-08-21 Ulrich Drepper <drepper@gmail.com>
12096
12097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12098 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12099 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12100 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12101 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12102 of __vdso_gettimeofday.
12103 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12104 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12105 attribute_hidden.
12106 (_libc_vdso_platform_setup): Remove initialization of
12107 __vdso_gettimeofday and __vdso_time.
12108
5c43483f
UD
121092011-08-20 Ulrich Drepper <drepper@gmail.com>
12110
775a77e7
UD
12111 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12112 and fgetc_unlocked.
12113 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12114 getc_unlocked.
89f447ed 12115
49c74ba9
UD
12116 * elf/dl-open.c (add_to_global): Report additions to the global scope
12117 for LD_DEBUG=scopes.
12118 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12119 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12120
5c43483f
UD
12121 [BZ #13114]
12122 * stdio-common/Makefile (tests): Add bug24.
12123 * stdio-common/bug24.c: New file.
12124
a101b025
AJ
121252011-08-19 Andreas Jaeger <aj@suse.de>
12126
12127 [BZ #13114]
12128 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12129 non-existant file when using close-on-exec mode.
12130
c88f1766
UD
121312011-08-20 Ulrich Drepper <drepper@gmail.com>
12132
0276a718
UD
12133 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12134 the very first instruction.
12135
c88f1766
UD
12136 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12137 the CFI state in the end.
12138 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12139 inclusion of dl-trampoline.h.
12140 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12141
51ccffa0
AS
121422011-08-19 Andreas Schwab <schwab@redhat.com>
12143
94d7165f
AS
12144 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12145 expectations for long double.
12146
51ccffa0
AS
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12148 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12149
fd708658 121502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12151
12152 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12153 artificual limit depends upon the system page size.
12154
44f0a71e
UD
121552011-08-17 Ulrich Drepper <drepper@gmail.com>
12156
12157 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12158 * resolv/Makefile: Define CFLAGS-libresolv.
12159
8de79a24
AS
121602011-08-17 Andreas Schwab <schwab@redhat.com>
12161
12162 * nss/makedb.c (compute_tables): Make variables used in nested
12163 function static.
12164
27724598
UD
121652011-08-17 Ulrich Drepper <drepper@gmail.com>
12166
c5305d88
UD
12167 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12168 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12169 if buffer was too small.
12170
27724598
UD
12171 * elf/pldd.c (main): Attach to all threads in the process.
12172 Rewrite /proc handling to use *at functions.
12173
076fe015
UD
121742011-08-16 Ulrich Drepper <drepper@gmail.com>
12175
174baab3
UD
12176 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12177 specifies first scope to show.
12178 (dl_open_worker): Update callers. Move printing scope of new
12179 object to before the relocation.
44f0a71e 12180 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12181 * sysdeps/generic/ldsodefs.h: Update declaration.
12182
076fe015
UD
12183 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12184 string for the scope number.
12185
a60df2c3
UD
121862011-08-14 Ulrich Drepper <drepper@gmail.com>
12187
12188 * nscd/servicescache.c (cache_addserv): Make sure written is always
12189 initialized.
12190
5e4287d1
RM
121912011-08-14 Roland McGrath <roland@hack.frob.com>
12192
85ae0589
RM
12193 * sysdeps/i386/i486/bits/atomic.h
12194 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12195 statement expression, so as to suppress "set but not used" warning.
12196 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12197
69f63097
RM
12198 * string/strncat.c (STRNCAT): Use prototype definition.
12199
675456ef
RM
12200 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12201 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12202 -Iprograms here.
12203 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12204 (localedef-modules): Add localedef.
12205 (locale-modules): Add locale.
12206
5e4287d1
RM
12207 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12208 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12209 to avoid a warning.
12210
9c96ff23
DM
122112011-08-14 David S. Miller <davem@davemloft.net>
12212
12213 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12214 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12215
f9ddf089
UD
122162011-08-13 Ulrich Drepper <drepper@gmail.com>
12217
44f0a71e 12218 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12219 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12220 * elf/rtld.c (dl_main): Set l_name of vDSO.
12221 Call _dl_show_scope when DL_DEBUG_SCOPES.
12222 (process_dl_debug): Recognize scopes flag and also set it for all.
12223 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12224 Declare _dl_show_scope.
12225
1dc27704
UD
12226 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12227 (do_dlopen): Pass caller_dlopen to dl_open.
12228 (__libc_dlopen_mode): Initialize caller_dlopen.
12229
f9ddf089
UD
12230 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12231 of libc. Make tolower call locale-independent. Optimize a bit by
12232 using isdigit instead of isalnum.
12233 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12234
9ac533d3
UD
122352011-08-12 Ulrich Drepper <drepper@gmail.com>
12236
12237 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12238 was a dependency or dynamically loaded.
12239
89edf2e9
UD
122402011-08-11 Ulrich Drepper <drepper@gmail.com>
12241
8e999d29
UD
12242 * intl/l10nflist.c: Allow architecture-specific pop function.
12243 * sysdeps/x86_64/l10nflist.c: New file.
12244
89edf2e9
UD
12245 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12246 classification.
12247
14d96785
AS
122482011-08-10 Andreas Schwab <schwab@redhat.com>
12249
12250 * include/dirent.h: Add libc_hidden_proto for scandirat and
12251 scandirat64. Don't declare __scandirat64.
12252 * dirent/scandirat.c: Add libc_hidden_def.
12253 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12254 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12255
6761ac04
DM
122562011-08-10 David S. Miller <davem@davemloft.net>
12257
12258 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12259 enum.
12260 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12261 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12262 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12263
c55fbd1e
UD
122642011-08-09 Ulrich Drepper <drepper@gmail.com>
12265
12266 * Versions.def [libc]: Add GLIBC_2.15.
12267 * dirent/Makefile (routines): Add scandirat and scandirat64.
12268 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12269 GLIBC_2.15.
12270 * dirent/dirent.h: Declare scandirat and scandirat64.
12271 * dirent/scandirat.c: New file.
12272 * dirent/scandirat64.c: New file.
12273 * sysdeps/wordsize-64/scandirat.c: New file.
12274 * sysdeps/wordsize-64/scandirat64.c: New file.
12275 * dirent/opendir.c: Define opendirat.
12276 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12277 using scandirat.
12278 * dirent/scandir64.c: Adjust for scandir.c change.
12279 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12280 __scandirat64, and __scandir_cancel_handler.
12281 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12282 additional parameter and use openat instead of open (outside of ld.so).
12283 Add new __opendir as wrapper around __opendirat.
12284 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12285 here without requiring old scandirat implementation.
12286
879165f2
UD
122872011-08-08 Ulrich Drepper <drepper@gmail.com>
12288
12289 * dirent/scandir.c (cancel_handler): Renamed to
12290 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12291 defined. Adjust users.
12292 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12293 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12294
cb7e923b
UD
122952011-08-04 Ulrich Drepper <drepper@gmail.com>
12296
16292edd
UD
12297 * string/test-string.h (IMPL): Use __STRING to expand name and then
12298 stringify it.
12299
cb7e923b
UD
12300 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12301 of cleanups.
12302
cff82933
LD
123032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12304
12305 * string/Makefile: Update.
12306 (strop-tests): Append strncat.
12307 * string/test-wcscmp.c: New file.
12308 New comprehensive test for wcscmp.
12309 * string/test-strcmp.c: Update.
12310 (WIDE): New define.
12311
9be9bfcc
AS
123122011-07-22 Andreas Schwab <schwab@redhat.com>
12313
12314 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12315 line.
12316
2e96f1c7
AS
123172011-07-26 Andreas Schwab <schwab@redhat.com>
12318
12319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12320 encoding to ACE if AI_IDN.
12321
85188888
JJ
123222011-08-01 Jakub Jelinek <jakub@redhat.com>
12323
12324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12325 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12326
5fa16e9b
LD
123272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12328
12329 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12330 Fix overflow bug in strncat.
12331 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12332
12333 * string/test-strncat.c: Update.
12334 Add new tests for checking overflow bugs.
12335
123362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12337
12338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12339 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12340 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12341 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12342 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12343 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12344 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12345 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12346 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12347
12348 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12349 (USE_AS_STRCAT): Define.
12350 Add strcat and strncat support.
12351 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12352
8c1a459f
AS
123532011-07-25 Andreas Schwab <schwab@redhat.com>
12354
12355 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12356 __n bigger than INT_MAX+1.
12357 (__strncmp_g): Likewise.
12358
bba33c28
UD
123592011-07-23 Ulrich Drepper <drepper@gmail.com>
12360
798be72d
UD
12361 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12362 * libio/stido.h: Likewise.
12363
8accd4dc
UD
12364 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12365 (AF_NFC): Define.
12366 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12367 (AF_NFC): Define.
12368
cbff0d96
UD
12369 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12370 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12371 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12372 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12373 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12374
9191c04a
UD
12375 [BZ #13021]
12376 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12377 installed.
12378
bba33c28
UD
12379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12380 typo.
12381 (_dl_x86_64_save_sse): Likewise.
12382
90f139dd
UD
123832011-07-22 Ulrich Drepper <drepper@gmail.com>
12384
1aae088a
UD
12385 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12386 OSXSAVE.
12387 (_dl_x86_64_save_sse): Likewise.
12388
8e2045f5
UD
12389 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12390
90f139dd
UD
12391 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12392
1d002f25
AS
123932011-07-21 Andreas Schwab <schwab@redhat.com>
12394
12395 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12396 change.
12397 (_dl_x86_64_save_sse): Use correct AVX check.
12398
21137f89
UD
123992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12400
12401 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12402 bug in strncpy/strncat.
12403 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12404
a65c0b7a
UD
124052011-07-21 Ulrich Drepper <drepper@gmail.com>
12406
12407 * string/tester.c (test_strcat): Add tests for different alignments
12408 of source and destination.
12409 (test_strncat): Likewise.
12410
6986b98a
UD
124112011-07-20 Ulrich Drepper <drepper@gmail.com>
12412
90bb2039
UD
12413 [BZ #12852]
12414 * posix/glob.c (glob): Check passed in values before using them in
12415 expressions to avoid some overflows.
12416 (glob_in_dir): Likewise.
12417
5644ef54
UD
12418 [BZ #13007]
12419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12420 check for AVX enablement so that we don't crash with old kernels and
12421 new hardware.
12422 * elf/tst-audit4.c: Add same checks here.
12423 * elf/tst-audit6.c: Likewise.
12424
12425 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12426
bfc9dc9b
AS
124272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12428
12429 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12430
702e64bb
UD
124312011-07-20 Ulrich Drepper <drepper@gmail.com>
12432
12433 * po/cs.po: Update from translation team.
12434 * po/bg.po: Likewise.
12435
295e904f
MP
124362011-07-12 Marek Polacek <mpolacek@redhat.com>
12437
12438 * misc/sys/cdefs.h: Add support for const attribute.
12439 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12440 to gnu_dev_{major,minor,makedev} functions.
12441
3ff94596
MP
124422011-07-20 Marek Polacek <mpolacek@redhat.com>
12443
12444 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12445
28b59fca
AS
124462011-07-20 Andreas Schwab <schwab@redhat.com>
12447
12448 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12449 strlen results.
12450
19df733e
AK
124512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12452
12453 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12454 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12455 register in order to avoid conflicts with the soft frame pointer
12456 being held in r11 when necessary.
12457 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12458 (INTERNAL_VSYSCALL_NCS): Likewise.
12459
c8835729
MP
124602011-07-14 Marek Polacek <mpolacek@redhat.com>
12461
12462 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12463 * elf/dl-fini.c (_dl_fini): Adjust caller.
12464 * elf/dl-close.c (_dl_close_worker): Likewise.
12465 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12466
b902330c
MP
124672011-07-15 Marek Polacek <mpolacek@redhat.com>
12468
8991e135
MP
12469 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12470 "aux_cache->nlibs < 0".
12471
b902330c
MP
12472 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12473 in the reload-count case.
12474
99710781
LD
124752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12476
12477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12478 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12479 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12480 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12481 * sysdeps/x86_64/multiarch/strcat.S: New file.
12482 * sysdeps/x86_64/multiarch/strncat.S: New file.
12483 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12484 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12485 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12486 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12487 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12488 (USE_AS_STRCAT): Define.
12489 Add strcat and strncat support.
12490 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12491 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12492 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12493 * string/strncat.c: Update.
12494 (USE_AS_STRNCAT): Define.
12495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12496 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12497 and i7.
12498 * sysdeps/x86_64/multiarch/init-arch.h
12499 (bit_Prefer_PMINUB_for_stringop): New.
12500 (index_Prefer_PMINUB_for_stringop): Likewise.
12501 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12502 bit_Prefer_PMINUB_for_stringop.
12503
7dc6bd90
UD
125042011-07-19 Ulrich Drepper <drepper@gmail.com>
12505
12506 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12507 buffer64.
12508 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12509 of casting of buffer.
12510 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12511 buffer32 and buffer64.
12512 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12513 writes instead of casting of buffer.
12514 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12515 buffer32.
12516 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12517 casting of buffer.
12518
e0e72284
AS
125192011-07-19 Andreas Schwab <schwab@redhat.com>
12520
12521 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12522
feb1eb0b
UD
125232011-07-19 Ulrich Drepper <drepper@gmail.com>
12524
12525 * nscd/nscd.c (termination_handler): Don't do anything for a database
12526 if it has not yet been initialized.
12527
298711ff
UD
125282011-07-18 Ulrich Drepper <drepper@gmail.com>
12529
12530 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12531
125322011-07-15 Marek Polacek <mpolacek@redhat.com>
12533
12534 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12535
f9d68389
UD
125362011-07-18 Ulrich Drepper <drepper@gmail.com>
12537
12538 * po/nl.po: Update from translation team.
12539 * po/sv.po: Likewise.
12540
db290cf5
RM
125412011-07-16 Roland McGrath <roland@hack.frob.com>
12542
12543 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12544 now disallowed by GCC.
5c550700 12545
fd5e21c7
RM
12546 * configure.in (use-default-link): Default to yes if a test -shared
12547 link meets our qualifications.
12548 * configure: Regenerated.
12549
5c550700
RM
12550 * config.make.in (output-format): New variable.
12551 * configure.in: Check for ld --print-output-format support.
12552 * configure: Regenerated.
12553 * Makerules ($(common-objpfx)format.lds)
12554 [$(output-format) != unknown]: Just use $(output-format),
12555 instead of the linker-script munging.
12556
9fa2c032
RM
125572011-07-14 Roland McGrath <roland@hack.frob.com>
12558
a6928d51
RM
12559 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12560 of $(common-objpfx)shlib.lds.
12561 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12562
661607b3
RM
12563 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12564 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12565
9fa2c032
RM
12566 * configure.in (-z relro check): Adjust test code to add a large
12567 writable data section after it.
12568 * configure: Regenerated.
12569
defe9061
RM
125702011-07-11 Roland McGrath <roland@hack.frob.com>
12571
12572 * configure.in (-z relro check): Fix test code to make the variable
12573 truly const.
12574 * configure: Regenerated.
12575
319b9ad4
UD
125762011-07-11 Ulrich Drepper <drepper@gmail.com>
12577
12578 * nscd/nscd.h (struct traced_file): Define.
12579 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12580 elements. Add traced_files.
12581 (inotify_fd): Declare.
12582 (register_traced_file): Declare.
12583 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12584 (inotify_fd): Export.
12585 (resolv_conf_descr): Remove.
12586 (nscd_init): Move inotify descriptor creation to main.
12587 Don't register files for notification here.
12588 (register_traced_file): New function.
12589 (invalidate_cache): Don't use reset_res to determine whether to call
12590 res_init, go through the list of registered files.
12591 (main_loop_poll): The inotify descriptors are now stored in the
12592 structures for the traced files.
12593 (main_loop_epoll): Likewise
12594 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12595 to __nss_disable_nscd.
12596 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12597 for a database anymore. Check the records for all the registered
12598 files instead.
12599 * nss/Makefile (libnss_files-routines): Add files-init.
12600 (libnss_db-routines): Add db-init.
12601 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12602 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12603 * nss/nss_db/db-init.c: New file.
12604 * nss/nss_files/files-init.c: New file.
12605 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12606 __nss_lookup_function.
12607 (__nss_lookup_function): Call nss_load_library.
12608 (nss_load_all_libraries): New function.
12609 (__nss_disable_nscd): Take parameter with callback function for files
12610 to register. Set is_nscd. Load all the DSOs for the NSS modules
12611 used for the cached services.
12612 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12613 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12614 options for features to all the files in nscd.
12615
12616 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12617
23bee3e8
RM
126182011-07-10 Roland McGrath <roland@hack.frob.com>
12619
12620 * csu/elf-init.c (__libc_csu_init): Comment typo.
12621
46a5b7f0
UD
126222011-07-09 Ulrich Drepper <drepper@gmail.com>
12623
12624 * po/pl.po: Update from translation team.
12625 * po/ja.po: Likewise.
12626 * po/ru.po: Likewise.
12627 * po/ko.po: Likewise.
12628 * po/fr.po: Likewise.
12629
d30cf5bb
RM
126302011-07-09 Roland McGrath <roland@hack.frob.com>
12631
113ddea4
RM
12632 * configure.in (.ctors/.dtors header and trailer check):
12633 Use an empirical test on a built program.
12634 * configure: Regenerated.
12635
574920b4
RM
12636 * configure.in (-z relro check): Use an empirical test on a built DSO.
12637 Detect, but do not require, on ia64.
12638 * configure: Regenerated.
12639
d30cf5bb
RM
12640 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12641 Update tests that use readelf to use $READELF instead.
12642 * configure: Regenerated.
12643
8538fdb3
UD
126442011-07-08 Ulrich Drepper <drepper@gmail.com>
12645
12646 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12647 if the result is not used.
12648
04d08991
AJ
126492011-07-05 Andreas Jaeger <aj@suse.de>
12650
12651 [BZ#9696]
12652 * stdlib/tst-strtod.c: Add testcase.
12653
de283087
AD
126542011-07-07 Ulrich Drepper <drepper@gmail.com>
12655
4e5f31c8 12656 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12657 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12658 The latter has a higher limit. Take additional parameter to pass to
12659 the new function.
12660 (__pathconf): Pass file to __statfs_link_max.
12661 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12662 __statfs_link_max.
12663 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12664 __statfs_link_max.
12665
de283087
AD
12666 [BZ #12868]
12667 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12668 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12669 Handle Lustre.
12670 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12671 (__statfs_filesize_max): Likewise.
12672 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12673
c75fa153
AJ
126742011-07-05 Andreas Jaeger <aj@suse.de>
12675
12676 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12677
1a544854
UD
126782011-07-06 Marek Polacek <mpolacek@redhat.com>
12679
12680 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12681 `status' variable.
12682 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12683 Likewise.
12684
6f0eec67
UD
126852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12686
12687 * Makefile (strop-tests): Add strncat.
12688 * string/test-strncat.c: New file.
12689
aae30307
UD
126902011-06-30 Marek Polacek <mpolacek@redhat.com>
12691
12692 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12693
c0cfb5eb
UD
126942011-06-21 Andreas Jaeger <aj@suse.de>
12695
12696 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12697 Copy rule from iconvdata/Makefile.
12698
01636b21
UD
126992011-07-06 Ulrich Drepper <drepper@gmail.com>
12700
12701 [BZ #12922]
12702 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12703 but no long options are defined, just return 'W'.
12704
9895c8bc
UD
127052011-06-22 Marek Polacek <mpolacek@redhat.com>
12706
12707 [BZ #9696]
12708 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12709
5d4cf042
UD
127102011-07-06 Ulrich Drepper <drepper@gmail.com>
12711
12712 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12713 netgroups to read.
960e5535 12714 (innetgr): Likewise.
5d4cf042 12715
751eb97e
RM
127162011-07-05 Roland McGrath <roland@hack.frob.com>
12717
12718 * config.make.in (install_root): Default to $(DESTDIR).
12719
f15f1e45
UD
127202011-07-05 Ulrich Drepper <drepper@gmail.com>
12721
12722 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12723
4e34ac6a
RM
127242011-07-02 Roland McGrath <roland@hack.frob.com>
12725
5e9b6af4
RM
12726 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12727
84f9ea0f
RM
12728 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12729 containing directory rather than embedding absolute directory names.
12730
ea5ee9f7
RM
12731 * scripts/check-local-headers.sh: Rewritten using awk.
12732 Match by word, not by line. Print error messages for matches.
12733 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12734
1b74661a
RM
12735 * Makerules [shlib-lds-flags empty]:
12736 ($(common-objpfx)libc_pic.opts): New target.
12737 ($(common-objpfx)libc_pic.os.clean): New target.
12738 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12739
12740 * config.make.in (OBJCOPY): New variable.
12741 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12742 * configure: Regenerated.
12743
f781ef40
RM
12744 * config.make.in (use-default-link): New variable.
12745 * configure.in (use_default_link): Grok --with-default-link to set it.
12746 * configure: Regenerated.
12747 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12748 (shlib-lds, shlib-lds-flags): Define to empty.
12749
2d4fa81e
RM
12750 * Makerules (shlib-lds): New variable.
12751 (shlib-lds-flags): New variable.
12752 (build-shlib, build-moduile, build-module-asneeded): Use it.
12753 ($(common-objpfx)libc.so): Use $(shlib-lds).
12754 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12755 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12756
31fffa6b
RM
12757 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12758 DT_FLAGS/DT_FLAGS_1 with zero flags.
12759
4e34ac6a
RM
12760 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12761 linker script munging.
12762
fcfc776b
UD
127632011-07-02 Ulrich Drepper <drepper@gmail.com>
12764
12765 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12766 as 128-bit value.
12767 * crypt/sha512.c (sha512_process_block): Perform total addition using
12768 128-bit if possible.
12769 (__sha512_finish_ctx): Likewise.
12770 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12771 as 64-bit value.
12772 * crypt/sha256.c (SWAP64): Define.
12773 (sha256_process_block): Perform total addition using 64-bit if
12774 possible.
12775 (__sha256_finish_ctx): Likewise.
12776
99231d9a
UD
127772011-07-01 Ulrich Drepper <drepper@gmail.com>
12778
12779 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12780 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12781 * nscd/hstcache.c (cache_addhst): Likewise.
12782 * nscd/grpcache.c (cache_addgr): Likewise.
12783 * nscd/aicache.c (addhstaiX): Likewise
12784 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12785
445b4a53
TK
127862011-07-01 Thorsten Kukuk <kukuk@suse.de>
12787
12788 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12789 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12790 * nscd/hstcache.c (cache_addhst): Likewise.
12791 * nscd/grpcache.c (cache_addgr): Likewise.
12792 * nscd/aicache.c (addhstaiX): Likewise
12793
6d4d8e8e
AS
127942011-07-01 Andreas Schwab <schwab@redhat.com>
12795
12796 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12797 domain only when needed.
12798
89f654c5
AS
127992011-06-30 Andreas Schwab <schwab@redhat.com>
12800
12801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12802 is always restored.
12803
cf3b23ff
UD
128042011-06-29 Ulrich Drepper <drepper@gmail.com>
12805
12806 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12807 are re-adding the entry.
12808 * nscd/servicescache.c (cache_addserv): Likewise.
12809
751626f9
AJ
128102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12811
12812 * sysdeps/generic/dl-irel.h: fix protection against multiple
12813 inclusions.
12814 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12815
9113ea1f
UD
128162011-06-28 Ulrich Drepper <drepper@gmail.com>
12817
5c0b8d90
UD
12818 [BZ #12935]
12819 * malloc/memusage.sh: Fix quoting in message.
12820 * debug/xtrace.sh: Likewise.
12821
9113ea1f
UD
12822 * configure.in: Remove support for --experimental-malloc option, make
12823 it the default.
12824 * config.make.in: Likewise.
12825 * malloc/Makefile: Likewise.
12826
a4172181
AS
128272011-06-27 Andreas Schwab <schwab@redhat.com>
12828
12829 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12830 two-byte characters.
12831
78a7eee7
RM
128322011-06-27 Roland McGrath <roland@hack.frob.com>
12833
62bede13
RM
12834 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12835 AC_CACHE_CHECK invocation.
12836 * configure: Regenerated.
12837
78a7eee7
RM
12838 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12839
5ce33a62
UD
128402011-06-27 Ulrich Drepper <drepper@gmail.com>
12841
034807a9
UD
12842 [BZ #12350]
12843 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12844 bit from old_res_options.
12845
4902da17
UD
12846 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12847
5ce33a62
UD
12848 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12849 value type for setfct.
12850
c2344f56
L
128512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12852
12853 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12854 __gettimeofday instead of gettimeofday.
12855
68468076
UD
128562011-06-26 Ulrich Drepper <drepper@gmail.com>
12857
12858 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12859
acb0d739
L
128602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12861
12862 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12863
12864 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12865 info.
12866
8912479f
L
128672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12868
12869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12870 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12871 strcpy-sse2-unaligned strncpy-sse2-unaligned
12872 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12873 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12874 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12875 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12876 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12877 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12878 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12879 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12880 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12881 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12882 (STRCPY): Support SSE2 and SSSE3 versions.
12883
d5495a11
UD
128842011-06-24 Ulrich Drepper <drepper@gmail.com>
12885
12886 [BZ #12874]
12887 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12888 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12889 kernels which artificially limit size of requests.
12890
0b1cbaae
L
128912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12892
12893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12894 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12895 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12896 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12897 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12898 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12899 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12900 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12901 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12902 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12903 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12904 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12905 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12906 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12907 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12909 Enable unaligned load optimization for Intel Core i3, i5 and i7
12910 processors.
12911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12912 Define.
12913 (index_Fast_Unaligned_Load): Define.
12914 (HAS_FAST_UNALIGNED_LOAD): Define.
12915
07f494a0
MP
129162011-06-23 Marek Polacek <mpolacek@redhat.com>
12917
12918 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12919
fa3fc0fe
UD
129202011-06-22 Ulrich Drepper <drepper@gmail.com>
12921
12922 [BZ #12907]
12923 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12924 until it is clear that the information is realy needed.
12925 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12926
e12df166
AS
129272011-06-22 Andreas Schwab <schwab@redhat.com>
12928
12929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12930
852eb34d
UD
129312011-06-22 Ulrich Drepper <drepper@gmail.com>
12932
84e2a551
UD
12933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12934 /sys/devices/system/cpu/online if it is usable.
12935
852eb34d
UD
12936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12937 reading the information from the /proc filesystem to once a second.
12938
6e502e19
UD
129392011-06-21 Andreas Jaeger <aj@suse.de>
12940
12941 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12942 NULL after inclusion of kernel headers.
12943
75d39ff2
UD
129442011-06-21 Ulrich Drepper <drepper@gmail.com>
12945
51f9aa6a
UD
12946 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12947 calls to internal_setent.
12948
c0244a9d
UD
12949 [BZ #12885]
12950 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12951 addresses using gethostbyname4_r ignore IPv4 addresses.
12952
c5e3c2ae
UD
12953 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12954 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12955
75d39ff2
UD
12956 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12957
42675c6f
DM
129582011-06-20 David S. Miller <davem@davemloft.net>
12959
12960 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12961 inclusions.
12962 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12963
12964 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12965 (elf_irel): Use it.
12966 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12967 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12968 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12969 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12970 * sysdeps/x86_64/dl-irel.h: Likewise.
12971
12972 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12973 * elf/dl-sym.c: Likewise.
12974
57912a71
UD
129752011-06-15 Ulrich Drepper <drepper@gmail.com>
12976
12977 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12978 need to dereference resplen2.
12979
ee22793d
AS
129802011-06-14 Andreas Schwab <schwab@redhat.com>
12981
12982 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12983
a9e836b0
UD
129842011-06-15 Ulrich Drepper <drepper@gmail.com>
12985
77fb9117
UD
12986 * Makeconfig: Define vardbdir and inst_vardbdir.
12987 * nss/Makefile: Add rules to install db-Makefile.
12988
40c1b22c
UD
12989 * nss/nss_db/db-XXX.c: Cleanup.
12990
9f2da732
UD
12991 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12992 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12993 GLIBC_PRIVATE.
12994 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12995 * nss/makedb.c: Implement -g option to specify that value strings
12996 are generated and should not be added to table iterated over for
12997 get*ent calls.
12998 * nss/nss_db/db-initgroups.c: New file.
12999
82e9a1f7
UD
13000 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13001 interface.
13002
c41af17e
UD
13003 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13004 (internal_getgrouplist): Adjust to name change.
13005 Update use_initgroups_entry if this is not the first call.
13006 * nss/databases.def: Add initgroups entry.
13007
a9e836b0
UD
13008 * nss/makedb.c (compute_tables): Check result of multiple hash table
13009 sizes to minimize maximum chain length.
13010
2666d441
UD
130112011-06-14 Ulrich Drepper <drepper@gmail.com>
13012
13013 * Versions.def: Add entry for libnss_db.
13014 * shlib-versions: Likewise.
13015 * nss/Makefile: Add rules to build libnss_db.
13016 * nss/Versions: Add libnss_db information. Organize libnss_files
13017 entries better.
13018 * nss/db-Makefile: Add gshadow support. Change rules for the new
13019 makedb progra. Some minor improvements to generate smaller files.
13020 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13021 here from...
13022 * nss/makedb.c: ...here.
13023 Improve database format to be smaller and require less memory at
13024 runtime.
13025 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13026 db anymore.
13027 * nss/nss_db/db-netgrp.c: Likewise.
13028 * nss/nss_db/db-open.c: Likewise.
13029 * nss/nss_files/flies-XXX.x: Adjust comments.
13030 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13031 * nss/nss_files/files-grp.c: Likewise.
13032 * nss/nss_files/files-hosts.c: Likewise.
13033 * nss/nss_files/files-network.c: Likewise.
13034 * nss/nss_files/files-proto.c: Likewise.
13035 * nss/nss_files/files-pwd.c: Likewise.
13036 * nss/nss_files/files-rpc.c: Likewise.
13037 * nss/nss_files/files-service.c: Likewise.
13038 * nss/nss_files/files-sgrp.c: Likewise.
13039 * nss/nss_files/files-spwd.c: Likewise.
13040 * nss/nss_db/db-alias.c: Removed.
13041 * nss/nss_db/dummy-db.h: Removed.
13042
9ee76b5a
UD
130432011-06-02 Ulrich Drepper <drepper@gmail.com>
13044
13045 * nss/makedb.c: Rewritten to not use database library.
13046 * nss/Makefile: Update to build new makedb program.
13047
c71ca1f8
AJ
130482011-06-14 Andreas Jaeger <aj@suse.de>
13049
13050 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13051 memset declaration.
13052
3154bfb8
UD
130532011-06-10 Andreas Schwab <schwab@redhat.com>
13054
13055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13056 tmpbuf.
13057
b350afab
RM
130582011-06-10 Roland McGrath <roland@hack.frob.com>
13059
decd4e50
RM
13060 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13061 * elf/Makefile ($(objpfx)ld.so): Likewise.
13062
5615eaf2
RM
13063 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13064 Don't list ld.so twice in dependencies.
13065
13066 * posix/bug-regex31.c: Include <stdlib.h>.
13067
13068 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13069
13070 * nis/nss_compat/compat-spwd.c
13071 (getspent_next_nss_netgr): Remove unused variable.
13072 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13073
13074 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13075 nonmembers" output to use the right array.
13076
13077 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13078
13079 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13080
13081 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13082 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13083 * catgets/gencat.c (read_input_file): Likewise.
13084 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13085
13086 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13087 variable definition inside #if's controlling its use.
13088
13089 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13090
13091 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13092
13093 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13094
13095 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13096 unreachable code.
13097
13098 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13099
b68e08db
RM
13100 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13101 * configure: Regenerated.
13102
b350afab
RM
13103 * Makerules: Revert last change.
13104 * elf/Makefile: Likewise.
13105
28368601
RM
131062011-06-09 Roland McGrath <roland@hack.frob.com>
13107
13108 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13109 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13110 (reloc-link): Likewise.
13111
11988f8f
UD
131122011-06-09 Ulrich Drepper <drepper@gmail.com>
13113
13114 * elf/Makefile: Add rules to build pldd.
13115 * elf/pldd.c: New file.
13116 * elf/pldd-xx.c: New file.
13117
e80fab37
UD
131182011-06-07 Ulrich Drepper <drepper@gmail.com>
13119
13120 * version.h: Update for 2.15 development version.
13121
9b849836
DM
131222011-06-07 David S. Miller <davem@davemloft.net>
13123
13124 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13125 ifuncs.
13126 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13127 elf_machine_lazy_rel): Likewise.
13128 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13129 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13130 elf_machine_lazy_rel): Likewise.
13131 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13132 dl_hwcap via passed in argument.
13133 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13134 Likewise.
13135
5a31b283
AK
131362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13137
13138 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13139
069e52f8
RM
131402011-06-06 Roland McGrath <roland@hack.frob.com>
13141
13142 [BZ #12849]
13143 * manual/fdl-1.1.texi: New file, verbatim from:
13144 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13145 * manual/lgpl-2.1.texi: New file, verbatim from:
13146 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13147 * manual/Makefile (licenses): New variable, list those new file names.
13148 (texis): Use it.
13149 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13150
13151 * manual/fdl.texi: File removed.
13152 * manual/lesser.texi: File removed.
13153 * manual/libc.texinfo (Copying, Documentation License):
13154 Use new @include file names, put @appendix directive before @include.
13155
f16846a5
JJ
131562011-06-04 Jakub Jelinek <jakub@redhat.com>
13157
13158 [BZ #12841]
13159 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13160 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13161 (mq_open): Add __NTH.
13162
3d29045b
L
131632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13164
13165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13166 Assume Intel Core i3/i5/i7 processor if AVX is available.
13167
8c297311
UD
131682011-05-31 Ulrich Drepper <drepper@gmail.com>
13169
13170 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13171 typo.
13172
c8fc0c91
UD
131732011-05-31 Andreas Schwab <schwab@redhat.com>
13174
13175 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13176 memory. Use alloca_account. Fix memory leak when retrying.
13177
5b27a807
UD
131782011-05-31 Ulrich Drepper <drepper@gmail.com>
13179
356f8bc6
UD
13180 * version.h (RELEASE): Bump for 2.14 release.
13181 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13182
5b27a807
UD
13183 * config.make.in (RANLIB): Remove entry.
13184
01f16ab0
UD
131852011-05-30 Ulrich Drepper <drepper@gmail.com>
13186
41fce8bd
UD
13187 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13188 (libc.pot): Work around missing support for .ksh extension in xgettext.
13189
4769ae77
UD
13190 [BZ #12684]
13191 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13192 if both request failed.
13193 (send_dg): In case of server errors clear resplen or *resplen2.
13194
6b1e7d19
UD
13195 [BZ #12454]
13196 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13197 when there are multiple maps.
13198 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13199 (_dl_fini): Remove test here.
13200
01f16ab0
UD
13201 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13202
b1ebd700
UD
132032011-05-29 Ulrich Drepper <drepper@gmail.com>
13204
7ae22829
UD
13205 [BZ #12350]
13206 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13207 bit from old_res_options.
13208 (gaih_inet): Likewise.
13209
553149f6 13210 [BZ #11099]
18a84741 13211 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13212 as signed.
13213
652ffab1
UD
13214 * resolv/res_init.c (res_setoptions): Make the code more compact.
13215
16985fd0
UD
13216 [BZ #11558]
13217 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13218 set RES_USEVC.
13219
0464f746
UD
13220 [BZ #11634]
13221 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13222
7d17596c
UD
13223 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13224
cf6bbbd7
UD
13225 [BZ #11781]
13226 * malloc/malloc.h: Declare malloc hook variables as volatile.
13227
13f1ab36
UD
13228 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13229 in last patch.
13230
b1ebd700
UD
13231 [BZ #11799]
13232 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13233 raise in the comment.
80e2212d
UD
13234 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13235 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13236 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13237
ce67228d
UD
132382011-05-28 Ulrich Drepper <drepper@gmail.com>
13239
8887a920
UD
13240 [BZ #12811]
13241 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13242 grow the buffers more if it already has to be sufficient.
13243 (build_wcs_upper_buffer): Likewise.
13244 * posix/regexec.c (check_matching): Likewise.
13245 (clean_state_log_if_needed): Likewise.
13246 (extend_buffers): Don't enlarge buffers beyond size of the input
13247 buffer.
13248 Patches mostly by Emil Wojak <emil@wojak.eu>.
13249 * posix/bug-regex32.c: New file.
13250 * posix/Makefile (tests): Add bug-regex32.
13251
4f031072
UD
13252 * locale/findlocale.c (_nl_find_locale): Return right away if
13253 _nl_explode_name failed.
13254 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13255
d0478f0c
UD
13256 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13257
de81b246
UD
13258 * debug/xtrace.sh: Unify messages.
13259 * malloc/memusage.sh: Likewise.
13260
c738465a
UD
13261 [BZ #12813]
13262 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13263 time symbol from vDSO. Substitute with vsyscall if not available.
13264 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13265 __vdso_time.
13266
f1f929d7
UD
13267 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13268 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13269 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13270 Add sendmmsg and internal_sendmmsg.
13271 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13272 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13273 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13274
ce67228d
UD
13275 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13276 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13277 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13278
e57420c6
UD
132792011-05-27 Ulrich Drepper <drepper@gmail.com>
13280
a8509ca5
UD
13281 [BZ #12813]
13282 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13283 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13284 available.
13285 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13286 __vdso_getcpu.
13287
e57420c6
UD
13288 [BZ #12814]
13289 * iconvdata/Makefile (tests): Add bug-iconv9.
13290 * iconvdata/bug-iconv9.c: New file.
13291
4d07db15
AS
132922011-05-27 Andreas Schwab <schwab@redhat.com>
13293
13294 [BZ #12814]
13295 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13296
ea486f69
JJ
132972011-05-25 Jakub Jelinek <jakub@redhat.com>
13298
13299 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13300 (struct user_regs_struct): Change intcs field back to cs.
13301
6f038433
UD
133022011-05-25 Ulrich Drepper <drepper@gmail.com>
13303
13304 * po/ja.po: Update from translation team.
13305
67f86a25
UD
133062011-05-23 Ulrich Drepper <drepper@gmail.com>
13307
13308 [BZ #12795]
13309 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13310 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13311
def7fbd6
AS
133122011-05-20 Andreas Schwab <schwab@redhat.com>
13313
13314 * stdlib/longlong.h: Update from GCC.
13315
f50ef8f1
AS
133162011-05-23 Andreas Schwab <schwab@redhat.com>
13317
13318 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13319 parameter name.
13320 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13321 Add parameter name.
13322 (__sysconf): Pass it down.
13323
de7ce8f1
UD
133242011-05-22 Ulrich Drepper <drepper@gmail.com>
13325
f2962a71
UD
13326 [BZ #12671]
13327 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13328 some situations.
13329 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13330 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13331 add in in __libc_use_alloca calls. Adjust callers.
13332 (glob): Use malloc in some situations.
13333
de7ce8f1
UD
13334 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13335 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13336 pltexit.
13337
aec84f53
UD
133382011-05-21 Ulrich Drepper <drepper@gmail.com>
13339
05bb4a68
UD
13340 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13341 and CLOCK_BOOTTIME_ALARM.
13342
7ea72f99
UD
13343 [BZ #12782]
13344 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13345 is returned.
13346
7e4afad5
UD
13347 * string/_strerror.c (__strerror_r): Print negative errors as signed
13348 numbers.
13349
8e211fec
UD
13350 [BZ #12777]
13351 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13352 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13353 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13354
f7d82dc9
UD
13355 * configure.in: Fix typo in redirection and correct removal of test
13356 files in two cases.
13357
cc9e536d
UD
13358 [BZ #12788]
13359 * locale/setlocale.c (new_composite_name): Fix test to check for
13360 identical name of all categories.
13361
aec84f53
UD
13362 [BZ #12792]
13363 * libio/filedoalloc.c (local_isatty): New function.
13364 (_IO_file_doallocate): Use local_isatty.
13365 * stdio-common/perror.c (perror): In case a new stream is used
13366 forward the stream error.
13367 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13368 error flag.
13369
78e64fdc
RT
133702011-05-20 Ulrich Drepper <drepper@gmail.com>
13371
34a9094f
UD
13372 [BZ #11869]
13373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13374 alloca.
13375 * include/alloca.h (extend_alloca_account): Define.
13376
78e64fdc
RT
13377 [BZ #11857]
13378 * posix/regex.h: Fix comments with documentation of user-accessible
13379 fields after compilation and describe correct free'ing of pattern
13380 after re_compile_pattern.
13381 Patch by Reuben Thomas <rrt@sc3d.org>.
13382
457bddfc
RA
133832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13384
13385 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13386 and -mno-altivec to prevent the compiler from using Altivec and/or
13387 VSX instructions when the corresponding registers are not available.
13388
a4527b51
AS
133892011-05-19 Andreas Schwab <schwab@redhat.com>
13390
13391 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13392
ed690b2f
UD
133932011-05-19 Ulrich Drepper <drepper@gmail.com>
13394
13395 * libio/freopen.c (freopen): Use __dup2, not dup2.
13396 * libio/freopen64.c (freopen64): Likewise.
13397
8db73634
L
133982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13399
13400 [BZ #12775]
13401 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13402 * math/Makefile (tests): Add test-powl.
13403 (CFLAGS-test-powl.c): Define.
13404 * math/test-powl.c: New file.
13405
0a197a9d
L
134062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13407
13408 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13409
ee30c380
UD
134102011-05-17 Ulrich Drepper <drepper@gmail.com>
13411
13412 [BZ #11837]
13413 * iconvdata/gb18030.c: Update to GB18020-2005.
13414
6ce75379
UD
134152011-05-16 Ulrich Drepper <drepper@gmail.com>
13416
a4b89fd8
AR
13417 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13418 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13419 Patch by Aharon Robbins <arnold@skeeve.com>.
13420
ea389b12
UD
13421 [BZ #11892]
13422 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13423 on the stack.
13424
68a3f91f
UD
13425 [BZ #11895]
13426 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13427 through underflows.
13428
15cc7dd1
UD
13429 [BZ #12766]
13430 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13431 point to strings before performing equality test for error_one_per_line
13432 mode.
13433
f3799213
UD
13434 [BZ #11697]
13435 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13436
d79a9c94
UD
13437 [BZ #11820]
13438 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13439 (struct user_fpregs_struct): Avoid __uint*_t types.
13440
56e5eb46
UD
13441 [BZ #6420]
13442 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13443 symbol info. Use it instead of calling _dl_addr locally.
13444 (lock_and_info): New function.
13445 (tr_freehook): Call lock_and_info and pass symbol info as additional
13446 parameter to tr_where.
13447 (tr_mallochook): Likewise.
13448 (tr_reallochook): Likewise.
13449 (tr_memalignhook): Likewise.
13450
6ce75379
UD
13451 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13452 used and couldn't be at all thread-safe.
13453
f8a3b5bf
UD
134542011-05-15 Ulrich Drepper <drepper@gmail.com>
13455
94b7cc37
UD
13456 * libio/freopen.c (freopen): Don't close old file descriptor
13457 before the new one is opened. Instead dup the new file descriptor
13458 to the old one after the new stream is created.
13459 * libio/freopen64.c (freopen64): Likewise.
13460 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13461 * libio/fileops.c (_IO_new_file_close_it): Handle new
13462 _IO_FLAGS2_NOCLOSE flag.
13463 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13464 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13465 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13466 _IO_FLAGS2_NOCLOSE flag.
13467 * include/unistd.h: Add hidden_proto for dup3.
13468 Define __have_dup3.
13469 * io/dup3.c: Define hidden symbol.
13470 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13471
bd25564e
UD
13472 [BZ #7101]
13473 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13474 when an incomplete long option is used.
13475 * posix/tst-getopt_long1.c: New file.
13476 * posix/Makefile (tests): Add tst-getopt_long1.
13477
c84cfef4
UD
13478 [BZ #10138]
13479 * scripts/config.guess: Update from autoconf-2.68.
13480 * scripts/config.sub: Likewise.
13481
3b85df27
UD
13482 [BZ #10157]
13483 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13484 tests into ...
13485 (has_cpuclock): ...this. New function.
13486 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13487 macro here based on has_cpuclock code.
13488
15a856b1
UD
13489 [BZ #10149]
13490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13491 First byte (not low byte) is now always NUL.
13492 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13493
05f399e6
UD
13494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13495 Use non-cancelable interfaces.
13496
10a52685 13497 [BZ #9809]
94ecc67d
UD
13498 * locale/iso-639.def: Add entry for Sorani.
13499
f8a3b5bf
UD
13500 [BZ #11901]
13501 * include/stdlib.h: Move include protection to the right place.
13502 Define abort_msg_s. Declare __abort_msg with it.
13503 * stdlib/abort.c (__abort_msg): Adjust type.
13504 * assert/assert.c (__assert_fail_base): New function. Majority
13505 of code from __assert_fail. Allocate memory for __abort_msg with
13506 mmap.
13507 (__assert_fail): Now call __assert_fail_base.
13508 * assert/assert-perr.c: Remove bulk of implementation. Use
13509 __assert_fail_base.
13510 * include/assert.hL Declare __assert_fail_base.
13511 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13512 mmap.
13513 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13514
1af4e298
UD
135152011-05-14 Ulrich Drepper <drepper@gmail.com>
13516
f8a3b5bf 13517 [BZ #11952]
d26dfc60
MG
13518 [BZ #12453]
13519 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13520 until all modules are registered in the DTV.
13521 * elf/Makefile: Add rules to build and run tst-tls19.
13522 * elf/tst-tls19.c: New file.
13523 * elf/tst-tls19mod1.c: New file.
13524 * elf/tst-tls19mod2.c: New file.
13525 * elf/tst-tls19mod3.c: New file.
13526 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13527
2fc54d6f
UD
13528 [BZ #12083]
13529 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13530 correctly.
13531
98d76b46
UD
13532 [BZ #12601]
13533 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13534 two-byte sequence errors.
13535 * iconvdata/Makefile (tests): Add bug-iconv8.
13536 * iconvdata/bug-iconv8.c: New file.
13537
da3c19ef
UD
13538 [BZ #12626]
13539 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13540 buf2 definition.
13541
ca408c15
UD
13542 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13543
d6f67f7d
UD
13544 [BZ #12432]
13545 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13546 (dummy_getcfa): New function.
13547 (init): Get _Unwind_GetCFA address, use dummy if not found.
13548 (backtrace_helper): In recursion check, also check whether CFA changes.
13549 (__backtrace): Completely initialize arg.
13550
1af4e298 13551 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13552 storing incomplete byte sequence in state object. Avoid testing for
13553 guaranteed too small input if we know there is enough data available.
1af4e298 13554
da62f81b
AS
135552011-05-11 Andreas Schwab <schwab@redhat.com>
13556
13557 * Makeconfig (+link-pie): Indent.
13558 * Rules (binaries-pie): Define if $(have-fpie) and
13559 $(build-shared).
13560 (binaries-shared): Also filter out $(binaries-pie).
13561 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13562 * nscd/Makefile (others-pie): Add nscd.
13563 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13564 ($(objpfx)nscd): Remove command override.
13565 * login/Makefile (others-pie): Add pt_chown.
13566 ($(objpfx)pt_chown): Remove command override.
13567 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13568 remove command overrides.
13569
fcabc0f8
UD
135702011-05-13 Ulrich Drepper <drepper@gmail.com>
13571
20030ae6
UD
13572 * libio/tst_putwc.c: Fix error messages.
13573
fcabc0f8
UD
13574 [BZ #12724]
13575 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13576 currently writing and seek to current position when not.
13577 * libio/Makefile (tests): Add bug-fclose1.
13578 * libio/bug-fclose1.c: New file.
13579
320a5dc0
PB
135802011-05-12 Ulrich Drepper <drepper@gmail.com>
13581
13582 [BZ #12511]
13583 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13584 don't set DF_1_NODELETE here.
13585 (do_lookup_x): When entering new entry test for copy relocation
13586 and if necessary set DF_1_NODELETE flag.
13587 * elf/tst-unique4.cc: New file.
13588 * elf/tst-unique4.h: New file.
13589 * elf/tst-unique4lib.cc: New file.
13590 * elf/Makefile: Add rules to build and run tst-unique4.
13591 Patch by Piotr Bury <pbury@goahead.com>.
13592
22836f52
UD
135932011-05-11 Ulrich Drepper <drepper@gmail.com>
13594
f574184a
UD
13595 [BZ #12052]
13596 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13597
e1fb097f
UD
13598 [BZ #12625]
13599 * misc/mntent_r.c (addmntent): Flush the stream after the output
13600
22836f52
UD
13601 [BZ #12393]
13602 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13603 (is_trusted_path_normalize): Skip initial colon. Append slash
13604 to empty buffer. Duplicate is_trusted_path code but allow
13605 constructed patch to be prefix.
13606 (is_dst): Allow $ORIGIN followed by /.
13607 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13608 Correct testing of result of is_trusted_path_normalize
13609 (decompose_rpath): Fix warning.
13610
7b3b0b2a
UD
136112011-05-10 Ulrich Drepper <drepper@gmail.com>
13612
13613 [BZ #11257]
13614 * grp/initgroups.c (internal_getgrouplist): When we found the service
13615 list through the initgroups entry in nsswitch.conf do not always
13616 continue on a successful lookup. Don't always use the
eac80ce2 13617 __nss_group_database value if it is set.
7b3b0b2a
UD
13618 * nss/nsswitch.conf (initgroups): Change action for successful db
13619 lookup to continue for compatibility.
13620
2a81eaa5
UD
136212011-05-09 Ulrich Drepper <drepper@gmail.com>
13622
be97a69e
UD
13623 [BZ #11532]
13624 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13625 and CP774 modules.
13626 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13627 and CP774 modules.
13628 * iconvdata/tst-tables.sh: Likewise.
13629 * iconvdata/cp770.c: New file.
13630 * iconvdata/cp771.c: New file.
13631 * iconvdata/cp772.c: New file.
13632 * iconvdata/cp773.c: New file.
13633 * iconvdata/cp774.c: New file.
13634 * iconvdata/testdata/CP770: New file.
13635 * iconvdata/testdata/CP770..UTF8: New file.
13636 * iconvdata/testdata/CP771: New file.
13637 * iconvdata/testdata/CP771..UTF8: New file.
13638 * iconvdata/testdata/CP772: New file.
13639 * iconvdata/testdata/CP772..UTF8: New file.
13640 * iconvdata/testdata/CP773: New file.
13641 * iconvdata/testdata/CP773..UTF8: New file.
13642 * iconvdata/testdata/CP774: New file.
13643 * iconvdata/testdata/CP774..UTF8: New file.
13644
13645 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13646 END CHARMAP line.
13647 * iconvdata/gen-8bit-gap.sh: Likewise.
13648 * iconvdata/gen-8bit.sh: Likewise.
13649
c1e9e399
UD
13650 * locale/iso-639.def: Add ary entry.
13651
24c55fb3 13652 [BZ #11258]
96b4b1b0
UD
13653 * locale/C-translit.h.in: Add U20A1 transliteration.
13654
bdc2f971
KB
13655 [BZ #12178]
13656 * locale/iso-639.def: Add wae entry.
13657 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13658
2952b117
UD
13659 [BZ #12545]
13660 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13661 for n.
13662
2a81eaa5
UD
13663 [BZ #12711]
13664 * locale/C-translit.h.in: Add entry for U20B9.
13665 Patch by pravin.d.s@gmail.com.
13666
28377d1b
UD
136672011-05-08 Ulrich Drepper <drepper@gmail.com>
13668
7fb90fb8
UD
13669 [BZ #12713]
13670 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13671 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13672 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13673 in rtld. Use *stat64.
7fb90fb8 13674 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13675 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13676 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13677 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13678 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13679 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13680 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13681 __fstatat64 macros.
7fb90fb8
UD
13682 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13683 * dirent/rewinddir.c: Add libc_hidden_def.
13684 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13685 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13686
28377d1b
UD
13687 * include/dirent.h (__alloc_dir): Add flags parameter.
13688 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13689 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13690 __alloc_dir.
13691 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13692 from fdopendir if O_CLOEXEC is already set.
13693
66bdbaa4
AM
136942011-03-15 Alan Modra <amodra@gmail.com>
13695
13696 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13697 l_tls_firstbyte_offset non-zero. Save padding offset in
13698 l_tls_firstbyte_offset for later use.
13699 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13700 freeing static tls block.
13701
95721191
JN
137022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13703
13704 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13705 where #ifdef was intended. The intent is to prevent ARG_MAX from
13706 being defined by the kernel headers.
13707
f87dfb1f
UD
137082011-05-07 Ulrich Drepper <drepper@gmail.com>
13709
13710 [BZ #12734]
13711 * resolv/resolv.h: Define RES_NOTLDQUERY.
13712 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13713 no-tld-query and set RES_NOTLDQUERY.
13714 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13715 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13716 modern BIND to search name as TLD unless forbidden.
13717
47c3cd7a
UD
137182011-05-07 Petr Baudis <pasky@suse.cz>
13719 Ulrich Drepper <drepper@gmail.com>
13720
13721 [BZ #12393]
13722 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13723 (is_trusted_path): ...to here.
c1e9ea35 13724 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13725 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13726 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13727
8a35c912
PP
137282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13729
13730 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13731 __BEGIN/__END_DECLS.
13732
acd41f47
UD
137332011-05-06 Ulrich Drepper <drepper@gmail.com>
13734
13735 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13736 NSS_STATUS_NOTFOUND if no record was found.
13737
597df647
AS
137382011-05-05 Andreas Schwab <schwab@redhat.com>
13739
13740 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13741 (headers-not-in-tirpc): Remove rpc/netdb.h
13742 * resolv/netdb.h: Revert last change.
13743
b9af1301
PP
137442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13745
13746 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13747 circular dependency between libgcc.a and libc.a.
13748
4e34d5f5
AS
137492011-05-05 Andreas Schwab <schwab@redhat.com>
13750
13751 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13752 * nis/Makefile: Don't install rpcsvc/*.
13753 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13754 instead of <rpc/types.h>.
13755 (MAXHOSTNAMELEN): Define.
13756
00ee369c
AS
137572011-05-03 Andreas Schwab <schwab@redhat.com>
13758
13759 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13760
0b592a30
MB
137612011-04-28 Maciej Babinski <mbabinski@google.com>
13762
13763 [BZ #12714]
13764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13765 gethostbyname4_r when IPv6 results are possible.
13766
6e04cbbe
UD
137672011-05-02 Ulrich Drepper <drepper@gmail.com>
13768
13769 [BZ #12723]
13770 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13771 _PC_PIPE_BUF handling.
13772
e4ecafe0
BH
137732011-04-30 Bruno Haible <bruno@clisp.org>
13774
13775 [BZ #12717]
13776 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13777 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13778 to 'int'.
13779 * inet/getnameinfo.c (getnameinfo): Likewise.
13780
125ee683
UD
137812011-04-29 Ulrich Drepper <drepper@gmail.com>
13782
13783 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13784 to groups setting in database lookup.
13785 * nss/nsswitch.conf: Add initgroups entry.
13786
b722481a
EB
137872011-04-22 Ulrich Drepper <drepper@gmail.com>
13788
13789 [BZ #12685]
13790 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13791 mode string.
13792 Patch by Eric Blake <eblake@redhat.com>.
13793
4df46dbd
L
137942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13795
13796 * sunrpc/Makefile (need-export-routines): Add svc_run.
13797 (routines): Remove svc_run.
13798 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13799 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13800 * sunrpc/svc_run.c (svc_run): Likewise.
13801 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13802
e84142d2
UD
138032011-04-21 Ulrich Drepper <drepper@gmail.com>
13804
13805 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13806 problem in reallocation in last patch.
13807
877175d8
UD
138082011-04-20 Ulrich Drepper <drepper@gmail.com>
13809
13810 * sunrpc/Makefile: Move inclusion of Rules.
13811
ab8eed78
UD
138122011-04-19 Ulrich Drepper <drepper@gmail.com>
13813
13814 * nss/nss_files/files-initgroups.c: New file.
13815 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13816 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13817 _nss_files_initgroups_dyn.
13818
e3d8f584
RS
138192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13820
13821 * elf/elf.h (R_ARM_IRELATIVE): Define.
13822
af190f45
UD
138232011-04-19 Ulrich Drepper <drepper@gmail.com>
13824
13825 * po/ru.po: Update from translation team.
13826
53cf59ef
UD
138272011-04-17 Ulrich Drepper <drepper@gmail.com>
13828
13829 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13830 dependencies.
13831
4c559bcd
MF
138322011-02-06 Mike Frysinger <vapier@gentoo.org>
13833
13834 [BZ #12653]
13835 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13836 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13837 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13838 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13839 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13840
4420675c
AS
138412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13842
13843 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13844 differing bytes.
13845 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13846 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13847 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13848
75ea32ab
UD
138492011-04-17 Ulrich Drepper <drepper@gmail.com>
13850
13851 [BZ #12420]
13852 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13853 storing it.
13854 * stdlib/bug-getcontext.c: New file.
13855 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13856
27390476
AK
138572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13858
13859 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13860 instructions into .machine "z9-109".
13861 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13862 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13863
10442705
AK
138642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13865
13866 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13867 between environment variables and auxiliary vector.
13868
7b57bfe5
UD
138692011-04-16 Ulrich Drepper <drepper@gmail.com>
13870
13871 * Makefile: Add rules to build linkobj/libc.so.
13872 * include/libc-symbols.h: Define libc_hidden_nolink.
13873 * include/rpc/auth.h: Mark functions which are to be hidden.
13874 * include/rpc/auth_des.h: Likewise.
13875 * include/rpc/auth_unix.h: Likewise.
13876 * include/rpc/clnt.h: Likewise.
13877 * include/rpc/des_crypt.h: Likewise.
13878 * include/rpc/key_prot.h: Likewise.
13879 * include/rpc/pmap_clnt.h: Likewise.
13880 * include/rpc/pmap_prot.h: Likewise.
13881 * include/rpc/pmap_rmt.h: Likewise.
13882 * include/rpc/rpc_msg.h: Likewise.
13883 * include/rpc/svc.h: Likewise.
13884 * include/rpc/svc_auth.h: Likewise.
13885 * include/rpc/xdr.h: Likewise.
13886 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13887 * nss/Makefile: Likewise.
13888 * sunrpc/Makefile: Don't install headers. Build library with normal
13889 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13890 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13891 for the compat linking library. Remove use of INTDEF/INTUSE.
13892 * sunrpc/auth_none.c: Likewise.
13893 * sunrpc/auth_unix.c: Likewise.
13894 * sunrpc/authdes_prot.c: Likewise.
13895 * sunrpc/authuxprot.c: Likewise.
13896 * sunrpc/clnt_gen.c: Likewise.
13897 * sunrpc/clnt_perr.c: Likewise.
13898 * sunrpc/clnt_raw.c: Likewise.
13899 * sunrpc/clnt_simp.c: Likewise.
13900 * sunrpc/clnt_tcp.c: Likewise.
13901 * sunrpc/clnt_udp.c: Likewise.
13902 * sunrpc/clnt_unix.c: Likewise.
13903 * sunrpc/des_crypt.c: Likewise.
13904 * sunrpc/des_soft.c: Likewise.
13905 * sunrpc/get_myaddr.c: Likewise.
13906 * sunrpc/key_call.c: Likewise.
13907 * sunrpc/key_prot.c: Likewise.
13908 * sunrpc/netname.c: Likewise.
13909 * sunrpc/pm_getmaps.c: Likewise.
13910 * sunrpc/pm_getport.c: Likewise.
13911 * sunrpc/pmap_clnt.c: Likewise.
13912 * sunrpc/pmap_prot.c: Likewise.
13913 * sunrpc/pmap_prot2.c: Likewise.
13914 * sunrpc/pmap_rmt.c: Likewise.
13915 * sunrpc/publickey.c: Likewise.
13916 * sunrpc/rpc_cmsg.c: Likewise.
13917 * sunrpc/rpc_common.c: Likewise.
13918 * sunrpc/rpc_dtable.c: Likewise.
13919 * sunrpc/rpc_prot.c: Likewise.
13920 * sunrpc/rpc_thread.c: Likewise.
13921 * sunrpc/rtime.c: Likewise.
13922 * sunrpc/svc.c: Likewise.
13923 * sunrpc/svc_auth.c: Likewise.
13924 * sunrpc/svc_authux.c: Likewise.
13925 * sunrpc/svc_raw.c: Likewise.
13926 * sunrpc/svc_run.c: Likewise.
13927 * sunrpc/svc_simple.c: Likewise.
13928 * sunrpc/svc_tcp.c: Likewise.
13929 * sunrpc/svc_udp.c: Likewise.
13930 * sunrpc/svc_unix.c: Likewise.
13931 * sunrpc/svcauth_des.c: Likewise.
13932 * sunrpc/xcrypt.c: Likewise.
13933 * sunrpc/xdr.c: Likewise.
13934 * sunrpc/xdr_array.c: Likewise.
13935 * sunrpc/xdr_float.c: Likewise.
13936 * sunrpc/xdr_intXX_t.c: Likewise.
13937 * sunrpc/xdr_mem.c: Likewise.
13938 * sunrpc/xdr_rec.c: Likewise.
13939 * sunrpc/xdr_ref.c: Likewise.
13940 * sunrpc/xdr_sizeof.c: Likewise.
13941 * sunrpc/xdr_stdio.c: Likewise.
13942
e6c61494
UD
139432011-04-10 Ulrich Drepper <drepper@gmail.com>
13944
13945 [BZ #12650]
13946 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13947 * sysdeps/ia64/dl-tls.h: Likewise.
13948 * sysdeps/powerpc/dl-tls.h: Likewise.
13949 * sysdeps/s390/dl-tls.h: Likewise.
13950 * sysdeps/sh/dl-tls.h: Likewise.
13951 * sysdeps/sparc/dl-tls.h: Likewise.
13952 * sysdeps/x86_64/dl-tls.h: Likewise.
13953 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13954
34fe483e
AS
139552011-03-14 Andreas Schwab <schwab@redhat.com>
13956
13957 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13958 rpath element also skip the following colon.
13959 (expand_dynamic_string_token): Add is_path parameter and pass
13960 down to DL_DST_REQUIRED and _dl_dst_substitute.
13961 (decompose_rpath): Call expand_dynamic_string_token with
13962 non-zero is_path. Ignore empty rpaths.
13963 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13964 with zero is_path.
13965
f12a32e6
AS
139662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13967
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13969 Make cancelable.
13970
38a7d692
UD
139712011-04-09 Ulrich Drepper <drepper@gmail.com>
13972
13973 [BZ #12655]
13974 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13975 Patch by Filipe David Manana <fdmanana@apache.org>.
13976
e451d22b
AS
139772011-04-07 Andreas Schwab <schwab@redhat.com>
13978
13979 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13980 Maintain aligned stack.
13981 (CHECK_RSP): Remove unused macro.
13982
dedc7c7b
UD
139832011-04-03 Ulrich Drepper <drepper@gmail.com>
13984
13985 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13986 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13987
94521213
UD
139882011-04-02 Ulrich Drepper <drepper@gmail.com>
13989
13990 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13991
8cb700c0 13992 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13993
0354e355
L
139942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13995
13996 [BZ #12518]
13997 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13998 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13999 * sysdeps/x86_64/memmove.c: New file.
14000 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14001 (memcpy): Renamed to ...
14002 (__new_memcpy): This.
14003 (memcpy): Provide GLIBC_2_14 memcpy.
14004 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14005 (memcpy): Provide GLIBC_2_2_5 memcpy.
14006
8593482f
UD
140072011-04-01 Ulrich Drepper <drepper@gmail.com>
14008
14009 [BZ #12631]
14010 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14011
81a5726b
AS
140122011-03-30 Andreas Schwab <schwab@redhat.com>
14013
14014 * misc/syncfs.c: New file.
14015 * misc/Makefile (routines): Add syncfs.
14016 * posix/unistd.h: Declare syncfs.
14017 * sysdeps/unix/syscalls.list: Add syncfs.
14018
00e5419f
AS
140192011-04-01 Andreas Schwab <schwab@redhat.com>
14020
14021 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14022 open_by_handle_at.
14023 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14024 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14028 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14030
748876bf
UD
140312011-04-01 Ulrich Drepper <drepper@gmail.com>
14032
658e451d
UD
14033 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14034 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14035 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14037 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14039 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14040
748876bf
UD
14041 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14042 sync_file_range.c with -fexceptions.
14043 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14044 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14045 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14046 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14047 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14048 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14049 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14050 sync_file_range as cancellation point
14051 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14052 now a wrapper around __call_sync_file_range with cancellation handling.
14053 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14054 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14055 function name to __call_sync_file_range.
14056 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14057 Add call_sync_file_range.
748876bf 14058
6e63d5e1
AS
140592011-04-01 Andreas Schwab <schwab@redhat.com>
14060
14061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14062 bits/timex.h.
6e63d5e1 14063
46998f74
UD
140642011-04-01 Ulrich Drepper <drepper@gmail.com>
14065
4c1423ed
UD
14066 * iconv/iconv.h: Fix typo in comment.
14067 * io/fcntl.h: Likewise.
14068 * libio/stdio.h: Likewise.
14069 * posix/spawn.h: Likewise.
14070 * posix/unistd.h: Likewise.
14071 * stdlib/stdlib.h: Likewise.
14072 * time/time.h: Likewise.
14073 * wcsmbs/wchar.h: Likewise.
14074
158648c0
UD
14075 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14076 open_by_handle): Add.
14077 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14078 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14079 Augment a few comments.
14080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14084 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14085 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14086 open_by_handle.
14087
46998f74
UD
14088 * io/fcntl.h (AT_EMPTY_PATH): Define.
14089
83fe108b
UD
140902011-03-30 Ulrich Drepper <drepper@gmail.com>
14091
14092 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14093 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14094 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14095 to...
14096 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14097 * Versions.def: Add GLIBC_2.14.
14098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14099 Export.
83fe108b 14100
bb242059
UD
141012011-03-22 Ulrich Drepper <drepper@gmail.com>
14102
14103 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14104 round counter.
14105 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14106
c97a1282
L
141072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14108
14109 [BZ #12597]
14110 * string/test-strncmp.c (do_page_test): New function.
14111 (check2): Likewise.
14112 (test_main): Call check2.
14113 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14114
2a115601
UD
141152011-03-20 Ulrich Drepper <drepper@gmail.com>
14116
14117 [BZ #12587]
14118 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14119 Handle cache information in CPU leaf 4.
14120 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14121
8126d904
UD
141222011-03-18 Ulrich Drepper <drepper@gmail.com>
14123
042c49c6 14124 [BZ #12583]
8126d904
UD
14125 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14126 character representation.
14127 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14128
ccfe366e
RA
141292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14130
14131 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14132 END(__isnan) to END(__isnanf) to match function entry point/label
14133 EALIGN(__isnanf,...).
14134
c6e13027
JJ
141352011-03-10 Jakub Jelinek <jakub@redhat.com>
14136
14137 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14138
33f85a3f
UD
141392011-03-10 Ulrich Drepper <drepper@gmail.com>
14140
028478fa
UD
14141 [BZ #12510]
14142 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14143 copy from the symbol referenced in the relocation to initialize the
14144 used variable.
14145 Patch by Piotr Bury <pbury@goahead.com>.
14146 * elf/Makefile: Add rules to build and tst-unique3.
14147 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14148 * elf/tst-unique3.cc: New file.
14149 * elf/tst-unique3.h: New file.
14150 * elf/tst-unique3lib.cc: New file.
14151 * elf/tst-unique3lib2.cc: New file.
14152
33f85a3f
UD
14153 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14154
03592fc7
MF
141552011-03-10 Mike Frysinger <vapier@gentoo.org>
14156
14157 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14158 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14159 to _start.
03592fc7 14160
6a5ee102
UD
141612011-03-06 Ulrich Drepper <drepper@gmail.com>
14162
14163 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14164 to-be-loaded object along a path to loader is ld.so.
14165
7e4ba49c
HJ
141662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14167 Ulrich Drepper <drepper@gmail.com>
14168
14169 * sysdeps/x86_64/memset.S: After aligning destination, code
14170 branches to different locations depending on the value of
14171 misalignment, when multiarch is enabled. Fix this.
14172
141732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14174
14175 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14176 Set _x86_64_preferred_memory_instruction for AMD processsors.
14177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14178 Set bit_Prefer_SSE_for_memop for AMD processors.
14179
13a804de
UD
141802011-03-04 Ulrich Drepper <drepper@gmail.com>
14181
14182 * libio/fmemopen.c (fmemopen): Optimize a bit.
14183
9d25c392
AS
141842011-03-03 Andreas Schwab <schwab@redhat.com>
14185
14186 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14187
a5543c6a
RM
141882011-03-03 Roland McGrath <roland@redhat.com>
14189
14190 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14191
012d35f7
DM
141922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14193
7e4ba49c 14194 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14195 __bzero_ultra1 instead of __memset_ultra1.
14196
4bff6e01
AS
141972011-02-23 Andreas Schwab <schwab@redhat.com>
14198 Ulrich Drepper <drepper@gmail.com>
14199
14200 [BZ #12509]
14201 * include/link.h (struct link_map): Add l_orig_initfini.
14202 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14203 returning unsuccessfully.
14204 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14205 close of a file loaded at startup, restore the original l_initfini
14206 list.
14207 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14208 list, store the pointer.
14209 * elf/Makefile ($(objpfx)noload-mem): New rule.
14210 (noload-ENV): Define.
14211 (tests): Add $(objpfx)noload-mem.
14212 * elf/noload.c: Include <memcheck.h>.
14213 (main): Call mtrace. Close all opened handles.
14214
f2092faf
AS
142152011-02-17 Andreas Schwab <schwab@redhat.com>
14216
14217 [BZ #12454]
14218 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14219 dependencies are missing.
14220
6c8a2e88
ST
142212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14222
f2092faf 14223 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14224 Hurd needs munmap.
14225 * sysdeps/mach/hurd/ifreq.h: New file.
14226
84a42118
PB
142272011-01-27 Petr Baudis <pasky@suse.cz>
14228 Ulrich Drepper <drepper@gmail.com>
14229
071f805e 14230 [BZ 12445]#
84a42118
PB
14231 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14232 to extend_alloca().
14233 * stdio-common/bug23.c: New file.
14234 * stdio-common/Makefile (tests): Add bug23.
14235
e23fe25b
AS
142362010-09-28 Andreas Schwab <schwab@redhat.com>
14237 Ulrich Drepper <drepper@gmail.com>
14238
14239 [BZ #12489]
14240 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14241 before performing relro protection. At old place add assertion
14242 to make sure nothing changed.
14243
d3f02e10
NS
142442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14245 Glauber de Oliveira Costa <glommer@gmail.com>
14246
14247 * elf/elf.h: Add new ARM TLS relocs.
14248
d55fd7a5
RA
142492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14250
14251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14252 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14253 cast from r3.
14254 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14255 'tests' variable.
14256 * sysdeps/wordsize-64/tst-writev.c: New file.
14257
2206397e
RA
142582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14259
14260 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14261 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14262 insns in _dl_start to prevent a TOC reference before relocs are
14263 resolved.
14264
e9433893
UD
142652011-02-15 Ulrich Drepper <drepper@gmail.com>
14266
14267 [BZ #12469]
14268 * Makeconfig: Remove RANLIB definition.
14269 * Makerules: Don't use RANLIB.
14270 * aclocal.m4: Remove ranlib test.
14271 * configure.in: No need to check for ranlib.
14272 * elf/rtld-Rules: Don't use RANLIB.
14273
f75286c6
ST
142742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14275
8e31c82d
ST
14276 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14277 protection macro.
14278 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14279 inclusion protection macro.
14280
f75286c6
ST
14281 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14282 SIGRTMIN and SIGRTMAX and print information in that case only when
14283 SIGRTMIN is defined.
14284
c1d0e639
JJ
142852011-02-11 Jakub Jelinek <jakub@redhat.com>
14286
14287 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14288 arginfo fn returning -1.
14289
14290 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14291 and thousands string is zero terminated.
14292
edf9294e
AS
142932011-02-03 Andreas Schwab <schwab@redhat.com>
14294
14295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14296 sysdeps/unix/sysv/linux/bits/socket.h.
14297
2b7e92df
ST
142982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14299
edf9294e
AS
14300 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14301 (__CPU_COUNT): Remove old macros.
14302 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14303 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14304 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14305 (__sched_cpualloc, __sched_cpufree): Add declarations.
14306
a4c7ea7b
UD
143072011-02-05 Ulrich Drepper <drepper@gmail.com>
14308
14309 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14310 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14311 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14312 (readdhstai): Return value of addhstaiX call.
14313 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14314 (addgrbyX): Return value returned by cache_addgr.
14315 (readdgrbyname): Return value returned by addgrbyX.
14316 (readdgrbygid): Likewise.
14317 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14318 (addpwbyX): Return value returned by cache_addpw.
14319 (readdpwbyname): Return value returned by addhstbyX.
14320 (readdpwbyuid): Likewise.
14321 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14322 (addservbyX): Return value returned by cache_addserv.
14323 (readdservbyname): Return value returned by addservbyX:
14324 (readdservbyport): Likewise.
14325 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14326 (addhstbyX): Return value returned by cache_addhst.
14327 (readdhstbyname): Return value returned by addhstbyX.
14328 (readdhstbyaddr): Likewise.
14329 (readdhstbynamev6): Likewise.
14330 (readdhstbyaddrv6): Likewise.
14331 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14332 (readdinitgroups): Return value returned by addinitgroupsX.
14333 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14334 (prune_cache): Keep track of timeout value of re-added entries.
14335 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14336 * nscd/nscd.h: Adjust prototypes of readd* functions.
14337
a0bf67cc
RM
143382011-02-04 Roland McGrath <roland@redhat.com>
14339
14340 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14341 (nis_stats): Likewise.
14342 * nis/nis_modify.c (nis_modify): Likewise.
14343 * nis/nis_remove.c (nis_remove): Likewise.
14344 * nis/nis_add.c (nis_add): Likewise.
14345
14346 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14347
14348 * posix/fnmatch_loop.c: Add some consts.
14349
14350 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14351
435b95eb
L
143522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14353
14354 [BZ #12460]
14355 * config.make.in (config-cflags-novzeroupper): Define.
14356 * configure.in: Substitute libc_cv_cc_novzeroupper.
14357 * elf/Makefile (AVX-CFLAGS): Define.
14358 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14359 (CFLAGS-tst-auditmod4a.c): Likewise.
14360 (CFLAGS-tst-auditmod4b.c): Likewise.
14361 (CFLAGS-tst-auditmod6b.c): Likewise.
14362 (CFLAGS-tst-auditmod6c.c): Likewise.
14363 (CFLAGS-tst-auditmod7b.c): Likewise.
14364 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14365
8517b15e
UD
143662011-02-02 Ulrich Drepper <drepper@gmail.com>
14367
14368 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14369 function to the callback.
14370 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14371
10a656fe
AS
143722011-02-02 Andreas Schwab <schwab@redhat.com>
14373
14374 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14375 of errno.
14376
968dad0a
UD
143772011-01-19 Ulrich Drepper <drepper@gmail.com>
14378
9f94d2ea 14379 [BZ #11724]
968dad0a
UD
14380 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14381 of constructors.
14382 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14383 of destructors.
14384 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14385
14386 [BZ #11724]
14387 * elf/Makefile: Add rules to build and run new test.
14388 * elf/tst-initorder.c: New file.
14389 * elf/tst-initorder.exp: New file.
14390 * elf/tst-initordera1.c: New file.
14391 * elf/tst-initordera2.c: New file.
14392 * elf/tst-initordera3.c: New file.
14393 * elf/tst-initordera4.c: New file.
14394 * elf/tst-initorderb1.c: New file.
14395 * elf/tst-initorderb2.c: New file.
14396 * elf/tst-order-a1.c: New file.
14397 * elf/tst-order-a2.c: New file.
14398 * elf/tst-order-a3.c: New file.
14399 * elf/tst-order-a4.c: New file.
14400 * elf/tst-order-b1.c: New file.
14401 * elf/tst-order-b2.c: New file.
14402 * elf/tst-order-main.c: New file.
14403 New test case by George Gensure <werkt0@gmail.com>.
14404
86e92359
UD
144052010-10-01 Andreas Schwab <schwab@redhat.com>
14406
14407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14408 decoding ACE if AI_CANONIDN.
14409
5d5732b0
UD
144102011-01-18 Ulrich Drepper <drepper@gmail.com>
14411
14412 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14413
a77e8cbc
UD
144142011-01-17 Ulrich Drepper <drepper@gmail.com>
14415
6392473f
UD
14416 * version.h (RELEASE): Bump for 2.13 release.
14417 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14418
620a0529
UD
14419 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14420
18ba70a5
UD
14421 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14422 MADV_NOHUGEPAGE.
32465c3e
UD
14423 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14424 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14425 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14426 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14427 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14428 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14429
c0dafcf1
UD
14430 * posix/getconf.c: Update copyright year.
14431 * catgets/gencat.c: Likewise.
14432 * csu/version.c: Likewise.
14433 * debug/catchsegv.sh: Likewise.
14434 * debug/xtrace.sh: Likewise.
14435 * elf/ldconfig.c: Likewise.
14436 * elf/ldd.bash.in: Likewise.
14437 * elf/sprof.c (print_version): Likewise.
14438 * iconv/iconv_prog.c: Likewise.
14439 * iconv/iconvconfig.c: Likewise.
14440 * locale/programs/locale.c: Likewise.
14441 * locale/programs/localedef.c: Likewise.
14442 * malloc/memusage.sh: Likewise.
14443 * malloc/mtrace.pl: Likewise.
14444 * nscd/nscd.c (print_version): Likewise.
14445 * nss/getent.c: Likewise.
14446
a77e8cbc
UD
14447 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14448 PF_CAIF, and PF_ALG.
14449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14450
77e8bddf
AS
144512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14452
1f20b93a
AS
14453 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14454 (modules-names): Use them.
14455 (ifunc-test-modules, ifunc-pie-tests): Define.
14456 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14457 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14458 (test-extras): Likewise.
14459 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14460 $(compile-command.c).
14461 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14462 (all-built-dso): Define.
14463 (check-textrel.out, check-execstack.out): Depend on it.
14464
77e8bddf
AS
14465 * configure.in: Don't override --enable-multi-arch.
14466
bc425b33
UD
144672011-01-15 Ulrich Drepper <drepper@gmail.com>
14468
14469 [BZ #6812]
14470 * nscd/hstcache.c (tryagain): Define.
14471 (cache_addhst): Return tryagain not notfound for temporary errors.
14472 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14473 failed.
14474
794c3ad3
UD
144752011-01-14 Ulrich Drepper <drepper@gmail.com>
14476
70181fdd
UD
14477 [BZ #10563]
14478 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14479 to make the syscall.
14480 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14481
794c3ad3
UD
14482 [BZ #12378]
14483 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14484 and fall back to matching as normal character if the string ends before
14485 the matching ']' is found. This is what POSIX requires.
14486 * posix/testfnm.c: Adjust test result.
14487 * posix/globtest.sh: Adjust test result. Add new test.
14488 * posix/tst-fnmatch.input: Likewise.
14489 * posix/tst-fnmatch2.c: Add new test.
14490
68dc9497
AS
144912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14492
14493 * elf/Makefile (check-execstack): Revert last change. Depend on
14494 check-execstack.h.
14495 (check-execstack.h): New target.
14496 (generated): Add check-execstack.h.
14497 * elf/check-execstack.c: Include "check-execstack.h".
14498 (main): Revert last change.
14499 (handle_file): Return zero if GNU_STACK is absent and
14500 DEFAULT_STACK_PERMS doesn't include PF_X.
14501
451f001b
UD
145022011-01-13 Ulrich Drepper <drepper@gmail.com>
14503
cfa28e56
UD
14504 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14505 in child fails because the descriptor is already closed.
8cf8ce17
UD
14506 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14507 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14508 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14509
1086d70d
UD
14510 [BZ #12397]
14511 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14512 syscall.
14513
451f001b
UD
14514 [BZ #10484]
14515 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14516 temporary buffer used to handle multi lookups locally.
a85b5cb4 14517 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14518
08769175
UD
145192011-01-12 Ulrich Drepper <drepper@gmail.com>
14520
14521 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14522 loader is ld.so.
14523
5e49c52e
UD
145242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14525
14526 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14527 alignment for SSE2.
14528
60522a5f
UD
145292011-01-12 Ulrich Drepper <drepper@gmail.com>
14530
14531 [BZ #12394]
14532 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14533 characters. When rounding increased number of integer digits recompute
14534 number of groups.
14535 * stdio-common/tst-grouping.c: New file.
14536 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14537
f257bbd7
UD
145382011-01-09 Ulrich Drepper <drepper@gmail.com>
14539
14540 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14541 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14542
14543 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14544 void.
14545 * bits/select.h: Likewise.
14546
fa9c15cb
UD
145472011-01-08 Ulrich Drepper <drepper@gmail.com>
14548
14549 * po/ja.po: Update from translation team.
14550
16c2895f
DM
145512011-01-04 David S. Miller <davem@sunset.davemloft.net>
14552
14553 [BZ #11155]
14554 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14555 implementation just like for lxstat, fxstatat, et al.
14556
2543fef2
JM
145572010-12-27 Jim Meyering <meyering@redhat.com>
14558
14559 [BZ #12348]
14560 * posix/regexec.c (build_trtable): Return failure indication upon
14561 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14562
98727dbe
UD
145632010-12-25 Ulrich Drepper <drepper@gmail.com>
14564
5bd6dc5c
UD
14565 [BZ #12201]
14566 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14567 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14568 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14569 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14570
97983464
UD
14571 [BZ #12207]
14572 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14573
98727dbe
UD
14574 [BZ #12204]
14575 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14576 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14577
4a531bb0
L
145782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14579
14580 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14581 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14582 script has SORT_BY_INIT_PRIORITY.
14583 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14584 NO_CTORS_DTORS_SECTIONS is defined.
14585 * elf/soinit.c: Likewise.
14586 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14587 NO_CTORS_DTORS_SECTIONS is defined.
14588 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14589 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14590 * sysdeps/sh/init-first.c: Likewise.
14591 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14592
07eb4b71
UD
145932010-12-24 Ulrich Drepper <drepper@gmail.com>
14594
14595 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14596 always use the slow path.
14597
30950a5f
RA
145982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14599
14600 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14601 similar rule which adds the sysdep directories to the header search in
14602 order to pick up the correct platform stackinfo.h.
14603 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14604 perform test if it is, otherwise return successfully without testing.
14605 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14606 DEFAULT_STACK_PERMS define in stackinfo.h.
14607 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14608 defined in stackinfo.h.
14609 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14610 DEFAULT_STACK_PERMS defined in stackinfo.h.
14611 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14612 * sysdeps/ia64/stackinfo.h: Likewise.
14613 * sysdeps/s390/stackinfo.h: Likewise.
14614 * sysdeps/sh/stackinfo.h: Likewise.
14615 * sysdeps/sparc/stackinfo.h: Likewise.
14616 * sysdeps/x86_64/stackinfo.h: Likewise.
14617 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14618 PF_X for powerpc64. Retain PF_X for powerpc32.
14619
db753e2c
UD
146202010-12-19 Ulrich Drepper <drepper@gmail.com>
14621
14b697f7
UD
14622 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14623 accurately.
db753e2c
UD
14624 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14625 GETDENTS_64BIT_ALIGNED.
14626
28300719
UD
146272010-12-14 Ulrich Drepper <dreper@gmail.com>
14628
14b697f7 14629 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14630
4f197237
AS
146312010-12-10 Andreas Schwab <schwab@redhat.com>
14632
dbb0472f
AS
14633 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14634 _GNU_SOURCE.
14635
4f197237
AS
14636 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14637 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14638 Remove __restrict.
14639 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14640 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14641
fb88ac72
UD
146422010-12-09 Ulrich Drepper <drepper@gmail.com>
14643
14644 [BZ #11655]
14645 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14646 are initialized.
14647
42acbb92
JJ
146482010-12-09 Jakub Jelinek <jakub@redhat.com>
14649
14650 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14651
c038d98d
UD
146522010-12-03 Ulrich Drepper <drepper@gmail.com>
14653
14654 * po/it.po: Update from translation team.
14655
3a4a2499
L
146562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14657
14658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14659 unused codes.
14660
1e24cf6e
UD
146612010-11-30 Ulrich Drepper <drepper@gmail.com>
14662
14663 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14664
a7690819
AS
146652010-11-24 Andreas Schwab <schwab@redhat.com>
14666
14667 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14668 specially.
14669 (gaih_getanswer_slice): Likewise.
14670
3bf8d1b1
JJ
146712010-10-20 Jakub Jelinek <jakub@redhat.com>
14672
14673 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14674
6db52fbb
PB
146752010-05-31 Petr Baudis <pasky@suse.cz>
14676
14677 [BZ #11149]
14678 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14679 silently even in the chroot mode.
14680
eaca7569
UD
146812010-11-22 Ulrich Drepper <drepper@gmail.com>
14682
14683 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14684 last patch a bit. Pretty printing
14685
3056dcdb
UD
146862010-05-31 Petr Baudis <pasky@suse.cz>
14687
14688 [BZ #10085]
14689 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14690 initialization of skip_initgroups_dyn.
14691
cf7c9078
UD
146922010-11-19 Ulrich Drepper <drepper@gmail.com>
14693
14694 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14695 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14696
a1fb5e3e
UD
146972010-11-16 Ulrich Drepper <drepper@gmail.com>
14698
14699 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14700
3540d66b
AS
147012010-11-11 Andreas Schwab <schwab@redhat.com>
14702
14703 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14704 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14705 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14706 ($(objpfx)tst-fnmatch-mem): New rule.
14707 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14708 * posix/tst-fnmatch.c (main): Call mtrace.
14709
13b69574
L
147102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14711
14712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14713 Support Intel processor model 6 and model 0x2c.
14714
da93d214
LM
147152010-11-10 Luis Machado <luisgpm@br.ibm.com>
14716
14717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14718 signed comparison.
14719
8ca52c6e
L
147202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14721
14722 [BZ #12205]
14723 * string/test-strncasecmp.c (check_result): New function.
14724 (do_one_test): Use it.
14725 (check1): New function.
14726 (test_main): Use it.
14727 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14728 Support strcasecmp and strncasecmp.
14729
69da074d
UD
147302010-11-08 Ulrich Drepper <drepper@gmail.com>
14731
14732 [BZ #12194]
14733 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14734 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14735
ff02d528
L
147362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14737
14738 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14739 IFUNC support.
14740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14741 memset-x86-64.
14742 * sysdeps/x86_64/multiarch/bzero.S: New file.
14743 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14744 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14745 * sysdeps/x86_64/multiarch/memset.S: New file.
14746 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14748 Set bit_Prefer_SSE_for_memop for Intel processors.
14749 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14750 Define.
14751 (index_Prefer_SSE_for_memop): Define.
14752 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14753
344d0b54
LM
147542010-11-04 Luis Machado <luisgpm@br.ibm.com>
14755
14756 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14757 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14758
c0dde15b
UD
147592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14760
14761 [BZ #12191]
14762 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14763 (__x86_64_raw_data_cache_size_half): Likewise.
14764 (__x86_64_raw_shared_cache_size): Likewise.
14765 (__x86_64_raw_shared_cache_size_half): Likewise.
14766
14767 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14768 (__x86_64_raw_data_cache_size_half): Likewise.
14769 (__x86_64_raw_shared_cache_size): Likewise.
14770 (__x86_64_raw_shared_cache_size_half): Likewise.
14771 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14772 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14773 and __x86_64_raw_shared_cache_size_half. Round
14774 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14775 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14776 to multiple of 256 bytes.
14777
0e516e0e
MS
147782010-11-03 Ulrich Drepper <drepper@gmail.com>
14779
14780 [BZ #12167]
14781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14782 of inacessible symlinks. Verify result of symlink before returning it.
14783 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14784 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14785
0e012e87
ER
147862010-10-28 Erich Ritz <erichritz@gmail.com>
14787
14788 * math/math.h (isinf): Fix typo in comment.
14789
de0ff7bc
UD
147902010-11-01 Ulrich Drepper <drepper@gmail.com>
14791
14792 * po/da.po: Update from translation team.
14793
fa41c84d
UD
147942010-10-26 Ulrich Drepper <drepper@gmail.com>
14795
14796 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14797 is added to the list.
14798
f0967738
AK
147992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14800 Ulrich Drepper <drepper@gmail.com>
14801
14802 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14803 the global list here. Move code to...
14804 (_dl_add_to_namespace_list): ...here. New function.
14805 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14806 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14807 * elf/dl-load.c (lose): Don't remove the element from the list.
14808 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14809 (_dl_map_object): Likewise.
14810
148112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14812
14813 [BZ #12159]
14814 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14815 into all bytes of SSE register.
14816 Patch by Richard Li <richardpku@gmail.com>.
14817
f0967738 148182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14819
14820 [BZ #12140]
14821 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14822 perturbing.
14823
d0b9e94f
MB
148242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14825
14826 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14827 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14828 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14829 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14831 submachine.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14833
8e9f92e9
AS
148342010-10-22 Andreas Schwab <schwab@redhat.com>
14835
14836 * include/dlfcn.h (__RTLD_SECURE): Define.
14837 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14838 mode & __RTLD_SECURE instead.
14839 (open_path): Rename preloaded parameter to secure.
14840 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14841 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14842 * elf/dl-deps.c (openaux): Likewise.
14843 * elf/rtld.c (struct map_args): Remove is_preloaded.
14844 (map_doit): Don't use it.
14845 (dl_main): Likewise.
14846 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14847 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14848
bc96fbda
AS
148492010-09-09 Andreas Schwab <schwab@redhat.com>
14850
14851 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14852 (sysd-rules-targets): Remove duplicates.
14853 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14854 rtld-%.$o dependency.
14855
22cd1c9b
AS
148562010-10-18 Andreas Schwab <schwab@redhat.com>
14857
14858 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14859 _dl_map_object do it.
14860
18edac48
UD
148612010-10-19 Ulrich Drepper <drepper@gmail.com>
14862
14863 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14864 fast fma builtins, define the macros in the C99 standard.
14865 (FP_FAST_FMAF): Likewise.
14866 (FP_FAST_FMAL): Likewise.
14867 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14868
14869 * bits/mathdef.h: Update copyright year.
14870 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14871
d2050124
MM
148722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14873
14874 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14875 builtins, define the macros in the C99 standard.
14876 (FP_FAST_FMAF): Likewise.
14877 (FP_FAST_FMAL): Likewise.
14878 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14879 multiply/add.
14880 (FP_FAST_FMAF): Likewise.
14881
475facd1
JJ
148822010-10-15 Jakub Jelinek <jakub@redhat.com>
14883
14884 [BZ #3268]
14885 * math/libm-test.inc (fma_test): Some new testcases.
14886 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14887 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14888 y and infinite z. Do multiplication by C already in long double.
14889 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14891 y and infinite z. Do bitwise or of inexact bit into u.d.
14892 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14893 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14894 * sysdeps/i386/fpu/s_fma.S: Removed.
14895 * sysdeps/i386/fpu/s_fmal.S: Removed.
14896
7c08a05c
JJ
148972010-10-16 Jakub Jelinek <jakub@redhat.com>
14898
14899 [BZ #3268]
14900 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14902 computation is not scheduled after fetestexcept. Fix value
14903 of minimum denormal long double.
14904
f3f7372d
JJ
149052010-10-14 Jakub Jelinek <jakub@redhat.com>
14906
14907 [BZ #3268]
14908 * math/libm-test.inc (fma_test): Add some more tests.
14909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14910 correctly.
14911
14d43591
AS
149122010-10-15 Andreas Schwab <schwab@redhat.com>
14913
14914 * scripts/data/localplt-s390-linux-gnu.data: New file.
14915 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14916
5e908464
JJ
149172010-10-13 Jakub Jelinek <jakub@redhat.com>
14918
14919 [BZ #3268]
14920 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14921 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14922 instead of dbl-64.
14923 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14924 inlines.
14925 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14927 if one of x and y is very large and the other is subnormal.
14928 * sysdeps/s390/fpu/s_fmaf.c: New file.
14929 * sysdeps/s390/fpu/s_fma.c: New file.
14930 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14931 * sysdeps/powerpc/fpu/s_fma.S: New file.
14932 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14933 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14934 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14935
149362010-10-12 Jakub Jelinek <jakub@redhat.com>
14937
14938 [BZ #3268]
14939 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14940 fma tests.
14941 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14942 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14943 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14944 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14945 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14946 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14948
b833d51f
UD
149492010-10-12 Ulrich Drepper <drepper@redhat.com>
14950
14951 [BZ #12078]
14952 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14953 * posix/bug-regex31.input: Add test case.
14954
1751705d
UD
149552010-10-11 Ulrich Drepper <drepper@gmail.com>
14956
e9b9cbf5
UD
14957 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14958 * posix/bug-regex31.input: New file.
14959
14960 [BZ #12078]
14961 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14962 (parse_sub_exp): Fix last change, use postorder.
14963
ef06edbe
UD
14964 * posix/bug-regex31.c: New file.
14965 * posix/Makefile: Add rules to build and run bug-regex31.
14966
a129c80d
UD
14967 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14968
14969 [BZ #12078]
14970 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14971
b76b818e
UD
14972 [BZ #12108]
14973 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14974 to have entries in sys_siglist.
14975
1751705d
UD
14976 [BZ #12093]
14977 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14978 be NULL.
14979
9ff8d36f
JJ
149802010-10-07 Jakub Jelinek <jakub@redhat.com>
14981
14982 [BZ #3268]
14983 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14984 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14985 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14986 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14987 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14988 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14989 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14990 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14991 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14992 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14993 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14994 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14995 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14996 * math/ftestexcept.c (fetestexcept): Likewise.
14997 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14998 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14999 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15000 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15001 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15002 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15003 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15004
af325969
UD
150052010-10-11 Ulrich Drepper <drepper@gmail.com>
15006
c579b202 15007 [BZ #12107]
af325969
UD
15008 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15009 newline.
15010
67a67b95
UD
150112010-10-06 Ulrich Drepper <drepper@gmail.com>
15012
15013 * string/bug-strstr1.c: New file.
15014 * string/Makefile: Add rules to build and run bug-strstr1.
15015
5fb308bc
EB
150162010-10-05 Eric Blake <eblake@redhat.com>
15017
15018 [BZ #12092]
15019 * string/str-two-way.h (two_way_long_needle): Always clear memory
15020 when skipping input due to the shift table.
15021
45db99c7
UD
150222010-10-03 Ulrich Drepper <drepper@gmail.com>
15023
3b111893
UD
15024 [BZ #12005]
15025 * malloc/mcheck.c: Handle large requests.
15026
45db99c7
UD
15027 [BZ #12077]
15028 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15029 for strncmp and strncasecmp.
15030 * string/stratcliff.c: Add tests for strcmp and strncmp.
15031 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15032
cf7a1eb8
NI
150332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15034
15035 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15036 __set_fpscr.
15037
6484ba5e
AJ
150382010-09-30 Andreas Jaeger <aj@suse.de>
15039
15040 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15041 (CGROUP_SUPER_MAGIC): Define.
15042 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15043 Handle btrfs and cgroup file systems.
15044 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15045 Likewise.
15046
91c42559
LM
150472010-09-27 Luis Machado <luisgpm@br.ibm.com>
15048
15049 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15050 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15051
87a97932
AK
150522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15053
15054 [BZ #12067]
15055 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15056 trying to locate the ELF header.
15057
c21cc9bc
AS
150582010-09-27 Andreas Schwab <schwab@redhat.com>
15059
15060 [BZ #11611]
15061 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15062 Mask out sign-bit copies when constructing f_fsid.
15063
315970f6
PB
150642010-09-24 Petr Baudis <pasky@suse.cz>
15065
15066 * debug/stack_chk_fail_local.c: Add missing licence exception.
15067 * debug/warning-nop.c: Likewise.
15068
1ac7a2c7
JM
150692010-09-15 Joseph Myers <joseph@codesourcery.com>
15070
15071 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15072 implementing getdents64 using getdents syscall, set d_type if
15073 __ASSUME_GETDENTS32_D_TYPE.
15074
56801c50
AS
150752010-09-16 Andreas Schwab <schwab@redhat.com>
15076
15077 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15078 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15079
dda51327
UD
150802010-09-21 Ulrich Drepper <drepper@redhat.com>
15081
15082 [BZ #12037]
15083 * posix/unistd.h: Undo change of feature selection for ftruncate from
15084 2010-01-11.
15085
8ffcee4a
UD
150862010-09-20 Ulrich Drepper <drepper@redhat.com>
15087
a545ecd9 15088 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15089 detection.
15090
e24f0a8b
AS
150912010-09-20 Andreas Schwab <schwab@redhat.com>
15092
15093 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15094 fanotify_mark.
15095 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15096
7291c56f
AS
150972010-09-14 Andreas Schwab <schwab@redhat.com>
15098
15099 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15100 variables after CHECK_SP call.
15101 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15102
bc5fb037
AS
151032010-09-13 Andreas Schwab <schwab@redhat.com>
15104 Ulrich Drepper <drepper@redhat.com>
15105
15106 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15107 re-relocationg ld.so.
15108 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15109 _dl_init_paths call.
15110 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15111 here anymore.
15112
e66e7419
UD
151132010-09-14 Ulrich Drepper <drepper@redhat.com>
15114
15115 * resolv/res_init.c (__res_vinit): Count the default server we added.
15116
c044aa75
CLT
151172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15118 Ulrich Drepper <drepper@redhat.com>
15119
15120 [BZ #11968]
15121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15122 (____longjmp_chk): Use %ebx for saving value across system call.
15123 Add unwind info.
15124
32cf4069
AS
151252010-09-06 Andreas Schwab <schwab@redhat.com>
15126
15127 * manual/Makefile: Don't mix pattern rules with normal rules.
15128
817328ee
AS
151292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15130
15131 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15132 operation.
15133 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15134 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15135 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15136 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15137 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15138 Likewise.
15139
29fddf61
UD
151402010-09-04 Ulrich Drepper <drepper@redhat.com>
15141
15142 [BZ #11979]
15143 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15144 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15145
0959ffc9
UD
151462010-09-02 Ulrich Drepper <drepper@redhat.com>
15147
15148 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15149 * sysdeps/x86_64/addmul_1.S: Likewise.
15150 * sysdeps/x86_64/lshift.S: Likewise.
15151 * sysdeps/x86_64/mul_1.S: Likewise.
15152 * sysdeps/x86_64/rshift.S: Likewise.
15153 * sysdeps/x86_64/sub_n.S: Likewise.
15154 * sysdeps/x86_64/submul_1.S: Likewise.
15155
ece29840
ST
151562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15157
0959ffc9
UD
15158 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15159 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15160 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15161 * bits/sched.h [__need_schedparam]
ece29840 15162 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15163 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15164 (__defined_schedparam): Define to 1.
ece29840
ST
15165 (__sched_param): New structure, identical to sched_param.
15166 (__need_schedparam): Undefine.
15167
e53a31fe
MF
151682010-08-31 Mike Frysinger <vapier@gentoo.org>
15169
fdc0c10d
MF
15170 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15171 (epoll_create1): Declare.
15172
e53a31fe
MF
15173 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15174
a726d796
AS
151752010-08-31 Andreas Schwab <schwab@redhat.com>
15176
15177 [BZ #7066]
15178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15179 shifting retval into place.
15180
2f3e3dc7
UD
151812010-09-01 Ulrich Drepper <drepper@redhat.com>
15182
f2933da9
UD
15183 * nis/rpcsvc/nis.h: Update copyright notice.
15184 * nis/rpcsvc/nis.x: Likewise.
15185 * nis/rpcsvc/nis_callback.h: Likewise.
15186 * nis/rpcsvc/nis_callback.x: Likewise.
15187 * nis/rpcsvc/nis_object.x: Likewise.
15188 * nis/rpcsvc/nis_tags.h: Likewise.
15189 * nis/rpcsvc/yp.h: Likewise.
15190 * nis/rpcsvc/yp.x: Likewise.
15191 * nis/rpcsvc/ypupd.h: Likewise.
15192 * nis/yp_xdr.c: Likewise.
15193 * nis/ypupdate_xdr.c: Likewise.
15194
2f3e3dc7
UD
15195 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15196 mainly the body of pmap_getport. Add parameters to specify timeouts.
15197 (pmap_getport): Use __libc_rpc_getport.
15198 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15199 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15200 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15201
f3dcc2f9
AS
152022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15203
15204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15205 fanotify_mark.
15206
6d34eb5b
RM
152072010-08-27 Roland McGrath <roland@redhat.com>
15208
15209 * sysdeps/i386/i686/multiarch/Makefile
15210 (CFLAGS-varshift.c): New variable.
15211
9ea3de11
UD
152122010-08-27 Ulrich Drepper <drepper@redhat.com>
15213
c96d23fc
UD
15214 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15215 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15216
9ea3de11
UD
15217 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15218
15219 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15220
623aac7f
L
152212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15222
15223 * sysdeps/x86_64/strlen.S: Unroll the loop.
15224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15225 strlen-sse2 strlen-sse2-bsf.
15226 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15227 __strlen_no_bsf if bit_Slow_BSF is set.
15228 (__strlen_sse42): Removed.
15229 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15230 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15231
8b2b7715
RM
152322010-08-25 Roland McGrath <roland@redhat.com>
15233
15234 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15235 * sysdeps/x86_64/multiarch/varshift.c: New file.
15236 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15237 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15238 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15239 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15240
e73015f2
L
152412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15242
15243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15244 strlen-sse2 strlen-sse2-bsf.
15245 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15246 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15247 (__strlen_sse2): Removed.
15248 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15249 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15251 bit_Slow_BSF for Atom.
15252 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15253 (index_Slow_BSF): Define.
15254 (HAS_SLOW_BSF): Define.
15255
df24a73e
UD
152562010-08-25 Ulrich Drepper <drepper@redhat.com>
15257
15258 [BZ #10851]
15259 * resolv/res_init.c (__res_vinit): When no server address at all
15260 is given default to loopback.
15261
f2ac4868
RM
152622010-08-24 Roland McGrath <roland@redhat.com>
15263
09055553
RM
15264 * configure.in: Remove config-name.h generation.
15265 * configure: Regenerated.
15266 * config-name.in: File removed.
15267 * scripts/config-uname.sh: New file.
15268 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15269 ($(objdir)config-name.h): New target.
15270
f2ac4868
RM
15271 * sunrpc/rpc_parse.h: Avoid nested comment.
15272
73f27d5e
RH
152732010-08-24 Richard Henderson <rth@redhat.com>
15274 Ulrich Drepper <drepper@redhat.com>
15275 H.J. Lu <hongjiu.lu@intel.com>
15276
15277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15279 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15280 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15281 _mm_alignr_epi8 with _mm_loadu_si128.
15282 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15283 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15284 (__m128i_shift_right): Removed.
15285 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15286 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15287 * sysdeps/x86_64/multiarch/varshift.h: New file.
15288 * sysdeps/x86_64/multiarch/varshift.S: New file.
15289
84b9230c
MF
152902010-08-21 Mike Frysinger <vapier@gentoo.org>
15291
15292 * configure.in: Move assembler checks to before sysdep dir checking.
15293
9bbd0ddc
PB
152942010-08-20 Petr Baudis <pasky@suse.cz>
15295
15296 * LICENSES: Sync the sunrpc license.
15297
9da4bb31
UD
152982010-08-19 Ulrich Drepper <drepper@redhat.com>
15299
a7ab6ec8
UD
15300 * sunrpc/auth_des.c: Update copyright notice once again.
15301 * sunrpc/auth_none.c: Likewise.
15302 * sunrpc/auth_unix.c: Likewise.
15303 * sunrpc/authdes_prot.c: Likewise.
15304 * sunrpc/authuxprot.c: Likewise.
15305 * sunrpc/bindrsvprt.c: Likewise.
15306 * sunrpc/clnt_gen.c: Likewise.
15307 * sunrpc/clnt_perr.c: Likewise.
15308 * sunrpc/clnt_raw.c: Likewise.
15309 * sunrpc/clnt_simp.c: Likewise.
15310 * sunrpc/clnt_tcp.c: Likewise.
15311 * sunrpc/clnt_udp.c: Likewise.
15312 * sunrpc/clnt_unix.c: Likewise.
15313 * sunrpc/des_crypt.c: Likewise.
15314 * sunrpc/des_soft.c: Likewise.
15315 * sunrpc/get_myaddr.c: Likewise.
15316 * sunrpc/getrpcport.c: Likewise.
15317 * sunrpc/key_call.c: Likewise.
15318 * sunrpc/key_prot.c: Likewise.
15319 * sunrpc/openchild.c: Likewise.
15320 * sunrpc/pm_getmaps.c: Likewise.
15321 * sunrpc/pm_getport.c: Likewise.
15322 * sunrpc/pmap_clnt.c: Likewise.
15323 * sunrpc/pmap_prot.c: Likewise.
15324 * sunrpc/pmap_prot2.c: Likewise.
15325 * sunrpc/pmap_rmt.c: Likewise.
15326 * sunrpc/rpc/auth.h: Likewise.
15327 * sunrpc/rpc/auth_unix.h: Likewise.
15328 * sunrpc/rpc/clnt.h: Likewise.
15329 * sunrpc/rpc/des_crypt.h: Likewise.
15330 * sunrpc/rpc/key_prot.h: Likewise.
15331 * sunrpc/rpc/netdb.h: Likewise.
15332 * sunrpc/rpc/pmap_clnt.h: Likewise.
15333 * sunrpc/rpc/pmap_prot.h: Likewise.
15334 * sunrpc/rpc/pmap_rmt.h: Likewise.
15335 * sunrpc/rpc/rpc.h: Likewise.
15336 * sunrpc/rpc/rpc_des.h: Likewise.
15337 * sunrpc/rpc/rpc_msg.h: Likewise.
15338 * sunrpc/rpc/svc.h: Likewise.
15339 * sunrpc/rpc/svc_auth.h: Likewise.
15340 * sunrpc/rpc/types.h: Likewise.
15341 * sunrpc/rpc/xdr.h: Likewise.
15342 * sunrpc/rpc_clntout.c: Likewise.
15343 * sunrpc/rpc_cmsg.c: Likewise.
15344 * sunrpc/rpc_common.c: Likewise.
15345 * sunrpc/rpc_cout.c: Likewise.
15346 * sunrpc/rpc_dtable.c: Likewise.
15347 * sunrpc/rpc_hout.c: Likewise.
15348 * sunrpc/rpc_main.c: Likewise.
15349 * sunrpc/rpc_parse.c: Likewise.
15350 * sunrpc/rpc_parse.h: Likewise.
15351 * sunrpc/rpc_prot.c: Likewise.
15352 * sunrpc/rpc_sample.c: Likewise.
15353 * sunrpc/rpc_scan.c: Likewise.
15354 * sunrpc/rpc_scan.h: Likewise.
15355 * sunrpc/rpc_svcout.c: Likewise.
15356 * sunrpc/rpc_tblout.c: Likewise.
15357 * sunrpc/rpc_util.c: Likewise.
15358 * sunrpc/rpc_util.h: Likewise.
15359 * sunrpc/rpcinfo.c: Likewise.
15360 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15361 * sunrpc/rpcsvc/key_prot.x: Likewise.
15362 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15363 * sunrpc/rpcsvc/mount.x: Likewise.
15364 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15365 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15366 * sunrpc/rpcsvc/rex.x: Likewise.
15367 * sunrpc/rpcsvc/rstat.x: Likewise.
15368 * sunrpc/rpcsvc/rusers.x: Likewise.
15369 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15370 * sunrpc/rpcsvc/spray.x: Likewise.
15371 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15372 * sunrpc/rtime.c: Likewise.
15373 * sunrpc/svc.c: Likewise.
15374 * sunrpc/svc_auth.c: Likewise.
15375 * sunrpc/svc_authux.c: Likewise.
15376 * sunrpc/svc_raw.c: Likewise.
15377 * sunrpc/svc_run.c: Likewise.
15378 * sunrpc/svc_simple.c: Likewise.
15379 * sunrpc/svc_tcp.c: Likewise.
15380 * sunrpc/svc_udp.c: Likewise.
15381 * sunrpc/svc_unix.c: Likewise.
15382 * sunrpc/svcauth_des.c: Likewise.
15383 * sunrpc/xcrypt.c: Likewise.
15384 * sunrpc/xdr.c: Likewise.
15385 * sunrpc/xdr_array.c: Likewise.
15386 * sunrpc/xdr_float.c: Likewise.
15387 * sunrpc/xdr_mem.c: Likewise.
15388 * sunrpc/xdr_rec.c: Likewise.
15389 * sunrpc/xdr_ref.c: Likewise.
15390 * sunrpc/xdr_sizeof.c: Likewise.
15391 * sunrpc/xdr_stdio.c: Likewise.
15392
9da4bb31
UD
15393 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15394 handling.
15395
bdaa77bc
AS
153962010-08-19 Andreas Schwab <schwab@redhat.com>
15397
15398 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15399
fe2f79db
LM
154002010-08-19 Luis Machado <luisgpm@br.ibm.com>
15401
15402 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15403 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15404 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15405 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15406 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15407 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15408 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15409 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15410 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15411 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15412 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15413 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15414 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15415 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15416
b9b42ee0
AB
154172010-07-26 Anton Blanchard <anton@samba.org>
15418
15419 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15420 * malloc/arena.c (heap_trim): Likewise.
15421
1c06ba31
UD
154222010-08-16 Ulrich Drepper <drepper@redhat.com>
15423
15424 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15425 here. Not...
15426 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15427 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15428
f8392f40
L
154292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15430
15431 * sysdeps/i386/elf/Makefile: New file.
15432
3162f12e
AS
154332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15434
15435 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15436 from fanotify_init.
15437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15438 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15439
28c90b2c
UD
154402010-08-15 Ulrich Drepper <drepper@redhat.com>
15441
15442 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15443 of strncasecmp_l.
1feccb6c 15444 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15445
ca6bb004
UD
154462010-08-14 Ulrich Drepper <drepper@redhat.com>
15447
e9f82e0d
UD
15448 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15449 strncase_l-nonascii.
15450 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15451 Add strncase_l-ssse3.
15452 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15453 * sysdeps/x86_64/strcmp.S: Likewise.
15454 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15455 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15456 * sysdeps/x86_64/strncase.S: New file.
15457 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15458 * sysdeps/x86_64/strncase_l.S: New file.
15459 * string/Makefile (strop-tests): Add strncasecmp.
15460 * string/test-strncasecmp.c: New file.
15461
15462 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15463 warning.
15464
ca6bb004
UD
15465 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15466 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15467
052fa7b3
AS
154682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15469
15470 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15471
962dba78
UD
154722010-08-12 Ulrich Drepper <drepper@redhat.com>
15473
15474 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15475 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15476 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15477
bebff237
AM
154782010-05-01 Alan Modra <amodra@gmail.com>
15479
15480 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15481 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15482 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15483 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15484 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15485 tidying. Don't tail-call __sigjmp_save for static lib.
15486 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15487 save location.
15488 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15489 (CALL_MCOUNT): Add eh info, and nop after bl.
15490 (TAIL_CALL_SYSCALL_ERROR): New macro.
15491 (PSEUDO_RET): Use it.
15492 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15493 Correct save location of integer regs and cr.
15494 (_dl_profile_resolve): Correct cr save location. Delete nops
15495 after bl when SHARED. Reduce cfi size a little by better
15496 placement of cfi directives.
15497 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15498 make a stack frame. Instead use parm save area as a temp.
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15500 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15502 Don't make a stack frame for parent, use parm save area.
15503 Increase child stack frame to 112 bytes. Don't save unused reg,
15504 and adjust reg usage. Set up cfi on error recovery and
15505 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15507 (__makecontext): Add dummy nop after jump to exit.
15508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15509 Use correct parm save area and cr save, reduce stack frame.
15510 Correct cfi for possible PSEUDO_RET frame setup.
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15512 Branch to local label emitted by PSEUDO_RET rather than
15513 __syscall_error.
15514
02637374
AS
155152010-08-12 Andreas Schwab <schwab@redhat.com>
15516
15517 [BZ #11904]
15518 * locale/programs/locale.c (print_assignment): New function.
15519 (show_locale_vars): Use it.
15520
c3e2f19b
UD
155212010-08-11 Ulrich Drepper <drepper@redhat.com>
15522
3cdaa6ad
UD
15523 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15524 field.
15525 (struct statfs64): Likewise.
15526 (_STATFS_F_FLAGS): Define.
15527 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15528 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15529 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15530 (ST_VALID): Define locally.
15531 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15532 __statvfs_getflags, use the provided value.
15533 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15534 __ASSUME_STATFS_F_FLAGS.
15535
754f7da3
UD
15536 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15537
10b3bedc
UD
15538 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15539 Add sys/fanotify.h.
15540 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15541 fanotify_mask for GLIBC_2.13.
15542 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15543 fanotify_init and fanotify_mark.
15544 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15545 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15546
c08fb0d7
UD
15547 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15548 Add prlimit.
15549 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15550 prlimit64 for GLIBC_2.13.
15551 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15552 prlimit64.
15553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15554 syscall.
15555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15556 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15557 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15558 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15559 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15560 add prlimit alias.
15561 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15562
15bac72b
UD
15563 [BZ #11903]
15564 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15565 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15566
c3e2f19b
UD
15567 * nss/Makefile: Add rules to build and run tst-nss-test1.
15568 * shlib-versions: Add entry for libnss_test1.
15569 * nss/nss_test1.c: New file.
15570 * nss/tst-nss-test1.c: New file.
15571
15572 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15573 (__nss_configure_lookup): Set appropriate entry in
15574 __nss_configure_lookup to true.
15575 * nss/nsswitch.h: Define enum with indeces of databases in
15576 databases and __nss_database_custom arrays. Declare
15577 __nss_database_custom.
15578 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15579 to avoid using nscd when custom rules are installed.
15580 * nss/getXXbyYY_r.c: Likewise.
15581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15582
15583 * nss/nss_files/files-parse.c: Whitespace fixes.
15584
f15ce4d8
UD
155852010-08-09 Ulrich Drepper <drepper@redhat.com>
15586
15587 [BZ #11883]
15588 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15589 * posix/fnmatch_loop.c: Likewise.
15590
d22e4cc9
AK
155912010-07-17 Andi Kleen <ak@linux.intel.com>
15592
15593 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15594 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15595 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15596 * Versions.def [GLIBC_2.13]: Add.
15597
805bc17d
UD
155982010-08-06 Ulrich Drepper <drepper@redhat.com>
15599
15600 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15601 Also fail if tpwd after pwuid call is NULL.
15602
5a42321d
ST
156032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15604
15605 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15606 when converting to ms.
15607
fd3ebeda
ST
156082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15609
15610 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15611 EOPNOTSUPP errors with ENOTTY.
15612 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15613 EOPNOTSUPP errors with ENOTTY.
15614
73507d3a
UD
156152010-07-31 Ulrich Drepper <drepper@redhat.com>
15616
15617 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15618 Add strcasecmp_l-ssse3.
15619 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15620 strcasecmp.
15621 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15622 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15623 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15624
fe36dd02
UD
156252010-07-30 Ulrich Drepper <drepper@redhat.com>
15626
66f6765a
UD
15627 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15628
42e08a54
UD
15629 * string/Makefile (strop-tests): Add strcasecmp.
15630 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15631 strcasecmp_l-nonascii.
15632 (gen-as-const-headers): Add locale-defines.sym.
15633 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15634 * sysdeps/x86_64/strcasecmp.S: New file.
15635 * sysdeps/x86_64/strcasecmp_l.S: New file.
15636 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15637 * sysdeps/x86_64/locale-defines.sym: New file.
15638 * string/test-strcasecmp.c: New file.
15639
fe36dd02
UD
15640 * string/test-strcasestr.c: Test both ends of the range of characters.
15641 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15642
48cbc0d6
RM
156432010-07-29 Roland McGrath <roland@redhat.com>
15644
76e6d6bc 15645 [BZ #11856]
48cbc0d6
RM
15646 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15647
880113d9
UD
156482010-07-27 Ulrich Drepper <drepper@redhat.com>
15649
15650 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15651 for ld.so.
15652
deb9cabb
AS
156532010-07-27 Andreas Schwab <schwab@redhat.com>
15654
15655 * manual/memory.texi (Malloc Tunable Parameters): Document
15656 M_PERTURB.
15657
1c7570ff
RM
156582010-07-26 Roland McGrath <roland@redhat.com>
15659
15660 [BZ #11840]
15661 * configure.in (-fgnu89-inline check): Set and substitute
15662 gnu89_inline, not libc_cv_gnu89_inline.
15663 * configure: Regenerated.
15664 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15665
24fb0f88
UD
156662010-07-26 Ulrich Drepper <drepper@redhat.com>
15667
15668 * string/test-strnlen.c: New file.
15669 * string/Makefile (strop-tests): Add strnlen.
15670 * string/tester.c (test_strnlen): Add a few more test cases.
15671 * string/tst-strlen.c: Better error reporting.
15672
15673 * sysdeps/x86_64/strnlen.S: New file.
15674
8e96b93a
UD
156752010-07-24 Ulrich Drepper <drepper@redhat.com>
15676
15677 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15678 lower-latency instructions.
15679
dbc676d4
UD
156802010-07-23 Ulrich Drepper <drepper@redhat.com>
15681
15682 * string/test-strcasestr.c: New file.
15683 * string/test-strstr.c: New file.
15684 * string/Makefile (strop-tests): Add strstr and strcasestr.
15685 * string/str-two-way.h: Don't undefine MAX.
15686 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15687
f6a31e0e
AS
156882010-07-21 Andreas Schwab <schwab@redhat.com>
15689
15690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15691 strcasestr-nonascii.
15692 (CFLAGS-strcasestr-nonascii.c): Define.
15693 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15694 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15695 Remove unused attribute.
15696
5dbc3b6c
RM
156972010-07-20 Roland McGrath <roland@redhat.com>
15698
15699 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15700 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15701 ld.so.cache was broken. With it, there is no way to disable dsocaps
15702 like LD_HWCAP_MASK can disable hwcaps.
15703
23d101d8
EPM
157042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15705
15706 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15707
cc9f2e47
UD
157082010-07-16 Ulrich Drepper <drepper@redhat.com>
15709
15710 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15711 call in strcasestr.
15712 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15713 __strcasestr_sse42_nonascii.
15714 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15715 strcasestr-nonascii.c.
15716 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15717
77c1b069
LM
157182010-06-15 Luis Machado <luisgpm@br.ibm.com>
15719
15720 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15721 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15722 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15723 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15724
440566c3
UD
157252010-07-09 Ulrich Drepper <drepper@redhat.com>
15726
15727 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15728 fcntl.
15729
5be9d05d
AS
157302010-07-06 Andreas Schwab <schwab@redhat.com>
15731
c30b7ee2 15732 [BZ #11577]
5be9d05d
AS
15733 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15734 dl_signal_cerror.
15735
8a492a67
UD
157362010-07-06 Ulrich Drepper <drepper@redhat.com>
15737
15738 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15739 _PC_PIPE_BUF using F_GETPIPE_SZ.
15740
713df3d5
RM
157412010-07-05 Roland McGrath <roland@redhat.com>
15742
15743 * manual/arith.texi (Rounding Functions): Fix rint description
15744 implicit in round description.
15745
702e8f14
UD
157462010-07-02 Ulrich Drepper <drepper@redhat.com>
15747
15748 * elf/Makefile: Fix linking for a few tests to make recent linker
15749 happy.
15750
52ed8be9
AS
157512010-06-30 Andreas Schwab <schwab@redhat.com>
15752
15753 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15754 $(common-objpfx)libc_nonshared.a.
15755
f47c9a11
LM
157562010-06-21 Luis Machado <luisgpm@br.ibm.com>
15757
15758 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15759 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15760 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15761 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15762 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15763 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15764 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15765 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15780 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15781 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15782 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15783 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15784 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15785 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15786 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15787 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15788 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15789 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15790 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15791 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15806
6fb8cbcb
L
158072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15808
15809 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15810 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15811 * string/memmove.c (memmove): Renamed to ...
15812 (MEMMOVE): ...this. Default to memmove.
15813 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15814 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15815 (END_CHK): Define.
15816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15817 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15818 mempcpy-ssse3-back memmove-ssse3-back.
15819 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15820 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15821 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15822 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15823 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15824 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15825 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15826 * sysdeps/x86_64/multiarch/memmove.c: New file.
15827 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15828 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15829 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15830 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15831 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15832 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15833 Define.
15834 (index_Fast_Copy_Backward): Define.
15835 (HAS_ARCH_FEATURE): Define.
15836 (HAS_FAST_REP_STRING): Define.
15837 (HAS_FAST_COPY_BACKWARD): Define.
15838
4e733bac 158392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15840
15841 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15842 Restore proper fallback handling.
15843
63c4ed22
UD
158442010-06-19 Ulrich Drepper <drepper@redhat.com>
15845
ac2b484c
UD
15846 [BZ #11701]
15847 * posix/group_member.c (__group_member): Correct checking loop.
15848
63c4ed22
UD
15849 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15850 OOM in getpwuid_r correctly. Return error number when the caller
15851 should return, otherwise -1.
15852 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15853 call returning > 0 value.
15854 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15855
765ade4b
AS
158562010-06-07 Andreas Schwab <schwab@redhat.com>
15857
15858 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15859 libc_nonshared.a from targets in modules-names.
15860
80da2e09
KS
158612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15862
15863 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15864 requires it.
15865
158db122
LM
158662010-06-10 Luis Machado <luisgpm@br.ibm.com>
15867
15868 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15869 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15870 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15871 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15872
caa78cf8
AS
158732010-06-02 Andreas Schwab <schwab@redhat.com>
15874
15875 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15876
b2ef2c01
UD
158772010-06-14 Ulrich Drepper <drepper@redhat.com>
15878
15879 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15880 and F_GETPIPE_SZ.
15881 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15885 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15886 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15887
fbd643b6
RM
158882010-06-14 Roland McGrath <roland@redhat.com>
15889
15890 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15891
f32f2869
JJ
158922010-06-07 Jakub Jelinek <jakub@redhat.com>
15893
15894 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15895 __REDIRECT followed by __THROW.
15896 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15897 * posix/getopt.h (getopt): Likewise.
15898
2a50c078
EPM
158992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15900
15901 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15902 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15903 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15904 in AT_FLAGS.
15905 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15906 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15907
eb5ad2eb
LM
159082010-05-28 Luis Machado <luisgpm@br.ibm.com>
15909
15910 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15911
3c88fe1e
L
159122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15913
15914 [BZ #11640]
15915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15916 Properly check family and model.
15917
d2f73151
TY
159182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15919
15920 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15921
ebd2e13d
LM
159222010-05-24 Luis Machado <luisgpm@br.ibm.com>
15923
15924 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15925
b32b8b45
UD
159262010-05-21 Ulrich Drepper <drepper@redhat.com>
15927
15928 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15929 symbol reference.
15930
9acbe24d
AS
159312010-05-19 Andreas Schwab <schwab@redhat.com>
15932
15933 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15934 symbol reference.
15935
f0ccf6ea
AS
159362010-05-21 Andreas Schwab <schwab@redhat.com>
15937
3d04ff3a
AS
15938 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15939 and internal_recvmmsg.
15940 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15941 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15942 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15943 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15944
f0ccf6ea
AS
15945 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15946 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15947 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15948
5b08ac57
AS
159492010-05-20 Andreas Schwab <schwab@redhat.com>
15950
15951 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15952
4828935d
LM
159532010-05-17 Luis Machado <luisgpm@br.ibm.com>
15954
15955 POWER7 optimizations.
15956 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15957 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15958
373d545e
UD
159592010-05-19 Ulrich Drepper <drepper@redhat.com>
15960
15961 * version.h: Update for 2.13 development version.
15962
21a2b1ae
AS
159632010-05-12 Andrew Stubbs <ams@codesourcery.com>
15964
15965 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15966 exceptions. Return 0.
15967
3f7dcb2b
RM
159682010-05-07 Roland McGrath <roland@redhat.com>
15969
15970 * elf/ldconfig.c (main): Add a const.
15971
5f24d53a 159722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15973
a160f8d8
UD
15974 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15975 (args_options): Add no-idn option.
15976 (ahosts_keys_int): Add idn_flags to ai_flags.
15977 (parse_option): Handle 'i' option to clear idn_flags.
15978
5f24d53a
UD
15979 * malloc/malloc.c (_int_free): Possible race in the most recently
15980 added check. Only act on the data if no current modification
15981 happened.
265bb1ce
UD
15982
15983See ChangeLog.17 for earlier changes.