]> sourceware.org Git - glibc.git/blame - ChangeLog
Add long-double sparc ULPs updates missing in previous commit.
[glibc.git] / ChangeLog
CommitLineData
b83bbec4
DM
12013-02-04 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4
6277fdab
JM
52013-02-04 Joseph Myers <joseph@codesourcery.com>
6
7 [BZ #13550]
8 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9 (__ubp_memchr): Remove prototype.
10 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15 Remove alias.
16 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17 (__ubp_memchr): Likewise.
18 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19 (__ubp_memchr): Likewise.
20 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24 CHECK_STRING.
25 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27 (__getcwd): Do not use CHECK_STRING.
28 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29 <bp-checks.h>.
30 (__real_chown): Do not use CHECK_STRING.
31 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32 <bp-checks.h>.
33 (fchownat): Do not use CHECK_STRING.
34 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35 CHECK_STRING.
36 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37 <bp-checks.h>.
38 (__lchown): Do not use CHECK_STRING.
39 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
42 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
43 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44 include <bp-checks.h>.
45 (truncate64): Do not use CHECK_STRING.
46 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47 <bp-checks.h>.
48 (__real_chown): Do not use CHECK_STRING.
49 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50 <bp-checks.h>.
51 (__lchown): Do not use CHECK_STRING.
52 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53 <bp-checks.h>.
54 (__chown): Do not use CHECK_STRING.
55 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56 <bp-checks.h>.
57 (truncate64): Do not use CHECK_STRING.
58 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
59 Likewise.
60 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61 (__xmknod): Do not use CHECK_STRING.
62 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
63 <bp-checks.h>.
64 (__xmknodat): Do not use CHECK_STRING.
65 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
67
903ae060
AS
682013-02-04 Andreas Schwab <schwab@suse.de>
69
70 [BZ #14142]
71 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
72 * include/netdb.h: Likewise for h_errno.
73 * elf/tst-stackguard1.c: Include <tls.h>.
74
542f9466
JK
752013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
76
77 * elf/link.h (struct link_map): Extend the l_addr comment.
78 * include/link.h (struct link_map): Likewise.
79
e782a927
JM
802013-02-01 Joseph Myers <joseph@codesourcery.com>
81
82 [BZ #13550]
83 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
84 (BOUNDED_1): Remove macro.
85 * debug/backtrace.c: Don't include <bp-checks.h>.
86 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
87 (__backtrace): Likewise.
88 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
89 <bp-checks.h>.
90 (__backtrace): Don't use BOUNDED_1.
91 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
92 <bp-checks.h>.
93 (__backtrace): Don't use BOUNDED_1.
94 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
95 (__backtrace): Don't use BOUNDED_1.
96 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
97 (shmat): Don't use BOUNDED_N.
98
8cf28c5e
JM
992013-01-31 Joseph Myers <joseph@codesourcery.com>
100
3a7ac8a0
JM
101 [BZ #13550]
102 * sysdeps/generic/bp-start.h: Remove file.
103 * csu/libc-start.c: Don't include <bp-start.h>.
104 (LIBC_START_MAIN): Set up __environ directly instead of using
105 INIT_ARGV_and_ENVIRON.
106 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
107 <bp-start.h>.
108
f3499f95
JM
109 [BZ #13550]
110 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
111 definitions.
112 (CHECK_FCNTL): Likewise.
113 (CHECK_N_PAGES): Likewise.
114
32a45bea
JM
115 [BZ #13550]
116 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
117 definitions.
118 (CHECK_SIGSET_NULL_OK): Likewise.
119 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
120 <bp-checks.h>.
121 (sigpending): Don't use CHECK_SIGSET.
122 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
123 <bp-checks.h>.
124 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
125 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
126 <bp-checks.h>.
127 (do_sigsuspend): Don't use CHECK_SIGSET.
128 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
129 use CHECK_SIGSET.
130 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
131 (do_sigwait): Don't use CHECK_SIGSET.
132 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
133 use CHECK_SIGSET.
134 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
135 include <bp-checks.h>.
136 (sigpending): Don't use CHECK_SIGSET.
137 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
138 include <bp-checks.h>.
139 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
140 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
141 <bp-checks.h>.
142 (sigpending): Don't use CHECK_SIGSET.
143 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
144 <bp-checks.h>.
145 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
146
2e8a5c8c
JM
147 [BZ #13550]
148 * sysdeps/generic/bp-semctl.h: Remove file.
149 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
150 <bp-checks.h> and <bp-semctl.h>.
151 (__old_semctl): Don't use CHECK_SEMCTL.
152 (__new_semctl): Likewise.
153 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
154 and <bp-semctl.h>.
155 (__old_semctl): Don't use CHECK_SEMCTL.
156 (__new_semctl): Likewise.
157 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
158 <bp-checks.h> and <bp-semctl.h>.
159 (__old_semctl): Don't use CHECK_SEMCTL.
160 (__new_semctl): Likewise.
161 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
162 <bp-checks.h> and <bp-semctl.h>.
163 (semctl): Don't use CHECK_SEMCTL.
164
c2d54929
JM
165 [BZ #13550]
166 * Makerules (elide-bp-thunks): Remove variable.
167 (elide-routines.oS): Don't use $(elide-bp-thunks).
168 (elide-routines.os): Likewise.
169 (elide-routines.o): Likewise.
170 (elide-routines.op): Likewise.
171 (elide-routines.og): Likewise.
172 (objects): Don't use $(bp-thunks).
173 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
174 include.
175 (common-generated): Do not add s-proto-bp.d.
176 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
177 (int): Likewise.
178 (typ): Likewise.
179 Do not generate makefile rules for bounded-pointer thunks.
180 * sysdeps/generic/bp-thunks.h: Remove file.
181 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
182 * sysdeps/unix/s-proto-bp.S: Likewise.
183
8cf28c5e
JM
184 [BZ #15062]
185 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
186 parts of result separately when argument is not close to line from
187 -i to i and one part of argument is small.
188 * math/k_casinhf.c (__kernel_casinhf): Likewise.
189 * math/k_casinhl.c (__kernel_casinhl): Likewise.
190 * math/libm-test.inc (cacos_test): Add more tests.
191 (casin_test): Likewise.
192 (casinh_test): Likewise.
193 * sysdeps/i386/fpu/libm-test-ulps: Update.
194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
195
c4e33b8d
DM
1962013-01-31 David S. Miller <davem@davemloft.net>
197
198 * po/de.po: Update from translation team.
199
3b60b421
MK
2002013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
201
202 * time/tzfile.c: Include stdint.h for SIZE_MAX.
203
bb931195
TS
2042013-01-25 Thomas Schwinge <thomas@codesourcery.com>
205
b5a5da23
TS
206 * configure.in (_AC_PROG_CC_C89): New definition.
207 * configure: Regenerate.
208
bb931195
TS
209 * configure.in (AC_PROG_CPP): New definition.
210 * configure: Regenerate.
211
8c53a12c
JM
2122013-01-23 Joseph Myers <joseph@codesourcery.com>
213
214 * debug/tst-backtrace.h: New file.
215 * debug/tst-backtrace2.c: Include tst-backtrace.h.
216 (ret): Remove variable.
217 (x): Likewise.
218 (FAIL): Remove macro.
219 (NO_INLINE): Likewise.
220 (fn1): Use match function instead of strstr.
221 * debug/tst-backtrace3.c: Include tst-backtrace.h.
222 (ret): Remove variable.
223 (x): Likewise.
224 (FAIL): Remove macro.
225 (NO_INLINE): Likewise.
226 (fn): Use match function instead of strstr.
227 * debug/tst-backtrace4.c: Include tst-backtrace.h.
228 (ret): Remove variable.
229 (x): Likewise.
230 (FAIL): Remove macro.
231 (NO_INLINE): Likewise.
232 (handle_signal): Use match function instead of strstr.
233 * debug/tst-backtrace5.c: Include tst-backtrace.h.
234 (ret): Remove variable.
235 (x): Likewise.
236 (FAIL): Remove macro.
237 (NO_INLINE): Likewise.
238 (handle_signal): Use match function instead of strstr.
239
4858fa2a
RM
2402013-01-23 Roland McGrath <roland@hack.frob.com>
241
242 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
243
bae8e7f5
DM
2442013-01-23 David S. Miller <davem@davemloft.net>
245
246 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
247 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
248 argument of CAS if possible.
249 * sysdeps/sparc/sparc64/bits/atomic.h
250 (__arch_compare_and_exchange_val_32_acq): Likewise.
251 (__arch_compare_and_exchange_val_64_acq): Likewise.
252
9cbbc4ae
PT
2532013-01-23 Pino Toscano <toscano.pino@tiscali.it>
254
255 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
256 * sysdeps/posix/ulimit.c: ... this.
92a601b8 257 Include <limits.h>.
67b3f58c 258 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 259
5655a0b5
AC
2602013-01-23 Adam Conrad <adconrad@0c3.net>
261
262 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
263 (LDFLAGS-tst-array5): Likewise.
264
052aff95
JM
2652013-01-23 Joseph Myers <joseph@codesourcery.com>
266
267 [BZ #15036]
268 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
269 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
270 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
271 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
272
7c1e01aa
DM
2732013-01-21 David S. Miller <davem@davemloft.net>
274
275 * sysdeps/sparc/backtrace.c: New file.
276 * sysdeps/sparc/sparc32/backtrace.h: New file.
277 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
278 * sysdeps/sparc/sparc64/backtrace.h: New file.
279 * sysdeps/sparc/sparc64/backtrace.c: Delete.
280 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
281 -funwind-tables.
282
ab087e0a
AS
2832013-01-21 Andreas Schwab <schwab@suse.de>
284
285 [BZ #15020]
286 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
287 closed its stdout.
288
ed689c2f
AS
2892013-01-20 Andreas Schwab <schwab@linux-m68k.org>
290
291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
292 "mpa2.h".
293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
294
31d470ac
JM
2952013-01-18 Joseph Myers <joseph@codesourcery.com>
296 Mark Mitchell <mark@codesourcery.com>
297 Tom de Vries <tom@codesourcery.com>
298 Paul Pluzhnikov <ppluzhnikov@google.com>
299
300 * debug/tst-backtrace2.c: New file.
301 * debug/tst-backtrace3.c: Likewise.
302 * debug/tst-backtrace4.c: Likewise.
303 * debug/tst-backtrace5.c: Likewise.
304 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
305 (CFLAGS-tst-backtrace3.c): Likewise.
306 (CFLAGS-tst-backtrace4.c): Likewise.
307 (CFLAGS-tst-backtrace5.c): Likewise.
308 (LDFLAGS-tst-backtrace2): Likewise.
309 (LDFLAGS-tst-backtrace3): Likewise.
310 (LDFLAGS-tst-backtrace4): Likewise.
311 (LDFLAGS-tst-backtrace5): Likewise.
312 (tests): Add new tests tst-backtrace2, tst-backtrace3,
313 tst-backtrace4 and tst-backtrace5.
314
90567f30 3152013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
316 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
317
318 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
319 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
320 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
321 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
323 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
324 "+r" and remove output regs list as redundant. Add explicit inline
325 asm to specify register of return val to work around compiler codegen
326 bug. Remove (int) cast on return value. Add return type parameter to
327 use in macro so that this macro does not truncate return value for
328 64-bit values.
329 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
330 pass to INTERNAL_VSYSCALL_NCS.
331 (INLINE_VSYSCALL): Add 'long int' as return type to
332 INTERNAL_VSYSCALL_NCS macro invocation.
333 (INTERNAL_VSYSCALL): Add 'long int' as return type to
334 INTERNAL_VSYSCALL_NCS macro invocation.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
336
d3b9ea61
SP
3372013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
338
0b57daeb
SP
339 [BZ #14496]
340 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
341 Fix application of SIMD FP exception mask.
342
caa99d06
SP
343 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
344 mp_no from a power of two.
345 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
346 __mpexp_twomm1. Use __pow_mp.
347
d3b9ea61
SP
348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
349 multiplication.
350
1dbaee3c
DM
3512013-01-17 David S. Miller <davem@davemloft.net>
352
353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
354
728d7b43
JM
3552013-01-17 Joseph Myers <joseph@codesourcery.com>
356
357 [BZ #15023]
358 * include/complex.h: Condition contents on [!_COMPLEX_H].
359 (__kernel_casinhf): New prototype.
360 (__kernel_casinh): Likewise.
361 (__kernel_casinhl): Likewise.
362 * math/Makefile (libm_calls): Add k_casinh.
363 * math/k_casinh.c: New file.
364 * math/k_casinhf.c: Likewise.
365 * math/k_casinhl.c: Likewise.
366 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
367 finite nonzero arguments.
368 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
369 finite nonzero arguments.
370 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
371 finite nonzero arguments.
372 * math/s_casinh.c: Do not include <float.h>.
373 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
374 * math/s_casinhf.c: Do not include <float.h>.
375 (__casinhf): Move code for finite nonzero arguments to
376 k_casinhf.c.
377 * math/s_casinhl.c: Do not include <float.h>.
378 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
379 redefine.
380 (__casinhl): Move code for finite nonzero arguments to
381 k_casinhl.c.
382 * math/libm-test.inc (cacos_test): Add more tests.
383 * sysdeps/i386/fpu/libm-test-ulps: Update.
384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
385
2a26ef3a
PT
3862013-01-17 Pino Toscano <toscano.pino@tiscali.it>
387
388 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
389 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
390 [!HAVE_MREMAP]: Remove [defined linux] case.
391 * malloc/arena.c: Do not include <malloc-sysdep.h>.
392
a897655d
SP
3932013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
394
395 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
396
881ebe89 3972013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
398
399 * elf/elf.h (R_386_SIZE32): New relocation.
400 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
401 R_386_SIZE32.
402 (elf_machine_rela): Likewise.
403 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
404 R_X86_64_SIZE64 and R_X86_64_SIZE32.
405
59981e9b
JM
4062013-01-17 Joseph Myers <joseph@codesourcery.com>
407
408 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
409 (FP_FAST_FMA): Do not define.
410 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
411 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
412 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
413 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
414 !_SOFT_FLOAT]: Likewise.
415 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
416 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
417 value.
418 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
419 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
420 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
421 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
422 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
423 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
424 file.
425
cfa8054f
AS
4262013-01-16 Andreas Schwab <schwab@suse.de>
427
428 [BZ #14327]
429 * include/stdlib.h (__mktemp): Add declaration.
430 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
431 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
432
dd930cc5
SP
4332013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
434
881ebe89
SP
435 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
436 definitions.
437 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
438 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
439 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
440 definitions here.
441 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
442 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
443 definitions.
444 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
445 and ONE.
446 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
447 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
448 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
449 definitions.
450 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
451 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
452 definitions.
453 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 454
dd930cc5
SP
455 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
456
c19a9f89
DM
4572013-01-15 David S. Miller <davem@davemloft.net>
458
1aa61767
DM
459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
460 trunc{,f} to libm-sysdep_routes.
461 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
463 file.
464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
466 file.
467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
468 file.
469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
471 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
472 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
473 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
474 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
475 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
476 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
477
c42d5e98
DM
478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
479 nearbyint{,f} to libm-sysdep_routes.
480 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
482 New file.
483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
484 file.
485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
486 New file.
487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
488 file.
489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
491 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
492 file.
493 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
494 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
495 file.
496 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
497 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
498 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
499
c19a9f89
DM
500 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
501 libc_feholdexcept and libc_fesetenv.
502
357679d2
MF
5032013-01-15 Mike Frysinger <vapier@gentoo.org>
504
505 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
506
65a82e3d
DM
5072013-01-14 David S. Miller <davem@davemloft.net>
508
8b954ab9
DM
509 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
510 (SPARC_ASM_VIS2_IFUNC): Likewise.
511 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
513 use of 'siam' instruction.
514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
515 Likewise.
516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
517 Likewise.
518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
519 Likewise.
520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
525 file.
526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
527 file.
528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
529 file.
530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
531 file.
532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
537 new VIS2 routines.
538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
541 Likewise.
542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
547 routines to libm-sysdep_routines.
548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
549
65a82e3d
DM
550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
551 fdim/fdimf to libm-sysdep_routines.
552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
553 file.
554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
556 file.
557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
560 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
561 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
562 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
563 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
564
e34ab705
SP
5652013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
566
2a91b573
SP
567 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
568 to optimize copies.
569
1066a534
SP
570 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
573
e34ab705
SP
574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
575 local variable MPTWO.
576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
577 Likewise.
578
aba5e596
MF
5792013-01-13 Mike Frysinger <vapier@gentoo.org>
580
581 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
582 GLOB_NOESCAPE.
583
e557e9e5
MF
5842013-01-13 Mike Frysinger <vapier@gentoo.org>
585
586 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
587
0428cec9
MF
5882013-01-13 Mike Frysinger <vapier@gentoo.org>
589
590 * manual/pattern.texi (glob_t): Document gl_flags.
591 (glob64_t): Likewise.
592
8794a964
DM
5932013-01-11 David S. Miller <davem@davemloft.net>
594
66438c3f
RM
595 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
596 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
597 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
598 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
599 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
600 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
601 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
602 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
603 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
604 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
605 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
606 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
607 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
608
4ae4244d
DM
609 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
610 sparc V9 rather than using V8 code.
611 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
612 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
613
8794a964
DM
614 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
615 Move to...
616 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
617 Here.
618
6270516e
RM
6192013-01-11 Roland McGrath <roland@hack.frob.com>
620
621 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
622 not in the main loop.
623 * configure: Regenerated.
624
6a57d931
JM
6252013-01-11 Joseph Myers <joseph@codesourcery.com>
626
627 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
628 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
629 to just #else.
630 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
631 [!__GLIBC_HAVE_LONG_LONG] case.
632 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
633 condition to just #else.
634 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
635 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
636 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
637 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
638 unconditional.
639 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
640 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
641 #elif condition to just #else.
642 * sysdeps/unix/sysv/linux/sys/sysmacros.h
643 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
644 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
645 #elif condition to just #else.
646
0e8529e9
SE
6472013-01-11 Steve Ellcey <sellcey@mips.com>
648
649 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
650 (EF_MIPS_ARCH_64): Fix value.
651 (EF_MIPS_ARCH_32R2): New.
652 (EF_MIPS_ARCH_64R2): New.
653
740b3dbe
L
6542013-01-11 H.J. Lu <hongjiu.lu@intel.com>
655
656 * Makeconfig (+link-pie-before-libc): New.
657 (+link-pie-after-libc): Likewise.
658 (+link-pie-tests): Likewise.
659 (+link-pie): Rewritten.
660 (link-before-libc): Remove $(config-LDFLAGS).
661 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
662 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
663 (config-LDFLAGS): Renamed to ...
664 (rtld-LDFLAGS): This.
665 (rtld-tests-LDFLAGS): New macro.
666 (link-libc-rpath-link): Likewise.
667 (link-libc-tests-rpath-link): Likewise.
668 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
669 (link-libc): Prepand $(link-libc-rpath-link).
670 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
671 (test-program-prefix): New macro.
672 (test-via-rtld-prefix): Likewise.
673 (test-program-cmd): Likewise.
674 (host-test-program-cmd): Likewise.
675 * Makefile ($(common-objpfx)testrun.sh): Replace
676 $(run-program-prefix) with $(test-program-prefix).
677 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
678 $(rtld-LDFLAGS).
679 ($(common-objpfx)shlib.lds): Likewise.
680 (build-module-helper): Likewise.
681 ($(common-objpfx)format.lds): Likewise.
682 * Rules (binaries-pie-tests): New.
683 (binaries-pie-notests): Likewise.
684 (binaries-pie): Rewritten.
685 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
686 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
687 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
688 (make-test-out): Replace $(host-built-program-cmd) with
689 $(host-test-program-cmd).
690 * config.make.in (build-hardcoded-path-in-tests): New variable.
691 * configure.in (--enable-hardcoded-path-in-tests): New configure
692 option.
693 (hardcoded_path_in_tests): New AC_SUBST.
694 * configure: Regenerated.
695 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
696 $(built-program-cmd) with $(test-program-cmd).
697 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
698 (test_program_cmd): This.
699 * elf/Makefile ($(objpfx)order.out): Run test with
700 $(test-program-prefix).
701 ($(objpfx)order2.out): Likewise.
702 ($(objpfx)tst-initorder.out): Likewise.
703 ($(objpfx)tst-initorder2.out): Likewise.
704 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
705 $(test-program-cmd).
706 ($(objpfx)tst-array1-static.out): Likewise.
707 ($(objpfx)tst-array2.out): Likewise.
708 ($(objpfx)tst-array3.out): Likewise.
709 ($(objpfx)tst-array4.out): Likewise.
710 ($(objpfx)tst-array5.out): Likewise.
711 ($(objpfx)tst-array5-static.out): Likewise.
712 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
713 $(test-program-cmd).
714 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
715 $(run-program-prefix) with $(test-program-prefix).
716 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
717 (test_program_prefix): This.
718 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
719 $(run-program-prefix) with $(test-program-prefix).
720 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
721 (test_program_prefix): This.
722 * iconvdata/tst-tables.sh: Likewise.
723 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
724 $(run-program-prefix) with $(test-program-prefix).
725 ($(objpfx)tst-translit.out): Likewise.
726 ($(objpfx)tst-gettext2.out): Likewise.
727 ($(objpfx)tst-gettext4.out): Likewise.
728 ($(objpfx)tst-gettext6.out): Likewise.
729 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
730 (test_program_prefix): This.
731 * intl/tst-gettext2.sh: Likewise.
732 * intl/tst-gettext4.sh Likewise.
733 * intl/tst-gettext6.sh: Likewise.
734 * intl/tst-translit.sh: Likewise.
735 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
736 with $(test-program-cmd).
737 * libio/Makefile ($(objpfx)test-freopen.out): Replace
738 $(run-program-prefix) with $(test-program-prefix).
739 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
740 (test_program_prefix): This.
741 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
742 $(run-program-prefix) with $(test-program-prefix).
743 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
744 (test_program_prefix): This.
745 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
746 * posix/Makefile ($(objpfx)globtest.out): Replace
747 $(run-via-rtld-prefix) and $(test-wrapper) with
748 $(test-program-prefix) and $(test-via-rtld-prefix).
749 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
750 $(test-program-prefix).
751 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
752 $(host-test-program-cmd).
753 (tst-spawn-ARGS): Likewise.
754 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
755 $(test-program-prefix).
756 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
757 (test_via_rtld_prefix): This.
758 (test_wrapper): Renamed to ...
759 (test_program_prefix): This.
760 (run_program_prefix): Replaced by test_program_prefix.
761 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
762 (test_program_prefix): This.
763 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
764 with $(host-test-program-cmd).
765 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
766 $(run-program-prefix) with $(test-program-prefix).
767 ($(objpfx)tst-printf.out): Likewise.
768 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
769 $(test-program-cmd).
770 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
771 (test_program_prefix): This.
772 * stdio-common/tst-unbputc.sh: Likewise.
773 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
774 $(run-program-prefix) with $(test-program-prefix).
775 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
776 (test_program_prefix): This.
777 * string/Makefile ($(objpfx)tst-svc.out): Replace
778 $(built-program-cmd) with $(test-program-cmd).
779
c6fe55cf
AJ
7802013-01-11 Andreas Jaeger <aj@suse.de>
781
782 [BZ #15003]
783 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
784 value. Sync with Linux 3.7.
785
9e6919c8
DM
7862013-01-10 David S. Miller <davem@davemloft.net>
787
788 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
789 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
790 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
791
1c9f1a02
RM
7922013-01-10 Roland McGrath <roland@hack.frob.com>
793
794 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
795 never set.
796 * configure: Regenerated.
797
b9de2dde
DM
7982013-01-10 David S. Miller <davem@davemloft.net>
799
800 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
801 sparc V9 rather than using V8 code.
802 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
803 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
804
e7f68ef4
RM
8052013-01-10 Roland McGrath <roland@hack.frob.com>
806
807 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
808 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
809 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
810 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
811 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
812 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
813 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
814 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
815 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
816 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
817 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
818 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
819 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
820 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
821 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
822 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
823 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
824 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
825 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
826 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
827 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
828 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
829 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
830 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
831 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
832 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
833 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
834
5a47cc9c
DM
8352013-01-10 David S. Miller <davem@davemloft.net>
836
837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
838
4cf8f209
L
8392013-01-10 H.J. Lu <hongjiu.lu@intel.com>
840
841 * posix/Makefile (tests-static): New variable.
842 (tests): Add $(tests-static).
843 (tst-exec-static-ARGS): New variable.
844 (tst-spawn-static-ARGS): Likewise.
845 * posix/tst-exec-static.c: New file.
846 * posix/tst-spawn-static.c: Likewise.
847 * posix/tst-exec.c: Support run directly.
848 * posix/tst-spawn.c: Likewise.
849
fed0faa1
JM
8502013-01-10 Joseph Myers <joseph@codesourcery.com>
851
828beb13
JM
852 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
853 long.
854 * math/bits/mathcalls.h (llrint): Likewise.
855 (llround): Likewise.
856 * stdlib/stdlib.h (struct drand48_data): Likewise.
857 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
858 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
859 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
860 Likewise.
861 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
862 Likewise.
863 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
864 (elf_greg_t): Likewise.
865 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
866 (__jmp_buf): Likewise.
867 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
868 definitions.
869 (llrint): Likewise, for all definitions.
870 (llrintl): Likewise.
871
fed0faa1
JM
872 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
873 Remove [__GNUC__] condition.
874 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
875 condition to just [__USE_ISOC99].
876 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
877
1a20cb20
L
8782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
879
880 [BZ #14200]
881 * sysdeps/unix/sysv/linux/x86/bits/environments.h
882 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
883 defined.
884 (_POSIX_V6_ILP32_OFF32): Likewise.
885 (_XBS5_ILP32_OFF32): Likewise.
886 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
887 (__ILP32_OFFBIG_LDFLAGS): Likewise.
888
751b85f7
SP
8892013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
890
7490eb81
SP
891 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
892
751b85f7
SP
893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
894 doubles __mpexp_twomm1. Adjust usage.
895 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
896 Remove.
897
988197f0
AS
8982013-01-10 Andreas Schwab <schwab@suse.de>
899
900 [BZ #14964]
901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
902 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
903
e83d7298
DM
9042013-01-09 David S. Miller <davem@davemloft.net>
905
034ed64b 906 [BZ #15003]
e83d7298
DM
907 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
908 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
909 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
910 TCP_FASTOPEN): Define.
911 (tcp_repair_opt): New structure.
912 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
913 enum values.
914 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
915 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
916 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
917 (tcp_cookie_transactions): New structure.
918
d5e0b9bd
AB
9192013-01-09 Anton Blanchard <anton@samba.org>
920
921 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
922 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
923 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
925
0c07e3ea
JM
9262013-01-09 Joseph Myers <joseph@codesourcery.com>
927
928 * include/features.h (__USE_ANSI): Remove.
929
232f7002
RM
9302013-01-09 Roland McGrath <roland@hack.frob.com>
931
ad98e30c
RM
932 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
933
232f7002
RM
934 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
935
950c99ca
SP
9362013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
937
b5792741
SP
938 * sysdeps/s390/fpu/libm-test-ulps: Update.
939
47cf2278
SP
940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
941
950c99ca
SP
942 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
943 (__acr): Likewise.
944 (__cpy): Likewise.
945 (norm): Likewise.
946 (denorm): Likewise.
947 (__mp_dbl): Likewise.
948 (__dbl_mp): Likewise.
949 (add_magnitudes): Likewise.
950 (sub_magnitudes): Likewise.
951 (__add): Likewise.
952 (__sub): Likewise.
953 (__mul): Likewise.
954 (__inv): Likewise.
955 (__dvd): Likewise.
956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
957 (__acr): Likewise.
958 (__cpy): Likewise.
959 (norm): Likewise.
960 (denorm): Likewise.
961 (__mp_dbl): Likewise.
962 (__dbl_mp): Likewise.
963 (add_magnitudes): Likewise.
964 (sub_magnitudes): Likewise.
965 (__add): Likewise.
966 (__sub): Likewise.
967 (__mul): Likewise.
968 (__inv): Likewise.
969 (__dvd): Likewise.
970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
971 (__acr): Likewise.
972 (__cpy): Likewise.
973 (norm): Likewise.
974 (denorm): Likewise.
975 (__mp_dbl): Likewise.
976 (__dbl_mp): Likewise.
977 (add_magnitudes): Likewise.
978 (sub_magnitudes): Likewise.
979 (__add): Likewise.
980 (__sub): Likewise.
981 (__mul): Likewise.
982 (__inv): Likewise.
983 (__dvd): Likewise.
984
eede9df9
JM
9852013-01-08 Joseph Myers <joseph@codesourcery.com>
986
987 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
988 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
989 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
990 2 && __USE_EXTERN_INLINES]: Likewise.
991
c40ea3d9
AJ
9922013-01-08 Andreas Jaeger <aj@suse.de>
993
994 [BZ# 14985]
995 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
996 Remove.
997 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
998 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
999
2ccdea26
AB
10002013-01-07 Anton Blanchard <anton@samba.org>
1001
1002 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1003 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1004 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1005 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1006 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1007 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1008 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1009 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1011 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1012 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1013 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1014 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1015 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1016 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1017 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1018 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1019 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1020 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1021 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1022 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1023 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1024 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1025 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1026 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1027 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1028 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1029 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1030 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1031 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1032 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1034 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1035 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1036 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1037 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1038 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1039 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1040 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1041 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1042 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1043 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1044 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1045
a9708fed
JM
10462013-01-07 Joseph Myers <joseph@codesourcery.com>
1047
375607b9
JM
1048 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1049 (__MALLOC_PMT): Likewise.
1050 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1051 [__GNUC__], only on [_LIBC].
1052 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1053 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1054 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1055 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1056 forward declaration.
1057 (realloc_hook_ini): Likewise.
1058 (memalign_hook_ini): Likewise.
1059 (__libc_memalign): Do not use __MALLOC_PMT in variable
1060 declaration.
1061 (__libc_valloc): Likewise.
1062 (__libc_pvalloc): Likewise.
1063 (__libc_calloc): Likewise.
1064 (__posix_memalign): Likewise.
1065
a9708fed
JM
1066 [BZ #14996]
1067 * math/s_casinh.c: Include <float.h>.
1068 (__casinh): Do not do computation with squaring and square root
1069 for large arguments.
1070 * math/s_casinhf.c: Include <float.h>.
1071 (__casinhf): Do not do computation with squaring and square root
1072 for large arguments.
1073 * math/s_casinhl.c: Include <float.h>.
1074 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1075 (__casinhl): Do not do computation with squaring and square root
1076 for large arguments.
1077 * math/libm-test.inc (casin_test): Add more tests.
1078 (casinh_test): Likewise.
1079 * sysdeps/i386/fpu/libm-test-ulps: Update.
1080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1081
afec409a
L
10822013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1085 (__x86_64_raw_data_cache_size): Likewise.
1086 (__x86_64_data_cache_size_half): Likewise.
1087 (__x86_64_raw_data_cache_size_half): Likewise.
1088 (__x86_64_shared_cache_size): Likewise.
1089 (__x86_64_raw_shared_cache_size): Likewise.
1090 (__x86_64_shared_cache_size_half): Likewise.
1091 (__x86_64_raw_shared_cache_size_half): Likewise.
1092 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1093 to ...
1094 (__x86_data_cache_size): This.
1095 (__x86_64_raw_data_cache_size): Renamed to ...
1096 (__x86_raw_data_cache_size): This.
1097 (__x86_64_data_cache_size_half): Renamed to ...
1098 (__x86_data_cache_size_half): This.
1099 (__x86_64_raw_data_cache_size_half): Renamed to ...
1100 (__x86_raw_data_cache_size_half): This.
1101 (__x86_64_shared_cache_size): Renamed to ...
1102 (__x86_shared_cache_size): This.
1103 (__x86_64_raw_shared_cache_size): Renamed to ...
1104 (__x86_raw_shared_cache_size): This.
1105 (__x86_64_shared_cache_size_half): Renamed to ...
1106 (__x86_shared_cache_size_half): This.
1107 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1108 (__x86_raw_shared_cache_size_half): This.
1109 * sysdeps/x86_64/memcpy.S: Updated.
1110 * sysdeps/x86_64/memset.S: Likewise.
1111 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1112 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1113 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1114
0b3986d0
DM
11152013-01-04 David S. Miller <davem@davemloft.net>
1116
1117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1118
e47686e9
AS
11192013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1120
d643bac1
AS
1121 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1122 1 to avoid redefinition warning.
1123 (__USE_GNU): Don't define.
1124 (init_signaling_nan): Protoize.
1125
e47686e9
AS
1126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1127
b18decba
SP
11282013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1129
fffb407f
SP
1130 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1132 (__cpymn): Likewise.
1133 (norm): Remove commented code.
1134 (denorm): Likewise.
1135 (__mp_dbl): Likewise.
1136 (__inv): Likewise.
1137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1138 (__cpymn): Likewise.
1139 (norm): Remove commented code.
1140 (denorm): Likewise.
1141 (__mp_dbl): Likewise.
1142 (__inv): Likewise.
1143
b18decba
SP
1144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1145 mp_no value for 1.0 and 2.0.
1146 (norm): Use RADIXI instead of radixi.d.
1147 (denorm): Likewise.
1148 (__mul): Use 0.0 instead of zero.d.
1149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1150 mp_no value for 1.0 and 2.0.
1151 (norm): Use RADIXI instead of radixi.d.
1152 (denorm): Likewise.
1153 (__mul): Use 0.0 instead of zero.d.
1154
cdc1c96f
JM
11552013-01-04 Joseph Myers <joseph@codesourcery.com>
1156
1157 [BZ #14994]
1158 * math/s_casinh.c (__casinh): Reduce finite argument to first
1159 quadrant then set signs of results at the end.
1160 * math/s_casinhf.c (__casinhf): Likewise.
1161 * math/s_casinhl.c (__casinhl): Likewise.
1162 * math/libm-test.inc (casin_test): Add more tests.
1163 (casinh_test): Likewise.
1164 * sysdeps/i386/fpu/libm-test-ulps: Update.
1165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1166
302913e1
SP
11672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1168
6420d207
SP
1169 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1170
a9e48ab4
SP
1171 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1172
b7837264
SP
1173 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1174 declarations.
1175 (denorm): Likewise.
1176 (__mp_dbl): Likewise.
1177 (__inv): Likewise.
1178
f8af25d2
SP
1179 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1180 and adjust the header comment.
1181
302913e1
SP
1182 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1183 variable name from declaration.
1184
5d7dd1ca
L
11852013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1186
1187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1188 Initialize COMMON_CPUID_INDEX_7 element.
1189 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1190 (CPUID_RTM): Likewise.
1191 (HAS_RTM): Likewise.
1192 (COMMON_CPUID_INDEX_7): New enum.
1193
2f5f40f4
AS
11942013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1195
1196 [BZ #14981]
1197 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1198 size is zero, record memory as freed.
1199
4056f4a0
AJ
12002013-01-03 Andreas Jaeger <aj@suse.de>
1201
1202 * po/ia.po: Add new Interlingua translation.
1203
ab15736f 12042012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1205
1206 * locale/programs/localedef.c: Fix description of '--posix' flag.
1207
568035b7
JM
12082013-01-02 Joseph Myers <joseph@codesourcery.com>
1209
e6898b8d
JM
1210 * NEWS: Update dates in second copyright notice.
1211 * README: Update copyright dates in example.
1212 * manual/libc.texinfo: Update copyright dates.
1213 * scripts/test-installation.pl: Update copyright date in --version
1214 output.
1215
0e2f9562
JM
1216 * hurd/ctty-input.c: Fix copyright notice formatting.
1217 * hurd/ctty-output.c: Likewise.
1218 * hurd/dtable.c: Likewise.
1219 * hurd/hurd-raise.c: Likewise.
1220 * hurd/hurdprio.c: Likewise.
1221 * hurd/msgportdemux.c: Likewise.
1222 * misc/sys/file.h: Likewise.
1223 * misc/sys/ioctl.h: Likewise.
1224 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1225 * sysdeps/mach/hurd/chdir.c: Likewise.
1226 * sysdeps/mach/hurd/fchdir.c: Likewise.
1227 * sysdeps/mach/hurd/rename.c: Likewise.
1228 * sysdeps/mach/hurd/rmdir.c: Likewise.
1229 * sysdeps/mach/hurd/seekdir.c: Likewise.
1230 * sysdeps/mach/hurd/setsid.c: Likewise.
1231 * sysdeps/posix/wait3.c: Likewise.
1232
568035b7
JM
1233 * All files with FSF copyright notices: Update copyright dates
1234 using scripts/update-copyrights.
1235 * intl/plural.c: Regenerated.
1236 * locale/programs/charmap-kw.h: Likewise.
1237 * locale/programs/locfile-kw.h: Likewise.
1238
da08f647
SP
12392013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1240
0f5477af
SP
1241 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1242 four values.
1243
44e0d4c2
SP
1244 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1245 calculation loop and add branch prediction.
1246
4d55b4e5
SP
1247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1248 check access beyond bounds of m1np.
1249
da08f647
SP
1250 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1251 MPTWO.
1252 (__inv): Remove local variable MPTWO to use the global
1253 constant.
1254 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1255 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1256 variable MPTWO.
1257 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1258 MP3HALFS static const.
1259
8e051029
DM
12602013-01-01 David S. Miller <davem@davemloft.net>
1261
1262 * po/ca.po: Update from translation team.
1263
f4cf5f2d
JM
12642013-01-01 Joseph Myers <joseph@codesourcery.com>
1265
1266 * scripts/update-copyrights: New file.
1267 * Makeconfig: Reformat copyright notice.
1268 * ctype/ctype.h: Likewise.
1269 * debug/swprintf_chk.c: Likewise.
1270 * elf/dl-cache.c: Likewise.
1271 * elf/dl-debug.c: Likewise.
1272 * elf/dl-object.c: Likewise.
1273 * grp/initgroups.c: Likewise.
1274 * hurd/Makefile: Likewise.
1275 * hurd/hurd/signal.h: Likewise.
1276 * hurd/hurdfault.c: Likewise.
1277 * hurd/hurdioctl.c: Likewise.
1278 * hurd/hurdlookup.c: Likewise.
1279 * hurd/intr-msg.c: Likewise.
1280 * iconv/gconv_open.c: Likewise.
1281 * libio/swprintf.c: Likewise.
1282 * locale/lc-ctype.c: Likewise.
1283 * locale/nl_langinfo.c: Likewise.
1284 * mach/Machrules: Likewise.
1285 * mach/Makefile: Likewise.
1286 * malloc/obstack.h: Likewise.
1287 * manual/Makefile: Likewise.
1288 * manual/tsort.awk: Likewise.
1289 * misc/bits/stab.def: Likewise.
1290 * nis/nis_print_group_entry.c: Likewise.
1291 * nis/nis_table.c: Likewise.
1292 * nis/nss_compat/compat-pwd.c: Likewise.
1293 * nis/nss_compat/compat-spwd.c: Likewise.
1294 * po/Makefile: Likewise.
1295 * posix/fnmatch.c: Likewise.
1296 * posix/regex.h: Likewise.
1297 * resolv/Makefile: Likewise.
1298 * resolv/nss_dns/dns-network.c: Likewise.
1299 * resolv/res_hconf.c: Likewise.
1300 * scripts/gen-sorted.awk: Likewise.
1301 * soft-fp/soft-fp.h: Likewise.
1302 * stdio-common/printf.h: Likewise.
1303 * stdlib/monetary.h: Likewise.
1304 * stdlib/random.c: Likewise.
1305 * stdlib/random_r.c: Likewise.
1306 * sysdeps/generic/Makefile: Likewise.
1307 * sysdeps/gnu/Makefile: Likewise.
1308 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1309 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1310 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1311 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1312 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1313 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1314 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1315 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1316 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1318 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1319 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1320 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1321 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1322 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1323 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1324 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1325 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1326 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1327 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1328 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1329 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1330 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1331 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1332 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1333 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1334 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1335 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1336 * sysdeps/mach/hurd/errnos.awk: Likewise.
1337 * sysdeps/mach/hurd/fork.c: Likewise.
1338 * sysdeps/mach/hurd/getcwd.c: Likewise.
1339 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1340 * sysdeps/mach/hurd/mmap.c: Likewise.
1341 * sysdeps/mach/hurd/utimes.c: Likewise.
1342 * sysdeps/mach/hurd/xmknod.c: Likewise.
1343 * sysdeps/posix/profil.c: Likewise.
1344 * sysdeps/posix/readdir_r.c: Likewise.
1345 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1346 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1347 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1348 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1350 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1351 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1352 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1354 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1355 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1356 * sysdeps/pthread/lio_listio.c: Likewise.
1357 * sysdeps/sparc/dl-procinfo.h: Likewise.
1358 * sysdeps/unix/i386/sysdep.S: Likewise.
1359 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1360 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1361 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1362 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1364 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1365 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1366 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1367 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1368 * sysdeps/wordsize-32/divdi3.c: Likewise.
1369 * time/sys/time.h: Likewise.
1370 * wcsmbs/Makefile: Likewise.
1371
0549fbba
DM
13722013-01-01 David S. Miller <davem@davemloft.net>
1373
a141f1a7
DM
1374 * po/fr.po: Update from translation team.
1375
0549fbba
DM
1376 * catgets/gencat.c: Update copyright year.
1377 * csu/version.c: Likewise.
1378 * debug/catchsegv.sh: Likewise.
1379 * debug/pcprofiledump.c: Likewise.
1380 * debug/xtrace.sh: Likewise.
1381 * elf/ldconfig.c: Likewise.
1382 * elf/ldd.bash.in: Likewise.
1383 * elf/pldd.c: Likewise.
1384 * elf/sotruss.ksh: Likewise.
1385 * elf/sprof.c: Likewise.
1386 * iconv/iconv_prog.c: Likewise.
1387 * iconv/iconvconfig.c: Likewise.
1388 * locale/programs/locale.c: Likewise.
1389 * locale/programs/localedef.c: Likewise.
1390 * login/programs/pt_chown.c: Likewise.
1391 * malloc/memusage.sh: Likewise.
1392 * malloc/memusagestat.c: Likewise.
1393 * malloc/mtrace.pl: Likewise.
1394 * nscd/nscd.c: Likewise.
1395 * nss/getent.c: Likewise.
1396 * nss/makedb.c: Likewise.
1397 * posix/getconf.c: Likewise.
1398
18ea052c
SP
13992012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1400
1401 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1402 numbers.
1403
9c89fca6
MF
14042012-12-30 Mike Frysinger <vapier@gentoo.org>
1405
1406 * math/bits/mathcalls.h (modf): Use __nonnull.
1407
085ec079
SP
14082012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1409
1410 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1411 (split): Use macro CN instead of the bare value.
1412 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1413 could be used.
1414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1415 instead of the bare value.
1416 (power1): Likewise.
1417
6d9f97e1
SP
14182012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1419
d63f73be
SP
1420 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1421 __ATAN_TWOM.
1422 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1423
6d9f97e1
SP
1424 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1425 their values.
1426 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1427 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1428 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1429 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1430
4c4febf5
AJ
14312012-12-28 Andreas Jaeger <aj@suse.de>
1432
af5843ef
AJ
1433 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1434 values are from Linux 3.7.
1435
4c4febf5
AJ
1436 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1437 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1438
99136f82
SP
14392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1440
2f216c3c 1441 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1442 TRUE case.
1443
99136f82
SP
1444 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1445 (norm): Likewise.
1446 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1447 variables with preprocessor constants.
1448 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1449 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1450 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1451
7fffbdff
BH
14522012-12-27 Bruno Haible <bruno@clisp.org>
1453
1454 [BZ #14317]
1455 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1456 only if needed.
1457
b76eb5f0
SP
14582012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1459
31a7fe5c
SP
1460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1461 and use variable directly.
1462 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1463
b76eb5f0
SP
1464 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1465 MPONE.
1466 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1467 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1468 variable MPONE.
1469 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1471 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1472 include directive. Remove local variable MPONE.
1473 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1474 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1475 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1476
2c8bfe7d
DM
14772012-12-25 David S. Miller <davem@davemloft.net>
1478
1479 * version.h (RELEASE): Set to "development".
1480 (VERSION): Set to "2.17.90".
1481 * NEWS: Add 2.18 section.
1482
147d03b0
DM
14832012-12-21 David S. Miller <davem@davemloft.net>
1484
1485 * po/hr.po: Update from translation team.
1486
a8ebb2b9
AK
14872012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1488
1489 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1490
95b4f1b6
SE
14912012-12-19 Steve Ellcey <sellcey@mips.com>
1492
b2d94007 1493 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1494
cedb2a90
MS
14952012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1496
1497 * manual/contrib.texi (Contributors): Spelling correction.
1498
bbf527d6
DM
14992012-12-15 David S. Miller <davem@davemloft.net>
1500
1501 * po/ru.po: Update from translation team.
1502
bc38c906
DM
15032012-12-13 David S. Miller <davem@davemloft.net>
1504
85429b1a
DM
1505 * NEWS: Mention IFUNC testsuite enhancements.
1506
d283e353
DM
1507 * po/pl.po: Update from translation team.
1508 * po/bg.po: Likewise.
1509
bc38c906
DM
1510 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1511 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1512
a181b0d7
DM
15132012-12-11 David S. Miller <davem@davemloft.net>
1514
4641d57e
DM
1515 * po/sv.po: Update from translation team.
1516
f7bc6495
DM
1517 * po/vi.po: Update from translation team.
1518
6fc9048f
DM
1519 * po/cs.po: Update from translation team.
1520
a181b0d7
DM
1521 * po/de.po: Update from translation team.
1522 * po/eo.po: Likewise.
1523 * po/nl.po: Likewise.
1524
f70bfe80
SP
15252012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1526
3c8b4190
SP
1527 [BZ #14246]
1528 * manual/argp.texi (Argp Helper Functions): Move node to follow
1529 Argp Parsing State.
1530
f70bfe80
SP
1531 [BZ #14872]
1532 * manual/conf.texi (Limits on File System Capacity): Mention if
1533 terminating null is included in the max size.
1534
188f0adf
AJ
15352012-12-10 Andreas Jaeger <aj@suse.de>
1536
1537 * po/cs.po: Update from translation team.
1538
56e7d3ad
SP
15392012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1540
1541 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1542 void pointer and cast to uintptr_t.
1543 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1544 path.
1545 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1546 * sysdeps/s390/s390-64/memset.S: Likewise.
1547
76f2d2ea 15482012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1549
1550 [BZ #14833]
1551 * menual/message.texi (Message Translation): Fix typos.
1552 (Helper programs for gettext): Likewise.
1553
67cbf9a2
AS
15542012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1555
1556 [BZ #14898]
1557 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1558 Change to -1.
1559
682d0e9a
DM
15602012-12-07 David S. Miller <davem@davemloft.net>
1561
1562 * po/libc.pot: Update.
1563
573cd484
RH
15642012-12-07 Richard Henderson <rth@redhat.com>
1565
7e9da188 1566 [BZ #10114]
573cd484
RH
1567 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1568 normal/normal case to before the switch.
1569 (_FP_DIV): Likewise.
1570
e933a943
MF
15712012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1572 Mike Frysinger <vapier@gentoo.org>
1573
1574 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1575 check for __NR_fadvise64_64.
1576
82123268
CM
15772012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1578
1579 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1580 0, not just to plain "0" as a statement.
1581 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1582 with cw.
1583
d9814526
JM
15842012-12-06 Joseph Myers <joseph@codesourcery.com>
1585
1586 * NEWS: Use sourceware.org in Bugzilla URL.
1587
7728c574
SP
15882012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1589
f16946dd
SP
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1591 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1592
5704bbcb
SP
1593 * stdio-common/tst-put-error.c (do_test): Add newline to the
1594 padded test to ensure flush.
1595
17aa0516
JL
15962012-12-05 Jeff Law <law@redhat.com>
1597
1598 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1599
363313b5
JM
16002012-12-05 Joseph Myers <joseph@codesourcery.com>
1601
effbd42a
JM
1602 * README: Don't refer to ports add-on as distributed separately.
1603 Mention AArch64 in list of systems supported in the ports add-on.
1604
87600365
JM
1605 * LICENSES: Add more non-FSF copyright and license notices.
1606
a0d7066a
JM
1607 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1608 ((unused)).
1609
66ca5a5b
JM
1610 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1611
363313b5
JM
1612 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1613 10000 as width of padded output.
1614
b37984ad
JM
16152012-12-04 Joseph Myers <joseph@codesourcery.com>
1616
9003570a
JM
1617 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1618
b37984ad
JM
1619 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1620 variable LX with __attribute__ ((unused)).
1621 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1622 Likewise.
1623 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1625 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1626 with __attribute__ ((unused)).
1627
c8df52ec
DM
16282012-12-04 David S. Miller <davem@abraco.davemloft.net>
1629
1630 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1631
b3b099af
JM
16322012-12-04 Joseph Myers <joseph@codesourcery.com>
1633
c33aa6e3
JM
1634 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1635 (CFLAGS-nldbl-acos.c): New variable.
1636 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1637 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1638 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1639 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1640 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1641 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1642 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1643 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1644 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1645 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1646 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1647 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1648 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1649 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1650 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1651 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1652 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1653 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1654 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1655 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1656 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1657 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1658 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1659 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1660 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1661 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1662 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1663 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1664 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1665 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1666 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1667 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1668 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1669 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1670 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1671 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1672 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1673 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1674 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1675 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1676 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1677 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1678 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1679 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1680 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1681 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1682 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1683 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1684 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1685 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1686 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1687 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1688 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1689 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1690 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1691 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1692 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1693 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1694 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1695 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1696 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1697 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1698 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1699 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1700 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1701 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1702 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1703 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1704 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1705 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1706 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1707 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1708 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1709 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1710 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1711 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1712 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1713 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1714 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1715 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1716 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1717 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1718 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1719 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1720 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1721 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1722 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1723 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1724 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1725 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1726 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1727 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1728 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1729 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1730 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1731 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1732 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1733
20f0018d
JM
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1735 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1736
b3b099af
JM
1737 [BZ #14914]
1738 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1739 whole low double instead of just low 47 bits when splitting values
1740 into two parts.
1741
029264d1
AM
17422012-12-03 Allan McRae <allan@archlinux.org>
1743
1744 * manual/stdio.texi (Predefined Printf Handlers): Remove
1745 @hsep and @vsep usage.
1746
c9d6789e
MF
17472012-12-03 Mike Frysinger <vapier@gentoo.org>
1748
1749 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1750 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1751
4b7634a5
JL
17522012-12-03 Jeff Law <law@redhat.com>
1753
1754 * time/sys/time.h (settimeofday): Do not mark TV argument
1755 as __nonnull.
1756
eb6cbd24
MF
17572012-12-01 Mike Frysinger <vapier@gentoo.org>
1758
1759 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1760 when currently writing and seek to current position when not.
1761 * libio/Makefile (tests): Remove bug-fclose1.
1762 * libio/bug-fclose1.c: Delete.
1763
f638872a
JM
17642012-12-01 Joseph Myers <joseph@codesourcery.com>
1765
1766 * manual/arith.texi (feenableexcept): Fix typo.
1767 (fedisableexcept): Likewise.
1768
48085d14
RM
17692012-11-30 Roland McGrath <roland@hack.frob.com>
1770
1771 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1772 second, differently-typed declaration, rather than a cast.
1773
1a538b9f
SP
17742012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1775
1776 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1777 * include/rpc/svc.h: ... here.
1778
d07f2ff1 17792012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1780
1781 [BZ #13013]
1782 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1783 depending n and resplen2 to catch cases where answer
1784 equals answerp2.
1785
c93ec1f0
CD
17862012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1787
1788 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1789 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1790
37db69de
MF
17912012-11-29 Mike Frysinger <vapier@gentoo.org>
1792
1793 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1794
e10c4e4f
RM
17952012-11-29 Roland McGrath <roland@hack.frob.com>
1796
1797 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1798
2af1b328
JL
17992012-11-28 Jeff Law <law@redhat.com>
1800
1801 [BZ #13761]
1802 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1803 dataset_temporary. Track alloca usage into alloca_used.
1804 If dataset is large allocate and release it via malloc/free.
1805
111db5b1
FW
18062012-06-04 Florian Weimer <fweimer@redhat.com>
1807
f06cc227 1808 [BZ #14197]
111db5b1
FW
1809 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1810
dd694abd
DM
18112012-11-28 David S. Miller <davem@davemloft.net>
1812
1813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1814
9984dd01
JM
18152012-11-28 Joseph Myers <joseph@codesourcery.com>
1816
1817 [BZ #14803]
1818 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1819 of pi/2 rounded to nearest to 64 bits.
1820 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1821 nearest to 64 bits.
1822 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1823 bits.
1824
14bc93a9
JL
18252012-11-28 Jeff Law <law@redhat.com>
1826 Martin Osvald <mosvald@redhat.com>
1827
1828 [BZ #14889]
1829 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1830 * sunrpc/svc.c: Include time.h.
1831 (__svc_accept_failed): New function.
1832 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1833 any reason other than EINTR, call __svc_accept_failed.
1834 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1835 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1836
e3c6aa3a
AS
18372012-11-28 Andreas Schwab <schwab@suse.de>
1838
1839 * scripts/abilist.awk: Also handle indirect functions in .opd
1840 section.
1841
1bead169
JM
18422012-11-28 Joseph Myers <joseph@codesourcery.com>
1843
1844 [BZ #13881]
1845 * sysdeps/x86/fpu/powl_helper.c: New file.
1846 * sysdeps/x86/fpu/Makefile: Likewise.
1847 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1848 (p3): New object.
1849 (__ieee754_powl): Use __powl_helper for finite arguments except
1850 integer exponents below 8.
1851 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1852 (p3): New object.
1853 (__ieee754_powl): Use __powl_helper for finite arguments except
1854 integer exponents below 8.
1855 * math/libm-test.inc (pow_test): Add more tests and enable some
1856 previously disabled tests.
1857 * sysdeps/i386/fpu/libm-test-ulps: Update.
1858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1859
0817d63d
SP
18602012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1861 Carlos O'Donell <carlos_odonell@mentor.com>
1862
1863 * nss/makedb.c (is_prime): Assert that input is odd and greater
1864 than 4. Note that fact in a comment too.
1865 (next_prime): Add 4 to input.
1866
de2fd463
SP
18672012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1868
1869 [BZ #11741]
1870 * libio/Makefile (tests): Add test case tst-fwrite-error.
1871 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1872 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1873 * libio/tst-fwrite-error.c: New test case.
1874
c515fb51
L
18752012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1876
1877 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1878 before casting to void *.
1879 * include/libc-internal.h (__pointer_type): New macro.
1880 (__integer_if_pointer_type_sub): Likewise.
1881 (__integer_if_pointer_type): Likewise.
1882 (cast_to_integer): Likewise.
1883 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1884 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1885 before casting to atomic64_t.
1886 (atomic_exchange_acq): Likewise.
1887 (__arch_exchange_and_add_body): Likewise.
1888 (__arch_add_body): Likewise.
1889 (atomic_add_negative): Likewise.
1890 (atomic_add_zero): Likewise.
1891
4cf77aa9
JM
18922012-11-26 Joseph Myers <joseph@codesourcery.com>
1893
1894 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1895 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1896 (add_fdes): Likewise.
1897 (linear_search_fdes): Likewise.
1898 (binary_search_unencoded_fdes): Likewise.
1899
d260b3b4
AS
19002012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1901
1902 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1903
67060746
AC
19042012-11-24 Adam Conrad <adconrad@0c3.net>
1905
1906 * configure.in: Autodetect C++ header directories.
1907 * configure: Regenerated.
1908
800938a1
MF
19092012-11-23 Mike Frysinger <vapier@gentoo.org>
1910
1911 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1912
4e6e34e6
AS
19132012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1914
1915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1916
7c7feb47
JM
19172012-11-22 Joseph Myers <joseph@codesourcery.com>
1918
7184dcdf
JM
1919 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1920 LDBL_MANT_DIG == 106]: Disable some tests.
1921 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1922 Likewise.
1923 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1924 Likewise.
1925
0a42601f
JM
1926 [BZ #14871]
1927 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1928 input for small inputs. Return +/- pi/2 for large inputs.
1929 * math/libm-test.inc (atan_test): Add more tests.
1930
79c9b9fe
JM
1931 * sysdeps/generic/unwind-dw2-fde-glibc.c
1932 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1933 __attribute__ ((unused)).
1934
c60d3bf2
JM
1935 [BZ #14645]
1936 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1937 x * y if x and y are nonzero and z is zero.
1938
ef1e0867
JM
1939 [BZ #14811]
1940 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1941 nonzero exponents with absolute value below 0x1p-117 to +/-
1942 0x1p-117.
1943
1468ded3
JM
1944 [BZ #14869]
1945 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1946 up arguments below 2**-450, not just those below 2**-500.
1947 * math/libm-test.inc (hypot_test): Add another test.
1948
8e27e3cc
JM
1949 [BZ #14868]
1950 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1951 Return a+b for ratio over 2**120, not 2**60.
1952 * math/libm-test.inc (hypot_test): Add another test.
1953
c9c0279b
JM
1954 * math/libm-test.inc (clog_test): Use
1955 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1956 (clog10_test): Likewise.
1957
7c7feb47
JM
1958 [BZ #6778]
1959 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1960
fff1530e
AS
19612012-11-22 Andreas Schwab <schwab@suse.de>
1962
1963 * sysdeps/i386/fpu/libm-test-ulps: Update.
1964
94558d30
PT
19652012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1966
1967 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1968 printf output with newline.
1969
7e1be741
L
19702012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1971
6bfea974
L
1972 [BZ #14865]
1973 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1974 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1975 -z nodlopen, -z initfirst and -z execstack support.
1976 * configure: Regenerated.
1977
7e1be741
L
1978 * elf/elf.h (DF_1_NODIRECT): New macro.
1979 (DF_1_IGNMULDEF): Likewise.
1980 (DF_1_NOKSYMS): Likewise.
1981 (DF_1_NOHDR): Likewise.
1982 (DF_1_EDITED): Likewise.
1983 (DF_1_NORELOC): Likewise.
1984 (DF_1_SYMINTPOSE): Likewise.
1985 (DF_1_GLOBAUDIT): Likewise.
1986 (DF_1_SINGLETON): Likewise.
1987 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1988 DT_1_SUPPORTED_MASK bits.
1989 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1990
105ce2ce
CD
19912012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1992
1993 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1994
123be9de
TS
19952012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1996
d072f3f7
TS
1997 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1998 macro.
1999
123be9de
TS
2000 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2001 (sendmmsg): Move declarations...
2002 * socket/sys/socket.h: ... here.
2003 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2004 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2005 include it from...
2006 * socket/recvmmsg.c: ... this new file.
2007 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2008 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2009 definition of __sendmmsg hidden.
2010 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2011 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2012 Move ENOSYS stub into and include it from...
2013 * socket/sendmmsg.c: ... this new file.
2014 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2015 (sysdep_routines): Move recvmmsg and sendmmsg...
2016 * socket/Makefile (routines): ... here.
2017 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2018 (GLIBC_PRIVATE): Add __sendmmsg.
2019 * include/sys/socket.h (__sendmmsg): Add declarations.
2020 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2021 sendmmsg.
2022
cf9a5d18
JM
20232012-11-20 Joseph Myers <joseph@codesourcery.com>
2024
2025 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2026 variable I1 with __attribute__ ((unused)).
2027 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2028
ecd4caf9
JM
20292012-11-19 Joseph Myers <joseph@codesourcery.com>
2030
be14d48f
JM
2031 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2032 DUMMY variables with __attribute__ ((unused)).
2033
ecd4caf9
JM
2034 * bits/byteswap.h: Include <bits/types.h>.
2035 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2036
986cab95
PT
20372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2038
2039 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2040 string_t. Do not manually set errno.
2041 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2042 length with __strnlen. Make sure to both set errno and return it on
2043 failure.
2044
6d33cc9d
DM
20452012-11-19 David S. Miller <davem@davemloft.net>
2046
2047 With help from Joseph Myers.
2048 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2049 very large arguments properly.
2050 * math/libm-test.inc (atan_test): New tests.
2051 (atan2_test): New tests.
2052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2054
ee663277
JM
20552012-11-19 Joseph Myers <joseph@codesourcery.com>
2056
877f2d8e
JM
2057 [BZ #14856]
2058 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2059 Define to 3.
2060
116fc08a
JM
2061 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2062 [POSIX] (EADDRNOTAVAIL): Likewise.
2063 [POSIX] (EAFNOSUPPORT): Likewise.
2064 [POSIX] (EALREADY): Likewise.
2065 [POSIX] (ECONNABORTED): Likewise.
2066 [POSIX] (ECONNREFUSED): Likewise.
2067 [POSIX] (ECONNRESET): Likewise.
2068 [POSIX] (EDESTADDRREQ): Likewise.
2069 [POSIX] (EDQUOT): Likewise.
2070 [POSIX] (EHOSTUNREACH): Likewise.
2071 [POSIX] (EIDRM): Likewise.
2072 [POSIX] (EISCONN): Likewise.
2073 [POSIX] (ELOOP): Likewise.
2074 [POSIX] (EMULTIHOP): Likewise.
2075 [POSIX] (ENETDOWN): Likewise.
2076 [POSIX] (ENETUNREACH): Likewise.
2077 [POSIX] (ENOBUFS): Likewise.
2078 [POSIX] (ENODATA): Likewise.
2079 [POSIX] (ENOLINK): Likewise.
2080 [POSIX] (ENOMSG): Likewise.
2081 [POSIX] (ENOPROTOOPT): Likewise.
2082 [POSIX] (ENOSR): Likewise.
2083 [POSIX] (ENOSTR): Likewise.
2084 [POSIX] (ENOTCONN): Likewise.
2085 [POSIX] (ENOTSOCK): Likewise.
2086 [POSIX] (EOPNOTSUPP): Likewise.
2087 [POSIX] (EOVERFLOW): Likewise.
2088 [POSIX] (EPROTO): Likewise.
2089 [POSIX] (EPROTONOSUPPORT): Likewise.
2090 [POSIX] (EPROTOTYPE): Likewise.
2091 [POSIX] (ESTALE): Likewise.
2092 [POSIX] (ETIME): Likewise.
2093 [POSIX] (ETXTBSY): Likewise.
2094 [POSIX] (EWOULDBLOCK): Likewise.
2095 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2096 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2097 [POSIX] (SEEK_CUR): Likewise.
2098 [POSIX] (SEEK_END): Likewise.
2099 [POSIX || UNIX98] (mode_t): Do not require.
2100 [POSIX] (off_t): Likewise.
2101 [POSIX] (pid_t): Likewise.
2102 [POSIX] (sys/stat.h): Do not allow header.
2103 [POSIX] (unistd.h): Likewise.
2104 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2105 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2106 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2107 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2108 require.
2109 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2110 sigevent): Specify elements.
2111 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2112 entry.
2113 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2114 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2115
a483863f
JM
2116 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2117 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2118 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2119 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2120 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2121 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2122 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2123 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2124 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2125 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2126 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2127 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2128 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2129 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2130 Likewise.
2131 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2132 Likewise.
2133 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2134 Likewise.
2135 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2136 Likewise.
2137 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2138 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2139 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2140 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2141 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2142 Specify lower bound on value.
2143 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2144 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2145 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2146 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2147 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2148 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2149 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2150 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2151 value.
2152 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2153 as optional.
2154 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2155 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2156 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2157 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2158 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2159 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2160 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2161 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2162 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2163 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2164 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2165 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2166 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2167 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2168 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2169 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2170 entry.
2171 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2172 optional.
2173 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2174 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2175 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2176 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2177 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2178 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2179 Likewise.
2180 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2181 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2182 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2183 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2184 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2185 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2186 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2187 as optional.
2188 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2189 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2190 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2191 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2192 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2193 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2194 specify as optional.
2195 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2196 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2197 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2198 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2199 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2200 [XPG3] (NL_LANGMAX): Likewise.
2201 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2202 [POSIX || XPG3] (NL_NMAX): Likewise.
2203 [POSIX || XPG3] (NL_SETMAX): Likewise.
2204 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2205 [XPG3] (NZERO): Likewise.
2206 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2207 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2208 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2209 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2210 (REG_ERANGE): Expect.
2211 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2212 optional-constant.
2213 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2214 Use (void) in prototype.
2215 [POSIX] (*_t): Allow.
2216 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2217 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2218 (WRDE_BADVAL): Expect.
2219
5ba924e3
JM
2220 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2221 expect.
2222 [XPG3 || XPG4] (O_RSYNC): Likewise.
2223 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2224 Likewise.
2225 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2226 [XPG3 || XPG4] (sigqueue): Likewise.
2227 [XPG3 || XPG4] (sigtimedwait): Likewise.
2228 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2229 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2230 [XPG3 || XPG4] (vsnprintf): Likewise.
2231 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2232 Likewise.
2233 [XPG3 || XPG4] (blksize_t): Likewise.
2234 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2235 Likewise.
2236 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2237 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2238 [XPG3 || XPG4] (struct itimerspec): Likewise.
2239 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2240 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2241 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2242 [XPG3 || XPG4] (clockid_t): Likewise.
2243 [XPG3 || XPG4] (timer_t): Likewise.
2244 [XPG3 || XPG4] (clock_getres): Likewise.
2245 [XPG3 || XPG4] (clock_gettime): Likewise.
2246 [XPG3 || XPG4] (clock_settime): Likewise.
2247 [XPG3 || XPG4] (nanosleep): Likewise.
2248 [XPG3 || XPG4] (timer_create): Likewise.
2249 [XPG3 || XPG4] (timer_delete): Likewise.
2250 [XPG3 || XPG4] (timer_gettime): Likewise.
2251 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2252 [XPG3 || XPG4] (timer_settime): Likewise.
2253 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2254 [XPG3 || XPG4] (getlogin_r): Likewise.
2255 [XPG3 || XPG4] (pread): Likewise.
2256 [XPG3 || XPG4] (pthread_atfork): Likewise.
2257 [XPG3 || XPG4] (pwrite): Likewise.
2258
ee663277
JM
2259 [BZ #14835]
2260 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2261 <bits/siginfo.h>.
2262
942caa16
PT
22632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2264
e19af380
PT
2265 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2266 finalizing MALLSTREAM.
2267
942caa16
PT
2268 * sysdeps/mach/hurd/syncfs.c: New file.
2269
cfde9b46
SP
22702012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2271
2272 [BZ #14719]
2273 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2274 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2275 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2276 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2277 (_nss_dns_gethostbyname4_r): Likewise.
2278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2279 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2280
f6da27e5
PH
22812012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2282
2283 [BZ #13763]
2284 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2285
6665d4a2
SM
22862012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2287
1f51ee92
SM
2288 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2289 * elf/cache.c (print_entry): Print ",AArch64" for
2290 FLAG_AARCH64_LIB64
2291
6665d4a2
SM
2292 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2293 * elf/cache.c (print_entry): Print ",hard-float" for
2294 FLAG_ARM_LIBHF.
2295
05b227bd
DM
22962012-11-18 David S. Miller <davem@davemloft.net>
2297
2298 With help from Joseph Myers.
2299 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2300 cutoff to 2**-13.
2301 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2302 cutoff to 2**-25.
2303 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2304 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2305 small.
2306 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2307 * math/libm-test.inc (y0_test): New tests.
2308 (y1_test): New tests.
2309 * sysdeps/i386/fpu/libm-test-ulps: Update.
2310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2312
786b0b67
AS
23132012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2314
2315 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2316 64-bit targets.
2317 * configure: Regenerated.
2318
8e18b86d
DM
23192012-11-17 David S. Miller <davem@davemloft.net>
2320
2321 [BZ #14811]
2322 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2323 nonzero exponents with absolute value below 0x1p-128 to +/-
2324 0x1p-128.
2325
531f1ae0
JM
23262012-11-17 Joseph Myers <joseph@codesourcery.com>
2327
12df29e2
JM
2328 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2329
150dc1a0
JM
2330 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2331
531f1ae0
JM
2332 * posix/getconf-speclist.c: New file.
2333 * posix/posix-envs.def: Likewise.
2334 * posix/confstr.c (START_ENV_GROUP): New macro.
2335 (END_ENV_GROUP): Likewise.
2336 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2337 (KNOWN_PRESENT_ENV_STRING): Likewise.
2338 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2339 (UNKNOWN_ENVIRONMENT): Likewise.
2340 (confstr): Include posix-envs.def instead of handling
2341 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2342 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2343 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2344 (END_ENV_GROUP): Likewise.
2345 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2346 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2347 (UNKNOWN_ENVIRONMENT): Likewise.
2348 (__sysconf): Include posix-envs.def instead of handling associated
2349 cases directly here.
2350 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2351 preprocessing getconf-speclist.c rather than running getconf or
2352 generating empty file.
2353
a93f9cbc
PT
23542012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2355
2356 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2357
d64d9f87
AL
23582012-11-16 Andrej Lajovic <natrij@gmail.com>
2359
2360 [BZ #14672]
2361 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2362
447885eb
DM
23632012-11-16 David S. Miller <davem@davemloft.net>
2364
2365 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2366 smaller than LDBL_EPSILON/2.0L, just return xm1.
2367
bcbf9830
L
23682012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2369
2370 * elf/tst-array1.c (init): Set constructor priority to 1000.
2371 (fini): Set destructor priority to 1000.
2372 * elf/tst-array2dep.c: Likewise.
2373
2b766585
SP
23742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2375
2376 [BZ #11741]
2377 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2378 (_IO_new_file_xsputn): Also return EOF if none of the input
2379 data was written when overflow failed.
2380 * libio/iopadn.c (_IO_padn): Likewise.
2381 * libio/iowpadn.c (_IO_wpadn): Likewise.
2382 * stdio-common/tst-put-error.c: Add copyright notice.
2383 (do_test): Add case for printing padded string.
2384 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2385 _IO_padn returned error.
2386 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2387 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2388 return EOF.
2389
b1848fde
SP
23902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2391
2392 * libio/libioP.h: Add comment note that the references to C++
2393 bits are now obsolete.
2394
2fd89785
MS
23952012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2396
2397 * math/libm-test.inc (check_complex): Use asprintf.
2398
e3ea5409
JM
23992012-11-14 Joseph Myers <joseph@codesourcery.com>
2400
2401 * debug/pcprofiledump.c (print_version): Update copyright year.
2402 * malloc/memusagestat.c (print_version): Likewise.
2403
2e64d265
L
24042012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2405
2406 [BZ #14831]
2407 * elf/Makefile (tests): Add tst-audit8.
2408 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2409 ($(objpfx)tst-audit8.out): New target.
2410 (tst-audit8-ENV): New variable.
2411 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2412 audit if l_reloc_result is NULL.
2413 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2414 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2415 * elf/tst-audit8.c: New file.
2416
c485e4d2
MS
24172012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2418
2419 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2420 * misc/Makefile (CFLAGS-select.c): Define.
2421 * posix/Makefile (CFLAGS-pause.c): Define.
2422
3a0d900a
DM
24232012-11-13 David S. Miller <davem@davemloft.net>
2424
2425 * crypt/Makefile: Move test targets after toplevel Rules
2426 inclusion. Grab any necessary sysdep routines when linking.
2427 * crypt/md5.c (md5_process_block): Remove define, we will always
2428 name it __md5_process_block.
2429 (md5_finish_ctx): Update md5_process_block call.
2430 (md5_stream): Likewise.
2431 (md5_process_bytes): Likewise.
2432 (md5_process_block): Rename to __md5_process_block and move to ...
2433 * crypt/md5-block.c: ... here.
2434 * crypt/sha256.c (sha256_process_block): Move to ...
2435 * crypt/sha256-block.c: ... here.
2436 * crypt/sha512.c (sha512_process_block): Move to ...
2437 * crypt/sha512-block.c: ... here.
2438 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2439 path.
2440 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2441 * sysdeps/sparc/sparc64/multiarch/Makefile
2442 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2443 crypt subdir.
2444 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2445 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2446 multiarch changes.
2447 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2448 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2449 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2450 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2451 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2452 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2453 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2454 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2455 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2456 file.
2457 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2458 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2459 file.
2460 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2461
8ca89318
JM
24622012-11-13 Joseph Myers <joseph@codesourcery.com>
2463
e27d476a
JM
2464 * timezone/tzselect.ksh: Update from tzcode git revision
2465 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2466 * timezone/zdump.c: Likewise.
2467 * timezone/zic.c: Likewise.
2468 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2469 in TZVERSION setting, not $(PKGVERSION).
2470 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2471 REPORT_BUGS_TO settings.
2472
8ca89318
JM
2473 [BZ #14838]
2474 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2475 macro.
2476
47594329
MS
24772012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2478
2479 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2480 detection to immediately after _FP_ROUND().
2481 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2482 bits are 0.
2483
640ac3f1
DM
24842012-11-11 David S. Miller <davem@davemloft.net>
2485
2486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2487 inttypes.h
2488 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2489 __close rather than their public counterparts.
2490
3d2577bb
JM
24912012-11-10 Joseph Myers <joseph@codesourcery.com>
2492
2493 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2494 file.
2495 [UNIX98] (sem_timedwait): Do not expect.
2496 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2497 [XPG4 || UNIX98] (sockatmark): Do not expect.
2498 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2499 (clock_getcpuclockid): Do not expect.
2500 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2501 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2502 Do not expect.
2503 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2504 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2505 [UNIX98] (vwscanf): Likewise.
2506 [UNIX98] (vswscanf): Likewise.
2507
fb1ae1ee
JM
25082012-11-09 Joseph Myers <joseph@codesourcery.com>
2509
9ec6f8bd
JM
2510 * timezone/version.h: Remove file.
2511 * timezone/README: Do not refer to version.h.
2512 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2513 $(objpfx)version.h.
2514 ($(objpfx)zdump.o): Likewise.
c3f81911 2515 ($(objpfx)version.h): New target.
9ec6f8bd 2516
0aa8f8a1
JM
2517 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2518 2012i.
2519 * timezone/README: Don't mention modification to tzselect.ksh.
2520 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2521 work on unmodified tzselect.ksh. Substitute version numbers in
2522 tzselect.ksh.
2523
4e87147f
JM
2524 * Makefile (format-me): Remove.
2525 (INSTALL): Adjust indentation. Use commands directly instead of
2526 using $(format-me).
2527
8b748aed
JM
2528 * aclocal.m4 (ACX_PKGVERSION): New macro.
2529 (ACX_BUGURL): Likewise.
2530 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2531 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2532 (REPORT_BUGS_TO): Likewise.
2533 * configure: Regenerated.
2534 * config.h.in (PKGVERSION): New macro.
2535 (REPORT_BUGS_TO): Likewise.
2536 * config.make.in (PKGVERSION): New variable.
2537 (PKGVERSION_TEXI): Likewise.
2538 (REPORT_BUGS_TO): Likewise.
2539 (REPORT_BUGS_TEXI): Likewise.
2540 * Makefile (format-me): Use -I$(common-objpfx)manual.
2541 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2542 ($(common-objpfx)manual/%): New target.
2543 (manual/%): Remove target.
2544 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2545 (print_version): Use PKGVERSION.
2546 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2547 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2548 and REPORT_BUGS_TO.
2549 ($(objpfx)xtrace): Likewise.
2550 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2551 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2552 (print_version): Use PKGVERSION.
2553 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2554 (do_version): Use PKGVERSION.
2555 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2556 REPORT_BUGS_TO.
2557 (common-ldd-rewrite): Likewise.
2558 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2559 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2560 (print_version): Use PKGVERSION.
2561 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2562 * elf/pldd.c (argp_program_bug_address): Remove variable.
2563 (more_help): New function.
2564 (argp): Use more_help.
2565 (print_version): Use PKGVERSION.
2566 * elf/sln.c (main): Use PKGVERSION.
2567 (usage): Use REPORT_BUGS_TO.
2568 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2569 (top level): Use PKGVERSION.
2570 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2571 (print_version): Use PKGVERSION.
2572 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2573 (print_version): Use PKGVERSION.
2574 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2575 (print_version): Use PKGVERSION.
2576 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2577 (print_version): Use PKGVERSION.
2578 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2579 (print_version): Use PKGVERSION.
2580 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2581 (print_version): Use PKGVERSION.
2582 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2583 and BUGURL.
2584 ($(objpfx)memusage): Likewise.
2585 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2586 (do_version): Use PKGVERSION.
2587 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2588 (print_version): Use PKGVERSION.
2589 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2590 ($PKGVERSION): New variable.
2591 ($REPORT_BUGS_TO): Likewise.
2592 (usage): Use $REPORT_BUGS_TO.
2593 (top level): Use $PKGVERSION.
2594 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2595 ($(objpfx)pkgvers.texi): New rule.
2596 ($(objpfx)stamp-pkgvers): Likewise.
2597 * manual/install.texi: Include pkgvers.texi.
2598 (--with-pkgversion): Document new configure option.
2599 (--with-bugurl): Likewise.
2600 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2601 than necessarily for this particular distribution. Use
2602 REPORT_BUGS_TO for where to report bugs.
2603 * INSTALL: Regenerated.
2604 * manual/libc.texinfo: Include pkgvers.texi.
2605 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2606 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2607 (print_version): Use PKGVERSION.
2608 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2609 (print_version): Use PKGVERSION.
2610 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2611 (print_version): Use PKGVERSION.
2612 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2613 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2614 macro.
2615 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2616 (print_version): Use PKGVERSION.
2617 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2618 (print_version): Use PKGVERSION.
2619 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2620 and PKGVERSION.
2621
92e4b6a9
JM
2622 * timezone/checktab.awk: Update from tzcode 2012i.
2623 * timezone/ialloc.c: Likewise.
2624 * timezone/private.h: Likewise.
2625 * timezone/scheck.c: Likewise.
2626 * timezone/tzfile.h: Likewise.
2627 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2628 (TZVERSION): Hardcode tzcode version number.
2629 * timezone/zdump.c: Update from tzcode 2012i.
2630 * timezone/zic.c: Likewise.
2631 * timezone/version.h: New file.
2632 * timezone/README: Describe version.h. Update upstream location.
2633
9bde902c
JM
2634 [BZ #14824]
2635 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2636 (mktemp): Enable declaration.
2637 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2638 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2639 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2640 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2641 Likewise.
2642 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2643 Likewise.
2644 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2645 Likewise.
2646 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2647 Likewise.
2648 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2649 Likewise.
2650 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2651 Likewise.
2652
fb1ae1ee
JM
2653 [BZ #14821]
2654 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2655 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2656 for copies of such integer values.
2657 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2658 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2659
2c1adbcb
AJ
26602012-11-09 Andreas Jaeger <aj@suse.de>
2661
2662 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2663 definitions and declarations that are provided by
2664 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2665
d0f8457e
AK
26662012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2667
3a235abb 2668 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2669 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2670 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2671 definition.
2672
57241e26
MS
26732012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2674
2675 * elf/elf.h: Update comment before AArch64 relocations.
2676
60e8270d
DM
26772012-11-07 David S. Miller <davem@davemloft.net>
2678
2679 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2681 (__start_context): Declare.
2682 (__makecontext_ret): Delete.
2683 (__makecontext): Hook up __start_context instead of
2684 __makecontext_ret.
2685 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2686 (sysdep_routines): Add __start_context when in stdlib.
2687
0fbb0fbc
JM
26882012-11-07 Joseph Myers <joseph@codesourcery.com>
2689
2690 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2691 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2692 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2693 hardcoded "nm".
2694 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2695 (READELF): New variable. Use it instead of hardcoded "readelf".
2696
eb48db7e
L
26972012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2698
2699 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2700 * sysdeps/x86/Makefile: Here.
2701 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2702 * sysdeps/x86/tst-xmmymm.sh: This.
2703
05bcf62a
JM
27042012-11-07 Joseph Myers <joseph@codesourcery.com>
2705
c4b6cf53
JM
2706 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2707 expectations.
2708 [UNIX98] (pthread_barrier_t): Do not expect.
2709 [UNIX98] (pthread_barrierattr_t): Likewise.
2710 [UNIX98] (pthread_spinlock_t): Likewise.
2711 [UNIX98] (pthread_barrier_destroy): Likewise.
2712 [UNIX98] (pthread_barrier_init): Likewise.
2713 [UNIX98] (pthread_barrier_wait): Likewise.
2714 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2715 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2716 [UNIX98] (pthread_barrierattr_init): Likewise.
2717 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2718 [UNIX98] (pthread_getcpuclockid): Likewise.
2719 [UNIX98] (pthread_mutex_timedlock): Likewise.
2720 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2721 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2722 [UNIX98] (pthread_sigmask): Likewise.
2723 [UNIX98] (pthread_spin_destroy): Likewise.
2724 [UNIX98] (pthread_spin_init): Likewise.
2725 [UNIX98] (pthread_spin_lock): Likewise.
2726 [UNIX98] (pthread_spin_trylock): Likewise.
2727 [UNIX98] (pthread_spin_unlock): Likewise.
2728 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2729 Do not expect.
2730 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2731 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2732 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2733 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2734 [XPG3 || XPG4] (pthread_key_t): Likewise.
2735 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2736 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2737 [XPG3 || XPG4] (pthread_once_t): Likewise.
2738 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2739 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2740 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2741 [XPG3 || XPG4] (pthread_t): Likewise.
2742
cbe6e120
JM
2743 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2744 not expect.
2745 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2746
1b126443
JM
2747 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2748 Change function return type to int.
2749
b961a573
JM
2750 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2751 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2752 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2753 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2754 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2755 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2756 [!POSIX] (posix_madvise): Likewise.
2757 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2758 && !UNIX98].
2759 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2760 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2761 (mode_t): Likewise.
2762 (posix_mem_offset): Likewise.
2763 (posix_typed_mem_get_info): Likewise.
2764 (posix_typed_mem_open): Likewise.
2765
9e188909
JM
2766 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2767 Change condition to [XOPEN2K8].
2768
05bcf62a
JM
2769 * conform/conformtest.pl: Preprocess allow-header data with -x c
2770 instead of from stdin.
2771 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2772 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2773 [C99-based standards] (cerfc): Likewise.
2774 [C99-based standards] (cexp2): Likewise.
2775 [C99-based standards] (cexpm1): Likewise.
2776 [C99-based standards] (clog10): Likewise.
2777 [C99-based standards] (clog1p): Likewise.
2778 [C99-based standards] (clog2): Likewise.
2779 [C99-based standards] (clgamma): Likewise.
2780 [C99-based standards] (ctgamma): Likewise.
2781 [C99-based standards] (cerff): Likewise.
2782 [C99-based standards] (cerfcf): Likewise.
2783 [C99-based standards] (cexp2f): Likewise.
2784 [C99-based standards] (cexpm1f): Likewise.
2785 [C99-based standards] (clog10f): Likewise.
2786 [C99-based standards] (clog1pf): Likewise.
2787 [C99-based standards] (clog2f): Likewise.
2788 [C99-based standards] (clgammaf): Likewise.
2789 [C99-based standards] (ctgammaf): Likewise.
2790 [C99-based standards] (cerfl): Likewise.
2791 [C99-based standards] (cerfcl): Likewise.
2792 [C99-based standards] (cexp2l): Likewise.
2793 [C99-based standards] (cexpm1l): Likewise.
2794 [C99-based standards] (clog10l): Likewise.
2795 [C99-based standards] (clog1pl): Likewise.
2796 [C99-based standards] (clog2l): Likewise.
2797 [C99-based standards] (clgammal): Likewise.
2798 [C99-based standards] (ctgammal): Likewise.
2799 * conform/data/inttypes.h-data [C99-based standards]: Include
2800 stdint.h-data. Remove all expectations for stdint.h contents.
2801 [C99-based standards] (PRI*): Do not allow.
2802 [C99-based standards] (SCN*): Likewise.
2803 [C99-based standards] (*_t): Likewise.
2804 [C99-based-standards] (PRId8): Expect macro.
2805 [C99-based-standards] (PRIi8): Likewise.
2806 [C99-based-standards] (PRIo8): Likewise.
2807 [C99-based-standards] (PRIu8): Likewise.
2808 [C99-based-standards] (PRIx8): Likewise.
2809 [C99-based-standards] (PRIX8): Likewise.
2810 [C99-based-standards] (SCNd8): Likewise.
2811 [C99-based-standards] (SCNi8): Likewise.
2812 [C99-based-standards] (SCNo8): Likewise.
2813 [C99-based-standards] (SCNu8): Likewise.
2814 [C99-based-standards] (SCNx8): Likewise.
2815 [C99-based-standards] (PRIdLEAST8): Likewise.
2816 [C99-based-standards] (PRIiLEAST8): Likewise.
2817 [C99-based-standards] (PRIoLEAST8): Likewise.
2818 [C99-based-standards] (PRIuLEAST8): Likewise.
2819 [C99-based-standards] (PRIxLEAST8): Likewise.
2820 [C99-based-standards] (PRIXLEAST8): Likewise.
2821 [C99-based-standards] (SCNdLEAST8): Likewise.
2822 [C99-based-standards] (SCNiLEAST8): Likewise.
2823 [C99-based-standards] (SCNoLEAST8): Likewise.
2824 [C99-based-standards] (SCNuLEAST8): Likewise.
2825 [C99-based-standards] (SCNxLEAST8): Likewise.
2826 [C99-based-standards] (PRIdFAST8): Likewise.
2827 [C99-based-standards] (PRIiFAST8): Likewise.
2828 [C99-based-standards] (PRIoFAST8): Likewise.
2829 [C99-based-standards] (PRIuFAST8): Likewise.
2830 [C99-based-standards] (PRIxFAST8): Likewise.
2831 [C99-based-standards] (PRIXFAST8): Likewise.
2832 [C99-based-standards] (SCNdFAST8): Likewise.
2833 [C99-based-standards] (SCNiFAST8): Likewise.
2834 [C99-based-standards] (SCNoFAST8): Likewise.
2835 [C99-based-standards] (SCNuFAST8): Likewise.
2836 [C99-based-standards] (SCNxFAST8): Likewise.
2837 [C99-based-standards] (PRId16): Likewise.
2838 [C99-based-standards] (PRIi16): Likewise.
2839 [C99-based-standards] (PRIo16): Likewise.
2840 [C99-based-standards] (PRIu16): Likewise.
2841 [C99-based-standards] (PRIx16): Likewise.
2842 [C99-based-standards] (PRIX16): Likewise.
2843 [C99-based-standards] (SCNd16): Likewise.
2844 [C99-based-standards] (SCNi16): Likewise.
2845 [C99-based-standards] (SCNo16): Likewise.
2846 [C99-based-standards] (SCNu16): Likewise.
2847 [C99-based-standards] (SCNx16): Likewise.
2848 [C99-based-standards] (PRIdLEAST16): Likewise.
2849 [C99-based-standards] (PRIiLEAST16): Likewise.
2850 [C99-based-standards] (PRIoLEAST16): Likewise.
2851 [C99-based-standards] (PRIuLEAST16): Likewise.
2852 [C99-based-standards] (PRIxLEAST16): Likewise.
2853 [C99-based-standards] (PRIXLEAST16): Likewise.
2854 [C99-based-standards] (SCNdLEAST16): Likewise.
2855 [C99-based-standards] (SCNiLEAST16): Likewise.
2856 [C99-based-standards] (SCNoLEAST16): Likewise.
2857 [C99-based-standards] (SCNuLEAST16): Likewise.
2858 [C99-based-standards] (SCNxLEAST16): Likewise.
2859 [C99-based-standards] (PRIdFAST16): Likewise.
2860 [C99-based-standards] (PRIiFAST16): Likewise.
2861 [C99-based-standards] (PRIoFAST16): Likewise.
2862 [C99-based-standards] (PRIuFAST16): Likewise.
2863 [C99-based-standards] (PRIxFAST16): Likewise.
2864 [C99-based-standards] (PRIXFAST16): Likewise.
2865 [C99-based-standards] (SCNdFAST16): Likewise.
2866 [C99-based-standards] (SCNiFAST16): Likewise.
2867 [C99-based-standards] (SCNoFAST16): Likewise.
2868 [C99-based-standards] (SCNuFAST16): Likewise.
2869 [C99-based-standards] (SCNxFAST16): Likewise.
2870 [C99-based-standards] (PRId32): Likewise.
2871 [C99-based-standards] (PRIi32): Likewise.
2872 [C99-based-standards] (PRIo32): Likewise.
2873 [C99-based-standards] (PRIu32): Likewise.
2874 [C99-based-standards] (PRIx32): Likewise.
2875 [C99-based-standards] (PRIX32): Likewise.
2876 [C99-based-standards] (SCNd32): Likewise.
2877 [C99-based-standards] (SCNi32): Likewise.
2878 [C99-based-standards] (SCNo32): Likewise.
2879 [C99-based-standards] (SCNu32): Likewise.
2880 [C99-based-standards] (SCNx32): Likewise.
2881 [C99-based-standards] (PRIdLEAST32): Likewise.
2882 [C99-based-standards] (PRIiLEAST32): Likewise.
2883 [C99-based-standards] (PRIoLEAST32): Likewise.
2884 [C99-based-standards] (PRIuLEAST32): Likewise.
2885 [C99-based-standards] (PRIxLEAST32): Likewise.
2886 [C99-based-standards] (PRIXLEAST32): Likewise.
2887 [C99-based-standards] (SCNdLEAST32): Likewise.
2888 [C99-based-standards] (SCNiLEAST32): Likewise.
2889 [C99-based-standards] (SCNoLEAST32): Likewise.
2890 [C99-based-standards] (SCNuLEAST32): Likewise.
2891 [C99-based-standards] (SCNxLEAST32): Likewise.
2892 [C99-based-standards] (PRIdFAST32): Likewise.
2893 [C99-based-standards] (PRIiFAST32): Likewise.
2894 [C99-based-standards] (PRIoFAST32): Likewise.
2895 [C99-based-standards] (PRIuFAST32): Likewise.
2896 [C99-based-standards] (PRIxFAST32): Likewise.
2897 [C99-based-standards] (PRIXFAST32): Likewise.
2898 [C99-based-standards] (SCNdFAST32): Likewise.
2899 [C99-based-standards] (SCNiFAST32): Likewise.
2900 [C99-based-standards] (SCNoFAST32): Likewise.
2901 [C99-based-standards] (SCNuFAST32): Likewise.
2902 [C99-based-standards] (SCNxFAST32): Likewise.
2903 [C99-based-standards] (PRId64): Likewise.
2904 [C99-based-standards] (PRIi64): Likewise.
2905 [C99-based-standards] (PRIo64): Likewise.
2906 [C99-based-standards] (PRIu64): Likewise.
2907 [C99-based-standards] (PRIx64): Likewise.
2908 [C99-based-standards] (PRIX64): Likewise.
2909 [C99-based-standards] (SCNd64): Likewise.
2910 [C99-based-standards] (SCNi64): Likewise.
2911 [C99-based-standards] (SCNo64): Likewise.
2912 [C99-based-standards] (SCNu64): Likewise.
2913 [C99-based-standards] (SCNx64): Likewise.
2914 [C99-based-standards] (PRIdLEAST64): Likewise.
2915 [C99-based-standards] (PRIiLEAST64): Likewise.
2916 [C99-based-standards] (PRIoLEAST64): Likewise.
2917 [C99-based-standards] (PRIuLEAST64): Likewise.
2918 [C99-based-standards] (PRIxLEAST64): Likewise.
2919 [C99-based-standards] (PRIXLEAST64): Likewise.
2920 [C99-based-standards] (SCNdLEAST64): Likewise.
2921 [C99-based-standards] (SCNiLEAST64): Likewise.
2922 [C99-based-standards] (SCNoLEAST64): Likewise.
2923 [C99-based-standards] (SCNuLEAST64): Likewise.
2924 [C99-based-standards] (SCNxLEAST64): Likewise.
2925 [C99-based-standards] (PRIdFAST64): Likewise.
2926 [C99-based-standards] (PRIiFAST64): Likewise.
2927 [C99-based-standards] (PRIoFAST64): Likewise.
2928 [C99-based-standards] (PRIuFAST64): Likewise.
2929 [C99-based-standards] (PRIxFAST64): Likewise.
2930 [C99-based-standards] (PRIXFAST64): Likewise.
2931 [C99-based-standards] (SCNdFAST64): Likewise.
2932 [C99-based-standards] (SCNiFAST64): Likewise.
2933 [C99-based-standards] (SCNoFAST64): Likewise.
2934 [C99-based-standards] (SCNuFAST64): Likewise.
2935 [C99-based-standards] (SCNxFAST64): Likewise.
2936 [C99-based-standards] (PRIdMAX): Likewise.
2937 [C99-based-standards] (PRIiMAX): Likewise.
2938 [C99-based-standards] (PRIoMAX): Likewise.
2939 [C99-based-standards] (PRIuMAX): Likewise.
2940 [C99-based-standards] (PRIxMAX): Likewise.
2941 [C99-based-standards] (PRIXMAX): Likewise.
2942 [C99-based-standards] (SCNdMAX): Likewise.
2943 [C99-based-standards] (SCNiMAX): Likewise.
2944 [C99-based-standards] (SCNoMAX): Likewise.
2945 [C99-based-standards] (SCNuMAX): Likewise.
2946 [C99-based-standards] (SCNxMAX): Likewise.
2947 [C99-based-standards] (PRIdPTR): Likewise.
2948 [C99-based-standards] (PRIiPTR): Likewise.
2949 [C99-based-standards] (PRIoPTR): Likewise.
2950 [C99-based-standards] (PRIuPTR): Likewise.
2951 [C99-based-standards] (PRIxPTR): Likewise.
2952 [C99-based-standards] (PRIXPTR): Likewise.
2953 [C99-based-standards] (SCNdPTR): Likewise.
2954 [C99-based-standards] (SCNiPTR): Likewise.
2955 [C99-based-standards] (SCNoPTR): Likewise.
2956 [C99-based-standards] (SCNuPTR): Likewise.
2957 [C99-based-standards] (SCNxPTR): Likewise.
2958 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2959 allow.
2960 * conform/data/stdint.h-data: Update comments to clarify
2961 requirements.
2962 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2963 type.
2964 [C99-based standards] (INT8_MAX): Likewise.
2965 [C99-based standards] (INT16_MIN): Likewise.
2966 [C99-based standards] (INT16_MAX): Likewise.
2967 [C99-based standards] (INT32_MIN): Likewise.
2968 [C99-based standards] (INT32_MAX): Likewise.
2969 [C99-based standards] (INT64_MIN): Likewise.
2970 [C99-based standards] (INT64_MAX): Likewise.
2971 [C99-based standards] (UINT8_MAX): Likewise.
2972 [C99-based standards] (UINT16_MAX): Likewise.
2973 [C99-based standards] (UINT32_MAX): Likewise.
2974 [C99-based standards] (UINT64_MAX): Likewise.
2975 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2976 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2977 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2978 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2979 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2980 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2981 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2982 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2983 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2984 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2985 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2986 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2987 [C99-based standards] (INT_FAST8_MIN): Likewise.
2988 [C99-based standards] (INT_FAST8_MAX): Likewise.
2989 [C99-based standards] (INT_FAST16_MIN): Likewise.
2990 [C99-based standards] (INT_FAST16_MAX): Likewise.
2991 [C99-based standards] (INT_FAST32_MIN): Likewise.
2992 [C99-based standards] (INT_FAST32_MAX): Likewise.
2993 [C99-based standards] (INT_FAST64_MIN): Likewise.
2994 [C99-based standards] (INT_FAST64_MAX): Likewise.
2995 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2996 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2997 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2998 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2999 [C99-based standards] (INTPTR_MIN): Likewise.
3000 [C99-based standards] (INTPTR_MAX): Likewise.
3001 [C99-based standards] (UINTPTR_MAX): Likewise.
3002 [C99-based standards] (INTMAX_MIN): Likewise.
3003 [C99-based standards] (INTMAX_MAX): Likewise.
3004 [C99-based standards] (UINTMAX_MAX): Likewise.
3005 [C99-based standards] (PTRDIFF_MIN): Likewise.
3006 [C99-based standards] (PTRDIFF_MAX): Likewise.
3007 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3008 [C99-based standards] (SIZE_MAX): Likewise.
3009 [C99-based standards] (WCHAR_MAX): Likewise.
3010 [C99-based standards] (WINT_MAX): Likewise.
3011 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3012 constraint on value.
3013 [C99-based standards] (WCHAR_MIN): Likewise.
3014 [C99-based standards] (WINT_MIN): Likewise.
3015 [C99-based standards] (*_t): Allow.
3016 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3017 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3018 Include math.h-data and complex.h-data. Remove all expectations
3019 of math.h and complex.h contents.
3020 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3021 at end of line.
3022 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3023 (struct tm): Expect tag.
3024 [C99-based-standards] (wcstof): Expect function.
3025 [C99-based-standards] (wcstold): Likewise.
3026 [C99-based-standards] (wcstoll): Likewise.
3027 [C99-based-standards] (wcstoull): Likewise.
3028 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3029 macro-int-constant. Specify type.
3030 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3031 constraint on value.
3032 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3033 Specify type.
3034 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3035 Specify value.
3036 [ISO C standards]: Do not allow headers.
3037 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3038 wcs[abcdefghijklmnopqrstuvwxyz]*.
3039 [ISO C standards] (*_t): Do not allow.
3040 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3041 Expect function.
3042 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3043 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3044 Specify type.
3045 [ISO C standards]: Do not allow headers.
3046 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3047 is[abcdefghijklmnopqrstuvwxyz]*.
3048 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3049 to[abcdefghijklmnopqrstuvwxyz]*.
3050 [ISO C standards] (*_t): Do not allow.
3051 * conform/data/stdalign.h-data: New file.
3052 * conform/data/stdbool.h-data: Likewise.
3053 * conform/data/stdnoreturn.h-data: Likewise.
3054
7514feb8
RM
30552012-11-07 Roland McGrath <roland@hack.frob.com>
3056
3057 [BZ #14815]
3058 * manual/filesys.texi (Directory Entries): Typo fix.
3059 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3060
19b2ecfc
MS
30612012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3062
3063 * elf/elf.h (EM_AARCH64): New macro.
3064 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3065 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3066 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3067 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3068 (R_AARCH64_TLSDESC): Likewise.
3069 (NT_ARM_TLS): Likewise.
3070 (NT_ARM_HW_BREAK): Likewise.
3071 (NT_ARM_HW_WATCH): Likewise.
3072
60e235ee
JM
30732012-11-07 Joseph Myers <joseph@codesourcery.com>
3074
3075 [BZ #14811]
3076 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3077 (__ieee754_powl): Saturate nonzero exponents with absolute value
3078 below 0x1p-79 to +/- 0x1p-79.
3079 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3080 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3081 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3082 nonzero exponents with absolute value below 0x1p-32 to +/-
3083 0x1p-32.
3084 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3085 (__ieee754_powl): Saturate nonzero exponents with absolute value
3086 below 0x1p-79 to +/- 0x1p-79.
3087 * math/libm-test.inc (pow_test): Add more tests.
3088
0ab234b7
AK
30892012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3090
3091 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3092 _dl_s390_cap_flags with kernel. Increase string length.
3093 (_dl_s390_platforms): Add z196 and zEC12.
3094
45832f74
JM
30952012-11-07 Joseph Myers <joseph@codesourcery.com>
3096
3097 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3098 Change XOPEN21K to XOPEN2K.
3099
19218757
MK
31002012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3101
3102 * string/memmove.c: Use memcpy when possible.
3103
c5f45721
AJ
31042012-11-06 Andreas Jaeger <aj@suse.de>
3105
3106 * po/eo.po: Update from translation team.
3107
82477c28
JM
31082012-11-06 Joseph Myers <joseph@codesourcery.com>
3109
3110 [BZ #14793]
3111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3112 exponent and small x and y exponents, scale x or y up. Increase
3113 by 2 the exponent used in scaling up.
3114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3115 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3116 * math/libm-test.inc (fma_test): Add more tests.
3117 (fma_test_towardzero): Likewise.
3118 (fma_test_downward): Likewise.
3119 (fma_test_upward): Likewise.
3120
99252c8c
JM
31212012-11-05 Joseph Myers <joseph@codesourcery.com>
3122
acfa885f
JM
3123 [BZ #14805]
3124 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3125 fenv_t *.
3126
99252c8c
JM
3127 [BZ #14801]
3128 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3129 namespace for names of struct fields.
3130 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3131 fenv_t fields.
3132 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3133 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3134
d6d98dea
ST
31352012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3136
3137 [BZ #3665]
3138 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3139
e10bb107
TS
31402012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3141
3142 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3143 PTR_DEMANGLE.
3144
3145 [BZ #5246]
3146 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3147 PTR_DEMANGLE.
3148
a0c2940d
JM
31492012-11-04 Joseph Myers <joseph@codesourcery.com>
3150
3151 [BZ #14797]
3152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3153 definitely overflow as x * y not x * y + z.
3154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3155 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3156 * math/libm-test.inc (fma_test): Add more tests.
3157 (fma_test_towardzero): Likewise.
3158 (fma_test_downward): Likewise.
3159 (fma_test_upward): Likewise.
3160
b830319d
TS
31612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3162
3163 [BZ #157]
3164
3165 * include/stub-tag.h: Remove file.
3166 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3167 '#include' of it.
3168 * manual/maint.texi (Porting): Don't reference it.
3169 * Makerules ($(objpfx)stubs): Likewise.
3170 * dirent/closedir.c: Don't include <stub-tag.h>.
3171 * dirent/dirfd.c: Likewise.
3172 * dirent/fdopendir.c: Likewise.
3173 * dirent/getdents.c: Likewise.
3174 * dirent/getdents64.c: Likewise.
3175 * dirent/opendir.c: Likewise.
3176 * dirent/readdir.c: Likewise.
3177 * dirent/readdir64.c: Likewise.
3178 * dirent/readdir64_r.c: Likewise.
3179 * dirent/readdir_r.c: Likewise.
3180 * dirent/rewinddir.c: Likewise.
3181 * dirent/seekdir.c: Likewise.
3182 * dirent/telldir.c: Likewise.
3183 * gmon/profil.c: Likewise.
3184 * grp/setgroups.c: Likewise.
3185 * inet/if_index.c: Likewise.
3186 * io/access.c: Likewise.
3187 * io/chdir.c: Likewise.
3188 * io/chmod.c: Likewise.
3189 * io/chown.c: Likewise.
3190 * io/close.c: Likewise.
3191 * io/dup.c: Likewise.
3192 * io/dup2.c: Likewise.
3193 * io/dup3.c: Likewise.
3194 * io/euidaccess.c: Likewise.
3195 * io/faccessat.c: Likewise.
3196 * io/fchdir.c: Likewise.
3197 * io/fchmod.c: Likewise.
3198 * io/fchmodat.c: Likewise.
3199 * io/fchown.c: Likewise.
3200 * io/fchownat.c: Likewise.
3201 * io/fcntl.c: Likewise.
3202 * io/flock.c: Likewise.
3203 * io/fstatfs.c: Likewise.
3204 * io/fstatfs64.c: Likewise.
3205 * io/fstatvfs.c: Likewise.
3206 * io/fstatvfs64.c: Likewise.
3207 * io/futimens.c: Likewise.
3208 * io/fxstat.c: Likewise.
3209 * io/fxstat64.c: Likewise.
3210 * io/fxstatat.c: Likewise.
3211 * io/fxstatat64.c: Likewise.
3212 * io/getcwd.c: Likewise.
3213 * io/isatty.c: Likewise.
3214 * io/lchmod.c: Likewise.
3215 * io/lchown.c: Likewise.
3216 * io/link.c: Likewise.
3217 * io/linkat.c: Likewise.
3218 * io/lseek.c: Likewise.
3219 * io/lseek64.c: Likewise.
3220 * io/lxstat64.c: Likewise.
3221 * io/mkdir.c: Likewise.
3222 * io/mkdirat.c: Likewise.
3223 * io/mkfifo.c: Likewise.
3224 * io/mkfifoat.c: Likewise.
3225 * io/open.c: Likewise.
3226 * io/open64.c: Likewise.
3227 * io/openat.c: Likewise.
3228 * io/openat64.c: Likewise.
3229 * io/pipe.c: Likewise.
3230 * io/pipe2.c: Likewise.
3231 * io/poll.c: Likewise.
3232 * io/posix_fadvise.c: Likewise.
3233 * io/posix_fadvise64.c: Likewise.
3234 * io/posix_fallocate.c: Likewise.
3235 * io/posix_fallocate64.c: Likewise.
3236 * io/read.c: Likewise.
3237 * io/readlink.c: Likewise.
3238 * io/readlinkat.c: Likewise.
3239 * io/rmdir.c: Likewise.
3240 * io/sendfile.c: Likewise.
3241 * io/sendfile64.c: Likewise.
3242 * io/statfs.c: Likewise.
3243 * io/statfs64.c: Likewise.
3244 * io/statvfs.c: Likewise.
3245 * io/statvfs64.c: Likewise.
3246 * io/symlink.c: Likewise.
3247 * io/symlinkat.c: Likewise.
3248 * io/ttyname.c: Likewise.
3249 * io/ttyname_r.c: Likewise.
3250 * io/umask.c: Likewise.
3251 * io/unlink.c: Likewise.
3252 * io/unlinkat.c: Likewise.
3253 * io/utime.c: Likewise.
3254 * io/utimensat.c: Likewise.
3255 * io/write.c: Likewise.
3256 * io/xmknod.c: Likewise.
3257 * io/xmknodat.c: Likewise.
3258 * io/xstat.c: Likewise.
3259 * io/xstat64.c: Likewise.
3260 * login/getpt.c: Likewise.
3261 * login/grantpt.c: Likewise.
3262 * login/unlockpt.c: Likewise.
3263 * math/e_acoshl.c: Likewise.
3264 * math/e_acosl.c: Likewise.
3265 * math/e_asinl.c: Likewise.
3266 * math/e_atan2l.c: Likewise.
3267 * math/e_atanhl.c: Likewise.
3268 * math/e_coshl.c: Likewise.
3269 * math/e_expl.c: Likewise.
3270 * math/e_fmodl.c: Likewise.
3271 * math/e_gammal_r.c: Likewise.
3272 * math/e_hypotl.c: Likewise.
3273 * math/e_j0l.c: Likewise.
3274 * math/e_j1l.c: Likewise.
3275 * math/e_jnl.c: Likewise.
3276 * math/e_lgammal_r.c: Likewise.
3277 * math/e_log10l.c: Likewise.
3278 * math/e_log2l.c: Likewise.
3279 * math/e_logl.c: Likewise.
3280 * math/e_powl.c: Likewise.
3281 * math/e_rem_pio2l.c: Likewise.
3282 * math/e_sinhl.c: Likewise.
3283 * math/e_sqrtl.c: Likewise.
3284 * math/fclrexcpt.c: Likewise.
3285 * math/fedisblxcpt.c: Likewise.
3286 * math/feenablxcpt.c: Likewise.
3287 * math/fegetenv.c: Likewise.
3288 * math/fegetexcept.c: Likewise.
3289 * math/fegetround.c: Likewise.
3290 * math/feholdexcpt.c: Likewise.
3291 * math/fesetenv.c: Likewise.
3292 * math/fesetround.c: Likewise.
3293 * math/feupdateenv.c: Likewise.
3294 * math/fgetexcptflg.c: Likewise.
3295 * math/fraiseexcpt.c: Likewise.
3296 * math/fsetexcptflg.c: Likewise.
3297 * math/ftestexcept.c: Likewise.
3298 * math/k_cosl.c: Likewise.
3299 * math/k_rem_pio2l.c: Likewise.
3300 * math/k_sinl.c: Likewise.
3301 * math/k_tanl.c: Likewise.
3302 * math/s_asinhl.c: Likewise.
3303 * math/s_atanl.c: Likewise.
3304 * math/s_cbrtl.c: Likewise.
3305 * math/s_erfl.c: Likewise.
3306 * math/s_expm1l.c: Likewise.
3307 * math/s_log1pl.c: Likewise.
3308 * math/s_tanhl.c: Likewise.
3309 * misc/acct.c: Likewise.
3310 * misc/brk.c: Likewise.
3311 * misc/chflags.c: Likewise.
3312 * misc/chroot.c: Likewise.
3313 * misc/fchflags.c: Likewise.
3314 * misc/fgetxattr.c: Likewise.
3315 * misc/flistxattr.c: Likewise.
3316 * misc/fremovexattr.c: Likewise.
3317 * misc/fsetxattr.c: Likewise.
3318 * misc/fsync.c: Likewise.
3319 * misc/ftruncate.c: Likewise.
3320 * misc/futimes.c: Likewise.
3321 * misc/futimesat.c: Likewise.
3322 * misc/getdomain.c: Likewise.
3323 * misc/getdtsz.c: Likewise.
3324 * misc/gethostid.c: Likewise.
3325 * misc/gethostname.c: Likewise.
3326 * misc/getloadavg.c: Likewise.
3327 * misc/getpagesize.c: Likewise.
3328 * misc/getsysstats.c: Likewise.
3329 * misc/getxattr.c: Likewise.
3330 * misc/gtty.c: Likewise.
3331 * misc/ioctl.c: Likewise.
3332 * misc/lgetxattr.c: Likewise.
3333 * misc/listxattr.c: Likewise.
3334 * misc/llistxattr.c: Likewise.
3335 * misc/lremovexattr.c: Likewise.
3336 * misc/lsetxattr.c: Likewise.
3337 * misc/lutimes.c: Likewise.
3338 * misc/madvise.c: Likewise.
3339 * misc/mincore.c: Likewise.
3340 * misc/mlock.c: Likewise.
3341 * misc/mlockall.c: Likewise.
3342 * misc/mmap.c: Likewise.
3343 * misc/mprotect.c: Likewise.
3344 * misc/msync.c: Likewise.
3345 * misc/munlock.c: Likewise.
3346 * misc/munlockall.c: Likewise.
3347 * misc/munmap.c: Likewise.
3348 * misc/preadv.c: Likewise.
3349 * misc/preadv64.c: Likewise.
3350 * misc/ptrace.c: Likewise.
3351 * misc/pwritev.c: Likewise.
3352 * misc/pwritev64.c: Likewise.
3353 * misc/readv.c: Likewise.
3354 * misc/reboot.c: Likewise.
3355 * misc/remap_file_pages.c: Likewise.
3356 * misc/removexattr.c: Likewise.
3357 * misc/revoke.c: Likewise.
3358 * misc/select.c: Likewise.
3359 * misc/setdomain.c: Likewise.
3360 * misc/setegid.c: Likewise.
3361 * misc/seteuid.c: Likewise.
3362 * misc/sethostid.c: Likewise.
3363 * misc/sethostname.c: Likewise.
3364 * misc/setregid.c: Likewise.
3365 * misc/setreuid.c: Likewise.
3366 * misc/setxattr.c: Likewise.
3367 * misc/sstk.c: Likewise.
3368 * misc/stty.c: Likewise.
3369 * misc/swapoff.c: Likewise.
3370 * misc/swapon.c: Likewise.
3371 * misc/sync.c: Likewise.
3372 * misc/syncfs.c: Likewise.
3373 * misc/syscall.c: Likewise.
3374 * misc/truncate.c: Likewise.
3375 * misc/ualarm.c: Likewise.
3376 * misc/usleep.c: Likewise.
3377 * misc/ustat.c: Likewise.
3378 * misc/utimes.c: Likewise.
3379 * misc/vhangup.c: Likewise.
3380 * misc/writev.c: Likewise.
3381 * posix/_exit.c: Likewise.
3382 * posix/alarm.c: Likewise.
3383 * posix/execve.c: Likewise.
3384 * posix/fexecve.c: Likewise.
3385 * posix/fork.c: Likewise.
3386 * posix/fpathconf.c: Likewise.
3387 * posix/getaddrinfo.c: Likewise.
3388 * posix/getegid.c: Likewise.
3389 * posix/geteuid.c: Likewise.
3390 * posix/getgid.c: Likewise.
3391 * posix/getgroups.c: Likewise.
3392 * posix/getlogin.c: Likewise.
3393 * posix/getlogin_r.c: Likewise.
3394 * posix/getpgid.c: Likewise.
3395 * posix/getpid.c: Likewise.
3396 * posix/getppid.c: Likewise.
3397 * posix/getresgid.c: Likewise.
3398 * posix/getresuid.c: Likewise.
3399 * posix/getsid.c: Likewise.
3400 * posix/getuid.c: Likewise.
3401 * posix/glob64.c: Likewise.
3402 * posix/nanosleep.c: Likewise.
3403 * posix/pathconf.c: Likewise.
3404 * posix/pause.c: Likewise.
3405 * posix/posix_madvise.c: Likewise.
3406 * posix/pread.c: Likewise.
3407 * posix/pread64.c: Likewise.
3408 * posix/pwrite.c: Likewise.
3409 * posix/pwrite64.c: Likewise.
3410 * posix/sched_getaffinity.c: Likewise.
3411 * posix/sched_getp.c: Likewise.
3412 * posix/sched_gets.c: Likewise.
3413 * posix/sched_primax.c: Likewise.
3414 * posix/sched_primin.c: Likewise.
3415 * posix/sched_rr_gi.c: Likewise.
3416 * posix/sched_setaffinity.c: Likewise.
3417 * posix/sched_setp.c: Likewise.
3418 * posix/sched_sets.c: Likewise.
3419 * posix/sched_yield.c: Likewise.
3420 * posix/setgid.c: Likewise.
3421 * posix/setlogin.c: Likewise.
3422 * posix/setpgid.c: Likewise.
3423 * posix/setresgid.c: Likewise.
3424 * posix/setresuid.c: Likewise.
3425 * posix/setsid.c: Likewise.
3426 * posix/setuid.c: Likewise.
3427 * posix/sleep.c: Likewise.
3428 * posix/spawni.c: Likewise.
3429 * posix/sysconf.c: Likewise.
3430 * posix/times.c: Likewise.
3431 * posix/wait.c: Likewise.
3432 * posix/wait3.c: Likewise.
3433 * posix/wait4.c: Likewise.
3434 * posix/waitpid.c: Likewise.
3435 * resolv/gai_sigqueue.c: Likewise.
3436 * resource/getpriority.c: Likewise.
3437 * resource/getrlimit.c: Likewise.
3438 * resource/getrusage.c: Likewise.
3439 * resource/nice.c: Likewise.
3440 * resource/setpriority.c: Likewise.
3441 * resource/setrlimit.c: Likewise.
3442 * resource/ulimit.c: Likewise.
3443 * rt/aio_cancel.c: Likewise.
3444 * rt/aio_fsync.c: Likewise.
3445 * rt/aio_read.c: Likewise.
3446 * rt/aio_sigqueue.c: Likewise.
3447 * rt/aio_suspend.c: Likewise.
3448 * rt/aio_write.c: Likewise.
3449 * rt/clock_getres.c: Likewise.
3450 * rt/clock_gettime.c: Likewise.
3451 * rt/clock_nanosleep.c: Likewise.
3452 * rt/clock_settime.c: Likewise.
3453 * rt/lio_listio.c: Likewise.
3454 * rt/mq_close.c: Likewise.
3455 * rt/mq_getattr.c: Likewise.
3456 * rt/mq_notify.c: Likewise.
3457 * rt/mq_open.c: Likewise.
3458 * rt/mq_receive.c: Likewise.
3459 * rt/mq_send.c: Likewise.
3460 * rt/mq_setattr.c: Likewise.
3461 * rt/mq_timedreceive.c: Likewise.
3462 * rt/mq_timedsend.c: Likewise.
3463 * rt/mq_unlink.c: Likewise.
3464 * rt/shm_open.c: Likewise.
3465 * rt/shm_unlink.c: Likewise.
3466 * rt/timer_create.c: Likewise.
3467 * rt/timer_delete.c: Likewise.
3468 * rt/timer_getoverr.c: Likewise.
3469 * rt/timer_gettime.c: Likewise.
3470 * rt/timer_settime.c: Likewise.
3471 * setjmp/__longjmp.c: Likewise.
3472 * setjmp/setjmp.c: Likewise.
3473 * signal/kill.c: Likewise.
3474 * signal/killpg.c: Likewise.
3475 * signal/raise.c: Likewise.
3476 * signal/sigaction.c: Likewise.
3477 * signal/sigaltstack.c: Likewise.
3478 * signal/sigblock.c: Likewise.
3479 * signal/sigignore.c: Likewise.
3480 * signal/sigintr.c: Likewise.
3481 * signal/signal.c: Likewise.
3482 * signal/sigpause.c: Likewise.
3483 * signal/sigpending.c: Likewise.
3484 * signal/sigqueue.c: Likewise.
3485 * signal/sigreturn.c: Likewise.
3486 * signal/sigset.c: Likewise.
3487 * signal/sigsetmask.c: Likewise.
3488 * signal/sigstack.c: Likewise.
3489 * signal/sigsuspend.c: Likewise.
3490 * signal/sigtimedwait.c: Likewise.
3491 * signal/sigvec.c: Likewise.
3492 * signal/sigwait.c: Likewise.
3493 * signal/sigwaitinfo.c: Likewise.
3494 * signal/sysv_signal.c: Likewise.
3495 * socket/accept.c: Likewise.
3496 * socket/accept4.c: Likewise.
3497 * socket/bind.c: Likewise.
3498 * socket/connect.c: Likewise.
3499 * socket/getpeername.c: Likewise.
3500 * socket/getsockname.c: Likewise.
3501 * socket/getsockopt.c: Likewise.
3502 * socket/isfdtype.c: Likewise.
3503 * socket/listen.c: Likewise.
3504 * socket/recv.c: Likewise.
3505 * socket/recvfrom.c: Likewise.
3506 * socket/recvmsg.c: Likewise.
3507 * socket/send.c: Likewise.
3508 * socket/sendmsg.c: Likewise.
3509 * socket/sendto.c: Likewise.
3510 * socket/setsockopt.c: Likewise.
3511 * socket/shutdown.c: Likewise.
3512 * socket/sockatmark.c: Likewise.
3513 * socket/socket.c: Likewise.
3514 * socket/socketpair.c: Likewise.
3515 * stdio-common/ctermid.c: Likewise.
3516 * stdio-common/cuserid.c: Likewise.
3517 * stdio-common/remove.c: Likewise.
3518 * stdio-common/rename.c: Likewise.
3519 * stdio-common/renameat.c: Likewise.
3520 * stdio-common/tempname.c: Likewise.
3521 * stdlib/getcontext.c: Likewise.
3522 * stdlib/makecontext.c: Likewise.
3523 * stdlib/setcontext.c: Likewise.
3524 * stdlib/swapcontext.c: Likewise.
3525 * stdlib/system.c: Likewise.
3526 * streams/fattach.c: Likewise.
3527 * streams/fdetach.c: Likewise.
3528 * streams/getmsg.c: Likewise.
3529 * streams/getpmsg.c: Likewise.
3530 * streams/putmsg.c: Likewise.
3531 * streams/putpmsg.c: Likewise.
3532 * sysdeps/unix/bsd/getpt.c: Likewise.
3533 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3534 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3535 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3537 Likewise.
3538 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3539 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3540 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3541 * sysvipc/msgctl.c: Likewise.
3542 * sysvipc/msgget.c: Likewise.
3543 * sysvipc/msgrcv.c: Likewise.
3544 * sysvipc/msgsnd.c: Likewise.
3545 * sysvipc/semctl.c: Likewise.
3546 * sysvipc/semget.c: Likewise.
3547 * sysvipc/semop.c: Likewise.
3548 * sysvipc/semtimedop.c: Likewise.
3549 * sysvipc/shmat.c: Likewise.
3550 * sysvipc/shmctl.c: Likewise.
3551 * sysvipc/shmdt.c: Likewise.
3552 * sysvipc/shmget.c: Likewise.
3553 * termios/tcdrain.c: Likewise.
3554 * termios/tcflow.c: Likewise.
3555 * termios/tcflush.c: Likewise.
3556 * termios/tcgetattr.c: Likewise.
3557 * termios/tcgetpgrp.c: Likewise.
3558 * termios/tcsendbrk.c: Likewise.
3559 * termios/tcsetattr.c: Likewise.
3560 * termios/tcsetpgrp.c: Likewise.
3561 * time/adjtime.c: Likewise.
3562 * time/clock.c: Likewise.
3563 * time/getitimer.c: Likewise.
3564 * time/gettimeofday.c: Likewise.
3565 * time/setitimer.c: Likewise.
3566 * time/settimeofday.c: Likewise.
3567 * time/stime.c: Likewise.
3568 * time/time.c: Likewise.
3569
35702012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3571
a20492cf
PT
3572 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3573 /usr/old/bin.
3574
72e182e3
PT
3575 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3576 instead of spaces.
3577 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3578
fbeafede
JM
35792012-11-03 Joseph Myers <joseph@codesourcery.com>
3580
5b5b04d6
JM
3581 [BZ #14796]
3582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3583 FE_TONEAREST before applying Dekker multiplication and Knuth
3584 addition. Clear inexact exceptions and check for exact zero
3585 results afterwards.
3586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3587 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3588 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3589 * math/libm-test.inc (fma_test): Add more tests.
3590 (fma_test_towardzero): Likewise.
3591 (fma_test_downward): Likewise.
3592 (fma_test_upward): Likewise.
3593 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3594 function.
3595 (libc_fesetround): New macro.
3596 (libc_fesetroundf): Likewise.
3597 (libc_fesetroundl): Likewise.
3598 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3599 function.
3600 (libc_fesetround_387): Likewise.
3601 (libc_fesetroundf): New macro.
3602 (libc_fesetround): Likewise.
3603 (libc_fesetroundl): Likewise.
3604 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3605 function.
3606 (libc_fesetroundf): New macro.
3607 (libc_fesetround): Likewise.
3608 (libc_fesetroundl): Likewise.
3609 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3610 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3611 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3612 libm_hidden_ver.
3613 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3614 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3615 libm_hidden_def.
3616 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3617 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3618 libm_hidden_ver.
3619 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3620 libm_hidden_def.
3621
fbeafede
JM
3622 [BZ #3439]
3623 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3624 integer constant usable in #if and use that to give value to enum
3625 constant.
3626 (FE_DIVBYZERO): Likewise.
3627 (FE_UNDERFLOW): Likewise.
3628 (FE_OVERFLOW): Likewise.
3629 (FE_INVALID): Likewise.
3630 (FE_INVALID_SNAN): Likewise.
3631 (FE_INVALID_ISI): Likewise.
3632 (FE_INVALID_IDI): Likewise.
3633 (FE_INVALID_ZDZ): Likewise.
3634 (FE_INVALID_IMZ): Likewise.
3635 (FE_INVALID_COMPARE): Likewise.
3636 (FE_INVALID_SOFTWARE): Likewise.
3637 (FE_INVALID_SQRT): Likewise.
3638 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3639 (FE_TONEAREST): Likewise.
3640 (FE_TOWARDZERO): Likewise.
3641 (FE_UPWARD): Likewise.
3642 (FE_DOWNWARD): Likewise.
3643 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3644 (FE_DIVBYZERO): Likewise.
3645 (FE_OVERFLOW): Likewise.
3646 (FE_UNDERFLOW): Likewise.
3647 (FE_INEXACT): Likewise.
3648 (FE_TONEAREST): Likewise.
3649 (FE_DOWNWARD): Likewise.
3650 (FE_UPWARD): Likewise.
3651 (FE_TOWARDZERO): Likewise.
3652 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3653 (FE_UNDERFLOW): Likewise.
3654 (FE_OVERFLOW): Likewise.
3655 (FE_DIVBYZERO): Likewise.
3656 (FE_INVALID): Likewise.
3657 (FE_TONEAREST): Likewise.
3658 (FE_TOWARDZERO): Likewise.
3659 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3660 (FE_OVERFLOW): Likewise.
3661 (FE_UNDERFLOW): Likewise.
3662 (FE_DIVBYZERO): Likewise.
3663 (FE_INEXACT): Likewise.
3664 (FE_TONEAREST): Likewise.
3665 (FE_TOWARDZERO): Likewise.
3666 (FE_UPWARD): Likewise.
3667 (FE_DOWNWARD): Likewise.
3668 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3669 (FE_DIVBYZERO): Likewise.
3670 (FE_OVERFLOW): Likewise.
3671 (FE_UNDERFLOW): Likewise.
3672 (FE_INEXACT): Likewise.
3673 (FE_TONEAREST): Likewise.
3674 (FE_DOWNWARD): Likewise.
3675 (FE_UPWARD): Likewise.
3676 (FE_TOWARDZERO): Likewise.
3677
105ca950
CM
36782012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3679
3680 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3681
a542b389
AS
36822012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3683
3684 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3685 commands. Quote $PWD.
3686 (blacklist_exports): Don't use remove_newlines. Replace "declare
3687 -x" by "export".
3688 (remove_newlines): Remove.
3689
f62c8abc
L
36902012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3691
3692 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3693 * stdlib/stdlib.h (atof): Moved to ...
3694 * include/bits/stdlib-float.h: Here. New file.
3695 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3696 * stdlib/bits/stdlib-float.h: New file.
3697 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3698 -mno-sse -mno-mmx.
3699 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3700 <xmmintrin.h>.
3701
0155d5b2
JM
37022012-11-02 Joseph Myers <joseph@codesourcery.com>
3703
a68d0680
JM
3704 * conform/conformtest.pl (@headers): Add fenv.h.
3705 * conform/data/fenv.h-data: New file.
3706 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3707 include of <math/fenv.h>.
3708
caf7f573
JM
3709 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3710 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3711 && !UNIX98]. Enables tests for XOPEN2K8.
3712 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3713 POSIX2008]: Likewise.
3714
6c073ad6
JM
3715 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3716 (struct rusage): Do not expect type or its members.
3717
0155d5b2
JM
3718 [BZ #3439]
3719 * math/math.h (FP_NAN): Define macro to integer constant usable in
3720 #if and use that to give value to enum constant.
3721 (FP_INFINITE): Likewise.
3722 (FP_ZERO): Likewise.
3723 (FP_SUBNORMAL): Likewise.
3724 (FP_NORMAL): Likewise.
3725
b5dcacb4
AS
37262012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3727
3728 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3729 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3730 arguments.
3731
f7934be8
RM
37322012-11-02 Roland McGrath <roland@hack.frob.com>
3733
3734 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3735 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3736 autoconf-time if not.
3737 * configure.in: Remove AC_PREREQ.
3738
d7d08bde
TMQMF
37392012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3740
3741 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3742 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3743 of the internal implementation.
3744
dcdae19a
JM
37452012-11-02 Joseph Myers <joseph@codesourcery.com>
3746
3747 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3748 except include of <misc/sys/syslog.h>.
3749
d6cffd3e
AS
37502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3751
3752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3753 function returns with a NULL context exit with zero.
3754
b3563932
TMQMF
37552012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3756
3757 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3758
b288a93d
L
37592012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3760
3761 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3762 (run_program_cmd): This.
3763 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3764 (tst_langinfo): New variable. Use it.
3765
a2421a68
SAS
37662012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3767
3768 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3769 floating point opcodes.
3770
6f796e1b
TS
37712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3772
7402596b
TS
3773 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3774 variable.
3775
d0d4f868
TS
3776 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3777
6f796e1b
TS
3778 * sysdeps/mach/hurd/powerpc: Remove directory.
3779 * sysdeps/mach/powerpc: Likewise.
3780
4da224a2
AS
37812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3782
3783 * scripts/check-local-headers.sh: Ignore c++ headers.
3784
341dd673
TS
37852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3786
3787 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3788 __libc_cleanup_region_start argument.
3789
473611b2
JM
37902012-11-01 Joseph Myers <joseph@codesourcery.com>
3791
3792 [BZ #14784]
3793 [BZ #14785]
3794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3795 x * y using scaling, not as x * y + z.
3796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3798 * math/libm-test.inc (fma_test): Add more tests.
3799 (fma_test_towardzero): Likewise.
3800 (fma_test_downward): Likewise.
3801 (fma_test_upward): Likewise.
3802
4078da3d
TS
38032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3804
3805 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3806
903252aa
JM
38072012-10-31 Joseph Myers <joseph@codesourcery.com>
3808
3809 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3810 New variable.
3811
cbc818d0
TS
38122012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3813
3814 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3815
5a03cb1e
AS
38162012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3817
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3819 Fix sort order.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3821 Likewise.
3822
90aff2ff
TMQMF
38232012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3824
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3826 Fix the order of the list for glibc 2.17.
3827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3828 Likewise.
3829
1818fcb7
AS
38302012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3831
3832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3833
ef82f4da
JM
38342012-10-31 Joseph Myers <joseph@codesourcery.com>
3835
16a0e2ec
JM
3836 [BZ #14610]
3837 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3838 for low part of x being zero before using __atanl (y).
3839 * math/libm-test.inc (atan2_test): Add another test.
3840
0eb69512
JM
3841 * manual/install.texi (Configuring and compiling): Document
3842 general use of test-wrapper and test-wrapper-env.
3843 * INSTALL: Regenerated.
3844
ef82f4da
JM
3845 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3846 (__fma): Do not extract and scale down low bits on after-rounding
3847 systems when result rounded to normal precision would have normal
3848 exponent.
3849 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3850 (__fmal): Do not extract and scale down low bits on after-rounding
3851 systems when result rounded to normal precision would have normal
3852 exponent.
3853 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3854 (__fmal): Do not extract and scale down low bits on after-rounding
3855 systems when result rounded to normal precision would have normal
3856 exponent.
3857 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3858 macro.
3859 (fma_test): Add more tests.
3860 (fma_test_towardzero): Likewise.
3861 (fma_test_downward): Likewise.
3862 (fma_test_upward): Likewise.
3863
954ef0d9
L
38642012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3865
3866 * sysdeps/i386/tininess.h: Renamed to ...
3867 * sysdeps/x86/tininess.h: This.
3868 * sysdeps/x86_64/tininess.h: Removed.
3869
df61ffb2
JM
38702012-10-30 Joseph Myers <joseph@codesourcery.com>
3871
3872 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3873 input. Use $(build-program-cmd).
3874 ($(objpfx)tst-array1-static.out): Likewise.
3875 ($(objpfx)tst-array2.out): Likewise.
3876 ($(objpfx)tst-array3.out): Likewise.
3877 ($(objpfx)tst-array4.out): Likewise.
3878 ($(objpfx)tst-array5.out): Likewise.
3879 ($(objpfx)tst-array5-static.out): Likewise.
3880
01767843
CM
38812012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3882
47cc1490
CM
3883 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3884 if defined.
3885
01767843
CM
3886 * nss/nsswitch.h (nss_interface_function): Provide new
3887 macro for use with NSS functions.
3888 * grp/initgroups.c: Use new macro.
3889 * nss/getXXbyYY.c: Likewise.
3890 * nss/getXXbyYY_r.c: Likewise.
3891 * nss/getXXent.c: Likewise.
3892 * nss/getXXent_r.c: Likewise.
3893 * sysdeps/posix/getaddrinfo.c: Likewise.
3894
8321aa97
AJ
38952012-10-30 Andreas Jaeger <aj@suse.de>
3896
3897 * po/ru.po: Update Russion translation from translation project.
3898
2a27fd6d
JM
38992012-10-30 Joseph Myers <joseph@codesourcery.com>
3900
8627a232
JM
3901 [BZ #14152]
3902 [BZ #14783]
3903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3904 result and shift together with sticky bit instead of replicating
3905 round-to-nearest rounding.
3906 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3907 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3908 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3909 missing underflow exceptions.
3910 (fma_test_towardzero): Add more tests.
3911 (fma_test_downward): Likewise.
3912 (fma_test_upward): Likewise.
3913
2a27fd6d
JM
3914 [BZ #14047]
3915 * sysdeps/generic/tininess.h: New file.
3916 * sysdeps/i386/tininess.h: Likewise.
3917 * sysdeps/sh/tininess.h: Likewise.
3918 * sysdeps/x86_64/tininess.h: Likewise.
3919 * stdlib/tst-strtod-underflow.c: Likewise.
3920 * stdlib/tst-tininess.c: Likewise.
3921 * stdlib/strtod_l.c: Include <tininess.h>.
3922 (round_and_return): Do not set errno for exact underflow cases.
3923 Force an underflow exception when setting errno for underflow.
3924 Determine underflow based on rounding to normal precision if
3925 TININESS_AFTER_ROUNDING.
3926 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3927 ERANGE for exact underflow cases.
3928 * stdlib/Makefile (tests): Add tst-tininess and
3929 tst-strtod-underflow.
3930 ($(objpfx)tst-tininess): Use $(link-libm).
3931 ($(objpfx)tst-strtod-underflow): Likewise.
3932
e7170363
AJ
39332012-10-30 Andreas Jaeger <aj@suse.de>
3934
e5088dc6
AJ
3935 [BZ#14767]
3936 * elf/Makefile (tests): Remove conditional for have-initfini-array
3937 since this is now always required and the variable does not exist
3938 anymore.
3939 (tests-static): Likewise.
3940 (modules-names): Likewise.
3941
e7170363 3942 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3943
3944 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3945 merged with constructor/destructor.
3946 (init_array): Likewise.
3947 * elf/tst-array2dep.c (fini_array): Likewise.
3948 (init_array): Likewise.
3949
60457d8a
MF
39502012-10-29 Mike Frysinger <vapier@gentoo.org>
3951
3952 * manual/message.texi: Delete @cartouche tags.
3953
8bece752
PT
39542012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3955
94ce799f
PT
3956 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3957 EOPNOTSUPP.
3958 * sysdeps/mach/hurd/fsync.c: Likewise.
3959
8bece752
PT
3960 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3961 [_POSIX_REALTIME_SIGNALS]: Change condition to
3962 [_POSIX_REALTIME_SIGNALS > 0].
3963
86ebe6b1
AJ
39642012-10-27 Andreas Jaeger <aj@suse.de>
3965
3966 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3967 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3968 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3969 [__WORDSIZE != 64]: Likewise.
3970
54399c08
L
39712012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3972
3973 * iconvdata/tst-table.sh: Remove ${SHELL}.
3974 * iconvdata/tst-tables.sh: Likewise.
3975
e2211bed
DM
39762012-10-25 David S. Miller <davem@davemloft.net>
3977
3978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3979 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3980 of strtoull.
3981
f303f97c
DM
3982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3983 ifunc-impl-list.c
3984 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3985 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3986 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3987 file.
3988
1e9d84cd
RM
39892012-10-25 Roland McGrath <roland@hack.frob.com>
3990
3991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3992 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3993 __getdirentries.
3994
df381762
JM
39952012-10-25 Joseph Myers <joseph@codesourcery.com>
3996 Jim Blandy <jimb@codesourcery.com>
3997
3998 * scripts/cross-test-ssh.sh: New file.
3999 * manual/install.texi (Configuring and compiling): Document use of
4000 cross-test-ssh.sh.
4001 * INSTALL: Regenerated.
4002
bff64913
PT
40032012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4004
4005 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4006 EOPNOTSUPP.
4007
25fe8932
JM
40082012-10-25 Joseph Myers <joseph@codesourcery.com>
4009
4010 * Makeconfig (run-program-prefix): Fix comment.
4011
cc1290d0
JM
40122012-10-24 Joseph Myers <joseph@codesourcery.com>
4013 Jim Blandy <jimb@codesourcery.com>
4014
4015 * Makeconfig (test-wrapper): New variable,
4016 (test-wrapper-env): Likewise.
4017 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4018 (run-built-tests): Define to yes.
4019 (run-program-prefix): Use $(test-wrapper).
4020 (built-program-cmd): Likewise.
4021 * Rules (make-test-out): Use $(test-wrapper-env) and
4022 $(host-built-program-cmd).
4023 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4024 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4025 tst-pathopt.sh.
4026 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4027 $(test-wrapper-env) to tst-rtld-load-self.sh.
4028 ($(objpfx)order2.out): Use $(test-wrapper).
4029 ($(objpfx)tst-initorder.out): Likewise.
4030 ($(objpfx)tst-initorder2.out): Likewise.
4031 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4032 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4033 (test_wrapper_env): New variable. Use it to run ld.so.
4034 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4035 Use it to run ld.so.
4036 (test_wrapper_env): Likewise.
4037 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4038 $(test-wrapper) to run-iconv-test.sh.
4039 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4040 (ICONV): Use $test_wrapper.
4041 * posix/Makefile ($(objpfx)globtest.out): Pass
4042 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4043 globtest.sh, not $(run-program-prefix).
4044 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4045 (test_wrapper): Likewise.
4046 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4047 set together with run_via_rtld_prefix.
4048 (run_program_prefix): Define in terms of test_wrapper and
4049 run_via_rtld_prefix.
4050
6e6249d0
RM
40512012-10-24 Roland McGrath <roland@hack.frob.com>
4052
4053 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4054 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4055 Targets removed.
4056
4057 [BZ #14743]
4058 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4059 Declare __clock_getres, __clock_gettime, __clock_settime,
4060 __clock_nanosleep, and __clock_getcpuclockid.
4061 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4062 Remove librt_hidden_def (clock_gettime).
4063 * sysdeps/unix/clock_gettime.c: Likewise.
4064 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4065 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4066 * rt/clock_getres.c: Define __clock_getres as an alias.
4067 * sysdeps/posix/clock_getres.c: Likewise.
4068 * rt/clock_settime.c: Define __clock_settime as an alias.
4069 * sysdeps/unix/clock_settime.c: Likewise.
4070 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4071 * sysdeps/unix/clock_nanosleep.c: Likewise.
4072 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4073 * rt/clock-compat.c: New file.
4074 * rt/Makefile (librt-routines): Add clock-compat and move
4075 $(clock-routines) to ...
4076 (routines): ... here, new variable.
4077 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4078 Don't add get_clockfreq here.
4079 * rt/Versions (libc: GLIBC_2.17): New version set.
4080 Add clock_* symbols here.
4081 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4082 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4083 (GLIBC_2.17): Add clock_* symbols.
4084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4088 Likewise.
4089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4090 Likewise.
4091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4095 * NEWS: Mention the move.
4096
4097 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4098 Use __open, __read, __close rather than their public counterparts.
4099 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4100 (__get_clockfreq_via_cpuinfo): Likewise.
4101 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4102 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4103
4104 * config.h.in (HAVE_IFUNC): New #undef.
4105 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4106 was successful.
4107 * configure: Regenerated.
4108
0cae3f4b
MF
41092012-10-24 Mike Frysinger <vapier@gentoo.org>
4110
4111 * configure.in: Move READELF check to start of file.
4112 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4113 libc_cv_asm_gnu_indirect_function in the process.
4114 * configure: Regenerated.
4115
8175a253
MF
41162012-10-24 Mike Frysinger <vapier@gentoo.org>
4117
4118 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4119 send the output to /dev/null.
4120 (libc_cv_cc_with_libunwind): Likewise.
4121 (libc_cv_as_noexecstack): Likewise.
4122 * configure: Regenerate.
4123
0708a7d1
JM
41242012-10-24 Joseph Myers <joseph@codesourcery.com>
4125
10b40d85
JM
4126 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4127
0708a7d1
JM
4128 * posix/globtest.sh (TMPDIR): Do not set.
4129 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4130 (testout): Likewise.
4131
9fddec1a
AJ
41322012-10-24 Andreas Jaeger <aj@suse.de>
4133
3a8db22f
AJ
4134 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4135 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4136 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4137 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4138 posix_fadvise64, posix_fallocate64.
4139
9fddec1a
AJ
4140 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4141 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4142 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4143 Likewise.
4144 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4145 Likewise.
4146 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4147
4148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4149 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4150 <bits/fcntl-linux.h>.
4151 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4152
4153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4154 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4155 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4156 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4157 [__WORDSIZE != 64]: Likewise.
4158
ebfd1bbd
JM
41592012-10-23 Joseph Myers <joseph@codesourcery.com>
4160
03ac099f
JM
4161 * Makeconfig (run-built-tests): New variable.
4162 * Rules [$(cross-compiling) = yes]: Change condition to
4163 [$(run-built-tests) = no].
4164 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4165 to [$(run-built-tests) = yes].
4166 * elf/Makefile [$(cross-compiling) = no]: Likewise
4167 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4168 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4169 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4170 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4171 * io/Makefile [$(cross-compiling) = no]: Likewise.
4172 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4173 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4174 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4175 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4176 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4177 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4178 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4179 * string/Makefile [$(cross-compiling) = no]: Likewise.
4180
ebfd1bbd
JM
4181 * posix/Makefile ($(objpfx)globtest.out): Pass
4182 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4183 $(rtld-installed-name).
4184 * posix/globtest.sh (elf_objpfx): Remove variable.
4185 (rtld_installed_name): Likewise.
4186 (library_path): Likewise.
4187 (run_program_prefix): New variable. Use for running globtest
4188 binary.
4189
166bca24
JB
41902012-10-23 Jim Blandy <jimb@codesourcery.com>
4191 Joseph Myers <joseph@codesourcery.com>
4192
4193 * Makeconfig (host-built-program-cmd): New variable.
4194 * elf/Makefile (tst-stackguard1-ARGS): Use
4195 $(host-built-program-cmd).
4196 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4197 (tst-spawn-ARGS): Likewise.
4198 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4199
88866099
JM
42002012-10-23 Joseph Myers <joseph@codesourcery.com>
4201 Jim Blandy <jimb@codesourcery.com>
4202
4203 * Makeconfig (run-via-rtld-prefix): New variable.
4204 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4205 (built-program-cmd): Likewise.
4206
b4b4c296
AJ
42072012-10-22 Andreas Jaeger <aj@suse.de>
4208
4209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4210 __O_RSYNC if it exists, otherwise to O_SYNC.
4211
6fb54a22
JB
42122012-10-22 Jim Blandy <jimb@codesourcery.com>
4213 Joseph Myers <joseph@codesourcery.com>
4214
4215 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4216 /dev/null.
4217 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4218 from /dev/null
4219 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4220 /dev/null.
4221
481b90b9
AJ
42222012-10-22 Andreas Jaeger <aj@suse.de>
4223
2a0e2669
AJ
4224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4225 Define always.
4226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4227
76e38f9a
AJ
4228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4229 bits/fcntl-linux.h.
4230
7cd37b43
AJ
4231 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4232 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4233
481b90b9
AJ
4234 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4235 to __O_LARGEFILE.
4236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4237 to __O_LARGEFILE.
4238
aba75984
JB
42392012-10-21 Jim Blandy <jimb@codesourcery.com>
4240 Joseph Myers <joseph@codesourcery.com>
4241
4242 * config.make.in (NM): New variable.
4243
88d4247f
AJ
42442012-10-21 Andreas Jaeger <aj@suse.de>
4245
4246 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4247 definitions and declarations that are provided by
4248 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4249
f2eed205
L
42502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4251
4252 [BZ #14683]
4253 * elf/Makefile (tests-static): Add tst-leaks1-static.
4254 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4255 ($(objpfx)tst-leaks1-static): New rule.
4256 ($(objpfx)tst-leaks1-static-mem): Likewise.
4257 (tst-leaks1-static-ENV): New macro.
4258 * elf/dl-open.c (dl_open_worker): Check the main application
4259 only if SHARED is defined.
4260 * elf/tst-leaks1-static.c: New file.
4261
335e6931
AJ
42622012-10-20 Andreas Jaeger <aj@suse.de>
4263
4264 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4265 generic values for Linux.
4266 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4267 and declarations that are provided by <bits/fcntl-linux.h> and
4268 include <bits/fcntl-linux.h>.
4269 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4271
ac5c94d3
RM
42722012-10-20 Roland McGrath <roland@hack.frob.com>
4273
4274 * io/fcntl.h: Move include of <bits/types.h> to the top and
4275 include it unconditionally.
4276
de54b33a
L
42772012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4278
228cfb01
L
4279 * wcsmbs/Makefile (tests-ifunc): New variable.
4280 (tests): Add $(tests-ifunc).
4281 * wcsmbs/test-wcschr-ifunc.c: New file.
4282 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4283 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4284 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4285 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4286 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4287
69f07e5f
L
4288 * string/Makefile (tests-ifunc): New variable.
4289 (tests): Add $(tests-ifunc).
4290 * string/test-memccpy.c (TEST_NAME): New macro.
4291 * string/test-memchr.c (TEST_NAME): Likewise.
4292 * string/test-memcmp.c (TEST_NAME): Likewise.
4293 * string/test-memcpy.c (TEST_NAME): Likewise.
4294 * string/test-memmem.c (TEST_NAME): Likewise.
4295 * string/test-memmove.c (TEST_NAME): Likewise.
4296 * string/test-memset.c (TEST_NAME): Likewise.
4297 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4298 * string/test-stpcpy.c (TEST_NAME): Likewise.
4299 * string/test-stpncpy.c (TEST_NAME): Likewise.
4300 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4301 * string/test-strcasestr.c (TEST_NAME): Likewise.
4302 * string/test-strcat.c (TEST_NAME): Likewise.
4303 * string/test-strchr.c (TEST_NAME): Likewise.
4304 * string/test-strcmp.c(TEST_NAME): Likewise.
4305 * string/test-strcpy.c (TEST_NAME): Likewise.
4306 * string/test-strcspn.c (TEST_NAME): Likewise.
4307 * string/test-strlen.c (TEST_NAME): Likewise.
4308 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4309 * string/test-strncmp.c (TEST_NAME): Likewise.
4310 * string/test-strncpy.c (TEST_NAME): Likewise.
4311 * string/test-strnlen.c (TEST_NAME): Likewise.
4312 * string/test-strpbrk.c (TEST_NAME): Likewise.
4313 * string/test-strrchr.c (TEST_NAME): Likewise.
4314 * string/test-strspn.c (TEST_NAME): Likewise.
4315 * string/test-strstr.c (TEST_NAME): Likewise.
4316 * string/test-bcopy-ifunc.c: New file.
4317 * string/test-bzero-ifunc.c: Likewise.
4318 * string/test-memccpy-ifunc.c: Likewise.
4319 * string/test-memchr-ifunc.c: Likewise.
4320 * string/test-memcmp-ifunc.c: Likewise.
4321 * string/test-memcpy-ifunc.c: Likewise.
4322 * string/test-memmem-ifunc.c: Likewise.
4323 * string/test-memmove-ifunc.c: Likewise.
4324 * string/test-mempcpy-ifunc.c: Likewise.
4325 * string/test-memset-ifunc.c: Likewise.
4326 * string/test-rawmemchr-ifunc.c: Likewise.
4327 * string/test-stpcpy-ifunc.c: Likewise.
4328 * string/test-stpncpy-ifunc.c: Likewise.
4329 * string/test-strcasecmp-ifunc.c: Likewise.
4330 * string/test-strcasestr-ifunc.c: Likewise.
4331 * string/test-strcat-ifunc.c: Likewise.
4332 * string/test-strchr-ifunc.c: Likewise.
4333 * string/test-strchrnul-ifunc.c: Likewise.
4334 * string/test-strcmp-ifunc.c: Likewise.
4335 * string/test-strcpy-ifunc.c: Likewise.
4336 * string/test-strcspn-ifunc.c: Likewise.
4337 * string/test-strlen-ifunc.c: Likewise.
4338 * string/test-strncasecmp-ifunc.c: Likewise.
4339 * string/test-strncat-ifunc.c: Likewise.
4340 * string/test-strncmp-ifunc.c: Likewise.
4341 * string/test-strncpy-ifunc.c: Likewise.
4342 * string/test-strnlen-ifunc.c: Likewise.
4343 * string/test-strpbrk-ifunc.c: Likewise.
4344 * string/test-strrchr-ifunc.c: Likewise.
4345 * string/test-strspn-ifunc.c: Likewise.
4346 * string/test-strstr-ifunc.c: Likewise.
4347
de54b33a
L
4348 * debug/Makefile (tests-ifunc): New variable.
4349 (tests): Add $(tests-ifunc).
4350 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4351 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4352 * debug/test-stpcpy_chk-ifunc.c: New file.
4353 * debug/test-strcpy_chk-ifunc.c: Likewise.
4354
88481c16
SP
43552012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4356
4357 [BZ #13601]
4358 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4359 header is not read in.
4360
135948bd
JM
43612012-10-19 Joseph Myers <joseph@codesourcery.com>
4362
89f1c388
JM
4363 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4364 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4365 directly. Pass built executable to script as
4366 $(built-program-cmd).
4367 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4368 $testprogram without using LD_LIBRARY_PATH and $ldso.
4369
e40a0d21
JM
4370 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4371 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4372 $(rtld-installed-name).
4373 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4374 (rtld_installed_name): Likewise.
4375 (library_path): Likewise.
4376 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4377 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4378 $(run-program-prefix) to tst-tables.sh.
4379 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4380 it to run tst-table-from and tst-table-to.
4381 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4382 Pass it to tst-table.sh.
4383 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4384 $(run-program-prefix) to tst-gettext.sh.
4385 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4386 tst-translit.sh.
4387 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4388 tst-gettext2.sh.
4389 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4390 to run tst-gettext.
4391 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4392 to run tst-gettext2.
4393 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4394 to run tst-translit.
4395 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4396 $(run-program-prefix) to tst-mtrace.sh.
4397 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4398 to run tst-mtrace.
4399 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4400 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4401 $(rtld-installed-name).
4402 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4403 (rtld_installed_name): Likewise.
4404 (run_program_prefix): New variable. Use it to run wordexp-test.
4405
728e272a
JM
4406 * Makeconfig (ARCH): Remove all definitions.
4407 (machine): Likewise.
4408 [ARCH]: Remove conditional code.
4409 [!objdir]: Give error.
4410 [!objdir] (objpfx): Remove.
4411 [!objdir] (common-objpfx): Likewise.
4412 [!objdir] (common-objdir): Likewise.
4413 * configure.in (config_makefile): Remove. Hardcode Makefile in
4414 AC_CONFIG_FILES call.
4415 * configure: Regenerated.
4416
d528cdcf
JM
4417 [BZ #13888]
4418 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4419 or TMPDIR.
4420 (testout): Likewise.
4421
135948bd
JM
4422 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4423 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4424 $(rtld-installed-name).
4425 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4426 (rtld_installed_name): Likwise.
4427 (runit): Remove function.
4428 (run_getconf): New variable, Use it for running getconf binary.
4429
38c78296
L
44302012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4431
4432 [BZ #14716]
4433 * string/test-memmem.c (check_result): New function.
4434 (do_one_test): Use it.
4435 (check1): New function.
4436 (test_main): Use it.
4437
d077f65f
MT
44382012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4439
4440 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4441
ced52c71
JM
44422012-10-18 Joseph Myers <joseph@codesourcery.com>
4443
4444 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4445 (_G_LSEEK64): Likewise.
4446 (_G_MMAP64): Likewise.
4447 (_G_FSTAT64): Likewise.
4448 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4449 (_G_LSEEK64): Likewise.
4450 (_G_MMAP64): Likewise.
4451 (_G_FSTAT64): Likewise.
4452 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4453 unconditional. Call __mmap64 directly.
4454 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4455 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4456 __lseek64 directly.
4457 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4458 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4459 __mmap64 directly.
4460 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4461 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4462 __lseek64 directly.
4463 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4464 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4465 __lseek64 directly.
4466 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4467 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4468 __lseek64 directly.
4469 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4470 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4471 __fxstat64 directly.
4472 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4473 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4474 unconditional.
4475 (freopen64) [!_G_OPEN64]: Remove conditional code.
4476 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4477 unconditional.
4478 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4479 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4480 unconditional.
4481 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4482 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4483 unconditional.
4484 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4485 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4486 unconditional.
4487 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4488 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4489 unconditional.
4490 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4491 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4492 unconditional.
4493 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4494 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4495 unconditional.
4496 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4497
b741de23
SP
44982012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4499
4500 [BZ #12140]
4501 * manual/memory.texi (Malloc Tunable Parameters): Add note
4502 about free list pointers overwriting some perturb bytes.
4503 Wording suggested by Roland McGrath.
4504
f9b9d9c9
JM
45052012-10-17 Joseph Myers <joseph@codesourcery.com>
4506
4507 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4508 (lgamma_test): Likewise.
4509 (tgamma_test): Likewise.
4510
172a631a
FW
45112012-10-16 Florian Weimer <fweimer@redhat.com>
4512
4513 [BZ #14700]
4514 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4515 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4516
e9f37252
MK
45172012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4518
4519 * NEWS: Mention BZ #14716.
4520 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4521 when removing AVAILABLE1_USES_J macro.
4522
d394eb74
L
45232012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4524
4525 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4526 (__bswap_64): __uint64_t for unsigned 64-bit int.
4527
ca38dc17
AS
45282012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4529
4530 * include/string.h (memmem): Declare libc hidden alias.
4531 * string/memmem.c (memmem): Define libc hidden alias.
4532 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4533 __read, __close instead of open, read, close.
4534
9a387d1f
L
45352012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4536
ac49ecaf
L
4537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4538 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4539 global and hidden.
4540 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4541 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4542 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4543 Likewise.
4544 (__rawmemchr_sse2): Likewise.
4545 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4546 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4547 (__strchr_sse2): Likewise.
4548 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4549 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4550 (__strcasecmp_sse2): Likewise.
4551 (__strncasecmp_sse2): Likewise.
4552 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4553 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4554 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4555 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4556 (__strrchr_sse2): Likewise.
4557 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4558 ifunc-impl-list.c.
4559 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4560 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4561 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4562 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4563 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4564 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4565 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4566 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4567 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4568 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4569 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4570 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4571 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4572 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4573 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4574 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4575 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4576 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4577 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4578 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4579 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4580 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4581 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4582 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4583 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4584 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4585 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4586 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4587 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4588 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4589
b090e8ea
L
4590 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4591 global and hidden.
4592 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4593 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4594 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4595 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4596 Likewise.
4597 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4598 Likewise.
4599 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4600 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4601 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4602 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4603 ifunc-impl-list.c.
4604 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4605 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4606 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4607 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4608 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4609 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4610 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4611 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4612 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4613 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4614 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4615 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4616 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4617 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4618 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4619 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4620 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4621 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4622 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4623 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4624 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4625 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4626 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4627 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4628 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4629 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4630 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4631 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4632 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4633 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4634 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4635 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4636 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4637 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4638 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4639 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4640 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4641 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4642 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4643 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4644 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4645
11dd4af6
L
4646 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4647 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4648 * include/ifunc-impl-list.h: New file.
4649 * misc/ifunc-impl-list.c: Likewise.
4650 * misc/Makefile (routines): Add ifunc-impl-list.
4651 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4652 * string/test-string.h: Include <ifunc-impl-list.h>.
4653 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4654 impl_array): New variables.
4655 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4656 are defined.
4657 (test_init): Call __libc_ifunc_impl_list to initialize
4658 func_list if TEST_IFUNC and TEST_NAME are defined.
4659
9a387d1f
L
4660 * string/Makefile (strop-tests): Add bcopy and bzero.
4661 * string/test-bcopy.c: New file.
4662 * string/test-bzero.c: Likewise.
4663 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4664 defined.
4665 * string/test-memset.c: Support bzero test if TEST_BZERO is
4666 defined.
4667 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4668 __libc_memmove.
4669 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4670 __libc_memset.
4671 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4672 of memset.
4673
472371b9
JM
46742012-10-10 Joseph Myers <joseph@codesourcery.com>
4675
1e4a9536
JM
4676 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4677 * configure: Regenerated.
4678
d173d12e
JM
4679 * Makeconfig (+link-static-before-libc): Don't include
4680 $(link-static-libc).
4681
472371b9
JM
4682 * libio/libio.h (_IO_pos_t): Remove.
4683
89a3ad0b
AO
46842012-10-10 Alexandre Oliva <aoliva@redhat.com>
4685
4686 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4687 McGrath.
4688
e7451425
AO
46892012-10-10 Alexandre Oliva <aoliva@redhat.com>
4690
4691 * crypt/crypt-entry.c: Include fips-private.h.
4692 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4693 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4694 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4695 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4696
4ba74a35
AO
46972012-10-10 Alexandre Oliva <aoliva@redhat.com>
4698
4699 * crypt/crypt-private.h: Include stdbool.h.
4700 (_ufc_setup_salt_r): Return bool.
4701 * crypt/crypt-entry.c: Include errno.h.
4702 (__crypt_r): Return NULL with EINVAL for bad salt.
4703 * crypt/crypt_util.c (bad_for_salt): New.
4704 (_ufc_setup_salt_r): Check that salt is long enough and within
4705 the specified alphabet.
4706 * crypt/badsalttest.c: New file.
4707 * crypt/Makefile (tests): Add it.
4708 ($(objpfx)badsalttest): New.
4709
f96f1242
MK
47102012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4711
4712 * NEWS: Add entry for BZ #14602.
4713
0e8e0c1c
JM
47142012-10-09 Joseph Myers <joseph@codesourcery.com>
4715
4716 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4717 type-generic.
4718 * math/libm-test.inc: Update comment listing what functions and
4719 macros are tested.
4720 (isgreater_test): New function.
4721 (isgreaterequal_test): Likewise.
4722 (isless_test): Likewise.
4723 (islessequal_test): Likewise.
4724 (islessgreater_test): Likewise.
4725 (isunordered_test): Likewise.
4726 (main): Call the new functions.
4727
273edc5e
RM
47282012-10-09 Roland McGrath <roland@hack.frob.com>
4729
b8493de0
RM
4730 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4731 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4732 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4733 * sysdeps/i386/configure: Regenerated.
4734 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4735 * sysdeps/mach/configure: Regenerated.
4736 * sysdeps/mach/hurd/configure: Regenerated.
4737 * sysdeps/powerpc/configure: Regenerated.
4738 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4739 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4740 * sysdeps/s390/s390-32/configure: Regenerated.
4741 * sysdeps/s390/s390-64/configure: Regenerated.
4742 * sysdeps/sh/configure: Regenerated.
4743 * sysdeps/sparc/configure: Regenerated.
4744 * sysdeps/unix/sysv/linux/configure: Regenerated.
4745 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4746 * sysdeps/x86_64/configure: Regenerated.
4747
273edc5e
RM
4748 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4749 defined. Don't check if MAP is NULL.
4750
c8450f70
JM
47512012-10-09 Joseph Myers <joseph@codesourcery.com>
4752
4753 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4754 (_G_stat64): Likewise.
4755 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4756 (_G_stat64): Likewise.
4757 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4758 instead of struct _G_stat64.
4759 * libio/fileops.c (mmap_remap_check): Likewise.
4760 (decide_maybe_mmap): Likewise.
4761 (_IO_new_file_seekoff): Likewise.
4762 (_IO_file_stat): Likewise.
4763 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4764 _G_off64_t.
4765 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4766 instead of struct _G_stat64.
4767 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4768
57e605ba
MK
47692012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4770
4771 [BZ #14602]
4772 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4773 Replace with ...
4774 (CHECK_EOL): New macro.
4775 (two_way_short_needle): Check beginning of haystack for EOL. Use
4776 CHECK_EOL.
4777 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4778 Replace with CHECK_EOL.
4779 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4780 Replace with CHECK_EOL.
4781
ef1bb361
JM
47822012-10-08 Joseph Myers <joseph@codesourcery.com>
4783
4784 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4785 type-generic.
4786 * math/libm-test.inc: Update comment listing what functions and
4787 macros are tested.
4788 (finite_test): New function.
4789 (isinf_test): Likewise.
4790 (isnan_test): Likewise.
4791 (fpclassify_test): Test subnormal input.
4792 (isfinite_test): Likewise.
4793 (isnormal_test): Likewise.
4794 (main): Call the new functions.
4795
55f11534
JN
47962012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4797
4798 [BZ #14660]
4799 * Makerules (%.dynsym): Force C locale when running
4800 $(OBJDUMP) --dynamic-syms.
4801
1ab29350
AS
48022012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4803
4804 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4805 <stdint.h>.
4806
f1ecb7ef
DM
48072012-10-06 David S. Miller <davem@davemloft.net>
4808
4809 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4810 upper 32-bits of the length value in %o2 since we use branch-on-register
4811 tests which consider the entire 64-bit register.
4812
5d41d91a
L
48132012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4814
4815 * string/test-strstr.c (check2): Add a test for page boundary.
4816
3baddb72
DM
48172012-10-05 David S. Miller <davem@davemloft.net>
4818
4819 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4820 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4821 file.
4822 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4823 sysdep_routines.
4824 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4825 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4826 and bzero when HWCAP_SPARC_CRYPTO is present.
4827
9cee5585
L
48282012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4829
d7e0dab9
L
4830 [BZ #14602]
4831 * string/test-strstr.c (check2): New function.
4832 (test_main): Call check2.
4833
03759f47
L
4834 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4835 and bug-strchr1.
4836 * string/bug-strcasestr1.c (do_test): Moved to ...
4837 * string/test-strcasestr.c (check1): Here. New function.
4838 (do_one_test): Break out result checking code into ...
4839 (check_result): This. New function.
4840 (do_one_test): Call check_result.
4841 (test_main): Call check1.
4842 * string/bug-strchr1.c (do_test): Moved to ...
4843 * string/test-strchr.c (check1): Here. New function.
4844 (do_one_test): Break out result checking code into ...
4845 (check_result): This. New function.
4846 (do_one_test): Call check_result.
4847 (test_main): Call check1.
4848 * string/bug-strstr1.c (main): Moved to ...
4849 * string/test-strchr.c (check1): Here. New function.
4850 (do_one_test): Break out result checking code into ...
4851 (check_result): This. New function.
4852 (do_one_test): Call check_result.
4853 (test_main): Call check1.
4854 * string/bug-strcasestr1.c: Removed.
4855 * string/bug-strchr1.c: Likewise.
4856 * string/bug-strstr1.c: Likewise.
4857
53cea63e
L
4858 * elf/Makefile (dl-routines): Add hwcaps.
4859 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4860 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4861 (_dl_important_hwcaps): Moved to ...
4862 * elf/dl-hwcaps.c: Here. New file.
4863 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4864
9cee5585 4865 [BZ #14557]
bb859b06
L
4866 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4867 if IS_IN_rtld isn't defined.
4868
9cee5585
L
4869 * elf/dl-support.c (_dl_sysinfo_map): New.
4870 Include "get-dynamic-info.h" and "setup-vdso.h".
4871 (_dl_non_dynamic_init): Call setup_vdso.
4872 * elf/dynamic-link.h: Don't include <assert.h>.
4873 (elf_get_dynamic_info): Moved to ...
4874 * elf/get-dynamic-info.h: Here. New file.
4875 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4876 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4877 * elf/setup-vdso.h: Here. New file.
4878 * elf/rtld.c: Include "setup-vdso.h".
4879 (dl_main): Call setup_vdso.
4880
23c31b76
JM
48812012-10-05 Joseph Myers <joseph@codesourcery.com>
4882
28234b07
JM
4883 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4884 creal in comment listing functions tested. List finite, isinf,
4885 isnan, isless, islessequal, isgreater, isgreaterequal,
4886 islessgreater, isunordered, lgamma_r and pow10 as functions and
4887 macros not tested. Mention which functions not tested are aliases
4888 for other functions. Fix typo. Note that signs of NaNs are not
4889 tested.
4890
23c31b76
JM
4891 * scripts/config.guess: Update from config.git.
4892 * scripts/config.sub: Likewise.
4893
9043e228
RM
48942012-10-04 Roland McGrath <roland@hack.frob.com>
4895
4896 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4897 * misc/madvise.c (madvise): Renamed to __madvise.
4898 Make madvise a weak alias.
4899 * include/sys/mman.h: Declare __madvise.
4900 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4901 * sysdeps/unix/syscalls.list
4902 (madvise): Make __madvise the strong name, and madvise a weak alias.
4903 * sysdeps/unix/sysv/linux/syscalls.list
4904 (madvise, mmap): Remove redundant entries.
4905 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4906 * malloc/malloc.c (mtrim): Likewise.
4907 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4908
f57f8055
RM
49092012-10-03 Roland McGrath <roland@hack.frob.com>
4910
4911 * sysdeps/mach/hurd/dl-cache.c: File removed.
4912 * config.h.in (USE_LDCONFIG): New #undef.
4913 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4914 * configure: Regenerated.
4915 * elf/Makefile (dl-routines): Add dl-cache only under
4916 [$(use-ldconfig) = yes].
4917 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4918 cache on [USE_LDCONFIG].
4919 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4920 [USE_LDCONFIG].
4921 * elf/rtld.c (dl_main): Likewise.
4922
5bb0c10a
PT
49232012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4924
4925 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4926 _SC_LEVEL4_CACHE_LINESIZE.
4927
010188c6
RM
49282012-10-03 Roland McGrath <roland@hack.frob.com>
4929
4930 * sysdeps/unix/bsd/confstr.h: File removed.
4931
b6c5ec07
AO
49322012-10-02 Alexandre Oliva <aoliva@redhat.com>
4933
4934 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4935 sys/sdt-config.h.
4936
408223d4
RM
49372012-10-02 Roland McGrath <roland@hack.frob.com>
4938
4939 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4940 Make 'mapoff' field ElfW(Off) rather than off_t.
4941
bb9510dc
DL
49422012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4943
fc997c6e
DL
4944 * nscd/Makefile: Remove nscd-cflags and all its users.
4945 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4946 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4947
bb9510dc
DL
4948 [BZ #10631]
4949 * malloc.c (malloc_printerr): Clarify error message.
4950
05699367
L
49512012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4952
4953 [BZ #14648]
4954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4955 Set bit_FMA_Usable if FMA is supported.
4956 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4957 macro.
4958 (bit_FMA4_Usable): Updated.
4959 (index_FMA_Usable): New macro.
4960 (CPUID_FMA): Likewise
4961 (HAS_FMA): Defined with bit_FMA_Usable.
4962
51367701
RM
49632012-10-01 Roland McGrath <roland@hack.frob.com>
4964
4965 * bits/types.h (__swblk_t): Type removed.
4966 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4967 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4968 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4969 (__SWBLK_T_TYPE): Likewise.
4970 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4971 (__SWBLK_T_TYPE): Likewise.
4972 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4973 (__SWBLK_T_TYPE): Likewise.
4974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4975 (__SWBLK_T_TYPE): Likewise.
4976
4d57bf63 49772012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4978 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4979
4980 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4981 (xdr_mapname): Use YPMAXMAP as maxsize.
4982 (xdr_peername): Use YPMAXPEER as maxsize.
4983 (xdr_keydat): Use YPAXRECORD as maxsize.
4984 (xdr_valdat): Use YPMAXRECORD as maxsize.
4985
93c65d43
RM
49862012-10-01 Roland McGrath <roland@hack.frob.com>
4987
497a03d6
RM
4988 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4989
93c65d43
RM
4990 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4991 * csu/init-first.c: ... here.
4992 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4993 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4994 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4995 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4996 * sysdeps/i386/init-first.c: File removed.
4997 * sysdeps/sh/init-first.c: File removed.
4998
bec749fd
JM
49992012-10-01 Joseph Myers <joseph@codesourcery.com>
5000
5001 [BZ #14645]
5002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5003 if x * y might underflow to zero and z is zero.
5004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5005 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5006 * math/libm-test.inc (min_subnorm_value): New variable.
5007 (fma_test): Add more tests.
5008 (fma_test_towardzero): Likewise.
5009 (fma_test_downward): Likewise
5010 (fma_test_upward): Likewise.
5011 (initialize): Set min_subnorm_value.
5012
8ec5b013
JM
50132012-09-29 Joseph Myers <joseph@codesourcery.com>
5014
5015 [BZ #14638]
5016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5017 0 + 0.
5018 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5019 mode for addition resulting in exact zero.
5020 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5022 exact 0 + 0.
5023 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5024 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5025 * math/libm-test.inc (fma_test): Add more tests.
5026 (fma_test_towardzero): New function.
5027 (fma_test_downward): Likewise.
5028 (fma_test_upward): Likewise.
5029 (main): Call the new functions.
5030
b1fa802e
DM
50312012-09-28 David S. Miller <davem@davemloft.net>
5032
5033 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5034
d3b9fd9e
RM
50352012-09-28 Roland McGrath <roland@hack.frob.com>
5036
ea4d37b3
RM
5037 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5038 instead of SIGALRM.
5039
ac51c949
RM
5040 * sysdeps/gnu/_G_config.h: Moved to ...
5041 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5042 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5043 * sysdeps/generic/_G_config.h: ... here.
5044
28c195f7
RM
5045 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5046
848917f9
RM
5047 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5048
6bacf05b
RM
5049 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5050 Conditionalize target on [libnss_test1.so-version].
5051
91363dbb
RM
5052 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5053
cc87f7d8
RM
5054 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5055 (elfobjdir): Move out of conditionals.
5056
b1c608fe
RM
5057 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5058 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5059 (__nss_lookup_function): Conditionalize label remove_from_tree on
5060 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5061
1d9a6d96
DM
50622012-09-28 David S. Miller <davem@davemloft.net>
5063
5064 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5065 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5066 file.
5067 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5068 sysdep_routines.
5069 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5070 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5071 when HWCAP_SPARC_CRYPTO is present.
5072
72581615
PT
50732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5074
5075 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5076
715a900c
JL
50772012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5078
5079 [BZ #6530]
5080 * stdio-common/vfprintf.c (process_string_arg): Revert
5081 2000-07-22 change.
5082
50832011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5084
5085 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5086 for testcase.
5087 * stdio-common/tst-sprintf.c: Include <locale.h>
5088 (main): Test sprintf's handling of incomplete multibyte
5089 characters.
5090
9bac1d86
L
50912012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5092
5093 * elf/dl-runtime.c (VERSYMIDX): Removed.
5094 * elf/dl-version.c (VERSYMIDX): Likewise.
5095 * elf/do-rel.h (VERSYMIDX): Likewise.
5096 (VALIDX): Likewise.
5097 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5098 * elf/rtld.c (VALIDX): Likewise.
5099 (ADDRIDX): Likewise.
9bac1d86
L
5100 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5101 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5102 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5103 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5104 (VALIDX): Likewise.
5105 (ADDRIDX): Likewise.
9bac1d86 5106
b31606c0
PT
51072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5108
5109 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5110
11541177
JL
51112012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5112
5113 [BZ #11438]
5114 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5115 to global scope.
5116 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5117 addresses are in the same scope as 192.0.2/24.
5118 * posix/gai.conf: Document new scope table defaults.
5119
adb26fae
SP
51202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5121
5122 [BZ #5298]
5123 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5124 for ftell. Compute offsets from write pointers instead.
5125 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5126
4573c6b0
SP
51272012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5128
5129 [BZ #14543]
5130 * libio/Makefile (tests): New test case tst-fseek.
5131 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5132 combination works in wide mode.
5133 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5134 state when the external buffer state changes.
5135
aa9bbfe6
DM
51362012-09-27 David S. Miller <davem@davemloft.net>
5137
5138 [BZ #14376]
5139 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5140 pass reloc->r_addend in as the 'high' argument to
5141 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5142
784421e7
DM
5143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5144
c39bc8b8
PT
51452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5146
5147 * rt/tst-aio2.c: Include <pthread.h>.
5148 * rt/tst-aio3.c: Likewise.
5149
1ccc2399
SE
51502012-09-27 Steve Ellcey <sellcey@mips.com>
5151
5152 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5153
31ed4153
L
51542012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5155
25f5f885
L
5156 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5157 contents on [SHARED].
31ed4153 5158
b7bfe116
MP
51592012-09-26 Marek Polacek <polacek@redhat.com>
5160
5161 [BZ #14530]
5162 [BZ #13741]
5163 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5164 for C++ and GCC <4.3 as well as for non GCC compilers.
5165
43c4edba
MT
51662012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5167
5168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5169
6a1bf82f
RM
51702012-09-25 Roland McGrath <roland@hack.frob.com>
5171
5172 * Makefile.in (all, install): Declare with .PHONY.
5173 Reported by Michael Hope <michael.hope@linaro.org>.
5174
8ad11b9a
TMQMF
51752012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5176
5177 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5178 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5179 system header.
5180 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5181 Likewise.
5182 (sydep_routines): Add the new and the internal functions.
5183 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5184 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5186 (GLIBC_2.17): Add the new function.
5187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5188 (GLIBC_2.17): Likewise.
5189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5190 (GLIBC_2.17): Likewise.
5191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5192 (GLIBC_2.17): Likewise.
5193 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5194
7e2fca8d
AM
51952012-09-25 Alan Modra <amodra@gmail.com>
5196
5197 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5198 Add release barrier before setting once_control to say
5199 initialisation is done. Add hints on lwarx. Use macro in
5200 place of isync.
5201 (clear_once_control): Add release barrier.
5202
b87c4b24
JM
52032012-09-25 Joseph Myers <joseph@codesourcery.com>
5204
d032e0d2
JM
5205 [BZ #13629]
5206 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5207 specially.
5208 * math/s_clog10.c (__clog10): Likewise.
5209 * math/s_clog10f.c (__clog10f): Likewise.
5210 * math/s_clog10l.c (__clog10l): Likewise.
5211 * math/s_clogf.c (__clogf): Likewise.
5212 * math/s_clogl.c (__clogl): Likewise.
5213 * math/Makefile (libm-calls): Add x2y2m1.
5214 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5215 (__x2y2m1): Likewise.
5216 (__x2y2m1l): Likewise.
5217 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5218 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5221 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5222 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5223 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5224 * sysdeps/i386/fpu/libm-test-ulps: Update.
5225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5226
b87c4b24
JM
5227 [BZ #14621]
5228 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5229 int as type of variable DEPTH.
5230 (glob): Use size_t instead of int as type of variables NEWCOUNT
5231 and OLD_PATHC.
5232
6d3bf199
LD
52332012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5234
22bf5c17
LD
5235 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5236 Add s_sincosf-sse2.
5237 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5238 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5239 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5240 macros for using routine as __sincosf_ia32.
5241 Use macro for function declaration and weak_alias.
5242 * sysdeps/i386/fpu/libm-test-ulps: Update.
5243
5244 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5246
5247 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5248 subnormal argument.
5249 * math/s_cexpf.c (__cexpf): Likewise.
5250 * math/s_csinf.c (__csinf): Likewise.
5251 * math/s_csinhf.c (__csinhf): Likewise.
5252 * math/s_ctanf.c (__ctanf): Likewise.
5253 * math/s_ctanhf.c (__ctanhf): Likewise.
5254 * math/s_ccosh.c (__ccoshf): Likewise.
5255 * math/s_cexp.c (__cexpl): Likewise.
5256 * math/s_csin.c (__csin): Likewise.
5257 * math/s_csinh.c (__csinh): Likewise.
5258 * math/s_ctan.c (__ctan): Likewise.
5259 * math/s_ctanh.c (ctanh): Likewise.
5260 * math/s_ccoshl.c (__ccoshl): Likewise.
5261 * math/s_cexpl.c (__cexpl): Likewise.
5262 * math/s_csinl.c (__csinl): Likewise.
5263 * math/s_csinhl.c (__csinhl): Likewise.
5264 * math/s_ctanl.c (__ctanl): Likewise.
5265 * math/s_ctanhl.c (__ctanhl): Likewise.
5266
203e5603
JM
52672012-09-25 Joseph Myers <joseph@codesourcery.com>
5268
5269 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5270 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5271 (_IO_off_t): Define to __off_t, not _G_off_t.
5272 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5273 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5274 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5275 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5276 type of __dummy and __dummy2 fields.
5277 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5278 (_G_ssize_t): Likewise.
5279 (_G_off_t): Likewise.
5280 (_G_pid_t): Likewise.
5281 (_G_uid_t): Likewise.
5282 (_G_wchar_t): Likewise.
5283 (_G_wint_t): Likewise.
5284 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5285 (_G_ssize_t): Likewise.
5286 (_G_off_t): Likewise.
5287 (_G_pid_t): Likewise.
5288 (_G_uid_t): Likewise.
5289 (_G_wchar_t): Likewise.
5290 (_G_wint_t): Likewise.
5291 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5292 (_G_ssize_t): Likewise.
5293 (_G_off_t): Likewise.
5294 (_G_pid_t): Likewise.
5295 (_G_uid_t): Likewise.
5296 (_G_wchar_t): Likewise.
5297 (_G_wint_t): Likewise.
5298
9fab36eb
SP
52992012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5300
5301 * malloc/arena.c: Include malloc-sysdep.h.
5302 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5303 is sufficient to shrink the heap or an unmap is needed.
5304 * sysdeps/generic/malloc-sysdep.h: New file. Define
5305 new function check_may_shrink_heap.
5306 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5307 new function check_may_shrink_heap.
5308
2b4f00d1
SP
53092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5310
5311 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5312 comments.
5313
9a9028b1
DL
53142012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5315
57c69bef
DL
5316 * catgets/test-gencat.sh: Add "set -e".
5317 * elf/tst-pathopt.sh: Likewise.
5318 * grp/tst_fgetgrent.sh: Likewise.
5319 * iconvdata/run-iconv-test.sh: Likewise.
5320 * intl/tst-gettext.sh: Likewise.
5321 * intl/tst-gettext2.sh: Likewise.
5322 * intl/tst-gettext4.sh: Likewise.
5323 * intl/tst-gettext6.sh: Likewise.
5324 * intl/tst-translit.sh: Likewise.
5325 * io/ftwtest-sh: Likewise.
5326 * libio/test-freopen.sh: Likewise.
5327 * malloc/tst-mtrace.sh: Likewise.
5328 * posix/globtest.sh: Likewise.
5329 * posix/tst-getconf.sh: Likewise.
5330 * posix/wordexp-tst.sh: Likewise.
5331 * stdio-common/tst-printf.sh: Likewise.
5332 * stdio-common/tst-unbputc.sh: Likewise.
5333 * stdlib/tst-fmtmsg.sh: Likewise.
5334 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5335 * catgets/Makefile: Do not specify -e option when running
5336 testsuite shell scripts.
5337 * elf/Makefile: Likewise.
5338 * grp/Makefile: Likewise.
5339 * iconvdata/Makefile: Likewise.
5340 * intl/Makefile: Likewise.
5341 * io/Makefile: Likewise.
5342 * libio/Makefile: Likewise.
5343 * malloc/Makefile: Likewise.
5344 * posix/Makefile: Likewise.
5345 * stdio-common/Makefile: Likewise.
5346 * stdlib/Makefile: Likewise.
5347 * sysdeps/x86_64/Makefile: Likewise.
5348
9a9028b1
DL
5349 * io/ftwtest-sh: Add copyright header.
5350 * posix/globtest.sh: Likewise.
5351 * posix/tst-getconf.sh: Likewise.
5352 * posix/wordexp-tst.sh: Likewise.
5353 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5354
ced6f16e
L
53552012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5356
94b32c39
L
5357 [BZ #13679]
5358 * Makeconfig (+link): Defined as $(+link-static) if
5359 $(build-shared) isn't yes.
5360 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5361 isn't yes.
5362 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5363
189e935b
L
5364 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5365
ced6f16e
L
5366 [BZ #14562]
5367 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5368 new chunk size with MALLOC_ALIGN_MASK.
5369
a9f8e53a
JM
53702012-09-24 Joseph Myers <joseph@codesourcery.com>
5371
5372 [BZ #5044]
5373 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5374 <rounding-mode.h>.
5375 (__printf_fphex): Determine rounding using get_rounding_mode and
5376 round_away.
5377 * stdio-common/tst-printf-round.c (struct hex_test): New
5378 structure.
5379 (hex_tests): New variable.
5380 (test_hex_in_one_mode): New function.
5381 (do_test): Also run tests for hex float output.
5382
43153109
JM
53832012-09-21 Joseph Myers <joseph@codesourcery.com>
5384
5385 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5386 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5387 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5388 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5389 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5390 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5391 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5392 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5393
8a26625d
JM
53942012-09-20 Joseph Myers <joseph@codesourcery.com>
5395
5396 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5397 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5398 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5399 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5400
f3fd569c
DL
54012012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5402
5403 [BZ #14579]
5404 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5405 mode only.
5406 * elf/tst-rtld-load-self.sh: New test.
5407 * elf/Makefile: Run it.
5408
63bbedd4
JM
54092012-09-18 Joseph Myers <joseph@codesourcery.com>
5410
5411 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5412 (tst-writev-ENV): Remove.
5413 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5414
626f8b6a
CM
54152012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5416
5417 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5418
b7aaa4d6
JM
54192012-09-17 Joseph Myers <joseph@codesourcery.com>
5420
5421 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5422 unconditional.
5423 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5424 Likewise.
5425 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5426 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5427 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5428 Likewise.
5429
65513990
L
54302012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5431
5432 [BZ #14587]
5433 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5434 * config.make.in (have-cpp-asm-debuginfo): Removed.
5435 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5436 * configure: Regenerated.
5437
784761be
JM
54382012-09-14 Joseph Myers <joseph@codesourcery.com>
5439
5440 [BZ #5044]
5441 * stdio-common/printf_fp.c: Include <stdbool.h> and
5442 <rounding-mode.h>.
5443 (___printf_fp): Determine rounding using get_rounding_mode and
5444 round_away.
5445 * stdio-common/tst-printf-round.c: New file.
5446 * stdio-common/Makefile (tests): Add tst-printf-round.
5447 (link-libm): New variable.
5448 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5449
9503345f
L
54502012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5451
5452 [BZ #14576]
5453 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5454 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5455 Likewise.
5456 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5457 Likewise.
5458
ad35fc00
JM
54592012-09-13 Joseph Myers <joseph@codesourcery.com>
5460
5461 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5462 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5463 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5464 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5465
6c9b0f68
JM
54662012-09-12 Joseph Myers <joseph@codesourcery.com>
5467
5468 [BZ #14518]
5469 * include/rounding-mode.h: New file.
5470 * sysdeps/generic/get-rounding-mode.h: Likewise.
5471 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5472 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5473 (MAX_VALUE): New macro.
5474 (MIN_VALUE): Likewise.
5475 (overflow_value): New function.
5476 (underflow_value): Likewise.
5477 (round_and_return): Use overflow_value and underflow_value to
5478 determine return values in overflow and underflow cases. Use
5479 round_away to determine rounding depending on rounding mode.
5480 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5481 determine return values in overflow and underflow cases.
5482 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5483 (struct test_results): New structure.
5484 (struct test): Use struct test_results to store expected results
5485 for all rounding modes.
5486 (TEST): Include expected results for all rounding modes.
5487 (test_in_one_mode): New function.
5488 (do_test): Use test_in_one_mode to compute and check results.
5489 Check results for all rounding modes.
5490 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5491 $(link-libm).
5492
19fcedd5
AM
54932012-12-09 Allan McRae <allan@archlinux.org>
5494
1e9d84cd 5495 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5496
8bbfd2f1
JM
54972012-09-11 Joseph Myers <joseph@codesourcery.com>
5498
5499 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5500 (_G_int32_t): Likewise.
5501 (_G_uint16_t): Likewise.
5502 (_G_uint32_t): Likewise.
5503 (_G_HAVE_BOOL): Likewise.
5504 (_G_HAVE_ATEXIT): Likewise.
5505 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5506 (_G_HAVE_IO_FILE_OPEN): Likewise.
5507 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5508 (_G_int32_t): Likewise.
5509 (_G_uint16_t): Likewise.
5510 (_G_uint32_t): Likewise.
5511 (_G_HAVE_BOOL): Likewise.
5512 (_G_HAVE_ATEXIT): Likewise.
5513 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5514 (_G_HAVE_IO_FILE_OPEN): Likewise.
5515 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5516 (_G_int32_t): Likewise.
5517 (_G_uint16_t): Likewise.
5518 (_G_uint32_t): Likewise.
5519 (_G_HAVE_BOOL): Likewise.
5520 (_G_HAVE_ATEXIT): Likewise.
5521 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5522 (_G_HAVE_IO_FILE_OPEN): Likewise.
5523
b1dc5912
L
55242012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5525
5526 * csu/libc-tls.c: Update copyright years.
5527
0e886ef9
JM
55282012-09-10 Joseph Myers <joseph@codesourcery.com>
5529
28361c5e
JM
5530 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5531 [!_G_USING_THUNKS]: Remove conditional code.
5532 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5533 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5534
0e886ef9
JM
5535 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5536 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5537 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5538 (_G_VTABLE_LABEL_PREFIX): Likewise.
5539 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5540 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5541 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5542 (_G_VTABLE_LABEL_PREFIX): Likewise.
5543 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5544 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5545 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5546 (_G_VTABLE_LABEL_PREFIX): Likewise.
5547 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5548
bcba7aa2
L
55492012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5550
5551 * libio/Makefile: Include ../Makeconfig before tests.
5552 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5553 only if $(build-shared) is yes.
5554
06585ee8
L
5555 * iconv/gconv_db.c: Update copyright years.
5556
80ccd52c
LD
55572012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5558
5559 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5560 unwind info if defined PIC. Fix special cases description.
5561 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5562
5563 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5564 DP_HI_MASK entry.
5565 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5566
691bc9c1
L
55672012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5568
3d9b46b3
L
5569 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5570
de2139a9
L
5571 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5572 is NULL.
5573
5ca78dd0
L
5574 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5575 (LDLIBS-tst-chk4): This.
5576 (LDFLAGS-tst-chk5): Renamed to ...
5577 (LDLIBS-tst-chk5): This.
5578 (LDFLAGS-tst-chk6): Renamed to ...
5579 (LDLIBS-tst-chk6): This.
5580 (LDFLAGS-tst-lfschk4): Renamed to ...
5581 (LDLIBS-tst-lfschk4): This.
5582 (LDFLAGS-tst-lfschk5): Renamed to ...
5583 (LDLIBS-tst-lfschk5): This.
5584 (LDFLAGS-tst-lfschk6): Renamed to ...
5585 (LDLIBS-tst-lfschk6): This.
5586
691bc9c1
L
5587 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5588 on $(common-objpfx)soversions.mk.
5589
65cafb1c
JM
55902012-09-07 Joseph Myers <joseph@codesourcery.com>
5591
5592 [BZ #10014]
5593 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5594 example host name.
5595
c78ab094
SP
55962012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5597
5598 * malloc/arena.c (arena_get_retry): New function that gets
5599 another arena for the caller to try its request on.
5600 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5601 current arena cannot fulfill the request.
5602 (__libc_memalign): Likewise.
5603 (__libc_memalign): Likewise.
5604 (__libc_pvalloc): Likewise.
5605 (__libc_calloc): Likewise.
5606
01f49f59
JT
56072012-09-05 John Tobey <john.tobey@gmail.com>
5608
5609 [BZ #13542]
5610 * manual/arith.texi (Operations on Complex): Fix description
5611 of carg branch cut.
5612
4c23fed5
JM
56132012-09-06 Joseph Myers <joseph@codesourcery.com>
5614
1d3c8572
JM
5615 [BZ #10014]
5616 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5617 host name.
5618
4c23fed5
JM
5619 [BZ #10038]
5620 * manual/memory.texi (Memory): Make order of menu items match
5621 order of sections.
5622
04570aaa
L
56232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5624
5625 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5626 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5627 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5628
b80af2f4
L
56292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5630
5631 * csu/libc-tls.c (static_dtv): Renamed to ...
5632 (_dl_static_dtv): This. Make it global.
5633 (_dl_initial_dtv): Removed.
5634 (__libc_setup_tls): Updated.
5635 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5636 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5637 DL_INITIAL_DTV.
5638
2abe9f15
PM
56392012-09-06 Petr Machata <pmachata@redhat.com>
5640
5641 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5642 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5643 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5644 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5645
0948c3af
L
56462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5647
5648 [BZ #14545]
5649 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5650 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5651 freeing dtv[-1].
5652
a5055ad1
L
56532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5654
5655 [BZ #14544]
5656 * Makeconfig (link-static-before-libc): Replace $(+prector)
5657 with $(+prectorT).
5658 (link-static-after-libc): Replace $(+postctor) with
5659 $(+postctorT).
5660 (link-bounded): Replace $(+prector)/$(+postctor) with
5661 $(+prectorT)/$(+postctorT).
5662 (+prectorT): New macro.
5663 (+postctorT): Likewise.
5664
ed8c2ecd
JM
56652012-09-06 Joseph Myers <joseph@codesourcery.com>
5666
5667 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5668 (round_str): Handle values above the maximum for IBM long double
5669 as inexact.
5670 * stdlib/tst-strtod-round.c (tests): Regenerated.
5671
14c996c8
AK
56722012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5673
5674 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5675 assembler flag.
5676 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5677 zarch_nohighgprs around the zarch optimized routines.
5678 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5679 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5680 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5681 for zarch.
5682
430d6ce6
DM
56832012-09-05 David S. Miller <davem@davemloft.net>
5684
5685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5686
ff04dda4
DM
5687 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5688 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5689 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5690 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5691 entries.
5692
24d4e01b
AO
56932012-09-05 Alexandre Oliva <aoliva@redhat.com>
5694
5695 * malloc/arena.c: Fold copyright years.
5696 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5697
61d58174
AO
56982012-09-05 Alexandre Oliva <aoliva@redhat.com>
5699
5700 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5701
20196a5e
AO
57022012-09-05 Alexandre Oliva <aoliva@redhat.com>
5703
5704 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5705
5c447383
AO
57062012-09-05 Alexandre Oliva <aoliva@redhat.com>
5707
5708 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5709 change internal state upon failure.
5710
fad64255
AO
57112012-09-05 Alexandre Oliva <aoliva@redhat.com>
5712
5713 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5714 * malloc/memusage.c (mmap): Likewise.
5715 (mmap64, mremap): Likewise. Adjust name in comment.
5716
1ffb8c90
SP
57172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5718
5719 * libio/fileops.c: Fix typos in comments.
5720 * libio/oldfileops.c: Likewise.
5721 * libio/wfileops.c: Likewise.
5722
6ef9cc37
SP
57232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5724
5725 [BZ #1349]
5726 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5727 (tst-malloc-usable-ENV): Set environment for test case.
5728 * malloc/hooks.c (malloc_check_get_size): New function to get
5729 requested size.
5730 * malloc/malloc.c (musable): Use malloc_check_get_size.
5731 * malloc/tst-malloc-usable.c: New test case.
5732
4d038ae3
AS
57332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5734
5735 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5736
c4e85184
AM
57372012-09-05 Allan McRae <allan@archlinux.org>
5738
b9dafc56 5739 [BZ #13966]
c4e85184
AM
5740 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5741 determine header location.
5742 * configure: Regenerated.
5743
e1343020
AS
57442012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5745
5746 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5747 float format.
5748 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5749 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5750 format.
e1343020
AS
5751 (test): Regenerate.
5752
0a9f1987
DM
57532012-09-04 David S. Miller <davem@davemloft.net>
5754
5755 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5756 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5757 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5758
29237804
FW
57592012-09-04 Florian Weimer <fweimer@redhat.com>
5760
5761 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5762 failures.
5763
edb3cb88
FW
5764 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5765
60160d83
JM
57662012-09-04 Joseph Myers <joseph@codesourcery.com>
5767
5768 [BZ #9914]
5769 * libio/iogetdelim.c: Include <limits.h>.
5770 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5771 + len + 1 would overflow.
5772
bcd6c8dc
AJ
57732012-09-03 Andreas Jaeger <aj@suse.de>
5774
5775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5776 * sysdeps/i386/fpu/libm-test-ulps: Update.
5777
4ffffbd2
LD
57782012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5779
5780 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5781 Add s_sinf-sse2, s_conf-sse2.
5782
5783 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5784 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5785 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5786 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5787
5788 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5789 for using routine as __sinf_ia32.
5790 Use macro for function declaration and weak_alias.
5791 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5792 for using routine as __cosf_ia32.
5793 Use macro for function declaration and weak_alias.
5794
5795 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5796 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5797
5798 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5799 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5801
5802 * math/libm-test.inc (cos_test): Add more test cases.
5803 (sin_test): Likewise.
5804 (sincos_test): Likewise.
5805
511fa286
AK
58062012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5807
5808 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5809 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5810 hidden.
5811 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5812
5f30cfec
L
58132012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5814
5815 [BZ #14538]
5816 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5817 first element of the GOT.
5818 (elf_machine_load_address): Return the difference between
5819 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5820
0786794f
AM
58212012-09-01 Allan McRae <allan@archlinux.org>
5822
5f30cfec
L
5823 [BZ #13412]
5824 * configure.in (AWK): Require gawk version 3.0 or later.
5825 * configure: Regenerated.
0786794f 5826
26889eac
JM
58272012-09-01 Joseph Myers <joseph@codesourcery.com>
5828
5829 * sysdeps/unix/sysv/linux/kernel-features.h
5830 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5831 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5832 [__NR_clock_getres]: Make code unconditional.
5833 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5834 (clock_getcpuclockid): Remove code left unreachable by removal of
5835 conditionals.
5836 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5837 code unconditional.
5838 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5839 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5840 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5841 Make code unconditional.
5842 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5843 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5844 * sysdeps/unix/sysv/linux/clock_settime.c
5845 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5846 conditional code.
5847 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5848 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5849
d22e28b0
L
58502012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5851
5852 [BZ #14476]
5853 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5854 scripts/test-installation.pl.
5855
5856 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5857 and $ld_so_version if it is set.
5858
050af9c4
SP
58592012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5860
5861 [BZ #14516]
5862 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5863 failure if reading from procfs failed.
5864 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5865
ad845c0b
JM
58662012-08-27 Joseph Myers <joseph@codesourcery.com>
5867
5868 * sysdeps/unix/sysv/linux/kernel-features.h
5869 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5870 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5871 Remove conditional code.
5872 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5873 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5874 Remove conditional code.
5875 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5876 * sysdeps/unix/sysv/linux/i386/fxstat.c
5877 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5878 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5879 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5880 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5881 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5882 * sysdeps/unix/sysv/linux/i386/lxstat.c
5883 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5884 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5885 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5886 Remove conditional code.
5887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5888 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5889 Remove conditional code.
5890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5891 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5892 <kernel-features.h>.
5893 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5894 Remove.
5895 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5896 Remove conditional code.
5897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5898 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5899 Remove conditional.
5900
5dbf56af
MF
59012012-08-27 Mike Frysinger <vapier@gentoo.org>
5902
5903 [BZ #5400]
5904 * NEWS: Add fixed bug number.
5905
d6e70f43
JM
59062012-08-27 Joseph Myers <joseph@codesourcery.com>
5907
7efb4737
JM
5908 [BZ #14519]
5909 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5910 underflowing exponent in case of negative sign.
5911 * stdlib/tst-strtod-round-data: Add more tests.
5912 * stdlib/tst-strtod-round.c (tests): Regenerated.
5913
af92131a
JM
5914 [BZ #3479]
5915 * stdlib/strtod_l.c (NDIG): Remove.
5916 (HEXNDIG): Likewise.
5917 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5918 smallest representable value.
5919 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5920 lie within an exact representation of 1/2 ulp of the result.
5921 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5922 unconditionally.
5923 (TENS_P9_IDX): Define unconditionally.
5924 (TENS_P9_SIZE): Likewise.
5925 (TENS_P10_IDX): Likewise.
5926 (TENS_P10_SIZE): Likewise.
5927 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5928 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5929 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5930 entries for 10^2^13 and 10^2^14.
5931 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5932 (TENS_P13_IDX): Define.
5933 (TENS_P13_SIZE): Likewise.
5934 (TENS_P14_IDX): Likewise.
5935 (TENS_P14_SIZE): Likewise.
5936 (_fpioconst_pow10): Change array size to
5937 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5938 unconditional.
5939 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5940 1024]: Add entries for 10^2^13 and 10^2^14.
5941 [LAST_POW10 > _LAST_POW10]: Remove #error.
5942 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5943 (_fpioconst_pow10): Change array size to
5944 FPIOCONST_POW10_ARRAY_SIZE.
5945 * stdlib/gen-fpioconst.c: New file.
5946 * stdlib/gen-tst-strtod-round.c: Likewise.
5947 * stdlib/tst-strtod-round-data: Likewise.
5948 * stdlib/tst-strtod-round.c: Likewise.
5949 * stdlib/Makefile (tests): Add tst-strtod-round.
5950
d6e70f43
JM
5951 [BZ #14459]
5952 * stdlib/strtod_l.c: Include <stdint.h>.
5953 (NDEBUG): Do not define.
5954 (round_and_return): Change EXPONENT parameter to type intmax_t.
5955 Rearrange calculations to avoid internal overflow possibilities.
5956 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5957 Rearrange calculations to avoid internal overflow possibilities.
5958 Assert that number fits inside MPNSIZE limbs.
5959 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5960 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5961 calculations and add assertions to avoid internal overflow
5962 possibilities. Add casts to avoid signed/unsigned operations.
5963 * stdlib/tst-strtod-overflow.c: New file.
5964 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5965
1f529f7d
MP
59662012-08-25 Marek Polacek <polacek@redhat.com>
5967
5968 * time/time.h: Fix some typos in comments.
5969
59a629f1
RM
59702012-08-23 Roland McGrath <roland@hack.frob.com>
5971
5972 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5973 * posix/tst-rfc3484-2.c: Likewise.
5974 * posix/tst-rfc3484-3.c: Likewise.
5975
d3bafbc9
SM
59762012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5977
5978 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5979 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5980
4efcc022
JM
59812012-08-23 Joseph Myers <joseph@codesourcery.com>
5982
5983 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5984 #include of fxstatat64.c.
5985
3cc3ef96
RM
59862012-08-22 Roland McGrath <roland@hack.frob.com>
5987
f04e2132
RM
5988 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5989 * shadow/getspent_r.c: Likewise.
5990 * shadow/getspnam.c: Likewise.
5991 * shadow/getspnam_r.c: Likewise.
5992 * gshadow/getsgent.c: Likewise.
5993 * gshadow/getsgent_r.c: Likewise.
5994 * gshadow/getsgnam.c: Likewise.
5995 * gshadow/getsgnam_r.c: Likewise.
5996 * inet/getnetbyad.c: Likewise.
5997 * inet/getnetbyad_r.c: Likewise.
5998 * inet/getnetbynm.c: Likewise.
5999 * inet/getnetbynm_r.c: Likewise.
6000 * inet/getnetent.c: Likewise.
6001 * inet/getnetent_r.c: Likewise.
6002 * inet/getproto.c: Likewise.
6003 * inet/getproto_r.c: Likewise.
6004 * inet/getprtent.c: Likewise.
6005 * inet/getprtent_r.c: Likewise.
6006 * inet/getprtname.c: Likewise.
6007 * inet/getprtname_r.c: Likewise.
6008 * inet/getrpcbyname.c: Likewise.
6009 * inet/getrpcbyname_r.c: Likewise.
6010 * inet/getrpcbynumber.c: Likewise.
6011 * inet/getrpcbynumber_r.c: Likewise.
6012 * inet/getrpcent.c: Likewise.
6013 * inet/getrpcent_r.c: Likewise.
6014 * inet/getaliasent.c: Likewise.
6015 * inet/getaliasent_r.c: Likewise.
6016 * inet/getaliasname.c: Likewise.
6017 * inet/getaliasname_r.c: Likewise.
6018 * nscd/getgrgid_r.c: Likewise.
6019 * nscd/getgrnam_r.c: Likewise.
6020 * nscd/gethstbyad_r.c: Likewise.
6021 * nscd/gethstbynm3_r.c: Likewise.
6022 * nscd/getpwnam_r.c: Likewise.
6023 * nscd/getpwuid_r.c: Likewise.
6024 * nscd/getsrvbynm_r.c: Likewise.
6025 * nscd/getsrvbypt_r.c: Likewise.
6026 * nscd/gai.c: Likewise.
6027
c53d909c
RM
6028 * configure.in (build_nscd): New substituted variable, set
6029 by --disable-build-nscd and defaults to $use_nscd.
6030 * configure: Regenerated.
6031 * config.make.in (build-nscd): New substituted variable.
6032 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6033 Change conditional to require [$(build-nscd) = yes] as well.
6034 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6035
3cc3ef96
RM
6036 [BZ# 13696]
6037 * configure.in (use_nscd): New substituted variable, set by
6038 --disable-nscd. If enabled, define USE_NSCD.
6039 * configure: Regenerated.
6040 * config.h.in: Add USE_NSCD.
6041 * config.make.in (use-nscd): New substituted variable.
6042 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6043 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6044 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6045 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6046 (CFLAGS-getgrnam_r.c): Likewise.
6047 (CFLAGS-initgroups.c): Likewise.
6048 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6049 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6050 Variables removed.
6051 * inet/getnetgrent_r.c
6052 (nscd_setnetgrent): New function, broken out of ...
6053 (setnetgrent): ... here. Call it.
6054 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6055 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6056 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6057 * nscd/Makefile (routines, aux): Move definitions after include of
6058 Makeconfig. Conditionalize on [$(use-nscd) != no].
6059 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6060 Conditionalize on [USE_NSCD].
6061 (is_nscd, nscd_init_cb): Likewise.
6062 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6063 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6064 * nss/nss_db/db-init.c: Likewise.
6065 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6066 [USE_NSCD].
6067 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6068 (make_request): Use it.
6069 (cache_valid_p): New function.
6070 (__check_pf): Use it.
6071 * NEWS: Add item for --disable-nscd.
6072
07e51550
DL
60732012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6074
6075 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6076 to support sed >= 4.2.1-20-ga9bf076.
6077 * configure: Regenerated.
6078
35a5b08b
RM
60792012-08-22 Roland McGrath <roland@hack.frob.com>
6080
6081 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6082 Conditionalize whole body on [IREL].
6083
8479f23a
JL
60842012-08-22 Jeff Law <law@redhat.com>
6085
6086 [BZ #14505]
6087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6088 if the family is PF_UNSPEC.
6089
48da0b21
MF
60902012-08-22 Mike Frysinger <vapier@gentoo.org>
6091
6092 * Makerules (lib-version): Rename from V.
6093 (install-lib-nosubdir): Change V to lib-version.
6094
15d0da8c
WS
60952012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6096
6097 [BZ #14252]
6098 * powerpc32/power6/wcschr.c: New file.
6099 * powerpc32/power6/wcscpy.c: New file.
6100 * powerpc32/power6/wcsrchr.c: New file.
6101 * powerpc64/power6/wcschr.c: New file.
6102 * powerpc64/power6/wcscpy.c: New file.
6103 * powerpc64/power6/wcsrchr.c: New file.
6104
bcca0895
MK
61052012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6106
6107 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6108 (two_way_short_needle): Use it.
5a4aaa33
RM
6109 * string/strstr.c (AVAILABLE1_USES_J): Define.
6110 * string/strcasestr.c: Likewise.
99677e57
MK
6111
6112 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6113 array references.
6114 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6115
400726de
MK
6116 [BZ #11607]
6117 * NEWS: Add an entry.
6118 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6119 define their defaults.
6120 (two_way_short_needle): Detect end-of-string on-the-fly.
6121 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6122 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6123 * string/bug-strcasestr1.c: New test.
6124 * string/Makefile: Run it.
6125
20a71f2c
MK
61262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6127
6128 [BZ #11607]
6129 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6130 the first character.
6131
21ad0558
RM
61322012-08-21 Roland McGrath <roland@hack.frob.com>
6133
6134 * csu/elf-init.c (__libc_csu_irel): Function removed.
6135 * csu/libc-start.c (apply_irel): New function.
6136 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6137
0e1d9911
JM
61382012-08-21 Joseph Myers <joseph@codesourcery.com>
6139
6140 * sysdeps/unix/sysv/linux/kernel-features.h
6141 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6142 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6143 <kernel-features.h>.
6144 [__NR_fadvise64_64]: Make code unconditional.
6145 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6146 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6147 !__NR_fadvise64_64)]: Likewise.
6148 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6149 !__NR_fadvise64_64))]: Likewise.
6150 [__NR_fadvise64]: Make code unconditional.
6151 [!__NR_fadvise64]: Remove conditional code.
6152 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6153 <kernel-features.h>.
6154 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6155 unconditional.
6156 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6157 conditional code.
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6159 not include <kernel-features.h>.
6160 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6161 unconditional.
6162 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6163 conditional code.
6164 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6165 include <kernel-features.h>.
6166 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6167 unconditional.
6168 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6169 conditional code.
6170
14a50c9d
WS
61712012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6172
6173 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6174 slight instruction rearrangements per scrollpipe analysis.
6175 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6176
c0f4faf0
RM
61772012-08-20 Roland McGrath <roland@hack.frob.com>
6178
696da859
RM
6179 * manual/syslog.texi (syslog; vsyslog, closelog):
6180 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6181 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6182
c0f4faf0
RM
6183 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6184 DSOCAPS to match condition on defining it.
6185
348363b2
JM
61862012-08-20 Joseph Myers <joseph@codesourcery.com>
6187
a35cbf28
JM
6188 * sysdeps/unix/sysv/linux/kernel-features.h
6189 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6191 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6192 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6194 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6195 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6197 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6198 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6199
445f7ecd
JM
6200 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6201 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6202
348363b2
JM
6203 * sysdeps/unix/sysv/linux/kernel-features.h
6204 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6205 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6206 unconditional.
6207 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6208 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6209 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6210 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6211 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6212 Make code unconditional.
6213 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6214 (__mmap64) [!__NR_mmap2]: Likewise.
6215 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6216 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6217 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6218 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6219 [__NR_mmap2]: Make code unconditional.
6220 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6221 (__mmap64) [!__NR_mmap2]: Likewise.
6222
bc5bc0e5
AK
62232012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6224
6225 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6226
88d506de
AJ
62272012-08-18 Andreas Jaeger <aj@suse.de>
6228
6229 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6230
493387d2
MF
62312012-08-18 Mike Frysinger <vapier@gentoo.org>
6232
6233 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6234 * include/unistd.h (__have_sock_cloexec): Likewise.
6235 (__have_pipe2): Likewise.
6236 (__have_dup3): Likewise.
6237
a277af22
MF
62382012-08-18 Mike Frysinger <vapier@gentoo.org>
6239
6240 [BZ #9685]
6241 * include/unistd.h (__have_pipe2): Change define into an extern int.
6242 (__have_dup3): Likewise.
6243 * socket/have_sock_cloexec.c: Include fcntl.h.
6244 (__have_pipe2): New variable.
6245 (__have_dup3): Likewise.
6246
fdab8fd3
MF
62472012-08-17 Mike Frysinger <vapier@gentoo.org>
6248
6249 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6250
31035e80
MP
62512012-08-17 Marek Polacek <polacek@redhat.com>
6252
6253 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6254 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6255
3bd9e993
RM
62562012-08-17 Roland McGrath <roland@hack.frob.com>
6257
c91c505f
RM
6258 * configure.in: Add AC_SUBST for sysheaders.
6259 * configure: Regenerated.
6260 * config.make.in (sysheaders): New substituted variable.
6261
7c6f9d53
RM
6262 * sysdeps/unix/mkfifo.c: Moved ...
6263 * sysdeps/posix/mkfifo.c: ... here.
6264 * sysdeps/unix/mkfifoat.c: Moved ...
6265 * sysdeps/posix/mkfifoat.c: ... here.
6266
6267 * sysdeps/unix/utime.c: Moved ...
6268 * sysdeps/posix/utime.c: ... here.
6269
6270 * sysdeps/unix/time.c: Moved ...
6271 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6272 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6273 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6274
6275 * sysdeps/unix/nice.c: Moved ...
6276 * sysdeps/posix/nice.c: ... here.
6277
6278 * sysdeps/unix/alarm.c: Moved ...
6279 * sysdeps/posix/alarm.c: ... here.
6280
3bd9e993
RM
6281 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6282
d1f09384
JL
62832012-08-17 Jeff Law <law@redhat.com>
6284
6285 * intl/Makefile (codeset_mo): New variable.
6286 ($(codeset_mo)): New target.
6287 (tst-codeset.out): Depend on that. Remove explicit rule.
6288 (tst-gettext3.out, tst-gettext5.out): Likewise.
6289 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6290 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6291 * intl/tst-codeset.sh: Remove.
6292 * intl/tst-gettext3.sh: Likewise.
6293 * intl/tst-gettext5.sh: Likewise.
6294
2ae1ae5c
RM
62952012-08-17 Roland McGrath <roland@hack.frob.com>
6296
c31fdb83
RM
6297 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6298 * sysdeps/unix/syscalls.list: ... here.
6299
a0844057
RM
6300 * sysdeps/posix/getaddrinfo.c
6301 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6302 (gaiconf_init, gaiconf_reload): Use them.
6303 [!_STATBUF_ST_NSEC]
6304 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6305 Define using time_t rather than struct timespec.
6306
750c1f2a
RM
6307 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6308 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6309 Macros removed.
6310 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6311 [!NO_THREADS].
6312 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6313 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6314 Likewise.
6315
2ae1ae5c
RM
6316 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6317 __libc_cleanup_push argument.
6318
e66a42f5
RM
6319 * bits/param.h: New file.
6320 * misc/sys/param.h: New file.
6321 * include/sys/param.h: New file.
6322 * misc/Makefile (headers): Add bits/param.h.
6323 * sysdeps/generic/sys/param.h: File removed.
6324 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6325 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6326 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6327 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6328
b7c08a66
RM
6329 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6330 last change.
6331
b2e1c562
RM
6332 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6333 [_IO_MTSAFE_IO].
6334 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6335 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6336 New macros.
6337
c75ccd4c
RM
6338 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6339 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6340 rather than -D_IO_MTSAFE_IO conditionally.
6341 * stdio-common/Makefile (CPPFLAGS): Likewise.
6342 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6343 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6344 Use $(libio-mtsafe).
6345 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6346 of -D_IO_MTSAFE_IO.
6347 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6348 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6349 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6350 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6351 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6352 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6353 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6354 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6355 (CFLAGS-fread_u_chk.c): Likewise.
6356 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6357 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6358 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6359 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6360 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6361 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6362 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6363 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6364 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6365
6366 * libio/Makefile: Test [$(libc-reentrant) = yes]
6367 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6368
6369 * Makeconfig
6370 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6371 * sysdeps/pthread/configure: File removed.
6372 * sysdeps/pthread/Makeconfig: New file.
6373 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6374 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6375
d9195db8
GB
63762012-08-16 Gary Benson <gbenson@redhat.com>
6377
6378 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6379 unmapping the first object in a namespace.
6380
86466cd9
RM
63812012-08-16 Roland McGrath <roland@hack.frob.com>
6382
6383 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6384 (__internal_setnetgrent): ... this. Add internal_function to
6385 definition. Add libc_hidden_def.
6386 (setnetgrent): Update caller.
6387 (internal_endnetgrent): Renamed to ...
6388 (__internal_endnetgrent): ... this. Add internal_function to
6389 definition. Add libc_hidden_def.
6390 (endnetgrent): Update caller.
6391 (internal_getnetgrent_r): Renamed to ...
6392 (__internal_getnetgrent_r): ... this. Add internal_function to
6393 definition. Add libc_hidden_def.
6394 (__getnetgrent_r): Update caller.
6395 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6396
c3c8283c
JM
63972012-08-16 Joseph Myers <joseph@codesourcery.com>
6398
6399 * stdlib/longlong.h: Update from GCC.
6400
db1ee0a8
RM
64012012-08-16 Roland McGrath <roland@hack.frob.com>
6402
6403 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6404 on _QL, which is set by umul_ppmm but never used.
6405 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6406 variables, which are set by GMP macros but never used.
6407 * stdio-common/_itowa.c (_itowa): Likewise.
6408 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6409 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6410
30f69637
CD
64112012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6412
6413 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6414 struct La_sh_regs is not constant.
6415 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6416 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6417 and struct La_sparc64_regs are not constant.
6418
93a78ac4
JM
64192012-08-16 Joseph Myers <joseph@codesourcery.com>
6420
6421 * sysdeps/unix/sysv/linux/kernel-features.h
6422 (__ASSUME_POSIX_TIMERS): Remove.
6423 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6424 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6425 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6426 Make code unconditional.
6427 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6428 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6429 Make code unconditional.
6430 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6431 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6432 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6433 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6434 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6435 Make code unconditional.
6436 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6437 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6438 (__libc_missing_posix_timers): Remove.
6439
dd924cd7
RM
64402012-08-15 Roland McGrath <roland@hack.frob.com>
6441
4b4f2771
RM
6442 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6443 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6444
601c888b
RM
6445 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6446
176790a7
RM
6447 * elf/dl-sym.c: Include <stdlib.h>.
6448
329bc018
RM
6449 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6450 constants, which avoids warnings in 32-bit builds.
6451
e04e272d
RM
6452 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6453 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6454
952bf94a
RM
6455 * misc/lseek.c: File moved to ...
6456 * io/lseek.c: ... here.
6457
7c99b50a
RM
6458 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6459
dd924cd7
RM
6460 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6461 shifting LEN more than 31 bits at once.
6462
b3f479a8
LD
64632012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6464
6465 [BZ #14195]
8c4ae0d4
RM
6466 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6467 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6468 * string/test-strncasecmp.c (check1): Renamed to...
6469 (bz12205): ...this.
6470 (bz14195): Add new testcase for two empty input strings and N > 0.
6471 (test_main): Call new testcase, adapt for renamed function.
6472
9c55864e
AJ
64732012-08-15 Andreas Jaeger <aj@suse.de>
6474
6475 [BZ #14090]
6476 * crypt/md5test2.c: New test, based on test supplied by Serge
6477 Belyshev <belyshev@depni.sinp.msu.ru>.
6478 * crypt/Makefile (xtests): Add md5test-giant..
6479 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6480
02dcb6c5
PE
64812012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6482
6483 [BZ #14090]
6484 * crypt/md5.c (md5_process_block): Don't assume the buffer
6485 length is less than 2**32.
6486 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6487 length is less than 2**64.
6488
a3f95dcc
RM
64892012-08-15 Roland McGrath <roland@hack.frob.com>
6490
be75d758
RM
6491 * string/str-two-way.h: Include <sys/param.h>.
6492 (MAX): Macro removed.
6493
7312ca90
RM
6494 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6495 Move #define and #undef of memmove to just before and after
6496 including <string.h>.
6497
9a0a5486
RM
6498 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6499 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6500 and after including <string.h>. Move declarations of
6501 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6502 to before #include "string/memmove.c".
6503
67cc348d
RM
6504 * include/dirent.h: Declare __getdirentries.
6505
a3f95dcc
RM
6506 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6507 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6508
ca98e171
MF
65092012-08-14 Mike Frysinger <vapier@gentoo.org>
6510
6511 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6512 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6513 * sysdeps/i386/configure: Regenerated.
6514 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6515 STABS_CURRENT_FILE, and STABS_FUN.
6516 (END): Remove call to STABS_FUN_END.
6517 (STABS_CURRENT_FILE1): Delete.
6518 (STABS_CURRENT_FILE): Likewise.
6519 (STABS_FUN): Likewise.
6520 (STABS_FUN_END): Likewise.
6521 (STABS_FUN2): Likewise.
6522 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6523 * sysdeps/x86_64/configure: Regenerated.
6524
5908bf46
RM
65252012-08-14 Roland McGrath <roland@hack.frob.com>
6526
6527 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6528 * elf/dl-lookup.c: Likewise.
5908bf46 6529
f2c05b9e
JM
65302012-08-14 Joseph Myers <joseph@codesourcery.com>
6531
6532 * sysdeps/unix/sysv/linux/kernel-features.h
6533 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6534 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6535 unconditionally.
6536 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6537 unconditionally.
6538 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6539 condition on __ASSUME_CLONE_THREAD_FLAGS.
6540
e11f5155
AJ
65412012-08-14 Andreas Jaeger <aj@suse.de>
6542
6543 * sysdeps/i386/fpu/libm-test-ulps: Update.
6544
51a9ba86
MK
65452012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6546
2fdd4f78
AJ
6547 * include/atomic.h (atomic_exchange_and_add): Split into ...
6548 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6549 New atomic macros.
51a9ba86 6550
ba6cba9e
MT
65512012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6552
6553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6554
42443a47
JL
65552012-08-13 Jeff Law <law@redhat.com>
6556
6557 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6558 null byte in the output string.
6559
121dce05
JM
65602012-08-10 Joseph Myers <joseph@codesourcery.com>
6561
6562 * sysdeps/unix/sysv/linux/kernel-features.h
6563 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6564 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6565 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6566 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6567 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6568 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6569 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6570
bf51f568
JL
65712012-08-09 Jeff Law <law@redhat.com>
6572
6573 [BZ #13939]
6574 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6575 When avoid_arena is set, don't retry in the that arena. Pick the
6576 next one, whatever it might be.
6577 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6578 (arena_lock): Pass in new parameter to arena_get2.
6579 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6580 arena_get2.
6581 (__libc_malloc): Unify retrying after main arena failure with
6582 __libc_memalign version.
6583 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6584
f85fa270
L
65852012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6586
6587 [BZ #14166]
6588 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6589 to __redirect_strstr.
6590 (__strstr_sse42): Use typeof __redirect_strstr.
6591 (__strstr_ia32): Likewise.
6592 (__libc_strstr): New prototype.
6593 (strstr): Renamed to ...
6594 (__libc_strstr): This.
6595 (strstr): New strong alias of __libc_strstr.
6596 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6597 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6598 __redirect_time.
6599 Include <time.h>.
6600 (__libc_time): New prototype.
6601 (time_ifunc): Replace time with __libc_time.
6602 (time): New strong alias and hidden definition of __libc_time.
6603 (__GI_time): Remove strong alias.
6604 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6605 Include <stddef.h>.
6606 (memmove): Redefined to __redirect_memmove.
6607 (__memmove_sse2): Use typeof __redirect_memmove.
6608 (__memmove_ssse3): Likewise.
6609 (__memmove_ssse3_back): Likewise.
6610 (__libc_memmove): New prototype.
6611 (memmove): Renamed to ...
6612 (__libc_memmove): This.
6613 (memmove): New strong alias of __libc_memmove.
6614
33b4a91e
MS
66152012-08-08 Mark Salter <msalter@redhat.com>
6616
6617 * elf/elf.h
6618 (R_MN10300_TLS_GD): Define.
6619 (R_MN10300_TLS_LD): Likewise.
6620 (R_MN10300_TLS_LDO): Likewise.
6621 (R_MN10300_TLS_GOTIE): Likewise.
6622 (R_MN10300_TLS_IE): Likewise.
6623 (R_MN10300_TLS_LE): Likewise.
6624 (R_MN10300_TLS_DTPMOD): Likewise.
6625 (R_MN10300_TLS_DTPOFF): Likewise.
6626 (R_MN10300_TLS_TPOFF): Likewise.
6627 (R_MN10300_SYM_DIFF): Likewise.
6628 (R_MN10300_ALIGN): Likewise.
6629 (R_MN10300_NUM): Update.
6630
b36137f1
JM
66312012-08-08 Joseph Myers <joseph@codesourcery.com>
6632
6633 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6634 Remove.
6635
cdd915fd
RM
66362012-08-08 Roland McGrath <roland@hack.frob.com>
6637
a2433aac
RM
6638 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6639
cdd915fd
RM
6640 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6641 sysdeps/unix -> sysdeps/posix move.
6642 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6643
bf9b740a
AM
66442012-08-07 Allan McRae <allan@archlinux.org>
6645
6646 [BZ #14303]
6647 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6648 (SUNOS_CPP): Likewise.
6649 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6650 not found.
6651 (open_input): Call CPP using execvp.
6652
93df14ee
JM
66532012-08-07 Joseph Myers <joseph@codesourcery.com>
6654
6655 * sysdeps/unix/sysv/linux/kernel-features.h
6656 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6657 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6658 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6659 (__ASSUME_WAITID_SYSCALL): Likewise.
6660 * sysdeps/unix/sysv/linux/dl-execstack.c
6661 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6662 code unconditional.
6663 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6664 conditional code.
6665 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6666 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6667 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6668 code.
6669 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6670 unconditional.
6671 [__ASSUME_WAITID_SYSCALL]: Likewise.
6672 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6673
d34689de
RM
66742012-08-07 Roland McGrath <roland@hack.frob.com>
6675
a281decc
RM
6676 * sysdeps/unix/closedir.c: Renamed to ...
6677 * sysdeps/posix/closedir.c: ... here.
6678 * sysdeps/unix/dirfd.c: Renamed to ...
6679 * sysdeps/posix/dirfd.c: ... here.
6680 * sysdeps/unix/dirstream.h: Renamed to ...
6681 * sysdeps/posix/dirstream.h: ... here.
6682 * sysdeps/unix/fdopendir.c: Renamed to ...
6683 * sysdeps/posix/fdopendir.c: ... here.
6684 * sysdeps/unix/opendir.c: Renamed to ...
6685 * sysdeps/posix/opendir.c: ... here.
6686 * sysdeps/unix/readdir.c: Renamed to ...
6687 * sysdeps/posix/readdir.c: ... here.
6688 * sysdeps/unix/readdir_r.c: Renamed to ...
6689 * sysdeps/posix/readdir_r.c: ... here.
6690 * sysdeps/unix/rewinddir.c: Renamed to ...
6691 * sysdeps/posix/rewinddir.c: ... here.
6692 * sysdeps/unix/seekdir.c: Renamed to ...
6693 * sysdeps/posix/seekdir.c: ... here.
6694 * sysdeps/unix/telldir.c: Renamed to ...
6695 * sysdeps/posix/telldir.c: ... here.
6696 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6697 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6698 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6699 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6700
22895b47
RM
6701 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6702 * bits/fcntl.h: ... here.
6703
707a53b6
RM
6704 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6705 not 0.
6706 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6707 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6708 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6709 (struct flock): Move l_start, l_len to the beginning.
6710 Use __pid_t for l_pid.
6711 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6712 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6713 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6714 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6715 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6716 [__USE_LARGEFILE64] (struct flock64): New type.
6717 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6718
f0bd3e25
RM
6719 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6720 * bits/dirent.h: ... here.
6721
d34689de
RM
6722 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6723 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6724
6dad2c06
JM
67252012-08-07 Joseph Myers <joseph@codesourcery.com>
6726
6727 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6728 Change from 2.6.0 to 2.6.16.
6729 * sysdeps/unix/sysv/linux/configure: Regenerated.
6730 * sysdeps/unix/sysv/linux/kernel-features.h
6731 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6732 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6733 version.
6734 (__ASSUME_UTIMES): Likewise.
6735 (__ASSUME_CLONE_STOPPED): Remove.
6736 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6737 architectures, not kernel version.
6738 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6739 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6740 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6741 (__ASSUME_WAITID_SYSCALL): Likewise.
6742 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6743 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6744 * README: State 2.6.16 as minimum Linux kernel version. Do not
6745 refer to older versions.
6746
03af9520
RM
67472012-08-06 Roland McGrath <roland@hack.frob.com>
6748
8e49df1d
RM
6749 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6750 Define alphasort64 as an alias.
6751 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6752 Define versionsort64 as an alias.
6753 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6754 Define scandir64 as an alias.
6755 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6756 Define scandirat64 as an alias.
6757 * dirent/alphasort64.c (alphasort64):
6758 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6759 * dirent/versionsort64.c: Likewise.
6760 * dirent/scandir64.c: Likewise.
6761 * dirent/scandirat64.c: Likewise.
6762 * sysdeps/wordsize-64/alphasort.c: File removed.
6763 * sysdeps/wordsize-64/alphasort64.c: File removed.
6764 * sysdeps/wordsize-64/scandir.c: File removed.
6765 * sysdeps/wordsize-64/scandir64.c: File removed.
6766 * sysdeps/wordsize-64/scandirat.c: File removed.
6767 * sysdeps/wordsize-64/scandirat64.c: File removed.
6768 * sysdeps/wordsize-64/versionsort.c: File removed.
6769 * sysdeps/wordsize-64/versionsort64.c: File removed.
6770 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6771 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6772 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6773 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6774 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6775 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6776 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6778
6779 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6781 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6783 [defined __arch64__ || defined __sparcv9]
6784 (__INO_T_MATCHES_INO64_T): New macro.
6785 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6786 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6787 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6788 * sysdeps/unix/sysv/linux/bits/dirent.h
6789 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6790 (_DIRENT_MATCHES_DIRENT64): New macro.
6791
03af9520
RM
6792 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6793 Define lockf64 as an alias.
6794 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6795 Define fseeko64 as an alias.
6796 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6797 Define ftello64 as an alias.
6798 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6799 Define _IO_fgetpos64 and fgetpos64 as aliases.
6800 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6801 Define _IO_fsetpos64 and fsetpos64 as aliases.
6802 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6803 Conditionalize body on this.
6804 * libio/fseeko64.c: Likewise.
6805 * libio/ftello64.c: Likewise.
6806 * libio/iofgetpos64.c: Likewise.
6807 * libio/iofsetpos64.c: Likewise.
6808 * sysdeps/wordsize-64/lockf.c: File removed.
6809 * sysdeps/wordsize-64/lockf64.c: File removed.
6810 * sysdeps/wordsize-64/fseeko.c: File removed.
6811 * sysdeps/wordsize-64/fseeko64.c: File removed.
6812 * sysdeps/wordsize-64/ftello.c: File removed.
6813 * sysdeps/wordsize-64/ftello64.c: File removed.
6814 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6815 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6816 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6817 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6818 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6819 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6820 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6821 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6822 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6823 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6824 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6825 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6826 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6827 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6828
6829 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6831 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6833 [defined __arch64__ || defined __sparcv9]
6834 (__OFF_T_MATCHES_OFF64_T): New macro.
6835 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6836 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6837 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6838 (__OFF_T_MATCHES_OFF64_T): New macro.
6839
c5757acd
L
68402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6841
6842 * stdlib/secure-getenv.c (__secure_getenv): Replace
6843 GLIBC_2_16 with GLIBC_2_17.
6844
3a31811e
L
68452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6846
6847 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6848 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6849
faa2bccb
DM
68502012-08-03 David S. Miller <davem@davemloft.net>
6851
6852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6853
85fe1997
JM
68542012-08-03 Joseph Myers <joseph@codesourcery.com>
6855
6856 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6857 Remove.
6858 (__ASSUME_CORRECT_SI_PID): Likewise.
6859 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6860 (__ASSUME_TMPFS_NAME): Likewise.
6861 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6862 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6863 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6864 (HAVE_AUX_SECURE): Make definition unconditional.
6865 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6866 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6867
4f75b7a0
RM
68682012-08-03 Roland McGrath <roland@hack.frob.com>
6869
6870 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6871 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6872 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6873 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6874 __eloop_threshold instead of SYMLOOP_MAX.
6875
6876 * sysdeps/generic/eloop-threshold.h: New file.
6877 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6878 of MAXSYMLINKS.
6879 * elf/chroot_canon.c (chroot_canon): Likewise.
6880
7aab07e4
JM
68812012-08-03 Joseph Myers <joseph@codesourcery.com>
6882
6883 [BZ #13717]
6884 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6885 Change to 2.6.0 everywhere.
6886 * sysdeps/unix/sysv/linux/configure: Regenerated.
6887 * sysdeps/unix/sysv/linux/kernel-features.h
6888 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6889 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6890 kernel versions.
6891 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6892 (__ASSUME_FUTEX_REQUEUE): Remove.
6893 (__ASSUME_STATFS64): Define unconditionally.
6894 (__ASSUME_AT_SECURE): Likewise.
6895 (__ASSUME_CORRECT_SI_PID): Likewise.
6896 (__ASSUME_TGKILL): Define without depending on kernel version for
6897 i386.
6898 (__ASSUME_UTIMES): Likewise.
6899 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6900 kernel version.
6901 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6902 (__ASSUME_TMPFS_NAME): Likewise.
6903 * README: Update reference to Linux kernel versions.
6904
b67e9372
MP
69052012-08-02 Marek Polacek <polacek@redhat.com>
6906
1f529f7d 6907 [BZ# 14150]
b67e9372
MP
6908 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6909 libc_cv_asm_type_prefix with %.
6910 * configure: Regenerated.
d2441631
RM
6911 * include/libc-symbols.h: Remove comment about
6912 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6913 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6914 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6915 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6916 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6917 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6918 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6919 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6920 * elf/tst-unique2mod1.c: Likewise.
6921 * elf/tst-unique1mod2.c: Likewise.
6922 * elf/tst-unique1mod1.c: Likewise.
6923 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6924 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6925 Replace ASM_TYPE_DIRECTIVE with .type.
6926 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6927 * sysdeps/i386/sysdep.h: Likewise.
6928 * sysdeps/x86_64/sysdep.h: Likewise.
6929 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6931 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6932 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6933 * sysdeps/powerpc/powerpc32/sysdep.h:
6934 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6935 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6936 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6937 * sysdeps/i386/fpu/e_powf.S: Likewise.
6938 * sysdeps/i386/fpu/e_expl.S: Likewise.
6939 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6940 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6941 * sysdeps/i386/fpu/e_pow.S: Likewise.
6942 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6943 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6944 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6945 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6946 * sysdeps/i386/fpu/e_log2.S: Likewise.
6947 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6948 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6949 * sysdeps/i386/fpu/e_powl.S: Likewise.
6950 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6951 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6952 * sysdeps/i386/fpu/e_logl.S: Likewise.
6953 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6954 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6955 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6956 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6957 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6958 * sysdeps/i386/fpu/e_log.S: Likewise.
6959 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6960 * sysdeps/i386/fpu/e_logf.S: Likewise.
6961 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6962 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6963 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6964 * sysdeps/i386/fpu/e_log10.S: Likewise.
6965 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6966 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6967 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6968 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6969 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6970 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6971 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6972 * sysdeps/i386/i686/strtok.S: Likewise.
6973 * sysdeps/i386/i386-mcount.S: Likewise.
6974 * sysdeps/i386/strtok.S: Likewise.
6975 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6976 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6978 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6979 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6980 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6981 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6982 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6983 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6984 * sysdeps/x86_64/_mcount.S: Likewise.
6985 * sysdeps/x86_64/strtok.S: Likewise.
6986 * sysdeps/sh/_mcount.S: Likewise.
6987
2747bf9a
RM
69882012-08-01 Roland McGrath <roland@hack.frob.com>
6989
6990 * libio/iofopen.c: Include <fcntl.h>.
6991 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6992 (_IO_fopen64, fopen64): Define as aliases.
6993 * libio/iofopen64.c: Include <fcntl.h>.
6994 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6995 Conditionalize body on this.
6996 * sysdeps/wordsize-64/iofopen.c: File removed.
6997 * sysdeps/wordsize-64/iofopen64.c: File removed.
6998
3fb791b8
MP
69992012-08-01 Marek Polacek <polacek@redhat.com>
7000
7001 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7002 Use dlfcn directly instead of a variable.
7003 (binfmt-subdir): Do not define.
7004 (dlfcn): Likewise.
7005
a9f1039f
JM
70062012-08-01 Joseph Myers <joseph@codesourcery.com>
7007
23bddc06
JM
7008 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7009 Remove all definitions.
7010 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7011 <kernel-features.h>.
7012 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7013 (miss_F_GETOWN_EX): Remove all definitions.
7014 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7015 macro definition.
7016 [!__ASSUME_FCNTL64]: Remove conditional code.
7017 [__ASSUME_FCNTL64]: Make code unconditional.
7018 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7019 <kernel-features.h>.
7020 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7021 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7022 (lockf64) [__NR_fcntl64]: Make code unconditional.
7023 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7024
a9f1039f
JM
7025 * sysdeps/unix/sysv/linux/kernel-features.h
7026 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7027 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7028 Make code unconditional.
7029 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7030 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7032 [__NR_vfork]: Make code unconditional.
7033 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7034 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7036 [__NR_vfork]: Make code unconditional.
7037 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7038 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7039
09c0ee5f
RM
70402012-08-01 Roland McGrath <roland@hack.frob.com>
7041
48aec5b9
RM
7042 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7043 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7044
cd97c966
RM
7045 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7046 Define mkstemp64 as an alias.
3f55550c
RM
7047 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7048 Define mkstemps64 as an alias.
cd97c966
RM
7049 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7050 Define mkostemp64 as an alias.
b8625cfc
RM
7051 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7052 Define mkostemps64 as an alias.
cd97c966
RM
7053 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7054 Conditionalize body on this.
7055 * misc/mkostemp64.c: Likewise.
b8625cfc 7056 * misc/mkostemps64.c: Likewise.
3f55550c 7057 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7058 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7059 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7060 * sysdeps/wordsize-64/mkostemp.c: File removed.
7061 * sysdeps/wordsize-64/mkstemp.c: File removed.
7062 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7063 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7064 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7065 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7066
09c0ee5f
RM
7067 [BZ #14138]
7068 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7069 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7070 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7071 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7072
7073 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7074 compat_symbol macros from <shlib-compat.h> rather than the underlying
7075 default_symbol_version and symbol_version macros, so that DEFAULT
7076 lines in shlib-versions are respected.
7077 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7078
7e66ee51
FW
70792012-08-01 Florian Weimer <fweimer@redhat.com>
7080
7081 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7082 Declare with warn_unused_result.
7083 (setgid, setregid, setegid, setresgid): Likewise.
7084 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7085 Likewise.
7086 * WUR-REPORT: Remove set*id functions.
7087
d2a54255
PT
70882012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7089
7090 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7091
7ecdb005
RM
70922012-07-31 Roland McGrath <roland@hack.frob.com>
7093
789bd351
RM
7094 * include/sys/socket.h (__libc_accept, __libc_accept4):
7095 Add attribute_hidden.
7096 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7097
40ce302d
RM
7098 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7099 use of PTR_MANGLE.
7100 * inet/getnetgrent_r.c (setup): Likewise.
7101
7ecdb005
RM
7102 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7103
e2eabb2c
DM
71042012-07-31 David S. Miller <davem@davemloft.net>
7105
7106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7107
d0419dbf
JM
71082012-07-31 Joseph Myers <joseph@codesourcery.com>
7109
7110 [BZ #13629]
7111 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7112 value between 1.0 and 2.0 and smaller part has absolute value less
7113 than 1.0.
7114 * math/s_clog10.c (__clog10): Likewise.
7115 * math/s_clog10f.c (__clog10f): Likewise.
7116 * math/s_clog10l.c (__clog10l): Likewise.
7117 * math/s_clogf.c (__clogf): Likewise.
7118 * math/s_clogl.c (__clogl): Likewise.
7119 * math/libm-test.inc (clog_test): Add more tests.
7120 (clog10_test): Likewise.
7121 * sysdeps/i386/fpu/libm-test-ulps: Update.
7122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7123
2bc13872
FW
71242012-07-31 Florian Weimer <fweimer@redhat.com>
7125
7126 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7127 Exit with zero in case no suitable GID is found, and write a
7128 message to standard error.
7129
bea9b193
RM
71302012-07-30 Roland McGrath <roland@hack.frob.com>
7131
7132 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7133 rather than to 1.
7134 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7135 (MAXPATHLEN): Removed.
7136 (NOGROUP, NODEV): New macros.
7137 (setbit, clrbit, isset, isclr): New macros.
7138 (howmany, roundup, powerof2): New macros.
7139 (DEV_BSIZE): New macro.
7140
7141 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7142 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7143
7144 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7145 definition on [!__NO_LONG_DOUBLE_MATH].
7146
7147 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7148 PTR_MANGLE and PTR_DEMANGLE.
7149
7150 * socket/accept4.c (accept4): Rename to __libc_accept4.
7151 Define accept4 as a weak alias.
7152
7153 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7154 on [_DIRENT_HAVE_D_TYPE].
7155 * io/ftw.c (ftw_dir): Likewise.
7156
7157 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7158
7159 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7160
7161 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7162 Use the BSD numbers rather than the arbitrary ones we had.
7163 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7164 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7165 (SIGXCPU, SIGXFSZ): New macros.
7166 (_NSIG): Now 32.
7167
7168 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7169 initializer on [_LIBC_REENTRANT].
7170
7171 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7172 definitions inside [_POSIX_MAPPED_FILES].
7173
7174 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7175
7176 * dirent/opendir.c: Include <fcntl.h>.
7177
7178 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7179 (__libc_getspecific): Likewise.
7180 (__libc_key_create): Likewise.
7181
7182 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7183 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7184 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7185 (tmpfile64): Define as alias.
7186 * sysdeps/wordsize-64/tmpfile.c: File removed.
7187 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7188 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7189 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7190
7191 * stdio-common/vfscanf.c: Include <stdbool.h>.
7192 * nss/makedb.c: Likewise.
7193 * stdio-common/_i18n_number.h: Likewise.
7194 * argp/argp-help.c: Likewise.
7195 * posix/wordexp.c: Likewise.
7196 * sysdeps/posix/spawni.c: Likewise.
7197 * nss/nss_files/files-initgroups.c: Likewise.
7198 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7199 * nss/nss_files/files-initgroups.c: Likewise.
7200 * nss/nss_db/db-netgrp.c: Likewise.
7201 * nss/nss_db/db-initgroups.c: Likewise.
7202 * io/fchmodat.c: Include <sys/stat.h>.
7203
7204 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7205 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7206
7207 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7208 [HAVE_MMAP].
7209
7210 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7211 Add multiple inclusion protection.
7212
e5abc686
DM
72132012-07-27 David S. Miller <davem@davemloft.net>
7214
7215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7216
815e6fa3
GB
72172012-07-27 Gary Benson <gbenson@redhat.com>
7218
7219 [BZ #14298]
7220 * elf/rtld.c: Include <stap-probe.h>.
7221 (dl_main): Added static probes "init_start" and "init_complete".
7222 * elf/dl-load.c: Include <stap-probe.h>.
7223 (lose): Take new parameter "nsid".
7224 Added static probe "map_failed".
7225 (_dl_map_object_from_fd): Pass namespace id to lose.
7226 Added static probe "map_start".
7227 (open_verify): Pass namespace id to lose.
7228 * elf/dl-open.c: Include <stap-probe.h>.
7229 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7230 and "reloc_complete".
7231 * elf/dl-close.c: Include <stap-probe.h>.
7232 (_dl_close_worker): Added static probes "unmap_start" and
7233 "unmap_complete".
7234 * elf/rtld-debugger-interface.txt: New file documenting the above.
7235
9f98c16c
RM
72362012-07-26 Roland McGrath <roland@hack.frob.com>
7237
7238 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7239 rather than a string variable.
7240 * sunrpc/rpc_main.c (h_output): Likewise.
7241 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7242
f3c22df3
PT
72432012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7244
7245 * inet/check_native.c: New file.
7246
3129cfc6
JM
72472012-07-26 Joseph Myers <joseph@codesourcery.com>
7248
da865e95
JM
7249 [BZ #13629]
7250 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7251 if larger part has absolute value 1.0.
7252 * math/s_clog10.c (__clog10): Likewise.
7253 * math/s_clog10f.c (__clog10f): Likewise.
7254 * math/s_clog10l.c (__clog10l): Likewise.
7255 * math/s_clogf.c (__clogf): Likewise.
7256 * math/s_clogl.c (__clogl): Likewise.
7257 * math/libm-test.inc (clog_test): Add more tests.
7258 (clog10_test): Likewise.
7259 * sysdeps/i386/fpu/libm-test-ulps: Update.
7260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7261
3129cfc6
JM
7262 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7263 (pltexit): Likewise.
7264 (La_regs): Likewise.
7265 (La_retval): Likewise.
7266 (int_retval): Likewise.
7267 Update #error for removed macros to refer only to definitions in
7268 tst-audit.h.
7269 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7270 macro.
7271 (pltexit): Likewise.
7272 (La_regs): Likewise.
7273 (La_retval): Likewise.
7274 (int_retval): Likewise.
7275 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7276 macro.
7277 (pltexit): Likewise.
7278 (La_regs): Likewise.
7279 (La_retval): Likewise.
7280 (int_retval): Likewise.
7281 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7282 macro.
7283 (pltexit): Likewise.
7284 (La_regs): Likewise.
7285 (La_retval): Likewise.
7286 (int_retval): Likewise.
7287 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7288 macro.
7289 (pltexit): Likewise.
7290 (La_regs): Likewise.
7291 (La_retval): Likewise.
7292 (int_retval): Likewise.
7293 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7294 macro.
7295 (pltexit): Likewise.
7296 (La_regs): Likewise.
7297 (La_retval): Likewise.
7298 (int_retval): Likewise.
7299 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7300 macro.
7301 (pltexit): Likewise.
7302 (La_regs): Likewise.
7303 (La_retval): Likewise.
7304 (int_retval): Likewise.
7305 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7306 macro definitions in tst-audit.h.
7307 * sysdeps/i386/tst-audit.h: New file.
7308 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7309 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7310 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7311 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7312 * sysdeps/sh/tst-audit.h: Likewise.
7313 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7314 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7315 * sysdeps/x86_64/tst-audit.h: Likewise.
7316
bfc07087
AJ
73172012-07-26 Andreas Jaeger <aj@suse.de>
7318
b1b2aaf8
AJ
7319 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7320 ptrace.
7321
7322 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7323 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7324 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7325 PTRACE_O_MASK.
7326 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7327 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7328 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7329
bfc07087
AJ
7330 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7331 value.
7332
7333 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7334 _sigsys.
7335 (si_call_addr, si_syscall, si_arch): Define new macro.
7336 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7337 _sigsys.
7338 (si_call_addr, si_syscall, si_arch): Define new marcro.
7339 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7340 _sigsys.
7341 (si_call_addr, si_syscall, si_arch): Define new macro.
7342 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7343 _sigsys.
7344 (si_call_addr, si_syscall, si_arch): Define new macro.
7345
89b4b02f
JM
73462012-07-25 Joseph Myers <joseph@codesourcery.com>
7347
7348 [BZ #13717]
7349 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7350 Change to 2.4.21 where previously 2.4.1.
7351 * sysdeps/unix/sysv/linux/configure: Regenerated.
7352 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7353 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7354 Linux kernel version.
7355 (__ASSUME_STD_AUXV): Remove.
7356 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7357 kernel version.
7358 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7359 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7360 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7361 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7362 (__ASSUME_NETLINK_SUPPORT): Likewise.
7363 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7364 (__no_netlink_support): Remove conditional definition.
7365 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7366 Remove.
7367 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7368 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7369 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7370 (if_nameindex_ioctl): Remove.
7371 (if_nameindex_netlink): Do not handle __no_netlink_support.
7372 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7373 code.
7374 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7375 Remove conditional code.
7376 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7377 code.
7378 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7379 unconditional.
7380 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7381 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7382 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7383 Remove.
7384 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7385 [!__ASSUME_STD_AUXV]: Remove conditional code.
7386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7387 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7388 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7390 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7391 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7392 code.
7393 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7395 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7396 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7397 conditional code.
7398 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7400 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7401 code.
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7403 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7404 conditional code.
7405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7406 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7407 code unconditional.
7408 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7409 conditional code.
7410 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7411 unconditional.
7412 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7413 conditional code.
7414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7415 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7416 unconditional.
7417 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7418 conditional code.
7419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7420 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7421 code unconditional.
7422 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7423 conditional code.
7424 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7425 unconditional.
7426 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7427 conditional code.
7428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7429 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7430 code unconditional.
7431 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7432 conditional code.
7433 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7434 unconditional.
7435 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7436 conditional code.
7437
842a39cd
AS
74382012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7439
7440 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7441 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7442 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7443 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7444 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7445 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7446 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7447 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7448 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7449 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7450 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7451 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7452 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7453 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7454 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7455 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7456 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7457 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7458 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7460 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7461 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7462 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7463
84b3fd84
FW
74642012-07-25 Florian Weimer <fweimer@redhat.com>
7465
7466 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7467 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7468 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7469 Introduce __libc_secure_getenv.
0c7936d5
FW
7470 * stdlib/Versions (2.17): Add secure_getenv
7471 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7472 * stdlib/secure-getenv.c: Rename __secure_getenv to
7473 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7474 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7475 * stdlib/tst-secure-getenv.c: New.
7476 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7477 * manual/startup.texi (Environment Access): Document
7478 secure_getenv.
84b3fd84
FW
7479 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7480 __libc_secure_getenv.
7481 * inet/ruserpass.c (ruserpass): Likewise.
7482 * malloc/mtrace.c (mtrace): Likewise.
7483 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7484 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7485 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7486 * sysdeps/posix/tempname.c: Likewise. Evaluate
7487 HAVE_SECURE_GETENV.
7488 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7489 __secure_getenv to __libc_secure_getenv.
84b3fd84 7490 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7492 Likewise.
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7494 Likewise.
7495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7497 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7502
56e49b71
JM
75032012-07-25 Joseph Myers <joseph@codesourcery.com>
7504
7505 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7506 (struct La_i86_retval): Likewise.
7507 (struct La_x86_64_regs): Likewise.
7508 (struct La_x86_64_retval): Likewise.
7509 (struct La_x32_regs): Likewise.
7510 (struct La_x32_retval): Likewise.
7511 (struct La_ppc32_regs): Likewise.
7512 (struct La_ppc32_retval): Likewise.
7513 (struct La_ppc64_regs): Likewise.
7514 (struct La_ppc64_retval): Likewise.
7515 (struct La_sh_regs): Likewise.
7516 (struct La_sh_retval): Likewise.
7517 (struct La_s390_32_regs): Likewise.
7518 (struct La_s390_32_retval): Likewise.
7519 (struct La_s390_64_regs): Likewise.
7520 (struct La_s390_64_retval): Likewise.
7521 (struct La_sparc32_regs): Likewise.
7522 (struct La_sparc32_retval): Likewise.
7523 (struct La_sparc64_regs): Likewise.
7524 (struct La_sparc64_retval): Likewise.
7525 (struct audit_ifaces): Remove architecture-specific pltenter and
7526 pltexit members.
7527 * sysdeps/i386/ldsodefs.h: New file.
7528 * sysdeps/powerpc/ldsodefs.h: Likewise.
7529 * sysdeps/s390/ldsodefs.h: Likewise.
7530 * sysdeps/sh/ldsodefs.h: Likewise.
7531 * sysdeps/sparc/ldsodefs.h: Likewise.
7532 * sysdeps/x86_64/ldsodefs.h: Likewise.
7533
354691b7
MP
75342012-07-25 Marek Polacek <polacek@redhat.com>
7535
7536 [BZ #6808]
7537 * math/libm-test.inc (yn_test): Add another test.
7538 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7539 to ERANGE when the result is +-Inf.
7540 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7541 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7542 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7543 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7544
bf9e2071
JM
75452012-07-24 Joseph Myers <joseph@codesourcery.com>
7546
7547 * conform/data/time.h-data (NULL): Use macro-constant. Require
7548 equal to 0.
7549 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7550 clock_t.
7551 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7552
57633811
TS
75532012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7554
7555 * configure.in <sysdeps resolving>: Correct printing
7556 Implies_before.
7557 * configure: Regenerate.
7558
c23c33b0
TS
75592012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7560
7561 * math/w_ilogb.c: Include <limits.h>.
7562 * math/w_ilogbl.c: Likewise.
7563
b5982523
JM
75642012-07-20 Joseph Myers <joseph@codesourcery.com>
7565
7566 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7567 va_copy. Document allowing for unavailable va_copy only as
7568 pre-C99 compatibility.
7569 * manual/string.texi (Copying and Concatenation): Use va_copy
7570 instead of __va_copy in concat example.
7571
ac4ea442
PT
75722012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7573
7574 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7575 (__sendto): Use create_address_port. Initialize APORT and deallocate
7576 it if not null.
7577
f98eafbd
PT
7578 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7579 with O_NOLINK passed to __file_name_lookup.
7580
898c7aab
PT
7581 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7582 with O_NOLINK passed to __file_name_lookup.
7583
0ced335a
PT
7584 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7585 negative N or less than NGIDS.
7586
b3404dbd
PT
7587 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7588 type to string_t. Set ERANGE as errno and return it if NAME is not big
7589 enough. Use memcpy instead of strncpy.
7590
0f48659e
JM
75912012-07-20 Joseph Myers <joseph@codesourcery.com>
7592
7593 * elf/Makefile (check-data): Remove.
7594 (localplt.data): New vpath directive.
7595 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7596 instead of $(check-data).
7597 * scripts/data/localplt-generic.data: Move to ...
7598 * sysdeps/generic/localplt.data: ... here.
7599 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7600 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7601 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7603 ... here.
7604 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7606 ... here.
7607 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7609 ... here.
7610 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7612 ... here.
7613 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7615 ... here.
7616 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7618 ... here.
7619
d37cbdaa
AZ
76202012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7621
7622 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7623 PPC32 and PPC64 files.
7624 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7625 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7626
46f85fc2
AK
76272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7628
7629 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7630 __makecontext_ret to ...
7631 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7632 ... here and call exit if uc_link is NULL. New file.
7633 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7634 __makecontext_ret.S.
7635 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7636 __makecontext_ret to ...
7637 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7638 ... here and call exit if uc_link is NULL. New file.
7639 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7640 __makecontext_ret.S.
7641
08f43f9b
AK
76422012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7643
7644 * elf/elf.h (R_390_IRELATIVE): New definition.
7645 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7646 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7647 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7648 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7649 (elf_machine_lazy_rel): Likewise.
7650 * sysdeps/s390/dl-irel.h: New file.
7651 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7652 * sysdeps/s390/s390-64/memset.S: New asm code.
7653 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7654 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7655 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7656 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7657 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7658 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7659 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7660 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7661 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7662 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7663 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7664 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7665 * sysdeps/s390/s390-32/memset.S: New asm code.
7666 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7667
3b05db33
MP
76682012-07-17 Marek Polacek <polacek@redhat.com>
7669
7670 [BZ #14349]
7671 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7672 * sysdeps/s390/s390-64/configure.in: Likewise.
7673 * sysdeps/sparc/configure.in: Likewise.
7674 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7675 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7676 * sysdeps/i386/configure.in: Likewise.
7677 * sysdeps/x86_64/configure.in: Likewise.
7678 * sysdeps/sh/configure.in: Likewise.
7679 * sysdeps/s390/s390-32/configure: Regenerated.
7680 * sysdeps/s390/s390-64/configure: Likewise.
7681 * sysdeps/x86_64/configure: Likewise.
7682 * sysdeps/sh/configure: Likewise.
7683 * sysdeps/powerpc/powerpc64/configure: Likewise.
7684 * sysdeps/powerpc/powerpc32/configure: Likewise.
7685 * sysdeps/sparc/configure: Likwise.
7686 * sysdeps/i386/configure: Likewise.
7687
a66877c6
MP
7688 * elf/dl-open.c: Comment fixes.
7689
cfc82fd8
JM
76902012-07-17 Joseph Myers <joseph@codesourcery.com>
7691
bd29910a
JM
7692 * Makefile [CXX] (check-data): Remove.
7693 [CXX] (c++-types.data): New vpath directive.
7694 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7695 vpath. Do not allow for C++ type data being missing.
7696 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7697 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7698 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7699 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7700 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7701 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7702 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7704 ... here.
7705 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7707 ... here.
7708 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7710 ... here.
7711 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7713 ... here.
7714 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7716 ... here.
7717 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7719 ... here.
7720 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7722 ... here.
7723 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7725
cfc82fd8
JM
7726 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7727 definitions to architecture-specific files.
7728 (TLS_IE): Likewise.
7729 (TLS_LD): Likewise.
7730 (TLS_GD): Likewise.
7731 * sysdeps/i386/tls-macros.h: New file.
7732 * sysdeps/powerpc/tls-macros.h: Likewise.
7733 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7734 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7735 * sysdeps/sh/tls-macros.h: Likewise.
7736 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7737 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7738 * sysdeps/x86_64/tls-macros.h: Likewise.
7739
f7db3170
TS
77402012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7741
07cbfc23
TS
7742 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7743 zero value for regular exit case.
7744
f7db3170
TS
7745 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7746 (__start_context): Preserve zero value for regular exit case.
7747
dc97c227
TS
77482012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7749 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7750
7751 * manual/setjmp.texi (setcontext): Clarify normal process
7752 termination when uc_link is the null pointer.
7753 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7754 exit call.
7755
d0cd7d02
AS
77562012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7757
7758 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7759 preprocessor. Test for each exception mask separately.
7760
dd318934
AJ
77612012-07-16 Andreas Jaeger <aj@suse.de>
7762
7763 * po/ru.po: Update from translation team.
7764
8048311a
JM
77652012-07-15 Joseph Myers <joseph@codesourcery.com>
7766
7767 * conform/data/string.h-data (NULL): Use macro-constant. Require
7768 equal to 0.
7769 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7770 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7771 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7772 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7773 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7774
b637d46e
AJ
77752012-07-13 Andreas Jaeger <aj@suse.de>
7776
7777 * po/fr.po: Update from translation team.
7778
541428fe
MP
77792012-07-12 Marek Polacek <polacek@redhat.com>
7780
7781 [BZ #14173]
7782 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7783 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7784 loop condition.
7785
ec332e94
JM
77862012-07-12 Joseph Myers <joseph@codesourcery.com>
7787
7788 [BZ #13717]
7789 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7790 Change to 2.4.1 where previously 2.4.0.
7791 * sysdeps/unix/sysv/linux/configure: Regenerated.
7792 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7793 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7794 version.
7795 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7796 (__ASSUME_AT_CLKTCK): Remove.
7797 (__ASSUME_AT_PAGESIZE): Likewise.
7798 (__ASSUME_AT_XID): Likewise.
7799 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7800 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7801 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7802 unconditionally.
7803 (HAVE_AUX_PAGESIZE): Likewise.
7804 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7805 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7806 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7807
7b6e99be
JB
78082012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7809
7810 [BZ #14307]
7811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7812 the temporary buffer used to invoke __gethostbyname2_r,
7813 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7814 host_data / struct gaih_addrtuple.
7815 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7816 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7817 header file nss/nsswitch.h.
7818 * nss/nsswitch.h (global scope): Add definition of implementation
7819 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7820 resolv/nss_dns/dns-host.c).
7821
608404eb
AJ
78222012-07-11 Andreas Jaeger <aj@suse.de>
7823
7824 * po/fr.po: Update from translation team.
7825
71220aca
AJ
7826 * po/sv.po: Update from translation team
7827 * po/fr.po: Another update from translation team.
7828
28cfe843
AZ
78292012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7830
7831 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7832 for subnormals or multiply small sinh result by itself.
7833 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7835
6b90f981
DM
78362012-07-11 David S. Miller <davem@davemloft.net>
7837
7838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7839
c6825772
AS
78402012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7841
7842 [BZ #14347]
7843 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7844 (INTERNAL_MARK): Shift it here.
7845
7b8e0d49
MP
78462012-07-10 Marek Polacek <polacek@redhat.com>
7847
7848 [BZ #14151]
7849 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7850 libc_cv_asm_global_directive with .globl.
7851 * configure: Regenerated.
7852 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7853 with .globl.
7854 * sysdeps/i386/configure: Regenerated.
7855 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7856 with .globl.
7857 * sysdeps/x86_64/configure: Regenerated.
7858 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7859 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7860 * elf/tst-unique2mod2.c: Likewise.
7861 * elf/tst-unique2mod1.c: Likewise.
7862 * elf/tst-unique1mod2.c: Likewise.
7863 * elf/tst-unique1mod1.c: Likewise.
7864 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7865 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7866 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7867 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7868 * sysdeps/mach/sysdep.h: Likewise.
7869 * sysdeps/i386/sysdep.h: Likewise.
7870 * sysdeps/i386/i386-mcount.S: Likewise.
7871 * sysdeps/x86_64/_mcount.S: Likewise.
7872 * sysdeps/x86_64/sysdep.h: Likewise.
7873 * sysdeps/sh/_mcount.S: Likewise.
7874 * sysdeps/sh/sysdep.h: Likewise.
7875 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7876 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7877 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7878 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7879 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7880 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7881 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7882 * locale/localeinfo.h: Likewise.
7883 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7884 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7885
6c55cda3
RM
78862012-07-09 Roland McGrath <roland@hack.frob.com>
7887
7888 [BZ #14336]
7889 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7890 system".
7891 * manual/message.texi (The Uniforum approach): Likewise.
7892 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7893 (glibc iconv Implementation): Likewise.
7894
638a572e
JM
78952012-07-09 Joseph Myers <joseph@codesourcery.com>
7896
7897 [BZ #14337]
7898 * math/s_clog.c (__clog): Avoid scaling a value down where that
7899 could result in underflow.
7900 * math/s_clog10.c (__clog10): Likewise.
7901 * math/s_clog10f.c (__clog10f): Likewise.
7902 * math/s_clog10l.c (__clog10l): Likewise.
7903 * math/s_clogf.c (__clogf): Likewise.
7904 * math/s_clogl.c (__clogl): Likewise.
7905 * math/libm-test.inc (clog_test): Add more tests.
7906 (clog10_test): Likewise.
7907 * sysdeps/i386/fpu/libm-test-ulps: Update.
7908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7909
261f4859
AS
79102012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7911
0abaf3e4
AS
7912 [BZ #14283]
7913 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7914 by 7 not 8 to examine high bit of fractional part.
7915
261f4859
AS
7916 [BZ #14042]
7917 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7918 for call to __mcount_internal.
7919 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7920 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7921 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7922
f17ac40d
JM
79232012-07-06 Joseph Myers <joseph@codesourcery.com>
7924
9ad63c23
JM
7925 [BZ #14154]
7926 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7927 approximation for values within 0x1p-13f of an odd multiple of
7928 pi/4.
7929 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7930 exception. Add more tests.
7931 * sysdeps/i386/fpu/libm-test-ulps: Update.
7932
f17ac40d
JM
7933 [BZ #6778]
7934 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7935 inputs and return -1 for them. Do not check for +Inf in case not
7936 reachable for +Inf.
7937 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7938 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7939 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7940 and return -1 for them. Do not check for +Inf in case not
7941 reachable for +Inf.
7942 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7943 define.
7944 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7945 and return -1 for them. Do not check for +Inf in case not
7946 reachable for +Inf.
7947 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7948 spurious underflow.
7949 * sysdeps/i386/fpu/libm-test-ulps: Update.
7950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7951
fb21f89b
MF
79522012-07-06 Mike Frysinger <vapier@gentoo.org>
7953
7954 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7955
cdfe2c5e
JM
79562012-07-05 Joseph Myers <joseph@codesourcery.com>
7957
7958 [BZ #14157]
7959 [BZ #14331]
7960 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7961 could result in spurious underflow. Scale down values above
7962 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7963 * math/s_csqrtf.c (__csqrtf): Likewise.
7964 * math/s_csqrtl.c (__csqrtl): Likewise.
7965 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7966 spurious underflow.
7967 * sysdeps/i386/fpu/libm-test-ulps: Update.
7968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7969
70d35b67
AS
79702012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7971
704bc459
AS
7972 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7973 xopen-msg.sed.
7974 * catgets/xopen-msg.awk: New file.
7975 * catgets/xopen-msg.sed: Removed.
7976
70d35b67
AS
7977 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7978 po2text.sed.
7979 * intl/po2test.awk: New file.
7980 * intl/po2test.sed: Removed.
7981
ca61cf32
JM
79822012-07-04 Joseph Myers <joseph@codesourcery.com>
7983
7984 [BZ #14328]
7985 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7986 or multiply small sinh result by itself.
7987 * math/s_ctanf.c (__ctanf): Likewise.
7988 * math/s_ctanh.c (__ctanh): Likewise.
7989 * math/s_ctanhf.c (__ctanhf): Likewise.
7990 * math/s_ctanhl.c (__ctanhl): Likewise.
7991 * math/s_ctanl.c (__ctanl): Likewise.
7992 * math/libm-test.inc (ctan_test_tonearest): New function.
7993 (ctan_test_towardzero): Likewise.
7994 (ctan_test_downward): Likewise.
7995 (ctan_test_upward): Likewise.
7996 (ctanh_test_tonearest): Likewise.
7997 (ctanh_test_towardzero): Likewise.
7998 (ctanh_test_downward): Likewise.
7999 (ctanh_test_upward): Likewise.
8000 (main): Call these new functions.
8001 * sysdeps/i386/fpu/libm-test-ulps: Update.
8002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8003
ca48a46a
MF
80042012-07-03 Mike Frysinger <vapier@gentoo.org>
8005
8006 * .gitignore: Delete /ports entry.
8007
9d63d37d
AJ
80082012-07-03 Andreas Jaeger <aj@suse.de>
8009
8010 * po/bg.po: Update from translation team.
8011 * po/cs.po: Likewise.
8012 * po/de.po: Likewise.
8013 * po/hr.po: Likewise.
8014 * po/nl.pl: Likewise.
8015 * po/pl.po: Likewise.
8016 * po/vi.po: Likewise.
8017
370ca3d2
JM
80182012-07-03 Joseph Myers <joseph@codesourcery.com>
8019
95f5a9a8
JM
8020 * Makeconfig [!+link] (+link-before-libc): New variable.
8021 [!+link] (+link-after-libc): Likewise.
8022 [!+link] (+link-tests): Likewise.
8023 [!+link] (+link): Define in terms of $(+link-before-libc) and
8024 $(+link-after-libc).
8025 [!+link-static] (+link-static-before-libc): New variable.
8026 [!+link-static] (+link-static-after-libc): Likewise.
8027 [!+link-static] (+link-static-tests): Likewise.
8028 [!+link-static] (+link-static): Define in terms of
8029 $(+link-static-before-libc) and $(+link-static-after-libc).
8030 [build-shared] (link-libc-before-gnulib): New variable.
8031 [build-shared] (link-libc-tests): Likewise.
8032 [build-shared] (link-libc): Define in terms of
8033 $(link-libc-before-gnulib).
8034 [!build-shared] (link-libc-tests): New variable.
8035 (link-libc-static-tests): New variable.
8036 [!gnulib] (gnulib-arch): New variable.
8037 [!gnulib] (gnulib-tests): Likewise.
8038 [!gnulib] (static-gnulib-arch): Likewise.
8039 [!gnulib] (static-gnulib-tests): Likewise.
8040 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8041 Define with "=" instead of ":=".
8042 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8043 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8044 * Rules (binaries-all-notests): New variable.
8045 (binaries-all-tests): Likewise.
8046 (binaries-static-notests): Likewise.
8047 (binaries-static-tests): Likewise.
8048 (binaries-all): Define using $(binaries-all-notests) and
8049 $(binaries-all-tests).
8050 (binaries-static): Define using $(binaries-static-notests) and
8051 $(binaries-static-tests).
8052 (binaries-shared-tests): New variable.
8053 (binaries-shared-notests): Likewise.
8054 (binaries-shared): Remove variable.
8055 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8056 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8057 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8058 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8059 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8060 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8061 * elf/Makefile (sln-modules): New variable.
8062 (extra-objs): Add $(sln-modules:=.o).
8063 (ldconfig-modules): Add static-stubs.
8064 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8065 * elf/static-stubs.c: New file.
8066
7a845b2c
JM
8067 [BZ #14283]
8068 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8069 by 7 not 8 to examine high bit of fractional part. Use volatile
8070 variables when splitting into final array of floats if
8071 __FLT_EVAL_METHOD__ != 0.
8072 * math/libm-test.inc (cos_test): Add another test.
8073 (sin_test): Likewise.
8074 * sysdeps/i386/fpu/libm-test-ulps: Update.
8075
e2283f38
JM
8076 [BZ #14273]
8077 * math/libm-test.inc (cosh_test): Add more tests.
8078
370ca3d2
JM
8079 * version.h (RELEASE): Set to "development".
8080 (VERSION): Set to "2.16.90".
8081
ee9247c3
CD
80822012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8083
8084 * NEWS: Update copyright. Remove last-updated date.
8085 Mention math library bug fixes and timezone data changes.
8086 * README: Mention GNU/Hurd, x32, and HPPA support status.
8087
4648c381
TS
80882012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8089
8090 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8091
aac78a43
AJ
80922012-06-27 Andreas Jaeger <aj@suse.de>
8093
8094 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8095
ed3dbfad
AJ
80962012-06-25 Andreas Jaeger <aj@suse.de>
8097
8098 * sysdeps/s390/fpu/libm-test-ulps: Update.
8099
4d0ee855
AS
81002012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8101 Thomas Schwinge <thomas@codesourcery.com>
8102
8103 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8104 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8105 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8106 fanotify_mark.
8107
af1bce34
TS
81082012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8109
a9fa33ba
TS
8110 * sysdeps/mach/start.c: Remove file.
8111 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8112 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8113 * sysdeps/sh/init-first.c: Likewise.
8114
58f902b8
TS
8115 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8116 registers for frame unwinding purposes, add CFI directives.
8117 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8118 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8119 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8120 Likewise.
8121
1518f58b
TS
8122 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8123 __fortify_fail returning.
8124 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8125
db9b5059
TS
8126 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8127 sysdeps/sh/____longjmp_chk.S.
8128 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8129 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8130 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8131 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8132
967705fe
TS
8133 * sysdeps/sh/abort-instr.h: New file.
8134 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8135 process in case exit returns.
8136
a9def8c4
TS
8137 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8138 initialize the GOT register before use.
8139
2a649725
TS
8140 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8141 calculation of ARGC > 4.
8142
af1bce34
TS
8143 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8144 meaningful names to some local labels.
8145
d230f50a
KK
81462012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8147 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8148
8149 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8150 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8151 (__arch_compare_and_exchange_val_16_acq): Likewise.
8152 (__arch_compare_and_exchange_val_32_acq): Likewise.
8153 (atomic_exchange_and_add): Fix gUSA sequence.
8154 (atomic_add): Likewise.
8155 (atomic_add_negative): Likewise.
8156 (atomic_add_zero): Likewise.
8157 (atomic_bit_test_set): Likewise.
8158
0479b305
AS
81592012-06-22 Andreas Schwab <schwab@redhat.com>
8160
8161 [BZ #13579]
8162 * include/link.h (struct link_map): Add l_free_initfini.
8163 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8164 l_initfini.
8165 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8166 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8167 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8168 set.
8169
0e3933b9
CD
81702012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8171
8172 * configure.in: Use AC_LANG_SOURCE.
8173 * configure: Regenerate.
8174
4248b1b1
RM
81752012-06-22 Roland McGrath <roland@hack.frob.com>
8176
8177 * configure.in (libc_cv_localstatedir): New substituted variable.
8178 * configure: Regenerated.
8179 * config.make.in (localstatedir): New variable, substituted from
8180 libc_cv_localstatedir.
8181 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8182 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8183 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8184 * sysdeps/gnu/configure: Regenerated.
8185
006dd861
JL
81862012-06-21 Jeff Law <law@redhat.com>
8187
8188 [BZ #14277]
8189 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8190 free. Simplify list management for _LIBC case.
8191
79662d42
JM
81922012-06-21 Joseph Myers <joseph@codesourcery.com>
8193
b7abb4bf
JM
8194 [BZ #14273]
8195 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8196 Clear sign bit of 64-bit integer value before comparing against
8197 overflow value.
8198
79662d42
JM
8199 * sysdeps/mach/configure: Regenerated.
8200
1f150908
L
82012012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8202
8203 [BZ #14278]
8204 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8205
28363bbf
JL
82062012-06-21 Jeff Law <law@redhat.com>
8207
8208 [BZ #13882]
8209 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8210 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8211 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8212 * elf/dl-open.c (dl_open_worker): Likewise.
8213
09615db4
CD
82142012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8215
8216 * scripts/list-sources.sh: Scan PORTS for translations.
8217 * po/libc.pot: Regenerated.
8218
2174c6dd
AJ
82192012-06-21 Andreas Jaeger <aj@suse.de>
8220
8221 [BZ #12194]
8222 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8223 warning.
8224 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8225 * bits/byteswap-16.h (__bswap_16): Likewise.
8226 * bits/byteswap.h (__bswap_constant_16): Likewise.
8227
3ee947b1
L
82282012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8229
8230 [BZ #14117]
a2f34833
L
8231 * sysdeps/i386/fpu_control.h: Removed.
8232 * sysdeps/x86_64/fpu_control.h: Moved to ...
8233 * sysdeps/x86/fpu_control.h: Here.
8234
3ee947b1
L
8235 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8236 (_FPU_SETCW): Likewise.
8237
ed1825f8
L
82382012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8239
25f1282a
L
8240 [BZ #14117]
8241 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8242 * sysdeps/x86/fpu/bits/mathinline.h: This.
8243 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8244
ed1825f8
L
8245 [BZ #14050]
8246 [BZ #14117]
8247 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8248 functions if __x86_64__ is defined.
8249
36d54b74
CLT
82502012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8251
8252 * string/endian.h: Add !__ASSEMBLER__ condition for including
8253 conversion interfaces.
8254
10285c21
JM
82552012-06-15 Joseph Myers <joseph@codesourcery.com>
8256
8257 [BZ #14241]
8258 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8259 of ABS(x) in calculating zero to negative powers other than odd
8260 integers.
8261 * math/libm-test.inc (pow_test): Add more tests.
8262
06c5abbd
AJ
82632012-06-15 Andreas Jaeger <aj@suse.de>
8264
8265 * manual/contrib.texi (Contributors): Update entry of Liubov
8266 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8267 Machado Filho.
8268
a3aeac40
CH
82692012-06-15 Cyril Hrubis <metan@ucw.cz>
8270
8271 * string/string.h: Add __wur to GNU version of strerror_r.
8272
49bdf4c1
L
82732012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8274
8275 [BZ #14229]
8276 * string/Makefile (tests): Add tst-strtok_r.
8277 * string/tst-strtok_r.c: New file.
8278 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8279 RAX_LP/RDX_LP on SAVE_PTR.
8280
834f9b8d
RM
82812012-06-14 Roland McGrath <roland@hack.frob.com>
8282
8283 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8284
75fa1921
JM
82852012-06-14 Joseph Myers <joseph@codesourcery.com>
8286
8287 * libm_test.inc (csqrt_test): Allow more spurious underflow
8288 exceptions.
8289 (j0_test): Likewise.
8290 (j1_test): Likewise.
8291 (y0_test): Likewise.
8292 (y1_test): Likewise.
8293
771766df
CD
82942012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8295
8296 * po/Makefile (libc.pot): Use UTF-8 charset.
8297
ceb9e56b
PP
82982012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8299
8300 [BZ #14210]
8301 Suppress sign-conversion warning from FD_SET.
8302 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8303 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8304 not unsigned long int.
8305 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8306
ddb28975
L
83072012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8308
8309 [BZ #14050]
8310 [BZ #14117]
8311 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8312 __extern_always_inline instead of __extern_inline.
8313 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8314 (__signbit): Likewise.
8315 (__signbitl): Support C++ namespace.
8316 (lrintf): New inline function.
8317 (lrint): Likewise.
8318 (llrintf): Likewise.
8319 (llrint): Likewise.
8320 (fmaxf): Likewise.
8321 (fmax): Likewise.
8322 (fminf): Likewise.
8323 (fmin): Likewise.
8324 (rint): Likewise.
8325 (rintf): Likewise.
8326 (ceil): Likewise.
8327 (ceilf): Likewise.
8328 (floor): Likewise.
8329 (floorf): Likewise.
8330 (nearbyint): Likewise.
8331 (nearbyintf): Likewise.
8332
d7b4fb26
TS
83332012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8334
8335 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8336 non-default versions.
8337
eb55f5c2
RM
83382012-06-11 Roland McGrath <roland@hack.frob.com>
8339
8340 [BZ #14218]
8341 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8342
366af02c
TS
83432012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8344
99ff6e5c
TS
8345 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8346 (FE_UPWARD, FE_DOWNWARD): Don't define.
8347 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8348 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8349
366af02c
TS
8350 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8351 reading it.
8352 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8353 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8354
793ea851
KK
83552012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8356
8357 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8358 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8359 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8360 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8361
a728a38f
L
83622012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8363
8364 [BZ #14117]
c08010c7
L
8365 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8366 * sysdeps/i386/fpu/Implies: New file.
8367 * sysdeps/x86_64/fpu/Implies: Likewise.
8368 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8369 * sysdeps/x86/fpu/bits/fenv.h: This.
8370
a728a38f
L
8371 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8372 __SSE_MATH__.
8373
6e230d11
SP
83742012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8375
8376 [BZ #14134]
8377 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8378 character 0xffff that matches the last element of the
8379 conversion table.
8380
1b671feb
AZ
83812012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8382
8383 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8384 fmodl commit.
8385
6043738b
AZ
83862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8387
8388 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8389 values higher than 25.6283.
8390
34ae0b32
AZ
83912012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8392
8393 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8394 subnormal exponent extraction and add some __builtin_expect.
8395 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8396 Fix for subnormal mantissa calculation.
8397
1214ec8f
MF
83982012-06-04 Mike Frysinger <vapier@gentoo.org>
8399
8400 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8401 cpu2 is -1 and errno is not ENOSYS.
8402
f3d1f93c
L
84032012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8404
8405 [BZ #14117]
0e4a3cd7
L
8406 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8407 * sysdeps/x86/bits/string.h: This.
8408 * sysdeps/x86_64/bits/string.h: Removed.
8409
6704c645
L
8410 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8411 if not compiling for x86-64, but compiling for >= i486.
8412
48495318
L
8413 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8414 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8415
14adcbfc
L
8416 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8417 New macro from Linux kernel 3.4.0.
8418 (FP_XSTATE_MAGIC2): Likewise.
8419 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8420 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8421 (struct _fpx_sw_bytes): New struct.
8422 (struct _xsave_hdr): Likewise.
8423 (struct _ymmh_state): Likewise.
8424 (struct _xstate): Likewise.
8425
68e408ab
L
8426 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8427 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8428 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8429 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8430 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8431 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8432
f3d1f93c
L
8433 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8434 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8435 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8436 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8437 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8438 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8439
d9dc34cd
TMQMF
84402012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8441
8442 [BZ #13743]
8443 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8444 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8445 (sysdep_headers): Include sys/platform/ppc.h.
8446 * sysdeps/powerpc/test-gettimebase.c: Test for
8447 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8448 * manual/Makefile (appendices): Include platform.texi.
8449 * manual/contrib.texi (Contributors): Update @node pointers.
8450 * manual/maint.texi (Maintenance): Likewise.
8451 (Platform): New node.
8452 * manual/platform.texi: New file. Document the new features.
8453
4af3879c
SP
84542012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8455 Jakub Jelinek <jakub@redhat.com>
8456
8457 [BZ #14188]
8458 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8459 where __builtin_expect is unavailable.
8460
2fd6ff13
DM
84612012-06-03 David S. Miller <davem@davemloft.net>
8462
8463 * stdlib/longlong.h: Updated from GCC.
8464
173f7220
AS
84652012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8466
8467 [BZ #14042]
8468 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8469 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8470 __mcount_internal.
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8472 (GLIBC_2.16): Likewise.
8473
f34a1c6f
L
84742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8475
8476 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8477
88a4576f
JM
84782012-06-01 Joseph Myers <joseph@codesourcery.com>
8479
ea32bcdd
JM
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8481 (default-abi): New variable.
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8483 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8484 variable.
8485 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8486 Likewise.
8487 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8488 Likewise.
8489 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8490 Likewise.
8491
88a4576f
JM
8492 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8493 definition. Document in comment.
8494
402fe938
DM
84952012-06-01 David S. Miller <davem@davemloft.net>
8496
8497 * stdlib/longlong.h: Updated from GCC.
8498
3553723f
L
84992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8500
8501 [BZ #14117]
3bd872c4
L
8502 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8503 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8504 sys/debugreg.h sys/io.h here.
8505 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8506 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8507 sys/io.h.
8508 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8509 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8510 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8511 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8512 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8513 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8514
3553723f
L
8515 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8516 Define only if __x86_64__ is defined.
8517
4842e4fe
JM
85182012-06-01 Joseph Myers <joseph@codesourcery.com>
8519
c5bfe3d5
JM
8520 [BZ #14048]
8521 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8522 Use int64_t for variable i.
8523 * math/libm-test.inc (fmod_test): Add more tests.
8524
4842e4fe
JM
8525 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8526 z computation is not scheduled after fetestexcept.
8527 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8528 Use math_force_eval instead of asm to ensure calculation scheduled
8529 before exception test.
8530 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8531 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8532
efb73488
AJ
85332012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8534
8535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8536 computation is not scheduled after fetestexcept.
8537
29bcce7c
L
85382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8539
8540 [BZ #14117]
8541 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8542 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8543
73a68f94
AZ
85442012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8545
8546 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8547 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8548
67b6df78
L
85492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8550
edf2933a 8551 [BZ #14117]
ebc64a18
L
8552 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8553 <bits/wordsize.h>.
8554 (__WCHAR_MIN): Support __WORDSIZE == 64.
8555 (__WCHAR_MAX): Likewise.
8556
edf2933a
L
8557 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8558 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8559
57c6cf40
L
8560 [BZ #14183]
8561 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8562 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8563
67b6df78 8564 [BZ #14117]
8eb6281e
L
8565 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8566 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8567
aac639f4
L
8568 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8569 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8570
67b6df78
L
8571 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8572 Defined to 1 if __x86_64__ isn't defined.
8573 (_STAT_VER_LINUX_OLD): New.
8574 (st_atime): Remove duplicate.
8575 (st_mtime): Likewise.
8576 (st_ctime): Likewise.
8577
1c2cfe81
DM
85782012-05-31 David S. Miller <davem@davemloft.net>
8579
8580 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8581 entries.
8582
5be8418c
AS
85832012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8584
e7725326
AS
8585 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8586 gen-libm-test.pl.
8587
5be8418c
AS
8588 [BZ #14132]
8589 * elf/dl-reloc.c: Include <_itoa.h>.
8590 (_dl_reloc_bad_type): Remove use of INTUSE.
8591 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8592 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8593 * stdio-common/psiginfo.c (psiginfo): Likewise.
8594 * stdio-common/psignal.c (psignal): Likewise.
8595 * string/strsignal.c (strsignal): Likewise.
8596 * include/signal.h (_sys_siglist): Declare hidden proto.
8597 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8598 INTVARDEF with libc_hidden_data_def.
8599 * stdio-common/itoa-udigits.c: Likewise.
8600 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8601 (_itoa_lower_digits_internal): Remove declaration.
8602 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8603 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8604 (_sys_sigabbrev_internal): Remove aliases.
8605 (_sys_siglist): Define hidden alias.
8606
507352f1
MT
86072012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8608
8609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8610 bits/sysctl.h.
8611
42bbb1c3
L
86122012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8613
8614 [BZ #14117]
6bd784b6
L
8615 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8616 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8617
8bca20f0
L
8618 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8619 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8620 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8621 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8622 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8623 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8624
f9e890a9
L
8625 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8626 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8627 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8628
471101a1
L
8629 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8630 with __addr.
8631 (insw): Likewise.
8632 (insl): Likewise.
8633 (outsb): Likewise.
8634 (outsw): Likewise.
8635 (outsl): Likewise.
8636
6451c862
L
8637 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8638 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8639 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8640
a254b8c9
L
8641 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8642 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8643 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8644 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8645 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8646 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8647
b8dfdd92
L
8648 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8649 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8650
578cd270
L
8651 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8652 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8653
de662f5f
L
8654 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8655 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8656 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8657
25653439
L
8658 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8659 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8660 to ...
8661 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8662
6bad24a0
L
8663 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8664 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8665 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8666
42bbb1c3
L
8667 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8668 for x86-64.
8669 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8670
2d10d547
JM
86712012-05-31 Joseph Myers <joseph@codesourcery.com>
8672
8673 * math/math.h (M_El): Use two more decimal places.
8674 (M_LOG2El): Likewise.
8675 (M_LOG10El): Likewise.
8676 (M_LN2l): Likewise.
8677 (M_LN10l): Likewise.
8678 (M_PIl): Likewise.
8679 (M_PI_2l): Likewise.
8680 (M_PI_4l): Likewise.
8681 (M_1_PIl): Likewise.
8682 (M_2_PIl): Likewise.
8683 (M_2_SQRTPIl): Likewise.
8684 (M_SQRT2l): Likewise.
8685 (M_SQRT1_2l): Likewise.
8686
f230c29b
DM
86872012-05-31 David S. Miller <davem@davemloft.net>
8688
8689 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8690 values between float registers.
8691 * sysdeps/sparc/sparc64/memset.S: Likewise.
8692 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8693
fed806c3
MF
86942012-05-31 Mike Frysinger <vapier@gentoo.org>
8695
8696 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8697 -D_FORTIFY_SOURCE=1.
8698 (CPPFLAGS-tst-longjmp_chk.c): Define.
8699 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8700 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8701 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8702 CFLAGS-tst-wchar-h.c.
8703
30917259
MP
87042012-05-31 Marek Polacek <polacek@redhat.com>
8705
8706 [BZ #14132]
8707 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8708 __endmntent_internal): Remove declaration.
8709 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8710 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8711 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8712
1c58d5dc
DM
87132012-05-30 David S. Miller <davem@davemloft.net>
8714
8715 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8716 (___Q_simulate_exceptions): Use real FP ops rather than writing
8717 into the %fsr.
8718 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8719 Likewise.
8720
7dc00e0d
L
87212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8722
8723 [BZ #14117]
0bd53985
L
8724 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8725 * sysdeps/x86/bits/xtitypes.h: This.
8726
3a257e66
L
8727 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8728 * sysdeps/x86/bits/wordsize.h: This.
8729
62f62904
L
8730 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8731 * sysdeps/x86/bits/huge_vall.h: This.
8732
404fe9d9
L
8733 * sysdeps/i386/bits/select.h: Removed.
8734 * sysdeps/x86_64/bits/select.h: Renamed to ...
8735 * sysdeps/x86/bits/select.h: This.
8736
d48d0446
L
8737 * sysdeps/i386/bits/setjmp.h: Removed.
8738 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8739 * sysdeps/x86/bits/setjmp.h: This.
8740
7dc00e0d
L
8741 * sysdeps/i386/bits/mathdef.h: Removed.
8742 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8743 * sysdeps/x86/bits/mathdef.h: This.
8744
03277f8f
AS
87452012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8746
8747 [BZ #14132]
8748 * include/sys/socket.h (__connect_internal)
8749 (__libc_sa_len_internal): Remove declaration.
8750 (__connect, __libc_sa_len): Declare hidden_proto.
8751 (SA_LEN): Remove use of INTUSE.
8752 * socket/connect.c: Add libc_hidden_def.
8753 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8754 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8755 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8756 alias.
8757 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8758 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8759 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8760 of adding _internal alias.
8761
13764867
L
87622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8763
8764 [BZ #14117]
6bd97696
L
8765 * sysdeps/i386/bits/link.h: Removed.
8766 * sysdeps/i386/bits/linkmap.h: Likewise.
8767 * sysdeps/x86_64/bits/link.h: Renamed to ...
8768 * sysdeps/x86/bits/link.h: This.
8769 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8770 * sysdeps/x86/bits/linkmap.h: This.
8771
f726f0bb
L
8772 * sysdeps/i386/bits/endian.h: Removed.
8773 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8774 * sysdeps/x86/bits/endian.h: This.
8775
13764867
L
8776 * sysdeps/i386/bits/byteswap.h: Removed.
8777 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8778 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8779 * sysdeps/x86/bits/byteswap.h: This.
8780 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8781 * sysdeps/x86/bits/byteswap-16.h: This.
8782 * sysdeps/i386/Implies: Add x86.
8783 * sysdeps/x86_64/Implies: Likewise.
8784
ae251b0b
DM
87852012-05-30 David S. Miller <davem@davemloft.net>
8786
8787 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8788 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8789 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8790 (FP_TRAPPING_EXCEPTIONS): Define.
8791 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8792 (FP_TRAPPING_EXCEPTIONS): Define.
8793 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8794 subnormals only when inexact has been signalled or underflow
8795 exceptions are enabled.
8796 (_FP_PACK_CANONICAL): Likewise.
8797
d5c90867
L
87982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8799
8800 [BZ #14183]
8801 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8802 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8803
63f1549e
RH
88042012-05-30 Richard Henderson <rth@twiddle.net>
8805
8d8f2279
RH
8806 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8807 with #ifndef NOT_IN_libc.
8808
63f1549e
RH
8809 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8810 marked to avoid plt entry.
8811
0ab0291b
L
88122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8813
8814 [BZ #14112]
8815 * Makeconfig (default-abi): New macro.
8816 (abi-includes): Likewise.
8817 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8818 $(abi-$(default-abi)-lib-soname) for soname if defined.
8819 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8820 abi-variants.
8821 * Makefile (installed-stubs): Likewise.
8822 * include/stubs-biarch.h: Removed.
8823 * scripts/lib-names.awk: Only handle one library at a time.
8824 * scripts/soversions.awk: Remove WORDSIZE support.
8825 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8826 entries.
8827 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8828 Removed.
8829 (syscall-list-default-condition): Likewise.
8830 (syscall-list-default-condition): Likewise.
8831 (syscall-list-includes): Likewise.
8832 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8833 syscall-list-* with abi-*. Handle undefined abi-variants.
8834 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8835 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8836 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8837 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8838 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8839 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8840 Removed.
8841 (syscall-list-32-options): Likewise.
8842 (syscall-list-32-condition): Likewise.
8843 (syscall-list-64-options): Likewise.
8844 (syscall-list-64-condition): Likewise.
8845 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8846 macro.
8847 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8848 Renamed to ...
8849 (abi-*): This.
8850 (abi-64-ld-soname): New macro.
8851 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8852 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8853 Renamed to ...
8854 (abi-*): This.
8855 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8856 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8857
4da0431d
JM
88582012-05-30 Joseph Myers <joseph@codesourcery.com>
8859
3a85279c
JM
8860 * sysdeps/unix/sysv/linux/kernel-features.h
8861 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8862 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8863 include <kernel-features.h>.
8864 [!__NR_ftruncate64]: Remove conditional code.
8865 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8866 [__NR_ftruncate64]: Make code unconditional.
8867 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8868 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8869 include <kernel-features.h>.
8870 [!__NR_ftruncate64]: Remove conditional code.
8871 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8872 [__NR_ftruncate64]: Make code unconditional.
8873 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8875 include <kernel-features.h>.
8876 [!__NR_ftruncate64]: Remove conditional code.
8877 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8878 [__NR_ftruncate64]: Make code unconditional.
8879 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8881 include <kernel-features.h>.
8882 [!__NR_ftruncate64]: Remove conditional code.
8883 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8884 [__NR_ftruncate64]: Make code unconditional.
8885 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8886
4da0431d
JM
8887 * configure.in (libc_cv_fpie): Weaken to a compile test using
8888 LIBC_TRY_CC_OPTION.
8889 * configure: Regenerated.
8890
11ef492c
AK
88912012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8892
8893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8897 Refreshed.
8898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8904 Refreshed.
8905
d66ef399
DM
89062012-05-27 David S. Miller <davem@davemloft.net>
8907
8908 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8909 (___Q_zero): New.
8910 (__Q_simulate_exceptions): Return void. Change to simulate
8911 exceptions by writing into the %fsr.
8912 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8913 (__Qp_handle_exceptions): Likewise.
8914 (numbers): Delete.
8915 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8916 __Qp_handle_exceptions.
8917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8918 __Qp_handle_exceptions.
8919 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8920 as unused and give dummy FP_RND_NEAREST initializer.
8921 (FP_INHIBIT_RESULTS): Define.
8922 (___Q_simulate_exceptions): Update declaration.
8923 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8924 formatting.
8925 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8926 as unused and give dummy FP_RND_NEAREST initializer.
8927 (__Qp_handle_exceptions): Update declaration.
8928 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8929 formatting.
8930
04fb54b5
TS
89312012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8932
8933 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8934 the temporary FPU control word.
8935 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8936 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8937 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8938 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8939 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8940 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8941 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8942 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8943 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8944 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8945 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8946
3f99608f
KK
89472012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8948
8949 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8950 fields.
8951
65a4de4e
CLT
89522012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8953
8954 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8955 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8956 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8957 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8958 Likewise.
8959 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8960 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8961 Likewise.
8962
15749d40
UD
89632012-05-27 Ulrich Drepper <drepper@gmail.com>
8964
8965 * po/h.po: Update from translation team.
8966
25dbcb27
AS
89672012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8968
3d3f8e55
AS
8969 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8970
25dbcb27
AS
8971 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8972 handling of denormals.
8973 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8974 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8975 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8976 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8977 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8980 Likewise.
8981
7ad47a80 89822012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8983
8984 [BZ #14152]
8985 * math/libm-test.inc (fma_test): Don't always expect underflow
8986 exception.
8987
9c6ea9fa
SP
89882012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8989
8990 [BZ #12416]
8991 * elf/tst-execstack.c: Include stackinfo.h.
8992 (do_test): Adjust test case to ensure that pthread_getattr_np
8993 behaviour remains the same after marking stack executable.
8994
a8239222
JM
89952012-05-25 Joseph Myers <joseph@codesourcery.com>
8996
8997 * sysdeps/unix/sysv/linux/kernel-features.h
8998 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8999 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9000 kernel-features.h.
9001 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9002 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9003 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9004 kernel-features.h.
9005 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9006 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9007
918b5606
L
90082012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 * configure.in: Define the default includes to being none.
9011 * configure: Regenerated.
9012
3a097cc7
RM
90132012-05-25 Roland McGrath <roland@hack.frob.com>
9014
8422c9a5
RM
9015 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9016 * sysdeps/x86_64/setjmp.S: Likewise.
9017 * sysdeps/i386/bsd-setjmp.S: Likewise.
9018 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9019 * sysdeps/i386/setjmp.S: Likewise.
9020 * sysdeps/i386/__longjmp.S: Likewise.
9021 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9022 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9023
3a097cc7
RM
9024 * include/stap-probe.h: New file.
9025 * configure.in: Handle --enable-systemtap.
9026 * configure: Regenerated.
9027 * config.h.in (USE_STAP_PROBE): New #undef.
9028 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9029 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9030 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9031
21708942
JM
90322012-05-25 Joseph Myers <joseph@codesourcery.com>
9033
9034 [BZ #13717]
9035 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9036 to 2.4.0 where earlier.
9037 * sysdeps/unix/sysv/linux/configure: Regenerated.
9038 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9039 <kernel-features.h>.
9040 [__ASSUME_32BITUIDS]: Make code unconditional.
9041 [!__ASSUME_32BITUIDS]: Remove conditional code.
9042 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9043 <kernel-features.h>.
9044 [__ASSUME_32BITUIDS]: Make code unconditional.
9045 [!__ASSUME_32BITUIDS]: Remove conditional code.
9046 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9047 [__ASSUME_32BITUIDS]: Make code unconditional.
9048 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9049 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9050 <kernel-features.h>.
9051 [__ASSUME_32BITUIDS]: Make code unconditional.
9052 [!__ASSUME_32BITUIDS]: Remove conditional code.
9053 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9054 <kernel-features.h>.
9055 [__ASSUME_32BITUIDS]: Make code unconditional.
9056 [!__ASSUME_32BITUIDS]: Remove conditional code.
9057 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9058 <kernel-features.h>.
9059 [__ASSUME_32BITUIDS]: Make code unconditional.
9060 [!__ASSUME_32BITUIDS]: Remove conditional code.
9061 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9062 <kernel-features.h>.
9063 [__ASSUME_32BITUIDS]: Make code unconditional.
9064 [!__ASSUME_32BITUIDS]: Remove conditional code.
9065 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9066 <kernel-features.h>.
9067 [__ASSUME_32BITUIDS]: Make code unconditional.
9068 [!__ASSUME_32BITUIDS]: Remove conditional code.
9069 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9070 <kernel-features.h>.
9071 [__ASSUME_32BITUIDS]: Make code unconditional.
9072 [!__ASSUME_32BITUIDS]: Remove conditional code.
9073 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9074 <kernel-features.h>.
9075 [__ASSUME_32BITUIDS]: Make code unconditional.
9076 [!__ASSUME_32BITUIDS]: Remove conditional code.
9077 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9078 <kernel-features.h>.
9079 [__ASSUME_32BITUIDS]: Make code unconditional.
9080 [!__ASSUME_32BITUIDS]: Remove conditional code.
9081 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9082 <kernel-features.h>.
9083 [__ASSUME_32BITUIDS]: Make code unconditional.
9084 [!__ASSUME_32BITUIDS]: Remove conditional code.
9085 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9086 <kernel-features.h>.
9087 [__ASSUME_32BITUIDS]: Make code unconditional.
9088 [!__ASSUME_32BITUIDS]: Remove conditional code.
9089 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9090 <kernel-features.h>.
9091 [__NR_setresgid] (__setresgid): Do not declare.
9092 [__ASSUME_32BITUIDS]: Make code unconditional.
9093 [!__ASSUME_32BITUIDS]: Remove conditional code.
9094 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9095 <kernel-features.h>.
9096 [__NR_setresuid] (__setresuid): Do not declare.
9097 [__ASSUME_32BITUIDS]: Make code unconditional.
9098 [!__ASSUME_32BITUIDS]: Remove conditional code.
9099 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9100 <kernel-features.h>.
9101 [__ASSUME_32BITUIDS]: Make code unconditional.
9102 [!__ASSUME_32BITUIDS]: Remove conditional code.
9103 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9104 <kernel-features.h>.
9105 [__ASSUME_32BITUIDS]: Make code unconditional.
9106 [!__ASSUME_32BITUIDS]: Remove conditional code.
9107 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9108 <kernel-features.h>.
9109 [__ASSUME_32BITUIDS]: Make code unconditional.
9110 [!__ASSUME_32BITUIDS]: Remove conditional code.
9111 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9112 <kernel-features.h>.
9113 [__ASSUME_32BITUIDS]: Make code unconditional.
9114 [!__ASSUME_32BITUIDS]: Remove conditional code.
9115 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9116 <kernel-features.h>.
9117 [__ASSUME_32BITUIDS]: Make code unconditional.
9118 [!__ASSUME_32BITUIDS]: Remove conditional code.
9119 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9120 <kernel-features.h>.
9121 [__ASSUME_32BITUIDS]: Make code unconditional.
9122 [!__ASSUME_32BITUIDS]: Remove conditional code.
9123 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9124 <kernel-features.h>.
9125 [__ASSUME_32BITUIDS]: Make code unconditional.
9126 [!__ASSUME_32BITUIDS]: Remove conditional code.
9127 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9128 <kernel-features.h>.
9129 [__ASSUME_32BITUIDS]: Make code unconditional.
9130 [!__ASSUME_32BITUIDS]: Remove conditional code.
9131 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9132 <kernel-features.h>.
9133 [__ASSUME_32BITUIDS]: Make code unconditional.
9134 [!__ASSUME_32BITUIDS]: Remove conditional code.
9135 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9136 <kernel-features.h>.
9137 [__ASSUME_32BITUIDS]: Make code unconditional.
9138 [!__ASSUME_32BITUIDS]: Remove conditional code.
9139 * sysdeps/unix/sysv/linux/kernel-features.h
9140 (__ASSUME_SETRESUID_SYSCALL): Remove.
9141 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9142 (__ASSUME_32BITUIDS): Likewise.
9143 (__ASSUME_LDT_WORKS): Likewise.
9144 (__ASSUME_O_DIRECTORY): Likewise.
9145 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9146 architecture but not kernel version.
9147 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9148 (__ASSUME_MMAP2_SYSCALL): Likewise.
9149 (__ASSUME_STAT64_SYSCALL): Likewise.
9150 (__ASSUME_IPC64): Likewise.
9151 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9152 <kernel-features.h>.
9153 [__ASSUME_32BITUIDS]: Make code unconditional.
9154 [!__ASSUME_32BITUIDS]: Remove conditional code.
9155 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9156 <kernel-features.h>.
9157 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9158 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9159 132096]: Remove conditional code.
9160 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9161 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9162 <kernel-features.h>.
9163 [__ASSUME_32BITUIDS]: Make code unconditional.
9164 [!__ASSUME_32BITUIDS]: Remove conditional code.
9165 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9166 <kernel-features.h>.
9167 [__ASSUME_32BITUIDS]: Make code unconditional.
9168 [!__ASSUME_32BITUIDS]: Remove conditional code.
9169 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9170 <kernel-features.h>.
9171 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9172 unconditional.
9173 (__setresgid): Do not declare.
9174 [__ASSUME_32BITUIDS]: Make code unconditional.
9175 [!__ASSUME_32BITUIDS]: Remove conditional code.
9176 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9177 <kernel-features.h>.
9178 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9179 unconditional.
9180 (__setresuid): Do not declare.
9181 [__ASSUME_32BITUIDS]: Make code unconditional.
9182 [!__ASSUME_32BITUIDS]: Remove conditional code.
9183 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9184 <kernel-features.h>.
9185 [__ASSUME_32BITUIDS]: Make code unconditional.
9186 [!__ASSUME_32BITUIDS]: Remove conditional code.
9187 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9188 <kernel-features.h>.
9189 [__ASSUME_32BITUIDS]: Make code unconditional.
9190 [!__ASSUME_32BITUIDS]: Remove conditional code.
9191
a386f1cc
RH
91922012-05-25 Richard Henderson <rth@twiddle.net>
9193
9194 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9195 dl_hwcap to ifunc resolver.
9196 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9197 elf_ifunc_invoke.
9198 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9199 dl_hwcap to ifunc resolver.
9200 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9201
b6550497
JM
92022012-05-24 Joseph Myers <joseph@codesourcery.com>
9203
9204 [BZ #14153]
9205 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9206 for |x| <= 2**-26, not 2**-57.
9207 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9208 exception.
9209
b0bc23a1
JL
92102012-05-24 Jeff Law <law@redhat.com>
9211
9212 * stdio-common/Makefile (tests): Add bug25.
9213 * stdio-common/bug25.c: New test.
9214
347c92e9
L
92152012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9216
9217 [BZ #13576]
9218 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9219 multiple of MALLOC_ALIGNMENT in size.
9220 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9221
6bcc8b3f
JM
92222012-05-24 Joseph Myers <joseph@codesourcery.com>
9223
9224 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9225 Require >= 256.
9226 (FILENAME_MAX): Use macro-int-constant.
9227 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9228 (_IOFBF): Use macro-int-constant.
9229 (_IOLBF): Likewise.
9230 (_IONBF): Likewise.
9231 (SEEK_CUR): Likewise.
9232 (SEEK_END): Likewise.
9233 (SEEK_SET): Likewise.
9234 (TMP_MAX): Likewise.
9235 (EOF): Use macro-int-constant. Require < 0.
9236 (NULL): Use macro-constant. Require == 0.
9237 (stdin): Require type to be FILE *.
9238 (stdout): Likewise.
9239 (stderr): Likewise.
9240 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9241 macro-int-constant.
9242 (EXIT_SUCCESS): Likewise.
9243 (NULL): Use macro-constant. Require == 0.
9244 (RAND_MAX): Use macro-int-constant.
9245 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9246 [C99-based standards] (strtof): Require function.
9247 [C99-based standards] (strtold): Likewise.
9248 [C99-based standards] (strtoll): Likewise.
9249 [C99-based standards] (strtoull): Likewise.
9250 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9251 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9252 [ISO || ISO99 || ISO11] (math.h): Likewise.
9253 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9254 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9256
d18ea0c5
AS
92572012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9258
9259 [BZ #14132]
56d25bb8
AS
9260 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9261 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9262 * intl/dgettext.c (DCGETTEXT): Likewise.
9263 * intl/gettext.c (DCGETTEXT): Likewise.
9264 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9265 * posix/regex_internal.h (gettext): Likewise.
9266 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9267 Remove declaration.
9268 * include/argz.h (__argz_count_internal)
9269 (__argz_stringify_internal): Remove declaration.
9270 (__argz_count, __argz_stringify): Declare hidden proto.
9271 * intl/dcgettext.c: Remove use of INTDEF.
9272 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9273 * string/argz-stringify.c: Likewise.
9274 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9275 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9276 Declare hidden proto.
d18ea0c5
AS
9277 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9278 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9279 Declare hidden proto.
9280 * include/stdio.h (__asprintf_internal): Don't declare.
9281 (__asprintf): Don't define as macro. Declare hidden proto.
9282 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9283 (__fsetlocking): Declare hidden proto.
9284 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9285 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9286 hidden proto.
9287 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9288 (_IO_setlinebuf): Remove use of INTUSE.
9289 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9290 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9291 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9292 Remove declaration.
9293 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9294 (_IO_do_flush): Remove use of INTUSE.
9295 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9296 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9297 (_IO_adjust_column, _IO_least_wmarker)
9298 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9299 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9300 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9301 (_IO_default_doallocate, _IO_wdefault_doallocate)
9302 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9303 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9304 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9305 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9306 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9307 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9308 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9309 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9310 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9311 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9312 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9313 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9314 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9315 proto.
9316 (_IO_flush_all_internal, _IO_adjust_column_internal)
9317 (_IO_default_uflow_internal, _IO_default_finish_internal)
9318 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9319 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9320 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9321 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9322 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9323 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9324 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9325 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9326 (_IO_file_close_internal, _IO_file_close_it_internal)
9327 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9328 (_IO_file_init_internal, _IO_file_attach_internal)
9329 (_IO_file_fopen_internal, _IO_file_read_internal)
9330 (_IO_file_sync_internal, _IO_file_seek_internal)
9331 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9332 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9333 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9334 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9335 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9336 (_IO_list_all_internal, _IO_link_in_internal)
9337 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9338 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9339 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9340 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9341 (_IO_do_write_internal, _IO_padn_internal)
9342 (_IO_getline_info_internal, _IO_getline_internal)
9343 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9344 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9345 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9346 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9347 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9348 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9349 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9350 with libc_hidden_ver, remove use of INTUSE.
9351 * libio/genops.c: Likewise.
9352 * libio/freopen.c: Likewise.
9353 * libio/freopen64.c: Likewise.
9354 * libio/iofclose.c: Likewise.
9355 * libio/iofdopen.c: Likewise.
9356 * libio/iofflush.c: Likewise.
9357 * libio/iofflush_u.c: Likewise.
9358 * libio/iofgets.c: Likewise.
9359 * libio/iofgets_u.c: Likewise.
9360 * libio/iofopen.c: Likewise.
9361 * libio/iofopncook.c: Likewise.
9362 * libio/iofread.c: Likewise.
9363 * libio/iofread_u.c: Likewise.
9364 * libio/ioftell.c: Likewise.
9365 * libio/iofwrite.c: Likewise.
9366 * libio/iogetline.c: Likewise.
9367 * libio/iogets.c: Likewise.
9368 * libio/iogetwline.c: Likewise.
9369 * libio/iopadn.c: Likewise.
9370 * libio/iopopen.c: Likewise.
9371 * libio/ioseekoff.c: Likewise.
9372 * libio/ioseekpos.c: Likewise.
9373 * libio/iosetbuffer.c: Likewise.
9374 * libio/iosetvbuf.c: Likewise.
9375 * libio/ioungetc.c: Likewise.
9376 * libio/ioungetwc.c: Likewise.
9377 * libio/iovdprintf.c: Likewise.
9378 * libio/iovsprintf.c: Likewise.
9379 * libio/iovsscanf.c: Likewise.
9380 * libio/memstream.c: Likewise.
9381 * libio/obprintf.c: Likewise.
9382 * libio/oldfileops.c: Likewise.
9383 * libio/oldiofclose.c: Likewise.
9384 * libio/oldiofdopen.c: Likewise.
9385 * libio/oldiofopen.c: Likewise.
9386 * libio/oldiopopen.c: Likewise.
9387 * libio/oldstdfiles.c: Likewise.
9388 * libio/putc.c: Likewise.
9389 * libio/setbuf.c: Likewise.
9390 * libio/setlinebuf.c: Likewise.
9391 * libio/stdfiles.c: Likewise.
9392 * libio/strops.c: Likewise.
9393 * libio/vasprintf.c: Likewise.
9394 * libio/vscanf.c: Likewise.
9395 * libio/vsnprintf.c: Likewise.
9396 * libio/vswprintf.c: Likewise.
9397 * libio/wfiledoalloc.c: Likewise.
9398 * libio/wfileops.c: Likewise.
9399 * libio/wgenops.c: Likewise.
9400 * libio/wmemstream.c: Likewise.
9401 * libio/wstrops.c: Likewise.
9402 * libio/__fpurge.c: Likewise.
9403 * libio/__fsetlocking.c: Likewise.
9404 * assert/assert.c: Likewise.
9405 * debug/fgets_chk.c: Likewise.
9406 * debug/fgets_u_chk.c: Likewise.
9407 * debug/fread_chk.c: Likewise.
9408 * debug/fread_u_chk.c: Likewise.
9409 * debug/gets_chk.c: Likewise.
9410 * debug/obprintf_chk.c: Likewise.
9411 * debug/vasprintf_chk.c: Likewise.
9412 * debug/vdprintf_chk.c: Likewise.
9413 * debug/vsnprintf_chk.c: Likewise.
9414 * debug/vsprintf_chk.c: Likewise.
9415 * malloc/mtrace.c: Likewise.
9416 * misc/error.c: Likewise.
9417 * misc/syslog.c: Likewise.
9418 * stdio-common/asprintf.c: Likewise.
9419 * stdio-common/fxprintf.c: Likewise.
9420 * stdio-common/getw.c: Likewise.
9421 * stdio-common/isoc99_fscanf.c: Likewise.
9422 * stdio-common/isoc99_scanf.c: Likewise.
9423 * stdio-common/isoc99_vfscanf.c: Likewise.
9424 * stdio-common/isoc99_vscanf.c: Likewise.
9425 * stdio-common/isoc99_vsscanf.c: Likewise.
9426 * stdio-common/printf-prs.c: Likewise.
9427 * stdio-common/printf_fp.c: Likewise.
9428 * stdio-common/printf_fphex.c: Likewise.
9429 * stdio-common/printf_size.c: Likewise.
9430 * stdio-common/putw.c: Likewise.
9431 * stdio-common/scanf.c: Likewise.
9432 * stdio-common/sprintf.c: Likewise.
9433 * stdio-common/tmpfile.c: Likewise.
9434 * stdio-common/vfprintf.c: Likewise.
9435 * stdio-common/vfscanf.c: Likewise.
9436 * stdlib/strfmon_l.c: Likewise.
9437 * sunrpc/openchild.c: Likewise.
9438 * sunrpc/xdr_stdio.c: Likewise.
9439 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9440 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9441
d6c33fda
RM
94422012-05-24 Roland McGrath <roland@hack.frob.com>
9443
c1487492
RM
9444 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9445
9446 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9447 in the third column, to generate for the shared library an IFUNC
9448 that uses _dl_vdso_vsym.
9449 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9450 * Makeconfig (object-suffixes-noshared): New variable.
9451
9452 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9453 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9454 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9455 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9456
d6c33fda
RM
9457 [BZ #14132]
9458 * include/sys/time.h (__gettimeofday): Remove macro.
9459 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9460 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9461 Remove INTDEF.
9462 (__gettimeofday): Add libc_hidden_def.
9463 (gettimeofday): Add libc_hidden_weak.
9464 * sysdeps/mach/gettimeofday.c: Likewise.
9465 * sysdeps/posix/gettimeofday.c: Likewise.
9466 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9467 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9468 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9469 (__gettimeofday_internal): Remove strong_alias.
9470 (__gettimeofday): Add libc_hidden_def.
9471 (gettimeofday): Add libc_hidden_weak.
9472 * sysdeps/unix/syscalls.list (gettimeofday):
9473 Remove __gettimeofday_internal alias.
9474
b5a2bbe6
L
94752012-05-24 Daniel Jacobowitz <drow@false.org>
9476 H.J. Lu <hongjiu.lu@intel.com>
9477
9478 [BZ #12495]
9479 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9480 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9481 (largebin_index_32_big): New.
9482 (largebin_index): Use it for 16-byte alignment.
9483 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9484 correction with front_misalign.
9485
cfba4fda
L
94862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9487
7f907421
L
9488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9490 Likewise.
9491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9492 Likewise.
9493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9494 Likewise.
9495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9496 Likewise.
9497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9498 Likewise.
9499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9500 Likewise.
9501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9502 Likewise.
9503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9504 Likewise.
9505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9506 Likewise.
9507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9508 Likewise.
9509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9510 Likewise.
9511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9512 Likewise.
9513
cfba4fda
L
9514 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9515 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9516
80bad0cc
JM
95172012-05-24 Joseph Myers <joseph@codesourcery.com>
9518
7a25eb06
JM
9519 [BZ #10846]
9520 [BZ #14036]
9521 * math/libm-test.inc (exp_test): Add test from bug 14036.
9522 (pow_test): Add test from bug 10846.
9523
795405f9
JM
9524 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9525 and other flags.
9526 (special_function): Do not include flags in test name.
9527 (parse_args): Likewise.
9528 * sysdeps/i386/fpu/libm-test-ulps: Update.
9529 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9530 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9531 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9533
80bad0cc
JM
9534 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9535 exceptions.
9536 * math/libm-test.inc ("Philosophy"): Update comment about
9537 exception testing.
9538 (UNDERFLOW_EXCEPTION): New macro.
9539 (UNDERFLOW_EXCEPTION_OK): Likewise.
9540 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9541 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9542 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9543 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9544 (INVALID_EXCEPTION_OK): Update value.
9545 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9546 (OVERFLOW_EXCEPTION_OK): Likewise.
9547 (IGNORE_ZERO_INF_SIGN): Likewise.
9548 (test_exceptions): Handle underflow exceptions.
9549 (acos_test): Update for underflow exception expectations.
9550 (cexp_test): Likewise.
9551 (clog_test): Likewise.
9552 (clog10_test): Likewise.
9553 (csqrt_test): Likewise.
9554 (ctan_test): Likewise.
9555 (ctanh_test): Likewise.
9556 (exp_test): Likewise.
9557 (exp10_test): Likewise.
9558 (exp2_test): Likewise.
9559 (expm1_test): Likewise.
9560 (fma_test): Likewise.
9561 (j0_test): Likewise.
9562 (jn_test): Likewise.
9563 (nexttoward_test): Likewise.
9564 (pow_test): Likewise.
9565 (scalbn_test): Likewise.
9566 (scalbln_test): Likewise.
9567 (tan_test): Likewise.
9568 (y1_test): Likewise.
9569 * sysdeps/i386/fpu/libm-test-ulps: Update.
9570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9571
9e0e3d0b
DM
95722012-05-23 David S. Miller <davem@davemloft.net>
9573
9574 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9575 (__libc_sigaction): Remove unused local variables.
9576
ccd0a08f
L
95772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9578
9579 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9580
62bdf9a6
PE
95812012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9582
f8591f80
PE
9583 mktime: avoid signed integer overflow
9584 * time/mktime.c (__mktime_internal): Do not mishandle the case
9585 where diff == INT_MIN.
9586
94c7d826
PE
9587 mktime: simplify computation of average
9588 * time/mktime.c (ranged_convert): Use new time_t_avg function
9589 instead of rolling our own (probably-slower) code.
9590
ce73d683
PE
9591 mktime: do not assume signed right shift propagates sign bit
9592 * time/mktime.c (isdst_differ): New static function.
9593 (__mktime_internal): No need to normalize tm_isdst now.
9594 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9595 tm_isdst values.
9596
72a22e59
PE
9597 mktime: merge another wrapv change from gnulib
9598 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9599 from some compilers.
9600
68605433
PE
9601 mktime: remove incorrect attempt at unusual arithmetics
9602 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9603 The code didn't really work on such machines anyway.
9604 (TYPE_MINIMUM): Assume two's complement.
9605 (twos_complement_arithmetic): Verify that long_int and time_t
9606 are two's complement (or unsigned, in the latter case).
9607
03cf7fe3
PE
9608 mktime: check signed shifts on long_int and time_t, too
9609 * time/mktime.c (SHR): Check that shifts work as desired
9610 on the types long_int and time_t too, as SHR is used on
9611 such types.
9612
f04dfbc2
PE
9613 mktime: do not assume 'long' is wide enough
9614 * time/mktime.c (verify): Move decl up.
9615 (long_int): New type.
9616 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9617 to remove assumption in the code that 'long' is wide enough to
9618 store year values. This assumption is not true on x32 and on
9619 some non-glibc platforms.
9620
62bdf9a6
PE
9621 mktime: merge wrapv change from gnulib
9622 * time/mktime.c (WRAPV): New macro.
9623 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9624 (guess_time_tm, __mktime_internal): Do not assume that signed
9625 integer overflow wraps around; modern compilers generate code
9626 where this assumption is no longer valid.
9627
5e292e4f
L
96282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9629
9630 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9631 Replace "jmp L(pseudo_end)" with "ret".
9632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9633 Likewise.
9634
8caf8c87
AJ
96352012-05-23 Andreas Jaeger <aj@suse.de>
9636
9637 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9638 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9639
1a09dc56
AJ
96402012-05-23 Andreas Jaeger <aj@suse.de>
9641 Maximilian Attems <max@stro.at>
9642
9643 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9644 New macros.
9645
1c87aba0
L
96462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9647
9648 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9649 code so that pseudo_end is just ret and the stack pointer is
9650 correct also for static library in error case.
9651
40e45bd5
JM
96522012-05-23 Joseph Myers <joseph@codesourcery.com>
9653
c2670533
JM
9654 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9655 move to syscalls.list.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9660
40e45bd5
JM
9661 * manual/install.texi (Running make install): Do not mention Linux
9662 kernel version for which pt_chown is not needed.
9663 (Linux): Do not mention problems with nscd with 2.0 kernels.
9664 * INSTALL: Regenerated.
9665
be08eda5
AJ
96662012-05-23 Andreas Jaeger <aj@suse.de>
9667
9668 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9669 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9670 macro.
9671 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9672 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9673 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9674 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9675 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9676 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9677 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9678 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9679 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9680 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9681 * sysdeps/unix/sysv/linux/bits/in.h
9682 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9683
a6a056bb
RM
96842012-05-22 Roland McGrath <roland@hack.frob.com>
9685
9686 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9687 (PREPARE_VERSION): Just use assert instead, it will be elided
9688 under [NDEBUG] anyway.
9689
c9009328
L
96902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9691
9692 * sysdeps/unix/sysv/linux/Makefile: Include
9693 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9694 (sysdep_routines): Remove sysctl.
c9009328
L
9695 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9696 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9697 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9698 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9699 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9700
73338355
AJ
97012012-05-22 Andreas Jaeger <aj@suse.de>
9702
9703 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9704 that pseudo_end is just ret and the stack pointer is correct also
9705 for static library in error case.
9706
d44638b0
PP
97072012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9708
9709 [BZ #14122]
9710 * nss/nsswitch.c (defconfig_entries): New variable.
9711 (__nss_database_lookup): Don't leak defconfig entries.
9712 (nss_parse_service_list): Don't leak on error paths.
9713 (free_database_entries): New function.
9714 (free_defconfig): New function.
9715 (free_mem): Move common code to free_database_entries.
9716
31a39bd8
L
97172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9718
da0331a8
L
9719 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9720 Add arch_prctl.
9721 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9722
31a39bd8
L
9723 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9724 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9725 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9726 New macro.
9727 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9728 (INTERNAL_SYSCALL_TYPES): Likewise.
9729 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9730 (LOAD_REGS_TYPES_[1-6]): Likewise.
9731 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9732 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9733
45470df3
AZ
97342012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9735
9736 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9737 copysignl for GLIBC_2_0.
9738 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9739 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9740 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9741 logbl for GLIBC_2_0.
9742 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9743 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9744
98a61bcb
L
97452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9746
a4f6e481
L
9747 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9748 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9749
f63d5db6
L
9750 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9751 Use "neg %eax".
9752
98a61bcb
L
9753 * time/mktime.c: Update copyright years.
9754
95770f14
PE
97552012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9756
6226efbd
PE
9757 mktime: merge comment-quoting-style change from gnulib
9758 * time/mktime.c: Quote 'like this' in comments.
9759 The GNU coding standards suggest that we no longer quote `like this',
9760 as "`" and "'" are typically rendered asymmetrically nowadays.
9761 The typical gnulib style is to quote 'like this' when quoting
9762 code, and "like this" when quoting English.
9763
b99e4f78
PE
9764 * time/mktime.c (compile-command): Add "-I.".
9765
643e01e6
PE
9766 mktime: merge mktime-internal.h change from gnulib
9767 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9768
2554247d
PE
9769 mktime: merge time_r change from gnulib
9770 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9771
826dd0ab
PE
9772 mktime: merge DEBUG change from gnulib
9773 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9774 case system <time.h> has a #define.
9775
bd83aabe
PE
9776 mktime: merge <sys/types.h> change from gnulib
9777 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9778 since <time.t> is now guaranteed to define time_t.
9779
95770f14
PE
9780 mktime: merge HAVE_CONFIG_H change from gnulib
9781 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9782
5e1a27a9
L
97832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9784
0e44a77e
L
9785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9786 Use "neg %eax".
9787
5e1a27a9
L
9788 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9789 __rlim_t cast.
9790 (struct rusage): Use anonymous union to pad each field to
9791 __syscall_slong_t.
9792
46259bec
DM
97932012-05-21 David S. Miller <davem@davemloft.net>
9794
9795 * Makefules (o-iterator): Remove .s cases.
9796 (compile-command.s): Delete.
9797 (COMPILE.s): Delete.
9798 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9799
59f0c22e
JM
98002012-05-21 Joseph Myers <joseph@codesourcery.com>
9801
9802 * configure.in (libc_cv_predef_stack_protector): Only consider
9803 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9804 * configure: Regenerated.
9805
20c07380
L
98062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9807
bbb3154b
L
9808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9809 New macro. Use R*LP on int and pointer.
9810 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9811 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9812 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9813 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9814
20c07380
L
9815 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9816 [__WORDSIZE_TIME64_COMPAT32] instead of
9817 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9818 (struct utmp): Likewise.
9819 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9820 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9821 Renamed to ...
9822 (__WORDSIZE_TIME64_COMPAT32): This.
9823 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9824 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9825 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9826 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9827 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9828 (__WORDSIZE_TIME64_COMPAT32): New macro.
9829
d8d1017e
AJ
98302012-05-21 Andreas Jaeger <aj@suse.de>
9831
9832 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9833 only if [SHARED]. Add prototype for __wcschr_ia32.
9834
6c7fb145
RM
98352012-05-21 Roland McGrath <roland@hack.frob.com>
9836
9837 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9838 of %rbp unmolested in the jmp_buf while mangling the low bits.
9839 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9840 unmolested high bits of %rbp while demangling the low bits.
9841 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9842
66274218
AJ
98432012-05-21 Andreas Jaeger <aj@suse.de>
9844
07c58f8f
AJ
9845 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9846 * sunrpc/svc_simple.c: Use it for registerrpc.
9847 * sunrpc/xcrypt.c: Use it for passwd2des.
9848
66274218
AJ
9849 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9850
61f65140
L
98512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9852
9853 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9854 Don't define if [__SYSCALL_WORDSIZE != 32].
9855 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9856 New macro.
9857
5fefb436
AJ
98582012-05-21 Bruno Haible <bruno@clisp.org>
9859 Andreas Jaeger <aj@suse.de>
9860
9861 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9862 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9863 inptr and inend for must_buffer_ch.
9864 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9865 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9866 * stdio-common/Makefile (tests): Remove bug15.
9867 (bug15-ENV): Remove macro.
9868 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9869 anymore.
9870
d8e272ab
AJ
98712012-05-19 Andreas Jaeger <aj@suse.de>
9872 Roland McGrath <roland@hack.frob.com>
9873
9874 * manual/contrib.texi: Completely rewritten. It contains now an
9875 alphabetical list of contributors and their contributions.
9876
4a56a162
RH
98772012-05-21 Richard Henderson <rth@twiddle.net>
9878
9879 * misc/getauxval.c (__getauxval): Use unsigned long int.
9880 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9881 (getauxval): Use unsigned long int.
9882
d024d23c
L
98832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9884
9885 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9886
cbc00a03
RM
98872012-05-21 Roland McGrath <roland@hack.frob.com>
9888
9889 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9890 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9891 __alignof__ (long double).
9892
478143fa
AZ
98932012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9894
9895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9896
c7683a6d
RH
98972012-05-20 Richard Henderson <rth@twiddle.net>
9898
9899 * misc/getauxval.c: New file.
9900 * misc/sys/auxv.h: New file.
9901 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9902 (routines): Add getauxval.
9903 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9904 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9905 * elf/dl-sysdep.c (_dl_auxv): Remove.
9906 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9907 * elf/dl-support.c (_dl_auxv): New variable.
9908 (_dl_aux_init): Initialize it.
9909 * manual/startup.texi (Auxiliary Vector): New node.
9910 * sysdeps/generic/bits/hwcap.h: New file.
9911 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9912 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9913 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9914 * sysdeps/sparc/sysdep.h: ... here. Include it.
9915 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9916 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9918 Update.
c7683a6d
RH
9919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9922 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9927
a6f1845d
AZ
99282012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9929
9930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9931
cbcbe830
DM
99322012-05-19 David S. Miller <davem@davemloft.net>
9933
9934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9935
e0b16cc2
JM
99362012-05-19 Joseph Myers <joseph@codesourcery.com>
9937
9938 [BZ #14123]
9939 * math/s_ccosh.c: Include <float.h>
9940 (__ccosh): Avoid internal overflow calculating sinh and cosh
9941 values before multiplying by sin and cos values.
9942 * math/s_ccoshf.c: Likewise.
9943 * math/s_ccoshl.c: Likewise.
9944 * math/s_csin.c: Likewise.
9945 * math/s_csinf.c: Likewise.
9946 * math/s_csinl.c: Likewise.
9947 * math/s_csinh.c: Likewise.
9948 * math/s_csinhf.c: Likewise.
9949 * math/s_csinhl.c: Likewise.
9950 * math/libm-test.inc (ccos_test): Add more tests.
9951 (ccosh_test): Likewise.
9952 (csin_test): Likewise.
9953 (csinh_test): Likewise.
9954 * sysdeps/i386/fpu/libm-test-ulps: Update.
9955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9956
6ad13e08
L
99572012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9958
f66f0ce8
L
9959 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9960 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9961
6ad13e08
L
9962 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9963
b1d072a7
JM
99642012-05-19 Joseph Myers <joseph@codesourcery.com>
9965
9966 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9967 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9968 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9969 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9970 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9971 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9972 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9973 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9974 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9975 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9976 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9977 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9978 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9979 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9980 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9981 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9982 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9983 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9984 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9985 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9986 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9987 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9988 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9989 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9990 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9991 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9992 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9993 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9994 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9995 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9996 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9997
9eae47cb
AJ
99982012-05-18 Andreas Jaeger <aj@suse.de>
9999
10000 * csu/.gitignore: Delete.
10001
bb07f69f
L
100022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10003
10004 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10005 (timex): Use __syscall_slong_t.
10006
e6bdb741
AJ
100072012-05-18 Andreas Jaeger <aj@suse.de>
10008 Carlos O'Donell <carlos_odonell@mentor.com>
10009
10010 * manual/install.texi (Configuring and compiling): Update
10011 description about files modified in the source directory.
d6c33fda 10012 * INSTALL: Regenerated.
e6bdb741 10013
1b74487e
L
100142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10015
10016 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10017 value. Use "or" to set return value to -1.
10018 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10019 negate return value.
10020
a88b64b9
TMQMF
100212012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10022
10023 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10024 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10025 failure if the compiler has Graphite support disabled.
10026 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10027 Likewise.
10028 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10029 CFLAGS-memmove.c): Likewise.
10030 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10031 Likewise.
10032
3707636e
L
100332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10034
610b8622
L
10035 * sysdeps/x86_64/x32/_itoa.h: New file.
10036
7cd195df
L
10037 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10038 getdents system call only if kernel and user dirents have the
10039 same d_ino and d_off.
10040
94b07d20
L
10041 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10042 LLONG_MAX != LONG_MAX.
10043 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10044 (_fitoa_word): Likewise.
10045
18298070
L
10046 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10047 years.
10048 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10049 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10050 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10051
553c7ea4
L
10052 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10053 include <bits/wordsize.h>. Check __x86_64__ instead of
10054 __WORDSIZE.
10055 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10056 if __x86_64__ is defined. Use anonymous union on fpstate.
10057
3707636e
L
10058 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10059 anonymous union.
10060
b53ef01a
AS
100612012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10062
37fb1dc0
AS
10063 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10064 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10065 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10066 Refer to _rtld_local_ro instead of _rtld_global_ro.
10067 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10068 Likewise.
10069 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10070 Likewise.
10071 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10072 Likewise.
10073 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10074 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10075 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10076
b53ef01a
AS
10077 * sysdeps/powerpc/powerpc32/dl-machine.c
10078 (__elf_machine_runtime_setup) [PROF]: Don't reference
10079 _dl_prof_resolve.
10080
7a185db2
AJ
100812012-05-18 Andreas Jaeger <aj@suse.de>
10082
10083 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10084 function only available for GCCs before 3.4 since GCC 3.4
10085 introduced a builtin.
10086 (lrint): Likewise.
10087 (llrintf): Likewise.
10088 (llrint): Likewise.
10089 (fmaxf): Likewise.
10090 (fmax): Likewise.
10091 (fminf): Likewise.
10092 (fmin): Likewise.
10093 (rint): Likewise.
10094 (rintf): Likewise.
10095 (nearbyint): Likewise.
10096 (nearbyintf): Likewise.
10097 (ceil): Likewise.
10098 (ceilf): Likewise.
10099 (floor): Likewise.
10100 (floorf): Likewise.
10101
3e5aef87
L
101022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10103
428bd707
L
10104 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10105 on both fields and cast pointer to __syscall_ulong_t.
10106
3e5aef87
L
10107 * bits/types.h (__fsword_t): New type.
10108 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10109 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10111 (__FSWORD_T_TYPE): Likewise.
10112 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10113 (__FSWORD_T_TYPE): Likewise.
10114 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10115 (__FSWORD_T_TYPE): Likewise.
10116 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10117 (__FSWORD_T_TYPE): Likewise.
10118 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10119 __SWORD_TYPE with __fsword_t.
10120 (statfs64): Likewise.
10121
1ba7c3dc
DM
101222012-05-17 David S. Miller <davem@davemloft.net>
10123
10124 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10125
59910343
AJ
101262012-05-17 Andreas Jaeger <aj@suse.de>
10127
10128 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10129 warning.
10130
2e4c1e9e
L
101312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10132
10133 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10134
de7f5ce7
AJ
101352012-05-17 Andreas Jaeger <aj@suse.de>
10136
10137 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10138 when it is used.
10139
286abc3d
CM
101402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10141
10142 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10143
477cc68e
L
101442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10145
10146 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10147 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10148
1a0994f5
CD
101492012-05-17 Andreas Jaeger <aj@suse.de>
10150 Carlos O'Donell <carlos_odonell@mentor.com>
10151
10152 [BZ #14059]
10153 * sysdeps/x86_64/multiarch/init-arch.h
10154 (bit_YMM_Usable): Rename to...
10155 (bit_AVX_Usable): ... this.
10156 (bit_FMA4_Usable): New macro.
10157 (bit_XMM_state): New macro.
10158 (bit_YMM_state): New macro.
10159 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10160 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10161 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10162 (CPUID_OSXSAVE): New macro.
10163 (CPUID_AVX): New macro.
10164 (CPUID_FMA4): New macro.
10165 (index_YMM_Usable): Rename to...
10166 (index_AVX_Usable): ... this.
10167 (HAS_AVX): Use HAS_ARCH_FEATURE.
10168 (HAS_FMA4): Likewise.
10169 (HAS_YMM_USABLE): Remove.
10170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10171 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10172 are present.
10173 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10174 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10175 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10176 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10177 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10178
0af797de
CM
101792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10180
10181 * math/libm-test.c: Support platforms without multiple rounding modes.
10182 * math/bug-nextafter.c: Support platforms without FP exceptions.
10183 * math/bug-nexttoward.c: Likewise.
10184 * math/test-fenv.c: Likewise.
10185 * math/test-misc.c: Likewise.
10186 * stdlib/bug-getcontext.c: Likewise.
10187
e39745ff
AJ
101882012-05-17 Andreas Jaeger <aj@suse.de>
10189
10190 * manual/examples/search.c (critter_cmp): Change signature to
10191 avoid warnings.
10192 * manual/string.texi (Collation Functions): Likewise.
10193
48970aba
L
101942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10195
10196 * bits/types.h: Fold copyright years.
10197 * bits/typesizes.h: Likewise.
10198 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10199 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10201 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10202 * time/time.h: Likewise.
10203
bedee953
PP
102042012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10205
10206 [BZ #208]
10207 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10208 in instead of returning them. Return void.
10209 (__libc_mallinfo): Accumulate over all arenas.
10210 (__malloc_stats): Adjust for change in int_mallinfo interface.
10211
61653dfb
RM
102122012-05-16 Roland McGrath <roland@hack.frob.com>
10213
30b99d79
RM
10214 [BZ #10375]
10215 * configure.in (NM): Add AC_CHECK_TOOL for it.
10216 (libc_extra_cflags): New substituted variable.
10217 Check for -fstack-protector being used implicitly.
10218 * configure: Regenerated.
10219 * config.make.in (config-extra-cflags): New variable,
10220 gets @libc_extra_cflags@.
10221 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10222
61653dfb
RM
10223 [BZ #10375]
10224 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10225 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10226 * configure: Regenerated.
10227 * config.make.in (CPPUNDEFS): New substituted variable.
10228 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10229 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10230 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10231
661768bb
L
102322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10233
10234 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10235 (mq_attr): Use __syscall_slong_t.
10236
d4261567
L
102372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10238
10239 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10240 Check __x86_64__ instead of __WORDSIZE.
10241 (_STAT_VER_LINUX): Likewise.
10242 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10243 __syscall_ulong_t and __syscall_slong_t.
10244 (stat64): Likewise.
10245
cf3ff365
L
102462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10247
10248 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10249
76cf3e4d
L
102502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10251
10252 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10253
a637753a
L
102542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10255
10256 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10257 __syscall_ulong_t.
10258
d5e05119
L
10259 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10260 include <bits/wordsize.h>. Check __x86_64__ instead of
10261 __WORDSIZE.
10262 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10263 defined.
10264 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10265
f62ee380
L
10266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10267 include <bits/wordsize.h>. Check __x86_64__ instead of
10268 __WORDSIZE.
10269 (user_regs_struct): Use "__extension__ unsigned long long"
10270 instead of "unsigned long" if __x86_64__ is defined.
10271 (user): Likewise. Pad after pointer field if __ILP32__ is
10272 defined.
10273
4e124ced
JM
102742012-05-16 Joseph Myers <joseph@codesourcery.com>
10275
6a3951a0
JM
10276 * configure.in (makeinfo): Require version 4.5 or later. Allow
10277 versions 5 to 9.
10278 * configure: Regenerated.
10279 * manual/install.texi (texinfo): Increase version requirement to
10280 4.5 or later.
10281 * INSTALL: Regenerated.
10282
4e124ced
JM
10283 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10284
953ca31a
L
102852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10286
10287 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10288
617aca05
L
10289 * sysdeps/x86_64/x32/ffs.c: New file.
10290
5762f7ae
L
10291 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10292 __syscall_ulong_t.
10293 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10294 defined. Use __syscall_ulong_t.
10295 (shminfo): Use __syscall_ulong_t.
10296 (shm_info): Likewise.
10297
a26b6856
L
10298 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10299 __syscall_ulong_t.
10300
cb2b9ef7
L
10301 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10302 <bits/wordsize.h>.
10303 (msgqnum_t): Use __syscall_ulong_t.
10304 (msglen_t): Likewise.
10305 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10306 __syscall_ulong_t.
10307
34683bb0
L
10308 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10309 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10310
84a68786
L
10311 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10312
48baa5f1
L
10313 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10314 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10315
180be88b
L
10316 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10317 __syscall_slong_t.
10318
5e90c8ad
L
10319 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10320 include <bits/wordsize.h>. Check __x86_64__ instead of
10321 __WORDSIZE.
10322
23dfb58b
L
10323 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10324 "unsigned long long int" if __x86_64__ is defined.
10325 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10326
ce5d54b0
L
10327 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10328 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10329 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10330
13dc9eac
L
10331 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10332 <stdint.h>.
10333 (GET_PC): Cast to uintptr_t first.
10334 (GET_FRAME): Likewise.
10335 (GET_STACK): Likewise.
10336
a7895d15
L
10337 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10338 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10339 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10340 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10341 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10342 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10343 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10344 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10345 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10346 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10347 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10348 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10349 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10350 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10351 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10352 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10353 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10354 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10355 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10356 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10357 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10358 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10359 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10360 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10361 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10362 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10363 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10364 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10365 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10366
656416c9
AS
103672012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10368
5bd66283
AS
10369 * Makerules (+depfiles): Also collect depfiles from .oS in
10370 $(extra-objs).
10371 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10372 .oS, $(libnldbl-routines)).
10373
656416c9
AS
10374 * Makerules (native-compile-mkdep-flags): Define.
10375 * sunrpc/Makefile (extra-objs): Add $(addprefix
10376 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10377 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10378 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10379 calling $(make-target-directory).
10380
a46f2169
L
103812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10382
10383 * bits/types.h (__snseconds_t): Removed.
10384 * time/time.h (struct timespec): Replace __snseconds_t with
10385 __syscall_slong_t.
10386 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10387 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10388 Likewise.
10389 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10390 (__SNSECONDS_T_TYPE): Likewise.
10391 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10392 (__SNSECONDS_T_TYPE): Likewise.
10393 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10394 (__SNSECONDS_T_TYPE): Likewise.
10395
6af6528b
L
103962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10397
10398 * sysdeps/mach/hurd/bits/typesizes.h
10399 (__SYSCALL_SLONG_TYPE): New macro.
10400 (__SYSCALL_ULONG_TYPE): Likewise.
10401
de986b56
L
104022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10403
10404 * bits/types.h (__syscall_slong_t): New type.
10405 (__syscall_ulong_t): Likewise.
10406
10407 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10408 (__SYSCALL_ULONG_TYPE): Likewise.
10409 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10410 (__SYSCALL_SLONG_TYPE): Likewise.
10411 (__SYSCALL_ULONG_TYPE): Likewise.
10412 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10413 (__SYSCALL_SLONG_TYPE): Likewise.
10414 (__SYSCALL_ULONG_TYPE): Likewise.
10415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10416 (__SYSCALL_SLONG_TYPE): Likewise.
10417 (__SYSCALL_ULONG_TYPE): Likewise.
10418
85736dc7
L
104192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10420
10421 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10422 Add sigaltstack-offsets.sym.
10423 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10424 <sigaltstack-offsets.h>.
10425 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10426 longjmp_msg pointer.
10427 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10428 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10429 signal stack.
10430 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10431
cc03b296
JM
104322012-05-15 Joseph Myers <joseph@codesourcery.com>
10433
a9538892
JM
10434 * elf/stackguard-macros.h: Remove file.
10435 * sysdeps/generic/stackguard-macros.h: New file.
10436 * sysdeps/i386/stackguard-macros.h: Likewise.
10437 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10438 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10439 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10440 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10441 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10442 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10443 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10444 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10445 <elf/stackguard-macros.h>.
10446
cc03b296
JM
10447 [BZ #14109]
10448 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10449 __aligned__ in attribute.
10450 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10451 (gregset_t): Likewise.
10452
93171016
L
104532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10454
10455 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10456 * sysdeps/x86_64/64/Implies-after: Here. New file.
10457 * sysdeps/x86_64/x32/Implies-after: New file.
10458
d86813a0
L
104592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10460
10461 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10462 and access return value for _dl_profile_fixup. Use R10_LP to
10463 load frame size.
10464
2953ec75
L
104652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10466
10467 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10468
3b550e9e
L
104692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10470
10471 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10472 * sysdeps/x86_64/x32/sysdep.h: New file.
10473
eda41706
L
104742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10475
10476 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10477 * sysdeps/x86_64/setjmp.S: Likewise.
10478
9ea01d93
AZ
104792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10480
10481 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10482 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10483 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10484 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10485 remove unused global constant.
10486
02a91938
CM
104872012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10488
10489 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10490 include of <not-cancel.h>.
10491
6540185f
RM
104922012-05-15 Roland McGrath <roland@hack.frob.com>
10493
10494 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10495
509072a0
AJ
104962012-05-15 Jeff Law <law@redhat.com>
10497 Andreas Jaeger <aj@suse.de>
10498
10499 [BZ #13594]
10500 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10501 out from...
10502 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10503 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10504 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10505 code changing __hst_map_handle.map.
10506
ba75122d
RM
105072012-05-15 Roland McGrath <roland@hack.frob.com>
10508
10509 * configure.in (sysnames): Look for Implies-before and Implies-after
10510 files.
10511 * configure: Regenerated.
10512
890d8bd8
L
105132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10514
10515 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10516 8-byte data alignment with LP_SIZE alignment.
10517
f6ee6623
L
105182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10519
10520 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10521 into R10_LP.
10522
ea2626f6
L
105232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10524
10525 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10526
085f715e
L
105272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10528
10529 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10530 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10531 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10532 Likewise.
10533 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10534
be8498fc
L
105352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10536
10537 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10538 (stackinfo_sub_sp): Likewise.
10539
70bc83b9
L
105402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10541
10542 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10543 RAX_LP.
10544
9bc0b730
L
105452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10546
10547 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10548 into R*_LP.
10549
6d2850e7
L
105502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10551
10552 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10553 sizes into R*_LP.
10554
3cb84561
L
105552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10556
10557 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10558
54e2ed81
L
105592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10560
10561 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10562 into R11_LP and load __x86_64_shared_cache_size_half into
10563 R8_LP.
10564
8a17f349
L
105652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10566
10567 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10568 R8_LP.
10569
777b1eea
AZ
105702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10571
10572 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10573 logb for POWER7.
10574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10575 logbf for POWER7.
10576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10577 logbl for POWER7.
10578 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10579 powerpc32/power7/fpu/s_logb.c via #include.
10580 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10581 powerpc32/power7/fpu/s_logbf.c via #include.
10582 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10583 powerpc32/power7/fpu/s_logbl.c via #include.
10584
d20d4ac2
JM
105852012-05-15 Joseph Myers <joseph@codesourcery.com>
10586
10587 * README.libm: Remove file.
10588
6cdef1ab
L
105892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10590
10591 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10592 count for x32. Use R*_LP and omit operand-size suffix.
10593
0b254d8f
L
105942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10595
10596 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10597 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10598 * sysdeps/x86_64/x32/shlib-versions: New file.
10599
ceb809dc
RM
106002012-05-14 Roland McGrath <roland@hack.frob.com>
10601
10602 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10603 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10604 Use _dl_fatal_printf instead.
10605
37f1abd4
JM
106062012-05-14 Joseph Myers <joseph@codesourcery.com>
10607
10608 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10609 set if not set by the user. Do not allow for being unset.
10610 * sysdeps/unix/sysv/linux/configure: Regenerated.
10611
11de3a33
L
106122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10613
10614 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10615 the `q' suffix from lea and replace .quad with ASM_ADDR.
10616
e02f153a
L
106172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10618
10619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10620 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10621 instead of $17.
10622 (PTR_DEMANGLE): Likewise.
10623
520ae0fd
L
106242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10625
10626 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10627 (LP_OP): Likewise.
10628 (ASM_ADDR): Likewise.
10629 (RAX_LP): Likewise.
10630 (RBP_LP): Likewise.
10631 (RBX_LP): Likewise.
10632 (RCX_LP): Likewise.
10633 (RDI_LP): Likewise.
10634 (RSI_LP): Likewise.
10635 (RSP_LP): Likewise.
10636 (R8_LP): Likewise.
10637 (R9_LP): Likewise.
10638 (R10_LP): Likewise.
10639 (R10_LP): Likewise.
10640 (R11_LP): Likewise.
10641 (R12_LP): Likewise.
10642 (R13_LP): Likewise.
10643 (R14_LP): Likewise.
10644 (R15_LP): Likewise.
10645
b985be81
L
106462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10647
10648 * sysdeps/x86_64/x32/dl-machine.h: New file.
10649
6a4888ff
AJ
106502012-05-14 Andreas Jaeger <aj@suse.de>
10651
10652 * manual/Makefile (subdir): Remove export of subdir.
10653 (all): Remove target.
10654 (.PHONY): Remove all from list.
10655 (mkinstalldirs): Remove.
10656 (.PHONY): Remove installdirs from list.
10657 ($(inst_infodir)/libc.info): Use make-target-directory.
10658 (installdirs): Remove.
10659 (subdir_%): Remove.
10660 (glibc-targets): Remove.
10661 (lib): Remove.
10662 (stubs): Remove.
10663 ($(objpfx)stubs ../po/manual.pot): Remove.
10664 ($(objpfx)stamp%): Remove.
10665 (make-target-directory): Remove.
10666 (subdir_install): Remove.
10667 (routines): Remove.
10668 (aux): Remove.
10669 (sources): Remove.
10670 (objects): Remove.
10671 (headers): Remove.
10672
10673 [BZ #13750]
10674 * manual/.gitignore: Remove, it's not needed anymore.
10675 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10676 all files in it.
10677 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10678 directory.
10679 (texis): Renamed to $(objpfx)texis.
10680 (texis-path): New, contains path to generated files.
10681 (chapters.%): Use texis-path for complete path, add extra argument
10682 libc-texinfo.sh.
10683 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10684 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10685 (summary,texi, stamp-summary): Use complete path of
10686 files. Generate files in build dir.
10687 (dir-add.texi): Build in build dir.
10688 (libm-err.texi,stamp-libm-err): Likewise.
10689 (version.texi, stamp-version): Likewise.
10690 (.%c.texi): Likewise.
10691 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10692 (mostlyclean): Remove target.
10693 (realclean): Remove target.
10694 (generated): Add new variable with contents from mostlyclean and
10695 realclean, remove entries duplicated in common-mostlyclean, add
10696 stamp-libm-err and stamp-version.
10697 (generated-dirs): Add libc directory.
10698 ($(inst_infodir)/libc.info): Install files from build dir.
10699
10700 * manual/install.texi (Configuring and compiling): Adjust since
10701 the info files are not part of the tar ball anymore.
10702
7ac77294
AJ
107032012-05-14 Andreas Jaeger <aj@suse.de>
10704
10705 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10706 variable.
10707
ffb7875d
JM
107082012-05-14 Joseph Myers <joseph@codesourcery.com>
10709
10710 [BZ #13717]
10711 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10712 to 2.2.0 where earlier.
10713 * sysdeps/unix/sysv/linux/configure: Regenerated.
10714 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10715 Remove conditional code.
10716 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10717 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10718 Remove conditional code.
10719 [!__NR_lchown]: Likewise.
10720 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10721 [__NR_lchown]: Likewise.
10722 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10723 comment referencing __ASSUME_LCHOWN_SYSCALL.
10724 * sysdeps/unix/sysv/linux/i386/sigaction.c
10725 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10726 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10727 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10728 Remove conditional code.
10729 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10730 (__protocol_available): Remove #if 0 code.
10731 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10732 conditional code.
10733 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10734 * sysdeps/unix/sysv/linux/kernel-features.h
10735 (__ASSUME_GETCWD_SYSCALL): Don't define.
10736 (__ASSUME_REALTIME_SIGNALS): Likewise.
10737 (__ASSUME_PREAD_SYSCALL): Likewise.
10738 (__ASSUME_PWRITE_SYSCALL): Likewise.
10739 (__ASSUME_POLL_SYSCALL): Likewise.
10740 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10741 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10742 non-SPARC.
10743 (__ASSUME_SIOCGIFNAME): Don't define.
10744 (__ASSUME_MSG_NOSIGNAL): Likewise.
10745 (__ASSUME_SENDFILE): Define unconditionally.
10746 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10747 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10748 conditional code.
10749 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10750 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10751 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10752 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10753 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10754 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10755 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10757 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10760 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10763 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10766 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10767 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10769 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10772 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10775 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10776 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10778 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10779 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10780 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10781 Remove conditional code.
10782 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10783 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10784 Remove conditional code.
10785 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10786 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10787 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10788 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10789 Remove conditional code.
10790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10791 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10792 Remove conditional code.
10793 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10794 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10795 Remove conditional code.
10796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10797 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10798 Remove conditional code.
10799 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10800 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10801 Remove conditional code.
10802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10803 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10804 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10806 * sysdeps/unix/sysv/linux/sigaction.c
10807 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10808 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10809 * sysdeps/unix/sysv/linux/sigpending.c
10810 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10811 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10812 * sysdeps/unix/sysv/linux/sigprocmask.c
10813 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10814 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10815 * sysdeps/unix/sysv/linux/sigsuspend.c
10816 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10817 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10818 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10819 (__libc_missing_rt_sigs): Remove.
10820 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10821 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10822 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10823 Remove conditional code.
10824 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10825 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10826 return 1.
10827 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10828 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10829 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10830 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10831
1bfb7291
AJ
108322012-05-14 Andreas Jaeger <aj@suse.de>
10833
caae5a81
AJ
10834 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10835 it's not used in glibc.
10836 (__coshm1): Likewise.
10837 (__acosh1p): Likewise.
10838 (__sgn): Likewise.
10839
1bfb7291
AJ
10840 * manual/string.texi (Copying and Concatenation): Add missing
10841 variable in concat example.
10842 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10843
c044d724
L
108442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10845
144c5467 10846 [BZ #14103]
c044d724
L
10847 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10848 __builtin_clzl with __builtin_clzll.
10849
2523c62b
L
108502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10851
10852 [BZ #14104]
10853 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10854 libc_freeres_ptr.
10855
d7bb4c42
LD
108562012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10857
10858 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10859 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10860 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10861 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10862
9dc4e1fb
MF
108632012-05-14 Mike Frysinger <vapier@gentoo.org>
10864
10865 * NEWS: Update ia64 info.
10866
c7df0112
AS
108672012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10868
10869 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10870 used as bcopy.
10871
dc70356c
TS
108722012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10873
10874 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10875 * sysdeps/unix/syscalls.list (dup3): Likewise.
10876 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10877 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10878
9fb1a21f
L
108792012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10880
10881 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10882 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10883
4822a2a5
L
108842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10885
10886 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10887 thread pointer.
10888 (TLS_IE): Use mov/add instead of movq/addq to load thread
10889 pointer.
10890 (TLS_GD_PREFIX): New.
10891 (TLS_GD): Use it.
10892
842b81d6
DM
108932012-05-11 David S. Miller <davem@davemloft.net>
10894
10895 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10896 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10897 (_FPU_SETCW): Likewise.
10898
1cf463cd
L
108992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10900
10901 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10902 is 32-byte aligned.
10903
60cc4a18
AS
109042012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10905
10906 [BZ #11837]
10907 * iconvdata/gb18030.c: Update tables.
10908 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10909 characters specially.
10910 (BODY for TO_LOOP): Add encoding of missing ranges.
10911
febb44a4
TS
109122012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10913
10914 [BZ #13673]
10915 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10916 * sysdeps/mach/hurd/dup3.c: Likewise.
10917 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10918 * sysdeps/powerpc/memmove.c:: Likewise.
10919
0a10fb9e
L
109202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10921
10922 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10923 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10924
df8a552f
L
109252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10926
10927 * elf/elf.h (R_X86_64_RELATIVE64): New.
10928 (R_X86_64_NUM): Updated.
10929 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10930 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10931 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10932 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10933 tst-quad1pie tst-quad2pie
10934 (modules-names): Add tst-quadmod1 tst-quadmod2.
10935 ($(objpfx)tst-quad1): New dependency.
10936 ($(objpfx)tst-quad2): Likewise.
10937 ($(objpfx)tst-quad1pie): Likewise.
10938 ($(objpfx)tst-quad2pie): Likewise.
10939 * sysdeps/x86_64/tst-quad1.c: New file.
10940 * sysdeps/x86_64/tst-quad1pie.c: New file.
10941 * sysdeps/x86_64/tst-quad2.c: Likewise.
10942 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10943 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10944 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10945 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10946 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10947
f34d6f84
ST
109482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10949
f42d41d1
ST
10950 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10951 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10952 * streams/stropts.h (t_scalar_t): Define type.
10953
3c3571fc
ST
10954 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10955 (_PATH_PRESERVE): Set to "/var/lib".
10956 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10957
61f06bd3
ST
10958 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10959 instead of int.
10960
918d4d71
ST
10961 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10962 if __dir_mkfile succeeded.
10963
f34d6f84
ST
10964 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10965 checking for _hurd_dtablesize. Unlock it right after having
10966 finished _hurd_dtable allocation.
10967
10589b4a
TS
109682012-05-10 Thomas Schwinge <thomas@schwinge.name>
10969
674cdbc7
TS
10970 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10971 * sysdeps/mach/hurd/configure: Regenerated.
10972 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10973 special-casing to...
10974 * sysdeps/gnu/configure.in: ... this new file.
10975 * sysdeps/unix/sysv/linux/configure: Regenerated.
10976 * sysdeps/gnu/configure: New generated file.
10977
8e41b99f
TS
10978 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10979 for Linux: use nsec instead of usec, as well as:
10980 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10981 members of type struct timespec.
10982 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10983 New macros.
10984 (struct stat64): Likewise.
10985 (_STATBUF_ST_NSEC): New macro.
10986 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10987
10589b4a
TS
10988 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10989 __strtoul_internal rather than strtoul.
10990
63643c85
PT
109912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10992
10993 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10994 and reject them.
10995
3faebe6a
ST
109962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10997
10998 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10999 which preserves existing values.
11000 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11001
c6474b07
PT
110022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11003
11004 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11005 TIMEOUT values. Return EINVAL for NFDS values either negative or
11006 greater than FD_SETSIZE.
11007
1043890b
ST
110082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11009
11010 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11011 allocated, call __vm_protect to finish enabling the existing space, and
11012 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11013 allocate the remainder.
11014
37ed8b9b
PT
110152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11016
11017 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11018 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11019
db653660
ST
110202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11021
37ed8b9b
PT
11022 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11023 sysdeps/mach/hurd/readlink.c.
b29d4053 11024
db653660
ST
11025 * posix/tst-sysconf.c (posix_options): Only use
11026 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11027 _POSIX_SYNCHRONIZED_IO when they are defined
11028 * sysdeps/mach/hurd/bits/posix_opt.h:
11029 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11030 (_XOPEN_REALTIME): Undefine macro.
11031 (_XOPEN_REALTIME_THREADS): Undefine macro.
11032 (_XOPEN_SHM): Undefine macro.
11033 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11034 macro to -1.
11035 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11036 macro to -1.
11037 (_POSIX_ASYNC_IO): Undefine macro.
11038 (_POSIX_PRIORITIZED_IO): Undefine macro.
11039 (_POSIX_SPIN_LOCKS): Define macro to -1.
11040
ee16e894
ST
11041 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11042 SA_NODEFER, SA_RESETHAND.
11043 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11044 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11045 F_DUPFD_CLOEXEC.
11046
6103ae3b
TS
110472012-05-10 Thomas Schwinge <thomas@schwinge.name>
11048
11049 * elf/Makefile (pldd-modules): Define unconditionally.
11050
80b4e5f3
TS
110512012-05-10 Thomas Schwinge <thomas@schwinge.name>
11052
11053 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11054
edadcbd6
ST
110552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11056
11057 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11058 Return ENOENT when name is empty.
11059 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11060
80694780
TS
110612012-05-10 Thomas Schwinge <thomas@schwinge.name>
11062
1792c087
TS
11063 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11064
80694780
TS
11065 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11066
6b645f0d
ST
110672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11068
80694780
TS
11069 Fix mlock in all cases except non-readable pages.
11070 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11071 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11072
6b645f0d
ST
11073 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11074 (__mkdir): When path is `/', just fail with EEXIST.
11075 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11076
e468f8a3
TS
110772012-05-10 Thomas Schwinge <thomas@schwinge.name>
11078
11079 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11080 <sys/uio.h> (for writev).
11081 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11082 and <sys/param.h> (for MIN).
11083
a4186cff
PT
110842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11085
11086 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11087 REQUESTED_TIME. Properly set the remaining time and return EINTR
11088 if interrupted.
11089
510bbf14
TS
110902012-05-10 Thomas Schwinge <thomas@schwinge.name>
11091
11092 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11093 Depend on against $(link-rpcuserlibs).
11094
5d5722e8
ST
110952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11096
a4186cff
PT
11097 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11098 (__libc_stack_end): Do not use attribute_relro.
11099 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11100 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11101 to libthread-provided value.
a4186cff
PT
11102 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11103 attribute_relro.
5d5722e8 11104
37233df9
TS
111052012-05-10 Thomas Schwinge <thomas@schwinge.name>
11106
be971a2b
TS
11107 [BZ #3748]
11108 * bits/libc-lock.h (__libc_once_get): New macro.
11109 * sysdeps/mach/bits/libc-lock.h: Likewise.
11110 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11111 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11112 instead of using implementation details.
11113
37233df9
TS
11114 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11115 * libio/freopen.c: Likewise.
11116 * libio/freopen64.c: Likewise.
11117 * misc/syslog.c: Likewise.
11118 * nscd/connections.c: Likewise.
11119 * nscd/netgroupcache.c: Likewise.
11120 * sysdeps/posix/getcwd.c: Likewise.
11121
38de94a5
RM
111222012-05-10 Roland McGrath <roland@hack.frob.com>
11123
11124 * math/w_ilogbf.c: Add #include <limits.h>.
11125
67530489
ST
111262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11127
a4186cff 11128 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11129 path instead of returning without unlocking.
11130
67530489
ST
11131 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11132 immediate-write ioctls.
11133 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11134
5aa3a74a
TS
111352012-05-10 Thomas Schwinge <thomas@schwinge.name>
11136
18bad2ae
TS
11137 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11138 __builtin_frame_address instead of making assumptions about the
11139 location of the return address relative to DATA. Force early load of
11140 the return address.
11141 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11142 __builtin_frame_address.
11143
5aa3a74a
TS
11144 dup3 for GNU Hurd.
11145 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11146 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11147 implement dup3 and do some further code clean-ups.
11148 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11149 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11150
ecd0de9a
ST
111512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11152
cd9fa985
ST
11153 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11154
a4186cff
PT
11155 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11156 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11157 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11158 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11159 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11160 d->port.lock.
802ca5a5 11161
a4186cff
PT
11162 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11163 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11164 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11165
bcf55240
TS
111662012-05-10 Thomas Schwinge <thomas@schwinge.name>
11167
6960eb42
TS
11168 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11169 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11170 definitions.
11171
eb43375f
TS
11172 accept4 for GNU Hurd.
11173 * include/sys/socket.h (__libc_accept4): New prototype.
11174 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11175 to implement __libc_accept4.
11176 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11177 __libc_accept4.
11178 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11179
bcf55240
TS
11180 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11181 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11182 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11183 signal-defines.sym.
11184
6178c55b
ST
111852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11186
a4186cff 11187 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11188
6f080c2f
TS
111892012-05-10 Thomas Schwinge <thomas@schwinge.name>
11190
11191 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11192 assertion on O_CLOEXEC flag.
11193 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11194 * hurd/intern-fd.c: Likewise.
11195 * hurd/port2fd.c: Likewise.
11196
bcfe3a54
ST
111972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11198
11199 [BZ #3906]
11200 * bits/in.h (IPV6_PKTINFO): Define new macro.
11201 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11202
89c9aa49
AZ
112032012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11204
11205 [BZ #13954]
11206 [BZ #13955]
11207 [BZ #13956]
11208 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11209 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11210 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11211 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11212 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11213 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11214 * math/libm-test.inc (logb_test) : Additional logb tests.
11215
021db4be
AJ
112162012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11217 Andreas Jaeger <aj@suse.de>
11218
11219 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11220 * configure: Regenerated.
11221 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11222 * config.make.in (link-obsolete-rpc): New substituted variable.
11223 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11224 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11225 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11226 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11227 so that libc.a contains the symbols.
11228 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11229 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11230 * sunrpc/auth_none.c: Likewise.
11231 * sunrpc/auth_unix.c: Likewise.
11232 * sunrpc/authdes_prot.c: Likewise.
11233 * sunrpc/authuxprot.c: Likewise.
11234 * sunrpc/clnt_gen.c: Likewise.
11235 * sunrpc/clnt_perr.c: Likewise.
11236 * sunrpc/clnt_raw.c: Likewise.
11237 * sunrpc/clnt_simp.c: Likewise.
11238 * sunrpc/clnt_tcp.c: Likewise.
11239 * sunrpc/clnt_udp.c: Likewise.
11240 * sunrpc/clnt_unix.c: Likewise.
11241 * sunrpc/des_crypt.c: Likewise.
11242 * sunrpc/des_soft.c: Likewise.
11243 * sunrpc/get_myaddr.c: Likewise.
11244 * sunrpc/key_call.c: Likewise.
11245 * sunrpc/key_prot.c: Likewise.
11246 * sunrpc/netname.c: Likewise.
11247 * sunrpc/pm_getmaps.c: Likewise.
11248 * sunrpc/pm_getport.c: Likewise.
11249 * sunrpc/pmap_clnt.c: Likewise.
11250 * sunrpc/pmap_prot.c: Likewise.
11251 * sunrpc/pmap_prot2.c: Likewise.
11252 * sunrpc/pmap_rmt.c: Likewise.
11253 * sunrpc/publickey.c: Likewise.
11254 * sunrpc/rpc_cmsg.c: Likewise.
11255 * sunrpc/rpc_common.c: Likewise.
11256 * sunrpc/rpc_dtable.c: Likewise.
11257 * sunrpc/rpc_prot.c: Likewise.
11258 * sunrpc/rpc_thread.c: Likewise.
11259 * sunrpc/rtime.c: Likewise.
11260 * sunrpc/svc.c: Likewise.
11261 * sunrpc/svc_auth.c: Likewise.
11262 * sunrpc/svc_raw.c: Likewise.
11263 * sunrpc/svc_run.c: Likewise.
11264 * sunrpc/svc_tcp.c: Likewise.
11265 * sunrpc/svc_udp.c: Likewise.
11266 * sunrpc/svc_unix.c: Likewise.
11267 * sunrpc/svcauth_des.c: Likewise.
11268 * sunrpc/xcrypt.c: Likewise.
11269 * sunrpc/xdr.c: Likewise.
11270 * sunrpc/xdr_array.c: Likewise.
11271 * sunrpc/xdr_float.c: Likewise.
11272 * sunrpc/xdr_intXX_t.c: Likewise.
11273 * sunrpc/xdr_mem.c: Likewise.
11274 * sunrpc/xdr_rec.c: Likewise.
11275 * sunrpc/xdr_ref.c: Likewise.
11276 * sunrpc/xdr_sizeof.c: Likewise.
11277 * sunrpc/xdr_stdio.c: Likewise.
11278
b5c086a2
RM
112792012-05-10 Roland McGrath <roland@hack.frob.com>
11280
11281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11282 change. Update copyright years.
11283
6d74dd09
JM
112842012-05-10 Joseph Myers <joseph@codesourcery.com>
11285
11286 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11287
28e72501
MK
112882012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11289 Joseph Myers <joseph@codesourcery.com>
11290 Paul Pluzhnikov <ppluzhnikov@google.com>
11291
11292 [BZ #14012]
11293 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11294 requiring rpcgen.
11295 [cross-compiling] (extra-libs): Likewise.
11296 [cross-compiling] (extra-libs-others): Likewise.
11297 [cross-compiling] (librpcsvc-routines): Likewise.
11298 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11299 [cross-compiling] (omit-deps): Likewise.
11300 (sunrpc-CPPFLAGS): New variable.
11301 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11302 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11303 (cross-rpcgen-objs): New variable.
11304 (extra-objs): Append $(cross-rpcgen-objs).
11305 ($(cross-rpcgen-objs)): New rule.
11306 ($(objpfx)cross-rpcgen): Likewise.
11307 (rpcgen-cmd): Define to use $(built-program-file). Expand
11308 comment.
11309 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11310 ($(objpfx)x%.stmp): Likewise.
11311 * sunrpc/proto.h [IS_IN_build] (_): Define.
11312 [IS_IN_build] (_libc_intl_domainname): Likewise.
11313
c8c59454
L
113142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11315
11316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11317 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11318 and R_X86_64_TPOFF64.
11319
6f27cd16
JM
113202012-05-10 Joseph Myers <joseph@codesourcery.com>
11321
11322 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11323 sysdeps/unix/sysv/syscalls.list.
11324 (stime): Likewise.
11325 (utime): Likewise.
11326 * sysdeps/unix/sysv/syscalls.list: Remove file.
11327
02467e1c
PE
113282012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11329
11330 [BZ #3440]
11331 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11332 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11333 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11334 (__LC_IDENTIFICATION): Make these macros useful in #if
11335 expressions, as required by C99.
11336
da392631
AS
113372012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11338
11339 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11340 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11341 after this.
11342
8115f29b
L
113432012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11344
11345 * stdlib/longlong.h: Updated from GCC.
11346
bdd74070
AJ
113472012-05-09 Andreas Jaeger <aj@suse.de>
11348
edfe0dbe
AJ
11349 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11350 default is first entry.
11351 (run_mode): Set type.
11352 (main): Remove informal message about syslog.
11353 (options): Fix typo.
11354
bcfe3a54
ST
11355 [BZ #14053]
11356 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11357 to asm.
bcfe3a54
ST
11358 (lrint): Likewise.
11359 (llrintf): Likewise.
11360 (llrint): Likewise.
11361 (rint): Likewise.
11362 (rintf): Likewise.
11363 (nearbyint): Likewise.
11364 (nearbyintf): Likewise.
bdd74070 11365
91d8d69e
AJ
113662012-05-09 Andreas Jaeger <aj@suse.de>
11367 Pedro Alves <palves@redhat.com>
11368
11369 * nscd/nscd.c (run_mode): Use enum.
11370 (main): Cleanup coding style issue.
11371
bb90b80b
AJ
113722012-05-09 Alexandre Oliva <aoliva@redhat.com>
11373 Andreas Jaeger <aj@suse.de>
11374
bcfe3a54
ST
11375 * nscd/nscd.c (go_background): Replaced with...
11376 (run_mode): ... this.
bb90b80b 11377 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11378 (options): Add -F --foreground.
11379 (main): Implement it.
11380 (parse_opt): Parse it.
bb90b80b 11381
1a4b75a1
AJ
113822012-05-09 Andreas Jaeger <aj@suse.de>
11383
11384 [BZ #14083]
11385 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11386 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11387 -Wconversion warning.
11388 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11389 Likewise.
11390
b1cc2472
JM
113912012-05-09 Joseph Myers <joseph@codesourcery.com>
11392
11393 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11394 == 0.
11395 (LC_ALL): Use macro-int-constant.
11396 (LC_COLLATE): Likewise.
11397 (LC_CTYPE): Likewise.
11398 (LC_MESSAGES): Likewise.
11399 (LC_MONETARY): Likewise.
11400 (LC_NUMERIC): Likewise.
11401 (LC_TIME): Likewise.
11402 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11403 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11405 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11406 Specify type.
11407 [C99-based standards] (float_t): Expect type.
11408 [C99-based standards] (double_t): Expect type.
11409 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11410 type.
11411 [C99-based standards] (HUGE_VALL): Likewise.
11412 [C99-based standards] (INFINITY): Likewise.
11413 [C99-based standards] (NAN): Likewise.
11414 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11415 [C99-based standards] (FP_NAN): Likewise.
11416 [C99-based standards] (FP_NORMAL): Likewise.
11417 [C99-based standards] (FP_SUBNORMAL): Likewise.
11418 [C99-based standards] (FP_ZERO): Likewise.
11419 [C99-based standards] (FP_FAST_FMA): Use
11420 optional-macro-int-constant. Specify type. Require == 1.
11421 [C99-based standards] (FP_FAST_FMAF): Likewise.
11422 [C99-based standards] (FP_FAST_FMAL): Likewise.
11423 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11424 [C99-based standards] (FP_ILOGBNAN): Likewise.
11425 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11426 Specify type.
11427 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11428 [C99-based standards] (math_errhandling): Specify type.
11429 [ISO99 || ISO11] (signgam): Do not allow.
11430 [non-C99-based standards] (copysignf): Do not allow.
11431 [non-C99-based standards] (exp2f): Likewise.
11432 [non-C99-based standards] (log2f): Likewise.
11433 [non-C99-based standards] (modff): Allow.
11434 [non-C99-based standards] (erff): Do not allow.
11435 [non-C99-based standards] (erfcf): Likewise.
11436 [non-C99-based standards] (gammaf): Likewise.
11437 [non-C99-based standards] (hypotf): Likewise.
11438 [non-C99-based standards] (j0f): Likewise.
11439 [non-C99-based standards] (j1f): Likewise.
11440 [non-C99-based standards] (jnf): Likewise.
11441 [non-C99-based standards] (lgammaf): Likewise.
11442 [non-C99-based standards] (tgammaf): Likewise.
11443 [non-C99-based standards] (y0f): Likewise.
11444 [non-C99-based standards] (y1f): Likewise.
11445 [non-C99-based standards] (ynf): Likewise.
11446 [non-C99-based standards] (isnanf): Likewise.
11447 [non-C99-based standards] (acoshf): Likewise.
11448 [non-C99-based standards] (asinhf): Likewise.
11449 [non-C99-based standards] (atanhf): Likewise.
11450 [non-C99-based standards] (cbrtf): Likewise.
11451 [non-C99-based standards] (expm1f): Likewise.
11452 [non-C99-based standards] (ilogbf): Likewise.
11453 [non-C99-based standards] (log1pf): Likewise.
11454 [non-C99-based standards] (logbf): Likewise.
11455 [non-C99-based standards] (nextafterf): Likewise.
11456 [non-C99-based standards] (remainderf): Likewise.
11457 [non-C99-based standards] (rintf): Likewise.
11458 [non-C99-based standards] (scalbf): Likewise.
11459 [non-C99-based standards] (copysignl): Likewise.
11460 [non-C99-based standards] (exp2l): Likewise.
11461 [non-C99-based standards] (log2l): Likewise.
11462 [non-C99-based standards] (modfl): Allow.
11463 [non-C99-based standards] (erfl): Do not allow.
11464 [non-C99-based standards] (erfcl): Likewise.
11465 [non-C99-based standards] (gammal): Likewise.
11466 [non-C99-based standards] (hypotl): Likewise.
11467 [non-C99-based standards] (j0l): Likewise.
11468 [non-C99-based standards] (j1l): Likewise.
11469 [non-C99-based standards] (jnl): Likewise.
11470 [non-C99-based standards] (lgammal): Likewise.
11471 [non-C99-based standards] (tgammal): Likewise.
11472 [non-C99-based standards] (y0l): Likewise.
11473 [non-C99-based standards] (y1l): Likewise.
11474 [non-C99-based standards] (ynl): Likewise.
11475 [non-C99-based standards] (isnanl): Likewise.
11476 [non-C99-based standards] (acoshl): Likewise.
11477 [non-C99-based standards] (asinhl): Likewise.
11478 [non-C99-based standards] (atanhl): Likewise.
11479 [non-C99-based standards] (cbrtl): Likewise.
11480 [non-C99-based standards] (expm1l): Likewise.
11481 [non-C99-based standards] (ilogbl): Likewise.
11482 [non-C99-based standards] (log1pl): Likewise.
11483 [non-C99-based standards] (logbl): Likewise.
11484 [non-C99-based standards] (nextafterl): Likewise.
11485 [non-C99-based standards] (remainderl): Likewise.
11486 [non-C99-based standards] (rintl): Likewise.
11487 [non-C99-based standards] (scalbl): Likewise.
11488 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11489 [non-C99-based standards] (FP_*): Do not allow.
11490 [C99-based standards] (FP_*): Change to
11491 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11492 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11493 allow.
11494 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11495 (SIG_ERR): Likewise.
11496 [X/Open-based standards] (SIG_HOLD): Likewise.
11497 (SIG_IGN): Likewise.
11498 (SIGABRT): Use macro-int-constant. Specify type. Require
11499 positive value.
11500 (SIGFPE): Likewise.
11501 (SIGILL): Likewise.
11502 (SIGINT): Likewise.
11503 (SIGSEGV): Likewise.
11504 (SIGTER): Likewise.
11505 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11506 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11507 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11508 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11509 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11510 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11511 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11512 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11513 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11514 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11515 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11516 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11517 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11518 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11519 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11520 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11521 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11522 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11523 [X/Open-based standards] (SIGTRAP): Likewise.
11524 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11525 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11526 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11527 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11528 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11529 allow.
11530
b9f1922d
IW
115312012-05-08 Ian Wienand <ianw@vmware.com>
11532
11533 [BZ #14080]
11534 * time/tzset.c (__tzset_parse_tz): Update default rules for
11535 daylight time changes in the Energy Policy Act of 2005.
11536
1db86e88
AJ
115372012-05-09 Andreas Jaeger <aj@suse.de>
11538
11539 [BZ #13983]
11540 * elf/ldconfig.c (parse_conf): Change string to make clear that
11541 ldconfig only issued a warning if ld.so.conf does not exist.
11542
dee4a4e3
DM
115432012-05-08 David S. Miller <davem@davemloft.net>
11544
ee0db190
DM
11545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11546 movxtod instead of popping the value on the stack.
11547
dee4a4e3
DM
11548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11549
6a43ec98
CD
115502012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11551
11552 * config.h.in: Add HAVE_ARM_PCS_VFP.
11553
05c2c961
RMG
115542012-05-08 Roland Mc Grath <roland@hack.frob.com>
11555
bcfe3a54
ST
11556 [BZ #13979]
11557 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11558 checking but the checks are disabled for any reason.
05c2c961 11559
4b30f61a
L
115602012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11561
11562 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11563 and ELF64_R_TYPE with ELFW(R_TYPE).
11564
eee2bc67
JM
115652012-05-08 Joseph Myers <joseph@codesourcery.com>
11566
7ea5391a
JM
11567 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11568 (ulimit): Likewise.
11569
eee2bc67
JM
11570 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11571 (settimeofday): Likewise.
11572
abb66a67
MF
115732012-05-08 Mike Frysinger <vapier@gentoo.org>
11574
11575 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11576 a struct th_u2 inside the union, and move tu_block/tu_code into
11577 a new th_u3 union of tu_block/tu_code inside of that. Move
11578 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11579 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11580 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11581 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11582 (th_stuff): Change to th_u1.tu_stuff.
11583 (th_data): Define.
11584 (th_msg): Change to th_u1.th_u2.tu_data.
11585
7f18b530
DM
115862012-05-07 David S. Miller <davem@davemloft.net>
11587
05760585
DM
11588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11589
7f18b530
DM
11590 [BZ #14074]
11591 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11592 (SETUP_PIC_REG): Use it.
11593 (SETUP_PIC_REG_LEAF): Use it.
11594
495fd99f
JM
115952012-05-07 Joseph Myers <joseph@codesourcery.com>
11596
11597 [BZ #13885]
11598 [BZ #13923]
11599 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11600 USE_AS_EXPM1L.
11601 (EXPL_FINITE): Likewise.
11602 (FLDLOG): Likewise.
11603 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11604 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11605 e_expl.S.
11606 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11607 USE_AS_EXPM1L.
11608 (EXPL_FINITE): Likewise.
11609 (FLDLOG): Likewise.
11610 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11611 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11612 e_expl.S.
11613 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11614 test of -max_value argument for long double.
11615 * sysdeps/i386/fpu/libm-test-ulps: Update.
11616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11617
6693d694
DM
116182012-05-06 David S. Miller <davem@davemloft.net>
11619
11620 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11621 quad soft-float symbols whose references which are compiler
11622 generated.
11623 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11624
6c23e11c
JM
116252012-05-06 Joseph Myers <joseph@codesourcery.com>
11626
d8b82cad
JM
11627 [BZ #13884]
11628 [BZ #13914]
11629 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11630 USE_AS_EXP10L.
11631 (EXPL_FINITE): Likewise.
11632 (FLDLOG): Likewise.
11633 (c0): Likewise.
11634 (c1): Likewise.
11635 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11636 Adjust comments for base varying.
11637 (__expl_finite): Change alias to EXPL_FINITE.
11638 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11639 e_expl.S.
11640 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11641 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11643 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11644 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11645 USE_AS_EXP10L.
11646 (EXPL_FINITE): Likewise.
11647 (FLDLOG): Likewise.
11648 (c0): Likewise.
11649 (c1): Likewise.
11650 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11651 Adjust comments for base varying.
11652 (__expl_finite): Change alias to EXPL_FINITE.
11653 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11654 tests for bugs.
11655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11656
6c23e11c
JM
11657 [BZ #14064]
11658 * math/libm-test.inc (check_float_internal): Correct ulp
11659 calculation for subnormal expected results.
11660
29ba805c
AJ
116612012-05-06 Andreas Jaeger <aj@suse.de>
11662
11663 * Makeconfig (+math-flags): New, set to -frounding-math.
11664 (+cflags): Add +math-flags so that all of glibc gets compiled with
11665 it.
11666
11667 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11668
7b17aeda
JM
116692012-05-05 Joseph Myers <joseph@codesourcery.com>
11670
5779f134
JM
11671 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11672 Disable one test.
11673
41498f4d
JM
11674 [BZ #13787]
11675 [BZ #13922]
11676 [BZ #14036]
11677 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11678 (__ieee754_expl): Allow for and saturate large arguments.
11679 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11680 (u_threshold): Likewise.
11681 (__exp): Call __ieee754_exp before checking for overflow and
11682 underflow.
11683 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11684 (u_threshold): Likewise.
11685 (__expf): Call __ieee754_expf before checking for overflow and
11686 underflow.
11687 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11688 (u_threshold): Likewise.
11689 (__expl): Call __ieee754_expl before checking for overflow and
11690 underflow.
11691 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11692 (__ieee754_expl): Allow for and saturate large arguments.
11693 * math/libm-test.inc (exp_test): Add another test. Do not allow
11694 missing overflow exception on overflow.
11695 (expm1_test): Do not allow missing overflow exception on overflow.
11696
6698b8bf
JM
11697 * sysdeps/i386/fpu/e_expl.c: Move to ...
11698 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11699 rather than using inline asm.
11700 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11701 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11702 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11703
7b17aeda
JM
11704 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11705 (nice): Likewise.
11706 (poll): Likewise.
11707 (signal): Likewise.
11708 (time): Likewise.
11709 (times): Likewise.
11710
f7c85819
JM
117112012-05-04 Joseph Myers <joseph@codesourcery.com>
11712
11713 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11714 sysdeps/unix/common/syscalls.list.
11715 (fchmod): Likewise.
11716 (fchown): Likewise.
11717 (ftruncate): Likewise.
11718 (getrusage): Likewise.
11719 (gettimeofday): Likewise.
11720 (setpgid): Likewise.
11721 (setregid): Likewise.
11722 (setreuid): Likewise.
11723 (sigaction): Likewise.
11724 (truncate): Likewise.
11725 (vhangup): Likewise.
11726 * sysdeps/unix/common/syscalls.list: Remove file.
11727 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11728 * sysdeps/unix/sysv/linux/Implies: Likewise.
11729
336270d0
L
117302012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11731
11732 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11734 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11735 Moved to ...
11736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11737 Here.
11738 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11739 to ...
11740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11741 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11742 to ...
11743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11744 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11745 to ...
11746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11747 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11748 to ...
11749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11750 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11751 to ...
11752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11753 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11754 to ...
11755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11756 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11757 to ...
11758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11759 Here.
11760 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11761 to ...
11762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11763 Here.
11764 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11765 to ...
11766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11767 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11768 Moved to ...
11769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11770 Here.
11771 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11772 to ...
11773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11774
d128e450
JM
117752012-05-04 Joseph Myers <joseph@codesourcery.com>
11776
fa8ee516
JM
11777 * sysdeps/unix/common/bits/dirent.h: Remove file.
11778 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11779
d128e450
JM
11780 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11781 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11782 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11783 * sysdeps/unix/bsd/isatty.c: Likewise.
11784 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11785 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11786 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11787
ff8faaf0 117882012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11789
62881be4 11790 [BZ #13563]
31dc8730
AZ
11791 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11792 long double comparison inaccuracies.
11793 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11795
6fef930c
AS
117962012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11797
11798 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11799 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11800
8f203e6c
JM
118012012-05-04 Joseph Myers <joseph@codesourcery.com>
11802
11803 [BZ #14049]
11804 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11805 nonzero digits before rounding a hex value.
11806 * stdlib/tst-strtod.c (tests): Add another test.
11807
5197d9c2
AK
118082012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11809
11810 * sysdeps/s390/fpu/libm-test-ulps: Update.
11811
f0c1dedf
AJ
118122012-05-03 Andreas Jaeger <aj@suse.de>
11813
11814 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11815 does not get optimized out.
11816 (malloc_opt_barrier): New.
11817
a65ef2ae 118182012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11819 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11820
2b942cb7 11821 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11822 intermediate file deletion.
2b942cb7 11823 (generated): Add .symlist files.
a65ef2ae 11824
54b71e02
JM
118252012-05-03 Joseph Myers <joseph@codesourcery.com>
11826
11827 [BZ #13775]
11828 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11829 Redirect under this condition.
11830 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11831 [__USE_GNU] (__dprintf_chk): Not under this condition.
11832 [__USE_GNU] (__vdprintf_chk): Likewise.
11833 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11834 under this condition.
11835 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11836 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11837 [__USE_XOPEN2K8] (vdprintf): Likewise.
11838 [__USE_GNU] (__dprintf_chk): Not under this condition.
11839 [__USE_GNU] (__vdprintf_chk): Likewise.
11840 [__USE_GNU] (dprintf): Likewise.
11841 [__USE_GNU] (vdprintf): Likewise.
11842
d3dfcc41
RM
118432012-05-03 Roland McGrath <roland@hack.frob.com>
11844
11845 * elf/Makefile (common-generated): Set this instead of generated for
11846 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11847 $(all-built-dso)-derived lists.
11848
7ac30cc5
AJ
118492012-05-03 Andreas Jaeger <aj@suse.de>
11850
0c51e550
AJ
11851 * sysdeps/i386/fpu/libm-test-ulps: Update.
11852
7ac30cc5
AJ
11853 * FAQ: Removed.
11854 * FAQ.in: Likewise.
11855 * scripts/gen-FAQ.pl: Likewise.
11856 * manual/install.texi (Installation): Point to online location of
11857 FAQ.
11858 * Makefile (files-for-dist): Remove FAQ.
11859 (FAQ): Remove.
11860
d4c2917f
AM
118612012-05-02 Allan McRae <allan@archlinux.org>
11862
11863 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11864 (LDFLAGS-reldepmod5.so): Likewise.
11865 (LDFLAGS-reldep6mod1.so): Likewise.
11866 (LDFLAGS-reldep6mod4.so): Likewise.
11867 (LDFLAGS-reldep8mod3.so): Likewise.
11868 (LDFLAGS-unload4mod1.so): Likewise.
11869 (LDFLAGS-unload4mod2.so): Likewise.
11870 (LDFLAGS-tst-initorder): Likewise.
11871 (LDFLAGS-tst-initordera2.so): Likewise.
11872 (LDFLAGS-tst-initordera3.so): Likewise.
11873 (LDFLAGS-tst-initordera4.so): Likewise.
11874 (LDFLAGS-tst-initorderb2.so): Likewise.
11875 (LDFLAGS-noload): Likewise.
11876 (LDFLAGS-next): Likewise.
11877 (LDFLAGS-order2mod1.so): Likewise.
11878 (LDFLAGS-order2mod2.so): Likewise.
11879 (LDFLAGS-tst-initorder2): Likewise.
11880 (LDFLAGS-tst-initorder2a.so): Likewise.
11881 (LDFLAGS-tst-initorder2b.so): Likewise.
11882 (LDFLAGS-tst-initorder2c.so): Likewise.
11883 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11884
d77f993f
DM
118852012-05-02 David S. Miller <davem@davemloft.net>
11886
11887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11888
171a70b4
PP
118892012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11890
11891 [BZ #14055]
11892 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11893
0be196ad
AJ
118942012-05-02 Andreas Jaeger <aj@suse.de>
11895
11896 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11897 since we manipulate rounding mode.
11898 (CPPFLAGS-test-idouble.c): Likewise.
11899 (CPPFLAGS-test-ifloat.c): Likewise.
11900 (CFLAGS-test-ldouble.c): Likewise.
11901 (CFLAGS-test-double.c): Likewise.
11902 (CFLAGS-test-float.c): Likewise.
11903 (CFLAGS-test-misc.c): Likewise.
11904 (CFLAGS-test-test-fenv.c): Likewise.
11905
4f9d04aa
AZ
119062012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11907
2b942cb7
RM
11908 [BZ #2550]
11909 [BZ #2570]
11910 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11911 comparisons to determine direction to adjust input.
4f9d04aa 11912
82a79e7d
RM
119132012-05-01 Roland McGrath <roland@hack.frob.com>
11914
f5a01ca9
RM
11915 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11916 output to the target.
11917
90fe4186
RM
11918 * scripts/localplt.awk: New file.
11919 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11920 (check-localplt-CFLAGS): Variable removed.
11921 ($(all-built-dso:=.jmprel)): New static pattern rule.
11922 (generated): Add those targets.
11923 (localplt-built-dso): New variable.
11924 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11925
11926 * elf/check-localplt.c: File removed.
11927
82397ed6
RM
11928 * scripts/check-execstack.awk: New file.
11929 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11930 (check-execstack-CFLAGS): Variable removed.
11931 ($(objpfx)check-execstack.h): Target removed.
11932 ($(objpfx)execstack-default): New target.
11933 (generated): Add that instead of check-execstack.h.
11934 ($(all-built-dso:=.phdr)): New static pattern rule.
11935 (generated): Add those targets.
11936 * elf/check-execstack.c: File removed.
11937
82a79e7d
RM
11938 * scripts/check-textrel.awk: New file.
11939 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11940 (check-textrel-CFLAGS): Variable removed.
11941 (all-built-dso): Use := to define.o
11942 ($(all-built-dso:=.dyn)): New static pattern rule.
11943 (generated): Add those targets.
11944 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11945 * config.make.in (READELF): New substituted variable.
11946 * elf/check-textrel.c: File removed.
11947
62fde54f 119482012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11949
615605c9
JM
11950 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11951 allow.
11952 * conform/data/ctype.h-data [C99-based standards] (isblank):
11953 Expect function.
11954 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11955 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11956 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11957 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11958 Specify type. Require positive value.
11959 (EILSEQ): Likewise.
11960 (ERANGE): Likewise.
11961 [ISO || POSIX] (EILSEQ): Do not expect.
11962 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11963 Specify type. Require positive value.
11964 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11965 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11966 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11967 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11968 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11969 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11970 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11971 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11972 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11973 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11974 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11975 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11976 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11977 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11978 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11979 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11980 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11981 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11982 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11983 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11984 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11985 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11986 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11987 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11988 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11989 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11990 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11991 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11992 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11993 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11994 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11995 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11996 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11997 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11998 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11999 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12000 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12001 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12002 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12003 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12004 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12005 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12006 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12007 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12008 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12009 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12010 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12011 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12012 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12013 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12014 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12015 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12016 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12017 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12018 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12019 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12020 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12021 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12022 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12023 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12024 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12025 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12026 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12027 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12028 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12029 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12030 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12031 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12032 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12033 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12034 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12035 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12036 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12037 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12038 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12039 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12040 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12041 Require >= 2.
12042 (FLT_ROUNDS): Expect as macro, not constant.
12043 (FLT_MANT_DIG): Use macro-int-constant.
12044 (DBL_MANT_DIG): Likewise.
12045 (LDBL_MANT_DIG): Likewise.
12046 (FLT_DIG): Likewise.
12047 (DBL_DIG): Likewise.
12048 (LDBL_DIG): Likewise.
12049 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12050 (DBL_MIN_EXP): Likewise.
12051 (LDBL_MIN_EXP): Likewise.
12052 (FLT_MAX_EXP): Use macro-int-constant.
12053 (DBL_MAX_EXP): Likewise.
12054 (LDBL_MAX_EXP): Likewise.
12055 (FLT_MAX_10_EXP): Likewise.
12056 (DBL_MAX_10_EXP): Likewise.
12057 (LDBL_MAX_10_EXP): Likewise.
12058 (FLT_MAX): Use macro-constant.
12059 (DBL_MAX): Likewise.
12060 (LDBL_MAX): Likewise.
12061 (FLT_EPSILON): Use macro-constant. Give upper bound.
12062 (DBL_EPSILON): Likewise.
12063 (LDBL_EPSILON): Likewise.
12064 (FLT_MIN): Likewise.
12065 (DBL_MIN): Likewise.
12066 (LDBL_MIN): Likewise.
12067 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12068 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12069 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12070 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12071 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12072 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12073 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12074 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12075 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12076 [ISO11] (FLT_TRUE_MIN): Likewise.
12077 [ISO11] (LDBL_TRUE_MIN): Likewise.
12078 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12079 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12080 (SCHAR_MIN): Use macro-int-constant. Specify type.
12081 (SCHAR_MAX): Likewise.
12082 (UCHAR_MAX): Likewise.
12083 (CHAR_MIN): Likewise.
12084 (CHAR_MAX): Likewise.
12085 (MB_LEN_MAX): Use macro-int-constant.
12086 (SHRT_MIN): Use macro-int-constant. Specify type.
12087 (SHRT_MAX): Likewise.
12088 (USHRT_MAX): Likewise.
12089 (INT_MAX): Likewise.
12090 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12091 bound negative.
12092 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12093 bound with "U".
12094 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12095 bound with "L".
12096 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12097 bound negative. Suffix upper bound with "L".
12098 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12099 bound with "UL".
12100 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12101 Specify type.
12102 [C99-based standards] (LLONG_MAX): Likewise.
12103 [C99-based standards] (ULLONG_MAX): Likewise.
12104 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12105 == 0.
12106 [ISO11] (max_align_t): Require type.
12107 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12108
c9140a62
JM
12109 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12110 from $CFLAGS, without defining away __attribute__ calls.
12111 (checknamespace): Use $CFLAGS_namespace.
12112
9af0bf29
JM
12113 * conform/conformtest.pl (@keywords): Only include C99 keywords
12114 for standards based on C99 or C11.
12115
343222a2
JM
12116 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12117 Disable tests.
12118 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12119 UNIX98]: Likewise.
12120
661f8cf0
JM
12121 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12122 usability of symbols in #if.
12123
ee74b9cb
JM
12124 * conform/conformtest.pl: If macro or constant types start
12125 "promoted:", expect the symbol to be of the following type
12126 promoted by the integer promotions.
62fde54f 12127
aafc49b3
JM
12128 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12129 in one place. Also handle "macro-constant".
12130
fefdf574
JM
12131 * conform/conformtest.pl: Only accept expected macro values with
12132 "==". Parse all "macro" lines in one place.
12133 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12134
f2d922fe
JM
12135 * conform/conformtest.pl: Handle braced types on "constant" lines
12136 instead of handling "typed-constant".
12137 * conform/data/signal.h-data: Use "constant" instead of
12138 "typed-constant".
12139
d22956c9
JM
12140 * conform/conformtest.pl: Handle "optional-" at start of lines in
12141 one place rather than duplicating several cases. Handle each
12142 format of "macro" line with initial "optional-".
12143
028e2e38
JM
12144 * conform/conformtest.pl: Only accept expected constant or
12145 optional-constant values with "==". Parse all "constant" lines in
12146 one place. Parse all "optional-constant" lines in one place.
12147 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12148 * conform/data/fmtmsg.h-data: Likewise.
12149 * conform/data/netinet/in.h-data: Likewise.
12150 * conform/data/tar.h-data: Likewise.
12151 * conform/data/limits.h-data: Use "==" form on "constant" and
12152 "optional-constant" lines.
12153
1b8f2850
JM
12154 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12155 Use -std=c99 for XOPEN2K.
12156 (@knownproblems): Remove.
12157 (newtoken): Don't check %isknown.
12158
a05a144b
JM
12159 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12160 Do not expect macro.
12161 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12162 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12163 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12164 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12165 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12166 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12167 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12168 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12169 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12170 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12171 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12172 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12173 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12174 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12175 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12176 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12177 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12178 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12179 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12180 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12181 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12182 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12183 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12184 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12185 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12186 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12187 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12188 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12189 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12190 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12191 [XPG3] (acosh): Likewise.
12192 [XPG3] (asinh): Likewise.
12193 [XPG3] (atanh): Likewise.
12194 [XPG3] (cbrt): Likewise.
12195 [XPG3] (expm1): Likewise.
12196 [XPG3] (ilogb): Likewise.
12197 [XPG3] (log1p): Likewise.
12198 [XPG3] (logb): Likewise.
12199 [XPG3] (nextafter): Likewise.
12200 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12201 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12202 [XPG3] (remainder): Likewise.
12203 [XPG3] (rint): Likewise.
12204 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12205 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12206 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12207 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12208 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12209 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12210 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12211 [UNIX98 || XOPEN2K] (scalb): Expect.
12212 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12213 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12214 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12215 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12216 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12217 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12218 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12219 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12220 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12221 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12222 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12223 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12224 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12225 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12226 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12227 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12228 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12229 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12230 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12231 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12232 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12233 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12234 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12235 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12236 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12237 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12238 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12239 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12240 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12241 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12242 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12243 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12244 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12245 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12246 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12247 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12248 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12249 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12250 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12251 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12252 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12253 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12254 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12255 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12256 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12257 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12258 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12259 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12260 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12261 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12262 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12263 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12264 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12265 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12266 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12267 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12268 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12269 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12270 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12271 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12272 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12273 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12274 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12275 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12276 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12277 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12278 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12279 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12280 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12281 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12282 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12283 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12284 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12285 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12286 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12287 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12288 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12289 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12290 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12291 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12292 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12293 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12294 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12295 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12296 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12297 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12298 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12299 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12300 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12301 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12302 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12303 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12304 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12305 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12306 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12307 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12308 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12309 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12310 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12311 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12312 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12313 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12314 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12315 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12316 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12317 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12318 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12319 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12320 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12321 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12322 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12323 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12324 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12325 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12326 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12327 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12328 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12329 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12330 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12331 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12332 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12333 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12334 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12335 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12336 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12337 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12338 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12339 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12340 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12341 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12342 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12343 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12344 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12345 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12346 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12347 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12348 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12349
73c5ebe3
JM
12350 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12351 _XOPEN_SOURCE_EXTENDED for XPG4.
12352
39c33b6c
JM
12353 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12354
62fde54f
JM
12355 * Makeconfig (localtime): Remove variable.
12356 (inst_localtime-file): Likewise.
12357
0741d64c
AS
123582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12359
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12361 Update.
12362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12363 Update.
12364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12365 Update.
12366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12367 Update.
12368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12369 Update.
12370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12371 Update.
12372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12373 Update.
12374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12375 Update.
12376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12377 Update.
12378
7cb029ee
JM
123792012-05-01 Joseph Myers <joseph@codesourcery.com>
12380
12381 [BZ #2550]
12382 [BZ #2570]
12383 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12384 comparisons to determine direction to adjust input.
12385 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12386 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12387 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12388 Likewise.
12389 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12390 Likewise.
12391 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12392 Likewise.
12393 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12394 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12395 Likewise.
12396 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12397 Likewise.
12398 * math/libm-test.inc (nexttoward_test): Add more tests.
12399
412bd966
AS
124002012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12401
12402 [BZ #14040]
12403 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12404 in version GLIBC_2.1, not GLIBC_2.0.
12405 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12406 Likewise.
12407
9568c0c2
JM
124082012-04-30 Joseph Myers <joseph@codesourcery.com>
12409
adfbc8ac
JM
12410 [BZ #13942]
12411 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12412 (1 - x) * (1 + x).
12413 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12414 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12415 * math/libm-test.inc (acos_test): Add more tests.
12416 (asin_test): Likewise.
12417 * sysdeps/i386/fpu/libm-test-ulps: Update.
12418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12419
5ba3cc69
JM
12420 [BZ #14034]
12421 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12422 of square root.
12423 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12424 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12425 * math/libm-test.inc (acos_test_tonearest): New function.
12426 (acos_test_towardzero): Likewise.
12427 (acos_test_downward): Likewise.
12428 (acos_test_upward): Likewise.
12429 (asin_test_tonearest): Likewise.
12430 (asin_test_towardzero): Likewise.
12431 (asin_test_downward): Likewise.
12432 (asin_test_upward): Likewise.
12433 (main): Call the new functions.
12434 * sysdeps/i386/fpu/libm-test-ulps: Update.
12435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12436
9568c0c2
JM
12437 [BZ #13884]
12438 [BZ #13924]
12439 * math/e_exp10.c: Include <float.h>.
12440 (__ieee754_exp10): Handle underflow here rather than multiplying
12441 large negative argument by M_LN10.
12442 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12443 of __ieee754_expf.
12444 * math/e_exp10l.c: Include <float.h>.
12445 (__ieee754_exp10l): Handle underflow here rather than multiplying
12446 large negative argument by M_LN10l.
12447 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12448 spurious overflow exception on underflow.
12449
5ac3ea17
MP
124502012-04-29 Marek Polacek <polacek@redhat.com>
12451
12452 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12453 (__fortify_function): New macro.
12454 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12455 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12456 __extern_always_inline.
12457 * libio/bits/stdio2.h: Likewise.
12458 * libio/bits/stdio.h: Likewise.
12459 * string/string.h: Likewise.
12460 * string/bits/string3.h: Likewise.
12461 * include/stdio.h: Likewise.
12462 * stdlib/bits/stdlib.h: Likewise.
12463 * stdlib/stdlib.h: Likewise.
12464 * rt/bits/mqueue2.h: Likewise.
12465 * rt/mqueue.h: Likewise.
12466 * posix/bits/unistd.h: Likewise.
12467 * posix/unistd.h: Likewise.
12468 * io/bits/poll2.h: Likewise.
12469 * io/bits/fcntl2.h: Likewise.
12470 * io/fcntl.h: Likewise.
12471 * io/sys/poll.h: Likewise.
12472 * misc/bits/syslog.h: Likewise.
12473 * misc/bits/syslog-ldbl.h: Likewise.
12474 * misc/sys/syslog.h: Likewise.
12475 * socket/bits/socket2.h: Likewise.
12476 * socket/sys/socket.h: Likewise.
12477 * debug/tst-chk1.c: Likewise.
12478 * wcsmbs/bits/wchar2.h: Likewise.
12479 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12480 * wcsmbs/wchar.h: Likewise.
12481
ecf0ebfb
AJ
124822012-04-29 Andreas Jaeger <aj@suse.de>
12483
12484 * Makerules (tests): Remove enable-check-abi protection.
12485 (check-abi-warn): Remove.
12486 (check-abi-%): Remove check-abi-warn usage.
12487
12488 * configure.in: Remove check-abi configure option.
12489 * configure: Regenerated.
12490 * config.make.in (enable-check-abi): Remove.
12491
6d5c57fa
AS
124922012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12493
24c5d07e 12494 [BZ #14033]
ded5180a
AS
12495 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12496 double functions to double *_finite functions.
12497
7e0d315d
AS
12498 [BZ #13941]
12499 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12500 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12501 LDBL_MIN_EXP.
12502 * stdio-common/Makefile (tests): Add tst-sprintf3.
12503 * stdio-common/tst-sprintf3.c: New file.
12504
6d5c57fa
AS
12505 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12506 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12507
0749ff8b
JM
125082012-04-28 Joseph Myers <joseph@codesourcery.com>
12509
12510 * conform/conformtest.pl: Remove duplicate typed-constant
12511 handling.
12512
8dbd5d7b
DM
125132012-04-28 David S. Miller <davem@davemloft.net>
12514
12515 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12516 (check-abi-%): Remove AWK script prerequisite and explicit
12517 abilist directory.
12518 (check-abi): Rewrite to just diff the symlist with the abilist.
12519 (config-tls, config-abi-config): Delete, no longer used.
12520 (update-abi-%): Remove AWK script and explicit abilist directory.
12521 (update-abi): Rewrite to simply compare and conditionally copy the
12522 symlist and the sysdep abilist file. Remove update-abi-config
12523 checks.
12524 * abilist/ld.abilist: Remove.
12525 * abilist/libBrokenLocale.abilist: Remove.
12526 * abilist/libanl.abilist: Remove.
12527 * abilist/libcrypt.abilist: Remove.
12528 * abilist/libdl.abilist: Remove.
12529 * abilist/librt.abilist: Remove.
12530 * abilist/libthread_db.abilist: Remove.
12531 * abilist/libutil.abilist: Remove.
12532 * scripts/extract-abilist.awk: Remove.
12533 * scripts/merge-abilist.awk: Remove.
12534 * sysdeps/generic/libcidn.abilist: New file.
12535 * sysdeps/generic/libnss_compat.abilist: New file.
12536 * sysdeps/generic/libnss_db.abilist: New file.
12537 * sysdeps/generic/libnss_dns.abilist: New file.
12538 * sysdeps/generic/libnss_files.abilist: New file.
12539 * sysdeps/generic/libnss_hesiod.abilist: New file.
12540 * sysdeps/generic/libnss_nis.abilist: New file.
12541 * sysdeps/generic/libnss_nisplus.abilist: New file.
12542 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12543 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12544 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12545 file.
12546 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12547 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12548 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12549 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12550 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12551 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12552 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12553 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12554 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12555 file.
12556 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12557 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12558 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12559 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12560 file.
12561 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12562 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12563 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12564 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12565 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12566 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12567 file.
12568 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12569 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12570 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12571 file.
12572 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12574 New file.
12575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12576 New file.
12577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12578 New file.
12579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12580 New file.
12581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12582 New file.
12583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12584 New file.
12585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12586 New file.
12587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12588 New file.
12589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12590 New file.
12591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12592 New file.
12593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12594 New file.
12595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12596 New file.
12597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12598 New file.
12599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12600 file.
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12602 New file.
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12604 New file.
12605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12606 file.
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12608 New file.
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12610 New file.
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12612 file.
12613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12614 New file.
12615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12616 New file.
12617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12618 New file.
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12620 New file.
12621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12622 New file.
12623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12624 New file.
12625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12627 file.
12628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12629 New file.
12630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12631 file.
12632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12633 file.
12634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12635 file.
12636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12637 file.
12638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12639 file.
12640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12641 New file.
12642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12643 file.
12644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12645 file.
12646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12647 New file.
12648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12649 file.
12650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12652 file.
12653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12654 New file.
12655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12656 file.
12657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12658 file.
12659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12660 file.
12661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12662 file.
12663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12664 file.
12665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12666 New file.
12667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12668 file.
12669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12670 file.
12671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12672 New file.
12673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12674 file.
12675 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12676 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12677 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12678 file.
12679 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12680 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12681 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12682 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12683 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12684 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12685 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12686 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12687 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12688 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12691 file.
12692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12693 New file.
12694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12695 file.
12696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12697 file.
12698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12699 file.
12700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12701 file.
12702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12703 file.
12704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12705 New file.
12706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12707 New file.
12708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12709 file.
12710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12711 New file.
12712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12713 file.
12714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12716 file.
12717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12718 New file.
12719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12720 file.
12721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12722 file.
12723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12724 file.
12725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12726 file.
12727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12728 file.
12729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12730 New file.
12731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12732 New file.
12733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12734 file.
12735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12736 New file.
12737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12738 file.
12739
41d73a1b
JM
127402012-04-28 Joseph Myers <joseph@codesourcery.com>
12741
12742 * conform/conformtest.pl: Fix typo in handling typed-constant from
12743 allow-header.
12744
28aeeda4
JM
127452012-04-27 Joseph Myers <joseph@codesourcery.com>
12746
adae8f5e
JM
12747 * README: Cut down references to pre-2.6 Linux kernels and
12748 Linuxthreads. Update lists of configurations in libc and ports
12749 and sort alphabetically. Say "or newer" with Linux kernel version
12750 requirements.
12751
28aeeda4
JM
12752 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12753
a462cb63
RA
127542012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12755
12756 [BZ #887]
12757 * math/libm-test.inc (logb_test_downward): New test to expose
12758 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12759 rounding mode.
12760
6ad3493e
JM
127612012-04-27 Joseph Myers <joseph@codesourcery.com>
12762
12763 [BZ #14027]
12764 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12765 to be done.
12766 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12767 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12768
2ce4f015
JM
127692012-04-26 Joseph Myers <joseph@codesourcery.com>
12770
5aeb141a
JM
12771 * sysdeps/unix/i386/brk.S: Remove file.
12772 * sysdeps/unix/i386/dl-brk.S: Likewise.
12773 * sysdeps/unix/i386/pipe.S: Likewise.
12774 * sysdeps/unix/i386/sigreturn.S: Likewise.
12775 * sysdeps/unix/i386/syscall.S: Likewise.
12776 * sysdeps/unix/i386/vfork.S: Likewise.
12777 * sysdeps/unix/i386/wait.S: Likewise.
12778
7143acae
JM
12779 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12780 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12781
2ce4f015
JM
12782 * configure.in (arm*-none*): Do not allow without
12783 --enable-hacker-mode.
12784 (netbsd*): Remove case setting base_os.
12785 (386bsd*): Likewise.
12786 (freebsd*): Likewise.
12787 (bsdi*): Likewise.
12788 (osf*): Likewise.
12789 (sunos*): Likewise.
12790 (ultrix*): Likewise.
12791 (newsos*): Likewise.
12792 (dynix*): Likewise.
12793 (*bsd*): Likewise.
12794 (sysv*): Likewise.
12795 (isc*): Likewise.
12796 (esix*): Likewise.
12797 (sco*): Likewise.
12798 (minix*): Likewise.
12799 (irix4*): Likewise.
12800 (irix6*): Likewise.
12801 (solaris[2-9]*): Likewise.
12802 (none): Likewise.
12803 * configure: Regenerated.
12804
0ac229c8
AZ
128052012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12806
12807 [BZ #11521]
12808 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12809 overflow or cancellation in calculating denominator.
12810 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12811 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12812 down expression to avoid unexpected rounding in newer GCCs.
12813 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12814
33f244f4
DM
128152012-04-26 David S. Miller <davem@davemloft.net>
12816
12817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12818 long-double compat symbols.
12819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12832
cfa1f3e8
DM
128332012-04-25 David S. Miller <davem@davemloft.net>
12834
12835 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12836 HWCAP_* values only after the memory barriers have been defined.
12837 (atomic_full_barrier): Define.
12838 (atomic_read_barrier): Define.
12839 (atomic_write_barrier): Define.
12840
6e236b92
SP
128412012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12842
12843 * shlib-versions: Add libgcc_s version information.
12844 * sysdeps/generic/libgcc_s.h: Remove.
12845 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12846 libgcc_s.h.
12847 * sysdeps/gnu/unwind-resume.c: Likewise.
12848 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12849
aab39a09
DM
128502012-04-25 David S. Miller <davem@davemloft.net>
12851
12852 * sysdeps/unix/sparc/brk.S: Delete.
12853 * sysdeps/unix/sparc/dl-brk.S: Delete.
12854 * sysdeps/unix/sparc/pipe.S: Delete.
12855 * sysdeps/unix/sparc/sysdep.S: Delete.
12856 * sysdeps/unix/sparc/sysdep.h: Delete.
12857 * sysdeps/unix/sparc/vfork.S: Delete.
12858 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12859 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12860 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12861 ret_ERRVAL, r0, r1, MOVE): Define.
12862 (JUMPTARGET): Remove.
12863 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12864 sysdeps/unix/sparc/sysdep.h
12865 (ENTRY, END): Remove.
12866 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12867
a3cc4f48
JM
128682012-04-25 Joseph Myers <joseph@codesourcery.com>
12869
2ed8cda2
JM
12870 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12871 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12872 -DIS_IN_build.
12873
35d76d59
JM
12874 * timezone/README: Update upstream location and email address for
12875 tzcode and tzdata.
12876 * timezone/zdump.c: Update from tzcode 2012b.
12877 * timezone/zic.c: Likewise.
12878
a3cc4f48
JM
12879 * configure.in (libc_cv_as_needed): Remove test.
12880 * configure: Regenerated.
12881 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12882 conditional definition.
12883 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12884 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12885 * config.make.in (have-as-needed): Remove variable.
12886
ceab42c3
SP
128872012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12888 Paul Pluzhnikov <ppluzhnikov@google.com>
12889
12890 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12891 strings correctly.
12892
3ce2865f
CLT
128932012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12894
12895 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12896 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12897 * sysdeps/sh/strlen.S: Likewise.
12898
f37e0d68
JM
128992012-04-24 Joseph Myers <joseph@codesourcery.com>
12900
ae186e9a
JM
12901 * sysdeps/unix/fork.S: Remove file.
12902 * sysdeps/unix/i386/fork.S: Likewise.
12903 * sysdeps/unix/sparc/fork.S: Likewise.
12904
b96914af
JM
12905 * sysdeps/unix/system.c: Remove file.
12906 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12907
f37e0d68
JM
12908 * sysdeps/unix/getegid.S: Remove file.
12909 * sysdeps/unix/geteuid.S: Likewise.
12910
87ef29ca
RM
129112012-04-24 Roland McGrath <roland@hack.frob.com>
12912
83bcd236
RM
12913 * scripts/check-localplt.awk: New file.
12914 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12915 of diff.
12916 * scripts/data/localplt-generic.data: Add a comment.
12917
87ef29ca
RM
12918 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12919 NODE when __dir_mkfile failed.
12920 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12921 Reported by Ludovic Courtès <ludo@gnu.org>.
12922
e5a6e567
AJ
129232012-04-24 Andreas Jaeger <aj@suse.de>
12924
12925 * Makerules (common-clean): Also remove gen-as-const-headers
12926 files.
12927
c1820385
JM
129282012-04-24 Joseph Myers <joseph@codesourcery.com>
12929
12930 * Makerules (native-compile): Do not change working directory for
12931 build. Use $(OUTPUT_OPTION) in command.
12932 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12933
94e02fc4
AZ
129342012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12935
12936 [BZ #13886]
12937 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12938 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12939 * math/libm-test.inc (floor_test): Add more tests.
12940 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12941
3a533ca3
JM
129422012-04-24 Joseph Myers <joseph@codesourcery.com>
12943
940ab4b3
JM
12944 * sysdeps/unix/getdents.c: Remove file.
12945 * sysdeps/unix/sysv/getdents.c: Likewise.
12946 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12947
90e037bd
JM
12948 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12949 sysdeps/unix/mman/syscalls.list.
12950 (mmap): Likewise.
12951 (mprotect): Likewise.
12952 (msync): Likewise.
12953 (munmap): Likewise.
12954 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12955 * sysdeps/unix/mman/syscalls.list: Remove.
12956 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12957
3a533ca3
JM
12958 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12959 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12960 * configure: Regenerated.
12961 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12962 $(libgcc_s_suffix).
12963 * config.make.in (libgcc_s_suffix): Remove variable.
12964
1ad743de
JM
129652012-04-23 Joseph Myers <joseph@codesourcery.com>
12966
4ad451e2
JM
12967 * sysdeps/unix/sysv/gethostname.c: Move to ...
12968 * sysdeps/posix/gethostname.c: ... here.
12969
5e37ce39
JM
12970 * sysdeps/unix/execve.S: Remove file.
12971
1ad743de
JM
12972 * sysdeps/unix/_exit.S: Remove file.
12973
4e681b5b
AJ
129742012-04-23 Andreas Jaeger <aj@suse.de>
12975
12976 [BZ #13739]
12977 * manual/Makefile: Remove make dist support, there's no
12978 need for a stand-alone documentation tar ball.
12979 (TEXI2DVI): Define always, it's not in Makeconfig.
12980 (dist): Removed.
12981 (tar-it): Removed.
12982 (edition): Removed.
12983 (glibc-doc-$(edition).tar): Removed
12984 (%.Z): Removed.
12985 (%.gz): Removed.
12986 (%.uu): Removed.
12987 (ETAGS): Remove, it's in Makeconfig.
12988 (move-if-change): Remove, it's in Makeconfig.
12989
38686a03 129902012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12991
12992 [BZ #13970]
12993 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12994 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12995 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12996 (strtod_l, strtof_l, strtold_l): Remove __wur.
12997 It is not necessarily an error to ignore strtol's return value.
12998 One can reliably look at the stored endptr to decide whether
12999 the number had valid syntax.
13000
7c0616fa
AJ
130012012-04-21 Andreas Jaeger <aj@suse.de>
13002
803cb6b7 13003 [BZ #13739]
7c0616fa
AJ
13004 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13005
b0fe253f
JM
130062012-04-21 Joseph Myers <joseph@codesourcery.com>
13007
13008 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13009 * sysdeps/unix/sysv/Versions: Remove file.
13010
8280f22d
MT
130112012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13012
13013 [BZ #13927]
13014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13015
75ce411f 130162012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13017
13018 [BZ #7064]
13019 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13020 version from __vm86.
13021
097d59fa
JM
130222012-04-20 Joseph Myers <joseph@codesourcery.com>
13023
a90f3bcb
JM
13024 * sysdeps/unix/common/lxstat.c: Remove file.
13025 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13026
edc7ea78
JM
13027 * sysdeps/unix/sysv/Makefile: Remove file.
13028
cb78c221
JM
13029 * sysdeps/unix/sysv/direct.h: Remove file.
13030
efa6a45f
JM
13031 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13032 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13033 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13034 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13035 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13036 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13037 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13038
9c9f2d0c
JM
13039 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13040
4541c83b
JM
13041 * sysdeps/unix/xmknod.c: Remove file.
13042 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13043
f5d153a0
JM
13044 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13045
aa746595
JM
13046 * sysdeps/unix/sysv/i386/time.S: Remove file.
13047
cce5905e
JM
13048 * sysdeps/unix/fxstat.c: Remove file.
13049 * sysdeps/unix/xstat.c: Likewise.
13050 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13051
37fa3841
JM
13052 * sysdeps/unix/sysv/sigaction.c: Remove file.
13053
ff1962a3
JM
13054 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13055 (sysdep_headers): Remove variable.
13056 [termio.h not in sysdep_headers] (generated): Likewise.
13057 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13058 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13059 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13060 * sysdeps/unix/sysv/tcflow.c: Likewise.
13061 * sysdeps/unix/sysv/tcflush.c: Likewise.
13062 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13063 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13064 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13065 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13066 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13067
e7740d31
JM
13068 * sysdeps/unix/siglist.c: Remove file.
13069
ee06f18b
JM
13070 * sysdeps/unix/getppid.S: Remove file.
13071
097d59fa
JM
13072 * sysdeps/unix/mkdir.c: Remove file.
13073 * sysdeps/unix/rmdir.c: Likewise.
13074
ff3d51ec
AS
130752012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13076
13077 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13078 ERR_MAX value.
13079 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13080 errlist-compat value.
13081
50f81fd7
DM
130822012-04-18 David S. Miller <davem@davemloft.net>
13083
13084 * sysdeps/generic/memcopy.h (reg_char): Delete.
13085 * debug/strcat_chk.c: Use char, not reg_char.
13086 * debug/strcpy_chk.c: Likewise.
13087 * debug/strncat_chk.c: Likewise.
13088 * debug/strncpy_chk.c: Likewise.
13089 * string/memchr.c: Likewise.
13090 * string/memrchr.c: Likewise.
13091 * string/rawmemchr.c: Likewise.
13092 * string/strcat.c: Likewise.
13093 * string/strchr.c: Likewise.
13094 * string/strchrnul.c: Likewise.
13095 * string/strcmp.c: Likewise.
13096 * string/strcpy.c: Likewise.
13097 * string/strncat.c: Likewise.
13098 * string/strncmp.c: Likewise.
13099 * string/strncpy.c: Likewise.
13100
8ff41c46
WS
131012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13102
13103 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13104 __builtin_memcopy is called when src and dest ranges are known to not
13105 overlap.
13106
6b652f46
WS
131072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13108
13109 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13110 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13111 fwd_align_merge macro call.
13112 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13113 bwd_align_merge macro call.
13114 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13115
b282631e
WS
131162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13117
13118 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13119 bwd_align_merge macros.
13120 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13121 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13122 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13123
95aa737c
DM
131242012-04-18 David S. Miller <davem@davemloft.net>
13125
13126 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13127
7a99a614
AJ
131282012-04-18 Andreas Jaeger <aj@suse.de>
13129
13130 [BZ# 6794]
13131 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13132 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13133 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13134
13135 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13136 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13137 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13138
13139 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13140 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13141 Adjust for changed ldbl-128 files.
13142
13143 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13144 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13145 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13146
e5270c23
DM
131472012-04-17 David S. Miller <davem@davemloft.net>
13148
13149 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13150
fb5e92c9
AS
131512012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13152
13153 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13154 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13155 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13156 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13157 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13158 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13159
76da7265
AZ
131602012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13161
13162 [BZ #6794]
13163 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13164 * math/libm-test.inc: Add ilogb errno and exception tests.
13165 * math/w_ilogb.c: New file: ilogb wrapper.
13166 * math/w_ilogbf.c: New file: ilogbf wrapper.
13167 * math/w_ilogbl.c: New file: ilogbl wrapper.
13168 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13169 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13170 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13171 exception being thrown with 0.0 as argument.
13172 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13173 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13174 exception being thrown with 0.0 as argument.
13175 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13176 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13177 exception being thrown with 0.0 as argument.
13178 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13179 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13180 exception being thrown with 0.0 as argument.
13181 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13182 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13183 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13184 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13185 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13186 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13187 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13188 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13189 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13190
0396e69d
PB
131912012-04-17 Petr Baudis <pasky@ucw.cz>
13192
13193 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13194 with altivec.
13195
750b5926
MP
131962012-04-16 Marek Polacek <polacek@redhat.com>
13197
13198 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13199
751728a1
MP
132002012-04-16 Marek Polacek <polacek@redhat.com>
13201
13202 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13203 operands of fdivp instruction.
13204
34a27407
L
132052012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13206
13207 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13208 * elf/tst-auditmod3b.c: Likewise.
13209 * elf/tst-auditmod4b.c: Likewise.
13210 * elf/tst-auditmod5b.c: Likewise.
13211 * elf/tst-auditmod6b.c: Likewise.
13212 * elf/tst-auditmod6c.c: Likewise.
13213 * elf/tst-auditmod7b.c: Likewise.
13214 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13215 * sysdeps/x86_64/preconfigure.in: Likewise.
13216 * sysdeps/x86_64/preconfigure: Regenerated.
13217
7e73e17d
L
132182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13219
13220 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13221 __ILP32__.
13222
c7a6ab72
AB
132232012-04-13 Antoine Balestrat <merkil33@gmail.com>
13224
13225 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13226 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13227
a9e8e0e0
CL
132282012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13229
13230 [BZ #13973]
13231 * locale/iso-639.def: Fix gl language name. Spotted by
13232 Yaron Shahrabani.
13233
ec98af7d
RM
132342012-04-12 Roland McGrath <roland@hack.frob.com>
13235
13236 [BZ #2074]
13237 * libio/libio.h (__io_write_fn): Update comment.
13238
247c3ede
PB
132392012-04-12 Petr Baudis <pasky@ucw.cz>
13240
13241 [BZ #2074]
13242 * stdio.texi (Hook Functions): The user provided writer function
13243 is not allowed to return -1.
13244
55939d6d
DM
132452012-04-11 David S. Miller <davem@davemloft.net>
13246
13247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13248
90020f5a
MF
132492012-04-11 Mike Frysinger <vapier@gentoo.org>
13250
13251 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13252 Add a leading slash to rtkaio.
13253
288f9098
JM
132542012-04-11 Jim Meyering <meyering@redhat.com>
13255
90020f5a
MF
13256 [BZ #11959]
13257 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13258 It is not necessarily an error to ignore fwrite's return
13259 value. One can reliably use ferror to test for errors after
13260 the fact.
288f9098 13261
4be2b570
L
132622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13263
13264 * bits/types.h (__snseconds_t): New type.
13265 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13266
13267 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13269 (__SNSECONDS_T_TYPE): Likewise.
13270 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13271 (__SNSECONDS_T_TYPE): Likewise.
13272 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13273 (__SNSECONDS_T_TYPE): Likewise.
13274
288f9098 132752012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13276
13277 [BZ #2636]
13278 * manual/time.texi (Processor Time): Return type of times is
13279 elapsed real time since an arbitrary point in the past.
13280 (CPU Time): Move CLK_TCK from here...
13281 (Processor Time): ...to here. Correct description.
13282 * manual/conf.texi (Constants for Sysconf): Correct description of
13283 _SC_CLK_TCK.
13284
d7dd4413
DM
132852012-04-10 David S. Miller <davem@davemloft.net>
13286
13287 [BZ #13967]
13288 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13289 where the is a gap between DT_REL(A) and DT_JMPREL.
13290
b46068fc
L
132912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13292
13293 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13294 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13295 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13296
73d65cc3
SP
132972012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13298
13299 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13300 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13301 (dl_main): Handle --inhibit-cache.
13302 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13303 _dl_inhibit_cache.
13304 * elf/dl-load.c (_dl_map_object): Use it.
13305 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13306
bcc8d661
JM
133072012-04-09 Joseph Myers <joseph@codesourcery.com>
13308
8f9a2fae
JM
13309 [BZ #13872]
13310 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13311 (__ieee754_powl): Saturate large exponents rather than testing for
13312 overflow of y*log2(x).
13313 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13314 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13315 exceptions.
13316
bcc8d661
JM
13317 [BZ #11521]
13318 * math/s_ctan.c: Include <float.h>.
13319 (__ctan): Avoid internal overflow or cancellation in calculating
13320 denominator.
13321 * math/s_ctanf.c: Likewise.
13322 * math/s_ctanl.c: Likewise.
13323 * math/s_ctanh.c: Likewise.
13324 * math/s_ctanhf.c: Likewise.
13325 * math/s_ctanhl.c: Likewise.
13326 * math/libm-test.inc (ctan_test): Add more tests.
13327 (ctanh_test): Likewise.
13328 * sysdeps/i386/fpu/libm-test-ulps: Update.
13329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13330
823fbbb4
AJ
133312012-04-09 Andreas Jaeger <aj@suse.de>
13332
03879793
AJ
13333 [BZ #6894]
13334 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13335 is an optional BSD extension.
13336
823fbbb4
AJ
13337 [BZ #10254]
13338 * manual/stdio.texi (Opening Streams): Document additional fopen
13339 parameters.
13340
8de131cb
RM
133412012-04-09 Roland McGrath <roland@hack.frob.com>
13342
13343 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13344 %eax without telling the compiler.
13345
c0ed9d7d
CD
133462012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13347
13348 [BZ # 13963]
13349 * manual/install.texi: Use sourceware.org.
13350
c483f6b4
JM
133512012-04-09 Joseph Myers <joseph@codesourcery.com>
13352
d7dd9453
JM
13353 [BZ #13873]
13354 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13355 (__ieee754_pow): Generate overflow and underflow using huge*huge
13356 and tiny*tiny rather than just returning constant infinity or zero
13357 for large exponents.
13358 * math/libm-test.inc (pow_test): Require overflow exceptions for
13359 applicable cases of large exponents.
13360
c483f6b4
JM
13361 [BZ #706]
13362 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13363 (__ieee754_pow): Use iterative multiplication algorithm only for
13364 integer exponents with absolute value below 1024. Check for odd
13365 integer exponents when using algorithm for real exponents.
13366 * math/libm-test.inc (pow_test): Add more tests.
13367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13368
d2de7579
JM
133692012-04-08 Joseph Myers <joseph@codesourcery.com>
13370
13371 [BZ #13705]
13372 * math/libm-test.inc (exp_test): Do not allow overflow exception
13373 on underflow test.
13374
f77f1232
AJ
133752012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13376
13377 [BZ #13705]
13378 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13379 instead of __kernel_standard_f.
13380
3884932b
MF
133812012-04-08 Mike Frysinger <vapier@gentoo.org>
13382
13383 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13384 * sysdeps/x86_64/memset_chk.S: Likewise.
13385
54472e9c
AJ
133862012-04-08 Andreas Jaeger <aj@suse.de>
13387
6ab0fbfc
AJ
13388 [BZ #10153]
13389 * manual/startup.texi (Environment Access): Describe return value
13390 for putenv and setenv.
13391
61efba8c
AJ
13392 [BZ #6895]
13393 * manual/filesys.texi (Directory Entries): Add description for
13394 DT_LNK.
13395
95c3f29a
AJ
13396 [BZ #6890]
13397 * manual/filesys.texi (Directory Entries): Clarify that it's file
13398 system not operating system in the description of DT_UNKNOWN.
13399
54472e9c
AJ
13400 [BZ #6578]
13401 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13402
624254b1
SC
134032012-04-08 Stephen Compall <s11@member.fsf.org>
13404
13405 [BZ #6649]
13406 * manual/llio.texi (Opening and Closing Files): Add cross
13407 reference to explain mode argument.
13408
1e4920e0
MF
134092012-04-07 Mike Frysinger <vapier@gentoo.org>
13410
13411 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13412 * sysdeps/x86_64/memset_chk.S: Likewise.
13413
5ed848f3
DM
134142012-04-07 David S. Miller <davem@davemloft.net>
13415
13416 * elf/elf.h (R_SPARC_WDISP10): Define.
13417 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13418 R_SPARC_SIZE32.
13419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13420 R_SPARC_SIZE64 and R_SPARC_H34.
13421
96154cd8
CD
134222012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13423
13424 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13425 conditions and remove no longer applicable assertion.
13426
9904dc47
L
134272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13428
13429 * bits/byteswap.h: Include <features.h>.
13430 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13431 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13432
f8887d0a
L
134332012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13434
13435 * bits/byteswap.h (__bswap_16): Removed.
13436 Include <bits/byteswap-16.h> to get __bswap_16.
13437 * sysdeps/i386/bits/byteswap.h: Likewise.
13438 * sysdeps/s390/bits/byteswap.h: Likewise.
13439 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13440 * bits/byteswap-16.h: New file.
13441 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13442 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13443 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13444 * string/Makefile (headers): Add bits/byteswap-16.h.
13445
62470f60
PP
134462012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13447
13448 [BZ #13895]
13449 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13450 extra indirection.
13451 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13452 * nss/tst-nss-static.c: New.
13453
4dad7bab
RM
134542012-04-06 Robert Millan <rmh@gnu.org>
13455
13456 [BZ #6486]
13457 * manual/llio.texi (File Position Primitive): lseek
13458 refers to WHENCE when it really means OFFSET.
13459
e9142a17
AJ
134602012-04-06 Andreas Jaeger <aj@suse.de>
13461
2c040eff
AJ
13462 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13463 strncmp declarations.
13464
e9142a17
AJ
13465 * abilist/libc.abilist: Add __poll and __ppoll.
13466
ff9f1c5f
DM
134672012-04-05 David S. Miller <davem@davemloft.net>
13468
dcd2ae90
DM
13469 * scripts/check-local-headers.sh: Accept a host triplet in the
13470 path matched by the exclude regexp.
13471
993eb054
DM
13472 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13473 definition.
13474 * sysdeps/powerpc/powerpc32/dl-machine.h
13475 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13476 * sysdeps/s390/s390-32/dl-machine.h
13477 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13478 * sysdeps/sparc/sparc32/dl-machine.h
13479 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13480 * sysdeps/sparc/sparc64/dl-machine.h
13481 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13482
ff9f1c5f
DM
13483 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13484 lazy binding.
48e2e132 13485 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13486 undefined symbol errors.
13487
48e2e132 13488 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13489 DT_NEEDED entries.
13490
e80d6f94
MM
134912012-04-05 Michael Matz <matz@suse.de>
13492
13493 [BZ #13592]
13494 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13495
349fa79f
AJ
134962012-04-05 Andreas Jaeger <aj@suse.de>
13497
13498 [BZ #13908]
13499 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13500 comment.
13501
f402708f
KK
135022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13503
13504 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13505 which ROUND is no valid rounding mode.
13506
2ecccfc9
KK
135072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13508
13509 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13510 read again.
13511 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13512
8a53f50f
KK
135132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13514
13515 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13516 an exception using FPU order intentionally.
13517
135182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13519
13520 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13521 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13522 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13523 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13524
d653abb7
SJ
135252012-04-05 Simon Josefsson <simon@josefsson.org>
13526
13527 [BZ #12340]
13528 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13529 EINVAL when BUFLEN is too smal.
13530
c3b1bf7d
TS
135312012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13532
13533 [BZ #13553]
13534 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13535 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13536
b1aa60f3
AJ
135372012-04-03 Andreas Jaeger <aj@suse.de>
13538
c3b1bf7d 13539 [BZ #13938]
67f60a26
AJ
13540 * manual/setjmp.texi (System V contexts): Fix sentence.
13541
b1aa60f3
AJ
13542 [BZ #13926]
13543 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13544 New macro for this case.
13545 [!__GNUC__] (__bswap_64): New inline function for this case.
13546 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13547 * bits/byteswap.h: Likewise.
13548 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13549 ull, guard with __GLIBC_HAVE_LONG_LONG.
13550
13551 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13552 __GLIBC_HAVE_LONG_LONG.
13553
13554 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13555 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13556
39c59c35
TMQMF
135572012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13558
13559 [BZ #13691]
13560 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13561 inptr and inend, rather than using last_ch.
13562
135ffda8
DM
135632012-04-02 David S. Miller <davem@davemloft.net>
13564
13565 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13566 * stdio-common/printf-parse.h (read_int): Change return type to
13567 'int', return -1 on INT_MAX overflow.
13568 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13569 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13570 overflows INT_MAX. Check for overflow of in-format-string precision
13571 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13572 SIZE_MAX not INT_MAX for integer overflow test.
13573 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13574 skip the construct in the format string but do not record anything.
13575 * stdio-common/bug22.c: Adjust to test both width/prevision
13576 INT_MAX overflow as well as total length INT_MAX overflow. Check
13577 explicitly for proper errno values.
13578
228c019e
TS
135792012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13580
302cadd3
TS
13581 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13582 CHAR_MAX.
13583 * string/test-strcmp.c [! WIDE]: Likewise.
13584 * time/tst-mktime2.c: Likewise for INT_MAX.
13585 * string/test-string.h: #include <sys/param.h> for MIN.
13586
228c019e
TS
13587 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13588 * sysdeps/i386/init-first.c (init): Likewise.
13589 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13590 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13591 * sysdeps/sh/init-first.c (init): Likewise.
13592
cfa633f5
UD
135932012-04-01 Ulrich Drepper <drepper@gmail.com>
13594
13595 * po/ru.po: Update from translation team.
d1635ef8 13596 * po/vi.po: Likewise.
cfa633f5 13597
6cd0a5ea
SP
135982012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13599
13600 * resolv/nss_dns/dns-host.c: Merge copyright years.
13601
4b43400f
LD
136022012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13603
13604 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13605 Optimize memcpy with prefetch if
13606 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13607 src, dst pointers have unequal 16 byte alignments.
13608
48c41d04
SP
136092012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13610
13611 [BZ #13928]
13612 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13613 from a CNAME entry and return the minimum ttl for the query.
13614 (gaih_getanswer_slice): Likewise.
13615
b8dc394d
JL
136162012-03-30 Jeff Law <law@redhat.com>
13617
13618 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13619 due to long keys.
13620 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13621 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13622
2f5a5ed0
JL
13623 * resolv/nss_dns/dns-host.c: Update copyright year.
13624
1d39e359
UD
136252012-03-30 Ulrich Drepper <drepper@gmail.com>
13626
c030f70c 13627 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13628 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13629
1d39e359
UD
13630 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13631 comments for sendmmsg.
13632
136332012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13634
13635 [BZ #13691]
13636 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13637 with only 1 character between 0x0041 and 0x01b0.
13638 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13639 * wcsmbs/tst-mbsnrtowcs.c: New file.
13640
20fde227
DM
136412012-03-29 David S. Miller <davem@davemloft.net>
13642
13643 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13644 small copies by hand.
13645
984a4237
JL
136462012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13647
13648 [BZ #13761]
13649 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13650 _nss_compat_initgroups_dyn): Fall back to malloc/free
13651 for large group memberships.
13652
18c9d62b
DM
136532012-03-28 David S. Miller <davem@davemloft.net>
13654
88d85d4f
DM
13655 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13656 that branches into memcpy.
13657 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13658 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13659 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13660 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13661 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13662 bits.
13663 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13664 implementation too.
13665 * sysdeps/sparc/mempcpy.S: New file.
13666
e5aa83e1
DM
13667 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13668 the IFUNC routine in the libc case.
13669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13670
88570753
DM
13671 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13672 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13673 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13674 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13675 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13676 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13677 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13678 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13679
249d7567
DM
13680 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13681 loop to 256 bytes instead of 64 bytes and fix test signedness.
13682
18c9d62b
DM
13683 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13684 * sysdeps/sparc/sparc32/Makefile: rather than here...
13685 * sysdeps/sparc/sparc64/Makefile: and here.
13686
05f3d1f6
UD
136872012-03-28 Ulrich Drepper <drepper@gmail.com>
13688
13689 * malloc/mallocbug.c: Avoid warnings about unused variables.
13690
86ae07a8
JL
136912012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13692
13693 [BZ #13760]
13694 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13695 in the right place. Discard and retry query if response is
13696 larger than input buffer size.
13697
41bf21a1
JM
136982012-03-28 Joseph Myers <joseph@codesourcery.com>
13699
d6270972
JM
13700 [BZ #369]
13701 [BZ #2678]
13702 [BZ #3866]
13703 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13704 x for large integer exponent.
13705 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13706 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13707 sign of result as needed afterwards.
13708 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13709 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13710 result for underflowing pow the same as for overflow.
13711 (__kernel_standard_l): Handle powl overflow and underflow here
13712 rather than calling __kernel_standard.
13713 * math/libm-test.inc (pow_test): Add more tests.
13714
414fca03 13715 [BZ #3868]
41bf21a1
JM
13716 [BZ #13879]
13717 [BZ #13910]
13718 [BZ #13911]
13719 [BZ #13912]
13720 [BZ #13913]
13721 [BZ #13915]
13722 [BZ #13916]
13723 [BZ #13917]
13724 [BZ #13918]
13725 [BZ #13919]
13726 [BZ #13920]
13727 [BZ #13921]
13728 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13729 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13730 (__kernel_standard_l): New function.
13731 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13732 __kernel_standard.
13733 * math/w_acosl.c (__acosl): Likewise.
13734 * math/w_asinl.c (__asinl): Likewise.
13735 * math/w_atan2l.c (__atan2l): Likewise.
13736 * math/w_atanhl.c (__atanhl): Likewise.
13737 * math/w_coshl.c (__coshl): Likewise.
13738 * math/w_exp10l.c (__exp10l): Likewise.
13739 * math/w_exp2l.c (__exp2l): Likewise.
13740 * math/w_fmodl.c (__fmodl): Likewise.
13741 * math/w_hypotl.c (__hypotl): Likewise.
13742 * math/w_j0l.c (__j0l, __y0l): Likewise.
13743 * math/w_j1l.c (__j1l, __y1l): Likewise.
13744 * math/w_jnl.c (__jnl, __ynl): Likewise.
13745 * math/w_lgammal.c (__lgammal): Likewise.
13746 * math/w_log10l.c (__log10l): Likewise.
13747 * math/w_log2l.c (__log2l): Likewise.
13748 * math/w_logl.c (__logl): Likewise.
13749 * math/w_powl.c (__powl): Likewise.
13750 * math/w_remainderl.c (__remainderl): Likewise.
13751 * math/w_scalbl.c (sysv_scalbl): Likewise.
13752 * math/w_sinhl.c (__sinhl): Likewise.
13753 * math/w_sqrtl.c (__sqrtl): Likewise.
13754 * math/w_tgammal.c (__tgammal): Likewise.
13755 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13756 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13757 * math/libm-test.inc (acos_test): Add more tests.
13758 (acosh_test): Likewise.
13759 (asin_test): Likewise.
13760 (atanh_test): Likewise.
13761 (exp_test): Likewise.
13762 (exp10_test): Likewise.
13763 (exp2_test): Likewise.
13764 (expm1_test): Likewise.
13765 (lgamma_test): Likewise.
13766 (log_test): Likewise.
13767 (log10_test): Likewise.
13768 (log1p_test): Likewise.
13769 (log2_test): Likewise.
13770 (pow_test): Do not allow some spurious overflow exceptions.
13771 (sqrt_test): Add more tests.
13772 (tgamma_test): Likewise.
13773 (y0_test): Likewise.
13774 (y1_test): Likewise.
13775 (yn_test): Likewise.
13776
dd62fda6
AB
137772012-03-27 Anton Blanchard <anton@samba.org>
13778
13779 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13780 MAP_HUGETLB.
13781 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13782 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13783 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13784
1e3cdfda
AJ
137852012-03-27 David S. Miller <davem@davemloft.net>
13786
b855ab85
DM
13787 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13788
1e3cdfda
AJ
13789 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13790 have-as-vis3 check.
13791
137922012-03-27 Andreas Jaeger <aj@suse.de>
13793
13794 * sysdeps/x86_64/elf/configure.in: Moved to ...
13795 * sysdeps/x86_64/configure.in: ... here.
13796 * sysdeps/x86_64/elf/start.S: Moved to ...
13797 * sysdeps/x86_64/start.S: ... here.
13798 * sysdeps/x86_64/elf/configure: Delete.
13799
13800 * sysdeps/x86_64/configure.in: Merge contents from
13801 sysdeps/i386/configure.in (without i686 check).
13802
13803 * sysdeps/i386/elf/Versions: Merge into ...
13804 * sysdeps/i386/Versions: ... this.
13805 * sysdeps/i386/elf/Versions: Delete file.
13806 * sysdeps/i386/elf/start.S: Moved to ...
13807 * sysdeps/i386/start.S: ...here.
13808 * sysdeps/i386/elf/configure.in: Merge into...
13809 * sysdeps/i386/configure.in: ...here.
13810 * sysdeps/i386/elf/configure.in: Delete file.
13811 * sysdeps/i386/elf/configure: Delete file.
13812
13813 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13814 * debug/backtracesyms.c: ... here.
13815 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13816 * debug/backtracesymsfd.c: ... here.
13817 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13818 * sysdeps/generic/ifunc-sel.h: ... here.
13819
13820 * sysdeps/unix/i386/start.c: Delete file.
13821 * sysdeps/unix/sparc/start.c: Delete file.
13822 * sysdeps/unix/start.c: Delete file.
13823
13824 * sysdeps/sh/elf/configure.in: Moved to ...
13825 * sysdeps/sh/configure.in: ... here.
13826 * sysdeps/sh/elf/start.S: Moved to ...
13827 * sysdeps/sh/start.S: ... here.
13828 * sysdeps/sh/elf/configure: Delete file.
13829
13830 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13831 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13832 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13833 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13834 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13835 * sysdeps/powerpc/powerpc64/start.S: here.
13836 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13837 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13838 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13839 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13840 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13841
13842 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13843 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13844 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13845 * sysdeps/powerpc/powerpc32/start.S: ... here.
13846 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13847 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13848 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13849
13850 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13851 * sysdeps/powerpc/ifunc-sel.h: ... here.
13852 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13853 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13854
13855 * sysdeps/sparc/elf/configure.in: Moved to ...
13856 * sysdeps/sparc/configure.in: ... here.
13857 * sysdeps/sparc/elf/configure: Delete file.
13858 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13859 * sysdeps/sparc/sparc32/start.S: ... here.
13860 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13861 * sysdeps/sparc/sparc64/start.S: ... here.
13862 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13863 * sysdeps/sparc/sparc32/Makefile: ... this.
13864 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13865 * sysdeps/sparc/sparc64/Makefile: ... this.
13866
13867 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13868 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13869 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13870 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13871 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13872 * sysdeps/s390/s390-32/setjmp.S: ... here.
13873 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13874 * sysdeps/s390/s390-32/configure.in: ... here.
13875 * sysdeps/s390/s390-32/elf/configure: Delete file.
13876 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13877 * sysdeps/s390/s390-32/start.S: ... here.
13878
13879 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13880 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13881 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13882 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13883 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13884 * sysdeps/s390/s390-64/setjmp.S: ... here.
13885 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13886 * sysdeps/s390/s390-64/configure.in: ... here
13887 * sysdeps/s390/s390-64/elf/configure: Delete file.
13888 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13889 * sysdeps/s390/s390-64/start.S: ... here.
13890 * sysdeps/s390/s390-64/elf/configure: Delete.
13891
13892 * configure.in: Remove support for elf directories in sysdeps.
13893
13894 * configure: Regenerated.
13895 * sysdeps/i386/configure: Regenerated.
13896 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13897 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13898 * sysdeps/s390/s390-32/configure: Regenerated.
13899 * sysdeps/s390/s390-64/configure: Regenerated.
13900 * sysdeps/sh/configure: Regenerated.
13901 * sysdeps/sparc/configure: Regenerated.
13902 * sysdeps/x86_64/configure: Regenerated.
13903
a3f61311
AS
139042012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13905
c876e002
AS
13906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13907
a3f61311
AS
13908 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13909 denormal result into account.
13910
ac4c54f0
RM
139112012-03-25 Roland McGrath <roland@hack.frob.com>
13912
13913 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13914 Reported by Allan McRae <allan@archlinux.org>.
13915
6a9b9c02
JL
139162012-03-23 Jeff Law <law@redhat.com>
13917
13918 * nss/getnssent.c (__nss_getent): Fix typo.
13919
4c42a0c1
DM
139202012-03-23 David S. Miller <davem@davemloft.net>
13921
13922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13923
1532c7ac
L
139242012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13925
13926 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13927 to pad to uint64_t for each field.
13928 (dl_tls_index): Replace unsigned long with uint64_t.
13929
3ff42526
PP
139302012-03-23 Daniel Jacobowitz <dmj@google.com>
13931 Paul Pluzhnikov <ppluzhnikov@google.com>
13932
13933 [BZ #6528]
13934 * grp/Makefile (otherlibs): Don't set it.
13935 * inet/Makefile (otherlibs): Likewise.
13936 * login/Makefile (otherlibs): Likewise.
13937 * nscd/Makefile (otherlibs): Likewise.
13938 * posix/Makefile (otherlibs): Likewise.
13939 * pwd/Makefile (otherlibs): Likewise.
13940 * rt/Makefile (otherlibs): Likewise.
13941 * sunrpc/Makefile (otherlibs): Likewise.
13942 * nss/Makefile (otherlibs): Likewise.
13943 Add libnss_files to routines and static-only-routines.
13944 ($(objpfx)getent): Remove rule.
13945 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13946 static-only-routines.
13947
7c69cd14
JM
139482012-03-22 Joseph Myers <joseph@codesourcery.com>
13949
13950 [BZ #13892]
13951 * math/s_cexp.c: Include <float.h>.
13952 (__cexp): Handle exp result overflowing not necessarily
13953 overflowing both real and imaginary parts of result.
13954 * math/s_cexpf.c: Likewise.
13955 * math/s_cexpl.c: Likewise.
13956 * math/libm-test.inc (cexp_test): Add more tests.
13957 * sysdeps/i386/fpu/libm-test-ulps: Update.
13958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13959
81b035fe
L
139602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13961
13962 * include/link.h (ELFW): New macro.
13963 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13964 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13965
1da7940c
L
139662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13967
13968 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13969 with uint64_t.
13970
b749dbb9
L
139712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13972
13973 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13974 declaration.
13975 (struct La_x32_retval): Likewise.
13976
2ff87f3f
L
139772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13978
13979 * sysdeps/x86_64/preconfigure.in: New file.
13980 * sysdeps/x86_64/preconfigure: New generated file.
13981
c0df8e69
JM
139822012-03-22 Joseph Myers <joseph@codesourcery.com>
13983
48e44791
JM
13984 [BZ #13824]
13985 * math/e_exp2l.c: Include <float.h>.
13986 (__ieee754_exp2l): Handle overflow and underflow cases
13987 separately. Only pass fractional part of argument to
13988 __ieee754_expl.
13989 * math/libm-test.inc (exp2_test): Add more tests.
13990
c0df8e69
JM
13991 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13992 negating x to take absolute value.
13993 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13994 Likewise.
13995 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13996 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13997 Likewise.
13998 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13999 computing low part if x was negated.
14000 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14001
c8e43ba7
L
140022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14003
14004 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14005 la_x32_gnu_pltexit.
14006 (pltexit): Cast int_retval to ptrdiff_t.
14007 * elf/tst-auditmod3b.c: Likewise.
14008 * elf/tst-auditmod4b.c: Likewise.
14009 * elf/tst-auditmod5b.c: Likewise.
14010 * elf/tst-auditmod6b.c: Likewise.
14011 * elf/tst-auditmod6c.c: Likewise.
14012 * elf/tst-auditmod7b.c: Likewise.
14013
14014 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14015 and x32_gnu_pltexit.
14016
14017 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14018 __ELF_NATIVE_CLASS.
14019 (La_x32_regs): New macro.
14020 (La_x32_retval): Likewise.
14021 (la_x32_gnu_pltenter): New function prototype.
14022 (la_x32_gnu_pltexit): Likewise.
14023
7998fa78
AS
140242012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14025
dcb33988
AS
14026 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14027 exponent.
14028
233fc563
AS
14029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14030
7998fa78
AS
14031 * configure.in (libc_cv_cc_nofma): Check for option to disable
14032 generation of FMA instructions.
14033 * configure: Regenerate.
14034 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14035 * sysdeps/ieee754/dbl-64/Makefile: New file.
14036 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14037 Remove brandred-fma4.
14038 (CFLAGS-brandred-fma4.c): Remove.
14039 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14040 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14041 define.
14042 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14043 define.
14044
8e95c99a
L
140452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14046
14047 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14048 LLONG_MAX != LONG_MAX.
14049 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14050 (_fitoa_word): Likewise.
14051 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14052 LLONG_MAX != LONG_MAX.
14053 * stdio-common/_itowa.h: Include <_itoa.h>.
14054 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14055 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14056 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14057 only if not defined.
14058 (_ITOA_WORD_TYPE): Likewise.
14059 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14060 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14061
6f4db457
DM
140622012-03-21 David S. Miller <davem@davemloft.net>
14063
14064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14065
7785fe5a
L
140662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14067
14068 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14069 of x86_64 when setting libc_cv_slibdir, libdir and
14070 libc_cv_localedir.
14071 * sysdeps/unix/sysv/linux/configure: Regenerated.
14072
4535cd55
JM
140732012-03-21 Joseph Myers <joseph@codesourcery.com>
14074
14075 * manual/lang.texi (Old Varargs): Remove section.
14076 (How Variadic): Update menu.
14077 (va_start): Do not mention varargs.h.
14078
17228132
TS
140792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14080 Joseph Myers <joseph@codesourcery.com>
14081
14082 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14083 link test.
14084 * configure: Regenerated.
14085
8149f976
TS
140862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14087
05f3d1f6
UD
14088 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14089 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14090 conformtest.pl
8149f976 14091
1a4ac776
JM
140922012-03-21 Joseph Myers <joseph@codesourcery.com>
14093
be22ce65
JM
14094 * NOTES: Remove.
14095 * Makefile (files-for-dist): Remove NOTES.
14096 (NOTES): Remove rule.
14097 * README: Don't refer to NOTES.
14098 * manual/creature.texi: Don't include macros.texi.
14099 * manual/intro.texi (creature.texi): Remove comment referring to
14100 NOTES.
14101
40b601fb
JM
14102 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14103 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14104 * configure: Regenerated.
14105 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14106 LIBC_TRY_CC_OPTION.
14107 (libc_cv_as_i686): Likewise.
14108 (libc_cv_cc_avx): Likewise.
14109 (libc_cv_cc_sse2avx): Likewise.
14110 (libc_cv_cc_fma4): Likewise.
14111 (libc_cv_cc_novzeroupper): Likewise.
14112 * sysdeps/i386/configure: Regenerated.
14113
1a4ac776
JM
14114 [BZ #13883]
14115 * sysdeps/i386/fpu/s_cexp.S: Remove.
14116 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14117 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14118 * math/libm-test.inc (cexp_test): Add more tests.
14119 * sysdeps/i386/fpu/libm-test-ulps: Update.
14120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14121
a458e7fe
AM
141222012-03-21 Allan McRae <allan@archlinux.org>
14123
14124 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14125
0cb7efc5
JM
141262012-03-21 Joseph Myers <joseph@codesourcery.com>
14127
14128 [BZ #13871]
14129 * math/w_exp2.c: Do not include <float.h>.
14130 (o_threshold, u_threshold): Remove.
14131 (__exp2): Calculate result before checking finiteness and calling
14132 __kernel_standard.
14133 * math/w_exp2f.c: Likewise.
14134 * math/w_exp2l.c: Likewise.
14135 * math/libm-test.inc (exp2_test): Require overflow exception for
14136 1e6 input.
2460d3aa
JM
14137
14138 [BZ #3866]
14139 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14140 range of signed 64-bit integers before using fistpll. Remove
14141 checks for whether integers fit in mantissa bits.
14142 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14143 the range of signed 32-bit integers before using fistpl. Remove
14144 checks for whether integers fit in mantissa bits.
14145 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14146 (__ieee754_powl): Test for y outside the range of signed 64-bit
14147 integers before using fistpll. Reduce 64-bit values to 63-bit
14148 ones as needed.
14149 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14150 divide-by-zero is raised for zero to large negative powers.
14151 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14152 (__ieee754_powl): Test for y outside the range of signed 64-bit
14153 integers before using fistpll. Reduce 64-bit values to 63-bit
14154 ones as needed.
14155 * math/libm-test.inc (pow_test): Add more tests.
14156
eb96ffb0
L
141572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14158
14159 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14160 <stdio-common/_itoa.h>.
14161 * debug/segfault.c: Likewise.
14162 * elf/dl-cache.c: Likewise.
14163 * elf/dl-minimal.c: Likewise.
14164 * elf/dl-misc.c: Likewise.
14165 * elf/dl-sysdep.c: Likewise.
14166 * elf/dl-version.c: Likewise.
14167 * elf/rtld.c: Likewise.
14168 * hurd/hurdsock.c: Likewise.
14169 * hurd/lookup-retry.c: Likewise.
14170 * malloc/malloc.c: Likewise.
14171 * malloc/mtrace.c: Likewise.
14172 * nscd/nscd_getgr_r.c: Likewise.
14173 * nscd/nscd_getpw_r.c: Likewise.
14174 * nscd/nscd_getserv_r.c: Likewise.
14175 * posix/getopt_init.c: Likewise.
14176 * posix/wordexp.c: Likewise.
14177 * stdio-common/_itoa.c: Likewise.
14178 * stdio-common/printf_fphex.c: Likewise.
14179 * stdio-common/vfprintf.c: Likewise.
14180 * string/_strerror.c: Likewise.
14181 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14182 * sysdeps/i386/i686/hp-timing.h: Likewise.
14183 * sysdeps/mach/_strerror.c: Likewise.
14184 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14185 * sysdeps/mach/hurd/sethostid.c: Likewise.
14186 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14187 * sysdeps/mach/xpg-strerror.c: Likewise.
14188 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14189 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14190 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14191 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14192 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14193 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14194 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14195 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14196 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14197 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14198 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14199 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14200 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14201 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14202 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14203 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14204 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14205 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14206 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14207 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14208 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14209
14210 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14211
14212 * stdio-common/_itoa.h: Moved to ...
14213 * sysdeps/generic/_itoa.h: Here.
14214
14215 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14216
14217 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14218 instead of "_itoa.h" and "_itowa.h".
14219 * stdio-common/vfprintf.: Likewise.
14220
d1af992d
L
142212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14222
14223 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14224 <bits/wordsize.h>.
14225 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14226 (__signbit): Likwise.
14227 (llrintf): Likwise.
14228 (llrint): Likwise.
14229
114883e0
L
142302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14231
14232 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14233 __WORDSIZE != 64.
14234
c135cc1b
JM
142352012-03-20 Joseph Myers <joseph@codesourcery.com>
14236
14237 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14238 OVERFLOW_EXCEPTION_OK.
14239 * math/libm-test.inc ("Philosophy"): Update comment about
14240 exception testing.
14241 (OVERFLOW_EXCEPTION): Define.
14242 (OVERFLOW_EXCEPTION_OK): Likewise.
14243 (INVALID_EXCEPTION_OK): Renumber.
14244 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14245 (IGNORE_ZERO_INF_SIGN): Likewise.
14246 (test_exceptions): Handle FE_OVERFLOW.
14247 (exp10_test): Expect overflow exceptions.
14248 (exp2_test): Likewise.
14249 (expm1_test): Likewise.
14250 (nextafter_test): Likewise.
14251 (pow_test): Likewise.
14252 (scalbn_test): Likewise.
14253 (scalbln_test): Likewise.
14254
95443d88
L
142552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14256
14257 * sysdeps/x86_64/bits/atomic.h
14258 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14259 64bit integer.
14260 (atomic_exchange_acq): Likewise.
14261 (__arch_exchange_and_add_body): Likewise.
14262 (__arch_add_body): Likewise.
14263 (atomic_add_negative): Likewise.
14264 (atomic_add_zero): Likewise.
14265
490df6c4
L
142662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14267
c2722551 14268 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14269 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14270
5e52b189
L
142712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14272
14273 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14274 Check __x86_64__ instead of __WORDSIZE.
14275
a9879d4c
L
142762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14277
14278 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14279
5df98260
DM
142802012-03-19 David S. Miller <davem@davemloft.net>
14281
e1497744
DM
14282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14283
5df98260
DM
14284 * sysdeps/sparc/fpu/fenv_private.h: New file.
14285 * sysdeps/sparc/fpu/math_private.h: Use it.
14286 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14287 Remove.
14288 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14289 (libc_feholdexcept_setroundl): Remove.
14290 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14291 Remove.
14292 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14293 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14294
b4c35121
L
142952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14296
14297 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14298 int64_t instead of long int.
14299 (INSERT_WORDS64): Likwise.
14300
56965fd7
L
143012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14302
14303 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14304 _Unwind_GetCFA return to _Unwind_Ptr first.
14305
83d1aec8
JM
143062012-03-19 Joseph Myers <joseph@codesourcery.com>
14307
1897ad44
JM
14308 [BZ #13629]
14309 * math/s_clog.c: Include <float.h>.
14310 (__clog): Scale large or subnormal inputs.
14311 * math/s_clogf.c: Likewise.
14312 * math/s_clogl.c: Likewise.
14313 * math/s_clog10.c: Include <float.h>.
14314 (M_LOG10_2): Define.
14315 (__clog10): Scale large or subnormal inputs.
14316 * math/s_clog10f.c: Likewise.
14317 * math/s_clog10l.c: Likewise.
14318 * math/libm-test.inc (clog_test): Add more tests.
14319 (clog10_test): Likewise.
14320 * sysdeps/i386/fpu/libm-test-ulps: Update.
14321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14322
7726d6a9
JM
14323 [BZ #11451]
14324 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14325 x and y.
14326 * math/libm-test.inc (atan2_test): Add another test.
14327
83d1aec8
JM
14328 * Makerules (common-objdir-compile): Remove.
14329 * sysdeps/unix/Makefile (config-generated): Do not add
14330 $(unix-generated) to variable.
14331 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14332 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14333 Remove rule.
14334 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14335 Likewise.
14336 [generic bits/local_lim.h] (before-compile): Do not append to
14337 variable.
14338 [generic bits/local_lim.h] (common-generated): Likewise.
14339 [generic sys/param.h] (before-compile): Do not append to variable.
14340 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14341 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14342 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14343 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14344 include.
14345 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14346 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14347 [generic sys/param.h] ($(addprefix
14348 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14349 [generic sys/param.h] (common-generated): Do not append to
14350 variable.
14351 [generic sys/param.h] (sysdep_headers): Likewise.
14352 [generic bits/errno.h] (before-compile): Do not append to
14353 variable.
14354 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14355 rule.
14356 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14357 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14358 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14359 [generic bits/errno.h] (common-generated): Do not append to
14360 variable.
14361 [generic bits/ioctls.h] (before-compile): Do not append to
14362 variable.
14363 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14364 rule.
14365 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14366 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14367 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14368 rule.
14369 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14370 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14371 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14372 [generic bits/ioctls.h] (common-generated): Do not append to
14373 variable.
14374 [generic sys/syscall.h] (syscall.h): Remove variable.
14375 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14376 rule.
14377 [generic sys/syscall.h] (before-compile): Do not append to
14378 variable.
14379 [generic sys/syscall.h] (common-generated): Likewise.
14380 * sysdeps/unix/errnos-tmpl.c: Remove file.
14381 * sysdeps/unix/errnos.awk: Likewise.
14382 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14383 * sysdeps/unix/ioctls.awk: Likewise.
14384 * sysdeps/unix/mk-local_lim.c: Likewise.
14385 * sysdeps/unix/snarf-ioctls: Likewise.
14386
4851a949
RH
143872012-03-19 Richard Henderson <rth@twiddle.net>
14388
bd37f2ee
RH
14389 * sysdeps/i386/fpu/fenv_private.h: New file.
14390 * sysdeps/i386/fpu/math_private.h: Use it.
14391 (math_opt_barrier, math_force_eval): Remove.
14392 (libc_feholdexcept_setround_53bit): Remove.
14393 (libc_feupdateenv_53bit): Remove.
14394 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14395 (math_opt_barrier, math_force_eval): Remove.
14396 (libc_feholdexcept): Remove.
14397 (libc_feholdexcept_setround): Remove.
14398 (libc_fetestexcept, libc_fesetenv): Remove.
14399 (libc_feupdateenv_test): Remove.
14400 (libc_feupdateenv, libc_feholdsetround): Remove.
14401 (libc_feresetround): Remove.
14402
d0adc922
RH
14403 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14404 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14405
0fe0f1f8
RH
14406 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14407 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14408 (libc_feupdateenv_testl): New.
14409 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14410 (libc_feupdateenv_testf): New.
14411 (libc_feupdateenv): Use libc_feupdateenv_test.
14412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14413 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14414
eb92c487
RH
14415 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14416 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14417 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14418 (libc_feresetround_noex): New.
14419 (libc_feresetround_noexf): New.
14420 (libc_feresetround_noexl): New.
14421 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14422 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14423 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14424 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14425 SET_RESTORE_ROUND.
14426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14427 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14428 (__cos): Likewise.
14429 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14430 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14431 SET_RESTORE_ROUND_NOEX.
14432 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14433 SET_RESTORE_ROUND_NOEXF.
14434 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14435 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14436 (libc_feholdsetroundf): New.
14437 (libc_feresetround, libc_feresetroundf): New.
14438
7d2e8012
RH
14439 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14440 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14441 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14442
b4dabbb4
RH
14443 * sysdeps/generic/math_private.h: Include <fenv.h>.
14444 (default_libc_feholdexcept): New.
14445 (default_libc_feholdexcept_setround): New.
14446 (default_libc_fesetenv, default_libc_feupdateenv): New.
14447 (libc_feholdexcept): Only define if undefined.
14448 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14449 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14450 (libc_feholdexcept_setroundl): Likewise.
14451 (libc_feholdexcept_setround_53bit): Likewise.
14452 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14453 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14454 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14455 (libc_feupdateenv_53bit): Likewise.
14456 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14457 (libc_feholdexcept): Convert from macro to inline function.
14458 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14459 (libc_fesetenv, libc_feupdateenv): Likewise.
14460
4851a949
RH
14461 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14462 not previously defined.
14463 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14464 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14465 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14466 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14467 * sysdeps/ieee754/flt-32/math_private.h: New file.
14468 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14469 math_private.h below SET_FLOAT_WORD.
14470 (__isnan, __isinf_ns, __finite): Remove.
14471 (__isnanf, __isinf_nsf, __finitef): Remove.
14472
e79d442e
AS
144732012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14474
14475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14476
90b80344
DM
144772012-03-17 David S. Miller <davem@davemloft.net>
14478
14479 [BZ #6471]
14480 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14481 for 2.16.
14482
edc21804
DM
144832012-03-16 David S. Miller <davem@davemloft.net>
14484
77e927af
DM
14485 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14486 warnings.
14487
374976dd
DM
14488 [BZ #6471]
14489 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14490 properly.
14491 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14492 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14493 sysdep_routines when subdir is sysvipc.
14494 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14495 __getshmlba helper.
14496
edc21804
DM
14497 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14498
473c3ef3
L
144992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14500
14501 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14502 [__LP64__].
14503
eb0f39b6
L
145042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14505
14506 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14507 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14508 (__lround): Renamed to ...
14509 (__llround): This. Replace long int with long long int.
14510 Define lround functions as aliases of llround functions.
14511 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14512
6b6cd74b
L
145132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14514
14515 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14516 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14517 adresses to uintptr_t. Replace "long int" and "unsigned long
14518 int" with "greg_t" on va_arg.
14519
f1a77b01
L
145202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14521
14522 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14523 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14524
14525 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14526 Move e_machine check before EI_CLASS check. Handle x32
14527 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14528 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14529 SKIP_EM_IA_64 and include
14530 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14531
14532 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14533 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14534 (add_system_dir): New macro.
14535
14536 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14537 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14538
11b90b9f
JM
145392012-03-16 Joseph Myers <joseph@codesourcery.com>
14540
c36e1d23
JM
14541 [BZ #2551]
14542 [BZ #2552]
14543 [BZ #2553]
14544 [BZ #2554]
14545 [BZ #2562]
14546 [BZ #2563]
14547 [BZ #2565]
14548 [BZ #2566]
14549 [BZ #2576]
14550 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14551 (y0): Likewise.
14552 * math/w_j0f.c (j0f): Likewise.
14553 (y0f): Likewise.
14554 * math/w_j0l.c (__j0l): Likewise.
14555 (__y0l): Likewise.
14556 * math/w_j1.c (j1): Likewise.
14557 (y1): Likewise.
14558 * math/w_j1f.c (j1f): Likewise.
14559 (y1f): Likewise.
14560 * math/w_j1l.c (__j1l): Likewise.
14561 (__y1l): Likewise.
14562 * math/w_jn.c (jn): Likewise.
14563 (yn): Likewise.
14564 * math/w_jnf.c (jnf): Likewise.
14565 (ynf): Likewise.
14566 * math/w_jnl.c (__jnl): Likewise.
14567 (__ynl): Likewise.
14568 * math/libm-test.inc (j0_test): Add more tests.
14569 (j1_test): Likewise.
14570 (jn_test): Likewise. Add trailing semicolon to existing test.
14571 (y0_test): Likewise.
14572 (y1_test): Likewise.
14573 * sysdeps/i386/fpu/libm-test-ulps: Update.
14574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14575
11b90b9f
JM
14576 [BZ #13851]
14577 [BZ #13854]
14578 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14579 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14580 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14581 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14582 (__tanl): Set errno for infinite argument.
14583 * sysdeps/i386/fpu/mptan.c: Remove.
14584 * sysdeps/i386/fpu/s_tan.S: Likewise.
14585 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14586 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14587 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14588 * math/libm-test.inc (tan_test): Add more tests and enable more
14589 tests for double and long double.
14590 * sysdeps/i386/fpu/libm-test-ulps: Update.
14591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14592
6a1bd2a1
JK
145932012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14594
14595 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14596 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14597
10a803e0
RM
145982012-03-16 Roland McGrath <roland@hack.frob.com>
14599
14600 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14601 * configure.in: Use it for both main tree and add-ons.
14602 * configure: Regenerated.
14603
f196c7f7
L
146042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14605
14606 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14607
8848d99d
JM
146082012-03-16 Joseph Myers <joseph@codesourcery.com>
14609
96cbe7f4
JM
14610 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14611 in comment.
14612
8848d99d
JM
14613 [BZ #13851]
14614 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14615 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14616 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14617 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14618 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14619 infinite argument.
14620 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14621 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14622 != 0 for prec == 2.
14623 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14624 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14625 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14626 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14627 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14628 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14629 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14630 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14631 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14632 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14633 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14634 * math/libm-test.inc (cos_test): Add more tests and enable more
14635 tests for long double.
14636 (sin_test): Likewise.
14637 (sincos_test): Likewise.
14638 * sysdeps/i386/fpu/libm-test-ulps: Update.
14639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14640
dd7f4703
DM
146412012-03-16 David S. Miller <davem@davemloft.net>
14642
14643 * sysdeps/sparc/fpu/math_private.h: New file.
14644
006f1daa
DM
146452012-03-15 David S. Miller <davem@davemloft.net>
14646
c0c83bc8
DM
14647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14648 file.
e6a62e18 14649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14651 file.
e6a62e18
DM
14652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14658 sysdep routines.
14659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14660
88cb87d9
DM
14661 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14662 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14663
006f1daa 14664 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14666 sparc-ifunc.h
006f1daa 14667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14669 Likewise.
14670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14671 Likewise.
006f1daa
DM
14672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14676 Likewise.
006f1daa
DM
14677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14682 Likewise.
14683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14684 Likewise.
006f1daa
DM
14685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14692 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14709
11e0098e
AS
147102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14711
14712 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14713 scaling.
14714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14715
e85b09d0
AJ
147162012-03-15 Andreas Jaeger <aj@suse.de>
14717
14718 [BZ #13852]
14719 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14720 ieee754/flt-32 implementation for sin, cos and sincos.
14721 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14722 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14723 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14724 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14725 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14726 ieee754/flt-32 implementation for tan.
14727
14728 * math/libm-test.inc (cos_test): Enable some large input tests for
14729 float as well
14730 (sin_test): Likewise.
14731 (sincos_test): Likewise.
14732 (tan_test): Add tests for large input.
14733
14734 * sysdeps/i386/fpu/libm-test-ulps: Update.
14735
81c64153
AJ
147362012-03-15 Andreas Jaeger <aj@suse.de>
14737
14738 [BZ #13658]
14739 * math/libm-test.inc (cos_test): Add more test cases.
14740 (sin_test): Likewise.
14741 (sincos_test): Likewise.
14742
7bbfa5c6
AJ
147432012-03-15 Andreas Jaeger <aj@suse.de>
14744
14745 [BZ #13837]
14746 * math/libm-test.inc (cos_test): Add a test case for large input
14747 value.
14748 (sin_test): Likewise.
14749 (sincos_test): Likewise.
14750
147512012-03-15 Andreas Jaeger <aj@suse.de>,
14752 Joseph Myers <joseph@codesourcery.com>
14753
14754 [BZ #13658]
0671f479 14755 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14756 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14757 * sysdeps/i386/fpu/branred.c: Likewise.
14758 * sysdeps/i386/fpu/dosincos.c: Likewise.
14759 * sysdeps/i386/fpu/mpa.c: Likewise.
14760 * sysdeps/i386/fpu/s_cos.S: Likewise.
14761 * sysdeps/i386/fpu/s_sin.S: Likewise.
14762 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14763 * sysdeps/i386/fpu/sincos32.c: Likewise.
14764
14765 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14766 Define.
14767 (libc_feupdateenv_53bit): Define.
14768 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14769 Define.
14770 (libc_feupdateenv_53bit): Define.
14771
14772 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14773 53 bit (without extend i386 double precision).
14774
14775 * math/libm-test.inc (sincos_test): Add tests for large input.
14776 (sin): Likewise.
14777 (cos): Likewise.
14778
14779 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14780
9cad04ea
AS
147812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14782
14783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14784
f7062b9a
DM
147852012-03-15 David S. Miller <davem@davemloft.net>
14786
14787 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14788 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14789 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14790 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14803 file.
f7062b9a 14804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14806 file.
f7062b9a 14807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14809 file.
f7062b9a 14810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14812 file.
f7062b9a
DM
14813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14814 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14815 fmin/fmax sysdep routines.
14816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14817
7bd951ff
DM
148182012-03-14 David S. Miller <davem@davemloft.net>
14819
559398ab
DM
14820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14824 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14825 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14840 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14841 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14844 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14847 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14849 routines.
14850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14851 file.
559398ab 14852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14854 file.
559398ab 14855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14857 file.
559398ab 14858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14860 file.
559398ab 14861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14863 file.
559398ab 14864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14866 file.
14867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14868 file.
14869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14870 file.
14871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14872 file.
14873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14874 New file.
14875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14876 file.
14877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14878 file.
559398ab 14879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14881 file.
559398ab 14882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14884 file.
559398ab 14885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14887 file.
559398ab 14888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14890 VIS3 routines.
559398ab
DM
14891
14892 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14893 New file.
14894
5a1c1e32
DM
14895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14896
eae47a36
DM
14897 * sysdeps/sparc/configure.in: New file.
14898 * sysdeps/sparc/configure: Generate.
14899 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14900 * configure: Regenerate.
14901 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14902 * config.make.in (have-as-vis3): New.
14903 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14904 available use -Av9d instead of -Av9a.
14905 * sysdeps/sparc/sparc64/Makefile: Likewise.
14906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14908 New file.
14909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14910 file.
14911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14912 New file.
14913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14914 file.
eae47a36
DM
14915 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14916 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14920
c0c83bc8
DM
14921 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14922 fzeros/fnegs to load 0x80000000 into a float register instead of
14923 using the stack.
7bd951ff
DM
14924 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14925
bd951ccb
JM
149262012-03-14 Joseph Myers <joseph@codesourcery.com>
14927
14928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14929 bits/syscall.h.
14930 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14931 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14932 ($(inst_includedir)/bits/syscall.h): Remove rule.
14933 ($(objpfx)bits/syscall.d): Include instead of
14934 $(objpfx)syscall-list.d.
14935 (generated): Change syscall-list.h and syscall-list.d to
14936 bits/syscall.h and bits/syscall.d.
14937
bb4e6db2
RM
149382012-03-14 Roland McGrath <roland@hack.frob.com>
14939
14940 [BZ #13846]
14941 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14942
aa4a2ae1
JM
149432012-03-14 Joseph Myers <joseph@codesourcery.com>
14944
e456826d
JM
14945 [BZ #13841]
14946 * math/s_csqrt.c: Include <float.h>.
14947 (__csqrt): Scale large or subnormal inputs.
14948 * math/s_csqrtf.c: Likewise.
14949 * math/s_csqrtl.c: Likewise.
14950 * math/libm-test.inc (csqrt_test): Add more tests.
14951 * sysdeps/i386/fpu/libm-test-ulps: Update.
14952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14953
aa4a2ae1
JM
14954 [BZ #13840]
14955 * math/libm-test.inc (hypot_test): Add more tests.
14956
7c10fd35
DM
149572012-03-13 David S. Miller <davem@davemloft.net>
14958
14959 [BZ #13840]
14960 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14961 double-precision for the calculation instead of scaling.
14962
f453b98b
JM
149632012-03-13 Joseph Myers <joseph@codesourcery.com>
14964
14965 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14966 manipulate bits before adding and subtracting TWO52[sx].
14967 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14968 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14969 Likewise.
14970 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14971
09a3453f
DM
149722012-03-13 David S. Miller <davem@davemloft.net>
14973
8e59da90
DM
14974 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14975 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14976 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14977 rtld-global-offsets.h
14978 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14979
2a8ab7f2
DM
14980 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14981 large parameters.
14982
10f62770
DM
14983 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14984
5f0bdb18
DM
14985 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14986 'err' in the ifdef scope in which it is actually used.
14987
09a3453f
DM
14988 * nss/nss_db/db-init.c: Include string.h
14989
b4b2eb5e
DM
149902012-03-12 David S. Miller <davem@davemloft.net>
14991
98bb2f1c
DM
14992 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14993 masking out of the most significant byte of random value used.
14994 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14995 Fix coding style in previous change.
14996
b4b2eb5e
DM
14997 * sysdeps/unix/sysv/linux/kernel-features.h
14998 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14999 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15000 expression.
15001 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15002 later.
15003
6e226b09
DM
150042012-03-11 David S. Miller <davem@davemloft.net>
15005
a1bcbd40
DM
15006 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15007 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15008 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15009 for 'resultvar' otherwise things get truncated on 64-bit.
15010
cb9d6174
DM
15011 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15012 Fix masking out of the most significant byte of random value used.
15013
6e226b09
DM
15014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15015
058c132d
AS
150162012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15017
15018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15019
2d2cd515
DM
150202012-03-09 David S. Miller <davem@davemloft.net>
15021
15022 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15023 variables with appropriate CPP guards.
15024 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15025 frame pointer, not the stack pointer. Correct layout comments. Fix test
15026 on resulting framesize and the management of the outregs buffer for pltexit.
15027 Preserve floating point return values across _dl_call_pltexit call.
15028 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15029 framesize and the management of the outregs buffer for pltexit.
15030 Preserve floating point return values across _dl_call_pltexit
15031 call.
15032 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15033 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15034 (print_exit): Fix format string for return register value.
15035
9a07f9d0
JM
150362012-03-10 Joseph Myers <joseph@codesourcery.com>
15037
15038 * sunrpc/Makefile (others): Add rpcgen.
15039 ($(objpfx)rpcgen): Remove special build rule and dependency on
15040 libc.
15041 * sunrpc/rpcgen.c: New file.
15042
547b5e30
PE
150432012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15044
c524201a
PE
15045 [BZ #13673]
15046 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15047 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15048 * sysdeps/i386/crti.S: Likewise.
15049 * sysdeps/i386/crtn.S: Likewise.
15050 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15051 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15052 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15053 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15054 * sysdeps/sh/crti.S: Likewise.
15055 * sysdeps/sh/crtn.S: Likewise.
15056 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15057
7b6235f2
PE
15058 [BZ #13673]
15059 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15060 with URL.
15061 * locale/programs/locfile-kw.gperf: Likewise.
15062 * locale/programs/charmap-kw.h: Regenerated.
15063 * locale/programs/locfile-kw.h: Likewise.
15064
547b5e30
PE
15065 [BZ #13673]
15066 * intl/plural.y: Replace FSF snail mail address with URL.
15067 * intl/plural.c: Regenerated.
15068
5f0a5dae
RH
150692012-03-09 Richard Henderson <rth@twiddle.net>
15070
15071 * include/math_private.h: Remove file.
15072 * math/math_private.h: Move file ...
15073 * sysdeps/generic/math_private.h: ... here.
15074
b8c03620
RH
15075 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15076 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15077 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15078
4e234f5d 15079 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15080 and <math_private.h>.
15081 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15082 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15083 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15084 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15085 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15086 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15087 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15089 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15090 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15092 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15093 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15094 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15095 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15096 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15097 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15098 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15099 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15100 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15102 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15103 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15105 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15106 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15107 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15108 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15109 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15110 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15111 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15112 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15113 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15114 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15115 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15116 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15117 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15118 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15119 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15120 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15121 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15122 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15123 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15124 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15125 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15126 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15127 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15128 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15129 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15130 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15131 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15132 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15133 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15134 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15135 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15136 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15137 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15138 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15139 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15140 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15141 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15142 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15143 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15144 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15145 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15146 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15149 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15150 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15151 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15152 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15153 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15154 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15155 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15156 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15160 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15161 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15162 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15163 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15164 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15169 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15170 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15171 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15172 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15173 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15174 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15175 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15176 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15177 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15178 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15179 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15180 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15181 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15182 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15183 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15184 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15185 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15186 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15187 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15188 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15189 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15190 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15191 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15192 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15193 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15194 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15195 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15196 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15197 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15198 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15199 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15200 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15201 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15202 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15203 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15204 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15205 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15206 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15207 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15208 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15209 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15210 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15211 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15212 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15213 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15214 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15215 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15216 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15217 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15218 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15219 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15220 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15221 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15222 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15223 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15224 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15225 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15226 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15227 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15228 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15229 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15230 * sysdeps/ieee754/k_standard.c: Likewise.
15231 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15232 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15233 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15234 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15235 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15236 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15237 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15238 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15239 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15240 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15241 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15242 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15243 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15244 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15245 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15246 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15247 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15248 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15249 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15250 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15251 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15252 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15253 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15254 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15255 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15256 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15257 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15258 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15259 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15260 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15263 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15264 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15265 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15266 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15267 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15268 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15269 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15270 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15271 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15272 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15273 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15274 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15275 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15276 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15277 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15278 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15279 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15280 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15281 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15282 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15283 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15284 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15285 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15286 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15287 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15288 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15289 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15290 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15291 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15293 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15297 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15298 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15299 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15300 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15301 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15302 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15303 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15304 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15305 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15306 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15307 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15308 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15310 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15311 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15312 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15313 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15314 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15316 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15317 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15318 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15319 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15320 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15321 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15322 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15323 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15325 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15326 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15329 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15330 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15332 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15333 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15334 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15335 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15337 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15338 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15339 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15341 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15342 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15343 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15344 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15345 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15346 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15347 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15348 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15349 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15350 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15351 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15352 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15353 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15357 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15358 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15359 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15360 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15361 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15362 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15363 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15368 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15369 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15370 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15371 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15372 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15373 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15374 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15375 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15376 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15377 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15378 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15379 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15380 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15381 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15382 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15383 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15391 * sysdeps/ieee754/s_lib_version.c: Likewise.
15392 * sysdeps/ieee754/s_matherr.c: Likewise.
15393 * sysdeps/ieee754/s_signgam.c: Likewise.
15394 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15395 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15396 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15397 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15398 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15399 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15400 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15401 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15402 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15403 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15404 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15405 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15406 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15407 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15408 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15409 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15410 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15411 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15412 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15413 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15415
1991fa03
JM
154162012-03-09 Joseph Myers <joseph@codesourcery.com>
15417
15418 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15419 * sunrpc/rpc_main.c: Likewise.
15420 * sunrpc/rpc_svcout.c: Likewise.
15421
60d6f5a6
DM
154222012-03-09 David S. Miller <davem@davemloft.net>
15423
15424 * include/math_private.h: New file.
15425
4962050e
JM
154262012-03-09 Joseph Myers <joseph@codesourcery.com>
15427
02a6f887
JM
15428 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15429 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15430 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15431 from <bits/socket_type.h>.
15432 (enum __socket_type): Don't define here.
15433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15435 bits/socket_type.h.
15436
c6e013c1
JM
15437 [BZ #13566]
15438 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15439 checking __USE_GNU.
15440
4962050e
JM
15441 * Makerules ($(inst_includedir)/%.h): New rule.
15442 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15443 (install-others): Remove variable setting.
15444 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15445
38842f45
RH
154462012-03-08 Richard Henderson <rth@twiddle.net>
15447
67bb6da6
RH
15448 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15449 from macro to inline function; merge with the
15450 !__LIBC_INTERNAL_MATH_INLINES version.
15451 (__ieee754_sqrtf): Likewise.
15452
15194b4b
RH
15453 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15454 to inline function.
15455 (__rintf, __floor, __floorf): Likewise.
15456
64e21ede
RH
15457 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15458 macro to inline function.
15459 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15460
38842f45
RH
15461 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15462 not <math/math_private.h>.
15463
c64bf5fe
DM
154642012-03-08 David S. Miller <davem@davemloft.net>
15465
15466 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15467 copyright year.
15468 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15469
82d86f28
TS
154702012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15471
15472 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15473 normalization.
15474 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15475 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15476
aea5d727
UD
154772012-03-08 Ulrich Drepper <drepper@gmail.com>
15478
15479 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15480 be defined individually, they must be defined as a block. Define
15481 S for printing a string instead of hidint the different by using a
15482 macro for adding the 'l'.
15483 * stdio-common/tst-fphex-wide.c: Adjust.
15484
70bca0a3
MP
154852012-03-07 Marek Polacek <polacek@redhat.com>
15486
15487 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15488
65b81130
MP
154892012-03-08 Marek Polacek <polacek@redhat.com>
15490
15491 [BZ #13806]
15492 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15493 * stdio-common/tst-fphex.c: Define a few macros to make the
15494 test reusable. Use them.
15495 * stdio-common/tst-fphex-wide.c: New file.
15496
07037eeb
JM
154972012-03-08 Joseph Myers <joseph@codesourcery.com>
15498
a7a93d50
JM
15499 [BZ #6911]
15500 * manual/macros.texi (gnusystems): New macro.
15501 (nongnusystems): Likewise.
15502 (gnulinuxhurdsystems): Likewise.
15503 (gnuhurdsystems): Likewise..
15504 (gnulinuxsystems): Likewise.
15505 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15506 variants of the GNU system, not "GNU system".
15507 * manual/conf.texi: Likewise.
15508 * manual/errno.texi: Likewise. Update example of errno macro
15509 expansion.
15510 * manual/filesys.texi: Likewise.
15511 (getumask): Document as specific to GNU/Hurd.
15512 * manual/install.texi: Likewise. Reword some references to
15513 GNU/Linux.
15514 * manual/intro.texi: Likewise.
15515 * manual/io.texi: Likewise.
15516 (File Name Portability): Detail which constraints are inapplicable
15517 to all GNU systems and which are only inapplicable to GNU/Hurd.
15518 * manual/job.texi: Likewise.
15519 * manual/llio.texi: Likewise.
15520 (O_NOCTTY): Document as present on GNU/Linux.
15521 * manual/maint.texi: Likewise.
15522 * manual/memory.texi: Likewise.
15523 * manual/pattern.texi: Likewise.
15524 * manual/pipe.texi: Likewise.
15525 * manual/process.texi: Likewise.
15526 * manual/resource.texi: Likewise.
15527 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15528 child on GNU/Hurd.
15529 * manual/setjmp.texi: Likewise.
15530 * manual/signal.texi: Likewise.
15531 * manual/startup.texi: Likewise.
15532 * manual/stdio.texi: Likewise.
15533 * manual/terminal.texi: Likewise.
15534 (ONLCR): Document as POSIX.
15535 (OXTABS): Document availability on GNU/Linux as XTABS.
15536 (ONOEOT): Document availability separately from other bits.
15537 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15538 * manual/time.texi: Likewise.
15539 * manual/users.texi: Likewise.
15540 * INSTALL: Regenerated.
15541 * sysdeps/gnu/errlist.c: Regenerated.
15542
07037eeb
JM
15543 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15544 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15545 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15546 puts.
15547 * configure: Regenerated.
15548
d1d3431a
JM
155492012-03-07 Joseph Myers <joseph@codesourcery.com>
15550
af6a1e37
JM
15551 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15552 default includes instead of AC_HEADER_CHECK.
15553 * sysdeps/i386/configure: Regenerated.
15554
d1d3431a
JM
15555 [BZ #10716]
15556 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15557 * math/s_cacoshf.c (__cacoshf): Likewise.
15558 * math/s_cacoshl.c (__cacoshl): Likewise.
15559 * math/s_casinh.c (__casinh): Set signs of result from argument.
15560 * math/s_casinhf.c (__casinhf): Likewise.
15561 * math/s_casinhl.c (__casinhl): Likewise.
15562 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15563 (casinh_test): Add more tests.
15564 * sysdeps/i386/fpu/libm-test-ulps: Update.
15565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15566
482ff4da
UD
155672012-03-07 Ulrich Drepper <drepper@gmail.com>
15568
872fda05
UD
15569 * po/zh_TW.po: Update from translation team.
15570
a4300c7a
UD
15571 * login/Makefile (distribute): Remove variable.
15572 * catgets/Makefile: Likewise.
15573 * mach/Makefile: Likewise.
15574 * malloc/Makefile: Likewise.
15575 * misc/Makefile: Likewise.
15576 * iconv/Makefile: Likewise.
15577 * nscd/Makefile: Likewise.
15578 * hurd/Makefile: Likewise.
15579 * manual/Makefile: Likewise.
15580 * locale/Makefile: Likewise.
15581 * intl/Makefile: Likewise.
15582 * conform/Makefile: Likewise.
15583 * nss/Makefile: Likewise.
15584 * time/Makefile: Likewise.
15585 * soft-fp/Makefile: Likewise.
15586 * dirent/Makefile: Likewise.
15587 * gmon/Makefile: Likewise.
15588 * po/Makefile: Likewise.
15589 * rt/Makefile: Likewise.
15590 * socket/Makefile: Likewise.
15591 * math/Makefile: Likewise.
15592 * signal/Makefile: Likewise.
15593 * debug/Makefile: Likewise.
15594 * elf/Makefile: Likewise.
15595 * timezone/Makefile: Likewise.
15596 * stdlib/Makefile: Likewise.
15597 * iconvdata/Makefile: Likewise.
15598 * sunrpc/Makefile: Likewise.
15599 * io/Makefile: Likewise.
15600 * argp/Makefile: Likewise.
15601 * inet/Makefile: Likewise.
15602 * hesiod/Makefile: Likewise.
15603 * grp/Makefile: Likewise.
15604 * csu/Makefile: Likewise.
15605 * wctype/Makefile: Likewise.
15606 * crypt/Makefile: Likewise.
15607 * libio/Makefile: Likewise.
15608 * string/Makefile: Likewise.
15609 * nis/Makefile: Likewise.
15610 * resolv/Makefile: Likewise.
15611 * stdio-common/Makefile: Likewise.
15612 * wcsmbs/Makefile: Likewise.
15613 * dlfcn/Makefile: Likewise.
15614 * posix/Makefile: Likewise.
15615
3b7c4e74 15616 [BZ #6959]
482ff4da
UD
15617 * timezone/Makefile: Don't install timezone files, just the programs
15618 and scripts.
15619
f72ed77d
UD
156202012-03-06 Ulrich Drepper <drepper@gmail.com>
15621
a000466f
UD
15622 * nss/databases.def: Add missing gshadow entry.
15623
f72ed77d
UD
15624 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15625
a53b7a4e
MP
156262012-03-06 Marek Polacek <polacek@redhat.com>
15627
15628 [BZ #13726]
15629 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15630 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15631 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15632 * stdio-common/tst-long-dbl-fphex.c: New file.
15633
e9258400
DM
156342012-03-06 David S. Miller <davem@davemloft.net>
15635
15636 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15637 (set_obp_int): New function.
15638 (get_obp_int): New function.
15639 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15640 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15641 Avoid unused variable warnings on 'val' and use builtin_expect.
15642 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15643 __builtin_expect.
e9258400
DM
15644 (INLINE_CLONE_SYSCALL): Likewise.
15645
3bd2c723
DM
156462012-03-05 David S. Miller <davem@davemloft.net>
15647
15648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15649
bbb78d03
AS
156502012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15651
884c5db4
AS
15652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15653
bbb78d03
AS
15654 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15655 only for |x| >= 40.
15656 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15657
1c9f702a 156582012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15659
15660 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15661 Replace gettimeofday with __vdso_gettimeofday.
15662
7be16f82
RM
15663 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15664 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15665 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15666
15667 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15668 time with __vdso_time.
15669
ed58a00f
JM
156702012-03-05 Joseph Myers <joseph@codesourcery.com>
15671
15672 * manual/lang.texi (size_t): Note types to which size_t may be
15673 equivalent with the GNU C Library, but do not describe when
15674 differences between them are significant.
15675
30ee4ced
AJ
156762012-03-05 Andreas Jaeger <aj@suse.de>
15677
15678 * sysdeps/i386/fpu/libm-test-ulps: Update.
15679
b7cd39e8
JM
156802012-03-05 Joseph Myers <joseph@codesourcery.com>
15681
15682 [BZ #3976]
15683 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15684 (__ieee754_pow): Save and restore rounding mode and use
15685 round-to-nearest for main computations.
15686 * math/libm-test.inc (pow_test_tonearest): New function.
15687 (pow_test_towardzero): Likewise.
15688 (pow_test_downward): Likewise.
15689 (pow_test_upward): Likewise.
15690 (main): Call the new functions.
15691 * sysdeps/i386/fpu/libm-test-ulps: Update.
15692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15693
15694 [BZ #3976]
15695 * math/libm-test.inc (cosh_test_tonearest): New function.
15696 (cosh_test_towardzero): Likewise.
15697 (cosh_test_downward): Likewise.
15698 (cosh_test_upward): Likewise.
15699 (sinh_test_tonearest): Likewise.
15700 (sinh_test_towardzero): Likewise.
15701 (sinh_test_downward): Likewise.
15702 (sinh_test_upward): Likewise.
15703 (main): Call the new functions.
15704 * sysdeps/i386/fpu/libm-test-ulps: Update.
15705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15706
6c6a98c9
TV
157072012-03-05 Tom de Vries <tom@codesourcery.com>
15708
15709 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15710 default stack guard is set in last bytes.
15711 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15712
21bb2d2e 157132012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15714
21bb2d2e 15715 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15716
21bb2d2e
AJ
15717 [BZ #13656]
15718 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15719 possibly allocate from heap instead of stack.
15720 * stdio-common/bug-vfprintf-nargs.c: New file.
15721 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15722
c6922934
AS
157232012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15724
15725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15726
bc957d53
MP
157272012-03-03 Marek Polacek <polacek@redhat.com>
15728
15729 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15730 * math/math_private.h: Likewise.
15731 * stdlib/tst-strtod.c: Likewise.
15732 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15733 * sysdeps/x86_64/bits/atomic.h: Likewise.
15734
6358490d
DM
157352012-03-02 David S. Miller <davem@davemloft.net>
15736
15737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15741 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15742 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15743 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15744 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15745
01ae168d
RM
157462012-03-02 Roland McGrath <roland@hack.frob.com>
15747
d9a17c07
RM
15748 [BZ #13792]
15749 * manual/examples/README: New file, says the example source files
15750 can be used under GPL>=2.
15751 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15752 line containing just "*/".
15753 * manual/examples/add.c: Add copyright header (GPL>=2).
15754 * manual/examples/argp-ex1.c: Likewise.
15755 * manual/examples/argp-ex2.c: Likewise.
15756 * manual/examples/argp-ex3.c: Likewise.
15757 * manual/examples/argp-ex4.c: Likewise.
15758 * manual/examples/atexit.c: Likewise.
15759 * manual/examples/db.c: Likewise.
15760 * manual/examples/dir.c: Likewise.
15761 * manual/examples/dir2.c: Likewise.
15762 * manual/examples/execinfo.c: Likewise.
15763 * manual/examples/filecli.c: Likewise.
15764 * manual/examples/filesrv.c: Likewise.
15765 * manual/examples/fmtmsgexpl.c: Likewise.
15766 * manual/examples/genpass.c: Likewise.
15767 * manual/examples/inetcli.c: Likewise.
15768 * manual/examples/inetsrv.c: Likewise.
15769 * manual/examples/isockad.c: Likewise.
15770 * manual/examples/longopt.c: Likewise.
15771 * manual/examples/memopen.c: Likewise.
15772 * manual/examples/memstrm.c: Likewise.
15773 * manual/examples/mkfsock.c: Likewise.
15774 * manual/examples/mkisock.c: Likewise.
15775 * manual/examples/mygetpass.c: Likewise.
15776 * manual/examples/pipe.c: Likewise.
15777 * manual/examples/popen.c: Likewise.
15778 * manual/examples/rprintf.c: Likewise.
15779 * manual/examples/search.c: Likewise.
15780 * manual/examples/select.c: Likewise.
15781 * manual/examples/setjmp.c: Likewise.
15782 * manual/examples/sigh1.c: Likewise.
15783 * manual/examples/sigusr.c: Likewise.
15784 * manual/examples/stpcpy.c: Likewise.
15785 * manual/examples/strdupa.c: Likewise.
15786 * manual/examples/strftim.c: Likewise.
15787 * manual/examples/strncat.c: Likewise.
15788 * manual/examples/subopt.c: Likewise.
15789 * manual/examples/swapcontext.c: Likewise.
15790 * manual/examples/termios.c: Likewise.
15791 * manual/examples/testopt.c: Likewise.
15792 * manual/examples/testpass.c: Likewise.
15793 * manual/examples/timeval_subtract.c: Likewise.
15794
01ae168d
RM
15795 [BZ #13792]
15796 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15797 function to ...
15798 * manual/timeval_subtract.c.texi: ... here, new file.
15799
49efa33d
DM
158002012-03-02 David S. Miller <davem@davemloft.net>
15801
15802 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15803
28afd92d
JM
158042012-03-02 Joseph Myers <joseph@codesourcery.com>
15805
804360ed
JM
15806 [BZ #3976]
15807 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15808 (__sin): Save and restore rounding mode and use round-to-nearest
15809 for all computations.
15810 (__cos): Save and restore rounding mode and use round-to-nearest
15811 for all computations.
15812 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15813 <fenv.h>.
15814 (tan): Save and restore rounding mode and use round-to-nearest for
15815 all computations.
15816 * math/libm-test.inc (cos_test_tonearest): New function.
15817 (cos_test_towardzero): Likewise.
15818 (cos_test_downward): Likewise.
15819 (cos_test_upward): Likewise.
15820 (sin_test_tonearest): Likewise.
15821 (sin_test_towardzero): Likewise.
15822 (sin_test_downward): Likewise.
15823 (sin_test_upward): Likewise.
15824 (tan_test_tonearest): Likewise.
15825 (tan_test_towardzero): Likewise.
15826 (tan_test_downward): Likewise.
15827 (tan_test_upward): Likewise.
15828 (main): Call the new functions.
15829 * sysdeps/i386/fpu/libm-test-ulps: Update.
15830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15831
a6d06d7b
JM
15832 [BZ #10135]
15833 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15834 small n, then large n, before computing and testing k+n.
15835 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15836 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15837 Likewise.
15838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15839 Likewise.
15840 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15841 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15842 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15843 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15844 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15845 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15846 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15847 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15848 * math/libm-test.inc (scalbn_test): Add more tests.
15849 (scalbln_test): Likewise.
15850
07e12bb3
JM
15851 * manual/filesys.texi (mode_t): Describe constraints on size and
15852 signedness, not exact equivalence to a particular type.
15853 (ino_t): Likewise.
15854 (ino64_t): Likewise.
15855 (dev_t): Likewise.
15856 (nlink_t): Likewise.
15857 (blkcnt_t): Likewise.
15858 (blkcnt64_t): Likewise.
15859 * manual/llio.texi (off_t): Likewise.
15860
28afd92d
JM
15861 [BZ #3976]
15862 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15863 (__ieee754_exp): Save and restore rounding mode and use
15864 round-to-nearest for all computations.
15865 * math/libm-test.inc (exp_test_tonearest): New function.
15866 (exp_test_towardzero): Likewise.
15867 (exp_test_downward): Likewise.
15868 (exp_test_upward): Likewise.
15869 (main): Call the new functions.
15870 * sysdeps/i386/fpu/libm-test-ulps: Update.
15871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15872
b1eeb65d
CD
158732012-03-01 Chris Demetriou <cgd@google.com>
15874
15875 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15876 have predictable order.
15877
53362a4b
DM
158782012-03-01 David S. Miller <davem@davemloft.net>
15879
3c969083
DM
15880 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15881
759707de
DM
15882 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15883 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15884 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15885 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15886
dfdb8ff2
DM
15887 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15888 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15889 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15891 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15892 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15893 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15894 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15895 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15896
ead89f96
DM
15897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15898
7f66bd07
DM
15899 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15900 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15901 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15902
53362a4b
DM
15903 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15904 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15905 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15906 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15907 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15908 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15909 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15910 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15911 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15912 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15913 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15914 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15917 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15919 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15920 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15921 * sysdeps/sparc/elf/configure: Regenerated.
15922
7b1902cb
JM
159232012-03-01 Joseph Myers <joseph@codesourcery.com>
15924
bec039bc
JM
15925 * configure.in (AS, LD): Require binutils 2.20 or later.
15926 * configure: Regenerated.
15927 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15928 as required minimum version.
15929 * INSTALL: Regenerated.
15930
7b1902cb
JM
15931 [BZ #2541]
15932 [BZ #4108]
15933 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15934 before squaring exponent.
15935 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15936 bottom long double and 27 bits of top long double before squaring
15937 exponent.
15938 * math/libm-test.inc (erfc_test): Add more tests.
15939 * sysdeps/i386/fpu/libm-test-ulps: Update.
15940 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15942
f775c276
KT
159432012-03-01 Kai Tietz <ktietz@redhat.com>
15944
15945 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15946 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15947 containing bit-fields.
15948 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15949 * soft-fp/single.h (_FP_UNION_S): Likewise.
15950 * soft-fp/double.h (_FP_UNION_D): Likewise.
15951
5b8a4d4a
JM
159522012-02-29 Joseph Myers <joseph@codesourcery.com>
15953
0bab47b6
JM
15954 [BZ #13786]
15955 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15956 not include ../strcmp.S.
15957 [USE_AS_STRNCASECMP_L]: Likewise.
15958 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15959 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15960 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15961 (__strncasecmp_l_ia32): Define as alias to
15962 __strncasecmp_l_nonascii.
15963
0fcad3e2
JM
15964 [BZ #5794]
15965 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15966 * sysdeps/i386/fpu/libm-test-ulps: Update.
15967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15968
5b8a4d4a
JM
15969 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15971
8fdceb2e
JL
159722012-02-29 Jeff Law <law@redhat.com>
15973
15974 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15975 out of bounds read.
15976
1f393a11
MP
159772012-02-29 Marek Polacek <polacek@redhat.com>
15978
15979 [BZ #13706]
15980 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15981 * elf/Makefile: Add rules to run tst-unused-dep.out.
15982
8847f037
DM
159832012-02-28 David S. Miller <davem@davemloft.net>
15984
15985 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15986 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15987 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15988 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15989 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15990 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15991
169d7f11
JM
159922012-02-29 Joseph Myers <joseph@codesourcery.com>
15993
15994 * math/libm-test.inc (llround_test): Move one test from
15995 lround_test. Use TEST_f_L in moved test.
15996 (lround_test): Move misplaced test to llround_test. Add testcase
15997 from bug 2561.
15998
39adf059
UD
159992012-02-28 Ulrich Drepper <drepper@gmail.com>
16000
16001 * sysdeps/x86_64/fpu/e_expf.S: New file.
16002 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16003
71b5d1c5
SB
160042012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16005
16006 [BZ #13637]
16007 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16008 of remain_len that may cause incomplete multi-byte character and
16009 false match.
16010 * posix/bug-regex33.c: New file.
16011 * posix/Makefile (tests): Add bug-regex33.
16012
1f77f049
JM
160132012-02-28 Joseph Myers <joseph@codesourcery.com>
16014
16015 * manual/macros.texi: New file.
16016 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16017 * manual/libc.texinfo: Include macros.texi.
16018 * manual/creatute.texi: Likewise.
16019 * manual/install.texi: Likewise.
16020 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16021 @glibcadj{} in references to the GNU C Library.
16022 * manual/charset.texi: Likewise.
16023 * manual/conf.texi: Likewise.
16024 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16025 when not using those macros.
16026 * manual/creature.texi: Likewise.
16027 * manual/crypt.texi: Likewise.
16028 * manual/errno.texi: Likewise.
16029 * manual/filesys.texi: Likewise.
16030 * manual/header.texi: Likewise.
16031 * manual/install.texi: Likewise.
16032 * manual/intro.texi: Likewise.
16033 * manual/io.texi: Likewise.
16034 * manual/job.texi: Likewise.
16035 * manual/lang.texi: Likewise.
16036 * manual/libc.texiinfo: Likewise.
16037 * manual/llio.texi: Likewise.
16038 * manual/locale.texi: Likewise.
16039 * manual/maint.texi: Likewise.
16040 * manual/math.texi: Likewise.
16041 * manual/memory.texi: Likewise.
16042 * manual/message.texi: Likewise.
16043 * manual/nss.texi: Likewise.
16044 * manual/pattern.texi: Likewise.
16045 * manual/process.texi: Likewise.
16046 * manual/resource.texi: Likewise.
16047 * manual/search.texi: Likewise.
16048 * manual/setjmp.texi: Likewise.
16049 * manual/signal.texi: Likewise.
16050 * manual/socket.texi: Likewise.
16051 * manual/startup.texi: Likewise.
16052 * manual/stdio.texi: Likewise.
16053 * manual/string.texi: Likewise.
16054 * manual/sysinfo.texi: Likewise.
16055 * manual/syslog.texi: Likewise.
16056 * manual/terminal.texi: Likewise.
16057 * manual/time.texi: Likewise.
16058 * manual/users.texi: Likewise.
16059 * INSTALL: Regenerated.
16060 * NOTES: Regenerated.
d40c5d54 16061 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16062
450bf206
AS
160632012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16064
16065 * include/dirent.h: Include <dirstream.h> before
16066 <dirent/dirent.h>.
16067
741a235b
DM
160682012-02-28 David S. Miller <davem@davemloft.net>
16069
16070 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16071 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16072 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16073 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16074
d6b5aa58
DM
160752012-02-27 David S. Miller <davem@davemloft.net>
16076
1aff59a3
DM
16077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16079 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16080 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16081
d6b5aa58
DM
16082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16083 frame pointer instead of stack pointer relative arg slot.
16084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16085 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16086 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16087
433f48bf
CD
160882012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16089
16090 [BZ #3992]
16091 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16092
d674b76d
DM
160932012-02-27 David S. Miller <davem@davemloft.net>
16094
16095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16099 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16100 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16101 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16102 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16103
0e7727f7
JM
161042012-02-27 Joseph Myers <joseph@codesourcery.com>
16105
16106 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16107 later. Allow versions 5-9.
43be4ca2 16108 * configure: Regenerated.
0e7727f7
JM
16109 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16110 required minimum version and 4.6 as recommended version. Do not
16111 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16112 * INSTALL: Regenerated.
0e7727f7 16113
a78bc654
DM
161142012-02-27 David S. Miller <davem@davemloft.net>
16115
428d5830
DM
16116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16120 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16121 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16122 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16123 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16124
a78bc654
DM
16125 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16126 manipulate bits before adding and subtracting TWO112[sx].
16127 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16128
4579f81c
RM
161292012-02-27 Roland McGrath <roland@hack.frob.com>
16130
36c8acb4
RM
16131 [BZ #13775]
16132 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16133 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16134 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16135 being in POSIX, because they are in 1003.1-2008.
16136
84ad622b
RM
16137 * rt/tst-aio.c: Include <fcntl.h>.
16138 * rt/tst-aio7.c: Likewise.
16139 * rt/tst-aio64.c: Likewise.
16140
4579f81c
RM
16141 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16142
abd923db
JM
161432012-02-27 Joseph Myers <joseph@codesourcery.com>
16144
16145 * manual/install.texi (--with-headers): Describe headers as
16146 interface headers, not private headers.
16147 (Specific advice for GNU/Linux systems): Describe use of headers
16148 from "make headers_install", not private headers from older
16149 kernels.
43be4ca2 16150 * INSTALL: Regenerated.
abd923db
JM
16151 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16152 Change to 2.6.19.
16153 * sysdeps/unix/sysv/linux/configure: Regenerated.
16154
6664049b
JM
16155 * manual/llio.texi (fclean): Remove documentation.
16156
bb8b6697
JM
16157 * manual/Makefile (libc-texi-generated): New variable. Include
16158 version.texi.
16159 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16160 $(libc-texi-generated), not duplicated list of files.
16161 (version.texi, stamp-version): New rules.
16162 (realclean): Remove $(libc-texi-generated), not individual files
16163 from that list. Do not remove dir-add.texinfo.
16164 * manual/libc.texinfo: Comment out uses of edition numbers and
16165 references to printed manual. Remove last-updated dates.
16166 (EDITION): Comment out.
16167 (ISBN): Likewise.
16168 (VERSION, UPDATED): Remove.
16169 (version.texi): Include.
16170
12e5c3b9
AS
161712012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16172
16173 * sysdeps/posix/spawni.c: Include <signal.h>.
16174 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16175 * sysdeps/pthread/aio_fsync.c: Likewise.
16176
4efeffc1 161772012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16178
ba63ba08
UD
16179 * conform/Makefile (tests): Run only when not cross-compiling and
16180 when fast-check is not defined.
16181
d94a4670
UD
16182 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16183 * conform/data/limits.h-data: Fixes for POSIX2008.
16184 * conform/run-conformtest.sh: Run all tests.
16185 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16186 headers.
16187 * include/bits/dlfcn.h: Likewise.
16188 * include/langinfo.h: Likewise.
16189 * include/monetary.h: Likewise.
16190 * include/sys/poll.h: Likewise.
16191
16192 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16193 for __USE_GNU.
16194 * posix/spawn.h: Define __need_sigset_t.
16195 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16196 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16197 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16198 to get sigevent_t only.
16199 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16200 only for __USE_GNU.
16201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16202 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16203 process_vm_writev only for __USE_GNU.
16204 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16205
16206 * conform/Makefile: For now ignore errors from run-conformtest.
16207 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16208 POSIX to avoid namespace pollution. Don't prepend headers.
16209 * conform/data/aio.h-data: Fixes for POSIX testing.
16210 * conform/data/fcntl.h-data: Likewise.
16211 * conform/data/glob.h-data: Likewise.
16212 * conform/data/grp.h-data: Likewise.
16213 * conform/data/pthread.h-data: Likewise.
16214 * conform/data/pwd.h-data: Likewise.
16215 * conform/data/signal.h-data: Likewise.
16216 * conform/data/spawn.h-data: Likewise.
16217 * conform/data/stdio.h-data: Likewise.
16218 * conform/data/stdlib.h-data: Likewise.
16219 * conform/data/stropts.h-data: Likewise.
16220 * conform/data/sys/mman.h-data: Likewise.
16221 * conform/data/sys/stat.h-data: Likewise.
16222 * conform/data/sys/types.h-data: Likewise.
16223 * conform/data/sys/wait.h-data: Likewise.
16224 * conform/data/time.h-data: Likewise.
16225 * conform/data/unistd.h-data: Likewise.
16226 * conform/data/utime.h-data: Likewise.
16227
16228 * io/sys/stat.h: fchmod was always in POSIX.
16229 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16230 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16231 * rt/aio.h: Define __need_timespec before including <time.h>.
16232 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16233 struct. Add forward declaration of pthread_attr_t and use it in
16234 sigevent.
16235 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16237 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16238 always remove CLK_TCK definition.
16239
c20105c3
AS
162402012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16241
16242 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16243
7a270350
UD
162442012-02-25 Ulrich Drepper <drepper@gmail.com>
16245
31341567
UD
16246 * conform/run-conformtest.sh: New file.
16247 * conform/Makefile: Run run-conformtest for tests.
16248 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16249 support.
16250
16251 * conform/data/uchar.h-data: New file.
16252 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16253 * conform/data/arpa/inet.h-data: Likewise.
16254 * conform/data/assert.h-data: Likewise.
16255 * conform/data/complex.h-data: Likewise.
16256 * conform/data/cpio.h-data: Likewise.
16257 * conform/data/ctype.h-data: Likewise.
16258 * conform/data/dirent.h-data: Likewise.
16259 * conform/data/dlfcn.h-data: Likewise.
16260 * conform/data/errno.h-data: Likewise.
16261 * conform/data/fcntl.h-data: Likewise.
16262 * conform/data/float.h-data: Likewise.
16263 * conform/data/fmtmsg.h-data: Likewise.
16264 * conform/data/fnmatch.h-data: Likewise.
16265 * conform/data/ftw.h-data: Likewise.
16266 * conform/data/glob.h-data: Likewise.
16267 * conform/data/grp.h-data: Likewise.
16268 * conform/data/iconv.h-data: Likewise.
16269 * conform/data/inttypes.h-data: Likewise.
16270 * conform/data/langinfo.h-data: Likewise.
16271 * conform/data/libgen.h-data: Likewise.
16272 * conform/data/limits.h-data: Likewise.
16273 * conform/data/locale.h-data: Likewise.
16274 * conform/data/math.h-data: Likewise.
16275 * conform/data/monetary.h-data: Likewise.
16276 * conform/data/mqueue.h-data: Likewise.
16277 * conform/data/ndbm.h-data: Likewise.
16278 * conform/data/net/if.h-data: Likewise.
16279 * conform/data/netdb.h-data: Likewise.
16280 * conform/data/netinet/in.h-data: Likewise.
16281 * conform/data/nl_types.h-data: Likewise.
16282 * conform/data/poll.h-data: Likewise.
16283 * conform/data/pthread.h-data: Likewise.
16284 * conform/data/pwd.h-data: Likewise.
16285 * conform/data/regex.h-data: Likewise.
16286 * conform/data/sched.h-data: Likewise.
16287 * conform/data/search.h-data: Likewise.
16288 * conform/data/semaphore.h-data: Likewise.
16289 * conform/data/setjmp.h-data: Likewise.
16290 * conform/data/signal.h-data: Likewise.
16291 * conform/data/spawn.h-data: Likewise.
16292 * conform/data/stdarg.h-data: Likewise.
16293 * conform/data/stdio.h-data: Likewise.
16294 * conform/data/stdlib.h-data: Likewise.
16295 * conform/data/string.h-data: Likewise.
16296 * conform/data/strings.h-data: Likewise.
16297 * conform/data/stropts.h-data: Likewise.
16298 * conform/data/sys/ipc.h-data: Likewise.
16299 * conform/data/sys/mman.h-data: Likewise.
16300 * conform/data/sys/msg.h-data: Likewise.
16301 * conform/data/sys/resource.h-data: Likewise.
16302 * conform/data/sys/select.h-data: Likewise.
16303 * conform/data/sys/sem.h-data: Likewise.
16304 * conform/data/sys/shm.h-data: Likewise.
16305 * conform/data/sys/socket.h-data: Likewise.
16306 * conform/data/sys/stat.h-data: Likewise.
16307 * conform/data/sys/statvfs.h-data: Likewise.
16308 * conform/data/sys/time.h-data: Likewise.
16309 * conform/data/sys/timeb.h-data: Likewise.
16310 * conform/data/sys/times.h-data: Likewise.
16311 * conform/data/sys/types.h-data: Likewise.
16312 * conform/data/sys/uio.h-data: Likewise.
16313 * conform/data/sys/un.h-data: Likewise.
16314 * conform/data/sys/utsname.h-data: Likewise.
16315 * conform/data/sys/wait.h-data: Likewise.
16316 * conform/data/syslog.h-data: Likewise.
16317 * conform/data/tar.h-data: Likewise.
16318 * conform/data/termios.h-data: Likewise.
16319 * conform/data/utime.h-data: Likewise.
16320 * conform/data/utmpx.h-data: Likewise.
16321 * conform/data/varargs.h-data: Likewise.
16322 * conform/data/wchar.h-data: Likewise.
16323 * conform/data/wctype.h-data: Likewise.
16324 * conform/data/wordexp.h-data: Likewise.
16325
16326 * include/stropts.h: New file.
16327 * include/uchar.h: New file.
16328 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16329 * include/assert.h: Likewise.
16330 * include/ctype.h: Likewise.
16331 * include/dirent.h: Likewise.
16332 * include/dlfcn.h: Likewise.
16333 * include/fcntl.h: Likewise.
16334 * include/fnmatch.h: Likewise.
16335 * include/glob.h: Likewise.
16336 * include/grp.h: Likewise.
16337 * include/libio.h: Likewise.
16338 * include/locale.h: Likewise.
16339 * include/math.h: Likewise.
16340 * include/net/if.h: Likewise.
16341 * include/netdb.h: Likewise.
16342 * include/netinet/in.h: Likewise.
16343 * include/pthread.h: Likewise.
16344 * include/pwd.h: Likewise.
16345 * include/regex.h: Likewise.
16346 * include/sched.h: Likewise.
16347 * include/search.h: Likewise.
16348 * include/setjmp.h: Likewise.
16349 * include/signal.h: Likewise.
16350 * include/stdio.h: Likewise.
16351 * include/stdlib.h: Likewise.
16352 * include/string.h: Likewise.
16353 * include/sys/cdefs.h: Likewise.
16354 * include/sys/mman.h: Likewise.
16355 * include/sys/msg.h: Likewise.
16356 * include/sys/resource.h: Likewise.
16357 * include/sys/select.h: Likewise.
16358 * include/sys/socket.h: Likewise.
16359 * include/sys/stat.h: Likewise.
16360 * include/sys/statvfs.h: Likewise.
16361 * include/sys/time.h: Likewise.
16362 * include/sys/times.h: Likewise.
16363 * include/sys/uio.h: Likewise.
16364 * include/sys/utsname.h: Likewise.
16365 * include/sys/wait.h: Likewise.
16366 * include/termios.h: Likewise.
16367 * include/time.h: Likewise.
16368 * include/ulimit.h: Likewise.
16369 * include/unistd.h: Likewise.
16370 * include/utime.h: Likewise.
16371 * include/wchar.h: Likewise.
16372 * include/wctype.h: Likewise.
16373 * include/wordexp.h: Likewise.
16374
16375 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16376
7a270350
UD
16377 * time/time.h: TIME_UTC must be a macro.
16378 Make timespec_get available for ISO C11 only as well.
16379
7724defc
UD
163802012-02-24 Ulrich Drepper <drepper@gmail.com>
16381
16382 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16383 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16384
6b1d1d46
JM
163852012-02-24 Joseph Myers <joseph@codesourcery.com>
16386
16387 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16388
0f8bbd69
JM
163892012-02-24 Joseph Myers <joseph@codesourcery.com>
16390
16391 * manual/texinfo.tex: Update to version 2012-01-19.16.
16392
66ab80bc
JM
163932012-02-24 Joseph Myers <joseph@codesourcery.com>
16394
16395 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16396
74981cc5
RM
163972012-02-24 Roland McGrath <roland@hack.frob.com>
16398
ee968201
RM
16399 [BZ #13738]
16400 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16401 * manual/fdl-1.3.texi: New file.
16402 * manual/fdl-1.1.texi: File removed.
16403
74981cc5
RM
16404 [BZ #13738]
16405 * manual/libc.texinfo (FDL_VERSION): New @set.
16406 Use it for mention of FDL in cover text.
16407 (Documentation License): Use it in @include file name.
16408
7bb764bc
JM
164092012-02-22 Joseph Myers <joseph@codesourcery.com>
16410 Roland McGrath <roland@hack.frob.com>
16411
16412 [BZ #5461]
16413 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16414 not LONG_LONG_MAX and LONG_LONG_MIN.
16415 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16416 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16417 name.
16418 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16419
6cbeae47
JM
164202012-02-22 Joseph Myers <joseph@codesourcery.com>
16421
16422 [BZ #2547]
16423 [BZ #11365]
16424 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16425 manipulate bits before adding and subtracting TWO23[sx].
16426 * math/libm-test.inc (nearbyint_test): Add more tests.
16427
fe45ce09
JM
164282012-02-22 Joseph Myers <joseph@codesourcery.com>
16429
16430 [BZ #2548]
16431 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16432 bits before adding and subtracting TWO23[sx].
16433 * math/libm-test.inc (rint_test): Add more tests.
16434 (rint_test_tonearest): Likewise.
16435 (rint_test_towardzero): Likewise.
16436 (rint_test_downward): Likewise.
16437 (rint_test_upward: Likewise.
16438
ff3b3d82
JM
164392012-02-22 Joseph Myers <joseph@codesourcery.com>
16440
16441 [BZ #10110]
16442 * include/stdc-predef.h: New file. Extracted from features.h.
16443 * include/features.h: Include stdc-predef.h.
16444 * Makefile (headers): Add stdc-predef.h.
16445 * CONFORMANCE (Compiler limitations): Update.
16446
ef0aab35
JM
164472012-02-22 Joseph Myers <joseph@codesourcery.com>
16448
16449 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16450
58639409
DM
164512012-02-21 David S. Miller <davem@davemloft.net>
16452
16453 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16454 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16455
c0e70b25
DM
164562012-02-20 David S. Miller <davem@davemloft.net>
16457
16458 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16459 using a normal save/restore sequence, rather than allocating a
16460 dummy stack frame just to store a frame pointer and restore.
16461 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16462
fb06851d
JM
164632012-02-21 Joseph Myers <joseph@codesourcery.com>
16464
16465 * manual/install.texi: Fix stray word in line-wrapped comment.
16466
7a8b71c3
DM
164672012-02-20 David S. Miller <davem@davemloft.net>
16468
d510c123
DM
16469 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16470 both binutils and gcc support GOTDATA.
16471
0722d7c2
DM
16472 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16473 "rd %pc" in the PIC register setup sequences.
16474
3d2b3019
DM
16475 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16476 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16477 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16478 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16479 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16481 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16482 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16483 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16484 (SYSCALL_ERROR_HANDLER): Likewise.
16485 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16486 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16487 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16488 (SYSCALL_ERROR_HANDLER): Likewise.
16489
c80098a9
DM
16490 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16491 (HAVE_GCC_GOTDATA): New.
16492 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16493 relocation support in both binutils and gcc.
16494 * sysdeps/sparc/elf/configure: Regenerate.
16495
3a2545a0
DM
16496 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16497 * sysdeps/sparc/sparc32/elf/configure: Delete.
16498 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16499 * sysdeps/sparc/sparc64/elf/configure: Delete.
16500 * sysdeps/sparc/elf/configure.in: New file.
16501 * sysdeps/sparc/elf/configure: Generate.
16502
7a8b71c3
DM
16503 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16504 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16505 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16506 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16507 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16508
f1e86fca
JM
165092012-02-21 Joseph Myers <joseph@codesourcery.com>
16510
16511 * manual/install.texi: Do not mention specific glibc version
16512 numbers.
16513 * manual/libc.texinfo (VERSION, UPDATED): Update.
16514 (@copying): Use @copyright{} and range of years.
16515
0e7dfaef
JM
165162012-02-21 Joseph Myers <joseph@codesourcery.com>
16517
16518 [BZ #13695]
16519 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16520 [crti.S not in sysdirs] (generated): Do not append.
16521 [crti.S not in sysdirs] (omit-deps): Likewise.
16522 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16523 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16524 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16525 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16526 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16527 Likewise.
16528 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16529 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16530 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16531 * csu/defs.awk: Remove file.
16532 * sysdeps/generic/initfini.c: Likewise.
16533 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16534 variable.
16535 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16536 Likewise.
16537
599af3ca
JM
165382012-02-20 Joseph Myers <joseph@codesourcery.com>
16539
16540 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16541 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16542 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16543 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16544 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16545 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16546 <bits/epoll.h>.
16547 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16548 (__EPOLL_PACKED): Define to empty if not defined by
16549 <bits/epoll.h>.
16550 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16552 bits/epoll.h.
16553
0e499750
JM
165542012-02-20 Joseph Myers <joseph@codesourcery.com>
16555
16556 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16557 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16558 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16559 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16560 <bits/timerfd.h>.
16561 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16563 bits/timerfd.h.
16564
5ad91f6e
JM
165652012-02-20 Joseph Myers <joseph@codesourcery.com>
16566
16567 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16568 in C locale.
16569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16570 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16571 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16573
06b99b02
AJ
165742012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16575
16576 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16577 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16578
7638c0fd
AS
165792012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16580
16581 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16582 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16583 defined.
16584 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16585 Likewise.
16586 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16587 entry for 2.16.
16588
92221550
AJ
165892012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16590
16591 * math/w_acos.c: Use non-signaling floating-point comparisons.
16592 * math/w_acosf.c: Likewise.
16593 * math/w_acosh.c: Likewise.
16594 * math/w_acoshf.c: Likewise.
16595 * math/w_acoshl.c: Likewise.
16596 * math/w_acosl.c: Likewise.
16597 * math/w_asin.c: Likewise.
16598 * math/w_asinf.c: Likewise.
16599 * math/w_asinl.c: Likewise.
16600 * math/w_atanh.c: Likewise.
16601 * math/w_atanhf.c: Likewise.
16602 * math/w_atanhl.c: Likewise.
16603 * math/w_exp2.c: Likewise.
16604 * math/w_exp2f.c: Likewise.
16605 * math/w_exp2l.c: Likewise.
16606 * math/w_j0.c: Likewise.
16607 * math/w_j0f.c: Likewise.
16608 * math/w_j0l.c: Likewise.
16609 * math/w_j1.c: Likewise.
16610 * math/w_j1f.c: Likewise.
16611 * math/w_j1l.c: Likewise.
16612 * math/w_jn.c: Likewise.
16613 * math/w_jnf.c: Likewise.
16614 * math/w_log.c: Likewise.
16615 * math/w_log10.c: Likewise.
16616 * math/w_log10f.c: Likewise.
16617 * math/w_log10l.c: Likewise.
16618 * math/w_log2.c: Likewise.
16619 * math/w_log2f.c: Likewise.
16620 * math/w_log2l.c: Likewise.
16621 * math/w_logf.c: Likewise.
16622 * math/w_logl.c: Likewise.
16623 * math/w_sqrt.c: Likewise.
16624 * math/w_sqrtf.c: Likewise.
16625 * math/w_sqrtl.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16628 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16629 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16630 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16631
ebaf36eb
JM
166322012-02-19 Joseph Myers <joseph@codesourcery.com>
16633
16634 [BZ #9739]
16635 * manual/string.texi (strnlen): Use correct parameter name in
16636 equivalent expression.
16637
71c254a6
JM
166382012-02-19 Joseph Myers <joseph@codesourcery.com>
16639
16640 [BZ #11174]
16641 * manual/users.texi (seteuid): Consistently use neweuid for
16642 argument name.
16643
16d2c631
JM
166442012-02-19 Joseph Myers <joseph@codesourcery.com>
16645
16646 [BZ #13704]
16647 * manual/nss.texi (Services in the NSS configuration): Correct
16648 list of services in example configuration file.
16649
cd837b09
NB
166502012-02-19 Nick Bowler <nbowler@draconx.ca>
16651
16652 [BZ #11322]
16653 * manual/arith.texi: Remove statements about negative zero
16654 behaving identically to zero.
16655
02c4bbad
JM
166562012-02-18 Joseph Myers <joseph@codesourcery.com>
16657
16658 [BZ #5993]
16659 * manual/install.texi: Do not document upgrading from libc5.
16660
366842e7
JM
166612012-02-18 Joseph Myers <joseph@codesourcery.com>
16662
16663 [BZ #4596]
16664 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16665
dd54084d
DM
166662012-02-18 David S. Miller <davem@davemloft.net>
16667
16668 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16669 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16670 %o7 across the call.
16671 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16672 instead.
16673 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16674 SETUP_PIC_REG_LEAF.
16675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16676 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16677 * sysdeps/sparc/crtn.S: Likewise.
16678
2bcc53a3
UD
166792012-02-17 Ulrich Drepper <drepper@gmail.com>
16680
16681 * aout/Makefile: Remove.
16682
09c093b5
RK
166832012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16684
16685 [BZ #13058]
16686 * manual/examples/argp-ex1.c (main): Format definition in GNU
16687 style.
16688 * manual/examples/argp-ex2.c (main): Likewise.
16689 * manual/examples/argp-ex3.c (main): Likewise.
16690 * manual/examples/argp-ex4.c (main): Likewise.
16691 * manual/examples/longopt.c (main): Use new-style prototype
16692 definition.
16693 * manual/examples/strncat.c (main): Specify return type and use
16694 (void) for arguments.
16695 * manual/examples/subopt.c (main): Use char **argv argument.
16696
2ee633a2
JM
166972012-02-17 Joseph Myers <joseph@codesourcery.com>
16698
16699 [BZ #5077]
16700 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16701 rounding modes.
16702
0520adde
FB
167032012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16704
16705 [BZ #6907]
16706 * manual/string.texi (strchr): Change when strchrnul is
16707 recommended.
16708
3f4081cd
DGM
167092012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16710
16711 [BZ #174]
16712 * manual/locale.texi (setlocale): Document LOCPATH.
16713
d1b10e78
JM
167142012-02-17 Joseph Myers <joseph@codesourcery.com>
16715
16716 [BZ #10210]
16717 * manual/process.texi (execle): Move @dots{} before last argument.
16718
79c6869c
PB
167192012-02-17 Paul Bolle <pebolle@tiscali.nl>
16720
16721 [BZ #12047]
16722 * manual/charset.texi (Generic Charset Conversion): Fix typo
16723 (LC_TYPE -> LC_CTYPE).
16724
cc6e48bc
NB
167252012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16726
16727 [BZ #5805]
16728 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16729 (scalbnf): Likewise.
16730 (scalbnl): Likewise.
16731 (scalbln): Likewise.
16732 (scalblnf): Likewise.
16733 (scalblnl): Likewise.
16734 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16735 (vwarnx): Likewise.
16736 (verr): Likewise.
16737 (verrx): Likewise.
16738 * manual/filesys.texi (telldir): Use braces around return type.
16739 * manual/llio.texi (mmap): Add space after comma.
16740 (mmap64): Likewise.
16741 * manual/math.texi (jn): Use @var{} on parameter names.
16742 (jnf): Likewise.
16743 (jnl): Likewise.
16744 (yn): Likewise.
16745 (ynf): Likewise.
16746 (ynl): Likewise.
16747 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16748 line.
16749 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16750 "...".
16751 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16752 (sched_get_priority_max): Likewise.
16753 * manual/signal.texi (sigvec): Add space after comma.
16754 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16755 names.
16756 (if_indextoname): Likewise.
16757 (if_freenameindex): Likewise.
16758 (sendto): Use ',' instead of '.' in prototype.
16759 * manual/startup.texi (syscall): Use @dots{} instead of literal
16760 "...".
16761 * manual/stdio.texi (__fpending): Separate initial words of
16762 paragraph from @deftypefun line.
16763 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16764 "...".
16765 (vsyslog): Use @var{} on parameter names.
16766 * manual/terminal.texi (stty): Use @var{} on parameter names.
16767 * manual/users.texi (getutmp): Use @var{} on parameter names.
16768 (getutmpx): Likewise.
16769
5b23062f
JM
167702012-02-17 Joseph Myers <joseph@codesourcery.com>
16771
16772 [BZ #6884]
16773 * manual/stdio.texi (fopen): Fix typos in description of
16774 ",ccs=STRING".
16775
8dee4833
AJ
167762012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16777
16778 [BZ #4026]
16779 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16780 get clock_id definition.
16781
9078ce93
TS
167822012-02-17 Thomas Schwinge <thomas@schwinge.name>
16783
16784 [BZ #4822]
16785 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16786 (madvise): Cast every argument to void on its own.
16787
3835c55f
JM
167882012-02-17 Joseph Myers <joseph@codesourcery.com>
16789
16790 [BZ #9902]
16791 * manual/startup.texi (Exit Status): Fix typo.
16792
35c47e37
JM
167932012-02-17 Joseph Myers <joseph@codesourcery.com>
16794
16795 [BZ #10140]
16796 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16797 * manual/examples/argp-ex2.c: Likewise.
16798 * manual/examples/argp-ex3.c: Likewise.
16799
e3b69ca7
RH
168002012-02-16 Richard Henderson <rth@redhat.com>
16801
16802 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16803 * sysdeps/s390/s390-32/initfini.c: Remove.
16804 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16805 * sysdeps/s390/s390-64/initfini.c: Remove.
16806
df83af67
KK
168072012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16808
16809 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16810 compiler output for sysdeps/generic/initfini.c.
16811 * sysdeps/sh/elf/initfini.c: Remove file.
16812
f63f3380
DM
168132012-02-16 David S. Miller <davem@davemloft.net>
16814
fb59b3a4
DM
16815 [BZ #11494]
16816 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16817
f63f3380
DM
16818 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16819 * sysdeps/sparc/crti.S: New file.
16820 * sysdeps/sparc/crtn.S: New file.
16821 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16822 * sysdeps/sparc/sparc64/Makefile: Likewise.
16823
df6a4a4a
MF
168242012-02-15 Mike Frysinger <vapier@gentoo.org>
16825
6dd8f3dc 16826 [BZ #3335]
df6a4a4a
MF
16827 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16828
1cac7236
RM
168292012-02-15 Roland McGrath <roland@hack.frob.com>
16830
d2c736f8
RM
16831 [BZ #4822]
16832 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16833
1cac7236
RM
16834 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16835 (write, read, close): Likewise.
16836 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16837
8e475601
JM
168382012-02-15 Joseph Myers <joseph@codesourcery.com>
16839
16840 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16841 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16842 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16843 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16844 <bits/signalfd.h>.
16845 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16847 bits/signalfd.h.
16848
ed656b40
MP
168492012-02-14 Marek Polacek <polacek@redhat.com>
16850
16851 * sysdeps/x86_64/crti.S: New file.
16852 * sysdeps/x86_64/crtn.S: New file.
16853 * sysdeps/x86_64/elf/initfini.c: Remove file.
16854
2a979d3a
JM
168552012-02-13 Joseph Myers <joseph@codesourcery.com>
16856
16857 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16858 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16859 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16860 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16861 <bits/inotify.h>.
16862 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16864 bits/inotify.h.
16865
2a418ac3
JM
168662012-02-13 Joseph Myers <joseph@codesourcery.com>
16867
16868 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16869 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16870 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16871 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16872 <bits/eventfd.h>.
16873 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16875 bits/eventfd.h.
16876
fb779be7
TS
168772012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16878
e19e83c5
RM
16879 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16880 __feraiseexcept instead of feraiseexcept.
7c35ffed 16881
fb779be7
TS
16882 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16883 nanosleep invocations.
16884 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16885 strings, and add error checking for a nanosleep invocations.
16886
59ba27a6
PE
168872012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16888
16889 Replace FSF snail mail address with URLs, as per GNU coding standards.
16890 Most of the snail mail addresses were wrong anyway, and omitting
16891 them makes the source code easier to maintain. Almost all of the
16892 changes are to license notices and to locale LC_IDENTIFICATION
16893 addresses, except for this one:
16894 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16895 not its snail mail address.
16896
57b957eb
RH
168972012-02-09 Richard Henderson <rth@twiddle.net>
16898
af850b1c
RH
16899 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16900 of kernel-features.h.
16901
57b957eb
RH
16902 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16903
6b73181a
MP
169042012-02-08 Marek Polacek <polacek@redhat.com>
16905
16906 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16907 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16908 * sysdeps/gnu/_G_config.h: Likewise.
16909 * sysdeps/generic/_G_config.h: Likewise.
16910
26ecc33a
AS
169112012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16912
6c6dbc63
AS
16913 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16914 tests.
16915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16916
e216c012
AS
16917 * sysdeps/powerpc/powerpc32/crti.S: New file.
16918 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16919 * sysdeps/powerpc/powerpc64/crti.S: New file.
16920 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16921
26ecc33a
AS
16922 * Makeconfig (have-initfini): Don't set.
16923 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16924 * configure.in (nopic_initfini): Don't substitute.
16925 * config.h.in (HAVE_INITFINI): Don't #undef.
16926 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16927 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16928
3add8e13
JM
169292012-02-08 Joseph Myers <joseph@codesourcery.com>
16930
16931 Support crti.S and crtn.S provided directly by architectures.
16932 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16933 [crti.S in sysdirs] (omit-deps): Likewise.
16934 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16935 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16936 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16937 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16938 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16939 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16940 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16941 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16942 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16943 compiler output for sysdeps/generic/initfini.c.
16944 * sysdeps/i386/elf/Makefile: Remove file.
16945 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16946
a22f12b4
MP
169472012-02-07 Marek Polacek <polacek@redhat.com>
16948
16949 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16950 * sysdeps/gnu/_G_config.h: Likewise.
16951 * sysdeps/mach/hurd/_G_config.h: Likewise.
16952
148cf100
MP
169532012-02-07 Marek Polacek <polacek@redhat.com>
16954
16955 * math/Makefile (tests): Add tst-CMPLX2.
16956 * math/tst-CMPLX2.c: New file.
16957
cfdc0dd7
AS
169582012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16959
84ba42c4
AS
16960 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16961
cfdc0dd7
AS
16962 * math/libm-test.inc (jn_test): Add missing L suffix.
16963
622c86f4
MP
169642012-02-06 Marek Polacek <polacek@redhat.com>
16965
16966 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16967 * sysdeps/i386/fpu/e_powf.S: Likewise.
16968 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16969 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16970 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16971 * sysdeps/i386/fpu/e_pow.S: Likewise.
16972 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16973 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16974 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16975 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16976 * sysdeps/i386/fpu/e_log2.S: Likewise.
16977 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16978 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16979 * sysdeps/i386/fpu/e_powl.S: Likewise.
16980 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16981 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16982 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16983 * sysdeps/i386/fpu/e_logl.S: Likewise.
16984 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16985 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16986 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16987 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16988 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16989 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16990 * sysdeps/i386/fpu/e_log.S: Likewise.
16991 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16992 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16993 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16994 * sysdeps/i386/fpu/e_logf.S: Likewise.
16995 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16996 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16997 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16998 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16999 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17000 * sysdeps/i386/fpu/e_log10.S: Likewise.
17001 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17002 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17003 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17004 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17005 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17006 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17007 * sysdeps/i386/asm-syntax.h: Likewise.
17008 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17009 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17010 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17011 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17012 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17013 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17014 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17015 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17016 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17017 * sysdeps/powerpc/sysdep.h: Likewise.
17018 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17019 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17020
d4a54ac6
JM
170212012-02-06 Joseph Myers <joseph@codesourcery.com>
17022
17023 [BZ #411]
17024 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17025
314054ea
JM
170262012-02-06 Joseph Myers <joseph@codesourcery.com>
17027
17028 * sysdeps/i386/sysdep.h: Include <features.h>.
17029 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17030 version.
17031
d8e0ca50
JM
170322012-02-05 Joseph Myers <joseph@codesourcery.com>
17033
17034 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17035 Define.
17036 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17037 LOAD_PIC_REG_STR.
17038
b1da7dd9
JM
170392012-02-03 Joseph Myers <joseph@codesourcery.com>
17040
17041 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17042 (SETUP_PIC_REG): Use GET_PC_THUNK.
17043 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17044 macro.
17045
9a1d9254
JM
170462012-02-03 Joseph Myers <joseph@codesourcery.com>
17047
17048 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17049 for non-PIC compilation.
17050 (SETUP_PIC_REG): Add .p2align directive.
17051 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17052 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17053 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17054 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17055 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17056 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17057 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17058 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17059 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17060 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17061 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17062 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17063 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17064 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17065 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17066 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17067 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17068 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17069 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17070 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17071 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17072 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17073 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17074 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17075 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17076 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17077 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17078 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17079 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17080 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17081 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17082 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17083 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17084 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17085 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17086 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17087 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17088 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17089 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17090 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17091 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17092
65dc3b75
JM
170932012-02-03 Joseph Myers <joseph@codesourcery.com>
17094
17095 * math/tst-CMPLX.c: Include <stdio.h>.
17096
d55bf177
JM
170972012-01-31 Joseph Myers <joseph@codesourcery.com>
17098
17099 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17100 float.
17101 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17102 * sysdeps/sparc/bits/mathdef.h: Likewise.
17103
69db4f8f
MP
171042012-01-31 Marek Polacek <polacek@redhat.com>
17105
17106 * libio/libio.h: Don't define _PARAMS.
17107 * locale/programs/config.h: Don't define PARAMS.
17108 * stdlib/strtol_l.c: Likewise.
17109 (__strtol_l): Remove PARAMS from the prototype.
17110
41b81892
UD
171112012-01-31 Ulrich Drepper <drepper@gmail.com>
17112
3b49edc0
UD
17113 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17114 names. Just use the correct names. Remove unnecessary wrapper
17115 functions.
17116 * malloc/arena.c: Likewise.
17117 * malloc/hooks.c: Likewise.
17118
41b81892
UD
17119 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17120 ARENA_TEST says not to. Simplify test for creation of a new arena.
17121 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17122
27a25b6e
UD
171232012-01-30 Ulrich Drepper <drepper@gmail.com>
17124
17125 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17126 into tail calls.
17127 (update_get_addr): New function.
17128 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17129 GET_ADDR_MODULE parameter.
17130
c8a89e7d
JM
171312012-01-30 Joseph Myers <joseph@codesourcery.com>
17132
17133 * crypt/cert.c: Remove __STDC__ conditionals.
17134 * crypt/crypt-entry.c: Likewise.
17135 * crypt/crypt_util.c: Likewise.
17136 * libio/filedoalloc.c: Likewise.
17137 * libio/fileops.c: Likewise.
17138 * libio/genops.c: Likewise.
17139 * libio/iofclose.c: Likewise.
17140 * libio/iofdopen.c: Likewise.
17141 * libio/iofopen.c: Likewise.
17142 * libio/iofopen64.c: Likewise.
17143 * libio/iogetdelim.c: Likewise.
17144 * libio/iopopen.c: Likewise.
17145 * libio/obprintf.c: Likewise.
17146 * libio/oldfileops.c: Likewise.
17147 * libio/oldiofclose.c: Likewise.
17148 * libio/oldiofdopen.c: Likewise.
17149 * libio/oldiofopen.c: Likewise.
17150 * libio/oldiopopen.c: Likewise.
17151 * libio/wfiledoalloc.c: Likewise.
17152 * libio/wgenops.c: Likewise.
17153 * locale/programs/xmalloc.c: Likewise.
17154 * misc/syslog.c: Likewise.
17155 * stdio-common/xbug.c: Likewise.
17156 * string/memchr.c: Likewise.
17157 * string/memcmp.c: Likewise.
17158 * string/memrchr.c: Likewise.
17159 * string/rawmemchr.c: Likewise.
17160 * sysdeps/posix/getcwd.c: Likewise.
17161 * time/strftime_l.c: Likewise.
17162
3b100462
JM
171632012-01-30 Joseph Myers <joseph@codesourcery.com>
17164
17165 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17166 * config.make.in (config-cflags-sse2avx): Define.
17167 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17168 Fix typo.
17169
607998af
CM
171702012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17171
17172 * scripts/config.guess: Update from upstream config git repository.
17173 * scripts/config.sub: Likewise.
17174
3601428f
CM
171752012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17176
3ac8b282
CM
17177 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17178 (EM_NUM): Update.
17179 (R_TILEPRO_*, R_TILEGX_*): New macros.
17180
e034841e
CM
17181 * scripts/firstversions.awk: Fix bug in version range handling.
17182
540d7568
CM
17183 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17184
3601428f
CM
17185 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17186
463de862
CM
17187 * include/sys/epoll.h: New file.
17188 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17189 libc_hidden_def.
17190
73139a76
UD
171912012-01-28 Ulrich Drepper <drepper@gmail.com>
17192
96bc5b45
UD
17193 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17194 Avoid unnecessary __WORDSIZE == 64 test.
17195 (fmaxf): Use VEX format if possible.
17196 (fmax): Likewise.
17197 (fminf): Likewise.
17198 (fmin): Likewise.
17199
56f6f6a2
UD
17200 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17201 * math/math_private.h: Remove libc_fegetround* and
17202 libc_fesetround*.
17203 * sysdeps/i386/configure.in: Check for -msse2avx.
17204 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17205 also if SSE2AVX is defined.
17206 Remove libc_fegetround* and libc_fesetround*.
17207 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17208 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17209 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17210 of HAS_YMM_USABLE.
17211 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17212 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17213 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17214 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17215 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17216
73139a76
UD
17217 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17218
d73f93a4
AZ
172192012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17220
17221 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17222 size is not set.
17223 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17224
6ee65ed6
UD
172252012-01-27 Ulrich Drepper <drepper@gmail.com>
17226
17227 [BZ #13618]
17228 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17229 relocation.
17230 * Makeconfig (libm): Define.
17231 * elf/Makefile: Add rules to build and run tst-relsort1.
17232 * elf/tst-relsort1.c: New file.
17233 * elf/tst-relsort1mod1.c: New file.
17234 * elf/tst-relsort1mod2.c: New file.
17235
8db21882
JM
172362012-01-27 Joseph Myers <joseph@codesourcery.com>
17237
17238 * math/s_ldexp.c: Remove __STDC__ conditionals.
17239 * math/s_ldexpf.c: Likewise.
17240 * math/s_ldexpl.c: Likewise.
17241 * math/s_nextafter.c: Likewise.
17242 * math/s_nexttowardf.c: Likewise.
17243 * math/s_significand.c: Likewise.
17244 * math/s_significandf.c: Likewise.
17245 * math/s_significandl.c: Likewise.
17246 * math/w_jnl.c: Likewise.
17247 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17248 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17249 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17250 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17251 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17252 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17253 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17254 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17255 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17256 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17257 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17258 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17259 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17260 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17261 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17262 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17263 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17264 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17265 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17266 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17267 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17268 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17269 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17270 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17271 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17272 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17273 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17274 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17275 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17276 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17277 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17278 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17279 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17280 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17281 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17282 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17283 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17284 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17285 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17286 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17287 * sysdeps/ieee754/k_standard.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17315 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17317 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17318 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17320 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17321 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17323 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17345 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17349 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17354 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17358 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17362 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17363 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17367 * sysdeps/ieee754/s_matherr.c: Likewise.
17368 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17369 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17372
965a54a4
JM
173732012-01-26 Joseph Myers <joseph@codesourcery.com>
17374
17375 * crypt/md5.h: Remove __STDC__ conditionals.
17376 * libio/libioP.h: Likewise.
17377 * locale/programs/config.h: Likewise.
17378 * sysdeps/generic/sysdep.h: Likewise.
17379 * sysdeps/i386/asm-syntax.h: Likewise.
17380 * sysdeps/s390/asm-syntax.h: Likewise.
17381 * sysdeps/unix/sysdep.h: Likewise.
17382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17384
7071ad79
JM
173852012-01-26 Joseph Myers <joseph@codesourcery.com>
17386
17387 * libio/libio.h: Remove __STDC__ conditionals.
17388 * malloc/obstack.h: Likewise.
17389 * math/complex.h: Likewise.
17390 * math/math.h: Likewise.
17391 * sysdeps/generic/_G_config.h: Likewise.
17392 * sysdeps/gnu/_G_config.h: Likewise.
17393 * sysdeps/mach/hurd/_G_config.h: Likewise.
17394 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17395 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17396 * sysdeps/sparc/bits/mathdef.h: Likewise.
17397
afc5ed09
UD
173982012-01-26 Ulrich Drepper <drepper@gmail.com>
17399
17400 [BZ #13583]
17401 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17402 Clean up HAS_* macros.
afc5ed09 17403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17404 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17405 possible.
17406 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17407 HAS_AVX.
17408 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17409 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17411 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17412 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17413
bdb6de1d
JM
174142012-01-25 Joseph Myers <joseph@codesourcery.com>
17415
17416 * elf/tst-unique3.cc (gets): Remove declaration.
17417 * elf/tst-unique3lib.cc (gets): Likewise.
17418 * elf/tst-unique3lib2.cc (gets): Likewise.
17419 * elf/tst-unique4.cc (gets): Likewise.
17420
b15549e6
UD
174212012-01-24 Ulrich Drepper <drepper@gmail.com>
17422
17423 * include/stdio.h: Add C++ protection. Add gets declarations and
17424 definitions.
17425 * debug/tst-chk1.c: Don't declare gets here.
17426 * stdio-common/tst-gets.c: Likewise.
17427
a037381f
JM
174282012-01-24 Joseph Myers <joseph@codesourcery.com>
17429
17430 * posix/glob: Remove directory.
17431
f1d4aa75
JM
174322012-01-24 Joseph Myers <joseph@codesourcery.com>
17433
17434 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17435
81c0c964
PT
174362012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17437
17438 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17439 of the non-standard EPFNOSUPPORT.
17440
0ea698ae
ST
174412011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17442
17443 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17444 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17445 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17446
d220b117
UD
174472012-01-21 Ulrich Drepper <drepper@gmail.com>
17448
17449 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17450
3e1aa84e
UD
174512012-01-20 Ulrich Drepper <drepper@gmail.com>
17452
17453 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17454 transient errors.
17455 * nscd/grpcache.c (cache_addgr): Likewise.
17456 * nscd/hstcache.c (cache_addhst): Likewise.
17457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17458 * nscd/pwdcache.c (cache_addpw): Likewise.
17459 * nscd/servicescache.c (cache_addserv): Likewise.
17460
400aa020
UD
174612012-01-16 Ulrich Drepper <drepper@gmail.com>
17462
d77e7869
UD
17463 * malloc/malloc.c: Various cleanups.
17464 * malloc/hooks.c: Likewise.
17465
400aa020
UD
17466 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17467 * stdlib/bug-fmtmsg1.c: New file.
17468
17469 * stdlib/fmtmsg.c (init): Add missing unlock.
17470 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17471
e0a309cf
MP
174722012-01-12 Marek Polacek <polacek@redhat.com>
17473
17474 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17475 and _GNU_SOURCE.
17476
929d11c7
WS
174772012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17478
17479 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17480 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17481 macro to ensure uniqueness of label name.
17482 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17483 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17484
41d0e869
UD
174852012-01-11 Ulrich Drepper <drepper@gmail.com>
17486
0cc5ed3b
UD
17487 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17488
41d0e869
UD
17489 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17490 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17491 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17493
a47a831a
UD
174942012-01-10 Ulrich Drepper <drepper@gmail.com>
17495
daa891c0
UD
17496 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17497
17498 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17499 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17500 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17501
e58ef0f2
UD
17502 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17503
a47a831a 17504 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17505 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17506 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17508
17509 * math/bits/math-finite.h: Add ldexp support.
17510
a0bfc9c7
MP
175112012-01-10 Marek Polacek <polacek@redhat.com>
17512
17513 * locale/programs/localedef.h (show_archive_content): Add noreturn
17514 attribute.
17515
d6e97a1d
UD
175162012-01-09 Ulrich Drepper <drepper@gmail.com>
17517
17518 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17519
d5835c26
UD
175202012-01-08 Ulrich Drepper <drepper@gmail.com>
17521
e5f484c6
UD
17522 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17523
d5835c26
UD
17524 * io/Makefile (headers): Add bits/poll2.h.
17525
d1f741e9
WS
175262011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17527
17528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17529 typo #include statement.
17530
ec09c1c4
UD
175312012-01-08 Ulrich Drepper <drepper@gmail.com>
17532
17533 * include/sys/cdefs.h: Define __attribute_alloc_size.
17534 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17535 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17536 * elf/pldd.c: Likewise.
17537 * iconv/iconv_charmap.c: Likewise.
17538 * iconv/iconvconfig.c: Likewise.
17539 * iconv/strtab.c: Likewise.
17540 * locale/programs/locale.c: Likewise.
17541 * locale/programs/localedef.h: Likewise.
17542 * locale/programs/simple-hash.c: Likewise.
17543 * nscd/nscd.h: Likewise.
17544 * nss/makedb.c: Likewise.
17545 * sysdeps/generic/ldconfig.h: Likewise.
17546 * locale/programs/localedef.c: Remove xmalloc prototype.
17547 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17548
20b38e03
PP
175492012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17550
17551 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17552 appropriate.
17553
a0da5fe1
UD
175542012-01-08 Ulrich Drepper <drepper@gmail.com>
17555
1d5a644a 17556 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17557 * math/tst-CMPLX.c: New file.
1d5a644a 17558
8784a6db
UD
17559 * math/complex.h (CMPLXL): Fix typo.
17560
d9a216c0
UD
17561 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17562 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17563 GLIBC_2.16.
17564 * debug/tst-chk1.c: Add poll and ppoll tests.
17565 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17566 * include/sys/poll.h: Add hidden proto for ppoll.
17567 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17568 * sysdeps/mach/hurd/ppoll.c: Likewise.
17569 * io/ppoll.c: Likewise.
17570 * debug/poll_chk.c: New file.
17571 * debug/ppoll_chk.c: New file.
17572 * include/bits/poll2.h: New file.
17573 * io/bits/poll2.h: New file.
17574
ac097f5c
UD
17575 [BZ #1350]
17576 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17577
2119dcfa
UD
17578 * configure.in: static is always set to yes. Remove.
17579 * config.make.in: Don't set build-static.
17580 * Makeconfig: Remove use of build-static.
17581 * dlfcn/Makefile: Likewise.
17582 * elf/Makefile: Likewise.
17583 * math/Makefile: Likewise.
17584 * misc/Makefile: Likewise.
17585 * nptl/Makefile: Likewise.
17586 * sysdeps/mach/hurd/Makefile: Likewise.
17587
121766a9
UD
17588 * configure.in: PWD_P is not used anymore.
17589 * config.make.in: Remove PWD_P entry.
17590
51a1d39c 17591 * configure.in: Remove last remnants of RANLIB.
8720d066 17592 No need to check for signed size_t anymore.
215f4bdc
UD
17593 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17594 and IA-64.
3857022a 17595 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17596 * aclocal.m4: Likewise.
17597
d3ed7225
UD
17598 * wcsmbs/mbrtoc16.c: Implement using towc function.
17599 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17600 * wcsmbs/wcsmbsload.c: Likewise.
17601 * iconv/gconv_simple.c: Likewise.
17602 * iconv/gconv_int.h: Likewise.
17603 * iconv/gconv_builtin.h: Likewise.
17604 * iconv/iconv_prog.c: Remove CHAR16 handling.
17605
17606 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17607
17608 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17609
a0da5fe1
UD
17610 * configure.in: Remove --with-elf and --enable-bounded options.
17611 Dont set base_machine for ia64. More non-ELF conditions removed.
17612 Remove testing and setting of leading underscore information.
17613 * config.make.in (build-bounded): Set to no.
17614 * config.h.in: Remove NO_UNDERSCORES entry.
17615 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17616 them.
17617 * csu/start.c: Remove !NO_UNDERSCORE code.
17618 * locale/localeinfo.h: Likewise.
17619 * sysdeps/generic/machine-gmon.h: Likewise.
17620 * sysdeps/generic/sysdep.h: Likewise.
17621 * sysdeps/i386/sysdep.h: Likewise.
17622 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17623 * sysdeps/mach/sysdep.h: Likewise.
17624 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17625 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17626 * sysdeps/sh/sysdep.h: Likewise.
17627 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17628 * sysdeps/unix/i386/sysdep.S: Likewise.
17629 * sysdeps/unix/sparc/start.c: Likewise.
17630 * sysdeps/unix/sparc/sysdep.S: Likewise.
17631 * sysdeps/unix/sparc/sysdep.h: Likewise.
17632 * sysdeps/unix/start.c: Likewise.
17633 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17634 * sysdeps/x86_64/sysdep.h: Likewise.
17635
df78418a
UD
176362012-01-07 Ulrich Drepper <drepper@gmail.com>
17637
a784e502
UD
17638 [BZ #13553]
17639 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17640 for non-gcc.
17641 * argp/argp-fmtstream.h: Use const instead __const.
17642 * argp/argp.h: Likewise.
17643 * assert/assert.h: Likewise.
17644 * bits/fenv.h: Likewise.
17645 * bits/sched.h: Likewise.
17646 * bits/sigset.h: Likewise.
17647 * bits/sigthread.h: Likewise.
17648 * catgets/nl_types.h: Likewise.
17649 * conform/data/pthread.h-data: Likewise.
17650 * crypt/crypt-private.h: Likewise.
17651 * crypt/crypt.h: Likewise.
17652 * crypt/crypt_util.c: Likewise.
17653 * ctype/ctype.h: Likewise.
17654 * debug/execinfo.h: Likewise.
17655 * debug/mbsnrtowcs_chk.c: Likewise.
17656 * debug/mbsrtowcs_chk.c: Likewise.
17657 * debug/wcsnrtombs_chk.c: Likewise.
17658 * debug/wcsrtombs_chk.c: Likewise.
17659 * debug/wcstombs_chk.c: Likewise.
17660 * dirent/dirent.h: Likewise.
17661 * dlfcn/dlfcn.h: Likewise.
17662 * elf/neededtest4.c: Likewise.
17663 * grp/grp.h: Likewise.
17664 * gshadow/gshadow.h: Likewise.
17665 * iconv/gconv.h: Likewise.
17666 * iconv/gconv_int.h: Likewise.
17667 * iconv/gconv_simple.c: Likewise.
17668 * iconv/iconv.h: Likewise.
17669 * iconv/loop.c: Likewise.
17670 * iconv/skeleton.c: Likewise.
17671 * include/aio.h: Likewise.
17672 * include/aliases.h: Likewise.
17673 * include/argz.h: Likewise.
17674 * include/arpa/inet.h: Likewise.
17675 * include/assert.h: Likewise.
17676 * include/dirent.h: Likewise.
17677 * include/dlfcn.h: Likewise.
17678 * include/execinfo.h: Likewise.
17679 * include/fcntl.h: Likewise.
17680 * include/fenv.h: Likewise.
17681 * include/glob.h: Likewise.
17682 * include/grp.h: Likewise.
17683 * include/libintl.h: Likewise.
17684 * include/mntent.h: Likewise.
17685 * include/netdb.h: Likewise.
17686 * include/pwd.h: Likewise.
17687 * include/rpc/netdb.h: Likewise.
17688 * include/sched.h: Likewise.
17689 * include/search.h: Likewise.
17690 * include/shadow.h: Likewise.
17691 * include/signal.h: Likewise.
17692 * include/stdio.h: Likewise.
17693 * include/stdlib.h: Likewise.
17694 * include/string.h: Likewise.
17695 * include/sys/socket.h: Likewise.
17696 * include/sys/stat.h: Likewise.
17697 * include/sys/statfs.h: Likewise.
17698 * include/sys/statvfs.h: Likewise.
17699 * include/sys/syslog.h: Likewise.
17700 * include/sys/time.h: Likewise.
17701 * include/sys/uio.h: Likewise.
17702 * include/time.h: Likewise.
17703 * include/unistd.h: Likewise.
17704 * include/utmp.h: Likewise.
17705 * include/wchar.h: Likewise.
17706 * include/wctype.h: Likewise.
17707 * inet/aliases.h: Likewise.
17708 * inet/arpa/inet.h: Likewise.
17709 * inet/netinet/ether.h: Likewise.
17710 * inet/netinet/in.h: Likewise.
17711 * intl/libintl.h: Likewise.
17712 * io/bits/fcntl2.h: Likewise.
17713 * io/fcntl.h: Likewise.
17714 * io/ftw.h: Likewise.
17715 * io/sys/poll.h: Likewise.
17716 * io/sys/stat.h: Likewise.
17717 * io/sys/statfs.h: Likewise.
17718 * io/sys/statvfs.h: Likewise.
17719 * io/utime.h: Likewise.
17720 * libio/bits/stdio.h: Likewise.
17721 * libio/bits/stdio2.h: Likewise.
17722 * libio/libio.h: Likewise.
17723 * libio/libioP.h: Likewise.
17724 * libio/stdio.h: Likewise.
17725 * locale/lc-ctype.c: Likewise.
17726 * locale/locale.h: Likewise.
17727 * login/utmp.h: Likewise.
17728 * malloc/arena.c: Likewise.
17729 * malloc/malloc.c: Likewise.
17730 * malloc/malloc.h: Likewise.
17731 * malloc/mcheck.c: Likewise.
17732 * malloc/mtrace.c: Likewise.
17733 * math/bits/mathcalls.h: Likewise.
17734 * math/fenv.h: Likewise.
17735 * math/math_private.h: Likewise.
17736 * misc/bits/error.h: Likewise.
17737 * misc/bits/syslog.h: Likewise.
17738 * misc/err.h: Likewise.
17739 * misc/error.h: Likewise.
17740 * misc/fstab.h: Likewise.
17741 * misc/mntent.h: Likewise.
17742 * misc/regexp.h: Likewise.
17743 * misc/search.h: Likewise.
17744 * misc/sgtty.h: Likewise.
17745 * misc/sys/mman.h: Likewise.
17746 * misc/sys/syslog.h: Likewise.
17747 * misc/sys/uio.h: Likewise.
17748 * misc/sys/xattr.h: Likewise.
17749 * misc/ttyent.h: Likewise.
17750 * nis/rpcsvc/ypclnt.h: Likewise.
17751 * nss/nss.h: Likewise.
17752 * posix/bits/unistd.h: Likewise.
17753 * posix/fnmatch.h: Likewise.
17754 * posix/glob.h: Likewise.
17755 * posix/sched.h: Likewise.
17756 * posix/spawn.h: Likewise.
17757 * posix/sys/wait.h: Likewise.
17758 * posix/unistd.h: Likewise.
17759 * posix/wordexp.h: Likewise.
17760 * pwd/pwd.h: Likewise.
17761 * resolv/netdb.h: Likewise.
17762 * resource/sys/resource.h: Likewise.
17763 * rt/aio.h: Likewise.
17764 * rt/bits/mqueue2.h: Likewise.
17765 * rt/mqueue.h: Likewise.
17766 * shadow/shadow.h: Likewise.
17767 * signal/signal.h: Likewise.
17768 * socket/send.c: Likewise.
17769 * socket/sendto.c: Likewise.
17770 * socket/sys/socket.h: Likewise.
17771 * stdio-common/printf.h: Likewise.
17772 * stdlib/bits/stdlib.h: Likewise.
17773 * stdlib/fmtmsg.h: Likewise.
17774 * stdlib/monetary.h: Likewise.
17775 * stdlib/stdlib.h: Likewise.
17776 * stdlib/ucontext.h: Likewise.
17777 * streams/stropts.h: Likewise.
17778 * string/argz.h: Likewise.
17779 * string/bits/string2.h: Likewise.
17780 * string/string.h: Likewise.
17781 * string/strings.h: Likewise.
17782 * sunrpc/rpc/auth.h: Likewise.
17783 * sunrpc/rpc/auth_des.h: Likewise.
17784 * sunrpc/rpc/clnt.h: Likewise.
17785 * sunrpc/rpc/netdb.h: Likewise.
17786 * sunrpc/rpc/pmap_clnt.h: Likewise.
17787 * sunrpc/rpc/xdr.h: Likewise.
17788 * sysdeps/generic/inttypes.h: Likewise.
17789 * sysdeps/generic/net/if.h: Likewise.
17790 * sysdeps/generic/sys/swap.h: Likewise.
17791 * sysdeps/gnu/net/if.h: Likewise.
17792 * sysdeps/gnu/utmpx.h: Likewise.
17793 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17794 * sysdeps/i386/i486/bits/string.h: Likewise.
17795 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17796 * sysdeps/s390/bits/string.h: Likewise.
17797 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17798 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17799 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17800 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17801 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17802 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17803 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17804 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17805 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17806 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17807 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17808 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17809 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17810 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17811 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17812 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17813 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17815 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17816 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17818 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17819 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17820 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17821 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17822 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17823 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17824 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17825 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17826 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17827 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17828 * sysvipc/sys/ipc.h: Likewise.
17829 * sysvipc/sys/msg.h: Likewise.
17830 * sysvipc/sys/sem.h: Likewise.
17831 * sysvipc/sys/shm.h: Likewise.
17832 * termios/termios.h: Likewise.
17833 * time/sys/time.h: Likewise.
17834 * time/time.h: Likewise.
17835 * wcsmbs/bits/wchar2.h: Likewise.
17836 * wcsmbs/uchar.h: Likewise.
17837 * wcsmbs/wchar.h: Likewise.
17838 * wctype/wctype.h: Likewise.
17839
0269750c
UD
17840 [BZ #13551]
17841 * Makeconfig: Remove all but ELF support including AIX support.
17842 * Makerules: Likewise.
17843 * config.h.in: Likewise.
17844 * config.make.in: Likewise.
17845 * configure: Likewise.
17846 * configure.in: Likewise.
17847 * csu/Makefile: Likewise.
17848 * csu/version.c: Likewise.
17849 * debug/Makefile: Likewise.
17850 * dlfcn/Makefile: Likewise.
17851 * elf/Makefile: Likewise.
17852 * extra-lib.mk: Likewise.
17853 * iconv/Makefile: Likewise.
17854 * include/libc-symbols.h: Likewise.
17855 * include/shlib-compat.h: Likewise.
17856 * resolv/Makefile: Likewise.
17857 * resolv/res_libc.c: Likewise.
17858 * rt/Makefile: Likewise.
17859 * sysdeps/i386/asm-syntax.h: Likewise.
17860 * sysdeps/i386/sysdep.h: Likewise.
17861 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17862 * sysdeps/mach/sysdep.h: Likewise.
17863 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17864 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17865 * sysdeps/s390/asm-syntax.h: Likewise.
17866 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17867 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17868 * sysdeps/sh/sysdep.h: Likewise.
17869 * sysdeps/unix/sparc/sysdep.h: Likewise.
17870 * sysdeps/wordsize-32/divdi3.c: Likewise.
17871 * sysdeps/x86_64/sysdep.h: Likewise.
17872
00bbd29b
UD
17873 * argp/Versions: Remove _argp_unlock_xxx.
17874
17875 [BZ #13559]
17876 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17877 * abilist/libBrokenLocale.abilist: Likewise.
17878 * abilist/libanl.abilist: Likewise.
17879 * abilist/libc.abilist: Likewise.
17880 * abilist/libcrypt.abilist: Likewise.
17881 * abilist/libdl.abilist: Likewise.
17882 * abilist/libm.abilist: Likewise.
17883 * abilist/libnsl.abilist: Likewise.
17884 * abilist/libpthread.abilist: Likewise.
17885 * abilist/libresolv.abilist: Likewise.
17886 * abilist/librt.abilist: Likewise.
17887 * abilist/libthread_db.abilist: Likewise.
17888 * abilist/libutil.abilist: Likewise.
17889 * abilist/libnss_db.abilist: New file.
17890
17891 * scripts/abilist.awk: Add support for indirect functions.
17892
a2693a0e
UD
17893 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17894
3f05895f
UD
17895 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17896
ecb6fb48
UD
17897 * shlib-versions: Remove entries for ports architectures.
17898
664f8cb9
UD
17899 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17900 files in ports.
17901 * elf/stackguard-macros.h: Remove support for IA-64.
17902 * elf/tst-auditmod1.c: Likewise.
17903 * sysdeps/generic/ldsodefs.h: Likewise.
17904
7ae81d88
UD
17905 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17906 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17907 configure files.
17908
bdeba135
UD
17909 [BZ #13552]
17910 * configure.in: Remove --enable-omitfp support.
17911 * FAQ.in: Adjust.
17912 * config.make.in: Likewise.
17913 * Makeconfig: Likewise.
17914 * manual/install.texi: Likewise.
17915
d75a0a62
UD
17916 In case anyone cares, the IA-64 architecture could move to ports.
17917 * sysdeps/ia64/*: Removed.
17918 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17919 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17920
dcc9756b
UD
17921 [BZ #13555]
17922 * configure.in: Remove entries for unsupported architectures.
17923
d3761ebc 17924 [BZ #13533]
9954432e
UD
17925 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17926 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17927 routines.
17928 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17929 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17930 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17931 fall back to using wcrtomb.
17932 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17933 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17934 renaming.
17935 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17936 * wcsmbs/tst-c16c32-1.c: New file.
17937
17938 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17939 local variable.
17940
c3a87236
UD
17941 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17942
28926a1b
UD
17943 * elf/tst-unique3.cc: Add explicit declaration of gets.
17944 * elf/tst-unique3lib.cc: Likewise.
17945 * elf/tst-unique3lib2.cc: Likewise.
17946 * elf/tst-unique4.cc: Likewise.
17947
df78418a
UD
17948 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17949
8ecd6b2a
JM
179502012-01-06 Joseph Myers <joseph@codesourcery.com>
17951
17952 [BZ #13566]
17953 * assert/assert.h (static_assert): Don't define for C++.
17954 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17955 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17956
9f115170
UD
179572012-01-03 Ulrich Drepper <drepper@gmail.com>
17958
5e0d0300
UD
17959 * iconv/loop.c (single loop): Fix assertion in storing of
17960 remaining bytes.
17961
9f115170
UD
17962 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17963
81fb02b0
UD
179642012-01-01 Ulrich Drepper <drepper@gmail.com>
17965
17966 * posix/getconf.c: Update copyright year.
17967 * nss/getent.c: Likewise.
a316c1f6 17968 * nss/makedb.c: Likewise.
81fb02b0
UD
17969 * iconv/iconvconfig.c: Likewise.
17970 * iconv/iconv_prog.c: Likewise.
17971 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17972 * elf/pldd.c: Likewise.
17973 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17974 * catgets/gencat.c: Likewise.
17975 * csu/version.c: Likewise.
17976 * elf/ldd.bash.in: Likewise.
17977 * elf/sprof.c (print_version): Likewise.
17978 * locale/programs/locale.c: Likewise.
17979 * locale/programs/localedef.c: Likewise.
a316c1f6 17980 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17981 * nscd/nscd.c (print_version): Likewise.
17982 * debug/xtrace.sh: Likewise.
17983 * malloc/memusage.sh: Likewise.
17984 * malloc/mtrace.pl: Likewise.
17985 * debug/catchsegv.sh: Likewise.
17986
2ba92745
JJ
179872011-12-30 Jakub Jelinek <jakub@redhat.com>
17988
17989 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17990 pure attribute.
17991
dadebdae
UD
179922011-12-24 Ulrich Drepper <drepper@gmail.com>
17993
d3761ebc 17994 [BZ #13533]
db6af3eb
UD
17995 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17996 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17997 transformations.
17998 * iconv/gconv_int.h: Likewise.
17999 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18000 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18001 from libc for GLIBC_2.16.
18002 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18003 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18004 * wcsmbs/uchar.h: Really define mbstate_t.
18005 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18006 * wcsmbs/c16rtomb.c: New file.
18007 * wcsmbs/mbrtoc16.c: New file.
18008 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18009 for C/POSIX locale.
18010 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18011 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18012
dadebdae
UD
18013 * wcsmbs/wchar.h: Add missing __restrict.
18014
67371b56
UD
180152011-12-23 Ulrich Drepper <drepper@gmail.com>
18016
74033a25
UD
18017 [BZ #13532]
18018 * time/Makefile (routines): Add timespec_get.
18019 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18020 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18021 timespec for ISO C11.
18022 * time/timespec_get.c: New file.
18023 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18024 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18025
380d7e87
UD
18026 [BZ #13531]
18027 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18028 * stdlib/stdlib.h: Declare aligned_alloc.
18029 * Versions.def: Add GLIBC_2.16 for libc.
18030 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18031
4e9e7a35
UD
18032 [BZ 13527]
18033 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18034 ISO C11.
18035
380d7e87 18036 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18037 code.
18038
03a71829
UD
18039 [BZ #13528]
18040 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18041
839e283e
UD
18042 [BZ #13529]
18043 * assert/assert.h (static_assert): Define.
18044
ce5294e2 18045 * version.h: Update for 2.16 development version.
90fa7312 18046
8d44e150 18047 [BZ #13526]
d7809905
UD
18048 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18049 _ISOC11_SOURCE.
18050
c0da14cd
UD
18051 * version.h (RELEASE): Bump for 2.15 release.
18052 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18053
530a3249
MP
18054 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18055 Patch by Marek Polacek <mpolacek@redhat.com>.
18056
67371b56
UD
18057 * bits/byteswap.h: Protect long long constants with __extension__.
18058 * sysdeps/i386/bits/byteswap.h: Likewise.
18059 * sysdeps/ia64/bits/byteswap.h: Likewise.
18060 * sysdeps/s390/bits/byteswap.h: Likewise.
18061 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18062
15db4de1
LD
180632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18064
18065 [BZ #13540]
bbe315ea
LD
18066 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18067 destination buffer.
15db4de1
LD
18068 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18069
2b2596b1
MP
180702011-12-23 Marek Polacek <polacek@redhat.com>
18071
18072 * elf/dl-addr.c (determine_info): Add inline keyword.
18073 * elf/tst-auditmod4b.c (check_avx): Likewise.
18074 * elf/tst-auditmod6b.c (check_avx): Likewise.
18075 * elf/tst-auditmod6c.c (check_avx): Likewise.
18076 * elf/tst-auditmod7b.c (check_avx): Likewise.
18077
70c6c246
UD
180782011-12-23 Ulrich Drepper <drepper@gmail.com>
18079
18080 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18081 !__SSE_MATH__.
18082
c044cf14
LD
180832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18084
15db4de1 18085 [BZ #13540]
c044cf14
LD
18086 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18087 processing for last bytes.
18088
6b13d9d9
BH
180892011-08-06 Bruno Haible <bruno@clisp.org>
18090
d455f537
BH
18091 [BZ #13061]
18092 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18093 U+0385, not to U+1FEE.
18094
6b13d9d9
BH
18095 [BZ #13062]
18096 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18097 entry for U+00A5 U+0301.
18098
db910efd
UD
180992011-12-22 Ulrich Drepper <drepper@gmail.com>
18100
27deeafc
UD
18101 [BZ #13166]
18102 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18103 buffer for the output is too small.
18104
aed9d171
UD
18105 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18106 optimization.
18107
db910efd
UD
18108 [BZ #13185]
18109 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18110 SSE flags if possible.
18111
2bd779ae
LD
181122011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18113
e7f9dac3 18114 [BZ #13540]
2bd779ae
LD
18115 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18116 processing for last bytes.
18117
154bfc16
JM
181182011-12-22 Joseph Myers <joseph@codesourcery.com>
18119
18120 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18121 (syscall-list-default-options, syscall-list-default-condition)
18122 (syscall-list-includes): Define.
18123 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18124 list of ABIs and options and #if conditions for each ABI. Do not
18125 handle common syscalls between ABIs specially.
18126 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18127 Remove.
18128 (syscall-list-variants, syscall-list-32bit-options)
18129 (syscall-list-32bit-condition, syscall-list-64bit-options)
18130 (syscall-list-64bit-condition): Define.
18131 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18132 (syscall-list-variants, syscall-list-32bit-options)
18133 (syscall-list-32bit-condition, syscall-list-64bit-options)
18134 (syscall-list-64bit-condition): Define.
18135 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18136 Remove.
18137 (syscall-list-variants, syscall-list-32bit-options)
18138 (syscall-list-32bit-condition, syscall-list-64bit-options)
18139 (syscall-list-64bit-condition): Define.
18140 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18141 Remove.
18142 (syscall-list-variants, syscall-list-32bit-options)
18143 (syscall-list-32bit-condition, syscall-list-64bit-options)
18144 (syscall-list-64bit-condition): Define.
18145
21eaf3a5
UD
181462011-12-22 Ulrich Drepper <drepper@gmail.com>
18147
16c6f992
UD
18148 * locale/iso-639.def: Add brx entry.
18149
41043168
UD
18150 [BZ #13328]
18151 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18152 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18153
21eaf3a5
UD
18154 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18155 __feraiseexcept_renamed.
18156
e3a851a2
UD
181572011-12-21 Ulrich Drepper <drepper@gmail.com>
18158
4920765e
UD
18159 [BZ #13538]
18160 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18161 EPOLLET with unsigned values.
18162 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18163 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18164
e3a851a2
UD
18165 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18166 to large cancellation.
18167 * math/s_cacoshf.c: Likewise.
18168 * math/s_cacoshl.c: Likewise.
18169
b27e24b8
RK
181702011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18171
18172 [BZ #13305]
aebefeee 18173 [BZ #12786]
b27e24b8
RK
18174 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18175 * math/s_cacoshf.c: Likewise.
18176 * math/s_cacoshl.c: Likewise.
18177
ee190f67
UD
181782011-12-21 Ulrich Drepper <drepper@gmail.com>
18179
18180 [BZ #13439]
18181 * iconv/gconv.h: Define __GCONV_SWAP.
18182 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18183 * iconvdata/utf-16.c: Likewise.
18184 * iconvdata/utf-32.c: Likewise.
18185
707f25df
AS
181862011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18187
18188 [BZ #13524]
18189 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18190 numerator after shifting it by one limb.
18191
d2daaa1e
RÁE
181922011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18193
18194 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18195 under [__USE_EXTERN_INLINES].
18196
a4647e72
UD
181972011-12-17 Ulrich Drepper <drepper@gmail.com>
18198
18199 [BZ #13446]
18200 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18201
f0b264f1
AZ
182022011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18203
18204 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18205 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18206 optimized code.
18207 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18208 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18209 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18210 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18211 for strncasecmp/strncasecmp_l compilation.
18212 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18213 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18214
8ef4f244
MP
182152011-12-08 Marek Polacek <mpolacek@redhat.com>
18216
18217 [BZ #13484]
18218 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18219 of __asm__.
18220
97ac2654
UD
182212011-12-17 Ulrich Drepper <drepper@gmail.com>
18222
18223 [BZ #13506]
18224 * time/tzfile.c (__tzfile_read): Check values from file header.
18225
91d2a845
WS
182262011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18227
18228 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18229 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18230 * powerpc/powerpc32/dl-start.S: Likewise.
18231 * powerpc/powerpc32/elf/start.S: Likewise.
18232 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18233 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18234 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18235 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18236 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18237 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18238 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18239 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18240 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18241 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18242 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18243 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18244 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18245 * powerpc/powerpc32/memset.S: Likewise.
18246 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18247 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18248 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18249 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18250 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18251 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18252 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18253 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18254 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18255 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18256 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18257 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18258 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18259
a1267ba1
AZ
182602011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18261
18262 * math/libm-test.inc: Added more nearbyint tests.
18263 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18264 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18265 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18266 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18267
ad8ac1bd
RL
182682011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18269
18270 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18271 FD_CLOEXEC.
18272
1d3e4b61
UD
182732011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18274
18275 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18276 Add wcscpy-ssse3 wcscpy-c.
18277 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18278 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18279 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18280 * sysdeps/x86_64/wcschr.S: New file.
18281 * sysdeps/x86_64/wcsrchr.S: New file.
18282 * string/test-strcmp.c: Remove checking of wcscmp function for
18283 wrong alignments.
18284 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18285 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18286 wcsrchr-sse2 wcsrchr-c.
18287 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18288 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18289 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18290 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18291 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18292 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18293 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18294 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18295 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18296 * wcsmbc/wcschr.c (WCSCHR): New macro.
18297
5b330a2d
UD
182982011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18299
18300 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18301 * wcsmbs/test-wcsrchr.c: New file.
18302 * string/test-strrchr.c: Add wcsrchr support.
18303 (WIDE): New macro.
18304 * wcsmbs/test-wcscpy.c: New file.
18305 * string/test-strcpy.c: Add wcscpy support.
18306 (WIDE): New macro.
26428b7c 18307
f039c043
UD
183082011-12-10 Ulrich Drepper <drepper@gmail.com>
18309
18310 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18311 the inner loop.
18312
850fb039
AS
183132011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18314
18315 [BZ #13472]
18316 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18317
4efbd5cb
UD
183182011-12-04 Ulrich Drepper <drepper@gmail.com>
18319
52ff5dd0 18320 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18321 Minor optimizations.
52ff5dd0 18322
4efbd5cb
UD
18323 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18324 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18325 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18326
8a426e12
UD
183272011-12-03 Ulrich Drepper <drepper@gmail.com>
18328
aff2453d
UD
18329 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18330 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18331 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18332 for gcc to avoid warnings.
18333 * inet/Makefile (tests): Add tst-checks.
18334 * inet/tst-checks.c: New file.
18335
18336 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18337 warning.
18338
18339 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18340 __wmemcmp_sse2.
18341
18342 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18343 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18344
8a426e12
UD
18345 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18346
9bea3473
UD
183472011-12-02 Ulrich Drepper <drepper@gmail.com>
18348
3a965496
UD
18349 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18350 problem.
18351
9bea3473
UD
18352 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18353
f101631b
UD
183542011-11-29 Joseph Myers <joseph@codesourcery.com>
18355
18356 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18357 conditional on GCC version.
18358 (__arch_compare_and_exchange_val_8_acq)
18359 (__arch_compare_and_exchange_val_16_acq)
18360 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18361 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18362 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18363
a98275aa
UD
183642011-12-02 Joseph Myers <joseph@codesourcery.com>
18365
18366 * sysdeps/sh/backtrace.c: New file.
18367
d4cc29a2
AS
183682011-12-02 Andreas Schwab <schwab@redhat.com>
18369
18370 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18371 parenthesis.
18372
6257af2d
AS
183732011-12-01 Andreas Schwab <schwab@redhat.com>
18374
18375 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18376 falling back to utime.
18377
b5f44c1a
AS
183782011-11-30 Andreas Schwab <schwab@redhat.com>
18379
18380 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18381 expectations for float.
18382
f3a6cc0a
AS
183832011-11-29 Andreas Schwab <schwab@redhat.com>
18384
18385 * locale/weight.h (findidx): Add parameter len.
18386 * locale/weightwc.h (findidx): Likewise.
18387 * posix/fnmatch_loop.c (FCT): Adjust caller.
18388 * posix/regcomp.c (build_equiv_class): Likewise.
18389 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18390 * posix/regexec.c (check_node_accept_bytes): Likewise.
18391 * string/strcoll_l.c (STRCOLL): Likewise.
18392 * string/strxfrm_l.c (STRXFRM): Likewise.
18393
9d65ea3a
UD
183942011-11-17 Ulrich Drepper <drepper@gmail.com>
18395
18396 * Makefile.in: Remove CVSOPT handling.
18397 * configure.in: Remove use of AC_REVISION.
18398 * iconvdata/Makefile (distribute): No need to filter out CVS.
18399 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18400 handling.
18401
5583a086
AS
184022011-11-16 Andreas Schwab <schwab@redhat.com>
18403
18404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18405 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18406 [USE_AS_STRNCASECMP_L]: Likewise.
18407 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18408 NO_TLS_DIRECT_SEG_REFS.
18409 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18410 Fix argument offsets for non-PIC.
18411 [USE_AS_STRNCASECMP_L]: Likewise.
18412 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18413 NO_TLS_DIRECT_SEG_REFS.
18414
d62a8200
UD
184152011-11-15 Ulrich Drepper <drepper@gmail.com>
18416
9d65ea3a 18417 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18418 O_CLOEXEC.
18419 * locale/loadlocale.c (_nl_load_locale): Likewise.
18420
09f93bd3
AS
184212011-11-15 Andreas Schwab <schwab@redhat.com>
18422
446514f9
AS
18423 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18424 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18425 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18426 (SYSCALL_GETTIME): Set errno on error.
18427
09f93bd3
AS
18428 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18429 count references to noai6ai_cached.
18430
312be3f9
UD
184312011-11-15 Ulrich Drepper <drepper@gmail.com>
18432
18433 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18434
18435 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18436 FD_CLOEXEC for /proc/self/maps.
18437
18438 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18439 FD_CLOEXEC for /proc/meminfo.
18440
18441 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18442 gai.conf.
18443
18444 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18445 FD_CLOEXEC for given file.
18446
18447 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18448
18449 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18450 FD_CLOEXEC for /etc/hosts.
18451 (_gethtent): Likewise.
18452
18453 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18454
18455 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18456 cancellation and set FD_CLOEXEC for /etc/netgroup.
18457
18458 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18459 reading /etc/publickey.
18460
18461 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18462 allow cancellation when reading /etc/group.
18463
18464 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18465 cancellation.
18466 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18467
18468 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18469 when using data file.
18470
18471 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18472
18473 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18474 (write_nis_obj): Use "c" and "e" in fopen.
18475
18476 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18477
18478 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18479
18480 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18481
18482 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18483
18484 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18485 locale.alias.
18486
18487 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18488
18489 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18490
18491 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18492
18493 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18494 file parsing and set FD_CLOEXEC.
18495
82af0fa8
UD
184962011-11-14 Ulrich Drepper <drepper@gmail.com>
18497
18498 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18499
a5fb313c
AS
185002011-11-14 Andreas Schwab <schwab@redhat.com>
18501
18502 * malloc/arena.c (arena_get2): Don't call reused_arena when
18503 _int_new_arena failed.
18504
6abf3465
UD
185052011-11-14 Ulrich Drepper <drepper@gmail.com>
18506
18507 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18508 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18509 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18510 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18511 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18512 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18513 to compile strcasecmp and strncasecmp.
18514 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18515 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18516
18517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18518
76e3966e
UD
185192011-11-13 Ulrich Drepper <drepper@gmail.com>
18520
18521 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18522 locale-defines.sym to gen-as-const-headers.
18523 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18524 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18525 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18526 to compile strcasecmp and strncasecmp.
18527 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18528 strcasecmp_l and strncasecmp_l.
18529 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18530 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18531 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18532 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18533 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18534 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18535 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18536 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18537 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18538 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18539 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18540
ab26144e
UD
185412011-11-12 Ulrich Drepper <drepper@gmail.com>
18542
7edb22ef
UD
18543 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18544 result of SYSDEP_GETTIME_CPU to retval.
18545 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18546 parameter list to macro. Remove trailing semicolon. Adjust users.
18547
9694fc44
UD
18548 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18549 variable.
18550
8ad89ef8
UD
18551 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18552 mantissa words.
18553 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18554
0c822ef9
UD
18555 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18556 from unused variable.
18557
874e0564
UD
18558 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18559 DWARF definitions.
18560 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18561 for assembling.
18562
3a2edc79
UD
18563 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18564 over namespaces.
18565
f3c2577f
UD
18566 * sunrpc/rpc_prot.c (rejected): Fix case value.
18567
294ce126
UD
18568 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18569 unsigned long long int to avoid warnings in shift.
18570
5e2b63c6
UD
18571 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18572 of use of trans.
18573 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18574 variable tmp.
18575
e7f4b08e
UD
18576 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18577 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18578 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18579
ab26144e
UD
18580 * nis/nis_table.c (nis_list): Use variable of correct type for
18581 result of __follow_path call.
18582
8a6d5255
AZ
185832011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18584
18585 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18586 of math functions ceil, trunc, floor, round, and sqrt, when
18587 avaliable on the platform.
18588 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18589 name clash.
18590 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18591 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18592 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18593
aaddc98c
MP
185942011-10-30 Marek Polacek <mpolacek@redhat.com>
18595
18596 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18597 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18598
95b7042b
RM
185992011-11-11 Roland McGrath <roland@hack.frob.com>
18600
18601 * include/unistd.h: Fix __readlink return type.
18602 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18603
57769839
UD
186042011-11-11 Ulrich Drepper <drepper@gmail.com>
18605
18606 * stdlib/ucontext.h: Undo last change for makecontext.
18607
edc5984d
AS
186082011-11-11 Andreas Schwab <schwab@redhat.com>
18609
98591e58
AS
18610 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18611
edc5984d
AS
18612 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18613 * setjmp/setjmp.h: Mark functions as non-leaf.
18614 * setjmp/bits/setjmp2.h: Likewise.
18615 * stdlib/ucontext.h: Likewise.
18616
77cdc054
AS
186172011-11-10 Andreas Schwab <schwab@redhat.com>
18618
18619 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18620 (reused_arena): Don't check arena limit.
18621 (arena_get2): Atomically check arena limit.
18622
fe72eebd
UD
186232011-11-08 Ulrich Drepper <drepper@gmail.com>
18624
5f078c32
UD
18625 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18626 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18627
fe72eebd
UD
18628 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18629 instructions.
18630
ae1bc2fa
AS
186312011-11-07 Andreas Schwab <schwab@redhat.com>
18632
7583a88d
AS
18633 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18634 handler when locking.
18635
ae1bc2fa
AS
18636 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18637 Fix size of allocated buffer.
18638
10fb0bfa
AS
186392011-11-04 Andreas Schwab <schwab@redhat.com>
18640
998832a4
AS
18641 [BZ #10103]
18642 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18643 declarations for long double functions.
18644 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18645
10fb0bfa
AS
18646 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18647
3d7ba52b
AS
186482011-11-03 Andreas Schwab <schwab@redhat.com>
18649
a9ae54a1
AS
18650 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18651 installed.
18652
3d7ba52b
AS
18653 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18654 is disabled.
18655
bc8db248
ST
186562011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18657
18658 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18659
45b96dd6
AS
186602011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18661
647776f6
AS
18662 * include/alloca.h (stackinfo_alloca_round): Define.
18663 (extend_alloca): Use it.
18664 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18665 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18666 here.
18667
d91a8b93
AS
18668 * scripts/check-local-headers.sh: Ignore libaudit.h.
18669
45b96dd6
AS
18670 * nscd/Makefile (extra-objs): Make recursively expanded.
18671
432d41ce
UD
186722011-11-01 Ulrich Drepper <drepper@gmail.com>
18673
34372fc6
UD
18674 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18675 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18676
fadb59f8
UD
18677 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18678 * posix/tst-rfc3484-2.c: Likewise.
18679 * posix/tst-rfc3484-3.c: Likewise.
18680
78239589
UD
18681 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18682 process_vm_writev.
18683 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18684 process_vm_writev.
18685 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18686 process_vm_writev from libc using GLIBC_2.15 version.
18687
432d41ce
UD
18688 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18689
02f9c6cf
PP
186902011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18691
18692 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18693 stack usage.
18694
3a2c0242
UD
186952011-10-31 Ulrich Drepper <drepper@gmail.com>
18696
f4ec4833
UD
18697 [BZ #13367]
18698 * nss/getent.c (initgroups_keys): Show error message in case no group
18699 names are given.
18700
3a2c0242
UD
18701 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18702 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18703 __bump_nl_timestamp.
18704 * nscd/connections (nscd_init): When host database is served open
18705 netlink socket and request notification about configuration changes.
18706 (main_loop_poll): Track netlink file descriptor and bump timestamp
18707 in case data becomes available.
18708 (main_loop_epoll): Likewise.
18709 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18710 (database_pers_head): Add extra_data fileds.
18711 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18712 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18713 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18714 Adjust caller.
18715 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18716 in6ai data, call __free_in6ai.
18717 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18718 Add -DHAVE_NETLINK.
18719 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18720 interface information. Reuse previous data if netlink timestamp
18721 is not changed.
18722 (__bump_nl_timestamp): New function.
18723 (__free_in6ai): New function.
18724
636064eb
UD
187252011-10-30 Ulrich Drepper <drepper@gmail.com>
18726
18727 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18728 close_not_cancel_no_status here.
18729 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18730
9beb2334
UD
187312011-10-29 Ulrich Drepper <drepper@gmail.com>
18732
6ef76f3b
UD
18733 [BZ #13276]
18734 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18735 return value.
18736
0ffc4f3e 18737 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18738 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18739 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18740
cb95113e
UD
187412011-07-03 Andreas Jaeger <aj@suse.de>
18742
18743 [BZ #10709]
18744 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18745 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18746 * math/libm-test.inc (sin_test): Add test case.
18747
a1b560ff
UD
187482011-10-29 Ulrich Drepper <drepper@gmail.com>
18749
c9aaface
UD
18750 [BZ #13337]
18751 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18752 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18753
d272e7f1
UD
18754 * elf/chroot_canon.c (chroot_canon): Cleanups.
18755
1bc33071
UD
18756 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18757
1760874d
TJ
18758 [BZ #13335]
18759 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18760 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18761
51d91b18
UD
18762 * string/test-strchr.c: Make usable for strchrnul testing.
18763 * string/test-strchrnul.c: New file.
18764 * string/Makefile (strop-tests): Add strchrnul.
18765
a1b560ff 18766 * po/it.po: Update from translation team.
b611fb81 18767 * po/es.po: Likewise.
a1b560ff 18768
a5b81e1f
UD
187692011-10-28 Ulrich Drepper <drepper@gmail.com>
18770
fd52bc6d
UD
18771 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18772 the three constants needed as parameters. Drop the others.
18773 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18774 __m128i_strloadu_tolower.
52e4b9eb
UD
18775 Create and initialize variable zero and use it in all the places
18776 where _mm_setzero_si128 was used.
fd52bc6d 18777
a5b81e1f
UD
18778 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18779 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18780 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18781 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18782 anymore.
18783 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18784 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18785 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18786 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18787 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18788 __mpranred, __mptan.
18789 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18790 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18791 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18792 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18793 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18794 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18795 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18796 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18797 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18798
b4343346
AS
187992011-10-28 Andreas Schwab <schwab@redhat.com>
18800
0c92d8a8
AS
18801 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18802 redefine if SHARED.
18803 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18804
b4343346
AS
18805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18806 wide char related routines to wcsmbs subdir.
18807
3871f58f
AS
188082011-10-27 Andreas Schwab <schwab@redhat.com>
18809
18810 [BZ #13344]
18811 * misc/sys/cdefs.h (__THROWNL): Define.
18812 * posix/unistd.h: Use __THREADNL instead of __THREAD
18813 for memory synchronization functions.
18814
94d44d9f
RM
188152011-10-26 Roland McGrath <roland@hack.frob.com>
18816
21b64b15 18817 [BZ #13349]
94d44d9f
RM
18818 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18819 doesn't exist.
18820 * manual/stdio.texi (Obstack Streams): Node removed.
18821
f6ce9294
AS
188222011-10-26 Andreas Schwab <schwab@redhat.com>
18823
80479147
AS
18824 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18825 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18826 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18827
f6ce9294
AS
18828 * math/math_private.h (math_force_eval): Allow non-addressable
18829 arguments.
18830 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18831
618280a1
UD
188322011-10-25 Ulrich Drepper <drepper@gmail.com>
18833
e0016b11
UD
18834 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18835 file is not needed.
18836
18837 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18838 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18844 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18845 Add AVX variants.
18846 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18847 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18848 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18849 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18850 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18851 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18852 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18853 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18854 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18855 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18856 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18857 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18858 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18859 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18860 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18861 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18862 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18863 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18864 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18865
18866 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18867 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18868
618280a1
UD
18869 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18870 place. Use VEX encoding when compiling for AVX.
18871
37822576
AS
188722011-10-25 Andreas Schwab <schwab@redhat.com>
18873
1f1e1947
AS
18874 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18875 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18876
37822576
AS
18877 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18878
31ea014d
UD
188792011-10-25 Ulrich Drepper <drepper@gmail.com>
18880
d7826aa1 18881 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18882 useless if() expression.
d7826aa1
UD
18883 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18884 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18885 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18886 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18887 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18888 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18889 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18890 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18891 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18892 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18893 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18894 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18895 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18896 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18897 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18898 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18899 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18900 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18901 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18902
31ea014d
UD
18903 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18904
16437fec
AS
189052011-10-25 Andreas Schwab <schwab@redhat.com>
18906
18907 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18908 condition.
18909 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18910
31d3cc00
UD
189112011-10-25 Ulrich Drepper <drepper@gmail.com>
18912
18913 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18914 .text section. Avoid duplicate constants.
18915 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18916 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18917 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18919 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18922 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18923 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18924 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18925 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18926 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18927 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18928 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18929 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18930 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18931 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18932 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18933 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18934 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18935 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18936 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18937 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18938 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18939 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18940 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18941 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18942 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18943 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18944 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18945 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18946 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18947 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18948 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18949 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18950 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18951 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18952 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18953 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18954 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18955 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18956 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18957 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18958 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18959 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18960
58985aa9
UD
189612011-10-24 Ulrich Drepper <drepper@gmail.com>
18962
202c9deb
UD
18963 * sysdeps/x86_64/dla.h: Move to ...
18964 * sysdeps/x86_64/fpu/dla.h: ...here.
18965 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18966 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18967
af968f62
UD
18968 * config.make.in: Add have-mfma4 entry.
18969 * configure.in: Substitute libc_cv_cc_fma4.
18970 * math/Makefile (dbl-only-routines): Add sincostab.
18971 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18972 Use __sincostab not sincos.
18973 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18974 name is a macro.
18975 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18977 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18979 using __copysign.
18980 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18981 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18982 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18983 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18984 and __inv.
18985 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18986 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18987 __copysign.
18988 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18989 define aliases when function name is a macro.
18990 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18991 sysdeps/ieee754/dbl-64/sincos.tbl.
18992 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18993 fma4-enabled routines.
18994 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18995 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18996 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18997 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18998 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18999 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19000 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19001 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19002 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19003 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19004 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19005 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19006 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19007 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19008 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19009 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19010 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19011 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19012 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19013 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19014 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19015 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19016 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19017 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19018 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19019 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19020 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19021 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19022 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19023 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19024
58985aa9
UD
19025 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19026 rename.
19027 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19029 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19035
a201fbcf
AS
190362011-10-24 Andreas Schwab <schwab@redhat.com>
19037
19038 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19039
fc2ee42a
LD
190402011-10-23 Ulrich Drepper <drepper@gmail.com>
19041
bb3129bd
UD
19042 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19043
0275fff8
UD
19044 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19045 prediction.
19046 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19047
2fa2ae85
UD
19048 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19049 Remove unused variable magic_bits.
19050 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19051
fc2ee42a
LD
19052 * string/strnlen.c: Define and use STRNLEN macro.
19053 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19054 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19055 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19056 * wcsmbs/wcslen.c: Define and use WCSLEN.
19057 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19058 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19059 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19060 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19061 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19062 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19063 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19064
ce7dd29f
LD
190652011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19066
19067 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19068 strnlen-sse2-no-bsf.
19069 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19070 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19071 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19072 Add strnlen support.
19073 (USE_AS_STRNLEN): New macro.
19074 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19075 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19076 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19077 * sysdeps/x86_64/wcslen.S: New file.
19078
979c70a3
MZ
190792011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19080
19081 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19082 XMM-moves are used for copying on small sizes.
19083
2d09f82f
LD
190842011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19085
19086 * wcsmbs/Makefile (strop-tests): Add wcschr.
19087 * wcsmbs/test-wcschr.c: New file.
19088 * string/test-strchr.c: Update.
19089 Add wcschr support.
19090 (WIDE): New macro.
19091
619fccca
LD
190922011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19093
2d09f82f 19094 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19095 * wcsmbs/test-wcslen.c: New file.
19096 * string/test-strlen.c: Update.
19097 Add wcslen support.
19098 (WIDE): New macro.
19099
09f699ea
UD
191002011-10-23 Ulrich Drepper <drepper@gmail.com>
19101
19102 * po/it.po: Update from translation team.
19103
95584d3b
LD
191042011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19105
19106 * sysdeps/x86_64/wcscmp.S: Update.
19107 Fix wrong comparison semantics.
19108 wcscmp shall use signed comparison not unsigned.
19109 Don't use substraction to avoid overflow bug.
19110 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19111 * wcsmbc/wcscmp.c: Likewise.
19112 * string/test-strcmp.c: Likewise.
19113 Add new tests to check cases with negative values.
19114
c8b3296b
UD
191152011-10-23 Ulrich Drepper <drepper@gmail.com>
19116
19117 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19118 * sysdeps/x86_64/dla.h: ...here. New file.
19119 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19120 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19122 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19124 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19126 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19127 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19128
246ad57a
AS
191292011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19130
19131 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19132 __ynl_finite aliases.
19133
a1a87169
UD
191342011-10-22 Ulrich Drepper <drepper@gmail.com>
19135
0d355eb7
UD
19136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19137
a1a87169
UD
19138 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19139 define DLA_FMA.
19140 [DLA_FMA] (EMULV): Use DLA_FMA.
19141 [DLA_FMA] (MUL12): Use EMULV.
19142 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19143 that are not needed.
19144 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19145 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19146 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19147 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19149 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19150 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19151
ee2aafe0
AS
191522011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19153
19154 * math/s_nan.c: Undef __nan.
19155 * math/s_nanf.c: Undef __nanf.
19156 * math/s_nanl.c: Undef __nanl.
19157 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19158 "math_private.h".
19159
bc62c2fb
UD
191602011-10-22 Ulrich Drepper <drepper@gmail.com>
19161
77425c63
UD
19162 * math/s_catan.c: Add branch predictions.
19163 * math/s_catanf.c: Likewise.
19164 * math/s_catanh.c: Likewise.
19165 * math/s_catanhf.c: Likewise.
19166 * math/s_catanhl.c: Likewise.
19167 * math/s_catanl.c: Likewise.
19168 * math/s_cexp.c: Likewise.
19169 * math/s_cexpf.c: Likewise.
19170 * math/s_cexpl.c: Likewise.
19171 * math/s_clog.c: Likewise.
19172 * math/s_clog10.c: Likewise.
19173 * math/s_clog10f.c: Likewise.
19174 * math/s_clog10l.c: Likewise.
19175 * math/s_clogf.c: Likewise.
19176 * math/s_clogl.c: Likewise.
19177 * math/s_csqrt.c: Likewise.
19178 * math/s_csqrtf.c: Likewise.
19179 * math/s_csqrtl.c: Likewise.
19180 * math/s_ctanf.c: Likewise.
19181 * math/s_ctanh.c: Likewise.
19182 * math/s_ctanhf.c: Likewise.
19183 * math/s_ctanhl.c: Likewise.
19184 * math/s_ctanl.c: Likewise.
19185
bc62c2fb
UD
19186 * math/math_private.h: Define __nan, __nanf, __nanl.
19187 * math/s_cacosh.c: Include <math_private.h>.
19188 * math/s_cacoshl.c: Likewise.
19189 * math/s_casinh.c: Likewise.
19190 * math/s_casinhf.c: Likewise.
19191 * math/s_casinhl.c: Likewise.
19192 * math/s_ccos.c: Rely entire on ccosh.
19193 * math/s_ccosf.c: Rely entire on ccoshf.
19194 * math/s_ccosl.c: Rely entirely on ccoshl.
19195 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19196 Remove tests for FE_INVALID.
19197 * math/s_ccoshf.c: Likewise.
19198 * math/s_ccoshl.c: Likewise.
19199 * math/s_csin.c: Likewise.
19200 * math/s_csinf.c: Likewise.
19201 * math/s_csinh.c Likewise.
19202 * math/s_csinhf.c: Likewise.
19203 * math/s_csinhl.c: Likewise.
19204 * math/s_csinl.c: Likewise.
19205 * math/s_ctan.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19207 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19208 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19209
8ec250a4
UD
192102011-10-21 Ulrich Drepper <drepper@gmail.com>
19211
c196fed8
UD
19212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19213 compilation problems.
19214
8ec250a4
UD
19215 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19216 __builtin_expect.
19217
8d4f46c6
UD
192182011-10-20 Ulrich Drepper <drepper@gmail.com>
19219
ed72b654
UD
19220 * sysdeps/i386/configure.in: Test for -mfma4 option.
19221 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19222 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19223 COMMON_CPUID_INDEX_80000001.
19224 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19225 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19226 use it if FMA3 is not supported.
19227 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19228
8d4f46c6
UD
19229 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19230 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19231
d45c60c2
AS
192322011-10-20 Andreas Schwab <schwab@redhat.com>
19233
19234 [BZ #12892]
19235 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19236 it would create a cycle with a link time dependency.
19237
d9a4d2ab
UD
192382011-10-19 Ulrich Drepper <drepper@gmail.com>
19239
855d1560
UD
19240 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19241 instruction.
19242 * string/Makefile (strop-tests): Add rawmemchr.
19243 * string/test-rawmemchr.c: New file.
19244
d9a4d2ab
UD
19245 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19246 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19247 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19248 when compiling str{,n}casecmp and when AVX is available. Hook up
19249 new optimized code in initializers.
19250
8f3b1ffe
AS
192512011-10-19 Andreas Schwab <schwab@redhat.com>
19252
19253 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19254 __feraiseexcept instead of feraiseexcept.
19255
d38f1dba
UD
192562011-10-18 Ulrich Drepper <drepper@gmail.com>
19257
d9a8d0ab
UD
19258 * math/math_private.h: Define defaults for libc_fetestexcept and
19259 libc_feupdateenv.
19260 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19261 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19262 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19263 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19264 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19265 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19266 libc_fetestexcept and libc_feupdateenv.
19267
4855e3dd
UD
19268 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19269 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19270 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19271 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19272 libc_feholdexcept_setround.
19273
581d30e3
UD
19274 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19275 Add s_nearbyint-c and s_nearbyintf-c.
19276 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19277 nearbyintf inlines.
19278 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19279 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19280 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19281 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19282
d38f1dba
UD
19283 * math/math_private.h: Define defaults for libc_fegetround,
19284 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19285 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19286 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19287 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19288 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19289 standard functions.
19290 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19291 Remove comments and hacks for old compiler versions.
19292 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19293 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19294 libc_feholdexceptl.
19295
caa6c9d8
AS
192962011-10-18 Andreas Schwab <schwab@redhat.com>
19297
19298 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19299 (__feraiseexcept_renamed): Add __NTH.
19300 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19301 namespace violations.
19302
97c066e6
UD
193032011-10-17 Ulrich Drepper <drepper@gmail.com>
19304
99ce7b04
UD
19305 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19306
1004d182
UD
19307 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19308
228a984d
UD
19309 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19310 recently added interfaces.
19311 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19312
c8553a6a
UD
19313 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19314 about macro parameter expansion.
19315
ed22dcf6
UD
19316 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19317 __NO_MATH_INLINES is defined. Cleanups.
19318
19319 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19320 and __floorf is target has SSE4.1.
19321 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19322 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19323 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19324 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19325
b171c137
UD
19326 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19327 name.
19328 (floorf): Likewise.
19329
97c066e6
UD
19330 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19331
629f62ef
AS
193322011-10-17 Andreas Schwab <schwab@redhat.com>
19333
49a43d80
AS
19334 * misc/sys/cdefs.h: Fix last change.
19335
629f62ef
AS
19336 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19337 database lookup.
19338
e453f6cd
UD
193392011-10-16 Ulrich Drepper <drepper@gmail.com>
19340
aa78043a
UD
19341 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19342
ad0f5cad
UD
19343 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19344 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19345 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19346 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19347 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19348 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19349 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19350 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19351 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19352 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19353 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19354 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19355 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19356 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19357 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19358 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19359 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19360 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19361 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19362 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19363 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19364 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19365
19366 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19367 ceil, ceilf, floor, floorf.
19368
19369 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19370 Perform IRELATIVE relocations last.
19371
e453f6cd
UD
19372 * elf/do-rel.h: Add another parameter nrelative, replacing the
19373 local variable with the same name. Change name of the function
19374 to end in Rel or Rela (uppercase).
19375 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19376 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19377 elf_dynamic_do_##reloc function.
19378
fd5bdc09
UD
193792011-10-15 Ulrich Drepper <drepper@gmail.com>
19380
79b195b5
UD
19381 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19382 is sufficient, at least on modern CPUs.
19383
d4a28569
UD
19384 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19385
b61099b5
UD
19386 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19387 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19388
bcf01e6d
UD
19389 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19390 __expl_finite.
19391 * math/bits/math-finite.h: Add entries for exp.
19392 * math/e_expl.c: Add __*_finite alias.
19393 * sysdeps/i386/fpu/e_exp.S: Likewise.
19394 * sysdeps/i386/fpu/e_expf.S: Likewise.
19395 * sysdeps/i386/fpu/e_expl.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19397 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19398 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19399 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19401 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19402 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19403
ba1a0d59
UD
19404 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19405 is sufficient, at least on modern CPUs.
19406
fd5bdc09
UD
19407 * ctype/ctype-info.c (__ctype_init): Define.
19408 * include/ctype.h (__ctype_init): Declare.
19409 (__ctype_b_loc): The variable is always initialized.
19410 (__ctype_toupper_loc): Likewise.
19411 (__ctype_tolower_loc): Likewise.
19412 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19413 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19414
7872cfb0
AS
194152011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19416
b468825a
AS
19417 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19418
7872cfb0
AS
19419 * configure.in: Also look in $cxxmachine/include for C++ system
19420 headers.
19421
be13f7bf
LD
194222011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19423
19424 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19425 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19426 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19427 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19428 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19429 (USE_AS_WMEMCMP): New macro.
19430 Fixing indents.
19431 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19432 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19433 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19434 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19435 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19436 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19437 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19438 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19439 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19440 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19441 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19442 (USE_AS_WMEMCMP): New macro.
19443 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19444 * sysdeps/string/test-memcmp.c: Update.
19445 Fix simple_wmemcmp.
19446 Add new tests.
19447 * wcsmbs/wmemcmp.c: Update.
19448 (WMEMCMP): New macro.
19449 Fix overflow bug.
19450
556a2007
AJ
194512011-10-12 Andreas Jaeger <aj@suse.de>
19452
19453 [BZ #13268]
19454 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19455
538faaa7
UD
194562011-10-15 Ulrich Drepper <drepper@gmail.com>
19457
ab6737ff
UD
19458 * libio/iofwide.c (do_length): Avoid warning.
19459
538faaa7
UD
19460 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19461
396a21b1
UD
194622011-10-14 Ulrich Drepper <drepper@gmail.com>
19463
cdf2901f
UD
19464 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19465
38ad40ce
UD
19466 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19467 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19468 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19469 * sysdeps/i386/i686/fpu/e_log.S: New file.
19470 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19471 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19472
396a21b1
UD
19473 * ctype/ctype.h: Add support for inlined isXXX functions when
19474 compiling C++ code.
19475
6b1f68c9
AS
194762011-10-14 Andreas Schwab <schwab@redhat.com>
19477
349290c0
AS
19478 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19479
6b1f68c9
AS
19480 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19481
f2282d42
RM
194822011-10-13 Roland McGrath <roland@hack.frob.com>
19483
19484 [BZ #13291]
19485 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19486
5298ffa8
AS
194872011-10-13 Andreas Schwab <schwab@redhat.com>
19488
714fad23
AS
19489 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19490 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19491 feraiseexcept.
19492
81dcc7fb
AS
19493 * sysdeps/x86_64/memrchr.S: Check for zero size.
19494
5298ffa8
AS
19495 * string/stratcliff.c: Add memrchr tests.
19496
951fbcec
LD
194972011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19498
19499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19500 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19501 rawmemchr-sse2 rawmemchr-sse2-bsf.
19502 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19503 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19504 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19505 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19506 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19507 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19508 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19509 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19510 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19511 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19512 * string/memrchr.c (MEMRCHR): New macro.
19513
0ac5ae23
UD
195142011-10-12 Ulrich Drepper <drepper@gmail.com>
19515
19516 Add integration with gcc's -ffinite-math-only and optimize wrapper
19517 functions in libm.
19518 * Versions.def: Define GLIBC_2.15 version for libm.
19519 * math/Makefile (headers): Add bits/math-finite.h.
19520 * math/bits/math-finite.h: New file.
19521 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19522 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19523 * math/e_acoshl.c: Add __*_finite alias.
19524 * math/e_acosl.c: Likewise.
19525 * math/e_asinl.c: Likewise.
19526 * math/e_atan2l.c: Likewise.
19527 * math/e_atanhl.c: Likewise.
19528 * math/e_coshl.c: Likewise.
19529 * math/e_exp10.c: Likewise.
19530 * math/e_exp10f.c: Likewise.
19531 * math/e_exp10l.c: Likewise.
19532 * math/e_exp2l.c: Likewise.
19533 * math/e_fmodl.c: Likewise.
19534 * math/e_gammal_r.c: Likewise.
19535 * math/e_hypotl.c: Likewise.
19536 * math/e_j0l.c: Likewise.
19537 * math/e_j1l.c: Likewise.
19538 * math/e_jnl.c: Likewise.
19539 * math/e_lgammal_r.c: Likewise.
19540 * math/e_log10l.c: Likewise.
19541 * math/e_log2l.c: Likewise.
19542 * math/e_logl.c: Likewise.
19543 * math/e_powl.c: Likewise.
19544 * math/e_sinhl.c: Likewise.
19545 * math/e_sqrtl.c: Likewise.
19546 * math/e_scalb.c: Completely rewritten and optimized.
19547 * math/e_scalbf.c: Likewise.
19548 * math/e_scalbl.c: Likewise.
19549 * math/w_acos.c: Likewise.
19550 * math/w_acosf.c: Likewise.
19551 * math/w_acosl.c: Likewise.
19552 * math/w_acosh.c: Likewise.
19553 * math/w_acoshf.c: Likewise.
19554 * math/w_acoshl.c: Likewise.
19555 * math/w_asin.c: Likewise.
19556 * math/w_asinf.c: Likewise.
19557 * math/w_asinl.c: Likewise.
19558 * math/w_atan2.c: Likewise.
19559 * math/w_atan2f.c: Likewise.
19560 * math/w_atan2l.c: Likewise.
19561 * math/w_atanh.c: Likewise.
19562 * math/w_atanhf.c: Likewise.
19563 * math/w_atanhl.c: Likewise.
19564 * math/w_exp10.c: Likewise.
19565 * math/w_exp10f.c: Likewise.
19566 * math/w_exp10l.c: Likewise.
19567 * math/w_fmod.c: Likewise.
19568 * math/w_fmodf.c: Likewise.
19569 * math/w_fmodl.c: Likewise.
19570 * math/w_j0.c: Likewise.
19571 * math/w_j0f.c: Likewise.
19572 * math/w_j0l.c: Likewise.
19573 * math/w_j1.c: Likewise.
19574 * math/w_j1f.c: Likewise.
19575 * math/w_j1l.c: Likewise.
19576 * math/w_jn.c: Likewise.
19577 * math/w_jnf.c: Likewise.
19578 * math/w_log.c: Likewise.
19579 * math/w_logf.c: Likewise.
19580 * math/w_logl.c: Likewise.
19581 * math/w_log10.c: Likewise.
19582 * math/w_log10f.c: Likewise.
19583 * math/w_log10l.c: Likewise.
19584 * math/w_log2.c: Likewise.
19585 * math/w_log2f.c: Likewise.
19586 * math/w_log2l.c: Likewise.
19587 * math/w_pow.c: Likewise.
19588 * math/w_powf.c: Likewise.
19589 * math/w_powl.c: Likewise.
19590 * math/w_remainder.c: Likewise.
19591 * math/w_remainderf.c: Likewise.
19592 * math/w_remainderl.c: Likewise.
19593 * math/w_scalb.c: Likewise.
19594 * math/w_scalbf.c: Likewise.
19595 * math/w_scalbl.c: Likewise.
19596 * math/w_sqrt.c: Likewise.
19597 * math/w_sqrtf.c: Likewise.
19598 * math/w_sqrtl.c: Likewise.
19599 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19600 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19601 used.
19602 * math/math_private.h: Declare __kernel_standard_f.
19603 * math/w_cosh.c: Remove cruft and optimize a bit.
19604 * math/w_coshf.c: Likewise.
19605 * math/w_coshl.c: Likewise.
19606 * math/w_exp2.c: Likewise.
19607 * math/w_exp2f.c: Likewise.
19608 * math/w_exp2l.c: Likewise.
19609 * math/w_hypot.c: Likewise.
19610 * math/w_hypotf.c: Likewise.
19611 * math/w_hypotl.c: Likewise.
19612 * math/w_lgamma.c: Likewise.
19613 * math/w_lgamma_r.c: Likewise.
19614 * math/w_lgammaf.c: Likewise.
19615 * math/w_lgammaf_r.c: Likewise.
19616 * math/w_lgammal.c: Likewise.
19617 * math/w_lgammal_r.c: Likewise.
19618 * math/w_sinh.c: Likewise.
19619 * math/w_sinhf.c: Likewise.
19620 * math/w_sinhl.c: Likewise.
19621 * math/w_tgamma.c: Likewise.
19622 * math/w_tgammaf.c: Likewise.
19623 * math/w_tgammal.c: Likewise.
19624 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19625 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19626 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19627 Minor optimizations. Pretty printing. Remove cruft.
19628 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19629 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19630 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19631 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19632 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19633 * sysdeps/i386/fpu/e_asin.S: Likewise.
19634 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19635 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19636 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19637 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19638 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19639 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19640 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19641 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19642 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19643 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19644 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19645 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19646 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19647 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19648 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19649 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19650 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19651 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19652 * sysdeps/i386/fpu/e_log.S: Likewise.
19653 * sysdeps/i386/fpu/e_log10.S: Likewise.
19654 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19655 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19656 * sysdeps/i386/fpu/e_log2.S: Likewise.
19657 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19658 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19659 * sysdeps/i386/fpu/e_logf.S: Likewise.
19660 * sysdeps/i386/fpu/e_logl.S: Likewise.
19661 * sysdeps/i386/fpu/e_pow.S: Likewise.
19662 * sysdeps/i386/fpu/e_powf.S: Likewise.
19663 * sysdeps/i386/fpu/e_powl.S: Likewise.
19664 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19665 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19666 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19667 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19668 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19669 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19670 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19671 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19672 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19673 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19674 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19675 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19676 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19677 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19678 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19679 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19680 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19681 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19682 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19683 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19684 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19686 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19687 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19688 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19689 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19690 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19691 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19693 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19694 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19695 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19696 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19697 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19698 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19699 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19700 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19701 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19702 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19703 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19704 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19705 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19706 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19707 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19708 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19709 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19710 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19711 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19712 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19713 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19714 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19715 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19716 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19717 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19718 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19719 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19720 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19722 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19723 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19724 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19725 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19726 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19727 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19728 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19729 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19730 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19731 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19732 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19733 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19734 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19735 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19736 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19737 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19738 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19739 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19740 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19741 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19742 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19743 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19744 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19745 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19746 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19747 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19748 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19749 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19750 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19751 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19752 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19753 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19754 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19755 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19756 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19757 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19758 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19759 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19760 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19761 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19762 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19763 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19764 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19765 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19766 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19767 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19768 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19769 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19770 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19771 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19772 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19773 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19774 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19775 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19776 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19777 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19778 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19779 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19780 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19781 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19782 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19783 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19784 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19785 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19786 (__isnanf): Likewise.
19787 (__isinf_ns): Likewise.
19788 (__isinf_nsf): Likewise.
19789 (__finite): Likewise.
19790 (__finitef): Likewise.
19791 (__ieee754_sqrt): Define as macro.
19792 (__ieee754_sqrtf): Define as macro.
19793 (__ieee754_sqrtl): Define as macro.
19794 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19795 inlined copy.
19796 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19797 __FINITE_MATH_ONLY__ consistent.
19798 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19799
12cc2fcd
AS
198002011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19801
a843a204
AS
19802 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19803 of rawmemchr.
19804
12cc2fcd
AS
19805 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19806
c853acd5
UD
198072011-10-09 Ulrich Drepper <drepper@gmail.com>
19808
19809 * po/ja.po: Update from translation team.
19810
c658d255
RM
198112011-10-08 Roland McGrath <roland@hack.frob.com>
19812
110946e4
RM
19813 * locale/programs/locarchive.c (prepare_address_space): New function.
19814 (create_archive, enlarge_archive, open_archive): Use it.
19815
50604220
RM
19816 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19817 inside [SHARED], where it is used.
19818
c658d255
RM
19819 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19820
19821 * nss/getent.c (netgroup_keys): Remove unused variable.
19822 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19823
6a621eb7
UD
198242011-10-08 Ulrich Drepper <drepper@gmail.com>
19825
7edb55ce
UD
19826 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19827 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19828 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19829 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19830 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19831 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19832 * math/Makefile (libm-calls): Add s_isinf_ns.
19833 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19834 * math/multc3.c: Likewise.
19835 * math/s_casin.c: Likewise.
19836 * math/s_casinf.c: Likewise.
19837 * math/s_casinl.c: Likewise.
19838 * math/s_ccos.c: Likewise.
19839 * math/s_ccosf.c: Likewise.
19840 * math/s_ccosl.c: Likewise.
19841 * math/s_ctan.c: Likewise.
19842 * math/s_ctanf.c: Likewise.
19843 * math/s_ctanh.c: Likewise.
19844 * math/s_ctanhf.c: Likewise.
19845 * math/s_ctanhl.c: Likewise.
19846 * math/s_ctanl.c: Likewise.
19847 * math/w_fmod.c: Likewise.
19848 * math/w_fmodf.c: Likewise.
19849 * math/w_fmodl.c: Likewise.
19850 * math/w_remainder.c: Likewise.
19851 * math/w_remainderf.c: Likewise.
19852 * math/w_remainderl.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19854 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19855 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19856 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19857 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19858 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19859 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19860 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19861
187da0ae
UD
19862 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19863 of the number.
19864 * stdio-common/printf_fphex.c: Likewise.
19865 * stdio-common/printf_size.c: Likewise.
19866
9277c064
UD
19867 * math/e_exp10.c: Include math_private.h using <...> not "...".
19868 * math/e_exp10f.c: Likewise.
19869 * math/e_exp10l.c: Likewise.
19870 * math/e_exp2l.c: Likewise.
19871 * math/e_j0l.c: Likewise.
19872 * math/e_j1l.c: Likewise.
19873 * math/e_jnl.c: Likewise.
19874 * math/e_lgammal_r.c: Likewise.
19875 * math/e_rem_pio2l.c: Likewise.
19876 * math/e_scalb.c: Likewise.
19877 * math/e_scalbf.c: Likewise.
19878 * math/e_scalbl.c: Likewise.
19879 * math/k_cosl.c: Likewise.
19880 * math/k_sinl.c: Likewise.
19881 * math/k_tanl.c: Likewise.
19882 * math/s_cacoshf.c: Likewise.
19883 * math/s_catan.c: Likewise.
19884 * math/s_catanf.c: Likewise.
19885 * math/s_catanh.c: Likewise.
19886 * math/s_catanhf.c: Likewise.
19887 * math/s_catanhl.c: Likewise.
19888 * math/s_catanl.c: Likewise.
19889 * math/s_ccosh.c: Likewise.
19890 * math/s_ccoshf.c: Likewise.
19891 * math/s_ccoshl.c: Likewise.
19892 * math/s_cexp.c: Likewise.
19893 * math/s_cexpf.c: Likewise.
19894 * math/s_cexpl.c: Likewise.
19895 * math/s_clog.c: Likewise.
19896 * math/s_clog10.c: Likewise.
19897 * math/s_clog10f.c: Likewise.
19898 * math/s_clog10l.c: Likewise.
19899 * math/s_clogf.c: Likewise.
19900 * math/s_clogl.c: Likewise.
19901 * math/s_csin.c: Likewise.
19902 * math/s_csinf.c: Likewise.
19903 * math/s_csinh.c: Likewise.
19904 * math/s_csinhf.c: Likewise.
19905 * math/s_csinhl.c: Likewise.
19906 * math/s_csinl.c: Likewise.
19907 * math/s_csqrt.c: Likewise.
19908 * math/s_csqrtf.c: Likewise.
19909 * math/s_csqrtl.c: Likewise.
19910 * math/s_ctan.c: Likewise.
19911 * math/s_ctanf.c: Likewise.
19912 * math/s_ctanh.c: Likewise.
19913 * math/s_ctanhf.c: Likewise.
19914 * math/s_ctanhl.c: Likewise.
19915 * math/s_ctanl.c: Likewise.
19916 * math/s_ldexp.c: Likewise.
19917 * math/s_ldexpf.c: Likewise.
19918 * math/s_ldexpl.c: Likewise.
19919 * math/s_significand.c: Likewise.
19920 * math/s_significandf.c: Likewise.
19921 * math/s_significandl.c: Likewise.
19922 * math/w_acos.c: Likewise.
19923 * math/w_acosf.c: Likewise.
19924 * math/w_acosh.c: Likewise.
19925 * math/w_acoshf.c: Likewise.
19926 * math/w_acoshl.c: Likewise.
19927 * math/w_acosl.c: Likewise.
19928 * math/w_asin.c: Likewise.
19929 * math/w_asinf.c: Likewise.
19930 * math/w_asinl.c: Likewise.
19931 * math/w_atan2.c: Likewise.
19932 * math/w_atan2f.c: Likewise.
19933 * math/w_atan2l.c: Likewise.
19934 * math/w_atanh.c: Likewise.
19935 * math/w_atanhf.c: Likewise.
19936 * math/w_atanhl.c: Likewise.
19937 * math/w_cosh.c: Likewise.
19938 * math/w_coshf.c: Likewise.
19939 * math/w_coshl.c: Likewise.
19940 * math/w_dremf.c: Likewise.
19941 * math/w_exp10.c: Likewise.
19942 * math/w_exp10f.c: Likewise.
19943 * math/w_exp10l.c: Likewise.
19944 * math/w_exp2.c: Likewise.
19945 * math/w_exp2f.c: Likewise.
19946 * math/w_fmod.c: Likewise.
19947 * math/w_fmodf.c: Likewise.
19948 * math/w_fmodl.c: Likewise.
19949 * math/w_hypot.c: Likewise.
19950 * math/w_hypotf.c: Likewise.
19951 * math/w_hypotl.c: Likewise.
19952 * math/w_j0.c: Likewise.
19953 * math/w_j0f.c: Likewise.
19954 * math/w_j0l.c: Likewise.
19955 * math/w_j1.c: Likewise.
19956 * math/w_j1f.c: Likewise.
19957 * math/w_j1l.c: Likewise.
19958 * math/w_jn.c: Likewise.
19959 * math/w_jnf.c: Likewise.
19960 * math/w_jnl.c: Likewise.
19961 * math/w_lgamma.c: Likewise.
19962 * math/w_lgamma_r.c: Likewise.
19963 * math/w_lgammaf.c: Likewise.
19964 * math/w_lgammaf_r.c: Likewise.
19965 * math/w_lgammal.c: Likewise.
19966 * math/w_lgammal_r.c: Likewise.
19967 * math/w_log.c: Likewise.
19968 * math/w_log10.c: Likewise.
19969 * math/w_log10f.c: Likewise.
19970 * math/w_log10l.c: Likewise.
19971 * math/w_log2.c: Likewise.
19972 * math/w_log2f.c: Likewise.
19973 * math/w_log2l.c: Likewise.
19974 * math/w_logf.c: Likewise.
19975 * math/w_logl.c: Likewise.
19976 * math/w_pow.c: Likewise.
19977 * math/w_powf.c: Likewise.
19978 * math/w_powl.c: Likewise.
19979 * math/w_remainder.c: Likewise.
19980 * math/w_remainderf.c: Likewise.
19981 * math/w_remainderl.c: Likewise.
19982 * math/w_scalb.c: Likewise.
19983 * math/w_scalbf.c: Likewise.
19984 * math/w_scalbl.c: Likewise.
19985 * math/w_sinh.c: Likewise.
19986 * math/w_sinhf.c: Likewise.
19987 * math/w_sinhl.c: Likewise.
19988 * math/w_sqrt.c: Likewise.
19989 * math/w_sqrtf.c: Likewise.
19990 * math/w_sqrtl.c: Likewise.
19991 * math/w_tgamma.c: Likewise.
19992 * math/w_tgammaf.c: Likewise.
19993 * math/w_tgammal.c: Likewise.
19994
6a621eb7
UD
19995 * po/ja.po: Update from translation team.
19996
bf582445
AJ
199972011-09-29 Andreas Jaeger <aj@suse.de>
19998
f9efbf3a
AJ
19999 [BZ #13179]
20000 * sunrpc/netname.c (netname2host): Fix logic.
20001
bf582445
AJ
20002 [BZ #6779]
20003 [BZ #6783]
20004 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20005 correctly.
20006 * math/w_remainder.c (__remainder): Likewise.
20007 * math/w_remainderf.c (__remainderf): Likewise.
20008 * math/libm-test.inc (remainder_test): Add test cases.
20009
48693bea
AK
200102011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20011
20012 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20013 sdiv_qrnnd.
20014
42622229
LD
200152011-10-07 Ulrich Drepper <drepper@gmail.com>
20016
20017 * string/test-memcmp.c: Avoid unncessary #defines.
20018 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20019
093ecf92
LD
200202011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20021
20022 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20023 Use new sse2 version for core i3 - i7 as it's faster
20024 than sse42 version.
20025 (bit_Prefer_PMINUB_for_stringop): New.
20026 * sysdeps/x86_64/rawmemchr.S: Update.
20027 Replace with faster SSE2 version.
20028 * sysdeps/x86_64/memrchr.S: New file.
20029 * sysdeps/x86_64/memchr.S: Update.
20030 Replace with faster SSE2 version.
20031
fde56e5c
MP
200322011-09-12 Marek Polacek <mpolacek@redhat.com>
20033
20034 * elf/dl-load.c (lose): Add cast to avoid warning.
20035
21fd49a9
UD
200362011-10-07 Ulrich Drepper <drepper@gmail.com>
20037
5a06e643
UD
20038 * po/ca.po: Update from translation team.
20039
684ae515
UD
20040 * inet/getnetgrent_r.c: Hook up nscd.
20041 * nscd/Makefile (routines): Add nscd_netgroup.
20042 (nscd-modules): Add netgroupcache.
20043 (CFLAGS-netgroupcache.c): Define.
20044 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20045 (cache_search): Add const to second parameter.
20046 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20047 INNETGR.
20048 (dbs): Add netgrdb entry.
20049 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20050 (verify_persistent_db): Handle netgrdb.
20051 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20052 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20053 GETFDNETGR.
20054 (netgroup_response_header): Define.
20055 (innetgroup_response_header): Define.
20056 (datahead): Add netgroup_response_header and innetgroup_response_header
20057 elements.
20058 * nscd/nscd.conf: Add entries for netgroup cache.
20059 * nscd/nscd.h (dbtype): Add netgrdb.
20060 (_PATH_NSCD_NETGROUP_DB): Define.
20061 (netgroup_iov_disabled): Declare.
20062 (xmalloc, xcalloc, xrealloc): Move declarations here.
20063 (cache_search): Adjust prototype.
20064 Add netgroup-related prototypes.
20065 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20066 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20067 (__nscd_innetgr): Declare.
20068 * nscd/selinux.c (perms): Use access_vector_t as element type and
20069 add netgroup-related initializers.
20070 * nscd/netgroupcache.c: New file.
20071 * nscd/nscd_netgroup.c: New file.
20072 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20073 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20074 For four parameters use innetgr.
20075 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20076 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20077 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20078 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20079
21fd49a9
UD
20080 * nscd/connections.c (register_traced_file): Don't register file
20081 for disabled databases.
20082
054c0457
UD
200832011-10-06 Ulrich Drepper <drepper@gmail.com>
20084
32b63198
UD
20085 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20086
054c0457
UD
20087 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20088 from tree and freeing node.
20089
64031225
JO
200902011-09-25 Jiri Olsa <jolsa@redhat.com>
20091
20092 * nss/nsswitch.c (__nss_database_lookup): Handle
20093 nss_parse_service_list out of memory case.
20094
0490345c
JO
200952011-09-15 Jiri Olsa <jolsa@redhat.com>
20096
20097 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20098 out of memory case.
20099
3a62d00d
AS
201002011-10-04 Andreas Schwab <schwab@redhat.com>
20101
20102 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20103 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20104 pass it down.
20105 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20106 elf_machine_rela, elf_machine_lazy_rel.
20107 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20108 (ELF_DYNAMIC_DO_REL): Likewise.
20109 (ELF_DYNAMIC_DO_RELA): Likewise.
20110 (ELF_DYNAMIC_RELOCATE): Likewise.
20111 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20112 to ELF_DYNAMIC_DO_REL.
20113 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20114 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20115 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20116 elf_machine_rela.
20117 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20118 skip_ifunc, don't call ifunc function if non-zero.
20119 (elf_machine_rela): Likewise.
20120 (elf_machine_lazy_rel): Likewise.
20121 (elf_machine_lazy_rela): Likewise.
20122 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20123 (elf_machine_lazy_rel): Likewise.
20124 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20125 Likewise.
20126 (elf_machine_lazy_rel): Likewise.
20127 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20128 Likewise.
20129 (elf_machine_lazy_rel): Likewise.
20130 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20131 (elf_machine_lazy_rel): Likewise.
20132 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20133 (elf_machine_lazy_rel): Likewise.
20134 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20135 (elf_machine_lazy_rel): Likewise.
20136 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20137 (elf_machine_lazy_rel): Likewise.
20138 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20139 (elf_machine_lazy_rel): Likewise.
20140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20141 (elf_machine_lazy_rel): Likewise.
20142
68577918
UD
201432011-09-28 Ulrich Drepper <drepper@gmail.com>
20144
20145 * nss/nss_files/files-init.c (_nss_files_init): Use static
20146 initialization for all the *_traced_file variables.
20147
68822d74
AS
201482011-09-28 Andreas Schwab <schwab@redhat.com>
20149
20150 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20151
2056100b
RM
201522011-09-27 Roland McGrath <roland@hack.frob.com>
20153
20154 [BZ #13226]
20155 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20156
32c76b63
AS
201572011-09-27 Andreas Schwab <schwab@redhat.com>
20158
20159 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20160 Reread the line before reparsing it.
20161
bf972c9d
AS
201622011-09-26 Andreas Schwab <schwab@redhat.com>
20163
20164 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20165
e057a1b5
JM
201662011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20167 Maxim Kuvyrkov <maxim@codesourcery.com>
20168 Joseph Myers <joseph@codesourcery.com>
20169
20170 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20171 if needed for __stack_chk_guard.
20172
bc7e1c36
RM
201732011-09-19 Roland McGrath <roland@hack.frob.com>
20174
ecb1482f
RM
20175 * sysdeps/posix/spawni.c (script_execute): Always define it.
20176 It will be optimized away if unused.
20177 (maybe_script_execute): New function.
20178 (__spawni): Call it.
20179
bc7e1c36
RM
20180 * Makerules: Don't include tls.make.
20181 (config-tls): Always set to thread.
20182 * tls.make.c: File removed.
20183
1c3b002b
MF
201842011-09-19 Mike Frysinger <vapier@gentoo.org>
20185
20186 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20187 * config.make.in (CPPFLAGS-config): New substituted variable.
20188
2840865d
UD
201892011-09-15 Ulrich Drepper <drepper@gmail.com>
20190
88738eb6
UD
20191 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20192
cbf645a6 20193 [BZ #13192]
2840865d
UD
20194 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20195 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20196
b402e91a
RM
201972011-09-15 Roland McGrath <roland@hack.frob.com>
20198
20199 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20200 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20202 (CALL_FAIL): Likewise.
20203 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20204 (CALL_FAIL): Macro removed.
20205 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20206
4c1a1f71
UD
202072011-09-15 Ulrich Drepper <drepper@gmail.com>
20208
20209 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20210 for __FINITE_MATH_ONLY__ == 1.
20211
edc121be
AS
202122011-09-15 Andreas Schwab <schwab@redhat.com>
20213
20214 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20215 __ieee754_sqrt instead of sqrt.
20216 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20217 __ieee754_sqrtf instead of sqrtf.
20218 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20219 __floorf instead of floorf.
20220 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20221 __floorf, __truncf instead of floorf, truncf.
20222
cd205654
UD
202232011-09-14 Ulrich Drepper <drepper@gmail.com>
20224
ee4d0315
UD
20225 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20226
cd205654
UD
20227 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20228 __extern_always_inline.
20229 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20230 32-bit.
20231
48b67d71
AS
202322011-09-14 Andreas Schwab <schwab@redhat.com>
20233
20234 * elf/rtld.c (dl_main): Also relocate in dependency order when
20235 doing symbol dependency testing.
20236
1ae12c75
AS
202372011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20238
20239 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20240 Always define `refsym'.
20241
995a80df
AS
202422011-09-13 Andreas Schwab <schwab@redhat.com>
20243
e529793b
AS
20244 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20245 (__FD_ELT): Renamed from __FDELT.
20246 * misc/bits/select2.h (__FD_ELT): Likewise.
20247 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20248 __FD_MASK instead of __FDELT, __FDMASK.
20249 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20250 Likewise.
20251 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20252 Likewise.
20253
52d4fef8
AS
20254 * elf/Makefile (gen-ldd): Fix pattern.
20255
995a80df
AS
20256 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20257 (init_tls): Likewise.
20258
8682f8b0
UD
202592011-09-12 Ulrich Drepper <drepper@gmail.com>
20260
20261 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20262
de82006d
AS
202632011-09-12 Andreas Schwab <schwab@redhat.com>
20264
a7c8e6a1
AS
20265 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20266 `struct cmsghdr *' instead of `void *'.
20267 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20268 Likewise.
20269
0f31fe77
AS
202702011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20271
20272 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20273 if non-absolute.
20274 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20275 ldd_rewrite_script.
0f31fe77 20276
32b4c839
UD
202772011-09-11 Ulrich Drepper <drepper@gmail.com>
20278
83cd1420
UD
20279 * configure.in: Remove --with-tls option.
20280 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20281 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20282 out in case it is missing.
20283 * sysdeps/ia64/elf/configure.in: Likewise.
20284 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20285 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20286 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20287 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20288 * sysdeps/sh/elf/configure.in: Likewise.
20289 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20290 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20291 * sysdeps/x86_64/elf/configure.in: Likewise.
20292 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20293 * sysdeps/mach/hurd/tls.h: Likewise.
20294
633f745d
UD
20295 [BZ #13067]
20296 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20297
f318beb8
UD
20298 [BZ #13090]
20299 * configure.in: Fix use of AC_INIT.
20300
32b4c839
UD
20301 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20302
3ce1f295
UD
203032011-09-10 Ulrich Drepper <drepper@gmail.com>
20304
bb016596
UD
20305 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20306 __set_errno.
8e58439c
UD
20307 * malloc/hooks.c: Likewise.
20308
aebae053 20309 [BZ #11929]
02d46fc4
UD
20310 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20311 variables statically.
20312 (narenas): Initialize.
20313 (list_lock): Initialize.
bb016596
UD
20314 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20315 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20316 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20317 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20318 Add initializers to main_arena and mp_.
20319 (malloc_state): Remove pagesize member. Change all users to use
20320 GLRO(dl_pagesize).
20321
20322 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20323 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20324 is always initialized.
20325
22a89187
UD
20326 * malloc/malloc.c: Removed unused configurations and dead code.
20327 * malloc/arena.c: Likewise.
20328 * malloc/hooks.c: Likewise.
02d46fc4 20329 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20330
d063d164
UD
20331 * include/tls.h: Removed. USE___THREAD must always be defined.
20332 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20333 * elf/dl-libc.c: Likewise.
20334 * elf/dl-tsd.c: Likewise.
20335 * include/errno.h: Likewise.
20336 * include/netdb.h: Likewise.
20337 * include/resolv.h: Likewise.
20338 * inet/herrno-loc.c: Likewise.
20339 * inet/herrno.c: Likewise.
20340 * malloc/arena.c: Likewise.
20341 * malloc/hooks.c: Likewise.
20342 * malloc/malloc.c: Likewise.
20343 * resolv/res-state.c: Likewise.
20344 * resolv/res_libc.c: Likewise.
20345 * sysdeps/i386/dl-machine.h: Likewise.
20346 * sysdeps/ia64/dl-machine.h: Likewise.
20347 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20348 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20349 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20350 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20351 * sysdeps/sh/dl-machine.h: Likewise.
20352 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20353 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20354 * sysdeps/unix/i386/sysdep.S: Likewise.
20355 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20356 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20357 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20358 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20359 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20360 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20361 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20363 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20365 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20366 * sysdeps/x86_64/dl-machine.h: Likewise.
20367 * tls.make.c: Likewise.
20368
3ce1f295
UD
20369 * configure.in: Remove --with-__thread option. Make tests for
20370 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20371 tls_model attribute fail if no support is available. Remove
20372 USE_IN_LIBIO.
20373 * Makeconfig: Adjust for dropped configure option. All features are
20374 now mandatory.
20375 * Makerules: Likewise.
20376 * Versions.def: Likewise.
20377 * argp/argp-fmtstream.c: Likewise.
20378 * argp/argp-fmtstream.h: Likewise.
20379 * argp/argp-help.c: Likewise.
20380 * assert/assert.c: Likewise.
20381 * config.h.in: Likewise.
20382 * config.make.in: Likewise.
20383 * configure: Likewise.
20384 * configure.in: Likewise.
20385 * csu/Versions: Likewise.
20386 * csu/init.c: Likewise.
20387 * elf/tst-audit2.c: Likewise.
20388 * elf/tst-tls10.c: Likewise.
20389 * elf/tst-tls10.h: Likewise.
20390 * elf/tst-tls11.c: Likewise.
20391 * elf/tst-tls12.c: Likewise.
20392 * elf/tst-tls14.c: Likewise.
20393 * elf/tst-tlsmod11.c: Likewise.
20394 * elf/tst-tlsmod12.c: Likewise.
20395 * elf/tst-tlsmod13.c: Likewise.
20396 * elf/tst-tlsmod13a.c: Likewise.
20397 * elf/tst-tlsmod14a.c: Likewise.
20398 * elf/tst-tlsmod15b.c: Likewise.
20399 * elf/tst-tlsmod16a.c: Likewise.
20400 * elf/tst-tlsmod16b.c: Likewise.
20401 * elf/tst-tlsmod7.c: Likewise.
20402 * elf/tst-tlsmod8.c: Likewise.
20403 * elf/tst-tlsmod9.c: Likewise.
20404 * gmon/gmon.c: Likewise.
20405 * grp/fgetgrent_r.c: Likewise.
20406 * grp/putgrent.c: Likewise.
20407 * hurd/fopenport.c: Likewise.
20408 * include/libc-symbols.h: Likewise.
20409 * include/tls.h: Likewise.
20410 * intl/gettextP.h: Likewise.
20411 * intl/loadinfo.h: Likewise.
20412 * locale/global-locale.c: Likewise.
20413 * locale/localeinfo.h: Likewise.
20414 * mach/devstream.c: Likewise.
20415 * malloc/arena.c: Likewise.
20416 * malloc/set-freeres.c: Likewise.
20417 * misc/err.c: Likewise.
20418 * misc/getttyent.c: Likewise.
20419 * misc/mntent_r.c: Likewise.
20420 * posix/getopt.c: Likewise.
20421 * posix/wordexp.c: Likewise.
20422 * pwd/fgetpwent_r.c: Likewise.
20423 * resolv/Versions: Likewise.
20424 * resolv/res_hconf.c: Likewise.
20425 * shadow/fgetspent_r.c: Likewise.
20426 * shadow/putspent.c: Likewise.
20427 * stdio-common/printf_fphex.c: Likewise.
20428 * stdio-common/tmpfile.c: Likewise.
20429 * stdlib/abort.c: Likewise.
20430 * stdlib/fmtmsg.c: Likewise.
20431 * sunrpc/auth_unix.c: Likewise.
20432 * sunrpc/clnt_perr.c: Likewise.
20433 * sunrpc/clnt_tcp.c: Likewise.
20434 * sunrpc/clnt_udp.c: Likewise.
20435 * sunrpc/clnt_unix.c: Likewise.
20436 * sunrpc/openchild.c: Likewise.
20437 * sunrpc/svc_simple.c: Likewise.
20438 * sunrpc/svc_tcp.c: Likewise.
20439 * sunrpc/svc_udp.c: Likewise.
20440 * sunrpc/svc_unix.c: Likewise.
20441 * sunrpc/xdr.c: Likewise.
20442 * sunrpc/xdr_array.c: Likewise.
20443 * sunrpc/xdr_rec.c: Likewise.
20444 * sunrpc/xdr_ref.c: Likewise.
20445 * sunrpc/xdr_stdio.c: Likewise.
20446
1248c1c4
PB
204472011-09-09 Ulrich Drepper <drepper@gmail.com>
20448
20449 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20450
204512011-07-03 Andreas Jaeger <aj@suse.de>
20452
20453 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20454 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20455 regenerate with gen-libm-tests.pl.
20456
204572010-05-12 Petr Baudis <pasky@suse.cz>
20458
20459 [BZ #11589]
20460 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20461 around j0() zero points by switching to j1().
20462 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20463 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20465 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20466
f22e1074
UD
204672011-09-09 Ulrich Drepper <drepper@gmail.com>
20468
f19009c1
UD
20469 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20470 instead of 0.
20471 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20472 instead of 0.
f19009c1
UD
20473 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20474 Patch in part by Pavel Roskin <proski@gnu.org>.
20475
3f8cc204
UD
20476 [BZ #13138]
20477 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20478 realloc.
20479 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20480 Free memory block if necessary.
20481
f22e1074
UD
20482 [BZ #12847]
20483 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20484 be NULL. Don't lock in this case.
20485
0a2349f9
RM
204862011-09-09 Roland McGrath <roland@hack.frob.com>
20487
20488 * elf/elf.h (ELFOSABI_GNU): New macro.
20489 (ELFOSABI_LINUX): Define to that.
20490
f3cdd467
DZ
204912011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20492
20493 * string/strncat.c (strncat): Undef the symbol in case it has been
20494 defined in bits/string.h.
20495
74718d13
UD
204962011-09-09 Ulrich Drepper <drepper@gmail.com>
20497
633e9e0f
UD
20498 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20499
0a2349f9 20500 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20501 link map.
20502
f9924780
AJ
205032011-08-17 Andreas Jaeger <aj@suse.de>
20504
20505 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20506
7f5517aa
PP
205072011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20508 Ian Lance Taylor <iant@google.com>
20509
20510 * math/libm-test.inc (lround_test): New testcase.
20511 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20512
762011fe
UD
205132011-09-08 Ulrich Drepper <drepper@gmail.com>
20514
92963737
UD
20515 * Makefile: Remove support for automatic cvs check-ins.
20516 * Makerules: Likewise.
20517 * config.make.in: Likewise.
20518 * configure.in: Likewise.
20519 * intl/Makefile: Likewise.
20520 * locale/Makefile: Likewise.
20521 * po/Makefile: Likewise.
20522 * posix/Makefile: Likewise.
20523 * sysdeps/gnu/Makefile: Likewise.
20524 * sysdeps/mach/hurd/Makefile: Likewise.
20525 * sysdeps/sparc/sparc32/Makefile: Likewise.
20526
b0727fd8
JS
20527 [BZ #13118]
20528 * posix/Makefile (bug-regex32-ENV): Define.
20529 Patch by John Stanley <jpsinthemix@verizon.net>.
20530
a0f33f99
UD
20531 * misc/Makefile (headers): Add bits/select2.h.
20532 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20533 * misc/bits/select2.h: New file.
20534 * include/bits/select2.h: New file.
20535 * debug/Makefile (routines): Add fdelt_chk.
20536 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20537 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20538 FD_ISSET.
20539 * debug/fdelt_chk.c: New file.
20540
762011fe
UD
20541 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20542 * wcsmbs/test-wmemcmp.c: Likewise.
20543 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20544 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20545
205462011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20547
20548 * string/Makefile (strop-tests): Add memcmp.
20549 * string/test-wmemcmp.c: New file.
20550 * string/test-memcmp.c: Add wmemcmp support.
20551
7f513ec8
RM
205522011-09-08 Roland McGrath <roland@hack.frob.com>
20553
0442afb4
RM
20554 [BZ #13153]
20555 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20556 2011-07-19 change.
20557
7f513ec8
RM
20558 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20559 garbage value in a __mach_port_mod_refs call in the cases of the
20560 task-self and thread-self ports.
20561
a12b2239
ST
205622011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20563
20564 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20565
610f9ab4
AS
205662011-09-08 Andreas Schwab <schwab@redhat.com>
20567
7f513ec8 20568 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20569
48882a1a
LD
205702011-09-07 Ulrich Drepper <drepper@gmail.com>
20571
b49865be
UD
20572 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20573
fdc86bc9
UD
20574 * elf/dl-libc.c (dlerror_run): Pass back error code from
20575 dl_catch_error.
20576
c966526a
UD
20577 [BZ #13123]
20578 * elf/dl-load.c (lose): Free l_origin if it is valid.
20579
48882a1a
LD
20580 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20581 names.
20582 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20583 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20584 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20585 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20586 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20587 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20588
77a2a8b4
AZ
205892011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20590
20591 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20592 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20593 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20594 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20595 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20596 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20597 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20598 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20599 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20600 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20601
24f579d8
AM
206022011-08-15 Alan Modra <amodra@gmail.com>
20603
20604 [BZ #13092]
20605 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20606 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20607 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20608 ppc_mcount to static-only-routines.
20609 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20610 __mcount_internal.
20611 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20612 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20613
3d4837df
UD
206142011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20615
20616 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20617 for finite and infinity parameters.
20618
22700377
WS
206192011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20620
20621 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20622 and add nop instructions for throughput optimization.
20623 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20624
5025581e
WS
206252011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20626
20627 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20628 aligned copy for power7 with vector-scalar instructions.
20629 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20630
08a300c9
L
206312011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20632
20633 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20634 AVX check.
20635
59178ef9
AS
206362011-09-07 Andreas Schwab <schwab@redhat.com>
20637
20638 [BZ #13144]
20639 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20640 last change.
20641
e38ba7ab
UD
206422011-09-07 Ulrich Drepper <drepper@gmail.com>
20643
20644 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20645 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20646 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20647 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20648 clock_gettime.
20649
d53a73ac
UD
206502011-09-06 Ulrich Drepper <drepper@gmail.com>
20651
fc8bffcc
UD
20652 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20653 Forgot to demangle the pointer.
20654
ceaa0c5d
UD
20655 * sysdeps/i386/sysdep.h: Define atom_text_section.
20656 * sysdeps/x86_64/sysdep.h: Likewise.
20657 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20658 section with atom_text_section.
20659 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20660 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20661 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20662 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20663 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20664
a77d3c17
UD
20665 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20666 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20667 already be defined. Change to take two parameters and don't assign
20668 result to variable. Adjust all users.
20669 Define INTERNAL_GETTIME if not already defined.
20670 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20671 call.
20672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20673 HAVE_CLOCK_GETTIME_VSYSCALL.
20674 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20675
d53a73ac
UD
20676 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20677 gettimeofday vsyscall, just use time.
20678
a8f84144
AS
206792011-09-06 Andreas Schwab <schwab@redhat.com>
20680
20681 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20682 <errno.h>.
20683
ef606249
UD
206842011-09-06 Ulrich Drepper <drepper@gmail.com>
20685
20686 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20687 syscall on x86-64.
20688 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20689 syscall.
20690 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20692 syscall if possible.
20693
6585cb60
UD
206942011-09-05 Ulrich Drepper <drepper@gmail.com>
20695
20696 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20697 e_ident. Don't pass to find_mapsXX.
20698 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20699
a5f524e4
LD
207002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20701
20702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20703 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20704 * sysdeps/x86_64/multiarch/strchr.S: Update.
20705 Check bit_slow_BSF bit.
20706 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20707 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20708 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20709
554881ef
UD
207102011-09-05 Ulrich Drepper <drepper@gmail.com>
20711
d96de963
UD
20712 [BZ #13134]
20713 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20714 before glibc 2.15.
20715 (tryshell): Define.
20716 (__spawni): Change last parameter to be flag. Test
20717 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20718 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20719 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20720 * posix/spawni.c: Likewise.
20721 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20722 * posix/spawnp.c: Likewise. Change normal version to use
20723 SPAWN_XFLAGS_USE_PATH.
20724 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20725 SPAWN_XFLAGS_TRY_SHELL.
20726
d48e5868
UD
20727 [BZ #13150]
20728 * posix/glob.h: Remove gcc 1.x support.
20729
554881ef
UD
20730 [BZ #13068]
20731 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20732
693fb948
LD
207332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20734
20735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20736 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20737 strrchr-sse2-bsf
20738 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20739 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20740 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20741 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20742 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20743 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20744
1b48c537
UD
207452011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20746
49d42c37
UD
20747 * sysdeps/x86_64/wcscmp.S: New file.
20748
1b48c537
UD
20749 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20750 wcscmp-c wcscmp-sse2
20751 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20752 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20753 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20754 * wcsmbs/wcscmp.c: Allow renaming.
20755
15c95c5d
DM
207562011-09-05 David S. Miller <davem@davemloft.net>
20757
20758 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20759 stack slot, rather than the struct return pointer slot.
20760 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20761 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20763 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20764
2f0ad8f3
UD
207652011-09-05 Ulrich Drepper <drepper@gmail.com>
20766
d88ae418
UD
20767 * po/ja.po: Update from translation team.
20768
2f0ad8f3
UD
20769 [BZ #13144]
20770 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20771 kernel in 64-bit binaries.
20772
5f4318d1
DM
207732011-09-01 David S. Miller <davem@davemloft.net>
20774
20775 * elf/elf.h (HWCAP_SPARC_*): Move to..
20776 * sysdeps/sparc/sysdep.h: this new file and add new values.
20777 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20778 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20779 _DL_HWCAP_COUNT to 24.
20780 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20781 entries.
20782 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20783 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20784 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20786 instead of magic constants.
20787 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20788
3ba57516
DM
207892011-08-31 David S. Miller <davem@davemloft.net>
20790
20791 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20792 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20793 Reimplement to do errno handling inline.
20794 (SYSCALL_ERROR_HANDLER): New macro.
20795 (__SYSCALL_STRING): Do not do errno handling in asm.
20796 (__CLONE_SYSCALL_STRING): Delete.
20797 (__INTERNAL_SYSCALL_STRING): Delete.
20798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20799 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20800 (PSEUDO): Reimplement to do errno handling inline.
20801 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20802 (SYSCALL_ERROR_HANDLER): New macro.
20803 (__SYSCALL_STRING): Do not do errno handling in asm.
20804 (__CLONE_SYSCALL_STRING): Delete.
20805 (__INTERNAL_SYSCALL_STRING): Delete.
20806 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20807 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20808 i386.
20809 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20810 (inline_syscall*): Add 'err' argument.
20811 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20812 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20813 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20814 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20815
20816 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20817 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20818
2bc17433
AS
208192011-08-30 Andreas Schwab <schwab@redhat.com>
20820
20821 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20822
fbeb5f4d
JO
208232011-08-29 Jiri Olsa <jolsa@redhat.com>
20824
20825 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20826 directive.
20827
ad69cc26
DM
208282011-08-24 David S. Miller <davem@davemloft.net>
20829
20830 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20831
39dd69df
AS
208322011-08-24 Andreas Schwab <schwab@redhat.com>
20833
20834 * elf/Makefile: Add rules to build and run unload8 test.
20835 * elf/unload8.c: New file.
20836 * elf/unload8mod1.c: New file.
20837 * elf/unload8mod1x.c: New file.
20838 * elf/unload8mod2.c: New file.
20839 * elf/unload8mod3.c: New file.
20840
20841 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20842 it wasn't used.
20843
2c0b250a
DM
208442011-08-23 David S. Miller <davem@davemloft.net>
20845
20846 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20847 subtract stack bias.
20848 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20849 %sp not %fp in calculations.
20850 (_JMPBUF_UNWINDS_ADJ): Likewise.
20851
22044b48
DM
20852 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20853 (aio_suspend): Call it to force an exception region around the
20854 AIO_MISC_WAIT() invocation.
20855
2cae4995
AS
208562011-08-23 Andreas Schwab <schwab@redhat.com>
20857
20858 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20859 backslash.
20860
873a772e
AJ
208612011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20862
20863 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20864 protection macro.
20865 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20866 and <dl-machine.h>.
20867 (Elf64_FuncDesc): Remove.
20868
25ad0df1
DM
208692011-08-22 David S. Miller <davem@davemloft.net>
20870
20871 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20872 sigaltstack check, add missing cfi directives.
20873 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20874 missing cfi directives, and sigaltstack handling.
20875
e888bcbe
AS
208762011-08-16 Andreas Schwab <schwab@redhat.com>
20877
20878 [BZ #11724]
20879 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20880 object is seen twice.
20881 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20882
20883 * elf/Makefile (distribute): Add tst-initorder2.c.
20884 (tests): Add tst-initorder2.
20885 (modules-names): Add tst-initorder2a tst-initorder2b
20886 tst-initorder2c tst-initorder2d. Add rules to build them.
20887 ($(objpfx)tst-initorder2.out): New rule.
20888 * elf/tst-initorder2.c: New file.
20889 * elf/tst-initorder2.exp: New file.
20890
87162f46
AS
208912011-08-22 Andreas Schwab <schwab@redhat.com>
20892
70538b7f
AS
20893 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20894
f55ffe58
AS
20895 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20896 dependencies back to end of function.
20897
87162f46
AS
20898 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20899 $(elfobjdir)/ld.so.
20900
91b392a4
UD
209012011-08-21 Ulrich Drepper <drepper@gmail.com>
20902
20903 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20904 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20905 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20906 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20907 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20908 of __vdso_gettimeofday.
20909 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20910 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20911 attribute_hidden.
20912 (_libc_vdso_platform_setup): Remove initialization of
20913 __vdso_gettimeofday and __vdso_time.
20914
5c43483f
UD
209152011-08-20 Ulrich Drepper <drepper@gmail.com>
20916
775a77e7
UD
20917 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20918 and fgetc_unlocked.
20919 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20920 getc_unlocked.
89f447ed 20921
49c74ba9
UD
20922 * elf/dl-open.c (add_to_global): Report additions to the global scope
20923 for LD_DEBUG=scopes.
20924 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20925 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20926
5c43483f
UD
20927 [BZ #13114]
20928 * stdio-common/Makefile (tests): Add bug24.
20929 * stdio-common/bug24.c: New file.
20930
a101b025
AJ
209312011-08-19 Andreas Jaeger <aj@suse.de>
20932
20933 [BZ #13114]
20934 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20935 non-existant file when using close-on-exec mode.
20936
c88f1766
UD
209372011-08-20 Ulrich Drepper <drepper@gmail.com>
20938
0276a718
UD
20939 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20940 the very first instruction.
20941
c88f1766
UD
20942 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20943 the CFI state in the end.
20944 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20945 inclusion of dl-trampoline.h.
20946 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20947
51ccffa0
AS
209482011-08-19 Andreas Schwab <schwab@redhat.com>
20949
94d7165f
AS
20950 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20951 expectations for long double.
20952
51ccffa0
AS
20953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20954 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20955
fd708658 209562011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20957
20958 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20959 artificual limit depends upon the system page size.
20960
44f0a71e
UD
209612011-08-17 Ulrich Drepper <drepper@gmail.com>
20962
20963 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20964 * resolv/Makefile: Define CFLAGS-libresolv.
20965
8de79a24
AS
209662011-08-17 Andreas Schwab <schwab@redhat.com>
20967
20968 * nss/makedb.c (compute_tables): Make variables used in nested
20969 function static.
20970
27724598
UD
209712011-08-17 Ulrich Drepper <drepper@gmail.com>
20972
c5305d88
UD
20973 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20974 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20975 if buffer was too small.
20976
27724598
UD
20977 * elf/pldd.c (main): Attach to all threads in the process.
20978 Rewrite /proc handling to use *at functions.
20979
076fe015
UD
209802011-08-16 Ulrich Drepper <drepper@gmail.com>
20981
174baab3
UD
20982 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20983 specifies first scope to show.
20984 (dl_open_worker): Update callers. Move printing scope of new
20985 object to before the relocation.
44f0a71e 20986 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20987 * sysdeps/generic/ldsodefs.h: Update declaration.
20988
076fe015
UD
20989 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20990 string for the scope number.
20991
a60df2c3
UD
209922011-08-14 Ulrich Drepper <drepper@gmail.com>
20993
20994 * nscd/servicescache.c (cache_addserv): Make sure written is always
20995 initialized.
20996
5e4287d1
RM
209972011-08-14 Roland McGrath <roland@hack.frob.com>
20998
85ae0589
RM
20999 * sysdeps/i386/i486/bits/atomic.h
21000 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21001 statement expression, so as to suppress "set but not used" warning.
21002 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21003
69f63097
RM
21004 * string/strncat.c (STRNCAT): Use prototype definition.
21005
675456ef
RM
21006 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21007 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21008 -Iprograms here.
21009 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21010 (localedef-modules): Add localedef.
21011 (locale-modules): Add locale.
21012
5e4287d1
RM
21013 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21014 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21015 to avoid a warning.
21016
9c96ff23
DM
210172011-08-14 David S. Miller <davem@davemloft.net>
21018
21019 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21020 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21021
f9ddf089
UD
210222011-08-13 Ulrich Drepper <drepper@gmail.com>
21023
44f0a71e 21024 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21025 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21026 * elf/rtld.c (dl_main): Set l_name of vDSO.
21027 Call _dl_show_scope when DL_DEBUG_SCOPES.
21028 (process_dl_debug): Recognize scopes flag and also set it for all.
21029 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21030 Declare _dl_show_scope.
21031
1dc27704
UD
21032 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21033 (do_dlopen): Pass caller_dlopen to dl_open.
21034 (__libc_dlopen_mode): Initialize caller_dlopen.
21035
f9ddf089
UD
21036 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21037 of libc. Make tolower call locale-independent. Optimize a bit by
21038 using isdigit instead of isalnum.
21039 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21040
9ac533d3
UD
210412011-08-12 Ulrich Drepper <drepper@gmail.com>
21042
21043 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21044 was a dependency or dynamically loaded.
21045
89edf2e9
UD
210462011-08-11 Ulrich Drepper <drepper@gmail.com>
21047
8e999d29
UD
21048 * intl/l10nflist.c: Allow architecture-specific pop function.
21049 * sysdeps/x86_64/l10nflist.c: New file.
21050
89edf2e9
UD
21051 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21052 classification.
21053
14d96785
AS
210542011-08-10 Andreas Schwab <schwab@redhat.com>
21055
21056 * include/dirent.h: Add libc_hidden_proto for scandirat and
21057 scandirat64. Don't declare __scandirat64.
21058 * dirent/scandirat.c: Add libc_hidden_def.
21059 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21060 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21061
6761ac04
DM
210622011-08-10 David S. Miller <davem@davemloft.net>
21063
21064 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21065 enum.
21066 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21067 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21068 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21069
c55fbd1e
UD
210702011-08-09 Ulrich Drepper <drepper@gmail.com>
21071
21072 * Versions.def [libc]: Add GLIBC_2.15.
21073 * dirent/Makefile (routines): Add scandirat and scandirat64.
21074 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21075 GLIBC_2.15.
21076 * dirent/dirent.h: Declare scandirat and scandirat64.
21077 * dirent/scandirat.c: New file.
21078 * dirent/scandirat64.c: New file.
21079 * sysdeps/wordsize-64/scandirat.c: New file.
21080 * sysdeps/wordsize-64/scandirat64.c: New file.
21081 * dirent/opendir.c: Define opendirat.
21082 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21083 using scandirat.
21084 * dirent/scandir64.c: Adjust for scandir.c change.
21085 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21086 __scandirat64, and __scandir_cancel_handler.
21087 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21088 additional parameter and use openat instead of open (outside of ld.so).
21089 Add new __opendir as wrapper around __opendirat.
21090 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21091 here without requiring old scandirat implementation.
21092
879165f2
UD
210932011-08-08 Ulrich Drepper <drepper@gmail.com>
21094
21095 * dirent/scandir.c (cancel_handler): Renamed to
21096 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21097 defined. Adjust users.
21098 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21099 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21100
cb7e923b
UD
211012011-08-04 Ulrich Drepper <drepper@gmail.com>
21102
16292edd
UD
21103 * string/test-string.h (IMPL): Use __STRING to expand name and then
21104 stringify it.
21105
cb7e923b
UD
21106 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21107 of cleanups.
21108
cff82933
LD
211092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21110
21111 * string/Makefile: Update.
21112 (strop-tests): Append strncat.
21113 * string/test-wcscmp.c: New file.
21114 New comprehensive test for wcscmp.
21115 * string/test-strcmp.c: Update.
21116 (WIDE): New define.
21117
9be9bfcc
AS
211182011-07-22 Andreas Schwab <schwab@redhat.com>
21119
21120 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21121 line.
21122
2e96f1c7
AS
211232011-07-26 Andreas Schwab <schwab@redhat.com>
21124
21125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21126 encoding to ACE if AI_IDN.
21127
85188888
JJ
211282011-08-01 Jakub Jelinek <jakub@redhat.com>
21129
21130 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21131 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21132
5fa16e9b
LD
211332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21134
21135 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21136 Fix overflow bug in strncat.
21137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21138
21139 * string/test-strncat.c: Update.
21140 Add new tests for checking overflow bugs.
21141
211422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21143
21144 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21145 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21146 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21147 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21148 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21149 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21150 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21151 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21152 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21153
21154 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21155 (USE_AS_STRCAT): Define.
21156 Add strcat and strncat support.
21157 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21158
8c1a459f
AS
211592011-07-25 Andreas Schwab <schwab@redhat.com>
21160
21161 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21162 __n bigger than INT_MAX+1.
21163 (__strncmp_g): Likewise.
21164
bba33c28
UD
211652011-07-23 Ulrich Drepper <drepper@gmail.com>
21166
798be72d
UD
21167 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21168 * libio/stido.h: Likewise.
21169
8accd4dc
UD
21170 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21171 (AF_NFC): Define.
21172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21173 (AF_NFC): Define.
21174
cbff0d96
UD
21175 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21176 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21177 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21178 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21179 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21180
9191c04a
UD
21181 [BZ #13021]
21182 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21183 installed.
21184
bba33c28
UD
21185 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21186 typo.
21187 (_dl_x86_64_save_sse): Likewise.
21188
90f139dd
UD
211892011-07-22 Ulrich Drepper <drepper@gmail.com>
21190
1aae088a
UD
21191 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21192 OSXSAVE.
21193 (_dl_x86_64_save_sse): Likewise.
21194
8e2045f5
UD
21195 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21196
90f139dd
UD
21197 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21198
1d002f25
AS
211992011-07-21 Andreas Schwab <schwab@redhat.com>
21200
21201 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21202 change.
21203 (_dl_x86_64_save_sse): Use correct AVX check.
21204
21137f89
UD
212052011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21206
21207 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21208 bug in strncpy/strncat.
21209 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21210
a65c0b7a
UD
212112011-07-21 Ulrich Drepper <drepper@gmail.com>
21212
21213 * string/tester.c (test_strcat): Add tests for different alignments
21214 of source and destination.
21215 (test_strncat): Likewise.
21216
6986b98a
UD
212172011-07-20 Ulrich Drepper <drepper@gmail.com>
21218
90bb2039
UD
21219 [BZ #12852]
21220 * posix/glob.c (glob): Check passed in values before using them in
21221 expressions to avoid some overflows.
21222 (glob_in_dir): Likewise.
21223
5644ef54
UD
21224 [BZ #13007]
21225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21226 check for AVX enablement so that we don't crash with old kernels and
21227 new hardware.
21228 * elf/tst-audit4.c: Add same checks here.
21229 * elf/tst-audit6.c: Likewise.
21230
21231 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21232
bfc9dc9b
AS
212332011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21234
21235 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21236
702e64bb
UD
212372011-07-20 Ulrich Drepper <drepper@gmail.com>
21238
21239 * po/cs.po: Update from translation team.
21240 * po/bg.po: Likewise.
21241
295e904f
MP
212422011-07-12 Marek Polacek <mpolacek@redhat.com>
21243
21244 * misc/sys/cdefs.h: Add support for const attribute.
21245 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21246 to gnu_dev_{major,minor,makedev} functions.
21247
3ff94596
MP
212482011-07-20 Marek Polacek <mpolacek@redhat.com>
21249
21250 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21251
28b59fca
AS
212522011-07-20 Andreas Schwab <schwab@redhat.com>
21253
21254 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21255 strlen results.
21256
19df733e
AK
212572011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21258
21259 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21260 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21261 register in order to avoid conflicts with the soft frame pointer
21262 being held in r11 when necessary.
21263 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21264 (INTERNAL_VSYSCALL_NCS): Likewise.
21265
c8835729
MP
212662011-07-14 Marek Polacek <mpolacek@redhat.com>
21267
21268 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21269 * elf/dl-fini.c (_dl_fini): Adjust caller.
21270 * elf/dl-close.c (_dl_close_worker): Likewise.
21271 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21272
b902330c
MP
212732011-07-15 Marek Polacek <mpolacek@redhat.com>
21274
8991e135
MP
21275 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21276 "aux_cache->nlibs < 0".
21277
b902330c
MP
21278 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21279 in the reload-count case.
21280
99710781
LD
212812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21282
21283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21284 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21285 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21286 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21287 * sysdeps/x86_64/multiarch/strcat.S: New file.
21288 * sysdeps/x86_64/multiarch/strncat.S: New file.
21289 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21290 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21291 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21292 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21293 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21294 (USE_AS_STRCAT): Define.
21295 Add strcat and strncat support.
21296 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21297 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21298 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21299 * string/strncat.c: Update.
21300 (USE_AS_STRNCAT): Define.
21301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21302 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21303 and i7.
21304 * sysdeps/x86_64/multiarch/init-arch.h
21305 (bit_Prefer_PMINUB_for_stringop): New.
21306 (index_Prefer_PMINUB_for_stringop): Likewise.
21307 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21308 bit_Prefer_PMINUB_for_stringop.
21309
7dc6bd90
UD
213102011-07-19 Ulrich Drepper <drepper@gmail.com>
21311
21312 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21313 buffer64.
21314 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21315 of casting of buffer.
21316 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21317 buffer32 and buffer64.
21318 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21319 writes instead of casting of buffer.
21320 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21321 buffer32.
21322 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21323 casting of buffer.
21324
e0e72284
AS
213252011-07-19 Andreas Schwab <schwab@redhat.com>
21326
21327 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21328
feb1eb0b
UD
213292011-07-19 Ulrich Drepper <drepper@gmail.com>
21330
21331 * nscd/nscd.c (termination_handler): Don't do anything for a database
21332 if it has not yet been initialized.
21333
298711ff
UD
213342011-07-18 Ulrich Drepper <drepper@gmail.com>
21335
21336 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21337
213382011-07-15 Marek Polacek <mpolacek@redhat.com>
21339
21340 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21341
f9d68389
UD
213422011-07-18 Ulrich Drepper <drepper@gmail.com>
21343
21344 * po/nl.po: Update from translation team.
21345 * po/sv.po: Likewise.
21346
db290cf5
RM
213472011-07-16 Roland McGrath <roland@hack.frob.com>
21348
21349 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21350 now disallowed by GCC.
5c550700 21351
fd5e21c7
RM
21352 * configure.in (use-default-link): Default to yes if a test -shared
21353 link meets our qualifications.
21354 * configure: Regenerated.
21355
5c550700
RM
21356 * config.make.in (output-format): New variable.
21357 * configure.in: Check for ld --print-output-format support.
21358 * configure: Regenerated.
21359 * Makerules ($(common-objpfx)format.lds)
21360 [$(output-format) != unknown]: Just use $(output-format),
21361 instead of the linker-script munging.
21362
9fa2c032
RM
213632011-07-14 Roland McGrath <roland@hack.frob.com>
21364
a6928d51
RM
21365 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21366 of $(common-objpfx)shlib.lds.
21367 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21368
661607b3
RM
21369 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21370 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21371
9fa2c032
RM
21372 * configure.in (-z relro check): Adjust test code to add a large
21373 writable data section after it.
21374 * configure: Regenerated.
21375
defe9061
RM
213762011-07-11 Roland McGrath <roland@hack.frob.com>
21377
21378 * configure.in (-z relro check): Fix test code to make the variable
21379 truly const.
21380 * configure: Regenerated.
21381
319b9ad4
UD
213822011-07-11 Ulrich Drepper <drepper@gmail.com>
21383
21384 * nscd/nscd.h (struct traced_file): Define.
21385 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21386 elements. Add traced_files.
21387 (inotify_fd): Declare.
21388 (register_traced_file): Declare.
21389 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21390 (inotify_fd): Export.
21391 (resolv_conf_descr): Remove.
21392 (nscd_init): Move inotify descriptor creation to main.
21393 Don't register files for notification here.
21394 (register_traced_file): New function.
21395 (invalidate_cache): Don't use reset_res to determine whether to call
21396 res_init, go through the list of registered files.
21397 (main_loop_poll): The inotify descriptors are now stored in the
21398 structures for the traced files.
21399 (main_loop_epoll): Likewise
21400 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21401 to __nss_disable_nscd.
21402 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21403 for a database anymore. Check the records for all the registered
21404 files instead.
21405 * nss/Makefile (libnss_files-routines): Add files-init.
21406 (libnss_db-routines): Add db-init.
21407 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21408 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21409 * nss/nss_db/db-init.c: New file.
21410 * nss/nss_files/files-init.c: New file.
21411 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21412 __nss_lookup_function.
21413 (__nss_lookup_function): Call nss_load_library.
21414 (nss_load_all_libraries): New function.
21415 (__nss_disable_nscd): Take parameter with callback function for files
21416 to register. Set is_nscd. Load all the DSOs for the NSS modules
21417 used for the cached services.
21418 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21419 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21420 options for features to all the files in nscd.
21421
21422 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21423
23bee3e8
RM
214242011-07-10 Roland McGrath <roland@hack.frob.com>
21425
21426 * csu/elf-init.c (__libc_csu_init): Comment typo.
21427
46a5b7f0
UD
214282011-07-09 Ulrich Drepper <drepper@gmail.com>
21429
21430 * po/pl.po: Update from translation team.
21431 * po/ja.po: Likewise.
21432 * po/ru.po: Likewise.
21433 * po/ko.po: Likewise.
21434 * po/fr.po: Likewise.
21435
d30cf5bb
RM
214362011-07-09 Roland McGrath <roland@hack.frob.com>
21437
113ddea4
RM
21438 * configure.in (.ctors/.dtors header and trailer check):
21439 Use an empirical test on a built program.
21440 * configure: Regenerated.
21441
574920b4
RM
21442 * configure.in (-z relro check): Use an empirical test on a built DSO.
21443 Detect, but do not require, on ia64.
21444 * configure: Regenerated.
21445
d30cf5bb
RM
21446 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21447 Update tests that use readelf to use $READELF instead.
21448 * configure: Regenerated.
21449
8538fdb3
UD
214502011-07-08 Ulrich Drepper <drepper@gmail.com>
21451
21452 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21453 if the result is not used.
21454
04d08991
AJ
214552011-07-05 Andreas Jaeger <aj@suse.de>
21456
21457 [BZ#9696]
21458 * stdlib/tst-strtod.c: Add testcase.
21459
de283087
AD
214602011-07-07 Ulrich Drepper <drepper@gmail.com>
21461
4e5f31c8 21462 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21463 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21464 The latter has a higher limit. Take additional parameter to pass to
21465 the new function.
21466 (__pathconf): Pass file to __statfs_link_max.
21467 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21468 __statfs_link_max.
21469 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21470 __statfs_link_max.
21471
de283087
AD
21472 [BZ #12868]
21473 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21474 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21475 Handle Lustre.
21476 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21477 (__statfs_filesize_max): Likewise.
21478 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21479
c75fa153
AJ
214802011-07-05 Andreas Jaeger <aj@suse.de>
21481
21482 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21483
1a544854
UD
214842011-07-06 Marek Polacek <mpolacek@redhat.com>
21485
21486 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21487 `status' variable.
21488 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21489 Likewise.
21490
6f0eec67
UD
214912011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21492
21493 * Makefile (strop-tests): Add strncat.
21494 * string/test-strncat.c: New file.
21495
aae30307
UD
214962011-06-30 Marek Polacek <mpolacek@redhat.com>
21497
21498 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21499
c0cfb5eb
UD
215002011-06-21 Andreas Jaeger <aj@suse.de>
21501
21502 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21503 Copy rule from iconvdata/Makefile.
21504
01636b21
UD
215052011-07-06 Ulrich Drepper <drepper@gmail.com>
21506
21507 [BZ #12922]
21508 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21509 but no long options are defined, just return 'W'.
21510
9895c8bc
UD
215112011-06-22 Marek Polacek <mpolacek@redhat.com>
21512
21513 [BZ #9696]
21514 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21515
5d4cf042
UD
215162011-07-06 Ulrich Drepper <drepper@gmail.com>
21517
21518 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21519 netgroups to read.
960e5535 21520 (innetgr): Likewise.
5d4cf042 21521
751eb97e
RM
215222011-07-05 Roland McGrath <roland@hack.frob.com>
21523
21524 * config.make.in (install_root): Default to $(DESTDIR).
21525
f15f1e45
UD
215262011-07-05 Ulrich Drepper <drepper@gmail.com>
21527
21528 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21529
4e34ac6a
RM
215302011-07-02 Roland McGrath <roland@hack.frob.com>
21531
5e9b6af4
RM
21532 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21533
84f9ea0f
RM
21534 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21535 containing directory rather than embedding absolute directory names.
21536
ea5ee9f7
RM
21537 * scripts/check-local-headers.sh: Rewritten using awk.
21538 Match by word, not by line. Print error messages for matches.
21539 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21540
1b74661a
RM
21541 * Makerules [shlib-lds-flags empty]:
21542 ($(common-objpfx)libc_pic.opts): New target.
21543 ($(common-objpfx)libc_pic.os.clean): New target.
21544 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21545
21546 * config.make.in (OBJCOPY): New variable.
21547 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21548 * configure: Regenerated.
21549
f781ef40
RM
21550 * config.make.in (use-default-link): New variable.
21551 * configure.in (use_default_link): Grok --with-default-link to set it.
21552 * configure: Regenerated.
21553 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21554 (shlib-lds, shlib-lds-flags): Define to empty.
21555
2d4fa81e
RM
21556 * Makerules (shlib-lds): New variable.
21557 (shlib-lds-flags): New variable.
21558 (build-shlib, build-moduile, build-module-asneeded): Use it.
21559 ($(common-objpfx)libc.so): Use $(shlib-lds).
21560 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21561 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21562
31fffa6b
RM
21563 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21564 DT_FLAGS/DT_FLAGS_1 with zero flags.
21565
4e34ac6a
RM
21566 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21567 linker script munging.
21568
fcfc776b
UD
215692011-07-02 Ulrich Drepper <drepper@gmail.com>
21570
21571 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21572 as 128-bit value.
21573 * crypt/sha512.c (sha512_process_block): Perform total addition using
21574 128-bit if possible.
21575 (__sha512_finish_ctx): Likewise.
21576 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21577 as 64-bit value.
21578 * crypt/sha256.c (SWAP64): Define.
21579 (sha256_process_block): Perform total addition using 64-bit if
21580 possible.
21581 (__sha256_finish_ctx): Likewise.
21582
99231d9a
UD
215832011-07-01 Ulrich Drepper <drepper@gmail.com>
21584
21585 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21586 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21587 * nscd/hstcache.c (cache_addhst): Likewise.
21588 * nscd/grpcache.c (cache_addgr): Likewise.
21589 * nscd/aicache.c (addhstaiX): Likewise
21590 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21591
445b4a53
TK
215922011-07-01 Thorsten Kukuk <kukuk@suse.de>
21593
21594 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21595 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21596 * nscd/hstcache.c (cache_addhst): Likewise.
21597 * nscd/grpcache.c (cache_addgr): Likewise.
21598 * nscd/aicache.c (addhstaiX): Likewise
21599
6d4d8e8e
AS
216002011-07-01 Andreas Schwab <schwab@redhat.com>
21601
21602 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21603 domain only when needed.
21604
89f654c5
AS
216052011-06-30 Andreas Schwab <schwab@redhat.com>
21606
21607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21608 is always restored.
21609
cf3b23ff
UD
216102011-06-29 Ulrich Drepper <drepper@gmail.com>
21611
21612 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21613 are re-adding the entry.
21614 * nscd/servicescache.c (cache_addserv): Likewise.
21615
751626f9
AJ
216162011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21617
21618 * sysdeps/generic/dl-irel.h: fix protection against multiple
21619 inclusions.
21620 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21621
9113ea1f
UD
216222011-06-28 Ulrich Drepper <drepper@gmail.com>
21623
5c0b8d90
UD
21624 [BZ #12935]
21625 * malloc/memusage.sh: Fix quoting in message.
21626 * debug/xtrace.sh: Likewise.
21627
9113ea1f
UD
21628 * configure.in: Remove support for --experimental-malloc option, make
21629 it the default.
21630 * config.make.in: Likewise.
21631 * malloc/Makefile: Likewise.
21632
a4172181
AS
216332011-06-27 Andreas Schwab <schwab@redhat.com>
21634
21635 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21636 two-byte characters.
21637
78a7eee7
RM
216382011-06-27 Roland McGrath <roland@hack.frob.com>
21639
62bede13
RM
21640 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21641 AC_CACHE_CHECK invocation.
21642 * configure: Regenerated.
21643
78a7eee7
RM
21644 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21645
5ce33a62
UD
216462011-06-27 Ulrich Drepper <drepper@gmail.com>
21647
034807a9
UD
21648 [BZ #12350]
21649 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21650 bit from old_res_options.
21651
4902da17
UD
21652 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21653
5ce33a62
UD
21654 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21655 value type for setfct.
21656
c2344f56
L
216572011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21658
21659 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21660 __gettimeofday instead of gettimeofday.
21661
68468076
UD
216622011-06-26 Ulrich Drepper <drepper@gmail.com>
21663
21664 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21665
acb0d739
L
216662011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21667
21668 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21669
21670 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21671 info.
21672
8912479f
L
216732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21674
21675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21676 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21677 strcpy-sse2-unaligned strncpy-sse2-unaligned
21678 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21679 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21680 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21681 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21682 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21683 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21684 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21685 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21686 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21687 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21688 (STRCPY): Support SSE2 and SSSE3 versions.
21689
d5495a11
UD
216902011-06-24 Ulrich Drepper <drepper@gmail.com>
21691
21692 [BZ #12874]
21693 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21694 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21695 kernels which artificially limit size of requests.
21696
0b1cbaae
L
216972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21698
21699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21700 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21701 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21702 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21703 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21704 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21705 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21706 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21707 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21708 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21709 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21710 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21711 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21712 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21713 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21715 Enable unaligned load optimization for Intel Core i3, i5 and i7
21716 processors.
21717 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21718 Define.
21719 (index_Fast_Unaligned_Load): Define.
21720 (HAS_FAST_UNALIGNED_LOAD): Define.
21721
07f494a0
MP
217222011-06-23 Marek Polacek <mpolacek@redhat.com>
21723
21724 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21725
fa3fc0fe
UD
217262011-06-22 Ulrich Drepper <drepper@gmail.com>
21727
21728 [BZ #12907]
21729 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21730 until it is clear that the information is realy needed.
21731 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21732
e12df166
AS
217332011-06-22 Andreas Schwab <schwab@redhat.com>
21734
21735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21736
852eb34d
UD
217372011-06-22 Ulrich Drepper <drepper@gmail.com>
21738
84e2a551
UD
21739 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21740 /sys/devices/system/cpu/online if it is usable.
21741
852eb34d
UD
21742 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21743 reading the information from the /proc filesystem to once a second.
21744
6e502e19
UD
217452011-06-21 Andreas Jaeger <aj@suse.de>
21746
21747 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21748 NULL after inclusion of kernel headers.
21749
75d39ff2
UD
217502011-06-21 Ulrich Drepper <drepper@gmail.com>
21751
51f9aa6a
UD
21752 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21753 calls to internal_setent.
21754
c0244a9d
UD
21755 [BZ #12885]
21756 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21757 addresses using gethostbyname4_r ignore IPv4 addresses.
21758
c5e3c2ae
UD
21759 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21760 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21761
75d39ff2
UD
21762 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21763
42675c6f
DM
217642011-06-20 David S. Miller <davem@davemloft.net>
21765
21766 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21767 inclusions.
21768 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21769
21770 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21771 (elf_irel): Use it.
21772 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21773 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21774 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21775 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21776 * sysdeps/x86_64/dl-irel.h: Likewise.
21777
21778 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21779 * elf/dl-sym.c: Likewise.
21780
57912a71
UD
217812011-06-15 Ulrich Drepper <drepper@gmail.com>
21782
21783 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21784 need to dereference resplen2.
21785
ee22793d
AS
217862011-06-14 Andreas Schwab <schwab@redhat.com>
21787
21788 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21789
a9e836b0
UD
217902011-06-15 Ulrich Drepper <drepper@gmail.com>
21791
77fb9117
UD
21792 * Makeconfig: Define vardbdir and inst_vardbdir.
21793 * nss/Makefile: Add rules to install db-Makefile.
21794
40c1b22c
UD
21795 * nss/nss_db/db-XXX.c: Cleanup.
21796
9f2da732
UD
21797 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21798 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21799 GLIBC_PRIVATE.
21800 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21801 * nss/makedb.c: Implement -g option to specify that value strings
21802 are generated and should not be added to table iterated over for
21803 get*ent calls.
21804 * nss/nss_db/db-initgroups.c: New file.
21805
82e9a1f7
UD
21806 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21807 interface.
21808
c41af17e
UD
21809 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21810 (internal_getgrouplist): Adjust to name change.
21811 Update use_initgroups_entry if this is not the first call.
21812 * nss/databases.def: Add initgroups entry.
21813
a9e836b0
UD
21814 * nss/makedb.c (compute_tables): Check result of multiple hash table
21815 sizes to minimize maximum chain length.
21816
2666d441
UD
218172011-06-14 Ulrich Drepper <drepper@gmail.com>
21818
21819 * Versions.def: Add entry for libnss_db.
21820 * shlib-versions: Likewise.
21821 * nss/Makefile: Add rules to build libnss_db.
21822 * nss/Versions: Add libnss_db information. Organize libnss_files
21823 entries better.
21824 * nss/db-Makefile: Add gshadow support. Change rules for the new
21825 makedb progra. Some minor improvements to generate smaller files.
21826 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21827 here from...
21828 * nss/makedb.c: ...here.
21829 Improve database format to be smaller and require less memory at
21830 runtime.
21831 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21832 db anymore.
21833 * nss/nss_db/db-netgrp.c: Likewise.
21834 * nss/nss_db/db-open.c: Likewise.
21835 * nss/nss_files/flies-XXX.x: Adjust comments.
21836 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21837 * nss/nss_files/files-grp.c: Likewise.
21838 * nss/nss_files/files-hosts.c: Likewise.
21839 * nss/nss_files/files-network.c: Likewise.
21840 * nss/nss_files/files-proto.c: Likewise.
21841 * nss/nss_files/files-pwd.c: Likewise.
21842 * nss/nss_files/files-rpc.c: Likewise.
21843 * nss/nss_files/files-service.c: Likewise.
21844 * nss/nss_files/files-sgrp.c: Likewise.
21845 * nss/nss_files/files-spwd.c: Likewise.
21846 * nss/nss_db/db-alias.c: Removed.
21847 * nss/nss_db/dummy-db.h: Removed.
21848
9ee76b5a
UD
218492011-06-02 Ulrich Drepper <drepper@gmail.com>
21850
21851 * nss/makedb.c: Rewritten to not use database library.
21852 * nss/Makefile: Update to build new makedb program.
21853
c71ca1f8
AJ
218542011-06-14 Andreas Jaeger <aj@suse.de>
21855
21856 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21857 memset declaration.
21858
3154bfb8
UD
218592011-06-10 Andreas Schwab <schwab@redhat.com>
21860
21861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21862 tmpbuf.
21863
b350afab
RM
218642011-06-10 Roland McGrath <roland@hack.frob.com>
21865
decd4e50
RM
21866 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21867 * elf/Makefile ($(objpfx)ld.so): Likewise.
21868
5615eaf2
RM
21869 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21870 Don't list ld.so twice in dependencies.
21871
21872 * posix/bug-regex31.c: Include <stdlib.h>.
21873
21874 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21875
21876 * nis/nss_compat/compat-spwd.c
21877 (getspent_next_nss_netgr): Remove unused variable.
21878 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21879
21880 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21881 nonmembers" output to use the right array.
21882
21883 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21884
21885 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21886
21887 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21888 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21889 * catgets/gencat.c (read_input_file): Likewise.
21890 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21891
21892 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21893 variable definition inside #if's controlling its use.
21894
21895 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21896
21897 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21898
21899 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21900
21901 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21902 unreachable code.
21903
21904 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21905
b68e08db
RM
21906 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21907 * configure: Regenerated.
21908
b350afab
RM
21909 * Makerules: Revert last change.
21910 * elf/Makefile: Likewise.
21911
28368601
RM
219122011-06-09 Roland McGrath <roland@hack.frob.com>
21913
21914 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21915 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21916 (reloc-link): Likewise.
21917
11988f8f
UD
219182011-06-09 Ulrich Drepper <drepper@gmail.com>
21919
21920 * elf/Makefile: Add rules to build pldd.
21921 * elf/pldd.c: New file.
21922 * elf/pldd-xx.c: New file.
21923
e80fab37
UD
219242011-06-07 Ulrich Drepper <drepper@gmail.com>
21925
21926 * version.h: Update for 2.15 development version.
21927
9b849836
DM
219282011-06-07 David S. Miller <davem@davemloft.net>
21929
21930 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21931 ifuncs.
21932 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21933 elf_machine_lazy_rel): Likewise.
21934 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21935 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21936 elf_machine_lazy_rel): Likewise.
21937 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21938 dl_hwcap via passed in argument.
21939 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21940 Likewise.
21941
5a31b283
AK
219422011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21943
21944 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21945
069e52f8
RM
219462011-06-06 Roland McGrath <roland@hack.frob.com>
21947
21948 [BZ #12849]
21949 * manual/fdl-1.1.texi: New file, verbatim from:
21950 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21951 * manual/lgpl-2.1.texi: New file, verbatim from:
21952 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21953 * manual/Makefile (licenses): New variable, list those new file names.
21954 (texis): Use it.
21955 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21956
21957 * manual/fdl.texi: File removed.
21958 * manual/lesser.texi: File removed.
21959 * manual/libc.texinfo (Copying, Documentation License):
21960 Use new @include file names, put @appendix directive before @include.
21961
f16846a5
JJ
219622011-06-04 Jakub Jelinek <jakub@redhat.com>
21963
21964 [BZ #12841]
21965 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21966 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21967 (mq_open): Add __NTH.
21968
3d29045b
L
219692011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21970
21971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21972 Assume Intel Core i3/i5/i7 processor if AVX is available.
21973
8c297311
UD
219742011-05-31 Ulrich Drepper <drepper@gmail.com>
21975
21976 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21977 typo.
21978
c8fc0c91
UD
219792011-05-31 Andreas Schwab <schwab@redhat.com>
21980
21981 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21982 memory. Use alloca_account. Fix memory leak when retrying.
21983
5b27a807
UD
219842011-05-31 Ulrich Drepper <drepper@gmail.com>
21985
356f8bc6
UD
21986 * version.h (RELEASE): Bump for 2.14 release.
21987 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21988
5b27a807
UD
21989 * config.make.in (RANLIB): Remove entry.
21990
01f16ab0
UD
219912011-05-30 Ulrich Drepper <drepper@gmail.com>
21992
41fce8bd
UD
21993 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21994 (libc.pot): Work around missing support for .ksh extension in xgettext.
21995
4769ae77
UD
21996 [BZ #12684]
21997 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21998 if both request failed.
21999 (send_dg): In case of server errors clear resplen or *resplen2.
22000
6b1e7d19
UD
22001 [BZ #12454]
22002 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22003 when there are multiple maps.
22004 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22005 (_dl_fini): Remove test here.
22006
01f16ab0
UD
22007 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22008
b1ebd700
UD
220092011-05-29 Ulrich Drepper <drepper@gmail.com>
22010
7ae22829
UD
22011 [BZ #12350]
22012 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22013 bit from old_res_options.
22014 (gaih_inet): Likewise.
22015
553149f6 22016 [BZ #11099]
18a84741 22017 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22018 as signed.
22019
652ffab1
UD
22020 * resolv/res_init.c (res_setoptions): Make the code more compact.
22021
16985fd0
UD
22022 [BZ #11558]
22023 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22024 set RES_USEVC.
22025
0464f746
UD
22026 [BZ #11634]
22027 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22028
7d17596c
UD
22029 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22030
cf6bbbd7
UD
22031 [BZ #11781]
22032 * malloc/malloc.h: Declare malloc hook variables as volatile.
22033
13f1ab36
UD
22034 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22035 in last patch.
22036
b1ebd700
UD
22037 [BZ #11799]
22038 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22039 raise in the comment.
80e2212d
UD
22040 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22041 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22042 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22043
ce67228d
UD
220442011-05-28 Ulrich Drepper <drepper@gmail.com>
22045
8887a920
UD
22046 [BZ #12811]
22047 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22048 grow the buffers more if it already has to be sufficient.
22049 (build_wcs_upper_buffer): Likewise.
22050 * posix/regexec.c (check_matching): Likewise.
22051 (clean_state_log_if_needed): Likewise.
22052 (extend_buffers): Don't enlarge buffers beyond size of the input
22053 buffer.
22054 Patches mostly by Emil Wojak <emil@wojak.eu>.
22055 * posix/bug-regex32.c: New file.
22056 * posix/Makefile (tests): Add bug-regex32.
22057
4f031072
UD
22058 * locale/findlocale.c (_nl_find_locale): Return right away if
22059 _nl_explode_name failed.
22060 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22061
d0478f0c
UD
22062 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22063
de81b246
UD
22064 * debug/xtrace.sh: Unify messages.
22065 * malloc/memusage.sh: Likewise.
22066
c738465a
UD
22067 [BZ #12813]
22068 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22069 time symbol from vDSO. Substitute with vsyscall if not available.
22070 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22071 __vdso_time.
22072
f1f929d7
UD
22073 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22074 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22075 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22076 Add sendmmsg and internal_sendmmsg.
22077 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22078 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22079 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22080
ce67228d
UD
22081 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22082 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22083 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22084
e57420c6
UD
220852011-05-27 Ulrich Drepper <drepper@gmail.com>
22086
a8509ca5
UD
22087 [BZ #12813]
22088 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22089 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22090 available.
22091 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22092 __vdso_getcpu.
22093
e57420c6
UD
22094 [BZ #12814]
22095 * iconvdata/Makefile (tests): Add bug-iconv9.
22096 * iconvdata/bug-iconv9.c: New file.
22097
4d07db15
AS
220982011-05-27 Andreas Schwab <schwab@redhat.com>
22099
22100 [BZ #12814]
22101 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22102
ea486f69
JJ
221032011-05-25 Jakub Jelinek <jakub@redhat.com>
22104
22105 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22106 (struct user_regs_struct): Change intcs field back to cs.
22107
6f038433
UD
221082011-05-25 Ulrich Drepper <drepper@gmail.com>
22109
22110 * po/ja.po: Update from translation team.
22111
67f86a25
UD
221122011-05-23 Ulrich Drepper <drepper@gmail.com>
22113
22114 [BZ #12795]
22115 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22116 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22117
def7fbd6
AS
221182011-05-20 Andreas Schwab <schwab@redhat.com>
22119
22120 * stdlib/longlong.h: Update from GCC.
22121
f50ef8f1
AS
221222011-05-23 Andreas Schwab <schwab@redhat.com>
22123
22124 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22125 parameter name.
22126 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22127 Add parameter name.
22128 (__sysconf): Pass it down.
22129
de7ce8f1
UD
221302011-05-22 Ulrich Drepper <drepper@gmail.com>
22131
f2962a71
UD
22132 [BZ #12671]
22133 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22134 some situations.
22135 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22136 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22137 add in in __libc_use_alloca calls. Adjust callers.
22138 (glob): Use malloc in some situations.
22139
de7ce8f1
UD
22140 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22141 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22142 pltexit.
22143
aec84f53
UD
221442011-05-21 Ulrich Drepper <drepper@gmail.com>
22145
05bb4a68
UD
22146 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22147 and CLOCK_BOOTTIME_ALARM.
22148
7ea72f99
UD
22149 [BZ #12782]
22150 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22151 is returned.
22152
7e4afad5
UD
22153 * string/_strerror.c (__strerror_r): Print negative errors as signed
22154 numbers.
22155
8e211fec
UD
22156 [BZ #12777]
22157 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22158 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22159 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22160
f7d82dc9
UD
22161 * configure.in: Fix typo in redirection and correct removal of test
22162 files in two cases.
22163
cc9e536d
UD
22164 [BZ #12788]
22165 * locale/setlocale.c (new_composite_name): Fix test to check for
22166 identical name of all categories.
22167
aec84f53
UD
22168 [BZ #12792]
22169 * libio/filedoalloc.c (local_isatty): New function.
22170 (_IO_file_doallocate): Use local_isatty.
22171 * stdio-common/perror.c (perror): In case a new stream is used
22172 forward the stream error.
22173 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22174 error flag.
22175
78e64fdc
RT
221762011-05-20 Ulrich Drepper <drepper@gmail.com>
22177
34a9094f
UD
22178 [BZ #11869]
22179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22180 alloca.
22181 * include/alloca.h (extend_alloca_account): Define.
22182
78e64fdc
RT
22183 [BZ #11857]
22184 * posix/regex.h: Fix comments with documentation of user-accessible
22185 fields after compilation and describe correct free'ing of pattern
22186 after re_compile_pattern.
22187 Patch by Reuben Thomas <rrt@sc3d.org>.
22188
457bddfc
RA
221892011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22190
22191 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22192 and -mno-altivec to prevent the compiler from using Altivec and/or
22193 VSX instructions when the corresponding registers are not available.
22194
a4527b51
AS
221952011-05-19 Andreas Schwab <schwab@redhat.com>
22196
22197 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22198
ed690b2f
UD
221992011-05-19 Ulrich Drepper <drepper@gmail.com>
22200
22201 * libio/freopen.c (freopen): Use __dup2, not dup2.
22202 * libio/freopen64.c (freopen64): Likewise.
22203
8db73634
L
222042011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22205
22206 [BZ #12775]
22207 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22208 * math/Makefile (tests): Add test-powl.
22209 (CFLAGS-test-powl.c): Define.
22210 * math/test-powl.c: New file.
22211
0a197a9d
L
222122011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22213
22214 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22215
ee30c380
UD
222162011-05-17 Ulrich Drepper <drepper@gmail.com>
22217
22218 [BZ #11837]
22219 * iconvdata/gb18030.c: Update to GB18020-2005.
22220
6ce75379
UD
222212011-05-16 Ulrich Drepper <drepper@gmail.com>
22222
a4b89fd8
AR
22223 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22224 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22225 Patch by Aharon Robbins <arnold@skeeve.com>.
22226
ea389b12
UD
22227 [BZ #11892]
22228 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22229 on the stack.
22230
68a3f91f
UD
22231 [BZ #11895]
22232 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22233 through underflows.
22234
15cc7dd1
UD
22235 [BZ #12766]
22236 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22237 point to strings before performing equality test for error_one_per_line
22238 mode.
22239
f3799213
UD
22240 [BZ #11697]
22241 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22242
d79a9c94
UD
22243 [BZ #11820]
22244 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22245 (struct user_fpregs_struct): Avoid __uint*_t types.
22246
56e5eb46
UD
22247 [BZ #6420]
22248 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22249 symbol info. Use it instead of calling _dl_addr locally.
22250 (lock_and_info): New function.
22251 (tr_freehook): Call lock_and_info and pass symbol info as additional
22252 parameter to tr_where.
22253 (tr_mallochook): Likewise.
22254 (tr_reallochook): Likewise.
22255 (tr_memalignhook): Likewise.
22256
6ce75379
UD
22257 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22258 used and couldn't be at all thread-safe.
22259
f8a3b5bf
UD
222602011-05-15 Ulrich Drepper <drepper@gmail.com>
22261
94b7cc37
UD
22262 * libio/freopen.c (freopen): Don't close old file descriptor
22263 before the new one is opened. Instead dup the new file descriptor
22264 to the old one after the new stream is created.
22265 * libio/freopen64.c (freopen64): Likewise.
22266 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22267 * libio/fileops.c (_IO_new_file_close_it): Handle new
22268 _IO_FLAGS2_NOCLOSE flag.
22269 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22270 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22271 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22272 _IO_FLAGS2_NOCLOSE flag.
22273 * include/unistd.h: Add hidden_proto for dup3.
22274 Define __have_dup3.
22275 * io/dup3.c: Define hidden symbol.
22276 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22277
bd25564e
UD
22278 [BZ #7101]
22279 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22280 when an incomplete long option is used.
22281 * posix/tst-getopt_long1.c: New file.
22282 * posix/Makefile (tests): Add tst-getopt_long1.
22283
c84cfef4
UD
22284 [BZ #10138]
22285 * scripts/config.guess: Update from autoconf-2.68.
22286 * scripts/config.sub: Likewise.
22287
3b85df27
UD
22288 [BZ #10157]
22289 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22290 tests into ...
22291 (has_cpuclock): ...this. New function.
22292 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22293 macro here based on has_cpuclock code.
22294
15a856b1
UD
22295 [BZ #10149]
22296 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22297 First byte (not low byte) is now always NUL.
22298 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22299
05f399e6
UD
22300 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22301 Use non-cancelable interfaces.
22302
10a52685 22303 [BZ #9809]
94ecc67d
UD
22304 * locale/iso-639.def: Add entry for Sorani.
22305
f8a3b5bf
UD
22306 [BZ #11901]
22307 * include/stdlib.h: Move include protection to the right place.
22308 Define abort_msg_s. Declare __abort_msg with it.
22309 * stdlib/abort.c (__abort_msg): Adjust type.
22310 * assert/assert.c (__assert_fail_base): New function. Majority
22311 of code from __assert_fail. Allocate memory for __abort_msg with
22312 mmap.
22313 (__assert_fail): Now call __assert_fail_base.
22314 * assert/assert-perr.c: Remove bulk of implementation. Use
22315 __assert_fail_base.
22316 * include/assert.hL Declare __assert_fail_base.
22317 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22318 mmap.
22319 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22320
1af4e298
UD
223212011-05-14 Ulrich Drepper <drepper@gmail.com>
22322
f8a3b5bf 22323 [BZ #11952]
d26dfc60
MG
22324 [BZ #12453]
22325 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22326 until all modules are registered in the DTV.
22327 * elf/Makefile: Add rules to build and run tst-tls19.
22328 * elf/tst-tls19.c: New file.
22329 * elf/tst-tls19mod1.c: New file.
22330 * elf/tst-tls19mod2.c: New file.
22331 * elf/tst-tls19mod3.c: New file.
22332 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22333
2fc54d6f
UD
22334 [BZ #12083]
22335 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22336 correctly.
22337
98d76b46
UD
22338 [BZ #12601]
22339 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22340 two-byte sequence errors.
22341 * iconvdata/Makefile (tests): Add bug-iconv8.
22342 * iconvdata/bug-iconv8.c: New file.
22343
da3c19ef
UD
22344 [BZ #12626]
22345 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22346 buf2 definition.
22347
ca408c15
UD
22348 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22349
d6f67f7d
UD
22350 [BZ #12432]
22351 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22352 (dummy_getcfa): New function.
22353 (init): Get _Unwind_GetCFA address, use dummy if not found.
22354 (backtrace_helper): In recursion check, also check whether CFA changes.
22355 (__backtrace): Completely initialize arg.
22356
1af4e298 22357 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22358 storing incomplete byte sequence in state object. Avoid testing for
22359 guaranteed too small input if we know there is enough data available.
1af4e298 22360
da62f81b
AS
223612011-05-11 Andreas Schwab <schwab@redhat.com>
22362
22363 * Makeconfig (+link-pie): Indent.
22364 * Rules (binaries-pie): Define if $(have-fpie) and
22365 $(build-shared).
22366 (binaries-shared): Also filter out $(binaries-pie).
22367 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22368 * nscd/Makefile (others-pie): Add nscd.
22369 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22370 ($(objpfx)nscd): Remove command override.
22371 * login/Makefile (others-pie): Add pt_chown.
22372 ($(objpfx)pt_chown): Remove command override.
22373 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22374 remove command overrides.
22375
fcabc0f8
UD
223762011-05-13 Ulrich Drepper <drepper@gmail.com>
22377
20030ae6
UD
22378 * libio/tst_putwc.c: Fix error messages.
22379
fcabc0f8
UD
22380 [BZ #12724]
22381 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22382 currently writing and seek to current position when not.
22383 * libio/Makefile (tests): Add bug-fclose1.
22384 * libio/bug-fclose1.c: New file.
22385
320a5dc0
PB
223862011-05-12 Ulrich Drepper <drepper@gmail.com>
22387
22388 [BZ #12511]
22389 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22390 don't set DF_1_NODELETE here.
22391 (do_lookup_x): When entering new entry test for copy relocation
22392 and if necessary set DF_1_NODELETE flag.
22393 * elf/tst-unique4.cc: New file.
22394 * elf/tst-unique4.h: New file.
22395 * elf/tst-unique4lib.cc: New file.
22396 * elf/Makefile: Add rules to build and run tst-unique4.
22397 Patch by Piotr Bury <pbury@goahead.com>.
22398
22836f52
UD
223992011-05-11 Ulrich Drepper <drepper@gmail.com>
22400
f574184a
UD
22401 [BZ #12052]
22402 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22403
e1fb097f
UD
22404 [BZ #12625]
22405 * misc/mntent_r.c (addmntent): Flush the stream after the output
22406
22836f52
UD
22407 [BZ #12393]
22408 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22409 (is_trusted_path_normalize): Skip initial colon. Append slash
22410 to empty buffer. Duplicate is_trusted_path code but allow
22411 constructed patch to be prefix.
22412 (is_dst): Allow $ORIGIN followed by /.
22413 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22414 Correct testing of result of is_trusted_path_normalize
22415 (decompose_rpath): Fix warning.
22416
7b3b0b2a
UD
224172011-05-10 Ulrich Drepper <drepper@gmail.com>
22418
22419 [BZ #11257]
22420 * grp/initgroups.c (internal_getgrouplist): When we found the service
22421 list through the initgroups entry in nsswitch.conf do not always
22422 continue on a successful lookup. Don't always use the
eac80ce2 22423 __nss_group_database value if it is set.
7b3b0b2a
UD
22424 * nss/nsswitch.conf (initgroups): Change action for successful db
22425 lookup to continue for compatibility.
22426
2a81eaa5
UD
224272011-05-09 Ulrich Drepper <drepper@gmail.com>
22428
be97a69e
UD
22429 [BZ #11532]
22430 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22431 and CP774 modules.
22432 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22433 and CP774 modules.
22434 * iconvdata/tst-tables.sh: Likewise.
22435 * iconvdata/cp770.c: New file.
22436 * iconvdata/cp771.c: New file.
22437 * iconvdata/cp772.c: New file.
22438 * iconvdata/cp773.c: New file.
22439 * iconvdata/cp774.c: New file.
22440 * iconvdata/testdata/CP770: New file.
22441 * iconvdata/testdata/CP770..UTF8: New file.
22442 * iconvdata/testdata/CP771: New file.
22443 * iconvdata/testdata/CP771..UTF8: New file.
22444 * iconvdata/testdata/CP772: New file.
22445 * iconvdata/testdata/CP772..UTF8: New file.
22446 * iconvdata/testdata/CP773: New file.
22447 * iconvdata/testdata/CP773..UTF8: New file.
22448 * iconvdata/testdata/CP774: New file.
22449 * iconvdata/testdata/CP774..UTF8: New file.
22450
22451 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22452 END CHARMAP line.
22453 * iconvdata/gen-8bit-gap.sh: Likewise.
22454 * iconvdata/gen-8bit.sh: Likewise.
22455
c1e9e399
UD
22456 * locale/iso-639.def: Add ary entry.
22457
24c55fb3 22458 [BZ #11258]
96b4b1b0
UD
22459 * locale/C-translit.h.in: Add U20A1 transliteration.
22460
bdc2f971
KB
22461 [BZ #12178]
22462 * locale/iso-639.def: Add wae entry.
22463 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22464
2952b117
UD
22465 [BZ #12545]
22466 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22467 for n.
22468
2a81eaa5
UD
22469 [BZ #12711]
22470 * locale/C-translit.h.in: Add entry for U20B9.
22471 Patch by pravin.d.s@gmail.com.
22472
28377d1b
UD
224732011-05-08 Ulrich Drepper <drepper@gmail.com>
22474
7fb90fb8
UD
22475 [BZ #12713]
22476 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22477 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22478 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22479 in rtld. Use *stat64.
7fb90fb8 22480 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22481 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22482 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22483 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22484 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22485 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22486 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22487 __fstatat64 macros.
7fb90fb8
UD
22488 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22489 * dirent/rewinddir.c: Add libc_hidden_def.
22490 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22491 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22492
28377d1b
UD
22493 * include/dirent.h (__alloc_dir): Add flags parameter.
22494 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22495 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22496 __alloc_dir.
22497 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22498 from fdopendir if O_CLOEXEC is already set.
22499
66bdbaa4
AM
225002011-03-15 Alan Modra <amodra@gmail.com>
22501
22502 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22503 l_tls_firstbyte_offset non-zero. Save padding offset in
22504 l_tls_firstbyte_offset for later use.
22505 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22506 freeing static tls block.
22507
95721191
JN
225082011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22509
22510 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22511 where #ifdef was intended. The intent is to prevent ARG_MAX from
22512 being defined by the kernel headers.
22513
f87dfb1f
UD
225142011-05-07 Ulrich Drepper <drepper@gmail.com>
22515
22516 [BZ #12734]
22517 * resolv/resolv.h: Define RES_NOTLDQUERY.
22518 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22519 no-tld-query and set RES_NOTLDQUERY.
22520 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22521 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22522 modern BIND to search name as TLD unless forbidden.
22523
47c3cd7a
UD
225242011-05-07 Petr Baudis <pasky@suse.cz>
22525 Ulrich Drepper <drepper@gmail.com>
22526
22527 [BZ #12393]
22528 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22529 (is_trusted_path): ...to here.
c1e9ea35 22530 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22531 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22532 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22533
8a35c912
PP
225342011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22535
22536 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22537 __BEGIN/__END_DECLS.
22538
acd41f47
UD
225392011-05-06 Ulrich Drepper <drepper@gmail.com>
22540
22541 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22542 NSS_STATUS_NOTFOUND if no record was found.
22543
597df647
AS
225442011-05-05 Andreas Schwab <schwab@redhat.com>
22545
22546 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22547 (headers-not-in-tirpc): Remove rpc/netdb.h
22548 * resolv/netdb.h: Revert last change.
22549
b9af1301
PP
225502011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22551
22552 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22553 circular dependency between libgcc.a and libc.a.
22554
4e34d5f5
AS
225552011-05-05 Andreas Schwab <schwab@redhat.com>
22556
22557 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22558 * nis/Makefile: Don't install rpcsvc/*.
22559 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22560 instead of <rpc/types.h>.
22561 (MAXHOSTNAMELEN): Define.
22562
00ee369c
AS
225632011-05-03 Andreas Schwab <schwab@redhat.com>
22564
22565 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22566
0b592a30
MB
225672011-04-28 Maciej Babinski <mbabinski@google.com>
22568
22569 [BZ #12714]
22570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22571 gethostbyname4_r when IPv6 results are possible.
22572
6e04cbbe
UD
225732011-05-02 Ulrich Drepper <drepper@gmail.com>
22574
22575 [BZ #12723]
22576 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22577 _PC_PIPE_BUF handling.
22578
e4ecafe0
BH
225792011-04-30 Bruno Haible <bruno@clisp.org>
22580
22581 [BZ #12717]
22582 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22583 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22584 to 'int'.
22585 * inet/getnameinfo.c (getnameinfo): Likewise.
22586
125ee683
UD
225872011-04-29 Ulrich Drepper <drepper@gmail.com>
22588
22589 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22590 to groups setting in database lookup.
22591 * nss/nsswitch.conf: Add initgroups entry.
22592
b722481a
EB
225932011-04-22 Ulrich Drepper <drepper@gmail.com>
22594
22595 [BZ #12685]
22596 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22597 mode string.
22598 Patch by Eric Blake <eblake@redhat.com>.
22599
4df46dbd
L
226002011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22601
22602 * sunrpc/Makefile (need-export-routines): Add svc_run.
22603 (routines): Remove svc_run.
22604 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22605 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22606 * sunrpc/svc_run.c (svc_run): Likewise.
22607 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22608
e84142d2
UD
226092011-04-21 Ulrich Drepper <drepper@gmail.com>
22610
22611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22612 problem in reallocation in last patch.
22613
877175d8
UD
226142011-04-20 Ulrich Drepper <drepper@gmail.com>
22615
22616 * sunrpc/Makefile: Move inclusion of Rules.
22617
ab8eed78
UD
226182011-04-19 Ulrich Drepper <drepper@gmail.com>
22619
22620 * nss/nss_files/files-initgroups.c: New file.
22621 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22622 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22623 _nss_files_initgroups_dyn.
22624
e3d8f584
RS
226252011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22626
22627 * elf/elf.h (R_ARM_IRELATIVE): Define.
22628
af190f45
UD
226292011-04-19 Ulrich Drepper <drepper@gmail.com>
22630
22631 * po/ru.po: Update from translation team.
22632
53cf59ef
UD
226332011-04-17 Ulrich Drepper <drepper@gmail.com>
22634
22635 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22636 dependencies.
22637
4c559bcd
MF
226382011-02-06 Mike Frysinger <vapier@gentoo.org>
22639
22640 [BZ #12653]
22641 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22642 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22643 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22644 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22645 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22646
4420675c
AS
226472011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22648
22649 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22650 differing bytes.
22651 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22652 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22653 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22654
75ea32ab
UD
226552011-04-17 Ulrich Drepper <drepper@gmail.com>
22656
22657 [BZ #12420]
22658 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22659 storing it.
22660 * stdlib/bug-getcontext.c: New file.
22661 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22662
27390476
AK
226632011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22664
22665 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22666 instructions into .machine "z9-109".
22667 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22668 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22669
10442705
AK
226702011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22671
22672 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22673 between environment variables and auxiliary vector.
22674
7b57bfe5
UD
226752011-04-16 Ulrich Drepper <drepper@gmail.com>
22676
22677 * Makefile: Add rules to build linkobj/libc.so.
22678 * include/libc-symbols.h: Define libc_hidden_nolink.
22679 * include/rpc/auth.h: Mark functions which are to be hidden.
22680 * include/rpc/auth_des.h: Likewise.
22681 * include/rpc/auth_unix.h: Likewise.
22682 * include/rpc/clnt.h: Likewise.
22683 * include/rpc/des_crypt.h: Likewise.
22684 * include/rpc/key_prot.h: Likewise.
22685 * include/rpc/pmap_clnt.h: Likewise.
22686 * include/rpc/pmap_prot.h: Likewise.
22687 * include/rpc/pmap_rmt.h: Likewise.
22688 * include/rpc/rpc_msg.h: Likewise.
22689 * include/rpc/svc.h: Likewise.
22690 * include/rpc/svc_auth.h: Likewise.
22691 * include/rpc/xdr.h: Likewise.
22692 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22693 * nss/Makefile: Likewise.
22694 * sunrpc/Makefile: Don't install headers. Build library with normal
22695 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22696 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22697 for the compat linking library. Remove use of INTDEF/INTUSE.
22698 * sunrpc/auth_none.c: Likewise.
22699 * sunrpc/auth_unix.c: Likewise.
22700 * sunrpc/authdes_prot.c: Likewise.
22701 * sunrpc/authuxprot.c: Likewise.
22702 * sunrpc/clnt_gen.c: Likewise.
22703 * sunrpc/clnt_perr.c: Likewise.
22704 * sunrpc/clnt_raw.c: Likewise.
22705 * sunrpc/clnt_simp.c: Likewise.
22706 * sunrpc/clnt_tcp.c: Likewise.
22707 * sunrpc/clnt_udp.c: Likewise.
22708 * sunrpc/clnt_unix.c: Likewise.
22709 * sunrpc/des_crypt.c: Likewise.
22710 * sunrpc/des_soft.c: Likewise.
22711 * sunrpc/get_myaddr.c: Likewise.
22712 * sunrpc/key_call.c: Likewise.
22713 * sunrpc/key_prot.c: Likewise.
22714 * sunrpc/netname.c: Likewise.
22715 * sunrpc/pm_getmaps.c: Likewise.
22716 * sunrpc/pm_getport.c: Likewise.
22717 * sunrpc/pmap_clnt.c: Likewise.
22718 * sunrpc/pmap_prot.c: Likewise.
22719 * sunrpc/pmap_prot2.c: Likewise.
22720 * sunrpc/pmap_rmt.c: Likewise.
22721 * sunrpc/publickey.c: Likewise.
22722 * sunrpc/rpc_cmsg.c: Likewise.
22723 * sunrpc/rpc_common.c: Likewise.
22724 * sunrpc/rpc_dtable.c: Likewise.
22725 * sunrpc/rpc_prot.c: Likewise.
22726 * sunrpc/rpc_thread.c: Likewise.
22727 * sunrpc/rtime.c: Likewise.
22728 * sunrpc/svc.c: Likewise.
22729 * sunrpc/svc_auth.c: Likewise.
22730 * sunrpc/svc_authux.c: Likewise.
22731 * sunrpc/svc_raw.c: Likewise.
22732 * sunrpc/svc_run.c: Likewise.
22733 * sunrpc/svc_simple.c: Likewise.
22734 * sunrpc/svc_tcp.c: Likewise.
22735 * sunrpc/svc_udp.c: Likewise.
22736 * sunrpc/svc_unix.c: Likewise.
22737 * sunrpc/svcauth_des.c: Likewise.
22738 * sunrpc/xcrypt.c: Likewise.
22739 * sunrpc/xdr.c: Likewise.
22740 * sunrpc/xdr_array.c: Likewise.
22741 * sunrpc/xdr_float.c: Likewise.
22742 * sunrpc/xdr_intXX_t.c: Likewise.
22743 * sunrpc/xdr_mem.c: Likewise.
22744 * sunrpc/xdr_rec.c: Likewise.
22745 * sunrpc/xdr_ref.c: Likewise.
22746 * sunrpc/xdr_sizeof.c: Likewise.
22747 * sunrpc/xdr_stdio.c: Likewise.
22748
e6c61494
UD
227492011-04-10 Ulrich Drepper <drepper@gmail.com>
22750
22751 [BZ #12650]
22752 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22753 * sysdeps/ia64/dl-tls.h: Likewise.
22754 * sysdeps/powerpc/dl-tls.h: Likewise.
22755 * sysdeps/s390/dl-tls.h: Likewise.
22756 * sysdeps/sh/dl-tls.h: Likewise.
22757 * sysdeps/sparc/dl-tls.h: Likewise.
22758 * sysdeps/x86_64/dl-tls.h: Likewise.
22759 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22760
34fe483e
AS
227612011-03-14 Andreas Schwab <schwab@redhat.com>
22762
22763 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22764 rpath element also skip the following colon.
22765 (expand_dynamic_string_token): Add is_path parameter and pass
22766 down to DL_DST_REQUIRED and _dl_dst_substitute.
22767 (decompose_rpath): Call expand_dynamic_string_token with
22768 non-zero is_path. Ignore empty rpaths.
22769 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22770 with zero is_path.
22771
f12a32e6
AS
227722011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22773
22774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22775 Make cancelable.
22776
38a7d692
UD
227772011-04-09 Ulrich Drepper <drepper@gmail.com>
22778
22779 [BZ #12655]
22780 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22781 Patch by Filipe David Manana <fdmanana@apache.org>.
22782
e451d22b
AS
227832011-04-07 Andreas Schwab <schwab@redhat.com>
22784
22785 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22786 Maintain aligned stack.
22787 (CHECK_RSP): Remove unused macro.
22788
dedc7c7b
UD
227892011-04-03 Ulrich Drepper <drepper@gmail.com>
22790
22791 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22792 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22793
94521213
UD
227942011-04-02 Ulrich Drepper <drepper@gmail.com>
22795
22796 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22797
8cb700c0 22798 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22799
0354e355
L
228002011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22801
22802 [BZ #12518]
22803 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22804 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22805 * sysdeps/x86_64/memmove.c: New file.
22806 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22807 (memcpy): Renamed to ...
22808 (__new_memcpy): This.
22809 (memcpy): Provide GLIBC_2_14 memcpy.
22810 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22811 (memcpy): Provide GLIBC_2_2_5 memcpy.
22812
8593482f
UD
228132011-04-01 Ulrich Drepper <drepper@gmail.com>
22814
22815 [BZ #12631]
22816 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22817
81a5726b
AS
228182011-03-30 Andreas Schwab <schwab@redhat.com>
22819
22820 * misc/syncfs.c: New file.
22821 * misc/Makefile (routines): Add syncfs.
22822 * posix/unistd.h: Declare syncfs.
22823 * sysdeps/unix/syscalls.list: Add syncfs.
22824
00e5419f
AS
228252011-04-01 Andreas Schwab <schwab@redhat.com>
22826
22827 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22828 open_by_handle_at.
22829 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22830 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22832 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22834 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22835 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22836
748876bf
UD
228372011-04-01 Ulrich Drepper <drepper@gmail.com>
22838
658e451d
UD
22839 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22840 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22841 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22843 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22845 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22846
748876bf
UD
22847 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22848 sync_file_range.c with -fexceptions.
22849 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22850 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22851 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22852 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22853 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22854 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22855 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22856 sync_file_range as cancellation point
22857 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22858 now a wrapper around __call_sync_file_range with cancellation handling.
22859 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22860 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22861 function name to __call_sync_file_range.
22862 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22863 Add call_sync_file_range.
748876bf 22864
6e63d5e1
AS
228652011-04-01 Andreas Schwab <schwab@redhat.com>
22866
22867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22868 bits/timex.h.
6e63d5e1 22869
46998f74
UD
228702011-04-01 Ulrich Drepper <drepper@gmail.com>
22871
4c1423ed
UD
22872 * iconv/iconv.h: Fix typo in comment.
22873 * io/fcntl.h: Likewise.
22874 * libio/stdio.h: Likewise.
22875 * posix/spawn.h: Likewise.
22876 * posix/unistd.h: Likewise.
22877 * stdlib/stdlib.h: Likewise.
22878 * time/time.h: Likewise.
22879 * wcsmbs/wchar.h: Likewise.
22880
158648c0
UD
22881 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22882 open_by_handle): Add.
22883 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22884 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22885 Augment a few comments.
22886 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22888 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22890 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22891 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22892 open_by_handle.
22893
46998f74
UD
22894 * io/fcntl.h (AT_EMPTY_PATH): Define.
22895
83fe108b
UD
228962011-03-30 Ulrich Drepper <drepper@gmail.com>
22897
22898 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22899 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22900 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22901 to...
22902 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22903 * Versions.def: Add GLIBC_2.14.
22904 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22905 Export.
83fe108b 22906
bb242059
UD
229072011-03-22 Ulrich Drepper <drepper@gmail.com>
22908
22909 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22910 round counter.
22911 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22912
c97a1282
L
229132011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22914
22915 [BZ #12597]
22916 * string/test-strncmp.c (do_page_test): New function.
22917 (check2): Likewise.
22918 (test_main): Call check2.
22919 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22920
2a115601
UD
229212011-03-20 Ulrich Drepper <drepper@gmail.com>
22922
22923 [BZ #12587]
22924 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22925 Handle cache information in CPU leaf 4.
22926 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22927
8126d904
UD
229282011-03-18 Ulrich Drepper <drepper@gmail.com>
22929
042c49c6 22930 [BZ #12583]
8126d904
UD
22931 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22932 character representation.
22933 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22934
ccfe366e
RA
229352011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22936
22937 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22938 END(__isnan) to END(__isnanf) to match function entry point/label
22939 EALIGN(__isnanf,...).
22940
c6e13027
JJ
229412011-03-10 Jakub Jelinek <jakub@redhat.com>
22942
22943 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22944
33f85a3f
UD
229452011-03-10 Ulrich Drepper <drepper@gmail.com>
22946
028478fa
UD
22947 [BZ #12510]
22948 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22949 copy from the symbol referenced in the relocation to initialize the
22950 used variable.
22951 Patch by Piotr Bury <pbury@goahead.com>.
22952 * elf/Makefile: Add rules to build and tst-unique3.
22953 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22954 * elf/tst-unique3.cc: New file.
22955 * elf/tst-unique3.h: New file.
22956 * elf/tst-unique3lib.cc: New file.
22957 * elf/tst-unique3lib2.cc: New file.
22958
33f85a3f
UD
22959 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22960
03592fc7
MF
229612011-03-10 Mike Frysinger <vapier@gentoo.org>
22962
22963 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22964 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22965 to _start.
03592fc7 22966
6a5ee102
UD
229672011-03-06 Ulrich Drepper <drepper@gmail.com>
22968
22969 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22970 to-be-loaded object along a path to loader is ld.so.
22971
7e4ba49c
HJ
229722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22973 Ulrich Drepper <drepper@gmail.com>
22974
22975 * sysdeps/x86_64/memset.S: After aligning destination, code
22976 branches to different locations depending on the value of
22977 misalignment, when multiarch is enabled. Fix this.
22978
229792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22980
22981 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22982 Set _x86_64_preferred_memory_instruction for AMD processsors.
22983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22984 Set bit_Prefer_SSE_for_memop for AMD processors.
22985
13a804de
UD
229862011-03-04 Ulrich Drepper <drepper@gmail.com>
22987
22988 * libio/fmemopen.c (fmemopen): Optimize a bit.
22989
9d25c392
AS
229902011-03-03 Andreas Schwab <schwab@redhat.com>
22991
22992 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22993
a5543c6a
RM
229942011-03-03 Roland McGrath <roland@redhat.com>
22995
22996 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22997
012d35f7
DM
229982011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22999
7e4ba49c 23000 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23001 __bzero_ultra1 instead of __memset_ultra1.
23002
4bff6e01
AS
230032011-02-23 Andreas Schwab <schwab@redhat.com>
23004 Ulrich Drepper <drepper@gmail.com>
23005
23006 [BZ #12509]
23007 * include/link.h (struct link_map): Add l_orig_initfini.
23008 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23009 returning unsuccessfully.
23010 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23011 close of a file loaded at startup, restore the original l_initfini
23012 list.
23013 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23014 list, store the pointer.
23015 * elf/Makefile ($(objpfx)noload-mem): New rule.
23016 (noload-ENV): Define.
23017 (tests): Add $(objpfx)noload-mem.
23018 * elf/noload.c: Include <memcheck.h>.
23019 (main): Call mtrace. Close all opened handles.
23020
f2092faf
AS
230212011-02-17 Andreas Schwab <schwab@redhat.com>
23022
23023 [BZ #12454]
23024 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23025 dependencies are missing.
23026
6c8a2e88
ST
230272011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23028
f2092faf 23029 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23030 Hurd needs munmap.
23031 * sysdeps/mach/hurd/ifreq.h: New file.
23032
84a42118
PB
230332011-01-27 Petr Baudis <pasky@suse.cz>
23034 Ulrich Drepper <drepper@gmail.com>
23035
071f805e 23036 [BZ 12445]#
84a42118
PB
23037 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23038 to extend_alloca().
23039 * stdio-common/bug23.c: New file.
23040 * stdio-common/Makefile (tests): Add bug23.
23041
e23fe25b
AS
230422010-09-28 Andreas Schwab <schwab@redhat.com>
23043 Ulrich Drepper <drepper@gmail.com>
23044
23045 [BZ #12489]
23046 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23047 before performing relro protection. At old place add assertion
23048 to make sure nothing changed.
23049
d3f02e10
NS
230502011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23051 Glauber de Oliveira Costa <glommer@gmail.com>
23052
23053 * elf/elf.h: Add new ARM TLS relocs.
23054
d55fd7a5
RA
230552011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23056
23057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23058 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23059 cast from r3.
23060 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23061 'tests' variable.
23062 * sysdeps/wordsize-64/tst-writev.c: New file.
23063
2206397e
RA
230642011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23065
23066 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23067 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23068 insns in _dl_start to prevent a TOC reference before relocs are
23069 resolved.
23070
e9433893
UD
230712011-02-15 Ulrich Drepper <drepper@gmail.com>
23072
23073 [BZ #12469]
23074 * Makeconfig: Remove RANLIB definition.
23075 * Makerules: Don't use RANLIB.
23076 * aclocal.m4: Remove ranlib test.
23077 * configure.in: No need to check for ranlib.
23078 * elf/rtld-Rules: Don't use RANLIB.
23079
f75286c6
ST
230802011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23081
8e31c82d
ST
23082 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23083 protection macro.
23084 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23085 inclusion protection macro.
23086
f75286c6
ST
23087 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23088 SIGRTMIN and SIGRTMAX and print information in that case only when
23089 SIGRTMIN is defined.
23090
c1d0e639
JJ
230912011-02-11 Jakub Jelinek <jakub@redhat.com>
23092
23093 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23094 arginfo fn returning -1.
23095
23096 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23097 and thousands string is zero terminated.
23098
edf9294e
AS
230992011-02-03 Andreas Schwab <schwab@redhat.com>
23100
23101 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23102 sysdeps/unix/sysv/linux/bits/socket.h.
23103
2b7e92df
ST
231042011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23105
edf9294e
AS
23106 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23107 (__CPU_COUNT): Remove old macros.
23108 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23109 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23110 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23111 (__sched_cpualloc, __sched_cpufree): Add declarations.
23112
a4c7ea7b
UD
231132011-02-05 Ulrich Drepper <drepper@gmail.com>
23114
23115 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23116 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23117 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23118 (readdhstai): Return value of addhstaiX call.
23119 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23120 (addgrbyX): Return value returned by cache_addgr.
23121 (readdgrbyname): Return value returned by addgrbyX.
23122 (readdgrbygid): Likewise.
23123 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23124 (addpwbyX): Return value returned by cache_addpw.
23125 (readdpwbyname): Return value returned by addhstbyX.
23126 (readdpwbyuid): Likewise.
23127 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23128 (addservbyX): Return value returned by cache_addserv.
23129 (readdservbyname): Return value returned by addservbyX:
23130 (readdservbyport): Likewise.
23131 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23132 (addhstbyX): Return value returned by cache_addhst.
23133 (readdhstbyname): Return value returned by addhstbyX.
23134 (readdhstbyaddr): Likewise.
23135 (readdhstbynamev6): Likewise.
23136 (readdhstbyaddrv6): Likewise.
23137 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23138 (readdinitgroups): Return value returned by addinitgroupsX.
23139 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23140 (prune_cache): Keep track of timeout value of re-added entries.
23141 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23142 * nscd/nscd.h: Adjust prototypes of readd* functions.
23143
a0bf67cc
RM
231442011-02-04 Roland McGrath <roland@redhat.com>
23145
23146 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23147 (nis_stats): Likewise.
23148 * nis/nis_modify.c (nis_modify): Likewise.
23149 * nis/nis_remove.c (nis_remove): Likewise.
23150 * nis/nis_add.c (nis_add): Likewise.
23151
23152 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23153
23154 * posix/fnmatch_loop.c: Add some consts.
23155
23156 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23157
435b95eb
L
231582011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23159
23160 [BZ #12460]
23161 * config.make.in (config-cflags-novzeroupper): Define.
23162 * configure.in: Substitute libc_cv_cc_novzeroupper.
23163 * elf/Makefile (AVX-CFLAGS): Define.
23164 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23165 (CFLAGS-tst-auditmod4a.c): Likewise.
23166 (CFLAGS-tst-auditmod4b.c): Likewise.
23167 (CFLAGS-tst-auditmod6b.c): Likewise.
23168 (CFLAGS-tst-auditmod6c.c): Likewise.
23169 (CFLAGS-tst-auditmod7b.c): Likewise.
23170 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23171
8517b15e
UD
231722011-02-02 Ulrich Drepper <drepper@gmail.com>
23173
23174 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23175 function to the callback.
23176 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23177
10a656fe
AS
231782011-02-02 Andreas Schwab <schwab@redhat.com>
23179
23180 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23181 of errno.
23182
968dad0a
UD
231832011-01-19 Ulrich Drepper <drepper@gmail.com>
23184
9f94d2ea 23185 [BZ #11724]
968dad0a
UD
23186 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23187 of constructors.
23188 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23189 of destructors.
23190 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23191
23192 [BZ #11724]
23193 * elf/Makefile: Add rules to build and run new test.
23194 * elf/tst-initorder.c: New file.
23195 * elf/tst-initorder.exp: New file.
23196 * elf/tst-initordera1.c: New file.
23197 * elf/tst-initordera2.c: New file.
23198 * elf/tst-initordera3.c: New file.
23199 * elf/tst-initordera4.c: New file.
23200 * elf/tst-initorderb1.c: New file.
23201 * elf/tst-initorderb2.c: New file.
23202 * elf/tst-order-a1.c: New file.
23203 * elf/tst-order-a2.c: New file.
23204 * elf/tst-order-a3.c: New file.
23205 * elf/tst-order-a4.c: New file.
23206 * elf/tst-order-b1.c: New file.
23207 * elf/tst-order-b2.c: New file.
23208 * elf/tst-order-main.c: New file.
23209 New test case by George Gensure <werkt0@gmail.com>.
23210
86e92359
UD
232112010-10-01 Andreas Schwab <schwab@redhat.com>
23212
23213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23214 decoding ACE if AI_CANONIDN.
23215
5d5732b0
UD
232162011-01-18 Ulrich Drepper <drepper@gmail.com>
23217
23218 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23219
a77e8cbc
UD
232202011-01-17 Ulrich Drepper <drepper@gmail.com>
23221
6392473f
UD
23222 * version.h (RELEASE): Bump for 2.13 release.
23223 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23224
620a0529
UD
23225 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23226
18ba70a5
UD
23227 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23228 MADV_NOHUGEPAGE.
32465c3e
UD
23229 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23230 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23231 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23232 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23233 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23234 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23235
c0dafcf1
UD
23236 * posix/getconf.c: Update copyright year.
23237 * catgets/gencat.c: Likewise.
23238 * csu/version.c: Likewise.
23239 * debug/catchsegv.sh: Likewise.
23240 * debug/xtrace.sh: Likewise.
23241 * elf/ldconfig.c: Likewise.
23242 * elf/ldd.bash.in: Likewise.
23243 * elf/sprof.c (print_version): Likewise.
23244 * iconv/iconv_prog.c: Likewise.
23245 * iconv/iconvconfig.c: Likewise.
23246 * locale/programs/locale.c: Likewise.
23247 * locale/programs/localedef.c: Likewise.
23248 * malloc/memusage.sh: Likewise.
23249 * malloc/mtrace.pl: Likewise.
23250 * nscd/nscd.c (print_version): Likewise.
23251 * nss/getent.c: Likewise.
23252
a77e8cbc
UD
23253 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23254 PF_CAIF, and PF_ALG.
23255 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23256
77e8bddf
AS
232572011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23258
1f20b93a
AS
23259 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23260 (modules-names): Use them.
23261 (ifunc-test-modules, ifunc-pie-tests): Define.
23262 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23263 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23264 (test-extras): Likewise.
23265 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23266 $(compile-command.c).
23267 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23268 (all-built-dso): Define.
23269 (check-textrel.out, check-execstack.out): Depend on it.
23270
77e8bddf
AS
23271 * configure.in: Don't override --enable-multi-arch.
23272
bc425b33
UD
232732011-01-15 Ulrich Drepper <drepper@gmail.com>
23274
23275 [BZ #6812]
23276 * nscd/hstcache.c (tryagain): Define.
23277 (cache_addhst): Return tryagain not notfound for temporary errors.
23278 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23279 failed.
23280
794c3ad3
UD
232812011-01-14 Ulrich Drepper <drepper@gmail.com>
23282
70181fdd
UD
23283 [BZ #10563]
23284 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23285 to make the syscall.
23286 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23287
794c3ad3
UD
23288 [BZ #12378]
23289 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23290 and fall back to matching as normal character if the string ends before
23291 the matching ']' is found. This is what POSIX requires.
23292 * posix/testfnm.c: Adjust test result.
23293 * posix/globtest.sh: Adjust test result. Add new test.
23294 * posix/tst-fnmatch.input: Likewise.
23295 * posix/tst-fnmatch2.c: Add new test.
23296
68dc9497
AS
232972010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23298
23299 * elf/Makefile (check-execstack): Revert last change. Depend on
23300 check-execstack.h.
23301 (check-execstack.h): New target.
23302 (generated): Add check-execstack.h.
23303 * elf/check-execstack.c: Include "check-execstack.h".
23304 (main): Revert last change.
23305 (handle_file): Return zero if GNU_STACK is absent and
23306 DEFAULT_STACK_PERMS doesn't include PF_X.
23307
451f001b
UD
233082011-01-13 Ulrich Drepper <drepper@gmail.com>
23309
cfa28e56
UD
23310 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23311 in child fails because the descriptor is already closed.
8cf8ce17
UD
23312 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23313 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23314 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23315
1086d70d
UD
23316 [BZ #12397]
23317 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23318 syscall.
23319
451f001b
UD
23320 [BZ #10484]
23321 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23322 temporary buffer used to handle multi lookups locally.
a85b5cb4 23323 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23324
08769175
UD
233252011-01-12 Ulrich Drepper <drepper@gmail.com>
23326
23327 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23328 loader is ld.so.
23329
5e49c52e
UD
233302011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23331
23332 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23333 alignment for SSE2.
23334
60522a5f
UD
233352011-01-12 Ulrich Drepper <drepper@gmail.com>
23336
23337 [BZ #12394]
23338 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23339 characters. When rounding increased number of integer digits recompute
23340 number of groups.
23341 * stdio-common/tst-grouping.c: New file.
23342 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23343
f257bbd7
UD
233442011-01-09 Ulrich Drepper <drepper@gmail.com>
23345
23346 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23347 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23348
23349 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23350 void.
23351 * bits/select.h: Likewise.
23352
fa9c15cb
UD
233532011-01-08 Ulrich Drepper <drepper@gmail.com>
23354
23355 * po/ja.po: Update from translation team.
23356
16c2895f
DM
233572011-01-04 David S. Miller <davem@sunset.davemloft.net>
23358
23359 [BZ #11155]
23360 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23361 implementation just like for lxstat, fxstatat, et al.
23362
2543fef2
JM
233632010-12-27 Jim Meyering <meyering@redhat.com>
23364
23365 [BZ #12348]
23366 * posix/regexec.c (build_trtable): Return failure indication upon
23367 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23368
98727dbe
UD
233692010-12-25 Ulrich Drepper <drepper@gmail.com>
23370
5bd6dc5c
UD
23371 [BZ #12201]
23372 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23373 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23374 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23375 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23376
97983464
UD
23377 [BZ #12207]
23378 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23379
98727dbe
UD
23380 [BZ #12204]
23381 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23382 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23383
4a531bb0
L
233842010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23385
23386 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23387 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23388 script has SORT_BY_INIT_PRIORITY.
23389 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23390 NO_CTORS_DTORS_SECTIONS is defined.
23391 * elf/soinit.c: Likewise.
23392 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23393 NO_CTORS_DTORS_SECTIONS is defined.
23394 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23395 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23396 * sysdeps/sh/init-first.c: Likewise.
23397 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23398
07eb4b71
UD
233992010-12-24 Ulrich Drepper <drepper@gmail.com>
23400
23401 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23402 always use the slow path.
23403
30950a5f
RA
234042010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23405
23406 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23407 similar rule which adds the sysdep directories to the header search in
23408 order to pick up the correct platform stackinfo.h.
23409 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23410 perform test if it is, otherwise return successfully without testing.
23411 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23412 DEFAULT_STACK_PERMS define in stackinfo.h.
23413 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23414 defined in stackinfo.h.
23415 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23416 DEFAULT_STACK_PERMS defined in stackinfo.h.
23417 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23418 * sysdeps/ia64/stackinfo.h: Likewise.
23419 * sysdeps/s390/stackinfo.h: Likewise.
23420 * sysdeps/sh/stackinfo.h: Likewise.
23421 * sysdeps/sparc/stackinfo.h: Likewise.
23422 * sysdeps/x86_64/stackinfo.h: Likewise.
23423 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23424 PF_X for powerpc64. Retain PF_X for powerpc32.
23425
db753e2c
UD
234262010-12-19 Ulrich Drepper <drepper@gmail.com>
23427
14b697f7
UD
23428 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23429 accurately.
db753e2c
UD
23430 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23431 GETDENTS_64BIT_ALIGNED.
23432
28300719
UD
234332010-12-14 Ulrich Drepper <dreper@gmail.com>
23434
14b697f7 23435 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23436
4f197237
AS
234372010-12-10 Andreas Schwab <schwab@redhat.com>
23438
dbb0472f
AS
23439 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23440 _GNU_SOURCE.
23441
4f197237
AS
23442 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23443 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23444 Remove __restrict.
23445 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23446 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23447
fb88ac72
UD
234482010-12-09 Ulrich Drepper <drepper@gmail.com>
23449
23450 [BZ #11655]
23451 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23452 are initialized.
23453
42acbb92
JJ
234542010-12-09 Jakub Jelinek <jakub@redhat.com>
23455
23456 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23457
c038d98d
UD
234582010-12-03 Ulrich Drepper <drepper@gmail.com>
23459
23460 * po/it.po: Update from translation team.
23461
3a4a2499
L
234622010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23463
23464 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23465 unused codes.
23466
1e24cf6e
UD
234672010-11-30 Ulrich Drepper <drepper@gmail.com>
23468
23469 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23470
a7690819
AS
234712010-11-24 Andreas Schwab <schwab@redhat.com>
23472
23473 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23474 specially.
23475 (gaih_getanswer_slice): Likewise.
23476
3bf8d1b1
JJ
234772010-10-20 Jakub Jelinek <jakub@redhat.com>
23478
23479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23480
6db52fbb
PB
234812010-05-31 Petr Baudis <pasky@suse.cz>
23482
23483 [BZ #11149]
23484 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23485 silently even in the chroot mode.
23486
eaca7569
UD
234872010-11-22 Ulrich Drepper <drepper@gmail.com>
23488
23489 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23490 last patch a bit. Pretty printing
23491
3056dcdb
UD
234922010-05-31 Petr Baudis <pasky@suse.cz>
23493
23494 [BZ #10085]
23495 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23496 initialization of skip_initgroups_dyn.
23497
cf7c9078
UD
234982010-11-19 Ulrich Drepper <drepper@gmail.com>
23499
23500 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23502
a1fb5e3e
UD
235032010-11-16 Ulrich Drepper <drepper@gmail.com>
23504
23505 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23506
3540d66b
AS
235072010-11-11 Andreas Schwab <schwab@redhat.com>
23508
23509 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23510 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23511 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23512 ($(objpfx)tst-fnmatch-mem): New rule.
23513 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23514 * posix/tst-fnmatch.c (main): Call mtrace.
23515
13b69574
L
235162010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23517
23518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23519 Support Intel processor model 6 and model 0x2c.
23520
da93d214
LM
235212010-11-10 Luis Machado <luisgpm@br.ibm.com>
23522
23523 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23524 signed comparison.
23525
8ca52c6e
L
235262010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23527
23528 [BZ #12205]
23529 * string/test-strncasecmp.c (check_result): New function.
23530 (do_one_test): Use it.
23531 (check1): New function.
23532 (test_main): Use it.
23533 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23534 Support strcasecmp and strncasecmp.
23535
69da074d
UD
235362010-11-08 Ulrich Drepper <drepper@gmail.com>
23537
23538 [BZ #12194]
23539 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23540 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23541
ff02d528
L
235422010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23543
23544 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23545 IFUNC support.
23546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23547 memset-x86-64.
23548 * sysdeps/x86_64/multiarch/bzero.S: New file.
23549 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23550 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23551 * sysdeps/x86_64/multiarch/memset.S: New file.
23552 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23554 Set bit_Prefer_SSE_for_memop for Intel processors.
23555 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23556 Define.
23557 (index_Prefer_SSE_for_memop): Define.
23558 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23559
344d0b54
LM
235602010-11-04 Luis Machado <luisgpm@br.ibm.com>
23561
23562 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23563 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23564
c0dde15b
UD
235652010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23566
23567 [BZ #12191]
23568 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23569 (__x86_64_raw_data_cache_size_half): Likewise.
23570 (__x86_64_raw_shared_cache_size): Likewise.
23571 (__x86_64_raw_shared_cache_size_half): Likewise.
23572
23573 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23574 (__x86_64_raw_data_cache_size_half): Likewise.
23575 (__x86_64_raw_shared_cache_size): Likewise.
23576 (__x86_64_raw_shared_cache_size_half): Likewise.
23577 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23578 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23579 and __x86_64_raw_shared_cache_size_half. Round
23580 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23581 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23582 to multiple of 256 bytes.
23583
0e516e0e
MS
235842010-11-03 Ulrich Drepper <drepper@gmail.com>
23585
23586 [BZ #12167]
23587 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23588 of inacessible symlinks. Verify result of symlink before returning it.
23589 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23590 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23591
0e012e87
ER
235922010-10-28 Erich Ritz <erichritz@gmail.com>
23593
23594 * math/math.h (isinf): Fix typo in comment.
23595
de0ff7bc
UD
235962010-11-01 Ulrich Drepper <drepper@gmail.com>
23597
23598 * po/da.po: Update from translation team.
23599
fa41c84d
UD
236002010-10-26 Ulrich Drepper <drepper@gmail.com>
23601
23602 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23603 is added to the list.
23604
f0967738
AK
236052010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23606 Ulrich Drepper <drepper@gmail.com>
23607
23608 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23609 the global list here. Move code to...
23610 (_dl_add_to_namespace_list): ...here. New function.
23611 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23612 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23613 * elf/dl-load.c (lose): Don't remove the element from the list.
23614 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23615 (_dl_map_object): Likewise.
23616
236172010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23618
23619 [BZ #12159]
23620 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23621 into all bytes of SSE register.
23622 Patch by Richard Li <richardpku@gmail.com>.
23623
f0967738 236242010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23625
23626 [BZ #12140]
23627 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23628 perturbing.
23629
d0b9e94f
MB
236302010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23631
23632 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23633 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23634 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23635 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23637 submachine.
23638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23639
8e9f92e9
AS
236402010-10-22 Andreas Schwab <schwab@redhat.com>
23641
23642 * include/dlfcn.h (__RTLD_SECURE): Define.
23643 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23644 mode & __RTLD_SECURE instead.
23645 (open_path): Rename preloaded parameter to secure.
23646 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23647 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23648 * elf/dl-deps.c (openaux): Likewise.
23649 * elf/rtld.c (struct map_args): Remove is_preloaded.
23650 (map_doit): Don't use it.
23651 (dl_main): Likewise.
23652 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23653 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23654
bc96fbda
AS
236552010-09-09 Andreas Schwab <schwab@redhat.com>
23656
23657 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23658 (sysd-rules-targets): Remove duplicates.
23659 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23660 rtld-%.$o dependency.
23661
22cd1c9b
AS
236622010-10-18 Andreas Schwab <schwab@redhat.com>
23663
23664 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23665 _dl_map_object do it.
23666
18edac48
UD
236672010-10-19 Ulrich Drepper <drepper@gmail.com>
23668
23669 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23670 fast fma builtins, define the macros in the C99 standard.
23671 (FP_FAST_FMAF): Likewise.
23672 (FP_FAST_FMAL): Likewise.
23673 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23674
23675 * bits/mathdef.h: Update copyright year.
23676 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23677
d2050124
MM
236782010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23679
23680 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23681 builtins, define the macros in the C99 standard.
23682 (FP_FAST_FMAF): Likewise.
23683 (FP_FAST_FMAL): Likewise.
23684 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23685 multiply/add.
23686 (FP_FAST_FMAF): Likewise.
23687
475facd1
JJ
236882010-10-15 Jakub Jelinek <jakub@redhat.com>
23689
23690 [BZ #3268]
23691 * math/libm-test.inc (fma_test): Some new testcases.
23692 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23693 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23694 y and infinite z. Do multiplication by C already in long double.
23695 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23697 y and infinite z. Do bitwise or of inexact bit into u.d.
23698 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23699 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23700 * sysdeps/i386/fpu/s_fma.S: Removed.
23701 * sysdeps/i386/fpu/s_fmal.S: Removed.
23702
7c08a05c
JJ
237032010-10-16 Jakub Jelinek <jakub@redhat.com>
23704
23705 [BZ #3268]
23706 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23707 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23708 computation is not scheduled after fetestexcept. Fix value
23709 of minimum denormal long double.
23710
f3f7372d
JJ
237112010-10-14 Jakub Jelinek <jakub@redhat.com>
23712
23713 [BZ #3268]
23714 * math/libm-test.inc (fma_test): Add some more tests.
23715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23716 correctly.
23717
14d43591
AS
237182010-10-15 Andreas Schwab <schwab@redhat.com>
23719
23720 * scripts/data/localplt-s390-linux-gnu.data: New file.
23721 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23722
5e908464
JJ
237232010-10-13 Jakub Jelinek <jakub@redhat.com>
23724
23725 [BZ #3268]
23726 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23727 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23728 instead of dbl-64.
23729 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23730 inlines.
23731 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23733 if one of x and y is very large and the other is subnormal.
23734 * sysdeps/s390/fpu/s_fmaf.c: New file.
23735 * sysdeps/s390/fpu/s_fma.c: New file.
23736 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23737 * sysdeps/powerpc/fpu/s_fma.S: New file.
23738 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23739 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23740 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23741
237422010-10-12 Jakub Jelinek <jakub@redhat.com>
23743
23744 [BZ #3268]
23745 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23746 fma tests.
23747 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23748 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23749 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23750 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23751 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23752 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23753 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23754
b833d51f
UD
237552010-10-12 Ulrich Drepper <drepper@redhat.com>
23756
23757 [BZ #12078]
23758 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23759 * posix/bug-regex31.input: Add test case.
23760
1751705d
UD
237612010-10-11 Ulrich Drepper <drepper@gmail.com>
23762
e9b9cbf5
UD
23763 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23764 * posix/bug-regex31.input: New file.
23765
23766 [BZ #12078]
23767 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23768 (parse_sub_exp): Fix last change, use postorder.
23769
ef06edbe
UD
23770 * posix/bug-regex31.c: New file.
23771 * posix/Makefile: Add rules to build and run bug-regex31.
23772
a129c80d
UD
23773 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23774
23775 [BZ #12078]
23776 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23777
b76b818e
UD
23778 [BZ #12108]
23779 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23780 to have entries in sys_siglist.
23781
1751705d
UD
23782 [BZ #12093]
23783 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23784 be NULL.
23785
9ff8d36f
JJ
237862010-10-07 Jakub Jelinek <jakub@redhat.com>
23787
23788 [BZ #3268]
23789 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23790 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23791 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23792 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23793 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23794 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23795 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23796 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23797 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23798 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23799 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23800 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23801 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23802 * math/ftestexcept.c (fetestexcept): Likewise.
23803 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23804 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23805 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23806 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23807 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23808 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23809 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23810
af325969
UD
238112010-10-11 Ulrich Drepper <drepper@gmail.com>
23812
c579b202 23813 [BZ #12107]
af325969
UD
23814 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23815 newline.
23816
67a67b95
UD
238172010-10-06 Ulrich Drepper <drepper@gmail.com>
23818
23819 * string/bug-strstr1.c: New file.
23820 * string/Makefile: Add rules to build and run bug-strstr1.
23821
5fb308bc
EB
238222010-10-05 Eric Blake <eblake@redhat.com>
23823
23824 [BZ #12092]
23825 * string/str-two-way.h (two_way_long_needle): Always clear memory
23826 when skipping input due to the shift table.
23827
45db99c7
UD
238282010-10-03 Ulrich Drepper <drepper@gmail.com>
23829
3b111893
UD
23830 [BZ #12005]
23831 * malloc/mcheck.c: Handle large requests.
23832
45db99c7
UD
23833 [BZ #12077]
23834 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23835 for strncmp and strncasecmp.
23836 * string/stratcliff.c: Add tests for strcmp and strncmp.
23837 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23838
cf7a1eb8
NI
238392010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23840
23841 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23842 __set_fpscr.
23843
6484ba5e
AJ
238442010-09-30 Andreas Jaeger <aj@suse.de>
23845
23846 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23847 (CGROUP_SUPER_MAGIC): Define.
23848 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23849 Handle btrfs and cgroup file systems.
23850 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23851 Likewise.
23852
91c42559
LM
238532010-09-27 Luis Machado <luisgpm@br.ibm.com>
23854
23855 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23856 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23857
87a97932
AK
238582010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23859
23860 [BZ #12067]
23861 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23862 trying to locate the ELF header.
23863
c21cc9bc
AS
238642010-09-27 Andreas Schwab <schwab@redhat.com>
23865
23866 [BZ #11611]
23867 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23868 Mask out sign-bit copies when constructing f_fsid.
23869
315970f6
PB
238702010-09-24 Petr Baudis <pasky@suse.cz>
23871
23872 * debug/stack_chk_fail_local.c: Add missing licence exception.
23873 * debug/warning-nop.c: Likewise.
23874
1ac7a2c7
JM
238752010-09-15 Joseph Myers <joseph@codesourcery.com>
23876
23877 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23878 implementing getdents64 using getdents syscall, set d_type if
23879 __ASSUME_GETDENTS32_D_TYPE.
23880
56801c50
AS
238812010-09-16 Andreas Schwab <schwab@redhat.com>
23882
23883 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23884 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23885
dda51327
UD
238862010-09-21 Ulrich Drepper <drepper@redhat.com>
23887
23888 [BZ #12037]
23889 * posix/unistd.h: Undo change of feature selection for ftruncate from
23890 2010-01-11.
23891
8ffcee4a
UD
238922010-09-20 Ulrich Drepper <drepper@redhat.com>
23893
a545ecd9 23894 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23895 detection.
23896
e24f0a8b
AS
238972010-09-20 Andreas Schwab <schwab@redhat.com>
23898
23899 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23900 fanotify_mark.
23901 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23902
7291c56f
AS
239032010-09-14 Andreas Schwab <schwab@redhat.com>
23904
23905 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23906 variables after CHECK_SP call.
23907 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23908
bc5fb037
AS
239092010-09-13 Andreas Schwab <schwab@redhat.com>
23910 Ulrich Drepper <drepper@redhat.com>
23911
23912 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23913 re-relocationg ld.so.
23914 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23915 _dl_init_paths call.
23916 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23917 here anymore.
23918
e66e7419
UD
239192010-09-14 Ulrich Drepper <drepper@redhat.com>
23920
23921 * resolv/res_init.c (__res_vinit): Count the default server we added.
23922
c044aa75
CLT
239232010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23924 Ulrich Drepper <drepper@redhat.com>
23925
23926 [BZ #11968]
23927 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23928 (____longjmp_chk): Use %ebx for saving value across system call.
23929 Add unwind info.
23930
32cf4069
AS
239312010-09-06 Andreas Schwab <schwab@redhat.com>
23932
23933 * manual/Makefile: Don't mix pattern rules with normal rules.
23934
817328ee
AS
239352010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23936
23937 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23938 operation.
23939 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23940 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23941 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23942 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23944 Likewise.
23945
29fddf61
UD
239462010-09-04 Ulrich Drepper <drepper@redhat.com>
23947
23948 [BZ #11979]
23949 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23950 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23951
0959ffc9
UD
239522010-09-02 Ulrich Drepper <drepper@redhat.com>
23953
23954 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23955 * sysdeps/x86_64/addmul_1.S: Likewise.
23956 * sysdeps/x86_64/lshift.S: Likewise.
23957 * sysdeps/x86_64/mul_1.S: Likewise.
23958 * sysdeps/x86_64/rshift.S: Likewise.
23959 * sysdeps/x86_64/sub_n.S: Likewise.
23960 * sysdeps/x86_64/submul_1.S: Likewise.
23961
ece29840
ST
239622010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23963
0959ffc9
UD
23964 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23965 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23966 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23967 * bits/sched.h [__need_schedparam]
ece29840 23968 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23969 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23970 (__defined_schedparam): Define to 1.
ece29840
ST
23971 (__sched_param): New structure, identical to sched_param.
23972 (__need_schedparam): Undefine.
23973
e53a31fe
MF
239742010-08-31 Mike Frysinger <vapier@gentoo.org>
23975
fdc0c10d
MF
23976 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23977 (epoll_create1): Declare.
23978
e53a31fe
MF
23979 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23980
a726d796
AS
239812010-08-31 Andreas Schwab <schwab@redhat.com>
23982
23983 [BZ #7066]
23984 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23985 shifting retval into place.
23986
2f3e3dc7
UD
239872010-09-01 Ulrich Drepper <drepper@redhat.com>
23988
f2933da9
UD
23989 * nis/rpcsvc/nis.h: Update copyright notice.
23990 * nis/rpcsvc/nis.x: Likewise.
23991 * nis/rpcsvc/nis_callback.h: Likewise.
23992 * nis/rpcsvc/nis_callback.x: Likewise.
23993 * nis/rpcsvc/nis_object.x: Likewise.
23994 * nis/rpcsvc/nis_tags.h: Likewise.
23995 * nis/rpcsvc/yp.h: Likewise.
23996 * nis/rpcsvc/yp.x: Likewise.
23997 * nis/rpcsvc/ypupd.h: Likewise.
23998 * nis/yp_xdr.c: Likewise.
23999 * nis/ypupdate_xdr.c: Likewise.
24000
2f3e3dc7
UD
24001 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24002 mainly the body of pmap_getport. Add parameters to specify timeouts.
24003 (pmap_getport): Use __libc_rpc_getport.
24004 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24005 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24006 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24007
f3dcc2f9
AS
240082010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24009
24010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24011 fanotify_mark.
24012
6d34eb5b
RM
240132010-08-27 Roland McGrath <roland@redhat.com>
24014
24015 * sysdeps/i386/i686/multiarch/Makefile
24016 (CFLAGS-varshift.c): New variable.
24017
9ea3de11
UD
240182010-08-27 Ulrich Drepper <drepper@redhat.com>
24019
c96d23fc
UD
24020 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24021 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24022
9ea3de11
UD
24023 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24024
24025 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24026
623aac7f
L
240272010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24028
24029 * sysdeps/x86_64/strlen.S: Unroll the loop.
24030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24031 strlen-sse2 strlen-sse2-bsf.
24032 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24033 __strlen_no_bsf if bit_Slow_BSF is set.
24034 (__strlen_sse42): Removed.
24035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24036 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24037
8b2b7715
RM
240382010-08-25 Roland McGrath <roland@redhat.com>
24039
24040 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24041 * sysdeps/x86_64/multiarch/varshift.c: New file.
24042 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24043 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24044 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24045 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24046
e73015f2
L
240472010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24048
24049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24050 strlen-sse2 strlen-sse2-bsf.
24051 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24052 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24053 (__strlen_sse2): Removed.
24054 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24055 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24057 bit_Slow_BSF for Atom.
24058 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24059 (index_Slow_BSF): Define.
24060 (HAS_SLOW_BSF): Define.
24061
df24a73e
UD
240622010-08-25 Ulrich Drepper <drepper@redhat.com>
24063
24064 [BZ #10851]
24065 * resolv/res_init.c (__res_vinit): When no server address at all
24066 is given default to loopback.
24067
f2ac4868
RM
240682010-08-24 Roland McGrath <roland@redhat.com>
24069
09055553
RM
24070 * configure.in: Remove config-name.h generation.
24071 * configure: Regenerated.
24072 * config-name.in: File removed.
24073 * scripts/config-uname.sh: New file.
24074 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24075 ($(objdir)config-name.h): New target.
24076
f2ac4868
RM
24077 * sunrpc/rpc_parse.h: Avoid nested comment.
24078
73f27d5e
RH
240792010-08-24 Richard Henderson <rth@redhat.com>
24080 Ulrich Drepper <drepper@redhat.com>
24081 H.J. Lu <hongjiu.lu@intel.com>
24082
24083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24085 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24086 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24087 _mm_alignr_epi8 with _mm_loadu_si128.
24088 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24089 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24090 (__m128i_shift_right): Removed.
24091 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24092 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24093 * sysdeps/x86_64/multiarch/varshift.h: New file.
24094 * sysdeps/x86_64/multiarch/varshift.S: New file.
24095
84b9230c
MF
240962010-08-21 Mike Frysinger <vapier@gentoo.org>
24097
24098 * configure.in: Move assembler checks to before sysdep dir checking.
24099
9bbd0ddc
PB
241002010-08-20 Petr Baudis <pasky@suse.cz>
24101
24102 * LICENSES: Sync the sunrpc license.
24103
9da4bb31
UD
241042010-08-19 Ulrich Drepper <drepper@redhat.com>
24105
a7ab6ec8
UD
24106 * sunrpc/auth_des.c: Update copyright notice once again.
24107 * sunrpc/auth_none.c: Likewise.
24108 * sunrpc/auth_unix.c: Likewise.
24109 * sunrpc/authdes_prot.c: Likewise.
24110 * sunrpc/authuxprot.c: Likewise.
24111 * sunrpc/bindrsvprt.c: Likewise.
24112 * sunrpc/clnt_gen.c: Likewise.
24113 * sunrpc/clnt_perr.c: Likewise.
24114 * sunrpc/clnt_raw.c: Likewise.
24115 * sunrpc/clnt_simp.c: Likewise.
24116 * sunrpc/clnt_tcp.c: Likewise.
24117 * sunrpc/clnt_udp.c: Likewise.
24118 * sunrpc/clnt_unix.c: Likewise.
24119 * sunrpc/des_crypt.c: Likewise.
24120 * sunrpc/des_soft.c: Likewise.
24121 * sunrpc/get_myaddr.c: Likewise.
24122 * sunrpc/getrpcport.c: Likewise.
24123 * sunrpc/key_call.c: Likewise.
24124 * sunrpc/key_prot.c: Likewise.
24125 * sunrpc/openchild.c: Likewise.
24126 * sunrpc/pm_getmaps.c: Likewise.
24127 * sunrpc/pm_getport.c: Likewise.
24128 * sunrpc/pmap_clnt.c: Likewise.
24129 * sunrpc/pmap_prot.c: Likewise.
24130 * sunrpc/pmap_prot2.c: Likewise.
24131 * sunrpc/pmap_rmt.c: Likewise.
24132 * sunrpc/rpc/auth.h: Likewise.
24133 * sunrpc/rpc/auth_unix.h: Likewise.
24134 * sunrpc/rpc/clnt.h: Likewise.
24135 * sunrpc/rpc/des_crypt.h: Likewise.
24136 * sunrpc/rpc/key_prot.h: Likewise.
24137 * sunrpc/rpc/netdb.h: Likewise.
24138 * sunrpc/rpc/pmap_clnt.h: Likewise.
24139 * sunrpc/rpc/pmap_prot.h: Likewise.
24140 * sunrpc/rpc/pmap_rmt.h: Likewise.
24141 * sunrpc/rpc/rpc.h: Likewise.
24142 * sunrpc/rpc/rpc_des.h: Likewise.
24143 * sunrpc/rpc/rpc_msg.h: Likewise.
24144 * sunrpc/rpc/svc.h: Likewise.
24145 * sunrpc/rpc/svc_auth.h: Likewise.
24146 * sunrpc/rpc/types.h: Likewise.
24147 * sunrpc/rpc/xdr.h: Likewise.
24148 * sunrpc/rpc_clntout.c: Likewise.
24149 * sunrpc/rpc_cmsg.c: Likewise.
24150 * sunrpc/rpc_common.c: Likewise.
24151 * sunrpc/rpc_cout.c: Likewise.
24152 * sunrpc/rpc_dtable.c: Likewise.
24153 * sunrpc/rpc_hout.c: Likewise.
24154 * sunrpc/rpc_main.c: Likewise.
24155 * sunrpc/rpc_parse.c: Likewise.
24156 * sunrpc/rpc_parse.h: Likewise.
24157 * sunrpc/rpc_prot.c: Likewise.
24158 * sunrpc/rpc_sample.c: Likewise.
24159 * sunrpc/rpc_scan.c: Likewise.
24160 * sunrpc/rpc_scan.h: Likewise.
24161 * sunrpc/rpc_svcout.c: Likewise.
24162 * sunrpc/rpc_tblout.c: Likewise.
24163 * sunrpc/rpc_util.c: Likewise.
24164 * sunrpc/rpc_util.h: Likewise.
24165 * sunrpc/rpcinfo.c: Likewise.
24166 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24167 * sunrpc/rpcsvc/key_prot.x: Likewise.
24168 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24169 * sunrpc/rpcsvc/mount.x: Likewise.
24170 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24171 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24172 * sunrpc/rpcsvc/rex.x: Likewise.
24173 * sunrpc/rpcsvc/rstat.x: Likewise.
24174 * sunrpc/rpcsvc/rusers.x: Likewise.
24175 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24176 * sunrpc/rpcsvc/spray.x: Likewise.
24177 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24178 * sunrpc/rtime.c: Likewise.
24179 * sunrpc/svc.c: Likewise.
24180 * sunrpc/svc_auth.c: Likewise.
24181 * sunrpc/svc_authux.c: Likewise.
24182 * sunrpc/svc_raw.c: Likewise.
24183 * sunrpc/svc_run.c: Likewise.
24184 * sunrpc/svc_simple.c: Likewise.
24185 * sunrpc/svc_tcp.c: Likewise.
24186 * sunrpc/svc_udp.c: Likewise.
24187 * sunrpc/svc_unix.c: Likewise.
24188 * sunrpc/svcauth_des.c: Likewise.
24189 * sunrpc/xcrypt.c: Likewise.
24190 * sunrpc/xdr.c: Likewise.
24191 * sunrpc/xdr_array.c: Likewise.
24192 * sunrpc/xdr_float.c: Likewise.
24193 * sunrpc/xdr_mem.c: Likewise.
24194 * sunrpc/xdr_rec.c: Likewise.
24195 * sunrpc/xdr_ref.c: Likewise.
24196 * sunrpc/xdr_sizeof.c: Likewise.
24197 * sunrpc/xdr_stdio.c: Likewise.
24198
9da4bb31
UD
24199 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24200 handling.
24201
bdaa77bc
AS
242022010-08-19 Andreas Schwab <schwab@redhat.com>
24203
24204 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24205
fe2f79db
LM
242062010-08-19 Luis Machado <luisgpm@br.ibm.com>
24207
24208 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24209 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24210 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24211 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24212 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24213 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24214 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24215 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24216 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24217 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24218 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24219 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24220 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24221 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24222
b9b42ee0
AB
242232010-07-26 Anton Blanchard <anton@samba.org>
24224
24225 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24226 * malloc/arena.c (heap_trim): Likewise.
24227
1c06ba31
UD
242282010-08-16 Ulrich Drepper <drepper@redhat.com>
24229
24230 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24231 here. Not...
24232 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24233 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24234
f8392f40
L
242352010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24236
24237 * sysdeps/i386/elf/Makefile: New file.
24238
3162f12e
AS
242392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24240
24241 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24242 from fanotify_init.
24243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24245
28c90b2c
UD
242462010-08-15 Ulrich Drepper <drepper@redhat.com>
24247
24248 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24249 of strncasecmp_l.
1feccb6c 24250 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24251
ca6bb004
UD
242522010-08-14 Ulrich Drepper <drepper@redhat.com>
24253
e9f82e0d
UD
24254 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24255 strncase_l-nonascii.
24256 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24257 Add strncase_l-ssse3.
24258 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24259 * sysdeps/x86_64/strcmp.S: Likewise.
24260 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24261 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24262 * sysdeps/x86_64/strncase.S: New file.
24263 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24264 * sysdeps/x86_64/strncase_l.S: New file.
24265 * string/Makefile (strop-tests): Add strncasecmp.
24266 * string/test-strncasecmp.c: New file.
24267
24268 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24269 warning.
24270
ca6bb004
UD
24271 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24272 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24273
052fa7b3
AS
242742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24275
24276 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24277
962dba78
UD
242782010-08-12 Ulrich Drepper <drepper@redhat.com>
24279
24280 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24281 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24282 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24283
bebff237
AM
242842010-05-01 Alan Modra <amodra@gmail.com>
24285
24286 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24287 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24288 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24289 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24290 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24291 tidying. Don't tail-call __sigjmp_save for static lib.
24292 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24293 save location.
24294 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24295 (CALL_MCOUNT): Add eh info, and nop after bl.
24296 (TAIL_CALL_SYSCALL_ERROR): New macro.
24297 (PSEUDO_RET): Use it.
24298 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24299 Correct save location of integer regs and cr.
24300 (_dl_profile_resolve): Correct cr save location. Delete nops
24301 after bl when SHARED. Reduce cfi size a little by better
24302 placement of cfi directives.
24303 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24304 make a stack frame. Instead use parm save area as a temp.
24305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24306 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24308 Don't make a stack frame for parent, use parm save area.
24309 Increase child stack frame to 112 bytes. Don't save unused reg,
24310 and adjust reg usage. Set up cfi on error recovery and
24311 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24313 (__makecontext): Add dummy nop after jump to exit.
24314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24315 Use correct parm save area and cr save, reduce stack frame.
24316 Correct cfi for possible PSEUDO_RET frame setup.
24317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24318 Branch to local label emitted by PSEUDO_RET rather than
24319 __syscall_error.
24320
02637374
AS
243212010-08-12 Andreas Schwab <schwab@redhat.com>
24322
24323 [BZ #11904]
24324 * locale/programs/locale.c (print_assignment): New function.
24325 (show_locale_vars): Use it.
24326
c3e2f19b
UD
243272010-08-11 Ulrich Drepper <drepper@redhat.com>
24328
3cdaa6ad
UD
24329 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24330 field.
24331 (struct statfs64): Likewise.
24332 (_STATFS_F_FLAGS): Define.
24333 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24334 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24335 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24336 (ST_VALID): Define locally.
24337 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24338 __statvfs_getflags, use the provided value.
24339 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24340 __ASSUME_STATFS_F_FLAGS.
24341
754f7da3
UD
24342 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24343
10b3bedc
UD
24344 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24345 Add sys/fanotify.h.
24346 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24347 fanotify_mask for GLIBC_2.13.
24348 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24349 fanotify_init and fanotify_mark.
24350 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24351 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24352
c08fb0d7
UD
24353 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24354 Add prlimit.
24355 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24356 prlimit64 for GLIBC_2.13.
24357 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24358 prlimit64.
24359 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24360 syscall.
24361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24362 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24363 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24364 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24366 add prlimit alias.
24367 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24368
15bac72b
UD
24369 [BZ #11903]
24370 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24371 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24372
c3e2f19b
UD
24373 * nss/Makefile: Add rules to build and run tst-nss-test1.
24374 * shlib-versions: Add entry for libnss_test1.
24375 * nss/nss_test1.c: New file.
24376 * nss/tst-nss-test1.c: New file.
24377
24378 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24379 (__nss_configure_lookup): Set appropriate entry in
24380 __nss_configure_lookup to true.
24381 * nss/nsswitch.h: Define enum with indeces of databases in
24382 databases and __nss_database_custom arrays. Declare
24383 __nss_database_custom.
24384 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24385 to avoid using nscd when custom rules are installed.
24386 * nss/getXXbyYY_r.c: Likewise.
24387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24388
24389 * nss/nss_files/files-parse.c: Whitespace fixes.
24390
f15ce4d8
UD
243912010-08-09 Ulrich Drepper <drepper@redhat.com>
24392
24393 [BZ #11883]
24394 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24395 * posix/fnmatch_loop.c: Likewise.
24396
d22e4cc9
AK
243972010-07-17 Andi Kleen <ak@linux.intel.com>
24398
24399 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24400 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24401 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24402 * Versions.def [GLIBC_2.13]: Add.
24403
805bc17d
UD
244042010-08-06 Ulrich Drepper <drepper@redhat.com>
24405
24406 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24407 Also fail if tpwd after pwuid call is NULL.
24408
5a42321d
ST
244092010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24410
24411 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24412 when converting to ms.
24413
fd3ebeda
ST
244142010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24415
24416 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24417 EOPNOTSUPP errors with ENOTTY.
24418 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24419 EOPNOTSUPP errors with ENOTTY.
24420
73507d3a
UD
244212010-07-31 Ulrich Drepper <drepper@redhat.com>
24422
24423 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24424 Add strcasecmp_l-ssse3.
24425 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24426 strcasecmp.
24427 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24428 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24429 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24430
fe36dd02
UD
244312010-07-30 Ulrich Drepper <drepper@redhat.com>
24432
66f6765a
UD
24433 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24434
42e08a54
UD
24435 * string/Makefile (strop-tests): Add strcasecmp.
24436 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24437 strcasecmp_l-nonascii.
24438 (gen-as-const-headers): Add locale-defines.sym.
24439 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24440 * sysdeps/x86_64/strcasecmp.S: New file.
24441 * sysdeps/x86_64/strcasecmp_l.S: New file.
24442 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24443 * sysdeps/x86_64/locale-defines.sym: New file.
24444 * string/test-strcasecmp.c: New file.
24445
fe36dd02
UD
24446 * string/test-strcasestr.c: Test both ends of the range of characters.
24447 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24448
48cbc0d6
RM
244492010-07-29 Roland McGrath <roland@redhat.com>
24450
76e6d6bc 24451 [BZ #11856]
48cbc0d6
RM
24452 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24453
880113d9
UD
244542010-07-27 Ulrich Drepper <drepper@redhat.com>
24455
24456 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24457 for ld.so.
24458
deb9cabb
AS
244592010-07-27 Andreas Schwab <schwab@redhat.com>
24460
24461 * manual/memory.texi (Malloc Tunable Parameters): Document
24462 M_PERTURB.
24463
1c7570ff
RM
244642010-07-26 Roland McGrath <roland@redhat.com>
24465
24466 [BZ #11840]
24467 * configure.in (-fgnu89-inline check): Set and substitute
24468 gnu89_inline, not libc_cv_gnu89_inline.
24469 * configure: Regenerated.
24470 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24471
24fb0f88
UD
244722010-07-26 Ulrich Drepper <drepper@redhat.com>
24473
24474 * string/test-strnlen.c: New file.
24475 * string/Makefile (strop-tests): Add strnlen.
24476 * string/tester.c (test_strnlen): Add a few more test cases.
24477 * string/tst-strlen.c: Better error reporting.
24478
24479 * sysdeps/x86_64/strnlen.S: New file.
24480
8e96b93a
UD
244812010-07-24 Ulrich Drepper <drepper@redhat.com>
24482
24483 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24484 lower-latency instructions.
24485
dbc676d4
UD
244862010-07-23 Ulrich Drepper <drepper@redhat.com>
24487
24488 * string/test-strcasestr.c: New file.
24489 * string/test-strstr.c: New file.
24490 * string/Makefile (strop-tests): Add strstr and strcasestr.
24491 * string/str-two-way.h: Don't undefine MAX.
24492 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24493
f6a31e0e
AS
244942010-07-21 Andreas Schwab <schwab@redhat.com>
24495
24496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24497 strcasestr-nonascii.
24498 (CFLAGS-strcasestr-nonascii.c): Define.
24499 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24500 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24501 Remove unused attribute.
24502
5dbc3b6c
RM
245032010-07-20 Roland McGrath <roland@redhat.com>
24504
24505 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24506 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24507 ld.so.cache was broken. With it, there is no way to disable dsocaps
24508 like LD_HWCAP_MASK can disable hwcaps.
24509
23d101d8
EPM
245102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24511
24512 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24513
cc9f2e47
UD
245142010-07-16 Ulrich Drepper <drepper@redhat.com>
24515
24516 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24517 call in strcasestr.
24518 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24519 __strcasestr_sse42_nonascii.
24520 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24521 strcasestr-nonascii.c.
24522 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24523
77c1b069
LM
245242010-06-15 Luis Machado <luisgpm@br.ibm.com>
24525
24526 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24527 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24528 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24529 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24530
440566c3
UD
245312010-07-09 Ulrich Drepper <drepper@redhat.com>
24532
24533 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24534 fcntl.
24535
5be9d05d
AS
245362010-07-06 Andreas Schwab <schwab@redhat.com>
24537
c30b7ee2 24538 [BZ #11577]
5be9d05d
AS
24539 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24540 dl_signal_cerror.
24541
8a492a67
UD
245422010-07-06 Ulrich Drepper <drepper@redhat.com>
24543
24544 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24545 _PC_PIPE_BUF using F_GETPIPE_SZ.
24546
713df3d5
RM
245472010-07-05 Roland McGrath <roland@redhat.com>
24548
24549 * manual/arith.texi (Rounding Functions): Fix rint description
24550 implicit in round description.
24551
702e8f14
UD
245522010-07-02 Ulrich Drepper <drepper@redhat.com>
24553
24554 * elf/Makefile: Fix linking for a few tests to make recent linker
24555 happy.
24556
52ed8be9
AS
245572010-06-30 Andreas Schwab <schwab@redhat.com>
24558
24559 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24560 $(common-objpfx)libc_nonshared.a.
24561
f47c9a11
LM
245622010-06-21 Luis Machado <luisgpm@br.ibm.com>
24563
24564 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24565 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24566 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24567 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24568 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24569 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24570 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24571 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24586 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24587 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24588 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24589 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24590 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24591 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24592 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24593 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24594 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24595 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24596 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24597 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24612
6fb8cbcb
L
246132010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24614
24615 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24616 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24617 * string/memmove.c (memmove): Renamed to ...
24618 (MEMMOVE): ...this. Default to memmove.
24619 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24620 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24621 (END_CHK): Define.
24622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24623 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24624 mempcpy-ssse3-back memmove-ssse3-back.
24625 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24626 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24627 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24628 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24629 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24630 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24631 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24632 * sysdeps/x86_64/multiarch/memmove.c: New file.
24633 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24634 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24635 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24636 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24637 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24638 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24639 Define.
24640 (index_Fast_Copy_Backward): Define.
24641 (HAS_ARCH_FEATURE): Define.
24642 (HAS_FAST_REP_STRING): Define.
24643 (HAS_FAST_COPY_BACKWARD): Define.
24644
4e733bac 246452010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24646
24647 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24648 Restore proper fallback handling.
24649
63c4ed22
UD
246502010-06-19 Ulrich Drepper <drepper@redhat.com>
24651
ac2b484c
UD
24652 [BZ #11701]
24653 * posix/group_member.c (__group_member): Correct checking loop.
24654
63c4ed22
UD
24655 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24656 OOM in getpwuid_r correctly. Return error number when the caller
24657 should return, otherwise -1.
24658 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24659 call returning > 0 value.
24660 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24661
765ade4b
AS
246622010-06-07 Andreas Schwab <schwab@redhat.com>
24663
24664 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24665 libc_nonshared.a from targets in modules-names.
24666
80da2e09
KS
246672010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24668
24669 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24670 requires it.
24671
158db122
LM
246722010-06-10 Luis Machado <luisgpm@br.ibm.com>
24673
24674 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24675 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24676 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24677 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24678
caa78cf8
AS
246792010-06-02 Andreas Schwab <schwab@redhat.com>
24680
24681 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24682
b2ef2c01
UD
246832010-06-14 Ulrich Drepper <drepper@redhat.com>
24684
24685 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24686 and F_GETPIPE_SZ.
24687 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24688 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24689 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24690 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24691 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24692 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24693
fbd643b6
RM
246942010-06-14 Roland McGrath <roland@redhat.com>
24695
24696 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24697
f32f2869
JJ
246982010-06-07 Jakub Jelinek <jakub@redhat.com>
24699
24700 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24701 __REDIRECT followed by __THROW.
24702 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24703 * posix/getopt.h (getopt): Likewise.
24704
2a50c078
EPM
247052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24706
24707 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24708 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24709 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24710 in AT_FLAGS.
24711 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24712 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24713
eb5ad2eb
LM
247142010-05-28 Luis Machado <luisgpm@br.ibm.com>
24715
24716 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24717
3c88fe1e
L
247182010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24719
24720 [BZ #11640]
24721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24722 Properly check family and model.
24723
d2f73151
TY
247242010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24725
24726 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24727
ebd2e13d
LM
247282010-05-24 Luis Machado <luisgpm@br.ibm.com>
24729
24730 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24731
b32b8b45
UD
247322010-05-21 Ulrich Drepper <drepper@redhat.com>
24733
24734 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24735 symbol reference.
24736
9acbe24d
AS
247372010-05-19 Andreas Schwab <schwab@redhat.com>
24738
24739 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24740 symbol reference.
24741
f0ccf6ea
AS
247422010-05-21 Andreas Schwab <schwab@redhat.com>
24743
3d04ff3a
AS
24744 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24745 and internal_recvmmsg.
24746 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24747 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24748 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24749 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24750
f0ccf6ea
AS
24751 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24752 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24753 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24754
5b08ac57
AS
247552010-05-20 Andreas Schwab <schwab@redhat.com>
24756
24757 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24758
4828935d
LM
247592010-05-17 Luis Machado <luisgpm@br.ibm.com>
24760
24761 POWER7 optimizations.
24762 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24763 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24764
373d545e
UD
247652010-05-19 Ulrich Drepper <drepper@redhat.com>
24766
24767 * version.h: Update for 2.13 development version.
24768
21a2b1ae
AS
247692010-05-12 Andrew Stubbs <ams@codesourcery.com>
24770
24771 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24772 exceptions. Return 0.
24773
3f7dcb2b
RM
247742010-05-07 Roland McGrath <roland@redhat.com>
24775
24776 * elf/ldconfig.c (main): Add a const.
24777
5f24d53a 247782010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24779
a160f8d8
UD
24780 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24781 (args_options): Add no-idn option.
24782 (ahosts_keys_int): Add idn_flags to ai_flags.
24783 (parse_option): Handle 'i' option to clear idn_flags.
24784
5f24d53a
UD
24785 * malloc/malloc.c (_int_free): Possible race in the most recently
24786 added check. Only act on the data if no current modification
24787 happened.
265bb1ce
UD
24788
24789See ChangeLog.17 for earlier changes.
This page took 3.141231 seconds and 5 git commands to generate.